[postgis-users] valid MULTIPOLYGONs and order of vertices?
Hubert Fröhlich
hubert.froehlich at bvv.bayern.de
Tue Apr 26 07:01:51 PDT 2005
strk at refractions.net schrieb:
...
>>
>>So, the dilemma of the quasi-standard
>> * A correct Shape is what is defined by the specs (or is it just a
>>white paper?)
>>vs.
>> * A correct Shape is (more or less) what can be treated by ESRI
>>software without errors
>>
>>will remain forever...
>
>
> We actually don't care about being standard, if not because it allows
> ease of interoperability. For this specific case what matters is that
> pgsql2shp produces "working" shapefiles. A solution could be
> implementing a stored procedure for specifically this kind of cleanup:
> makeShapeValid(geometry). This would allow us to initially just
> implement duplicated vertex removal, and incrementally add any new
> "discovered" pickiness of Shapefile format.
>
> What people think about this ?
>
> --strk;
>
>
Good idea!!!
--
Mit freundlichen Grüßen / With kind regards
Hubert Fröhlich
-------------------------------------------------------------------------------
Dr.-Ing. Hubert Fröhlich
Bezirksfinanzdirektion München
Alexandrastr. 3, D-80538 München, GERMANY
Tel. :+49 (0)89 / 2190 - 2980
Fax :+49 (0)89 / 2190 - 2997
hubert dot froehlich at bvv dot bayern dot de
More information about the postgis-users
mailing list