Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#3861 closed defect (fixed)

Failed to allocate pabySrcMask error using gdalwarp

Reported by: racicot Owned by: warmerdam
Priority: normal Milestone:
Component: Algorithms Version: unspecified
Severity: normal Keywords:
Cc: aaronr@…

Description

When doing a gdalwarp from an image that had been run through nearblack I am getting the following...

GDAL warp command used:

gdalwarp --config GDAL_CACHEMAX 500 -co TILED=YES -dstalpha -r cubic -t_srs EPSG:4326 ortho_1-2_1n_s_wa047_2009_1_nb.tif ortho_1-2_1n_s_wa047_2009_1_4326.tif

Output from command:

Creating output file that is 121498P x 109290L.
Processing input file ortho_1-2_1n_s_wa047_2009_1_nb.tif.
0.ERROR 2: Failed to allocate pabySrcMask (0x4266) in GDALWarpSrcMaskMasker()

GDAL info for the original file:

aaronr@openbasemap:/mnt/z-raid6/gis/orthos/wa_2009_1m/11N/3$ gdalinfo ortho_1-2_1n_s_wa047_2009_1_nb.tif
Driver: GTiff/GeoTIFF
Files: ortho_1-2_1n_s_wa047_2009_1_nb.tif
       ortho_1-2_1n_s_wa047_2009_1_nb.tif.msk
Size is 92842, 129223
Coordinate System is:
PROJCS["NAD83 / UTM zone 11N",
    GEOGCS["NAD83",
        DATUM["North_American_Datum_1983",
            SPHEROID["GRS 1980",6378137,298.2572221010002,
                AUTHORITY["EPSG","7019"]],
            AUTHORITY["EPSG","6269"]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433],
        AUTHORITY["EPSG","4269"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",-117],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",0],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AUTHORITY["EPSG","26911"]]
Origin = (211158.000000000000000,5442103.000000000000000)
Pixel Size = (1.000000000000000,-1.000000000000000)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  (  211158.000, 5442103.000) (120d57'16.34"W, 49d 3'50.30"N)
Lower Left  (  211158.000, 5312880.000) (120d51'54.90"W, 47d54'14.89"N)
Upper Right (  304000.000, 5442103.000) (119d41' 6.89"W, 49d 6' 1.87"N)
Lower Right (  304000.000, 5312880.000) (119d37'28.26"W, 47d56'21.23"N)
Center      (  257579.000, 5377491.500) (120d16'55.56"W, 48d30'13.37"N)
Band 1 Block=256x256 Type=Byte, ColorInterp=Red
  Mask Flags: PER_DATASET 
Band 2 Block=256x256 Type=Byte, ColorInterp=Green
  Mask Flags: PER_DATASET 
Band 3 Block=256x256 Type=Byte, ColorInterp=Blue
  Mask Flags: PER_DATASET 

Change History (2)

comment:1 by Even Rouault, 13 years ago

Component: defaultAlgorithms
Milestone: 1.7.4
Resolution: fixed
Status: newclosed

Fixed in trunk (r21188) and in branches/1.7 (r21189)

comment:2 by Even Rouault, 11 years ago

Milestone: 1.7.4

Milestone 1.7.4 deleted

Note: See TracTickets for help on using tickets.