Here: https://github.com/splashblot/dronedb/commit/c74db8096278b0a92b21d4a1f147ab608a216cfb
This duplicate a raster properly, but only when a user actively does it from the dataset view or dataset list view. In case the user runs a query to select some raster data and wants to create a map with it we'll need to:
1- copy original table
2- create and re-project first overview (gdal)
3- create the rest of the overviews (postgis)
Here: https://github.com/splashblot/dronedb/commit/c74db8096278b0a92b21d4a1f147ab608a216cfb This duplicate a raster properly, but only when a user actively does it from the dataset view or dataset list view. In case the user runs a query to select some raster data and wants to create a map with it we'll need to: 1- copy original table 2- create and re-project first overview (gdal) 3- create the rest of the overviews (postgis)