<p>Try the overpass-api, <a href="http://www.overpass-api.de">http://www.overpass-api.de</a> . you can use the around clause to search for anything around anything.</p>
<div class="gmail_quote">On May 24, 2013 2:24 PM, "doan trang" <<a href="mailto:trangpdqqth@gmail.com">trangpdqqth@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><pre style="white-space:pre-wrap;line-height:19px;font-size:14px;margin-bottom:0px;font-family:courier,'courier new',monospace;margin-top:0px;word-wrap:break-word">Hi everyone
<br></pre><pre style="white-space:pre-wrap;line-height:19px;font-size:14px;margin-bottom:0px;font-family:courier,'courier new',monospace;margin-top:0px;word-wrap:break-word">I am a beginer with OSM dev. I want to search location around a exact location ( current user location) and then return a JSON array . Like Google map , we have :</pre>

<pre style="white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px"><font color="#000000" face="courier, courier new, monospace"><span style="font-size:14px;line-height:19px"><a href="https://maps.googleapis.com/maps/api/place/nearbysearch/json" target="_blank">https://maps.googleapis.com/maps/api/place/nearbysearch/json</a>?<br>


</span></font></pre><pre style="white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px"><font color="#000000" face="courier, courier new, monospace"><span style="font-size:14px;line-height:19px"><br></span></font></pre>


<pre style="white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px"><font color="#000000" face="courier, courier new, monospace"><span style="font-size:14px;line-height:19px">and then put parameter to this URL so we can get a JSON Array with location data in types and nearby a location</span></font></pre>


<pre style="white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px"><span style="line-height:19px;font-size:14px;font-family:courier,'courier new',monospace"><br></span></pre><pre style="white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px">

<span style="line-height:19px;font-size:14px;font-family:courier,'courier new',monospace"> Does anyone know if there exists something</span> ?</pre><pre style="white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px">

<span style="font-family:arial"> </span><br></pre><pre style="white-space:pre-wrap;line-height:19px;font-size:14px;margin-bottom:0px;font-family:courier,'courier new',monospace;margin-top:0px;word-wrap:break-word">

Thank you very much.</pre></div>
<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>
<br></blockquote></div>