OpenStreetMap 로고 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.

이메일 아이콘 Bluesky 아이콘 Facebook 아이콘 LinkedIn 아이콘 마스토돈 아이콘 텔레그램 아이콘 X 아이콘

토론

2015년 9월 30일 09:54Sanderd17님의 의견

  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: osm.wiki/Import/Guidelines

댓글을 남기려면 로그인하세요