Thats great, good work!<br><br><div class="gmail_quote">On Mon, Apr 30, 2012 at 9:36 PM, Paul Norman <span dir="ltr"><<a href="mailto:penorman@mac.com" target="_blank">penorman@mac.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Based on Andrew Guertin's work for UVM I have released a new version of<br>
ogr2osm<br>
It can be found at <a href="https://github.com/pnorman/ogr2osm" target="_blank">https://github.com/pnorman/ogr2osm</a><br>
<br>
Improvements and bug fixes over the previous version include<br>
<br>
- MultiLineStrings are broken up into multiple LineStrings<br>
- More readable raw XML<br>
- Support for keys or values which require escaping in the XML<br>
- upload=false is set by default to help prevent accidental uploads<br>
- Support for shapefile directories<br>
- Significant speed improvements when dealing with data sources where<br>
multiple geometries share points in common. What used to take hours now<br>
takes minutes.<br>
<br>
Installation instructions can be found at<br>
<a href="https://github.com/pnorman/ogr2osm#installation" target="_blank">https://github.com/pnorman/ogr2osm#installation</a><br>
<br>
ogr2osm has three main advantages over other tools that can convert<br>
shapefiles<br>
- It handles the reprojection for you<br>
- It can deal with shapefile directories which is what gdal uses to handle<br>
multiple layers with shapefiles<br>
- It accepts a python function for converting from datasource tagging to OSM<br>
tagging, allowing you to use more complicated logic to come up with better<br>
OSM tagging<br>
<br>
As always, potential importers are reminded about the import guidelines.<br>
ogr2osm allows you to write a good conversion to OSM tagging. It doesn't do<br>
the rest of the work for you and it won't contact the community before<br>
importing for you. You still have to do all of these yourself.<br>
<br>
If anyone has good well-commented examples of translations files I welcome<br>
pull requests against <a href="https://github.com/pnorman/ogr2osm-translations" target="_blank">https://github.com/pnorman/ogr2osm-translations</a><br>
<br>
<br>
<br>
_______________________________________________<br>
Imports mailing list<br>
<a href="mailto:Imports@openstreetmap.org">Imports@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/imports" target="_blank">http://lists.openstreetmap.org/listinfo/imports</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>James Michael DuPont<br>Member of Free Libre Open Source Software Kosova <a href="http://flossk.org" target="_blank">http://flossk.org</a><br>