Open Question about tehnical issues around prepping boundaries SHP to Osm schema
baditaflorin님이 English로 2015년 9월 30일에 게시함.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.
토론
2015년 9월 30일 09:54에 Sanderd17님의 의견
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.
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: osm.wiki/Import/Guidelines