Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ol.source.IIP, tests and example #6582

Closed
wants to merge 14 commits into from
Closed

add ol.source.IIP, tests and example #6582

wants to merge 14 commits into from

Conversation

thhomas
Copy link
Contributor

@thhomas thhomas commented Mar 10, 2017

Related to #6165

@ahocevar
Copy link
Member

If this is so similar to Zoomify, wouldn't it make sense to make Zoomify more flexible to also support IIP, and maybe call it DeepZoom instead?

@thhomas
Copy link
Contributor Author

thhomas commented Sep 1, 2017

As you can read on the IIPImage server page IIP, IIIFZoomify, DeepZoom seems to be different protocols (even if quite similar).
Basically, we would just need to change the createFromTemplate function to adapt to IIP url with template &JTL={z},{tileIndex}

@ahocevar
Copy link
Member

ahocevar commented Sep 2, 2017

Cool. We'd accept a pull request that adds a {tileIndex} placeholder to ol.source.Zoomify. Then you could use a configuration like this to get images from your server:

new ol.source.Zoomify({
  url: 'http://vips.vtech.fr/cgi-bin/iipsrv.fcgi?FIF=/mnt/MD1/AD00/plan_CHU-4HD-01/FOND.TIF&WID=256&JTL={z},{tileIndex}',
  // ...
});

If you create such a pull request, please make sure to add appropriate documentation to mention the new supported protocol and how to use it.

@thhomas
Copy link
Contributor Author

thhomas commented Sep 5, 2017

moved to #7221

@thhomas thhomas closed this Sep 5, 2017
@thhomas thhomas deleted the iip-source branch October 3, 2017 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants