[gdal-dev] Need some help understanding why this raster is so big

Brian mulcahy.brianp at gmail.com
Fri Mar 13 06:02:33 PDT 2020


Here is the gdalinfo output I am just re-projecting to 4326

Driver: VRT/Virtual Raster
Files: Depth (Max).vrt
       Depth (Max).Terrainredacted.tif
       Depth (Max). redacted .tif
Size is 309153, 277451
Coordinate System is:
PROJCS["USA_Contiguous_Albers_Equal_Area_Conic_USGS_version",
    GEOGCS["NAD83",
        DATUM["North_American_Datum_1983",
            SPHEROID["GRS 1980",6378137,298.2572221010042,
                AUTHORITY["EPSG","7019"]],
            AUTHORITY["EPSG","6269"]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433],
        AUTHORITY["EPSG","4269"]],
    PROJECTION["Albers_Conic_Equal_Area"],
    PARAMETER["standard_parallel_1",29.5],
    PARAMETER["standard_parallel_2",45.5],
    PARAMETER["latitude_of_center",23],
    PARAMETER["longitude_of_center",-96],
    PARAMETER["false_easting",0],
    PARAMETER["false_northing",0],
    UNIT["US survey foot",0.3048006096012192,
        AUTHORITY["EPSG","9003"]]]
Origin = (2771031.965285023674369,6437561.791629494167864)
Pixel Size = (3.000000000000000,-3.000000000000000)
Corner Coordinates:
Upper Left  ( 2771031.965, 6437561.792) ( 85d57'44.50"W, 40d16'21.58"N)
Lower Left  ( 2771031.965, 5605208.792) ( 86d16'11.82"W, 38d 1'16.13"N)
Upper Right ( 3698490.965, 6437561.792) ( 82d38'29.14"W, 39d57'46.13"N)
Lower Right ( 3698490.965, 5605208.792) ( 83d 2'54.73"W, 37d43'14.99"N)
Center      ( 3234761.465, 6021385.292) ( 84d28'47.64"W, 39d 0'18.59"N)
Band 1 Block=128x128 Type=Float32, ColorInterp=Gray
  Min=0.001 Max=96.054
  Minimum=0.001, Maximum=96.054, Mean=6.209, StdDev=10.756
  NoData Value=-9999
  Metadata:
    STATISTICS_MAXIMUM=96.0537109375
    STATISTICS_MEAN=6.2090953579112
    STATISTICS_MINIMUM=0.0009765625
    STATISTICS_STDDEV=10.756049212573

On Fri, Mar 13, 2020 at 8:53 AM Michael Sumner <mdsumner at gmail.com> wrote:

> What is the source (and target) projection and extent? Some projections
> have expansive limits, but you can specify the target extent with -te
>
> HTH
>
> On Fri., 13 Mar. 2020, 23:43 Brian, <mulcahy.brianp at gmail.com> wrote:
>
>> Is it faster to do a gdal_warp with compression then without? Is it safe
>> to assume the drive write speed would be the limiting factor for speed in
>> this case?
>>
>> On Fri, Mar 13, 2020 at 8:33 AM CainĂ£ K. Campos <
>> rupestre.campos at gmail.com> wrote:
>>
>>> Hello Brian,
>>>
>>> Try to add the switch   -co "COMPRESS=LZW" to the command line to
>>> generate a compressed result with lossless compression.
>>>
>>> On Fri, Mar 13, 2020 at 9:07 AM Brian <mulcahy.brianp at gmail.com> wrote:
>>>
>>>> So compressed this raster is fairly small about 120mb but running
>>>> gdal_warp produces a raster that is about 416 gb, is this something this
>>>> list can help with? If so I can upload the file somewhere and let you
>>>> guys/gals take a look at it.
>>>> _______________________________________________
>>>> gdal-dev mailing list
>>>> gdal-dev at lists.osgeo.org
>>>> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>>>
>>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200313/cd7c13e6/attachment.html>


More information about the gdal-dev mailing list