<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Try change the line:</p>
<p>"PG:host='/var/run/postgresql' port='6543' dbname='sverige'
user='sverige'" \</p>
<p>to:</p>
<p>"PG:host='localhost' port='6543' dbname='sverige' user='sverige'"
\</p>
<p>And:</p>
<p>Is port really 6543, not 5432 ?</p>
<p>What about the password ?, i.e something like:
"PG:host='localhost' port='6543' dbname='sverige' user='sverige'
password='supersecret'" \</p>
<p><br>
</p>
<p> </p>
<pre class="moz-signature" cols="72">--
Med venlig hilsen / Kind regards
Bo Victor Thomsen</pre>
<div class="moz-cite-prefix">Den 23-06-2020 kl. 09:27 skrev Thiemo
Kellner:<br>
</div>
<blockquote type="cite"
cite="mid:20200623092736.Horde.VQ7yFnT4q8msAahWUc6Bwid@webmail.gelassene-pferde.biz">Hi
<br>
<br>
I am new to spacial data processing. For a project of mine I try
to load swedish climate data in to my PostGIS installation
running/using an openSUSE Tumbleweed installation.
<br>
<br>
I downloaded the data from
<a class="moz-txt-link-freetext" href="https://www.smhi.se/pd/klimat/rcp_scenario/scid/SCID_v4.0.gdb.zip">https://www.smhi.se/pd/klimat/rcp_scenario/scid/SCID_v4.0.gdb.zip</a>
unzipped it and tried to load the data by
<br>
<br>
ogr2ogr –f "PostgreSQL" \
<br>
-overwrite \
<br>
–progress \
<br>
--config PG_USE_COPY YES \
<br>
"PG:host='/var/run/postgresql' port='6543'
dbname='sverige' user='sverige'" \
<br>
SCID_v4.0.gdb/gdb
<br>
<br>
But I receive the error "Unable to open datasource `PostgreSQL'
with the following drivers." (Find the full error message at the
bottom.
<br>
<br>
I tried to outsmart by workaround over shp file
<br>
<br>
ogr2ogr –f "ESRI Shapefile" \
<br>
-overwrite \
<br>
–progress \
<br>
SCID_v4.0.gdb/gdb.shp \
<br>
SCID_v4.0.gdb/gdb
<br>
<br>
but have been thwarted receiving the analogous error there too.
<br>
<br>
I would appreciate help a great deal.
<br>
<br>
Kind regards
<br>
<br>
Thiemo
<br>
<br>
<br>
<br>
FAILURE:
<br>
Unable to open datasource `PostgreSQL' with the following drivers.
<br>
-> `PCIDSK'
<br>
-> `netCDF'
<br>
-> `PDS4'
<br>
-> `JP2OpenJPEG'
<br>
-> `PDF'
<br>
-> `MBTiles'
<br>
-> `EEDA'
<br>
-> `ESRI Shapefile'
<br>
-> `MapInfo File'
<br>
-> `UK .NTF'
<br>
-> `OGR_SDTS'
<br>
-> `S57'
<br>
-> `DGN'
<br>
-> `OGR_VRT'
<br>
-> `REC'
<br>
-> `Memory'
<br>
-> `BNA'
<br>
-> `CSV'
<br>
-> `NAS'
<br>
-> `GML'
<br>
-> `GPX'
<br>
-> `KML'
<br>
-> `GeoJSON'
<br>
-> `GeoJSONSeq'
<br>
-> `ESRIJSON'
<br>
-> `TopoJSON'
<br>
-> `Interlis 1'
<br>
-> `Interlis 2'
<br>
-> `OGR_GMT'
<br>
-> `GPKG'
<br>
-> `SQLite'
<br>
-> `ODBC'
<br>
-> `WAsP'
<br>
-> `PGeo'
<br>
-> `MSSQLSpatial'
<br>
-> `PostgreSQL'
<br>
-> `MySQL'
<br>
-> `OpenFileGDB'
<br>
-> `XPlane'
<br>
-> `DXF'
<br>
-> `CAD'
<br>
-> `Geoconcept'
<br>
-> `GeoRSS'
<br>
-> `GPSTrackMaker'
<br>
-> `VFK'
<br>
-> `PGDUMP'
<br>
-> `OSM'
<br>
-> `GPSBabel'
<br>
-> `SUA'
<br>
-> `OpenAir'
<br>
-> `OGR_PDS'
<br>
-> `WFS'
<br>
-> `WFS3'
<br>
-> `HTF'
<br>
-> `AeronavFAA'
<br>
-> `Geomedia'
<br>
-> `EDIGEO'
<br>
-> `GFT'
<br>
-> `SVG'
<br>
-> `CouchDB'
<br>
-> `Cloudant'
<br>
-> `Idrisi'
<br>
-> `ARCGEN'
<br>
-> `SEGUKOOA'
<br>
-> `SEGY'
<br>
-> `XLS'
<br>
-> `ODS'
<br>
-> `XLSX'
<br>
-> `ElasticSearch'
<br>
-> `Walk'
<br>
-> `Carto'
<br>
-> `AmigoCloud'
<br>
-> `SXF'
<br>
-> `Selafin'
<br>
-> `JML'
<br>
-> `PLSCENES'
<br>
-> `CSW'
<br>
-> `VDV'
<br>
-> `GMLAS'
<br>
-> `MVT'
<br>
-> `TIGER'
<br>
-> `AVCBin'
<br>
-> `AVCE00'
<br>
-> `NGW'
<br>
-> `HTTP'
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>