Opened 14 years ago
Closed 13 years ago
#542 closed defect (wontfix)
[raster] raster2pgsql.py should not set regular_blocking to true when wildcard are used to load many rasters
Reported by: | pracine | Owned by: | pracine |
---|---|---|---|
Priority: | high | Milestone: | PostGIS 2.0.0 |
Component: | raster | Version: | master |
Keywords: | Cc: | mloskot |
Description
wildcard allow us to load many rasters and it is very usefull to be able to use them with the "-k 100x100" option but there is no garantee that those many rasters will result in a coverage following rules 3 and 5 of regular blocking:
3) The top left block must start at the top left corner of the extent.
5) The extent field must be a simple rectangle (non-rotated).
It might be very difficult to verify those conditions so it might be better to set regular_blocking to FALSE when using wild card.
I saw that it is also impossible to use -k when two -r options are used. Again the rule should be that we can use -k but because there is many rasters we can not assume they will end up in a coverage following regular_blocking.
Change History (6)
comment:1 by , 14 years ago
Milestone: | WKTRaster 0.1.6 → PostGIS 2.0.0 |
---|
comment:2 by , 14 years ago
Summary: | [wktraster] gdal2wktraster.py should not set regular_blocking to true when wildcard are used to load many rasters → [raster] gdal2wktraster.py should not set regular_blocking to true when wildcard are used to load many rasters |
---|
comment:3 by , 14 years ago
comment:4 by , 14 years ago
Summary: | [raster] gdal2wktraster.py should not set regular_blocking to true when wildcard are used to load many rasters → [raster] raster2pgsql.py should not set regular_blocking to true when wildcard are used to load many rasters |
---|
comment:5 by , 13 years ago
Owner: | changed from | to
---|
comment:6 by , 13 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
As regular_blocking is now an "informational" constraint explicitly set by the user, no reason for the software to make the decision.
-Same problem when we use the -a option to append tiles to an existing table.