Thanks, actually, I have the planet data and I want to use sql query to query exactly the same way as the osmxapi that you have. Do you know what is that sql?
On Thu, Mar 5, 2009 at 7:19 PM, 80n <80n...@gmail.com> wrote: > > http://osmxapi.hypercube.telascience.org/api/0.5/way[name=Broadway][bbox=-74,40.6,-73.9,40.8]<http://osmxapi.hypercube.telascience.org/api/0.5/way%5Bname=Broadway%5D%5Bbbox=-74,40.6,-73.9,40.8%5D> > > On Fri, Mar 6, 2009 at 2:56 AM, John3478 John3478 <john3...@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]<http://osmxapi.hypercube.telascience.org/api/0.5/way%5Bname=Broadway%5D%5Bbbox=-74,40.6,-73.9,40.8%5D> > > 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@openstreetmap.org >> http://lists.openstreetmap.org/listinfo/talk >> >> >
_______________________________________________ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk