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: Tue, 19 Apr 2016 09:09:14 +0100

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

Tried the install of mapping-1.2.1:

>> pkg install mapping-1.2.1.tar.gz -auto
configure: WARNING: GDAL library not found.  Reading of raster files
will be disabled.
For information about changes from previous versions of the mapping
package, run 'news mapping'.
>>

So it does need GDAL somewhere...

Cheers

On 19 April 2016 at 06:29, Lester Anderson <address@hidden> wrote:
> Thanks for the information. Is there an Octave gdal package to
> install? Mapping-1.2.1 seems to need gdal in order to run something
> like rasterinfo.m.
>
> On 18 April 2016 at 17:29, PhilipNienhuis <address@hidden> wrote:
>> Lester Anderson wrote
>>> Hello,
>>>
>>> I need to install GDAL for use with the mapping package, but when I
>>> try the install I get:
>>>
>>>>> pkg install gdal-2.0.2.tar.gz -auto
>>> package is missing file: COPYING
>>> error: called from 'verify_directory' in file
>>> C:\octave\octave-4.0.0\share\octave\4.0.0\m\pkg\private\verify_directory.m
>>> near line
>>> 30, column 7
>>>>>
>>>
>>> Any ideas what the problem is and how it is fixed? I did install
>>> mapping fine (but removed it) however it disabled raster read/write.
>>
>> Looking at the error messages you run Octave on Windows, probably an
>> installer from ftp.gnu.org, right?
>>
>> If so, GDAL is already installed (to confirm, in Octave do "ls ([OCTAVE_HOME
>> filesep 'bin' filesep 'libgdal*'])" (w/o outer double quotes) and you should
>> see something like
>> libgdal-1.dll
>>
>> You cannot invoke GDAL directly; it is a so-called "dependency" or IOW a
>> program or package invoked by Octave itself or octave-forge packages. In
>> this case the mapping package.
>>
>> I think it suffices to re-install the mapping package using:
>>
>> more off;
>> pkg  install  -verbose  -forge  mapping
>>
>> (-verbose so you can see what is happening and report any issues if they
>> arise)
>>
>> Philip
>>
>>
>>
>>
>> --
>> View this message in context: 
>> http://octave.1599824.n4.nabble.com/GDAL-package-error-message-at-install-tp4676356p4676360.html
>> Sent from the Octave - General mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Help-octave mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/help-octave



reply via email to

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