[gdal-dev] ogr2ogr OSM driver

Even Rouault even.rouault at spatialys.com
Thu Apr 2 06:51:08 PDT 2015


Le jeudi 02 avril 2015 15:13:41, Bjoern Ruff a écrit :
> Hello,
> 
> can someone give a hint how 2 compile ogr2ogr under Windows so that it can
> work with OSM files?
> 
> 
> 
> What I did was enabling lines for Sqlite and expat  in nmake.opt
> 
> 
> SQLITE_INC=-Ic:\c\sqlite3
> 
> SQLITE_LIB=C:\c\sqlite3\sqlite3.lib
> 
> 
> 
> EXPAT_DIR = "C:\externLibs\expat"
> 
> EXPAT_INCLUDE = -I$(EXPAT_DIR)/lib
> 
> EXPAT_LIB = $(EXPAT_DIR)/win32/bin/release/libexpat.lib
> 

Bjørn,

looks ok to me. Make sure to run "nmake /f makefile.vc clean" in case you did 
several builds and change configuration in-between.

If that still doesn't work, download a dev kit at http://gisinternals.com/ and 
compare.

Even


> 
> 
> Thanks, Bjørn

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list