0

I have two sets of GeoTIFFs (or ArcGrids) one at 2m resolution and another at 1m.

I would like to merge the 1m on top of the 2m, coverage varies over the datasets as seen here for example:

2m coverage:

enter image description here

1m coverage:

enter image description here

In GeoServer I could create a layer group and have the 1m on top but it will still have to process both datasets i think.

gdal_merge could be an option but not sure what syntax for both source folders.

Is there another method I could use?

2
  • Would it be OK to have a 1 m resolution dataset that covers the whole area even some of the pixels comes from the 2 m data? That would waste space compared to the layer group solution.
    – user30184
    Jan 26, 2022 at 20:14
  • Dont you have access to the folders or what is the problem when you try gdal_merge?
    – BERA
    Jan 27, 2022 at 13:39

1 Answer 1

1

The layer groups seems the straightforward approach.

Another possibility is to setup an image mosaic, add an attribute in the index to indicate the resolution, and then force a sort on it with the parameters showing in the layer page. That would still make the code process both layers though, until some funding lands that allows jai-ext developers to address this ticket.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.