Opened 11 years ago

Last modified 11 years ago

#5171 closed defect

ogr formats not available in GDAL 1.10 for python — at Version 1

Reported by: wyogeo Owned by: hobu
Priority: normal Milestone:
Component: PythonBindings Version: 1.10.0
Severity: normal Keywords:
Cc: warmerdam

Description (last modified by wyogeo)

I'm trying to setup GDAL 1.10 of for use with the Python 2.7 that comes bundled with ArcGIS 10.1. I used the package GDAL-1.10.0.win32-py2.7.exe.

The package installs however several drivers seem to be missing. Running ogrinfo --format shows FileGDB and PostGresSQL as avaible. However doing a ogr.GetDriverByName for either for those does not work.

When I run this code:

for i in range(0,ogr.GetDriverCount()):

drv=ogr.GetDriver(i) print i,drv.GetName()

I don't see either FileGDB, PostgresSQL or MySQL as options. The results are: 0 ESRI Shapefile 1 MapInfo File 2 UK .NTF 3 SDTS 4 TIGER 5 S57 6 DGN 7 VRT 8 REC 9 Memory 10 BNA 11 CSV 12 GML 13 GPX 14 KML 15 GeoJSON 16 GMT 17 SQLite 18 ODBC 19 PGeo 20 MSSQLSpatial 21 PCIDSK 22 XPlane 23 AVCBin 24 AVCE00 25 DXF 26 Geoconcept 27 GeoRSS 28 GPSTrackMaker 29 VFK 30 PGDump 31 OSM 32 GPSBabel 33 SUA 34 OpenAir 35 PDS 36 WFS 37 HTF 38 AeronavFAA 39 Geomedia 40 EDIGEO 41 GFT 42 SVG 43 CouchDB 44 Idrisi 45 ARCGEN 46 SEGUKOOA 47 SEGY 48 XLS 49 ODS 50 XLSX 51 ElasticSearch 52 PDF

Change History (1)

comment:1 by wyogeo, 11 years ago

Component: defaultPythonBindings
Description: modified (diff)
Owner: changed from warmerdam to hobu
Summary: ogr formats not available in GDAL 1.9 for pythonogr formats not available in GDAL 1.10 for python
Version: unspecified1.10.0
Note: See TracTickets for help on using tickets.