Hi, > I'm trying to find a way to append data to an existing geopackage raster > layer using GDAL. > > The specific case is to use different sources (or different configurations > of a source like WMS) at different zoom levels, but extending an existing > table at the same zoom might also be useful. > > As an example, consider a rendered map (like a OSM bright or humanitarian > style), where the level of detail you want at level 12 is different to level > 8 or 15. > I can easily create a table at level 12, and add overviews, but the > overviews are just the same data made smaller. Instead, I want to render it > differently at each zoom level.
you can do that with "gdalwarp yoursource existing.gpkg -doo ZOOM_LEVEL=xxx" This will insert the data at the requested zoom level. > > I tried using APPEND_DATASET, which does work for a new table, but not for > adding data to an existing table: Yes, APPEND_SUBDATASET is to add new raster tables. Even -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev