[postgis-users] help with pgsql2shp error

strk strk at keybit.net
Fri Nov 5 13:27:46 PDT 2010


On Fri, Nov 05, 2010 at 12:25:43PM -0400, Sam Snellings wrote:
> Hi,
> 
> I ran into an error while trying to use pgsql2shp to export a table of
> geography LINESTRING() objects:
> 
> [XXX~]$ [XXX]/pgsql2shp -f testfile -p 58456 geo_test global_points
> Initializing... Done (postgis major version: 1).
> Output shape: PolyLine
> *Dumping: XERROR: parse error - invalid geometry*
> 


Ouch. What's the output of: select postgis_full_version() ?
A bug with that kind of effect was fixed in 1.5.1 and 1.4.2 
releases.

--strk;

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



More information about the postgis-users mailing list