-
-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
msGEOSError(): GEOS library error when using MULTILINESTRING #5529
Comments
Can you share your test files? --Steve |
I had a try with MapServer version 7.0.6 (MS4W 3.2.2). Command EDIT The resulting image from shp2img good because shp2img is using MAP EXTENT and each coloured ball is actually a linestring rendered with unreasonably wide line. A small BBOX that is read as a WMS layer with OpenJUMP looks better (wms.png) |
Correct render looks good, but it's the error messages that doesn't make sense and will get send to a stderr on a nginx mapserver which is annoying if you want to have some basic monitoring |
This is probably related with #5510. There is also negative offset in your mapfile
If I edit the offset into 4 99 the GEOS errors disappear. Shp2img creates still an image with points, not with lines. |
Aaa thank you, that i would never found myself :D Ps but it's a bug right? You should be able to use -99 right? as stated in the documentation? If I am not mistaken when using LINESTRING for example with the same map file structure -99 is valid. |
Usage is documented in http://www.mapserver.org/mapfile/style.html
If it does not work of if it just writes loads of geos errors into the log I would say that it is a bug. |
I am digging up this issue because a user I know is facing a similar bug. Here is what I've found so far. Offset lines are computed with GEOS method I am working on a fix inside |
Fix issue #5529 about GEOS error with offset on MULTILINESTRING
I have confirmed @jbo-ads's fix here on Windows, with master & GEOS 3.8.0 The map image is generated, without any " Thanks @jbo-ads and @gertcuykens !! |
…-branch-7-6 [Backport branch-7-6] Fix issue #5529 about GEOS error with offset on MULTILINESTRING
this bug still persists with 7.6.4 with:
|
msGEOSError(): GEOS library error when using MULTILINESTRING in shapefiles
Try
shp2img -m test.map -o test.png -l test -all_debug 5 -s 500 500
on any shapefile that has MULTILINESTRING in it
example shapefile feature and using mapserver 7.0.7
The text was updated successfully, but these errors were encountered: