[postgis-devel] [PostGIS] #1344: ST_MakeLine fails for export with pgsql2shp

PostGIS trac at osgeo.org
Fri Dec 2 03:35:24 PST 2011


#1344: ST_MakeLine fails for export with pgsql2shp
-------------------------+--------------------------------------------------
 Reporter:  bporfidia    |       Owner:  pramsey      
     Type:  defect       |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.0.0
Component:  postgis      |     Version:  1.5.X        
 Keywords:  st_makeline  |  
-------------------------+--------------------------------------------------
 making linestring with st_makeline from a table of points, fails the
 export with pgsql2shp and connection to qgis

 postgis ver.
 > SELECT postgis_full_version()
 > "POSTGIS="1.5.1" GEOS="3.2.0-CAPI-1.6.0" PROJ="Rel. 4.6.1, 21 August
 > 2008" LIBXML="2.7.6" USE_STATS"


 export error
 C:\Programmi\PostgreSQL\8.4\bin>pgsql2shp.exe -h xxx.xxx.xxx.xxx -u
 postgres -P postgres -r -b -f linee.shp geofisica public.nav


 Initializing... Done (postgis major version: 1).
 Output shape: PolyLine
 Dumping: XRecordFetch: ERROR:  geometry requires more points

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1344>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list