I am using T-Rex as vector tileserver, osm2pgsql for importing the .osm.pbf file into the PostGIS database (table format - planet_osm_line, planet_osm, point, planet_osm_polygon, planet_osm_road).

I want to display the osm vector tiles with style of osm-bright.

T-Rex is using .toml configuration file, where are specified layers with sql queries.

Do you have such a pre-configured style configuration for mentioned table structure ?

  • Did you solve the problem?
    – silgon
    Oct 17, 2018 at 18:23
  • No, I haven't solved the problem. Oct 18, 2018 at 6:09

1 Answer 1


I got my config.toml file generated from t-rex automatically. I used following command:

docker run -p 6767:6767 -v $PWD:/var/data/in:ro -v /tmp:/var/data/out sourcepole/t-rex genconfig --dbconn=postgresql://[email protected]:5432/osm

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.