pcraster support in GDAL/OGR 1.7.2 release (1.7.2-5_0.el5.elgis.i386) ?

Mauricio Zambrano mauricio.zambrano at jrc.ec.europa.eu
Fri Oct 15 09:27:18 UTC 2010


Dear epel-devel-list,


I'm a new user of RHEL 5, and while working with the gdal library, I
noticed that the latest stable version of the library, as delivered by
the 

1.7.2-5_0.el5.elgis.i386 package


doesn't support the PCRaster format, what seems strange for me because
in the gdal web page (http://www.gdal.org/formats_list.html) PCRaster is
mentioned as supported format, and also the older version (1.6.x)
supported that format.


Does it represent a bug in the 1.7.2-5_0.el5.elgis.i386 package ?

My environment:

-) OS: Ret Hat Enterprise Linux version 5,
$ uname -r -m -p -i
2.6.18-194.17.1.el5PAE i686 i686 i386

-) Current version of GDAL:
$ gdal-config --version
1.7.2

-) GDAL Supported formats:
$ gdalinfo --formats
Supported Formats:
  VRT (rw+): Virtual Raster
  GTiff (rw+v): GeoTIFF
  NITF (rw+v): National Imagery Transmission Format
  RPFTOC (ro): Raster Product Format TOC format
  HFA (rw+v): 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 (rov): Ground-based SAR Applications Testbed File Format (.gff)
  ELAS (rw+): ELAS
  AIG (ro): Arc/Info Binary Grid
  AAIGrid (rwv): Arc/Info ASCII Grid
  SDTS (ro): SDTS Raster
  OGDI (ro): OGDI Bridge
  DTED (rwv): DTED Elevation Raster
  PNG (rwv): Portable Network Graphics
  JPEG (rwv): JPEG JFIF
  MEM (rw+): In Memory Raster
  JDEM (ro): Japanese DEM (.mem)
  GIF (rwv): Graphics Interchange Format (.gif)
  BIGGIF (rov): 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+v): MS Windows Device Independent Bitmap
  DIMAP (ro): SPOT DIMAP
  AirSAR (ro): AirSAR Polarimetric Image
  RS2 (ro): RadarSat 2 XML Product
  PCIDSK (rw+v): PCIDSK Database File
  ILWIS (rw+v): ILWIS Raster Map
  SGI (rw+): SGI Image File Format 1.0
  SRTMHGT (rwv): 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
  TIL (ro): EarthWatch .TIL
  ERS (rw+): ERMapper .ers Labelled
  JPEG2000 (rwv): 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
  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
  R (rwv): R Object Data Store
  PNM (rw+): Portable Pixmap Format (netpbm)
  DOQ1 (ro): USGS DOQ (Old Style)
  DOQ2 (ro): USGS DOQ (New Style)
  ENVI (rw+v): ENVI .hdr Labelled
  EHdr (rw+v): 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 (rov): 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
  BAG (ro): Bathymetry Attributed Grid
  HDF5 (ro): Hierarchical Data Format Release 5
  HDF5Image (ro): HDF5 Dataset
  NWT_GRD (ro): Northwood Numeric Grid Format .grd/.tab
  NWT_GRC (ro): Northwood Classified Grid Format .grc/.tab
  ADRG (rw+v): ARC Digitized Raster Graphics
  SRP (rov): Standard Raster Product (ASRP/USRP)
  BLX (rw): Magellan topo (.blx)
  Rasterlite (rw): Rasterlite
  WKTRaster (ro): PostGIS WKT Raster driver
  SAGA (rw+v): SAGA GIS Binary Grid (.sdat)


Meanwhile, I tried to compile gdal from source, with:

$ ./configure
$ make
$ sudo make install

but I got the following warnings and error:

geotiff.cpp:34:21: error: xtiffio.h: No such file or directory
geotiff.cpp:35:21: error: geotiff.h: No such file or directory
geotiff.cpp:36:27: error: geo_normalize.h: No such file or directory
geotiff.cpp:37:23: error: geovalues.h: No such file or directory
geotiff.cpp:47: error: ‘GTIF’ was not declared in this scope
geotiff.cpp:47: error: expected primary-expression before ‘,’ token
geotiff.cpp:47: error: ‘GTIFDefn’ was not declared in this scope
geotiff.cpp:47: error: expected primary-expression before ‘)’ token
geotiff.cpp:47: error: initializer expression list treated as compound
expression
geotiff.cpp:48: error: ‘GTIF’ was not declared in this scope
geotiff.cpp:48: error: expected primary-expression before ‘,’ token
geotiff.cpp:48: error: expected primary-expression before ‘const’
geotiff.cpp:48: error: initializer expression list treated as compound
expression
geotiff.cpp: In destructor ‘virtual GTiffDataset::~GTiffDataset()’:
geotiff.cpp:2466: error: ‘XTIFFClose’ was not declared in this scope
geotiff.cpp: In member function ‘void GTiffDataset::WriteGeoTIFFInfo()’:
geotiff.cpp:3566: error: ‘TIFFTAG_GEOPIXELSCALE’ was not declared in
this scope
geotiff.cpp:3576: error: ‘TIFFTAG_GEOTIEPOINTS’ was not declared in this
scope
geotiff.cpp:3593: error: ‘TIFFTAG_GEOTRANSMATRIX’ was not declared in
this scope
geotiff.cpp:3623: error: ‘TIFFTAG_GEOTIEPOINTS’ was not declared in this
scope
geotiff.cpp:3634: error: ‘GTIF’ was not declared in this scope
geotiff.cpp:3634: error: ‘psGTIF’ was not declared in this scope
geotiff.cpp:3643: error: ‘TIFFTAG_GEOKEYDIRECTORY’ was not declared in
this scope
geotiff.cpp:3650: error: ‘TIFFTAG_GEODOUBLEPARAMS’ was not declared in
this scope
geotiff.cpp:3652: error: ‘TIFFTAG_GEOASCIIPARAMS’ was not declared in
this scope
geotiff.cpp:3655: error: ‘GTIFNew’ was not declared in this scope
geotiff.cpp:3658: error: ‘GTIFSetFromOGISDefn’ cannot be used as a
function
geotiff.cpp:3664: error: ‘GTRasterTypeGeoKey’ was not declared in this
scope
geotiff.cpp:3664: error: ‘TYPE_SHORT’ was not declared in this scope
geotiff.cpp:3665: error: ‘RasterPixelIsPoint’ was not declared in this
scope
geotiff.cpp:3665: error: ‘GTIFKeySet’ was not declared in this scope
geotiff.cpp:3668: error: ‘GTIFWriteKeys’ was not declared in this scope
geotiff.cpp:3669: error: ‘GTIFFree’ was not declared in this scope
geotiff.cpp: In member function ‘void
GTiffDataset::LookForProjection()’:
geotiff.cpp:4431: error: ‘GTIF’ was not declared in this scope
geotiff.cpp:4431: error: ‘hGTIF’ was not declared in this scope
geotiff.cpp:4432: error: ‘GTIFDefn’ was not declared in this scope
geotiff.cpp:4432: error: expected `;' before ‘sGTIFDefn’
geotiff.cpp:4437: error: ‘GTIFNew’ was not declared in this scope
geotiff.cpp:4446: error: ‘sGTIFDefn’ was not declared in this scope
geotiff.cpp:4446: error: ‘GTIFGetDefn’ was not declared in this scope
geotiff.cpp:4448: error: ‘GTIFGetOGISDefn’ cannot be used as a function
geotiff.cpp:4470: error: ‘GTRasterTypeGeoKey’ was not declared in this
scope
geotiff.cpp:4471: error: ‘GTIFKeyGet’ was not declared in this scope
geotiff.cpp:4473: error: ‘RasterPixelIsPoint’ was not declared in this
scope
geotiff.cpp:4479: error: ‘GTIFFree’ was not declared in this scope
geotiff.cpp: In static member function ‘static GDALDataset*
GTiffDataset::OpenDir(GDALOpenInfo*)’:
geotiff.cpp:4625: error: ‘XTIFFClose’ was not declared in this scope
geotiff.cpp: In member function ‘CPLErr GTiffDataset::OpenOffset(TIFF*,
GTiffDataset**, toff_t, int, GDALAccess, int)’:
geotiff.cpp:5011: error: ‘TIFFTAG_GEOPIXELSCALE’ was not declared in
this scope
geotiff.cpp:5018: error: ‘TIFFTAG_GEOTIEPOINTS’ was not declared in this
scope
geotiff.cpp:5030: error: ‘TIFFTAG_GEOTRANSMATRIX’ was not declared in
this scope
geotiff.cpp:5071: error: ‘TIFFTAG_GEOTIEPOINTS’ was not declared in this
scope
geotiff.cpp: In static member function ‘static TIFF*
GTiffDataset::CreateLL(const char*, int, int, int, GDALDataType,
char**)’:
geotiff.cpp:5948: error: ‘XTIFFClose’ was not declared in this scope
geotiff.cpp:5956: error: ‘XTIFFClose’ was not declared in this scope
geotiff.cpp:5967: error: ‘XTIFFClose’ was not declared in this scope
geotiff.cpp:6079: error: ‘XTIFFClose’ was not declared in this scope
geotiff.cpp: In static member function ‘static GDALDataset*
GTiffDataset::CreateCopy(const char*, GDALDataset*, int, char**, int
(*)(double, const char*, void*), void*)’:
geotiff.cpp:6599: error: ‘TIFFTAG_GEOPIXELSCALE’ was not declared in
this scope
geotiff.cpp:6608: error: ‘TIFFTAG_GEOTIEPOINTS’ was not declared in this
scope
geotiff.cpp:6624: error: ‘TIFFTAG_GEOTRANSMATRIX’ was not declared in
this scope
geotiff.cpp:6661: error: ‘TIFFTAG_GEOTIEPOINTS’ was not declared in this
scope
geotiff.cpp:6683: error: ‘GTIF’ was not declared in this scope
geotiff.cpp:6683: error: ‘psGTIF’ was not declared in this scope
geotiff.cpp:6685: error: ‘GTIFNew’ was not declared in this scope
geotiff.cpp:6686: error: ‘GTIFSetFromOGISDefn’ cannot be used as a
function
geotiff.cpp:6692: error: ‘GTRasterTypeGeoKey’ was not declared in this
scope
geotiff.cpp:6692: error: ‘TYPE_SHORT’ was not declared in this scope
geotiff.cpp:6693: error: ‘RasterPixelIsPoint’ was not declared in this
scope
geotiff.cpp:6693: error: ‘GTIFKeySet’ was not declared in this scope
geotiff.cpp:6696: error: ‘GTIFWriteKeys’ was not declared in this scope
geotiff.cpp:6697: error: ‘GTIFFree’ was not declared in this scope
geotiff.cpp:6707: error: ‘XTIFFClose’ was not declared in this scope
make[2]: *** [../o/geotiff.lo] Error 1
make[2]: Leaving directory `/dataMZB/2010/gdal/gdal-1.7.2/frmts/gtiff'
make[1]: *** [gtiff-install-obj] Error 2
make[1]: Leaving directory `/dataMZB/2010/gdal/gdal-1.7.2/frmts'
make: *** [frmts-target] Error 2



Thanks in advance,

Mauricio Zambrano B.

-- 
=======================================================
Linux user #454569 -- Ubuntu user #17469
=======================================================
"Learning is not attained by chance, 
it must be sought for with ardor and 





More information about the epel-devel-list mailing list