<br><br><div class="gmail_quote">On 19 May 2010 16:29, Stephen Cavilia <span dir="ltr"><<a href="mailto:ailivac@gmail.com">ailivac@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br><div class="im">
<br>
</div>This is what I would do. Calculate a rough lat-lon bounding box that<br>
approximates the area you want, filter any features that intersect that<br>
box, then reproject just those into UTM for calculating the actual<br>
distances. Or a more accurate geodesic/great circle distance, but UTM<br>
will be close enough over relatively small areas.<br></blockquote></div><br>+1<br>Else I would strongly suggest you have a look at Postgis 1.5 and the geography type.<br><br>Emilie Laffray<br>