Re: [gdal-dev] OGR API with an OSM file

2013-06-17 Thread Even Rouault
Le lundi 17 juin 2013 17:55:19, Etienne Trimaille a écrit : > Hi, > > I'm trying to use Python API with an OSM file. > > According to the documentation of OSM driver, we can use a custom > OSM_CONFIG_FILE. > http://www.gdal.org/ogr/drv_osm.html > > However, I can't find how to use my own config

[gdal-dev] OGR API with an OSM file

2013-06-17 Thread Etienne Trimaille
Hi, I'm trying to use Python API with an OSM file. According to the documentation of OSM driver, we can use a custom OSM_CONFIG_FILE. http://www.gdal.org/ogr/drv_osm.html However, I can't find how to use my own config file with the API. from osgeo import ogr osmfile = 'test.osm' driver = ogr.G