Skip to content

Custom TMS for MosaicJSON endpoints #518

Answered by vincentsarago
kristhjo asked this question in Q&A
Discussion options

You must be logged in to vote

@kristhjo Sadly create MosaicJSON in other TMS is quite complex (cogeo-mosaic won't support it because of https://github.com/developmentseed/cogeo-mosaic/blob/main/cogeo_mosaic/mosaic.py#L138-L145).

As for the Reader part, none of the default Backends will support non WebMercator TMS https://github.com/developmentseed/cogeo-mosaic/blob/main/cogeo_mosaic/backends/base.py#L64

The easiest way to use non Webmercator for Mosaic is to use titiler-pgstact (https://github.com/stac-utils/titiler-pgstac/blob/master/titiler/pgstac/mosaic.py#L93-L103) or to create a Custom Backend (if you find a way to create a MosaicJSON)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@kristhjo
Comment options

@vincentsarago
Comment options

Answer selected by kristhjo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants