I think it's a difference in versions On our PostGIS 1.4 windows the answers are the same (note Paul was showing a 1.4 answer I presume from his command prompt)
On our PostGIS 1.5 its different. I suspect its because in PostGIS 1.5 the distance_spheroid piggy backs on the geography support to support more than just points. I suspect the length_spheroid logic wasn't changed to do the same which is why it gives the same answer as 1.4 Hope that helps, Regina and Leo http://www.postgis.us -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Olivier Courtin Sent: Thursday, April 22, 2010 1:07 PM To: PostGIS Users Discussion Subject: Re: [postgis-users] ST_length_spheroid and ST_distance_spheroid On Apr 22, 2010, at 6:54 PM, Paul Ramsey wrote: > If you change the 180 to 179 do the results match up again? (ie, do > any distance less than a perfect half-sphere?) Yes, right assertion. Values are the same below 180 -- Olivier _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
