lutraconsulting / ostranslator-ii

A graphical QGIS plugin for loading Ordnance Survey MasterMap into PostGIS.
16 stars 8 forks source link

Stderr: Unable to find driver `PostgreSQL'. #17

Open songololo opened 8 years ago

songololo commented 8 years ago

When using the OS Translator 2 plugin on a Mac, using the MacPorts build of QGIS, I get the following error:

Warning: 1 import jobs failed:

Args: ['-overwrite', '-f', 'PostgreSQL', '--config', 'PG_USE_COPY', 'YES', '--config', 'GML_GFS_TEMPLATE', '/var/folders/0r/l9p6w_m13sg6g4qjlm51c6c80000gn/T/1444929125.65.gfs', "PG:dbname='shongololo' host='localhost' port='5432' active_schema=public_tmp user='shongololo' password=''", '/vsigzip//Users/shongololo/.qgis2/python/plugins/OSTranslatorII/gfs/OS Mastermap Topography (v7) Pioneer.gz', '-lco', 'OVERWRITE=YES', '-lco', 'SPATIAL_INDEX=OFF', '-lco', 'PRECISION=NO']

Stdout:

Stderr: Unable to find driver `PostgreSQL'.

The following drivers are available:

-> `PCIDSK'

-> `PDF'

-> `ESRI Shapefile'

-> `MapInfo File'

-> `UK .NTF'

-> `OGR_SDTS'

-> `S57'

-> `DGN'

-> `OGR_VRT'

-> `REC'

-> `Memory'

-> `BNA'

-> `CSV'

-> `GML'

-> `GPX'

-> `KML'

-> `GeoJSON'

-> `OGR_GMT'

-> `WAsP'

-> `OpenFileGDB'

-> `XPlane'

-> `DXF'

-> `Heoconcept'

-> `GeoRSS'

-> `GPSTrackMaker'

-> `PGDUMP'

-> `GPSBabel'

-> `SUA'

-> `OpenAir'

-> `OGR_PDS'

-> `HTF'

-> `AeronavFAA'

-> `EDIGEO'

-> `SVG'

-> `Idrisi'

-> `ARCGEN'

-> `SEGUKOOA'

-> `SEGY'

-> `ODS'

-> `XLSX'

-> `SXF'

-> `Selafin'

-> `JML'

-> `TIGER'

-> `AVCBin'

-> `AVCE00'

mostlyAtNight commented 8 years ago

Hi there,

From the look of the output, it appears that ogr2ogr that (possibly) shipped with your QGIS instalaltion was not built with support for the PostgreSQL driver (required by os translator).

I would offer to test further but unfortunately do not have access to a mac.

Is there a possibility of raising this issue with the package maintainers of the MacPorts build of QGIS?

Kind regards,

Pete