[postgis-users] Re: How to fix not valid polygons

Barend Köbben kobben at itc.nl
Wed Dec 21 03:52:07 PST 2005


I use in my projects also the JavaTopologySuite (JTS) which has checking,fixing and normalising functions. I don't know about postgis on its own doing that, , but I think that GEOS (as used in PostGIS) is a C version of JTS, so it should also be able to do this...?
 
____________________________ 
Barend Köbben 
International Institute for Geo-information Sciences and  Earth Observation (ITC) 
PO Box 6, 7500AA Enschede (The Netherlands) 
ph: +31-(0)534874253; fax: +31-(0)534874335 
_____________________________ 

________________________________

From: postgis-users-bounces at postgis.refractions.net on behalf of Stephen Woodbridge
Sent: Tue 20.12.2005 19:12
To: PostGIS Users Discussion
Subject: Re: [postgis-users] Re: How to fix not valid polygons



Amit Kulkarni wrote:
> I did it inside a traditional GIS and then dump/import to PostGIS.
>
> ArcGIS has a 'Explode Multi-part' feature. I wrote some VBA code, and
> exploded lines (trivial change for polygons I believe) were marked with
> a comment. I unfortunately don't have the code because the laptop
> crashed, a BSOD.
>
> But, the other developers may have a better solution.

Amit,
Thank you for the suggestion. I don't have ArcGIS and was hoping to do
this in postGIS.

List,
Is it possible to deconstruct geometry (polygons specifically) short of
hacking up the AsText() string representation of them?

-Steve

> -------------------------------------
>
> Anyway, is this the best approach? Do you see problems with this
> approach? What are my other options? getting good polygons to start
> with does not appear to be an option at this point.

_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 5026 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20051221/8718b729/attachment.bin>


More information about the postgis-users mailing list