Hi,<br>
<br>
I am very new to PostGIS, and I'm stuck with what I hope is an easy<br>
problem to solve.<br>
<br>
I have a table which contains a list of points, originating from a GPS<br>
device's lat/long output. I want to get the distance travelled. I have<br>
the following query, but the result (distance) looks far to low:<br>
<br>
SELECT ST_Length(St_MakeLine(point))/1000 as distance<br><div id="1fft" class="ArwC7c ckChnd">
FROM (<br>
       SELECT point FROM points<br>
       ORDER BY timestamp<br>
) as p<br>
<br>
I know the route was over 5 miles (probably about about 8.4 km), but<br>
the query returns 0.000106496.<br>
<br>
Can anyone see what I am doing wrong? Is it my query, or could it be<br>
my data?<br>
<br>
Many thanks<br>
<br>
Joe</div>