Hi, We encountered islands of Vietnam that are inside China's borders. We have OSM installed localy. How can we change our local map so the islands will be in Vietnam's borders? How can we change our local map labels text language to be in Vietnamese instead Chinese in those islands?

Thank you.

asked 23 Aug, 08:57

ChenCogn's gravatar image

ChenCogn
11112
accept rate: 0%

How can we do it with osm2pgsql? there is guide for changing the imposm style ?

(26 Aug, 09:14) ChenCogn

For the basic policy on such matters see https://wiki.osmfoundation.org/w/images/d/d8/DisputedTerritoriesInformation.pdf

If you have a local OSM database that you use for map rendering changing what is used for name rendering should be comparatively simple (use the name:vi tags instead of name for example). Changing the borders is slightly more involved but possible, but naturally the details depend strongly on what kind of setup you actually have.

permanent link

answered 23 Aug, 09:34

SimonPoole's gravatar image

SimonPoole ♦
42.9k13313677
accept rate: 19%

edited 23 Aug, 09:56

TZorn's gravatar image

TZorn
11.1k554204

The questions would seem to be outside of what is suitable for this site, I would suggest asking on imposm and nominatim spedific fora (I could help with osm2pgsql).

Just changing the name tags used should be a small thing (change the imposm style and maybe what is imported). Changing the borders is slightly more involved.

(25 Aug, 12:50) SimonPoole ♦

Thank you for the quick response. We are using Mapnik, Imposm and Nominatim as part of the package installation and deployment.

Are there guide regarding how to perform those changes?

How to use use the name:vi tags instead of name when searching? how to make it the default?

How can we change the titles both in en and vi?

How can we change the Borders using one of the Components that are installed?

Should we make the change using: DB data, local files, api?

(26 Aug, 06:55) ChenCogn

How can we do it with osm2pgsql? there is guide for changing the imposm style ?

permanent link

answered 26 Aug, 15:01

ChenCogn's gravatar image

ChenCogn
11112
accept rate: 0%

1

Name changes can be fairly straightforward using LUA. For distinct boundaries which are different from those in OSM, the approach taken by PlaneMad for India is probably what you need. I'll try & find the link & more info later today.

(26 Aug, 15:11) SK53 ♦
1

PlaneMads diary at https://www.openstreetmap.org/user/PlaneMad/diary/38176 describes it (in the middle). (So that you, SK53, won't have to search for the link.)

(27 Aug, 09:24) Spiekerooger
Your answer
toggle preview

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:

×6

question asked: 23 Aug, 08:57

question was seen: 346 times

last updated: 27 Aug, 09:27

powered by OSQA