Geographic Information Systems Asked by ziggy on February 25, 2021
I am trying to connect a DB to pg_tileserv following these directions https://github.com/CrunchyData/pg_tileserv/blob/master/README.md
it says after download for windows:
SET DATABASE_URL=postgresql://username:password@host/dbname
pg_tileserv.exe
but there seems to be no option to pass in the port. I have to connect to another port that is not 5432
You would just add it after host. Your string becomes
postgresql://username:password@host:port/dbname
Tileserv (and Featureserv) both use PostgreSQL standard connections URIs
https://www.postgresql.org/docs/10/libpq-connect.html#LIBPQ-CONNSTRING
Correct answer by TheSteve0 on February 25, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP