Skip to content
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

LanduseAreas: check polygons topology before intersecting #9

Closed
erpas opened this issue Dec 3, 2015 · 1 comment
Closed

LanduseAreas: check polygons topology before intersecting #9

erpas opened this issue Dec 3, 2015 · 1 comment

Comments

@erpas
Copy link
Owner

erpas commented Dec 3, 2015

Often, while intersecting LanduseAreas with XSCutlines for Manning's values, I get TopologyException on landuse table.
Healing the geometry with ST_MakeValid(geom) usually helps, i.e.:

UPDATE "schema"."LanduseAreas" 
SET
    geom = ST_MakeValid(geom)
WHERE
    NOT ST_IsValid(geom);
@erpas
Copy link
Owner Author

erpas commented Apr 9, 2018

Added for QGIS 3.

@erpas erpas closed this as completed Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant