[postgis-devel] [PostGIS] #545: error retrieving single point linestring WKB

PostGIS trac at osgeo.org
Tue Jun 22 14:52:45 PDT 2010


#545: error retrieving single point linestring WKB
-------------------------+--------------------------------------------------
 Reporter:  ravenAtSafe  |       Owner:  pramsey      
     Type:  defect       |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 1.5.2
Component:  postgis      |     Version:  1.5.X        
 Keywords:               |  
-------------------------+--------------------------------------------------
 If you insert a single point linestring into PostGIS (via WKB, as WKT of
 the same geo is rejected), it can't be read back.

 {{{
 insert into single_point_linestring (geom) values
 (ST_GeomFromWKB(decode('01020000000100000000000000000008400000000000000840','hex')))
 select ST_AsText(geom) from single_point_linestring

 ERROR:  geometry requires more points

 ********** Error **********

 ERROR: geometry requires more points
 SQL state: XX000

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/545>
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