I have a local OSM map server setup using ModTile and Renderd. I have two requirements:

  1. How to edit the administrative boundaries of a country?
  2. How can I change color of boundary?

asked 12 Jul '17, 10:21

Reshma%20Maner's gravatar image

Reshma Maner
accept rate: 0%

There are a number of ways that I can think of to do what you want, plus more that I haven't though of:

  • don't use any borders directly from OSM by disabling the entry in your style, extract the boundaries from your DB in to, say a .SHP file, edit with QGIS, add shapwfile as a separate layer to the style, with whatever styling your want.
  • just replace the border in question by not rendering it specifically (modify the query in the style), and then add a modified boundary as above (note: this will be a bit wobbly as OSM IDs are not stable, and will likely be ugly as other borders will not match up)

Changing the colour requires changing the style for the specific border.

As said there are probably other ways of doing this, but as you can see, none of them are likely to be super simple.

permanent link

answered 13 Jul '17, 09:39

SimonPoole's gravatar image

SimonPoole ♦
accept rate: 18%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 12 Jul '17, 10:21

question was seen: 344 times

last updated: 13 Jul '17, 09:39

powered by OSQA