I have hundreds of tifs I want to use as a data store on my Geoserver. So many that QGIS won't merge them for me. I heard some about .vrt but I never found a clear source of information on the matter. What would be the best route to get all of my tif files to behave as a single layer in Geoserver?

  • I think it might have been answered already here gis.stackexchange.com/questions/52367/…
    – Zipper1365
    Jan 19, 2018 at 2:04
  • The first answer just shows how to make a .vrt file which Geoserver won't accept, they are useful for working in QGIS or GDAL but not Geoserver. The second link shows how to load an ImageMosaic into Geoserver assuming you have an ImageMosaic file which as I said in the question I have tiff files. I'm thinking the answer would be to create an shapefile index of the directory containing the tiffs, how do I create said .shp file? I guess that would answer my question. Jan 19, 2018 at 20:22

1 Answer 1


Sounds like you'd want to use the image mosaic plugin: http://docs.geoserver.org/stable/en/user/data/raster/imagemosaic/index.html

The configuration of the mosaic can be scary, but if all you want is to merge all the images together visually, then put them in a directory and just point the GeoServer image mosaic at it with no other setups, it should self-configure.

Then you might find it's slow.... the files can be optimized one by one using command line tools, and you might decide to start showing the data only past a certain scale with a SLD scale dependency.

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.