Re: [gdal-dev] Building lightweight OGR library

2012-02-04 Thread Dmitry Baryshnikov
05.02.2012 0:56, Daniel Morissette пишет: On 12-02-04 1:05 PM, Dmitry Baryshnikov wrote: I think there is necessity of such lightweight library (with only CPL and/or OGR and/or GDAL). Doing this is possible. The MITAB library does carry just the required minimum files from the ogr and port

Re: [gdal-dev] Building lightweight OGR library

2012-02-04 Thread Daniel Morissette
On 12-02-04 1:05 PM, Dmitry Baryshnikov wrote: I think there is necessity of such lightweight library (with only CPL and/or OGR and/or GDAL). Doing this is possible. The MITAB library does carry just the required minimum files from the ogr and port directories: http://mitab.maptools.org/ I

[gdal-dev] Building lightweight OGR library

2012-02-04 Thread Dmitry Baryshnikov
Hi all, I want to build lightweight ORL library with only SHP, Mapinfo and KML support (and input such logic to cmake - ability to check any combination of libraries or drivers with cross dependent logic). But OGR code need several functions (GDALVersionInfo, GDALCheckVersion, etc.) form GDAL

[gdal-dev] OGR building always requires KML, GML, GEOJSON drivers

2012-02-04 Thread Dmitry Baryshnikov
Hi all, OGRGeometry have such methods as exportToGML, exportToKML, exportToJson which always requires KML (not LIBKM), GML and GEOJSON code. I think in exportToGML, exportToKML, exportToJson should be #ifdef KML_ENABLED GML_ENABLED, GEOJSON_ENABLED. For example: char *OGRGeometry::exportTo

Re: [gdal-dev] Re: Extract OSM data from PostGIS using OGR

2012-02-04 Thread Dmitry Baryshnikov
03.02.2012 11:30, Jukka Rahkonen пишет: Travis Kirstine gmail.com> writes: Is it possible to extract features from a OSM PostGIS / Postgres database (loaded with osm2pgsql)? For sure. The osm_point, osm_line and osm_polygon tables are normal spatial tables which can be read with GDAL Postgis

Re: [gdal-dev] Using -overwrite to create empty feature class

2012-02-04 Thread Donovan Cameron
I will definitely not recommend it then. Seems I got lucky in this case scenario. Thanks. Donovan On Fri, Feb 3, 2012 at 3:19 PM, Even Rouault wrote: > Le vendredi 03 février 2012 22:59:36, Donovan Cameron a écrit : > > FYI > > > > Further testing with -overwrite given your explanation > > *o