[postgis-devel] [PostGIS] #492: WKT and WKB parsers behaving differently about input validation (was: shp2pgsql behaving differently with -w and without)

PostGIS trac at osgeo.org
Wed Sep 1 01:35:14 PDT 2010


#492: WKT and WKB parsers behaving differently about input validation
----------------------+-----------------------------------------------------
 Reporter:  martijnm  |       Owner:  pramsey      
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 1.4.3
Component:  postgis   |     Version:  1.4.X        
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by strk):

 Weird bug. It is normal that a switch changes the behavior.
 The behaviour you're seeing is exactly the expected one (for the loader
 part).

 Instead, you may argue that the postgis parsers (WKB end WKT) behave
 differently.
 For me, it is the WKB parser acting the correct way, as you can always
 check
 for validity after import.

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