ImagePyramid properties file

Hi, I am trying to build a wmts service using ImagePyramid.
Data is downloaded from https://geoservices.ign.fr/planign, where index.shp is shipped, but it says nothing about .properties file.

The only documentation I am finding related to this data store kind is Building and using an image pyramid — GeoServer 2.28.x User Manual , which shows how to build the tiles dir out of a .tif file using gdal_retile but I understand my case is different, I have the tiles dir already.

My questions is about the properties file the root dir must have. Exactly, what should it describe?
Do each of the subdir containing tile leves also contain a properties file? and an index.shp?

Any hint for having success using ImagePyramid will be highly appreciated.

Thanks,

Kind regards

Hi,

a pyramid in GeoServer is a directory containing a property file indeed, with sub-directories containing image mosaics, which are not just images, but also the shapefile, properties, sample image of the mosaic.

The shapefiles shared in those 7z are not directly usable, I would ignore them.

Instead, try the following:

  • Collect all images at the same zoom level in a folder with just a numeric name, e.g. 9, 10, 11 and so on
  • Put all those folders as sub-folders of a single parent folder
  • Point the image mosaic store to that directory, and see if it can create all the metadata files for you

I’m not sure it will work, image pyramid has been created to handle the output of gdal_retile, it may be assuming that the sub-folders are named 0, 1, 2 and so on.

And oh, also, normally in gdal_retile 0 is the native resolution, 1 is the first overview, and so on, here the levels are numbered in the opposite direction instead (like a tile caching gridset).

Cheers
Andrea