[postgis-users] ST_length_spheroid and ST_distance_spheroid

Rykov Denis rykovd at gmail.com
Thu Apr 22 03:34:03 PDT 2010


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]')



More information about the postgis-users mailing list