Skip to content

Instantly share code, notes, and snippets.

@almccon
Last active August 18, 2016 18:54
Show Gist options
  • Save almccon/46cc908c95d1f6e24d321011b05d2ea5 to your computer and use it in GitHub Desktop.
Save almccon/46cc908c95d1f6e24d321011b05d2ea5 to your computer and use it in GitHub Desktop.

Editing OSM Boundaries

##Task:

Find ways that are part of boundary relations (specifically, relations that are boundary=administrative and admin_level=2), where the way itself lacks those tags.

Add the following tags to the way:

  • boundary=administrative
  • admin_level=2
  • border_type=nation

josm edit borders

Note: frequently when a border follows a river, there's usually a separate way for the boundary, and one for the river. But in these cases, because the rivers and ridges are already part of the boundary relation, it seems okay to add boundary tags to the natural features themselves. There's some precedent here: https://help.openstreetmap.org/questions/7563/waterway-as-administrative-boundary-shared-way, and there are 39K examples of boundary=administrative combined with waterway=*, so I think that's good enough to proceed: https://taginfo.openstreetmap.org/tags/boundary=administrative#combinations

Sample edits/areas: #1 #2

@almccon
Copy link
Author

almccon commented Jul 13, 2016

Here are some areas I've spotted that need editing:

This is just from a quick pan around the map. There are probably more spots that we could find with a more thorough search.

@clhenrick
Copy link

clhenrick commented Aug 16, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment