<div dir="ltr">Please guide me how can i fetch User Database from OSM repositories by using API or any other method. <br><br><div><br></div><div style>Thanks</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Feb 8, 2013 at 12:06 PM, <span dir="ltr"><<a href="mailto:dev-request@openstreetmap.org" target="_blank">dev-request@openstreetmap.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Send dev mailing list submissions to<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:dev-request@openstreetmap.org">dev-request@openstreetmap.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:dev-owner@openstreetmap.org">dev-owner@openstreetmap.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of dev digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Is there any API to get data from OSM as geoJson? (Ander Pijoan)<br>
2. Re: Is there any API to get data from OSM as geoJson?<br>
(Serge Wroclawski)<br>
3. Re: Is there any API to get data from OSM as geoJson?<br>
(Nick Whitelegg)<br>
4. Re: Is there any API to get data from OSM as geoJson?<br>
(Martin Raifer)<br>
5. Re: Reminder: Node 32-bit exhaustion (Andrew M. Bishop)<br>
6. Re: Is there any API to get data from OSM as geoJson?<br>
(Jukka Rahkonen)<br>
7. Re: Reminder: Node 32-bit exhaustion (Ilya Zverev)<br>
8. Re: Reminder: Node 32-bit exhaustion (Toby Murray)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 7 Feb 2013 17:58:27 +0100<br>
From: Ander Pijoan <<a href="mailto:ander.pijoan@deusto.es">ander.pijoan@deusto.es</a>><br>
To: <a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
Subject: [OSM-dev] Is there any API to get data from OSM as geoJson?<br>
Message-ID:<br>
<CAMo0bbr54jhFX7=<a href="mailto:CxKqmc4Ss3OvS-OJuURYJpitsfaJdKytD3Q@mail.gmail.com">CxKqmc4Ss3OvS-OJuURYJpitsfaJdKytD3Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi everyone<br>
<br>
I am currently working with different technologies for showing OSM data in<br>
slippy maps and I noticed that some of those maps would work better with<br>
GeoJSON data format.<br>
<br>
I use Overpass API for downloading data but it doesn't export in GeoJSON<br>
format. The nearest approach would be to ask for it as OSM-JSON, store all<br>
the nodes ids and locations, store all the ways ids and node refs and then<br>
build the relations geometries but it's quite a big pain for browsers.<br>
<br>
I've been looking for some info in OSM wiki but I haven't been able to find<br>
nothing. Does anyone know if there exists something?<br>
<br>
Thank you very much.<br>
<br>
--<br>
Ander Pijoan Lamas<br>
Research Assistant, Deustotech<br>
Computer Science Engineer<br>
University of Deusto<br>
<br>
E-mail: <a href="mailto:ander.pijoan@deusto.es">ander.pijoan@deusto.es</a><br>
Phone: +34 664471228<br>
in: <a href="http://www.linkedin.com/profile/view?id=162888312" target="_blank">http://www.linkedin.com/profile/view?id=162888312</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.openstreetmap.org/pipermail/dev/attachments/20130207/5f4dc485/attachment-0001.html" target="_blank">http://lists.openstreetmap.org/pipermail/dev/attachments/20130207/5f4dc485/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 7 Feb 2013 12:12:00 -0500<br>
From: Serge Wroclawski <<a href="mailto:emacsen@gmail.com">emacsen@gmail.com</a>><br>
To: Ander Pijoan <<a href="mailto:ander.pijoan@deusto.es">ander.pijoan@deusto.es</a>><br>
Cc: <a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
Subject: Re: [OSM-dev] Is there any API to get data from OSM as<br>
geoJson?<br>
Message-ID:<br>
<CADbCdJg737iuR+jNw8bX32f2HAvvU7Mkva=<a href="mailto:MT5_-Q2J4A7Yu9w@mail.gmail.com">MT5_-Q2J4A7Yu9w@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
On Thu, Feb 7, 2013 at 11:58 AM, Ander Pijoan <<a href="mailto:ander.pijoan@deusto.es">ander.pijoan@deusto.es</a>> wrote:<br>
<br>
> I use Overpass API for downloading data but it doesn't export in GeoJSON<br>
> format. The nearest approach would be to ask for it as OSM-JSON, store all<br>
> the nodes ids and locations, store all the ways ids and node refs and then<br>
> build the relations geometries but it's quite a big pain for browsers.<br>
<br>
You could build your own server and then server the data however you like.<br>
<br>
Since you're already doing all this conversion, and you seem to be<br>
doing a lot of work with the OSM data, this is probably the right<br>
approach for your application.<br>
<br>
- Serge<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 7 Feb 2013 17:27:21 +0000<br>
From: Nick Whitelegg <<a href="mailto:Nick.Whitelegg@solent.ac.uk">Nick.Whitelegg@solent.ac.uk</a>><br>
To: Ander Pijoan <<a href="mailto:ander.pijoan@deusto.es">ander.pijoan@deusto.es</a>><br>
Cc: <a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
Subject: Re: [OSM-dev] Is there any API to get data from OSM as<br>
geoJson?<br>
Message-ID:<br>
<<a href="mailto:OF27288083.666076D1-ON80257B0B.005FE393-80257B0B.005FE395@solent.ac.uk">OF27288083.666076D1-ON80257B0B.005FE393-80257B0B.005FE395@solent.ac.uk</a>><br>
<br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
<br>
Hello Ander,<br>
<br>
I have an API for generating OSM data as geojson from a PostGIS database. The live api is part of the UK-orientated Freemap site and currently works with selected areas of the UK only, see<br>
<br>
<a href="http://www.free-map.org.uk/0.6/about.html" target="_blank">http://www.free-map.org.uk/0.6/about.html</a><br>
<br>
However the code is open source and should in theory work with any OSM-derived PostGIS database.<br>
<br>
Look at<br>
<br>
<a href="https://github.com/nickw1/Freemap" target="_blank">https://github.com/nickw1/Freemap</a><br>
<br>
(look inside 0.6/ws. There are two services, tsvr.php which takes an xyz tile definition and bsvr.php which takes a bbox and projection/SRID).<br>
<br>
Nick<br>
<br>
-----Ander Pijoan <<a href="mailto:ander.pijoan@deusto.es">ander.pijoan@deusto.es</a>> wrote: -----<br>
To: <a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
From: Ander Pijoan <<a href="mailto:ander.pijoan@deusto.es">ander.pijoan@deusto.es</a>><br>
Date: 07/02/2013 04:59PM<br>
Subject: [OSM-dev] Is there any API to get data from OSM as geoJson?<br>
<br>
Hi everyone<br>
<br>
I am currently working with different technologies for showing OSM data in slippy maps and I noticed that some of those maps would work better with GeoJSON data format.<br>
<br>
I use Overpass API for downloading data but it doesn't export in GeoJSON format. The nearest approach would be to ask for it as OSM-JSON, store all the nodes ids and locations, store all the ways ids and node refs and then build the relations geometries but it's quite a big pain for browsers.<br>
<br>
I've been looking for some info in OSM wiki but I haven't been able to find nothing. Does anyone know if there exists something?<br>
<br>
Thank you very much.<br>
<br>
--<br>
Ander Pijoan Lamas<br>
Research Assistant, Deustotech<br>
Computer Science Engineer<br>
University of Deusto<br>
<br>
E-mail: <a href="mailto:ander.pijoan@deusto.es">ander.pijoan@deusto.es</a><br>
Phone: +34 664471228<br>
in: <a href="http://www.linkedin.com/profile/view?id=162888312" target="_blank">http://www.linkedin.com/profile/view?id=162888312</a><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>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.openstreetmap.org/pipermail/dev/attachments/20130207/3e0e31e9/attachment-0001.html" target="_blank">http://lists.openstreetmap.org/pipermail/dev/attachments/20130207/3e0e31e9/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Thu, 07 Feb 2013 18:51:10 +0100<br>
From: "Martin Raifer" <<a href="mailto:tyr.asd@gmail.com">tyr.asd@gmail.com</a>><br>
To: <a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
Subject: Re: [OSM-dev] Is there any API to get data from OSM as<br>
geoJson?<br>
Message-ID: <op.wr5c7ke5o0zqqj@tyrschleppi2><br>
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes<br>
<br>
Hi<br>
<br>
Not really an answer to your question, but anyway:<br>
For overpass turbo [1] I have implemented a converter on client side (as a<br>
Leaflet-Plugin [2]). It supports multipolygons and has some<br>
polygon-detection-magic. As far as I can tell, this client side conversion<br>
is not really a substantial "big pain" for browsers (when compared to<br>
rendering the same data).<br>
<br>
Bye<br>
Martin<br>
<br>
[1] <a href="http://overpass-turbo.eu" target="_blank">http://overpass-turbo.eu</a><br>
[2] <a href="https://github.com/tyrasd/overpass-ide/blob/master/libs/OSM4Leaflet.js" target="_blank">https://github.com/tyrasd/overpass-ide/blob/master/libs/OSM4Leaflet.js</a><br>
<br>
<br>
<br>
Am 07.02.2013, 17:58 Uhr, schrieb Ander Pijoan <<a href="mailto:ander.pijoan@deusto.es">ander.pijoan@deusto.es</a>>:<br>
<br>
> Hi everyone<br>
><br>
> I am currently working with different technologies for showing OSM data<br>
> in slippy maps and I noticed that some of those maps would work better<br>
> with GeoJSON data format.<br>
><br>
> I use Overpass API for downloading data but it doesn't export in GeoJSON<br>
> format. The nearest approach would be to ask for it as OSM-JSON, store<br>
> all the nodes ids and locations, store all the ways ids and node refs<br>
> and then build the relations geometries but it's quite a big pain for<br>
> browsers.<br>
><br>
> I've been looking for some info in OSM wiki but I haven't been able to<br>
> find nothing. Does anyone know if there exists something?<br>
><br>
> Thank you very much.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Thu, 07 Feb 2013 18:32:22 +0000<br>
From: <a href="mailto:amb@gedanken.demon.co.uk">amb@gedanken.demon.co.uk</a> (Andrew M. Bishop)<br>
To: <a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
Subject: Re: [OSM-dev] Reminder: Node 32-bit exhaustion<br>
Message-ID: <<a href="mailto:vozjzgf009.fsf@gedanken.demon.co.uk">vozjzgf009.fsf@gedanken.demon.co.uk</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Stephan Knauss <<a href="mailto:osm@stephans-server.de">osm@stephans-server.de</a>> writes:<br>
<br>
> On 06.02.2013 21:25, Andrew M. Bishop wrote:<br>
>> Does anybody know if there is a released version of Mapnik that<br>
>> supports ids up to (2^32)-1 rather than requiring an unreleased 64-bit<br>
>> version?<br>
><br>
> could you give details about a use case where mapnik needs the osm_id? The<br>
> "official" styles do not contain a reference to osm_id, it's an internal thing<br>
> in the database.<br>
<br>
> Might be worth being clarified on the wiki page. Currently it reads as mapnik is<br>
> broken in general.<br>
<br>
I asked the question based on the new wiki page which says that the<br>
unreleased Mapnik version 2.2 is required for 64-bit ids.<br>
<br>
My question could have been more accurately stated as:<br>
<br>
If using the "standard" toolchain of osm2psql, postgresql and mapnik<br>
what is the minimum software versions that are needed to continue<br>
creating maps after ids reach 2^31-1?<br>
<br>
The wiki page says that osm2psql version 0.81.1 is required but the<br>
version that I have reports itself as "osm2pgsql SVN version 0.80.0<br>
(32bit id space)". This suggests to me that it will work up until id<br>
2^32-1 appears but this may be wishful thinking on my part.<br>
<br>
--<br>
Andrew.<br>
----------------------------------------------------------------------<br>
Andrew M. Bishop <a href="mailto:amb@gedanken.demon.co.uk">amb@gedanken.demon.co.uk</a><br>
<a href="http://www.gedanken.org.uk/mapping/" target="_blank">http://www.gedanken.org.uk/mapping/</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Thu, 7 Feb 2013 21:59:48 +0200<br>
From: "Jukka Rahkonen" <<a href="mailto:jukka.rahkonen@latuviitta.fi">jukka.rahkonen@latuviitta.fi</a>><br>
To: <a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
Subject: Re: [OSM-dev] Is there any API to get data from OSM as<br>
geoJson?<br>
Message-ID:<br>
<<a href="mailto:0cf2425a26be3482a4c62f285190d736.squirrel@mail.suomicom.fi">0cf2425a26be3482a4c62f285190d736.squirrel@mail.suomicom.fi</a>><br>
Content-Type: text/plain;charset=iso-8859-1<br>
<br>
Hi,<br>
<br>
WFS servers, like Geoserver and TinyOWS, can deliver data also as GeoJSON.<br>
This query sends the Finnish waste baskets from OSM data as GeoJSON<br>
<br>
<a href="http://188.64.1.61/cgi-bin/tinyows?service=wfs&version=1.1.0&request=getfeature&typename=tows:osm_point&maxfeatures=10000&filter=%3CFilter%20%20xmlns:ogc=%22http://www.opengis.net/ogc%22%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3Etows:amenity%3C/PropertyName%3E%3CLiteral%3Ewaste_basket%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E&outputformat=application/json" target="_blank">http://188.64.1.61/cgi-bin/tinyows?service=wfs&version=1.1.0&request=getfeature&typename=tows:osm_point&maxfeatures=10000&filter=%3CFilter%20%20xmlns:ogc=%22http://www.opengis.net/ogc%22%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3Etows:amenity%3C/PropertyName%3E%3CLiteral%3Ewaste_basket%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E&outputformat=application/json</a><br>
<br>
All that I have done was to import OSM data with osm2pgsql and publish the<br>
resulting PostGIS tables with TinyOWS as WFS feature types. I am sorry<br>
about the ugly filter, but it is the OGC way for doing queries.<br>
<br>
<br>
-Jukka Rahkonen-<br>
<br>
Ander Pijoan wrote:<br>
> Hi everyone<br>
><br>
> I am currently working with different technologies for showing OSM data in<br>
> slippy maps and I noticed that some of those maps would work better with<br>
> GeoJSON data format.<br>
><br>
> I use Overpass API for downloading data but it doesn't export in GeoJSON<br>
> format. The nearest approach would be to ask for it as OSM-JSON, store all<br>
> the nodes ids and locations, store all the ways ids and node refs and then<br>
> build the relations geometries but it's quite a big pain for browsers.<br>
><br>
> I've been looking for some info in OSM wiki but I haven't been able to<br>
> find<br>
> nothing. Does anyone know if there exists something?<br>
><br>
> Thank you very much.<br>
><br>
> --<br>
> Ander Pijoan Lamas<br>
> Research Assistant, Deustotech<br>
> Computer Science Engineer<br>
> University of Deusto<br>
><br>
> E-mail: <a href="mailto:ander.pijoan@deusto.es">ander.pijoan@deusto.es</a><br>
> Phone: +34 664471228<br>
> in: <a href="http://www.linkedin.com/profile/view?id=162888312" target="_blank">http://www.linkedin.com/profile/view?id=162888312</a><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>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Fri, 08 Feb 2013 09:59:00 +0400<br>
From: Ilya Zverev <<a href="mailto:zverik@textual.ru">zverik@textual.ru</a>><br>
To: Dev <<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a>><br>
Subject: Re: [OSM-dev] Reminder: Node 32-bit exhaustion<br>
Message-ID: <<a href="mailto:96d5d5f4e6105ed3b4f9244312a3aaae@textual.ru">96d5d5f4e6105ed3b4f9244312a3aaae@textual.ru</a>><br>
Content-Type: text/plain; charset=UTF-8; format=flowed<br>
<br>
Andrew M. Bishop wrote:<br>
<br>
> If using the "standard" toolchain of osm2psql, postgresql and mapnik<br>
> what is the minimum software versions that are needed to continue<br>
> creating maps after ids reach 2^31-1?<br>
<br>
I doubt that mapnik's handling of 32bit ids would in any way affect OSM<br>
rendering. So you can still use older versions of it without worrying<br>
that something will break.<br>
<br>
> The wiki page says that osm2psql version 0.81.1 is required but the<br>
> version that I have reports itself as "osm2pgsql SVN version 0.80.0<br>
> (32bit id space)". This suggests to me that it will work up until id<br>
> 2^32-1 appears but this may be wishful thinking on my part.<br>
<br>
Well, you've got less than 24 hours to update your osm2pgsql.<br>
<a href="http://textual.ru/64/" target="_blank">http://textual.ru/64/</a> shows that there are 1.3 million nodes left, and<br>
for the last two days nearly 1.5 million nodes were added daily.<br>
<br>
Though I fail to understand what would be broken if you continue to use<br>
32-bit osm2pgsql. Indices, maybe.<br>
<br>
<br>
IZ<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 8<br>
Date: Fri, 8 Feb 2013 00:36:18 -0600<br>
From: Toby Murray <<a href="mailto:toby.murray@gmail.com">toby.murray@gmail.com</a>><br>
To: Dev <<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a>><br>
Subject: Re: [OSM-dev] Reminder: Node 32-bit exhaustion<br>
Message-ID:<br>
<<a href="mailto:CAJeqKgurbxcR6ZE3acvdUAkF7Gzs%2B_46C3qVwcg3JC9O4d1-CA@mail.gmail.com">CAJeqKgurbxcR6ZE3acvdUAkF7Gzs+_46C3qVwcg3JC9O4d1-CA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
FYI, I have dubbed this the N2B (Node 2 Billion(ish)) problem :)<br>
<br>
Just think what would happen if we could get 1/1000th the media<br>
coverage of Y2K...<br>
<br>
Toby<br>
<br>
<br>
<br>
------------------------------<br>
<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>
<br>
End of dev Digest, Vol 95, Issue 5<br>
**********************************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Er. Sukhjit Singh Sehra<br>Assistant Professor<br>Dept of Computer Science Engg.<br>Guru Nanak Dev Engineering College, Ludhiana, Punjab <br>Mobile No:- 09855959200<br>
*In your free time kindly visit Sikh-relics.com - A Gallery of Blessed Relics of Sikh Guru Sahib
</div>