Hello,

@Simone, would you suggest Overpass or XAPI for the second question asked
by the OP? I am also a newbie and at this very moment I am trying out OSM
Nominatim install on Amazon EC2. I previously was using Mapquest's open/OSM
data, but that seems to be old and unmaintained! I would love to know why
use overpass instead of XAPI for read only queries.

Thanks!
Sachin Dole


On Fri, Mar 21, 2014 at 10:12 AM, Simone Cortesi <sim...@cortesi.com> wrote:

> On Fri, Mar 21, 2014 at 3:20 PM, Giuseppe Ricci <peppepega...@gmail.com>
> wrote:
>
> Hi Giuseppe,
>
> > But I want to understand if osm's data permit to implement my idea.
> > My first question is: if I have some points of interest and I want to
> show
> > these on an open street map is it possible? For example with google map
> > there is this tutorial:
> >
> > https://developers.google.com/maps/articles/phpsqlajax_v3
>
> we normally use http://leafletjs.com/ as a front-end to osm tiles.
>
> the DB approach you suggest is still valid inside OSM, you need to
> provide your own database and create a structure which can be queried
> by your script, a that is able to provide well formatted json or csv
> based on the requested bounding box. there are numerous plugins for
> that: http://leafletjs.com/plugins.html
>
> > The second question is: can I query the osm's database to find hotels,
> > restaurants, shopping center, etc? Is it possible to show these points
> on a
> > osm map?
>
> overpass API is the answer.
>
> shops in Bari: http://overpass-turbo.eu/s/2PS
>
> _______________________________________________
> dev mailing list
> dev@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev
>



-- 
President  |  Genvega Inc.  |  www.genvega.com  |  tel: 630.290.2561
_______________________________________________
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev

Reply via email to