0

I'm trying to import an osm.pbf file into my database using postgis but I get this error. I did it on Linux, it worked but on Windows it doesn't. I installed the ODBC driver that supports SCRAM on my local server but I don't really know if it was taken into consideration.

Here is my command line :

imposm import -config config.json -read france-latest.osm.pbf -write

Here is my json file :

{
    "connection": "postgis://osm:osm@localhost:5432/osm",
    "mapping": "mapping.yml",
    "cachedir": "/var/local/imposm",
    "srid": 4326
}

Here is the error I am facing : opening database: opening db: ping Postgres DB: pq: unknown authentication response: 10

And when I try this command : imposm import -config config.json [args...] -read france-latest.osm.pbf -write

Here is what I get :

[2023-03-31T11:49:28+02:00] 0:00:00 [step] Starting: Imposm
[2023-03-31T11:49:28+02:00] 0:00:00 [step] Finished: Imposm in 29.9192ms

0 Answers0