How I can to set schema name parameter when call osm2pgsql? For example:

osm2pgsql --create -s -C 2500 -G  -S D:\default.style -d osm_db -o input -U osm_user -W -H localhost -r pbf D:\osm.pbf

I set the -o parameter but information was loaded in public... How do I set a target schema?

1 Answer 1


Setting a different target schema is currently not supported by osm2pgsql. See this GitHub issue for details: https://github.com/openstreetmap/osm2pgsql/issues/768

  • There is old issue and result is hasn't existed(( Thanx for information Jul 11, 2019 at 11:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.