maptiler / tileserver-php

MBTiles and MapTiler folder hosting with TileJSON, OGC WMTS, UTFGrid interaction and web interface. QGIS & ESRI ArcGIS compatible. Runs on any Apache+PHP webhosting. MapBox Studio Vector Tiles hosting.
http://tileserver.maptiler.com/
568 stars 163 forks source link

wmts problem with arcmap #154

Open mtabdar opened 4 years ago

mtabdar commented 4 years ago

hi, my problem is exactly the same as mentioned in issue 87 about not showing tiles but zooming to the correct extent etc. with the difference that i can see just one of the layers i'm trying to use local tileserver-php to serve pre-rendered tiles in arcmap 10.6. it is done successfully for one of my tile layers which has a folder structure like "country-raster/{z}/{x}/{y}.png" and placed beside tileserver.php but cannot get it done for other layers such as a folder structure "sample/os{x}{y}_{z}.png" or different .mbtiles or just metadata.json i think metadata.json files are ok because i can work with maps in web page with no problem. i know there are two other issues regarding arcmap here and i tried @daliborjanak suggestion in issue 87 https://github.com/maptiler/tileserver-php/issues/87# with no success.

mtabdar commented 4 years ago

in the previous comment sample/os{x}{y}{z}.png" is mis-typed it is sample/os{x}-underline-{y}-underline-{z}.png"

mtabdar commented 4 years ago

my further investigations show if i put tiles in folder/z/x/y.ext folder structure and this folder name match the folder name in tileserver main folder and the layer name in metadata.json be the same, tiles can be loaded in arcmap! i wonder why the "tile" parameter of metadata.json is not used in creating wmts xml and x/y/z is hard-coded there?