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

Support a COG-based image mosaic store #112

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JakobMiksch
Copy link
Contributor

@JakobMiksch JakobMiksch commented Jan 25, 2023

  • adds function initCoverageStore
  • adds function addGranuleByRemoteFile
  • adapts function createImageMosaic
  • adds function doesGranuleExist
  • adds function enableTimeCoverageForCogLayer
    • somehow enableing time for a COG-based image mosaic does not work the same way as for a classic image mosaic
  • switches GeoServer image for testing from meggsimum Docker image to official Docker image, because the COG extension does not seem to work properly with the meggsimum image. Adding three images in a row only applies the first and forgets the remaining ones. With the official GeoServer image the same process works:
    await grc.imagemosaics.addGranuleByRemoteFile(nsPrefix, coverageStore, 'http://nginx/cog/20220101T0200Z.tif');
    await grc.imagemosaics.addGranuleByRemoteFile(nsPrefix, coverageStore, 'http://nginx/cog/20220101T0300Z.tif');
    await grc.imagemosaics.addGranuleByRemoteFile(nsPrefix, coverageStore, 'http://nginx/cog/20220101T0400Z.tif');
  • add sample COG data and mosaic store config
  • move the Setting part of the tests to the very end, because it was messing up the other tests that were coming after it

TODO

  • maybe find better name for enableTimeCoverageForCogLayer
  • we have to wait until the offical GeoServer docker image has released version 2.22 see Upgrade GeoServer to 2.22.0 geoserver/docker#16 or we find a way to make the COG extension work with the meggsimum GeoServer image --> fixed meanwhile

src/imagemosaic.js Outdated Show resolved Hide resolved
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.

1 participant