Code Monkey home page Code Monkey logo

Comments (8)

neteler avatar neteler commented on May 19, 2024

Confirmed also for master.

from grass.

petrasovaa avatar petrasovaa commented on May 19, 2024

I can't reproduce it, which is not a big surprise. Maybe it happens with a particular vector you could share?

from grass.

neteler avatar neteler commented on May 19, 2024

I have stored the vector map here as a "pack" file (EPSG 4326):

https://data.neteler.org/tmp/high_low_suitable_Europe.pack

from grass.

tmszi avatar tmszi commented on May 19, 2024

I confirm this bug (tested with santana3a_high_low_suitable_Europe vector map layer)

vdigit

Error message (star editting):

Traceback (most recent call last):
  File "/usr/lib64/grass79/gui/wxpython/mapwin/buffered.py",
line 593, in OnPaint

self.pdcVector.DrawToDCClipped(gcdc, rgn)
wx._core
.
wxAssertionError
:
C++ assertion "n > 1" failed at /var/tmp/portage/x11-libs/wx
GTK-3.0.4-r302/work/wxWidgets-3.0.4/src/common/graphcmn.cpp(
742) in StrokeLines():

from grass.

neteler avatar neteler commented on May 19, 2024

Still the case in current master:

GRASS version: 7.9.dev                                                          
Code revision: 64527a73f                                                        
Build date: 2020-08-06                                                          
Build platform: x86_64-pc-linux-gnu                                             
GDAL: 3.0.4                                                                     
PROJ: 6.3.2                                                                     
GEOS: 3.8.1                                                                     
SQLite: 3.32.3                                                                  
Python: 3.8.5                                                                   
wxPython: 4.0.7                                                                 
Platform: Linux-5.6.16-300.fc32.x86_64-x86_64-with-glibc2.2.5

from grass.

tmszi avatar tmszi commented on May 19, 2024

Additional info:

If I zoom into santana3a_high_low_suitable_Europe vector map layer, and start editing after that, editing work correctly. If I zoom out or move/pan to problematic part of vector topology during editing I got same error message as mentioned above and render maps stop (same screenshot).

v.build -e map=santana3a_high_low_suitable_Europe

Building topology for vector map <santana3a_high_low_suitable_Europe@PERMANENT>...
Registering primitives...
Building areas...
 100%
Attaching islands...
 100%
Attaching centroids...
 100%
WARNING: Number of incorrect boundaries: 66
WARNING: Number of centroids outside area: 1
Checking for topological errors...
WARNING: Number of boundaries of length zero: 2
ERROR: Intersection with points is not yet supported

Problematic is WARNING: Number of boundaries of length zero: 2.

After clean vector map, editing work correctly.

v.clean input=santana3a_high_low_suitable_Europe@PERMANENT output=santana3a_high_low_suitable_Europe_clean type=line,boundary tool=rmline thres=0.00

from grass.

neteler avatar neteler commented on May 19, 2024

Great, PR #911 solves it nicely:

image

... "Yes" leads to:

image

Thanks, @tmszi !

from grass.

petrasovaa avatar petrasovaa commented on May 19, 2024

Fixed in #1989, it is in main and 8.0 branch now.

from grass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.