[gdal-dev] GDAL/OGR 1.6.0 Release Candidate 2

Stephen Woodbridge woodbri at swoodbridge.com
Mon Dec 1 16:00:38 EST 2008


Frank Warmerdam wrote:
> Folks,
> 
> There have been a few noteworthy errors identified and corrected since
> RC1 was issued.  So I've decided to retract it and prepare an RC2.  RC2
> is available at:
> 
>  http://download.osgeo.org/gdal/gdal160RC2.zip - source as a zip
>  http://download.osgeo.org/gdal/gdal-1.6.0RC2.tar.gz - source as .tar.gz
> 
> On behalf of the GDAL project, I request everyone interested in a high
> quality final release do some quick verification of this candidate release.
> Depending on immediate feedback, I will call for a PSC vote promoting 
> this as
> a final release on Monday (which would take till Wednesday to complete).
> 
> Very detailed release news is available at:
> 
>  http://trac.osgeo.org/gdal/wiki/Release/1.6.0-News
> 
> Best regards,

Frank,

I just checked RC2 this against the jp2 problem we have been struggling 
with. I believe the patch you made or this is in RC1 and RC2. See below.

When I added your patch, I also added some additional CPLDebug(...) 
statements, but what was interesting is that they did NOT appear in the 
output. This made me concerned that the patched code was NOT getting 
executed. So for this build we cleaned off all the old versions and 
build and installed RC2 from scratch. You never commented on my 
questions/concerns on this point in earlier email, but I'm wondering if 
my issues below could be a case where it is executing a different path 
through the code that does not hit your patch and might also need to be 
patched.

Regardless, I thought I should report against RC2 so you have that 
information.

Thanks,
   -Steve

[swoodbridge at booboo tif-test]$ cat test-it
rm -f out.tif
GDAL_SKIP=JPEG2000 gdalwarp -srcnodata 0 -dstnodata 0 -s_srs 
+init=epsg:26915 -t_srs EPSG:4326 -te -93.5 43.8125 -93.4375 43.875 -rb 
-wm 250 --config GDAL_ONE_BIG_READ ON -co "TILED=YES" --debug on tmp.vrt 
out.tif


[swoodbridge at booboo tif-test]$ ls -al /usr/local/bin/gdalwarp
-rwxr-xr-x  1 root root 96458 Dec  1 18:42 /usr/local/bin/gdalwarp
[swoodbridge at booboo tif-test]$ ./test-it
MrSID: Opened zoom level 1 with size 18005x24724.

MrSID: Opened zoom level 2 with size 9003x12362.

MrSID: Opened zoom level 3 with size 4502x6181.

MrSID: Opened zoom level 4 with size 2251x3091.

MrSID: Opened zoom level 5 with size 1126x1546.

MrSID: Opened zoom level 6 with size 563x773.

MrSID: Opened zoom level 7 with size 282x387.

MrSID: Opened zoom level 8 with size 141x194.

MrSID: Opened zoom level 9 with size 71x97.

MrSID: Opened zoom level 10 with size 36x49.

MrSID: Opened zoom level 0 with size 36010x49447.

MrSID: Opened image: width 36010, height 49447, bands 4
GDAL: 
GDALOpen(/var/data/raw_data/minnesota/ortho_1-1_1m_j_mn161_2008_1.aux, 
this=0x9bf4190) succeeds as HFA.
GDAL: 
GDALClose(/var/data/raw_data/minnesota/ortho_1-1_1m_j_mn161_2008_1.aux, 
this=0x9bf4190)
GDAL: 
GDALOpen(/var/data/raw_data/minnesota/ortho_1-1_1m_j_mn161_2008_1.jp2, 
this=0x9b414c8) succeeds as JP2MrSID.
GDAL: GDALOpen(tmp.vrt, this=0x9b40ff0) succeeds as VRT.
OGRCT: Source: +proj=utm +zone=15 +ellps=GRS80 +datum=NAD83 +units=m 
+no_defs
OGRCT: Target: +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs
OGRCT: Source: +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs
OGRCT: Target: +proj=utm +zone=15 +ellps=GRS80 +datum=NAD83 +units=m 
+no_defs
GDAL: GDALClose(tmp.vrt, this=0x9b40ff0)
GDAL: GDALClose(, this=0x9be6608)
GDAL: GDALClose(, this=0x9ba51a0)
GDAL: GDALClose(, this=0x9be6c58)
GDAL: GDALClose(, this=0x9be74d0)
GDAL: GDALClose(, this=0x9be7d48)
GDAL: GDALClose(, this=0x9be85c0)
GDAL: GDALClose(, this=0x9be8e38)
GDAL: GDALClose(, this=0x9be96b0)
GDAL: GDALClose(, this=0x9be9f28)
GDAL: GDALClose(, this=0x9bea7a0)
GDAL: 
GDALClose(/var/data/raw_data/minnesota/ortho_1-1_1m_j_mn161_2008_1.jp2, 
this=0x9b414c8)
Creating output file that is 6029P x 6029L.
GDAL: GDALDriver::Create(GTiff,out.tif,6029,6029,3,Byte,0x9b39560)
MrSID: Opened zoom level 1 with size 18005x24724.

MrSID: Opened zoom level 2 with size 9003x12362.

MrSID: Opened zoom level 3 with size 4502x6181.

MrSID: Opened zoom level 4 with size 2251x3091.

MrSID: Opened zoom level 5 with size 1126x1546.

MrSID: Opened zoom level 6 with size 563x773.

MrSID: Opened zoom level 7 with size 282x387.

MrSID: Opened zoom level 8 with size 141x194.

MrSID: Opened zoom level 9 with size 71x97.

MrSID: Opened zoom level 10 with size 36x49.

MrSID: Opened zoom level 0 with size 36010x49447.

MrSID: Opened image: width 36010, height 49447, bands 4
GDAL: 
GDALOpen(/var/data/raw_data/minnesota/ortho_1-1_1m_j_mn161_2008_1.aux, 
this=0x9bf4d68) succeeds as HFA.
GDAL: 
GDALClose(/var/data/raw_data/minnesota/ortho_1-1_1m_j_mn161_2008_1.aux, 
this=0x9bf4d68)
GDAL: 
GDALOpen(/var/data/raw_data/minnesota/ortho_1-1_1m_j_mn161_2008_1.jp2, 
this=0x9b9d350) succeeds as JP2MrSID.
GDAL: GDALOpen(tmp.vrt, this=0x9b9cfd8) succeeds as VRT.
Processing input file tmp.vrt.
OGRCT: Source: +proj=utm +zone=15 +ellps=GRS80 +datum=NAD83 +units=m 
+no_defs
OGRCT: Target: +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs
OGRCT: Source: +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs
OGRCT: Target: +proj=utm +zone=15 +ellps=GRS80 +datum=NAD83 +units=m 
+no_defs
MrSID: RasterIO() - using optimized dataset level IO.
MrSID: Dataset:IRasterIO(25432,42149 5066x6973 -> 5066x6973 -> 
5066x6973, zoom=1)
gdalwarp: ../compressed/compressed.cpp:1724: bool 
kd_tile::read_tile_part_header(): Assertion `tpart_body_length >= 0' failed.
./test-it: line 12: 25032 Aborted                 GDAL_SKIP=JPEG2000 
gdalwarp -srcnodata 0 -dstnodata 0 -s_srs +init=epsg:26915 -t_srs 
EPSG:4326 -te -93.5 43.8125 -93.4375 43.875 -rb -wm 250 --config 
GDAL_ONE_BIG_READ ON -co "TILED=YES" --debug on tmp.vrt out.tif
[swoodbridge at booboo tif-test]$ ls -lh 
/var/data/raw_data/minnesota/ortho_1-1_1m_j_mn161_2008_1.jp2
-rw-rw-r--  1 dallen users 342M Oct 20 16:49 
/var/data/raw_data/minnesota/ortho_1-1_1m_j_mn161_2008_1.jp2


More information about the gdal-dev mailing list