[postgis-tickets] [PostGIS] #4109: WKT parser accepting and interpreting numbers with multiple dots

PostGIS trac at osgeo.org
Thu Jun 14 22:40:41 PDT 2018


#4109: WKT parser accepting and interpreting numbers with multiple dots
---------------------+---------------------------
 Reporter:  strk     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 2.5.0
Component:  postgis  |    Version:  trunk
 Keywords:           |
---------------------+---------------------------
 I think the following query should raise an exception
 rather than giving a debatable interpretation:

 {{{
 select ST_AsEWKT('LINESTRING(1.1.1, 2.2.2)'::geometry);
 LINESTRING(1.1 0.1,2.2 0.2)
 }}}

 Not sure how back this bug goes

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4109>
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-tickets mailing list