WorldWideTelescope / toasty

Break large images into "tile pyramids", with a focus on the all-sky TOAST format.
https://toasty.readthedocs.io/
MIT License
0 stars 4 forks source link

tile-wwtl writes a local file path in index_rel.wtml and not a relative directory tree #56

Closed astrodavid10 closed 3 years ago

astrodavid10 commented 3 years ago

The function tile-wwtl writes a local file path to the resulting index_rel.wtml and not a relative directory tree. This breaks the preview function.

I looked into the code a bit and I'm not yet sure where this gets written, but am happy to fix if there are suggestions of where to poke further.

i.e. - Should be Url="{1}/{3}/{3}_{2}.png"

pkgw commented 3 years ago

Do you have an example WWTL file that causes this? If the URL field has a bad path, I'm not quite sure how that would happen.

astrodavid10 commented 3 years ago

3C196.zip Here's an example with the example image. 3C_196.zip

pkgw commented 3 years ago

OK, I think I've fixed this. I'll issue a new release of toasty soon.