[postgis-devel] [PostGIS] #332: WKT geometry tag match and mismatch

PostGIS trac at osgeo.org
Wed Dec 9 10:12:45 PST 2009


#332: WKT geometry tag match and mismatch
----------------------+-----------------------------------------------------
  Reporter:  mloskot  |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  PostGIS 1.5.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Changes (by pramsey):

  * milestone:  => PostGIS 1.5.0

Comment:

 The behavior comes from here

 http://trac.osgeo.org/postgis/browser/trunk/postgis/lwgeom_ogc.c#L1045

 The intent to is to only allow true OGC WKT in via the FromText()
 function, even though other forms of text geometry (hex-encoded strings,
 EWKT that starts with 'SRID=') can be capably parsed by the input parser.
 This little roadblock seems to violate the "be liberal in what you accept"
 precept. I'm more inclined to remove it than to patch it up for case
 sensitivity. Other developer thoughts?

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