NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi,

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
235303136
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 shapefile 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 ♦
44.7k13326701
accept rate: 18%

edited 19 Jul '18, 13:26

don't use any borders directly from OSM by disabling the entry in your style

Can you help me how to implement this? Which file exactly to modify?

(19 Jul '18, 12:33) Reshma Maner

Which style are you currently using?

(19 Jul '18, 13:27) SimonPoole ♦
1

GIven your other question you probably want to read this post by PlaneMad: https://www.openstreetmap.org/user/PlaneMad/diary/38176.

There are also multiple other questions on this site relating to Jammu and Kashmir. Most of the answers are still applicable and may be of help to you.

(19 Jul '18, 18:36) SK53 ♦

Follow this question

By Email:

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

By RSS:

Answers

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:

×92

question asked: 12 Jul '17, 10:21

question was seen: 2,585 times

last updated: 19 Jul '18, 18:36

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum