OpenStreetMap

When you want to do a import, and you start with a SHP file, there are 3 challenges that i had identified :

How do you convert and split the file, in such a way that a way will not be longer then 2000 points ? How do you remove the line duplicates after you explode the file ( at first all of the municipality is a polygon, that means that at common borders, there will actually be 2 ways.

How do you elevate the properties of the shp file, now the information is on the way, and you want to move this information into the relation.

Discussion

Comment from Sanderd17 on 30 September 2015 at 09:54

  1. normally, boundary ways are split on every boundary joint. So the boundary of france consists out of little pieces of boundaries between French and other municipalities. If these little boundary pieces still have more than 2000 nodes, there’s a problem with it.

  2. The Josm Utils2 Plugin has some tools that can be useful, like “make multipolygon” to extract tags from a way to a multipolygin relation, or replace geometry (to merge two ways).

But afaik, transforming an SHP into OSM data isn’t the most difficult. The most difficult is doing the quality checks before uploading, and making sure that the data is blended in nicely with the existing OSM data (connects to neighbouring boundaries, etc). For this, you should really follow the import guidelines: http://wiki.openstreetmap.org/wiki/Import/Guidelines

Log in to leave a comment