<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6001.18099" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=840163112-09092008><FONT face=Arial 
color=#0000ff size=2>Willy,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=840163112-09092008><FONT face=Arial 
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=840163112-09092008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=840163112-09092008><FONT face=Arial 
color=#0000ff size=2>So they always assume point and point is long 
lat.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=840163112-09092008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=840163112-09092008><FONT face=Arial 
color=#0000ff size=2>Hope that helps,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=840163112-09092008><FONT face=Arial 
color=#0000ff size=2>Regina</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> 
postgis-users-bounces@postgis.refractions.net 
[mailto:postgis-users-bounces@postgis.refractions.net] <B>On Behalf Of 
</B>Willy-Bas Loos<BR><B>Sent:</B> Tuesday, September 09, 2008 5:48 
AM<BR><B>To:</B> PostGIS Users Discussion<BR><B>Subject:</B> [postgis-users] why 
specify spheroid?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr>Hi,<BR><BR>(This probably will score me some noob-points, but 
whatever. Actually i might loose a few if i get to understand this.)<BR><BR>Why 
do distance_spheroid et al. require that you specify the spheroid?<BR>Doesn't 
the srid provide enough information?<BR><BR>cheers,<BR><BR>WBL<BR 
clear=all><BR>-- <BR>"Patriotism is the conviction that your country is superior 
to all others because you were born in it." - George Bernard 
Shaw<BR></DIV></BODY></HTML>