[gdal-dev] Cmake for building GDAL
Dmitriy Baryshnikov
bishop.dev at gmail.com
Tue Jun 17 06:58:05 PDT 2014
Hi All,
I just fix Cmake scripts for current GDAL trunk and make GDAL on my
Ubuntu 14.04. Last code is in cmake4gdal brunch on github
(https://github.com/nextgis/gdal-svn/tree/cmake4gdal).
Now it tested on Windows (32-bit and 64-bit builds) and Linux (Ubuntu 14.04).
There are no all parts of GDAL (some drivers, bindings and so on), but
this is maybe some kind of first look.
The work is going on, so I plan fix all this issues. You can test this.
Maybe there are some error with naming conventions and install paths.
Also I set the drivers which reported as build by default as ON in Cmake
(http://gdal.org/formats_list.html and
http://gdal.org/ogr_formats.html). The others can be switched on bu
CMake-GUI or command line.
My GDAL build includes:
$ ogrinfo --formats
Supported Formats:
ESRI Shapefile -vector- (rw+v): ESRI Shapefile
MapInfo File -vector- (rw+): MapInfo File
S57 -vector- (rw+v): IHO S-57 (ENC)
OGR_VRT -vector- (rov): VRT - Virtual Datasource
Memory -vector- (rw+): Memory
CSV -vector- (rw+v): Comma Separated Value (.csv)
GML -vector- (rw+v): Geography Markup Language (GML)
GPX -vector- (rw+v): GPX
LIBKML -vector- (rw+v): Keyhole Markup Language (LIBKML)
KML -vector- (rw+v): Keyhole Markup Language (KML)
GeoJSON -vector- (rw+v): GeoJSON
GPKG -vector- (rw+v): GeoPackage
SQLite -vector- (rw+v): SQLite / Spatialite
PostgreSQL -vector- (rw+): PostgreSQL/PostGIS
MySQL -vector- (rw+): MySQL
OpenFileGDB -vector- (rov): ESRI FileGDB
DXF -vector- (rw+v): AutoCAD DXF
WFS -vector- (rov): OGC WFS (Web Feature Service)
SXF -vector- (ro): Storage and eXchange Format
$ gdalinfo --formats
Supported Formats:
VRT -raster- (rw+v): Virtual Raster
GTiff -raster- (rw+vs): GeoTIFF
HFA -raster- (rw+v): Erdas Imagine Images (.img)
PNG -raster- (rwv): Portable Network Graphics
JPEG -raster- (rwv): JPEG JFIF
MEM -raster- (rw+): In Memory Raster
GIF -raster- (rwv): Graphics Interchange Format (.gif)
BIGGIF -raster- (rov): Graphics Interchange Format (.gif)
BMP -raster- (rw+v): MS Windows Device Independent Bitmap
DIMAP -raster- (rov): SPOT DIMAP
TIL -raster- (rov): EarthWatch .TIL
WMS -raster- (rwvs): OGC Web Map Service
MAP -raster- (rov): OziExplorer .MAP
PNM -raster- (rw+v): Portable Pixmap Format (netpbm)
DOQ1 -raster- (rov): USGS DOQ (Old Style)
DOQ2 -raster- (rov): USGS DOQ (New Style)
ENVI -raster- (rw+v): ENVI .hdr Labelled
EHdr -raster- (rw+v): ESRI .hdr Labelled
GenBin -raster- (rov): Generic Binary (.hdr Labelled)
PAux -raster- (rw+): PCI .aux Labelled
MFF -raster- (rw+): Vexcel MFF Raster
MFF2 -raster- (rw+): Vexcel MFF2 (HKV) Raster
FujiBAS -raster- (ro): Fuji BAS Scanner Image
GSC -raster- (rov): GSC Geogrid
FAST -raster- (rov): EOSAT FAST Format
BT -raster- (rw+v): VTP .bt (Binary Terrain) 1.3 Format
LAN -raster- (rw+v): Erdas .LAN/.GIS
CPG -raster- (ro): Convair PolGASP
IDA -raster- (rw+v): Image Data and Analysis
NDF -raster- (rov): NLAPS Data Format
EIR -raster- (rov): Erdas Imagine Raw
DIPEx -raster- (rov): DIPEx
LCP -raster- (rwv): FARSITE v.4 Landscape File (.lcp)
GTX -raster- (rw+v): NOAA Vertical Datum .GTX
LOSLAS -raster- (rov): NADCON .los/.las Datum Grid Shift
NTv2 -raster- (rw+vs): NTv2 Datum Grid Shift
CTable2 -raster- (rw+v): CTable2 Datum Grid Shift
ACE2 -raster- (rov): ACE2
SNODAS -raster- (rov): Snow Data Assimilation System
KRO -raster- (rw+v): KOLOR Raw
PostGISRaster -raster- (rws): PostGIS Raster driver
SAGA -raster- (rw+v): SAGA GIS Binary Grid (.sdat)
OZI -raster- (rov): OziExplorer Image File
$ gdalinfo --version
GDAL 2.0.0dev, released 2014/04/16
Feedback is welcome.
--
Best regards,
Dmitry
More information about the gdal-dev
mailing list