[Qgis-user] Problem with GRASS plugin on MacOsX

William Kyngesburye woklist at kyngchaos.com
Wed Mar 3 08:11:01 PST 2010


Ah, you need to install the FFTW framework, which is in my download archives.  As I mentioned originally, I haven't rebuilt GRASS in a while and it still needs FFTW.  Future builds will not need it.

On Mar 3, 2010, at 9:49 AM, Erica Donnelly-Swift wrote:

>> In a Terminal type (all on one line, if email breaks it join it back into one line):
>> 
>> /Library/Frameworks/GDAL.framework/Versions/1.6/Programs/gdalinfo --formats
> 
>> GRASS should be near the top of the list.
> 
> 
> I receive an error when I type the above code (see below)
> 
> ERROR 1: dlopen(/Library/Application Support/GDAL/1.6/PlugIns/gdal_GRASS.dylib, 1): Library not loaded: /Library/Frameworks/FFTW3.framework/Versions/3/FFTW3
>  Referenced from: /Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gmath.dylib
>  Reason: image not found
> ERROR 1: dlopen(/Library/Application Support/GDAL/1.6/PlugIns/gdal_GRASS.dylib, 1): Library not loaded: /Library/Frameworks/FFTW3.framework/Versions/3/FFTW3
>  Referenced from: /Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gmath.dylib
>  Reason: image not found
> Supported Formats:
>  ECW (rw): ERMapper Compressed Wavelets
>  JP2ECW (rw+): ERMapper JPEG2000
>  MrSID (ro): Multi-resolution Seamless Image Database (MrSID)
>  VRT (rw+): Virtual Raster
>  GTiff (rw+): GeoTIFF
>  NITF (rw+): National Imagery Transmission Format
>  RPFTOC (ro): Raster Product Format TOC format
>  HFA (rw+): Erdas Imagine Images (.img)
>  SAR_CEOS (ro): CEOS SAR Image
>  CEOS (ro): CEOS Image
>  JAXAPALSAR (ro): JAXA PALSAR Product Reader (Level 1.1/1.5)
>  GFF (ro): Ground-based SAR Applications Testbed File Format (.gff)
>  ELAS (rw+): ELAS
>  AIG (ro): Arc/Info Binary Grid
>  AAIGrid (rw): Arc/Info ASCII Grid
>  SDTS (ro): SDTS Raster
>  OGDI (ro): OGDI Bridge
>  DTED (rw): DTED Elevation Raster
>  PNG (rw): Portable Network Graphics
>  JPEG (rw): JPEG JFIF
>  MEM (rw+): In Memory Raster
>  JDEM (ro): Japanese DEM (.mem)
>  GIF (rw): Graphics Interchange Format (.gif)
>  BIGGIF (ro): Graphics Interchange Format (.gif)
>  ESAT (ro): Envisat Image Format
>  FITS (rw+): Flexible Image Transport System
>  BSB (ro): Maptech BSB Nautical Charts
>  XPM (rw): X11 PixMap Format
>  BMP (rw+): MS Windows Device Independent Bitmap
>  DIMAP (ro): SPOT DIMAP
>  AirSAR (ro): AirSAR Polarimetric Image
>  RS2 (ro): RadarSat 2 XML Product
>  PCIDSK (rw+): PCIDSK Database File
>  PCRaster (rw): PCRaster Raster File
>  ILWIS (rw+): ILWIS Raster Map
>  SGI (rw+): SGI Image File Format 1.0
>  SRTMHGT (rw): SRTMHGT File Format
>  Leveller (rw+): Leveller heightfield
>  Terragen (rw+): Terragen heightfield
>  GMT (rw): GMT NetCDF Grid Format
>  netCDF (rw): Network Common Data Format
>  HDF4 (ro): Hierarchical Data Format Release 4
>  HDF4Image (rw+): HDF4 Dataset
>  ISIS3 (ro): USGS Astrogeology ISIS cube (Version 3)
>  ISIS2 (ro): USGS Astrogeology ISIS cube (Version 2)
>  PDS (ro): NASA Planetary Data System
>  ERS (rw+): ERMapper .ers Labelled
>  JPEG2000 (rw): JPEG-2000 part 1 (ISO/IEC 15444-1)
>  L1B (ro): NOAA Polar Orbiter Level 1b Data Set
>  FIT (rw): FIT Image
>  GRIB (ro): GRIdded Binary (.grb)
>  RMF (rw+): Raster Matrix Format
>  WCS (ro): OGC Web Coverage Service
>  WMS (ro): OGC Web Map Service
>  MSGN (ro): EUMETSAT Archive native (.nat)
>  RST (rw+): Idrisi Raster A.1
>  INGR (rw+): Intergraph Raster
>  GSAG (rw): Golden Software ASCII Grid (.grd)
>  GSBG (rw+): Golden Software Binary Grid (.grd)
>  GS7BG (ro): Golden Software 7 Binary Grid (.grd)
>  COSAR (ro): COSAR Annotated Binary Matrix (TerraSAR-X)
>  TSX (ro): TerraSAR-X Product
>  COASP (ro): DRDC COASP SAR Processor Raster
>  PNM (rw+): Portable Pixmap Format (netpbm)
>  DOQ1 (ro): USGS DOQ (Old Style)
>  DOQ2 (ro): USGS DOQ (New Style)
>  ENVI (rw+): ENVI .hdr Labelled
>  EHdr (rw+): ESRI .hdr Labelled
>  GenBin (ro): Generic Binary (.hdr Labelled)
>  PAux (rw+): PCI .aux Labelled
>  MFF (rw+): Vexcel MFF Raster
>  MFF2 (rw+): Vexcel MFF2 (HKV) Raster
>  FujiBAS (ro): Fuji BAS Scanner Image
>  GSC (ro): GSC Geogrid
>  FAST (ro): EOSAT FAST Format
>  BT (rw+): VTP .bt (Binary Terrain) 1.3 Format
>  LAN (ro): Erdas .LAN/.GIS
>  CPG (ro): Convair PolGASP
>  IDA (rw+): Image Data and Analysis
>  NDF (ro): NLAPS Data Format
>  EIR (ro): Erdas Imagine Raw
>  DIPEx (ro): DIPEx
>  LCP (ro): FARSITE v.4 Landscape File (.lcp)
>  RIK (ro): Swedish Grid RIK (.rik)
>  USGSDEM (rw): USGS Optional ASCII DEM (and CDED)
>  GXF (ro): GeoSoft Grid Exchange Format
>  DODS (ro): DAP 3.x servers
>  HTTP (ro): HTTP Fetching Wrapper
>  HDF5 (ro): Hierarchical Data Format Release 5
>  HDF5Image (ro): HDF5 Dataset
>  ADRG (rw+): ARC Digitized Raster Graphics
>  BLX (rw): Magellan topo (.blx)
> 
> 
> 
> On 3 Mar 2010, at 15:10, William Kyngesburye wrote:
> 
>> Huh.  I guess we're back to the gdalinfo test now.
>> 
>> In a Terminal type (all on one line, if email breaks it join it back into one line):
>> 
>> /Library/Frameworks/GDAL.framework/Versions/1.6/Programs/gdalinfo --formats
>> 
>> GRASS should be near the top of the list.  If it is, try (all one line again):
>> 
>> /Library/Frameworks/GDAL.framework/Versions/1.6/Programs/gdalinfo /Users/erica/Desktop/grassdata/alaska/demo/cellhd/gtopo30
>> 
>> On Mar 3, 2010, at 2:37 AM, Erica Donnelly-Swift wrote:
>> 
>>>> Find a binary installer for the GDAL GRASS plugin on the GRASS-6.4-RC5-3-Leo.dmg that you downloaded to install GRASS.
>>> 
>>> Yes I found the GRASS GDAL Plugin.mpkg on the GRASS-6.4-RC5-3-Leo.dmg. I followed the instructions  in the Read.Me.rtf  -  "GDAL GRASS Plugin: Install the GDAL plugin that is provided on this disk image."
>>> 
>>> However, unfortunately.... when I load QGIS and try to upload GRASS raster I still receive the same error
>>> "/Users/erica/Desktop/grassdata/alaska/demo/cellhd/gtopo30 is not a valid or recognized raster data source"
>>> 
>>> 
>>> 
>>> On 2 Mar 2010, at 16:57, William Kyngesburye wrote:
>>> 
>>>> Sorry, you're on the wrong track, no need to compile anything.  Find a binary installer for the GDAL GRASS plugin on the GRASS-6.4-RC5-3-Leo.dmg that you downloaded to install GRASS.
>>>> 
>>>> On Mar 2, 2010, at 10:31 AM, Erica Donnelly-Swift wrote:
>>>> 
>>>>>> on the GRASS 6.4 RC5 installer disk image.  There are 2 installers: GRASS and the GRASS GDAL plugin.
>>>>> 
>>>>> Yes i have downloaded the GDAL-GRASS plugin makefile and have followed the instructions in the ReadMe.txt.  I have copied the *.cpp and *.h sources from the frmts and ogr/ogrsf_frmts folders.....  however I am unsure of how to 'build it'. I do not know what 'cd' stands for....  I apologise if these questions seem trivial....
>>>>> 
>>>>> 
>>>>> On 2 Mar 2010, at 15:15, William Kyngesburye wrote:
>>>>> 
>>>>>> On Mar 2, 2010, at 9:08 AM, Erica Donnelly-Swift wrote:
>>>>>> 
>>>>>>>> Maybe you mean you have the installers in your home folder,
>>>>>>> 
>>>>>>> yes, I meant to write ....  /Users/erica/library/frameworks
>>>>>>> 
>>>>>>> 
>>>>>>>> Maybe you have *not* installed the GRASS GDAL plugin.
>>>>>>> 
>>>>>>> I have downloaded  gdal-grass-1.4.3.tar.gz and I have been looking through the QGIS manual to "compile and install the GDAL-GRASS libraries" ..... however I am unsure how to configure
>>>>>>> 
>>>>>> No, I mean on the GRASS 6.4 RC5 installer disk image.  There are 2 installers: GRASS and the GRASS GDAL plugin.
>>>> 
>>>> -----
>>>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>>>> http://www.kyngchaos.com/
>>>> 
>>>> "History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history."
>>>> 
>>>> - Hitchhiker's Guide to the Galaxy
>>>> 
>>>> 
>>>> 
>>> 
>> 
>> -----
>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>> http://www.kyngchaos.com/
>> 
>> The equator is so long, it could encircle the earth completely once.
>> 
>> 
> 
> 

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

The equator is so long, it could encircle the earth completely once.




More information about the Qgis-user mailing list