Troubleshooting
Tile Server
To get more information about what’s going on behind the scenes, run the server with the --debug
command line parameter:
./pg_tileserv --debug
Or, turn on debugging in the configuration file.
Web Layer
Hitting your service end points with a command-line utility like curl can also yield useful information:
curl -I http://localhost:7800/index.json
Database Layer
The debug mode of the tile server returns the SQL that is being called on the database. If you want to delve more deeply into all the SQL that is being run on the database, you can turn on statement logging in PostgreSQL by editing the postgresql.conf
file for your database and restarting.
Bug Reporting
If you find an issue with the tile server, bugs can be reported on GitHub at the issue tracker: