[Bugfix] - Importing an area defined by a Quadkey results in more data than requested
When importing tiled exposure data for a master tile defined by a master Quadkey, the master Quadkey is translated into a bounding box which is used as the import_area
parameter in the import_from_postgis
function to import the sub-tiles. This causes more tiles to be selected likely due to floating point inaccuracies. The figure below shows the problem. Only the highlighted tiles were supposed to be exported, but additional tiles on the top and left side were added:
This problem can be solved by additionally providing the master Quadkey as parameter to the import_from_postgis
function and extend the queries to additionally filter for the master Quadkey.