[postgis-devel] [PostGIS] #1321: ST_AsGML fails to swap X/Y when outputting Envelope

PostGIS trac at osgeo.org
Wed Nov 23 07:57:15 PST 2011


#1321: ST_AsGML fails to swap X/Y when outputting Envelope
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 New findings: liblwgeom AND postgis disagree on which numbers/flags to use
 for what.
 THis is pretty frustrating.

 At PostGIS level (manual) it's documented that 16 does the swapping of X/Y
 (is_degree)
 but at liblwgeom level that flag is (1<<1) which means just 1.
 While 16 is for the extent flag (1<<4).

 I hope Olivier will show up soon to clear the picture some :)

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