-
Notifications
You must be signed in to change notification settings - Fork 17
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
XML mode GUI issue : handling complex GML geometry ? #30
Comments
This seems to be related to a particular geometry invalidity case that QGIS has problems to handle correctly ... |
When exporting the geometry in PostGIS: select st_isvalid(geom) from ta; NOTICE: Hole lies outside shell at or near point 1.6533408259337787 50.621265734925082 |
Works correctly in GMLAS mode. |
@sgrellet using the equivalent of ST_MakeValid() in QGIS seems to solve the problem. |
@mhugo : I received so many comments regarding the client saying : "that's cool but not accessible to the layman" that I would force it implicitly. Is there a way to log somewhere on the client side that initially the geom was invalid (I am afraid this will trigger another pass on the geometry no?) |
@sgrellet ok :) Actually, I am digging deeper, and the geometry should not be invalid here. The code is creating a polygon, where we should have a multipolygon ... investigations in progress. |
It was just that multipolygons was not handled. Fixed now |
When loading the following URI (http://ressource.brgm-rec.fr/data/EntiteHydroGeol/121AT30) the feature is correctly identified but it is not possible to retrieve information from it with the 'identify' function.
As this resource is related to another issue #29, I removed manually the un-necessary FeatureCollection / Members.
See file attached (remove the trailing .txt for import):
EntiteHydroGeol.121AT30.xml.txt
But the problem remains.
Is it linked to the complex geometry that may cause issue to store it temporarily in SpatialLite ?
The text was updated successfully, but these errors were encountered: