hipspy / hips

Python library to handle HiPS
https://hips.readthedocs.io
12 stars 16 forks source link

Incorrect corner order of HiPS during stitching #74

Closed adl1995 closed 7 years ago

adl1995 commented 7 years ago

This issue relates with incorrect order for HiPS tiles, this leads to incorrect stitching of tiles. The notebook related with this can be found here (https://github.com/adl1995/HIPS-to-Py/blob/master/examples/JPG_tile_draw_issue.ipynb).

cdeil commented 7 years ago

Related issue with infos from Thomas: #18

cdeil commented 7 years ago

I think I found the origin of the tile corner order issue. with JPG and PNG, the tile images are flipped in the y direction. See Figure 6 in http://www.ivoa.net/documents/HiPS/20160623/WD-HiPS-1.0-20160623.pdf

I'll make a PR today.

cdeil commented 7 years ago

Fixed in #78