[Qgis-user] Qgis 2.6 Brighton on Mac Osx 10.10 Yosemite
Geoff Dickson
dickovich at hotmail.com
Mon Nov 10 23:41:45 PST 2014
Carlo
Ok thankyou. I have navigated to the first folder location and executed gdal_translate --help-general
Output-
$ ./gdal_translate
Usage: gdal_translate [--help-general] [--long-usage]
[-ot {Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/
CInt16/CInt32/CFloat32/CFloat64}] [-strict]
[-of format] [-b band] [-mask band] [-expand {gray|rgb|rgba}]
[-outsize xsize[%] ysize[%]]
[-unscale] [-scale [src_min src_max [dst_min dst_max]]]
[-srcwin xoff yoff xsize ysize] [-projwin ulx uly lrx lry] [-epo] [-eco]
[-a_srs srs_def] [-a_ullr ulx uly lrx lry] [-a_nodata value]
[-gcp pixel line easting northing [elevation]]*
[-mo "META-TAG=VALUE"]* [-q] [-sds]
[-co "NAME=VALUE"]* [-stats]
src_dataset dst_dataset
I then executed GDAL trying to get a file translated -
MYNAME$ ./gdal_translate /users/MYNAME/Desktop/testfile.ecw testoutput.TIF
ERROR 4: `/users/MYNAME/Desktop/testfile.ecw' not recognised as a supported file format.
GDALOpen failed - 4
`/users/dickovich/Desktop/testfile.ecw' not recognised as a supported file format.
It would seem that it still does not like the ECW file format - but GDAL appears to be working.
How do I fix the ECW element of my install ?
Geoff
> On 11 Nov 2014, at 3:15 pm, Carlo A. Bertelli (Charta s.r.l.) wrote:
>
> Hello Geoff,
> the first thing to check is having the right tools in place, this also helps you to get your ECW file converted.
> By the command line, try using GDAL.
> /Library/Frameworks/GDAL.framework/Versions/Current/Programs/gdal_translate WhatYouGet.ECW WhatYouWant.TIF
> You may want to refine your conversion with the provided options (you will find part of them in QGIS menus). Just get some help by issuing:
> /Library/Frameworks/GDAL.framework/Versions/Current/Programs/gdal_translate --help-general
> (or --long-usage).
> If I remember well, the installer does something to put the current version of the tools more easily available by symlinking them in your /usr/local/bin, so you may try omitting this long path an just typing
> gdal_translate
> It should work. If you don't get your file properly translated, double check your installation.
> c
>
>
> Date: Tue, 11 Nov 2014 11:11:01 +0800
> From: Geoff
> To: qgis-user at lists.osgeo.org <mailto:qgis-user at lists.osgeo.org>
> Subject: [Qgis-user] Qgis 2.6 Brighton on Mac Osx 10.10 Yosemite
> Message-ID: <BLU437-SMTP358AE4FC02FC15FF4D0C4EB1810 at phx.gbl>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi list
>
> Complete NEWBIE here, so apologies.
>
> I am trying to install QGIS to allow me to view / convert ecw mapping files.
>
> I have downloaded the latest 2.6 version for mac - I am using OSX 10.10 Yosemite.
>
> I have downloaded the GDAL 1.11 Complete framework files and followed the instructions to install the other dependancies. I have downloaded the ECW plugin1.11.0-1 and ERDAS ECW/JPEG2000 SDK 5.1 and followed install instructions to place certain files throughout my directory structure.
>
> QGIS runs fine, however, when I go to open the ECW map - it is grayed out - indicating to me I cant open it.
>
> Something is broken, or incompatible given I am using Yosemite ?
>
> Can someone help ? Is there a command line method to check my install ? I thought I followed all the instructions but it isn't working and I have an urgent file I need to convert..
>
> Help !!
>
>
> Geoff
>
> --
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20141111/fa9c6175/attachment.html>
More information about the Qgis-user
mailing list