[OSM-talk] SQL to query street name within a define bbox

80n 80n80n at gmail.com
Fri Mar 6 03:19:54 GMT 2009


http://osmxapi.hypercube.telascience.org/api/0.5/way[name=Broadway][bbox=-74,40.6,-73.9,40.8]

On Fri, Mar 6, 2009 at 2:56 AM, John3478 John3478 <john3478 at gmail.com>wrote:

> Hi,
>
> Did any one know how to query street name within a define bbox?


This will get you all the ways named Broadway in Manhattan:
http://osmxapi.hypercube.telascience.org/api/0.5/way[name=Broadway][bbox=-74,40.6,-73.9,40.8]

SQL? Nah.

80n


>
> And second question, how to find lat, lon mid point of a street.
>
> Thank you in advance,
> john
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20090306/1efe1a06/attachment.html>


More information about the talk mailing list