Hello,

For those working on GIS, I thought I'd share a very useful tool for
repairing invalid topologies, such as self-intersecting polygons:

For this, you can use the cleanGeometry function in PostGIS:
http://www.sogis1.so.ch/sogis/dl/postgis/cleanGeometry.sql

Example:

update "UGA_adm1" set the_geom=cleanGeometry(the_geom)

Knut

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to