[gdal-dev] orginfo unable to open GPX file

2013-02-04 Thread Brett Walker
HI, I have compiled GDAL/OGR with support for GPX files. 'ogrinfo -formats' reports '-> "GPX" (read/write)'. This I take as being good that GPX support is enabled. When I run the following command: 'ogrinfo -ro -al Track_003.gpx' it reports: FAILURE: Unable to open datasource `Track_003.gpx'

[gdal-dev] Python ogr DataSource.ExecuteSQL syntax?

2013-02-04 Thread David Verbyla
I am trying to figure out the syntax for .ExecuteSQL using Python ogr. For example: fireLayer.SetAttributeFilter(None) #returns all 2623 polygons fireLayer.SetAttributeFilter(" FIREID < 75 ") #returns 4 polygons I am trying to get the same results using the ExecuteSQL: testLayer = dataSource.Exec