mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-23 16:42:35 +00:00
Fixed dimension error of bands when using ST_Tile on out-db rasters.
Ticket #2198 git-svn-id: http://svn.osgeo.org/postgis/trunk@11079 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
899d874852
commit
d4416b32f2
2
NEWS
2
NEWS
|
@ -140,6 +140,8 @@ PostGIS 2.1.0
|
|||
- #2182, Fix issue with outdb rasters with no SRID and ST_Resize
|
||||
- #2188, Fix function parameter value overflow that caused problems
|
||||
when copying data from a GDAL dataset
|
||||
- #2198, Fix incorrect dimensions used when generating bands of out-db
|
||||
rasters in ST_Tile()
|
||||
|
||||
PostGIS 2.0.3
|
||||
2013/MM/DD
|
||||
|
|
|
@ -1587,7 +1587,6 @@ rt_band_load_offline_data(rt_band band) {
|
|||
double gt[6] = {0.};
|
||||
double ogt[6] = {0.};
|
||||
double offset[2] = {0};
|
||||
int i = 0;
|
||||
|
||||
rt_raster _rast = NULL;
|
||||
rt_band _band = NULL;
|
||||
|
|
|
@ -5825,7 +5825,7 @@ Datum RASTER_tile(PG_FUNCTION_ARGS)
|
|||
rt_band_get_ext_band_num(_band, &bandnum);
|
||||
|
||||
band = rt_band_new_offline(
|
||||
arg2->raster.width, arg2->raster.height,
|
||||
width, height,
|
||||
pixtype,
|
||||
hasnodata, nodataval,
|
||||
bandnum, rt_band_get_ext_path(_band)
|
||||
|
|
Loading…
Reference in a new issue