I haven't tried this yet, so I'm just guessing. But as far as i understand
it you can download the 21GB dataset from  http://planet.openstreetmap.org/


In that dataset, I assume it has the places you're looking for. Probably
the best solution is to store that data in a MySQL database. Insert the
points using mysql's geospatial point type:

http://dev.mysql.com/doc/refman/5.5/en/populating-spatial-columns.html

The select statement to get the distances is a little convoluted. See if
you can get that far of downloading the data and populating a table with
the points.

Steve

On Thu, Apr 19, 2012 at 9:05 AM, Jitesh Lalwani
<[email protected]>wrote:

> Hi all,
>
> I am a newbie to OpenStreetMaps. Can anyone please suggest me a tutorial
> on how to show places like (restaurants, laundry, bars etc) which are
> within radius of 5miles of my current lat and longitude values. Appreciate
> the help in Advance. Thanks
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to