[Fdo-trac] [fdo-trac] #844: SQL Server provider flipping X/Y coordinates for points (SRID = 4326)

FDO trac_fdo at osgeo.org
Thu Aug 9 23:35:28 PDT 2012


#844: SQL Server provider flipping X/Y coordinates for points (SRID = 4326)
---------------------------------+------------------------------------------
   Reporter:  jng                |       Owner:  danstoica
       Type:  defect             |      Status:  new      
   Priority:  blocker            |   Milestone:  3.7.0    
  Component:  SQLServer Spatial  |     Version:  3.7.0    
   Severity:  1                  |    Keywords:           
External_id:                     |  
---------------------------------+------------------------------------------

Comment(by jng):

 This problem happens with any sql server geometry with an SRID in the
 range of 4120 and 4999 (inclusive).

 I notice that
 [http://trac.osgeo.org/fdo/browser/branches/3.7/Providers/GenericRdbms/Src/Geometry/Fgf/AllGeometry_c.cpp#L746
 such a check is done] to determine
 [http://trac.osgeo.org/fdo/browser/branches/3.7/Providers/GenericRdbms/Src/Geometry/Fgf/AllGeometry_c.cpp#L484
 if coordinates have to be flipped]. Is there a reason we have to flip?

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/844#comment:2>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list