For our TMS specs, we currently default to 24 zoom levels which I think I estimated earlier to more than cover the finest scale resolutions needed for Mars. However, this number should really be tied to a resolution, most likely, as the resolution of the zoom level is dependent of the size of the body.
Using the zoom_for_res function on some equirectangular projections
body name
iau code
zoom for 1.0 m
zoom for 0.001 m (1 mm)
sun
iau_2015_1010
22
32
mars
iau_2015_49910
14
24*
sun
iau_2015_100000510
5
15
Mars threw an error about possibly needing zoom level 25 but the auto policy for the zoom level strategy is probably saving it here.
The question I suppose is, should the TMS all just be defined to some high zoom level like 30 for margin (unlikely to have mm res for the sun any time soon) or say that each TMS should be defined down to some specified resolution like 1 mm, so many smaller bodies would end up with smaller tms specs.
I suspect it's just easier to add margin to all TMSs for now, but I see an easy path with the zoom_for_res function if we decide to change it
For our TMS specs, we currently default to 24 zoom levels which I think I estimated earlier to more than cover the finest scale resolutions needed for Mars. However, this number should really be tied to a resolution, most likely, as the resolution of the zoom level is dependent of the size of the body.
Using the zoom_for_res function on some equirectangular projections
Mars threw an error about possibly needing zoom level 25 but the auto policy for the zoom level strategy is probably saving it here.
The question I suppose is, should the TMS all just be defined to some high zoom level like 30 for margin (unlikely to have mm res for the sun any time soon) or say that each TMS should be defined down to some specified resolution like 1 mm, so many smaller bodies would end up with smaller tms specs.
I suspect it's just easier to add margin to all TMSs for now, but I see an easy path with the zoom_for_res function if we decide to change it