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

JSON metadata file is not valid. Please check configuration of your server. #164

Open hoogw opened 2 years ago

hoogw commented 2 years ago

JSON metadata file is not valid. Please check configuration of your server.

I have many mbtiles works fine. but only this one cause php server-crash.

I know it is index.json wrong, mayb double quote somewhere.

But how to fix this index.json issue?

Screen Shot 2022-02-15 at 9 25 07 AM

Can't attache file here because it is 5GB too large.

hoogw commented 2 years ago

I found solution:

problem tpk is generated from this workflow, which is not working:

step 1: create tile cache by ArcPro > view > arcToolbox > data management tool > Tile cache > management tile cache this create a tile cache folder

step 2: export tile cache foler to tpk file. ArcPro > view > arcToolbox > data management tool > Tile cache > export tile cache choose tpk format

solution: instead of problem workflow, you should directly generate tpk by ArcPro > view > arcToolbox > data management tool > package > create map tile package

directly generated tpk file works fine.

DO not close yet, I still don't know how to fix problem mbtiles? Even I have work around.