AndrewAnnex / planetcantile

tile matrix sets for other planets
BSD 3-Clause "New" or "Revised" License
9 stars 1 forks source link

avoid computing extents at all and just define as lonlat, use 512 blo… #8

Closed AndrewAnnex closed 1 year ago

AndrewAnnex commented 1 year ago

…ck sizes to align with rio-cogeo

I think transform bounds was having issues so dropped it all together and got more realistic tiles coordinates, I think, for most projections. Will need to do something else for the polar projections

AndrewAnnex commented 1 year ago

seems to be working with poles correctly now. Screen shots are using the grids for 49930 and 49935 (north and south polar stereographic projections) to make a north and south image from MOLA. The first image has the project CRS set to 49935 and the second is set to 49930. The images look low res primarily because I first downsampled the data to 10km pixels and then only use the first zoom level in generating the cogs. See attached zip file if curious

that said this should still be validated a bit more. it's weird to me that the axis of the prime meridian sort of flips to being above or below the center of the image depending on the projection... but things are at least self consistent.

image image

mola_poles_proofofconcept.zip