They don't, at least for me:

postgis14=# select st_length_spheroid(GeomFromText('LINESTRING(0 0,180
         0)',4326),'SPHEROID["WGS 84",6378137,298.257223563]')
                  ;
 st_length_spheroid
--------------------
   20037508.3427892
(1 row)

postgis14=# select st_distance_spheroid(geomfromtext('POINT(0 0)',4326),
postgis14(# geomfromtext('POINT(180 0)',4326),'SPHEROID["WGS
postgis14'# 84",6378137,298.257223563]');
 st_distance_spheroid
----------------------
     20037508.3427892
(1 row)



On Thu, Apr 22, 2010 at 3:34 AM, Rykov Denis <[email protected]> wrote:
> Hi.
> Why these functions returns different results?
>
> st_length_spheroid(GeomFromText('LINESTRING(0 0,180
> 0)',4326),'SPHEROID["WGS 84",6378137,298.257223563]')
> &
> st_distance_spheroid(geomfromtext('POINT(0 0)',4326),
> geomfromtext('POINT(180 0)',4326),'SPHEROID["WGS
> 84",6378137,298.257223563]')
> _______________________________________________
> 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

Reply via email to