[postgis-devel] Pgsql2shp creates wrong shape files.

Sandro Santilli strk at keybit.net
Mon Jan 16 06:28:39 PST 2012


On Mon, Jan 16, 2012 at 11:45:30AM +0100, Jose Carlos Martinez wrote:
> Dear PostGIS team,
> Im getting problems with pgsql2shp (build 8820).
> 
> pgsql2shp -f viariachedis1 -u postgres -P pg r8820-1 viariachedis1
> ...
> NOTICE:  SRID value -1 converted to the officially unknown SRID value 0
> NOTICE:  SRID value -1 converted to the officially unknown SRID value 0
> ...
> at the end I get:
> "WKB structure does not match expected size!"
> 
> The shapefile is not created correctly.
> 
> Dont know why I get the notice messages either about srid because
> the layer has 23030 srid.

I'm getting the SRID notice as well, sounds like a bug.
Please svn up, rebuild and retry, then file a ticket. 
Thank you !

--strk; 

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



More information about the postgis-devel mailing list