help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDAL package error message at install


From: Lester Anderson
Subject: Re: GDAL package error message at install
Date: Wed, 20 Apr 2016 09:39:16 +0100

Hi Philip,

Thanks for the information about 4.0.1. Have installed the updated
version and output of rasterinfo.m seems to be ok, mainly looking for
the projection information:

Just a test output, does this look like the correct output for a
geotiff, with mapping 1.2.1 installed:

>> info = rasterinfo('Topo1.tif')
warning: your version of GraphicsMagick limits images to 8 bits per pixel
warning: called from
    imformats>default_formats at line 256 column 11
    imformats at line 79 column 3
    imageIO at line 106 column 11
    imfinfo at line 159 column 8
    rasterinfo at line 58 column 13
info =

  scalar structure containing the fields:

    Filename = Q:\geophys\Lester\Topo1.tif
    FileModDate = 20-Apr-2016 09:31:08
    FileSize =  4822319
    Format = TIFF
    FormatVersion =
    Width =  1559
    Height =  917
    BitDepth =  8
    ColorType = grayscale
    DelayTime = 0
    DisposalMethod =
    LoopCount = 0
    ByteOrder = undefined
    Gamma = 0
    Chromaticities = [](1x0)
    Comment =
    Quality =  75
    Compression = undefined
    Colormap = [](0x0)
    Orientation =  1
    ResolutionUnit = Inch
    XResolution = 0
    YResolution = 0
    Software =
    Make =
    Model =
    DateTime =
    ImageDescription =
    Artist =
    Copyright =
    DigitalCamera =

      scalar structure containing the fields:


    GPSInfo =

      scalar structure containing the fields:


    FileType = GeoTIFF
    datatype_name = Float32
    GeoTransformation =

       47.72605    0.00439    0.00000   27.31861    0.00000   -0.00398

    Projection = GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS
84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG
","6326"]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433],AUTHORITY["EPSG","4326"]]

>>

Is there a way to just limit the output info to the projection information?

Thanks
Lester

On 19 April 2016 at 20:01, Philip Nienhuis <address@hidden> wrote:
> Lester Anderson wrote:
>>
>> What I am looking for is an Octave equivalent to the Matlab
>> Geotiffinfo. Trying to convert an existing code to work under Octave.
>>
>> I think that rasterinfo.m does the same in the Mapping package
>
>
> More or less, yes, once you get Octave-4.0.1 up and running.
>
> Please let me know your experiences with it. This part of the mapping
> package is fairly new and hasn't received much testing so any feedback is
> welcome.
>
> BTW it may be that if you read larger geotiff files, you'd better try the
> 64-bit version of Octave-4.0.1 that is here:
> http://www.tatsuromatsuoka.com/octave/Eng/Win/
> (grab octave-4.0.1-w64-3.7z, unpack, and run "pkg rebuild")
>
> That version won't run out of memory as fast as the 32-bit version does.
>
> P.
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]