[postgis-users] length_spheroid problem
David Blasby
dblasby at refractions.net
Wed Apr 28 09:27:35 PDT 2004
Wood Brent wrote:
> The SQL is:
>
> select length_spheroid(the_geom,'SPHEROID["WGS84",6378137,298.25728]') from
> ....
>
>
> but it generates the error message:
>
> ERROR: SPHEROID parser - couldnt parse the spheroid
dblasby3=# select length_spheroid('LINESTRING(0 0,1
1)','SPHEROID["WGS84",6378137,298.25728]');
length_spheroid
------------------
156899.568401239
(1 row)
Works fine for me. You might want to try out the CVS version.
dave
More information about the postgis-users
mailing list