Re: [OSM-dev] new on osm

2014-03-21 Thread Sachin Dole
Thank you, yes, if Overpass is faster, I would rather have Overpass. Yes,
having the compatibility layer option is great!

Off-topic: I am happy to report that my experimental nominatim install and
upload of data (200 megs - only San Fransisco) to Amazon EC2 worked great
for me.

I followed http://wiki.openstreetmap.org/wiki/Nominatim/Installation word
for word.

Best,
Sachin Dole


On Fri, Mar 21, 2014 at 10:39 AM, SomeoneElse
wrote:

>  Sachin Dole wrote:
>
>
> @Simone, would you suggest Overpass or XAPI for the second question asked
> by the OP?
>
>
> (apologies for interrupting but) both is an option:
>
> http://wiki.openstreetmap.org/wiki/Overpass_API/XAPI_Compatibility_Layer
>
> Cheers,
>
> Andy
>
>
> ___
> 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


Re: [OSM-dev] new on osm

2014-03-21 Thread SomeoneElse

Sachin Dole wrote:


@Simone, would you suggest Overpass or XAPI for the second question 
asked by the OP?


(apologies for interrupting but) both is an option:

http://wiki.openstreetmap.org/wiki/Overpass_API/XAPI_Compatibility_Layer

Cheers,

Andy

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] new on osm

2014-03-21 Thread Peter Wendorff
Hi Sachin,
Overpass is usually faster and - if you need it - has more features.
Read the Overpass-API documentation for more details, or play around
with overpass-turbo (http://www.overpass-turbo.eu) which is a frontend
to overpass.

regards
Peter

Am 21.03.2014 16:20, schrieb Sachin Dole:
> 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  wrote:
> 
>> On Fri, Mar 21, 2014 at 3:20 PM, Giuseppe Ricci 
>> 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
>>
> 
> 
> 
> 
> 
> ___
> dev mailing list
> dev@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev
> 


___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] new on osm

2014-03-21 Thread Sachin Dole
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  wrote:

> On Fri, Mar 21, 2014 at 3:20 PM, Giuseppe Ricci 
> 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


Re: [OSM-dev] new on osm

2014-03-21 Thread Simone Cortesi
On Fri, Mar 21, 2014 at 3:20 PM, Giuseppe Ricci  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