[postgis-devel] [PostGIS] #265: Geometry to Geography cast enhancement auto transform

PostGIS trac at osgeo.org
Mon Oct 12 18:59:47 PDT 2009


#265: Geometry to Geography cast enhancement auto transform
--------------------------+-------------------------------------------------
  Reporter:  robe         |       Owner:  pramsey      
      Type:  enhancement  |      Status:  new          
  Priority:  low          |   Milestone:  postgis 1.5.0
 Component:  postgis      |     Version:  trunk        
Resolution:               |    Keywords:               
--------------------------+-------------------------------------------------
Comment (by pramsey):

 I considered this, but there's a future issue, which is: when GEOGRAPHY
 supports other geographic SRIDs. The "convenient" automagic transform
 turns into a hidden SRS coercion in order to maintain the transparency of
 the operation. So you'll get conversions from nad83 to nad27 happening
 silently under the covers if you should insert a 4269 geometry into a 4267
 column. People keep telling me that kind of behavior is a Bad Thing, so I
 hesitated to go down the road.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/265#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list