octave-maintainers
[Top][All Lists]
Advanced

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

RE: GDAL wrapper [WAS: how to put in octave forge?]


From: Philip Nienhuis
Subject: RE: GDAL wrapper [WAS: how to put in octave forge?]
Date: Wed, 15 Jul 2015 11:21:54 -0700 (PDT)

shash wrote
> :
> <snip>
> :
>> Some remarks though:
>> 
>> - gdalread returns output arg "map" as a 1x1 cell array (containing a 
>> 1x1 struct). Please let it return a struct right away.
>> 
>    raster data in stored in bands. Therefore it has to be an array.

For that purpose struct arrays have been invented:

>> c(2).b = 3
c =

  1x2 struct array containing the fields:

    b

...so again, please return a struct array rather than a cell array of
structs.

Philip




--
View this message in context: 
http://octave.1599824.n4.nabble.com/how-to-put-in-octave-forge-tp4671382p4671661.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

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