Thank you for your thoughtful suggestions. I'm a n00b, so I'm not sure if I have to setup my own instance of the database to run this query or, if not, where I should go next. Any additional suggestions or direction would be appreciated.<br>
<br>--Yumi<br><br><div class="gmail_quote">On Thu, Sep 17, 2009 at 4:54 AM, Lennard <span dir="ltr"><<a href="mailto:ldp@xs4all.nl">ldp@xs4all.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Stephan Knauss wrote:<br>
<br>
> So could you specify a better projection that would be equidistant? The<br>
> data here uses 900913.<br>
> Would 4326 be equidistant?<br>
<br>
</div>FWIW, this is what I'm using on my cycle map:<br>
<br>
ST_length_spheroid(transform(way,4326),'SPHEROID["WGS<br>
84",6378137,298.257223563,AUTHORITY["EPSG","7030"]]')<br>
<br>
Note the space in "WGS 84".<br>
<div class="im"><br>
> Is there a difference between st_length() and length()? They both return<br>
> the same values (at least for 900913).<br>
<br>
</div>Same thing, but the ST_ is the newer version, thought up to distinguih<br>
spatial calls.<br>
<div class="im"><br>
> Postgis manual has a similar query to sum up the length of ways. Why is<br>
> it working there? Different projection?<br>
<br>
</div>I guess it's just an example of the ST_length() function as is, not<br>
taking into account any projection issues.<br>
<br>
<br>
--<br>
<font color="#888888">Lennard<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
</div></div></blockquote></div><br>