[postgis-tickets] [PostGIS] #2965: ST_Distance, use_spheroid default

PostGIS trac at osgeo.org
Mon Oct 13 14:04:26 PDT 2014


#2965: ST_Distance, use_spheroid default
---------------------------------------+------------------------------------
 Reporter:  gitai                      |       Owner:  pramsey      
     Type:  defect                     |      Status:  new          
 Priority:  critical                   |   Milestone:  PostGIS 2.1.5
Component:  postgis                    |     Version:  2.1.x        
 Keywords:  ST_Distance, use_spheroid  |  
---------------------------------------+------------------------------------

Comment(by nicklas):

 Replying to [comment:10 gitai]:
 > I expect to get an error passing a geometry to a geography interface
 (e.g use_spheroid overload), which would surface the mix up instantly.

 Yes, I see your point here. This is what I meant earlier about discussing
 if this autocast is confusing things more than doing good. (I actually
 just guess that it is an autocast that is happening from what you
 describe. Haven't had time to look at it).

 Let's wait for the gurus to comment :)

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