Willy,
Not that newbie of a question.  Actually its probably not obvious but
distance_sphere and distance_spheroid don't even look at the srid of the
geometry fed to them.  If you give it a non-long lat coordinates you will
also get garbage results as I recall.
 
So they always assume point and point is long lat.
 
Hope that helps,
Regina

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Willy-Bas Loos
Sent: Tuesday, September 09, 2008 5:48 AM
To: PostGIS Users Discussion
Subject: [postgis-users] why specify spheroid?


Hi,

(This probably will score me some noob-points, but whatever. Actually i
might loose a few if i get to understand this.)

Why do distance_spheroid et al. require that you specify the spheroid?
Doesn't the srid provide enough information?

cheers,

WBL

-- 
"Patriotism is the conviction that your country is superior to all others
because you were born in it." - George Bernard Shaw

_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to