[postgis-tickets] [PostGIS] #2372: KML with space around ordinate values considered invalid

PostGIS trac at osgeo.org
Fri Jun 28 04:46:14 PDT 2013


#2372: KML with space around ordinate values considered invalid
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 1.5.9
Component:  postgis  |     Version:  1.5.X        
 Keywords:           |  
---------------------+------------------------------------------------------
 Works:
 {{{
 ST_GeomFromKML('<Point><coordinates>0,0</coordinates></Point>')
 }}}

 Fails:
 {{{
 ST_GeomFromKML('<Point><coordinates>0, 0</coordinates></Point>')
 }}}

 Fails:
 {{{
 ST_GeomFromKML('<Point><coordinates>0 ,0</coordinates></Point>')
 }}}

 If the spaces are before X or after Y ordinates, it still works.

 Broken from 1.5 to 2.2..

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