有没有办法在openstreetmap.in上使用印度的地图而不是openstreetmap.org上的地图?

问题描述 投票:0回答:1

我想要印度政府提供的没有领土争议的印度地图(如openstreetmap.in所示)。是否有链接下载地图的pbf文件或一组指令以重叠地图中的图块?

https://wiki.openstreetmap.org/wiki/User:SomeoneElse/Ubuntu_1604_tileserver_load#Tile_server_pre-requisite_software

我已经使用这些说明来设置地图,而不是说明中提供的地图链接,我已经使用过这个

http://download.geofabrik.de/asia/india-latest.osm.pbf

此链接位于openstreetmap.in网站上,但该地图与openstreetmap.org上的地图相同。

maps openstreetmap
1个回答
1
投票

openstreetmap.in的渲染风格可以在这里找到:https://github.com/osmlab/india.tm2

他们对“争议边界”有特殊的渲染规则:

#admin,#boundaries-claimed["@relations"=~'.*"claimed_by":[ ]*"IN".*'] {
  opacity: 0.5;
  line-join: round;
  line-color: #446;
  [maritime=1] {
    // downplay boundaries that are over water
    line-color: @water;
  }
  // Countries
  [admin_level=2],#boundaries-claimed {
    line-width: 0.8;
    line-cap: round;
    [zoom>=4] { line-width: 1.2; }
    [zoom>=6] { line-width: 2; }
    [zoom>=8] { line-width: 4; }
    [disputed=1] { line-dasharray: 4,4; line-opacity:0.5}
  }
  // States / Provices / Subregions
  [admin_level>=3] {
    line-width: 0.3;
    line-dasharray: 10,3,3,3;
    [zoom>=6] { line-width: 1; }
    [zoom>=8] { line-width: 1.5; }
    [zoom>=12] { line-width: 2; }
  }
}

#boundaries-disputed["disputed_by"=~'.*IN.*'] {
  opacity: 1;
  line-join: round;
  line-color: @land;
  [maritime=1] {
    // downplay boundaries that are over water
    line-color: @water;
  }
  // Countries
  [admin_level=2] {
    line-width: 1;
    line-cap: round;
    [zoom>=4] { line-width: 1.5; }
    [zoom>=6] { line-width: 3; }
    [zoom>=8] { line-width: 5; }
  }
}
© www.soinside.com 2019 - 2024. All rights reserved.