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

PostGIS trac at osgeo.org
Wed Jun 23 08:17:22 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:               |  
-------------------------+--------------------------------------------------

Comment(by ravenAtSafe):

 The following access attempts all result in the same error:

 select geom from single_point_linestring
 select ST_AsBinary(geom) from single_point_linestring
 select ST_asEWKT(geom) from single_point_linestring

 Maybe there is some clever cast that would prevent PostGIS from trying to
 interpret the geometry, but I don't know what that might be.

 I am agnostic on whether PostGIS should be able to output single point
 linestrings - my complaint is that it is possible to insert data that
 cripples your dataset.  I don't know how you could even identify the bad
 rows to remove them.

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