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