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

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

Open hoogw opened this issue 3 years ago • 1 comments

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 avatar Feb 15 '22 17:02 hoogw

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.

hoogw avatar Feb 15 '22 18:02 hoogw