[Tile-serving] [osm2pgsql-dev/osm2pgsql] can osm2pgsql support PGSERVICEFILE ? (Discussion #2437)

Sarah Hoffmann notifications at github.com
Sat Dec 6 15:22:48 UTC 2025


Just use the PGSERVICE variable:

    PGSERVICE=gis PGSERVICEFILE=credentials-gis.pg osm2pgsql ...

Or use a URI for the database parameter.

Please see the [osm2pgsql documentation](https://osm2pgsql.org/doc/manual.html#database-connection) on details for the URI and the [PostgreSQL documentation](https://www.postgresql.org/docs/current/libpq-envars.html) on details of environment variables.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2437#discussioncomment-15180526
You are receiving this because you are subscribed to this thread.

Message ID: <osm2pgsql-dev/osm2pgsql/repo-discussions/2437/comments/15180526 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20251206/fe76c7ee/attachment.htm>


More information about the Tile-serving mailing list