t-rex-tileserver / t-rex

t-rex is a vector tile server specialized on publishing MVT tiles from your own data
https://t-rex.tileserver.ch/
MIT License
545 stars 68 forks source link

GDAL datasource not supported in this build #239

Closed chris-aeviator closed 2 years ago

chris-aeviator commented 3 years ago

I downloaded t_rex from the releases section of this repo.

When running it as described in the docs with a SHP, it errors with

t_rex serve --datasource 20210303_NDVI_4326.shp
2021-03-16 11:45:58.318 ERROR GDAL datasource not supported in this build
Either 'config', 'dbconn' or 'datasource' is required

On (Arch) Linux

UDATE:

I'm able to use the docker version with no issues. As a user I still expect all commands in the documentation to be runable when I download t-rex according to the docs setup isntructions. Therefore the docs should mention missing GDAL features when downloading from github/ not building themselves or even better, t-rex should be built with all the features mentioned in the docs by default.

pka commented 3 years ago

The binary tarballs are built without GDAL driver to be compatible with as many distros as possible. The deb packages and the Docker container are built with GDAL support.

chris-aeviator commented 3 years ago

ok - do you see updating the docs with a little line about it a possibility ? It saves all new user's that use the readily compiled bin some frustration.

pka commented 3 years ago

They description on the download page https://t-rex.tileserver.ch/doc/setup/ is "Binary with minimal dependencies". Maybe we should clarify similar to "Binary with minimal dependencies (no GDAL driver)"?

chris-aeviator commented 3 years ago

yes I think this would help!

pka commented 2 years ago

Done