Hello OGF community! My country is in development and I am planning administrative divisions. When dealing with the traditional editor it is a bit complex, but I feel that with JOSM they can be done more easily. I await your opinion on how to create them.
Discussion
Comment from mstr on 31 March 2019 at 14:02
How to create them? You draw lines along the border and split it where it meets another border line. After that, you create for each division a relation with all borders included and standard tags for administrative boundaries.
Comment from Infrarrojo on 31 March 2019 at 18:28
Hi! I’m willing to help out because I had a lot of difficulties doing it myself. You are right, they are far easier in JOSM.
First you will want to download your entire country, or at least download the part that you want to make administrative divisions for. (the keybind is Ctrl+Shift+Down Arrow on Windows)
Next, you’ll want to create the lines that you want your divisions will follow, and make sure they connect. Split your outer boundary lines (with keybind P on Windows) wherever they meet with your administrative divisions.
Select all of the areas that will be surrounding your administrative division and click the gear with a plus icon in the center right “Relations” tab. In the top left of “Selection”, click on the top one which should force all your lines into a relation.
Next, you need to tag the relations.
You need these tags to render a county:
admin_level = 4 boundary = administrative name = (name) type = boundary
Then, select all the outer lines on the bottom and enter outer in the Apply Role box, then click check to apply the outer role. If you want an administrative division inside another one, like I did with my capital, simply apply inner to the administrative division in your surrounding relation and apply outer in the area’s own relation.
If everything has succeeded, the lines should turn into orange dashes.
Replicate this for all your other counties.
Some tips: If you want a boundary to follow a river attach one node while drawing your line then hold down “F” until your river is sufficiently followed.
If you have any questions or if I didn’t cover everything, either comment here or send me a private message. I’m by no means an expert but I made it work.
Good Luck! Infrarrojo
Comment from Infrarrojo on 31 March 2019 at 22:32
I should have mentioned that yes, downloading your country is slow and will take some time. There is no faster way around it, at least as far as I know.
Comment from LemonKing on 1 April 2019 at 10:49
https://wiki.opengeofiction.net/wiki/index.php/OGF:Administrative_boundaries
Comment from admin on 1 April 2019 at 11:14
“Recommended for advanced users only” being a very important statement. That is because if you make mistakes there is a high probability that you then cause a continent flood.
If you are not already experienced with relations, then please do not make administrative boundaries.
Gain familiarity with relations first.
Comment from LemonKing on 2 April 2019 at 07:37
Experimenting with boundary relations is safe if you create a closed environment with no contact to coastlines or international boundaries. You could e.g. create a region in the middle of your country and divide it into municipalities to see how multiple level relations work.
Here’s some tips to get started.
Comment from wangi on 2 April 2019 at 13:21
People mess up the coastline all the time in their attempts to create administrative relations. As the main person fixing the coastline i’m all too aware of it.
They should not be going anywhere near them until they are very familiar with using relations for landuse, for natural=water, for buildings…