[Talk-TW] 將國土測繪中心OpenData版地圖加入iD

Rex Tsai rex.cc.tsai於gmail.com
Mon 7月 18 06:00:56 UTC 2016


看了 WMTS API[1] 的 bounding box,沒有正確設定[2]。
我建議區域應該包含所有有效圖磚。

看起來區域是
27 115.3
-85 120

[1] http://maps.nlsc.gov.tw/S_Maps/wmts
[2]
<Layer>
<ows:Title>臺灣通用電子地圖(套疊等高線)opendata</ows:Title>
<ows:Identifier>EMAP5_OPENDATA</ows:Identifier>
<ows:BoundingBox crs="urn:ogc:def:crs:EPSG::3857">
<ows:LowerCorner>1.2857401186623102E7 2213892.182859725</ows:LowerCorner>
<ows:UpperCorner>1.3914936349159202E7 3123471.7491045767</ows:UpperCorner>
</ows:BoundingBox>
<Style isDefault="true">
<ows:Title>Default Style</ows:Title>
<ows:Identifier>default</ows:Identifier>
</Style>
<Format>image/jpeg</Format>
<TileMatrixSetLink>
<TileMatrixSet>GoogleMapsCompatible</TileMatrixSet>
</TileMatrixSetLink>
<ResourceURL format="image/jpeg" resourceType="tile"
template="http://maps.nlsc.gov.tw/S_Maps/wmts/EMAP5_OPENDATA/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}"/>
</Layer>

Cheers
-Rex

在 2016年7月13日 下午7:15,Dennis Raylin Chen <b92612009 at gmail.com> 寫道:
> 各位好:
>
> 我打算將國土測繪中心OpenData版本地圖加到iD的圖層選單裡,由於需要用GeoJson限定地圖有效範圍
> 各位覺得有效地理範圍需要包到地圖上有的釣魚臺或東沙嗎?
>
> http://bl.ocks.org/anonymous/raw/acedbc3462dca96a16c17f16d1170c63/
>
> Dennis
>
> _______________________________________________
> Talk-TW mailing list
> Talk-TW at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-tw
>


More information about the Talk-TW mailing list