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

Hi,

I have setup my own tile server and rendered India Map. I want to remove admin boundary. It was suggested in a post that you can achieve this by deleting admin borders from postgresql map database.

Can somebody help and tell me what do I need to do to remove admin boundary from the map I am rendering from my server.

asked 28 Nov '18, 13:01

Reshma%20Maner's gravatar image

Reshma Maner
235303136
accept rate: 0%


You should look at the corresponding layer configuration in the osm-carto style (see https://github.com/gravitystorm/openstreetmap-carto/blob/master/project.mml#L1140 and https://github.com/gravitystorm/openstreetmap-carto/blob/master/admin.mss) (if you are using that) and either remove the corresponding data from the database (not something that I would recommend), or simply remove/disable the corresponding layer configuration in the style (you could then add a border layer from another source for example).

permanent link

answered 30 Nov '18, 13:15

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 30 Nov '18, 13:18

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:

×129

question asked: 28 Nov '18, 13:01

question was seen: 1,183 times

last updated: 30 Nov '18, 13:18

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