2

I have set up Image Mosaic to load GeoTIFF images from a directory and it is all good but when I add more GeoTIFF files to the directory they do not show up in the mosaic unless I recreate it.

Is there a way to configure Image Mosaic to pick them up automatically?

2 Answers 2

3

The image mosaic plugin holds the information about the tiles/images in an index which is either a shapefile or a database. To make the new images show up you need to update the index. This is tricky if you are using the default shapefile but easy if you are using postgis.

For postgis you just issue an SQL insert statement with the name, location and bounds of the new images (check the existing table to show you what the column order is).

2

In the latest versions of GeoServer you can use the REST api to ingest additional granules.

ImageMosaic would not pick up new images automatically, but you could use the REST api to automate this. You can check this link for additional information.

Your Answer

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

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