<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>


<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.hmmessage P
{margin:0px;padding:0px;}
body.hmmessage
{font-size:10pt;font-family:Verdana;}
</style>

Hi,<br><br>This is probably a very simple question but I am unable to find anything to point me in the right direction.<br><br>I am trying to understand how I can make distance related queries with PostGIS. To do this, I am attempting to calculate the distance between:<br><br>in Lat/Long<br>Point A(<span style="font-size: 12pt; font-family: 'Times New Roman';">-38.034031,145.201711) and Point B(</span><style>
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman';}
@page Section1
{size:612.0pt 792.0pt;margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}

</style><span style="font-size: 12pt; font-family: 'Times New Roman';">-37.899854,145.087116)<br><br>I have tried several methods and am still getting the distance as 92072.62 (I don't know what units this is in, but I am trying to get it in meters).<br><br>Google Earth calculates the distance as 17.4 km (approximately).<br><br>Regards,<br>Michael<br><br><br><br></span><br /><hr />Find great deals on eBay <a href='http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Frover%2Eebay%2Ecom%2Frover%2F1%2F705%2D10129%2D5668%2D323%2F4%3Fid%3D10&_t=763807330&_r=hotmailTAGLINES&_m=EXT' target='_new'>Net yourself a bargain</a></body>
</html>