[postgis-users] help with pgsql2shp error

strk strk at keybit.net
Fri Nov 5 15:19:55 PDT 2010


On Fri, Nov 05, 2010 at 04:43:54PM -0400, Sam Snellings wrote:
> The output of postgis_full_version() is:
> 
> POSTGIS="1.5.2" GEOS="3.2.2-CAPI-1.6.2" PROJ="Rel. 4.7.1, 23 September 2009"
> LIBXML="2.6.26" USE_STATS

Uhm. Maybe we need more fixes then.

See if this query gives you the ERROR:
 select count(asEWKB(the_geom)) from global_points;

Anyway, would you want the invalid geometries in your shapefile ?
I'd think you'd better fix the invalidities and then try again.

See ST_isValid and ST_isValidReason.

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-users mailing list