This is an old revision of the document!


PHP's gd library is missing or unable to create PNG images

GDAL

Below, the influence of the library GDAL in the Dinamica EGO operation is presented.

File Formats

More information about each GDAL file format can be found consulting the GDAL format list in the GDAL website.

Input Formats

Using GDAL, Dinamica EGO can read maps in the following file formats.

Description Extension
VRT .vrt
GTiff .tif
NITF .ntf
RPFTOC .toc
HFA .img
SAR_CEOS
CEOS
JAXAPALSAR
GFF .gff
ELAS
AIG
AAIGrid .asc
SDTS .ddf
DTED
PNG .png
JPEG .jpg
MEM
JDEM .mem
GIF .gif
BIGGIF .gif
ESAT .n1
BSB
XPM .xpm
BMP .bmp
DIMAP
AirSAR
RS2
PCIDSK .pix
PCRaster .map
ILWIS .mpr/mpl
SGI .rgb
SRTMHGT .hgt
Leveller .ter
Terragen .ter
ISIS3
ISIS2
PDS
TIL
ERS
JP2OpenJPEG .jp2
L1B
FIT
GRIB .grb
RMF .rsw
WCS
WMS
MSGN .nat
RST .rst
INGR
GSAG .grd
GSBG .grd
GS7BG .grd
COSAR
TSX
COASP .hdr
R .rda
PNM .pnm
DOQ1
DOQ2
ENVI
EHdr
GenBin
PAux
MFF .hdr
MFF2
FujiBAS
GSC
FAST
BT .bt
LAN
CPG
IDA
NDF
EIR
DIPEx
LCP .lcp
GTX .gtx
LOSLAS
NTv2 .gsb
RIK .rik
USGSDEM .dem
GXF .gxf
HTTP
NWT_GRD .grd
NWT_GRC .grc
ADRG .gen
SRP .img
BLX .blx
Rasterlite .sqlite
PostGISRaster
SAGA .sdat
KMLSUPEROVERLAY
XYZ .xyz
HF2 .hf2
PDF .pdf
OZI

Output Formats

Using GDAL, Dinamica EGO can write maps in the following file formats.

Description Extension
VRT .vrt
GTiff .tif
NITF .ntf
HFA .img
ELAS* .elas
MEM* .mem
BMP .bmp
PCIDSK .pix
ILWIS .mpr/mpl
SGI .rgb
Leveller .ter
Terragen .ter
ERS* .ers
RMF .rsw
RST .rst
INGR* .ingr
GSBG .grd
PNM .pnm
ENVI* .envi
EHdr* .ehdr
PAux* .paux
MFF .hdr
MFF2* .mff2
BT .bt
IDA* .ida
GTX .gtx
NTv2 .gsb
ADRG .gen
SAGA .sdat

File formats marked with a star (*) do not define an extension. To workaround this limitation, Dinamica EGO invents the corresponding extension using the file format description.

  • The support to AAIGrid (.asc) in GDAL is read only. So, Dinamica EGO provides the writing capability itself. This format can read and write images using cell types “Signed 32 Bit Integer” and “IEEE 754 32 Bit Real”. The cell type is detected automatically.
  • The support to ERMapper (.ers) in GDAL ignores class names. To workaround this limitation, support to reading and writing this file format is provided by Dinamica EGO itself.

Workdir/folder Names

The use of workdir