These are chat archives for openseadragon/openseadragon

2nd
Aug 2018
Benjamin Pirih
@bpirih_gitlab
Aug 02 2018 17:12
Greetings all.. can someone help me out with some questions regarding developing an openseadragon application..
Benjamin Pirih
@bpirih_gitlab
Aug 02 2018 17:32
when I am defining a tileSources the parameters height and width are to be provided.. can someone explain how I calculate those numbers please..
Ian Gilman
@iangilman
Aug 02 2018 18:33
@bpirih_gitlab I can help! What sort of image are you using?
(What format, like DZI or something else?)
Benjamin Pirih
@bpirih_gitlab
Aug 02 2018 18:43
thanks Ian..
i'm using a tiledmapservice we are using gdal2tiles to generate this.
believe something is wrong cause i'm getting console errors about missing files .. 0/1/0.png I don't quite understand this as my my root 0 folder doesn't contain a /1/ directory..
my /0/ directory only contains a single /0/ folder with an image called 0.png
Benjamin Pirih
@bpirih_gitlab
Aug 02 2018 18:57
sorry hopefully that made some sense.. ?
Benjamin Pirih
@bpirih_gitlab
Aug 02 2018 20:11
sorry would you mind just explain how one should calc the height and width values when using a tiledmapservice..
Ian Gilman
@iangilman
Aug 02 2018 22:38
@bpirih_gitlab I assume you're starting with the example here? http://openseadragon.github.io/examples/tilesource-tms/
(Unfortunately the files that example points to are no longer onlineā€¦ We still need to find some new data to point to)
unfortunately I don't know that much about TMS, so I don't know how you're supposed to calculate the width and height (if it's different from the numbers used in the example there).
Do you have any other directories besides the 0 folder? How big is your 0.png?
How big is your original, for that matter?
What other files does gdal2tiles produce besides the PNG?