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

Serving 512px raster map tiles

Open msh100 opened this issue 2 years ago • 5 comments

From what I can tell from the documentation, this may not be possible, but if it is, any guidance would be welcome!

I would like to produce 512px raster map tiles. It appears the only way of doing this is setting @2x and dropping the zoom level however at this point you start to get strange effects and all the detail is on the wrong scale.

Today, is it possible to render these at the correct scale or would I need to stitch them together with other software?

msh100 avatar Mar 05 '22 08:03 msh100

https://github.com/maptiler/tileserver-gl/pull/495 is very relevant, I pulled and rebased and it works as I need it to

msh100 avatar Mar 05 '22 11:03 msh100

Maybe you could create a PR from your changes @msh100?

boldtrn avatar Jan 23 '23 08:01 boldtrn

Maybe you could create a PR from your changes @msh100?

Morning! I did nothing more than rebase these commits https://github.com/maptiler/tileserver-gl/pull/495/commits so I have nothing to really contribute

msh100 avatar Jan 23 '23 08:01 msh100

Hi @boldtrn,

We are also looking to support 512 pixel tiles, is there anything I can assist with here? Has this been reviewed/planned for merge into main?

Cheers

jefferypalmer avatar Feb 19 '23 02:02 jefferypalmer

@boldtrn and I discussed a bit in the slack channel https://osmus.slack.com/archives/C0436FK28C9/p1674463966244539

From my point of view, I think it make sense to support 512px tiles. From my own testing of the https://github.com/maptiler/tileserver-gl/pull/495 I think It could use a bit of reverse compatibility, like a regex for the old format urls. It also needs some work on the tilejson side. @boldtrn and I discussed possible having two tilejson enpoints, silimar to what tileserver does in their other products. https://api.maptiler.com/maps/basic-v2/{z}/{x}/{y}.png?key https://api.maptiler.com/maps/basic-v2/256/{z}/{x}/{y}.png?key

personally I feel like I would do the opposite of this. use the old url to continue to serve 265 tiles, while adding a new one for that supports specify tile size, like in the PR.

acalcutt avatar Feb 19 '23 04:02 acalcutt