GGD-OpenSpaceNet
GGD-OpenSpaceNet copied to clipboard
TMS/XYZ fails if non-default bounds are set in tile.json.
Using a tile.json with "bounds" such as:
{
"tiles": "https://s3.amazonaws.com/deepcore-public/images/ATL_TMS/{z}/{x}/{y}.png",
"name": "ATL_Airport_Tiles",
"minzoom": "17",
"maxzoom": "19",
"tilejson": "2.1.0",
"scheme": "tms",
"bounds": [ -84.44117546081544, 33.63652538928871, -84.42211924272648, 33.64431470837889 ]
}
When it is used for detection with the following command:
../bin/OpenSpaceNet detect --service tile-json --use-tiles
--url https://s3.amazonaws.com/deepcore-public/images/ATL_TMS/tile.json
--output tms_nofilter/detection.shp
--bbox -84.44117546081544 33.63652538928871 -84.42211924272648 33.64431470837889
--zoom 18 --model ../data/airplane.gbdxm
You get: 404 Not Found returned from https://s3.amazonaws.com/deepcore-public/images/ATL_TMS/18/13/262137.png
It is trying to access a tile that is wrong and does not exist.