On Mon, 2007-11-19 at 22:40 +0100, Ivan Mincik wrote: > thanks a lot. these wrong are coming from some special format of > cadastral data in my country. data where first saved to ESRI > shapefile by OGR, then imported to postgis by shp2pgsgl. I think that > they are invalid also for the shapefile. can it be similar issue? > > again thank you very much > > ivan mincik
Hi Ivan, I'm not sure exactly what the validity rules are for shapefiles, however in your case it would be OGR that would determine how invalid polygons would appear in the shapefile. Regardless of whether the source data is at fault, or OGR's method of handling invalid geometries, PostGIS is still wrong in accepting them in (E)WKB format. ATB, Mark. -- ILande - Open Source Consultancy http://www.ilande.co.uk _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users