tileserver-php icon indicating copy to clipboard operation
tileserver-php copied to clipboard

wmts problem with arcmap

Open mtabdar opened this issue 5 years ago • 2 comments

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 avatar Sep 02 '20 19:09 mtabdar

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

mtabdar avatar Sep 02 '20 19:09 mtabdar

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?

mtabdar avatar Sep 06 '20 11:09 mtabdar