I want to use T-rex as vector tileserver on Windows. I load osm.pbf file (from geofabrik) to PostGIS database with osm2pgsql successfully.
When I run the server with the following commands, I get the error message :
- Command :
t_rex serve --dbconn postgresql://Myuser:Mypass@localhost/Mydb
- Error :
ERROR IO error: invalid utf-8 sequence of 1 bytes from index 34
Even when I just want to generate the config file, same error :
t_rex genconfig --dbconn postgresql://Myuser:Mypass@localhost/Mydb
I suspect this is a postgis setup problem ... that may not have anything to do with T-rex? Unless it is an import configuration problem?
Note that using T-rex directly with a pbf file does not pose this problem (t_rex serve --datasource My.osm.pbf).