[OSM-dev] New tool to convert from OSM to SHP

Stefan Keller sfkeller at gmail.com
Wed Mar 12 13:45:23 GMT 2008


I've updated a script here:
http://wiki.openstreetmap.org/index.php/Converting_OSM_to_GML
This converts OSM to GML. This GML in turn can be converterd to Shapefiles
e.g .with OGR2OGR.
But integrating OSM as a driver into OGR2OGR would be still useful.

-- Stefan

P.S. Was'nt there a proposal for doing this for the Google SoC (which closes
today)?

2008/3/12, Ludwig <ludwigbrinckmann at gmail.com>:
>
> I would strongly support the motion to implement this as an ogr2ogr
> module: it avoids duplication, is part of a framework, runs everywhere and
> is widely distributed and will thus have great potential of widening the
> user community of OSM data.
> There are modules that translate shapefiles into/from KML and doing a
> similar one for OSM XML should be not too difficult.
>
> ogr2ogr will be less work with more impact -- and very welcome indeed.
>
> Ludwig
>
>  On 11/03/2008, Ciprian Talaba <cipriantalaba at gmail.com> wrote:
>
> > Let me try to answer this step by step:
> >
> >
> > On Tue, Mar 11, 2008 at 1:92 PM, Milo van der Linden wrote:
> >
> > >
> > >
> > > I would like to join your project on Google Code. I am a C# and vb.net
> > > professional and have good experience with data conversion.
> > >
> >
> > I would add you to the project first thing tomorrow. Your help will be
> > welcome.
> >
> > On Tue, Mar 11, 2008 at 6:50 PM, Karl Newman wrote:
> >
> > >
> > >
> > > Why don't you write it as a driver for ogr2ogr? (www.gdal.org) That's
> > > an oft-requested utility, which would open up a wide variety of export
> > > formats. You could start with read-only OSM access (which is effectively
> > > what you're doing now).
> >
> >
> > I didn't know anything about ogr2ogr before reading this. I would like
> > to proceed
> > on this path as one of the things that is motivating me is that I have a
> > chance
> > to code in C# after more than a year, and I am missing that.
> > If I have time I would have a look at ogr2ogr as C/C++ experience is not
> > missing,
> > as my regular job is embedded engineer.
> >
> >
> > On Tue, Mar 11, 2008 at 8:14 PM, Frederik Ramm <frederik at remote.org>
> > wrote:
> >
> > >
> > >
> > > Does Jochen's Ruby Lib (http://wiki.openstreetmap.org/index.php/OSMLib
> > > )
> > > not work on Windows? It's highly configurable and generally creates
> > > any type and number of shapefiles you want...
> > >
> >
> >
> > I found this library while searching for a conversion tool but I thought
> > that the
> > it is now very simple to use, compared to an .Net application. Also I
> > have
> > no experience with Ruby :(
> >
> > _______________________________________________
> > dev mailing list
> > dev at openstreetmap.org
> > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
> >
> >
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20080312/d96a961a/attachment.html>


More information about the dev mailing list