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 '21, 08:57 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. answered 23 Aug '21, 09:34 SimonPoole ♦ TZorn 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 '21, 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 '21, 06:55)
ChenCogn
|
How can we do it with osm2pgsql? there is guide for changing the imposm style ? answered 26 Aug '21, 15:01 ChenCogn 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 '21, 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 '21, 09:24)
Spiekerooger
|
How can we do it with osm2pgsql? there is guide for changing the imposm style ?