bbox-services / bbox

BBOX services
https://www.bbox.earth/
Apache License 2.0
55 stars 9 forks source link

Provide a configuration example (bbox.toml) #53

Open rduivenvoorde opened 4 months ago

rduivenvoorde commented 4 months ago

Very cool @pka !

Had the QGIS/WMS running in about 15 minutes!

Because the default release for Linux does not contain some kind of reference bbox.toml, I was happy to find:

https://github.com/bbox-services/bbox/blob/main/docker/bbox/bbox-full.toml

But apparently that one is old? Because in there there is a [wmsserver.qgis_backend] while in the docs https://www.bbox.earth/map-server/configuration.html there is [mapserver.qgis_backend]

I think it would be handy to add a bbox.toml with every release in which you find all options (commented if optional). As I was busy with Prometheus today, I was eager to click the 'metrics' link, but no till I found the bbox.toml example in the docker dir, it worked :-)

Anyway: thanks!

pka commented 4 months ago

Hi Richard, Thanks for your feedback! How to start from scratch urgently needs a chapter in the documentation. The docker-compose environment is out of date, indeed. There is a reference configuration file in the repo: https://github.com/bbox-services/bbox/blob/main/bbox.toml. This will cause errors because of missing data sources, but is a better starting point.

What do you mean, is there a demand for an easy way to get QGIS Server or Mapserver running on Windows? Currently, the FCGI implementation is Unix sockets only, but would't be difficult to support TCP sockets.

rduivenvoorde commented 4 months ago

What do you mean, is there a demand for an easy way to get QGIS Server or Mapserver running on Windows? Currently, the FCGI implementation is Unix sockets only, but would't be difficult to support TCP sockets.

Mmm, I do not know, no need for me :-) . Why do you think I was asking for that?

pka commented 4 months ago

I did understand that you tested BBOX as map service probably using QGIS Server. Since I'm not in touch with Windows users, I ask everyone who might have contact with this big user group, what their use cases are. One intersting use case, I could imagine, is running a map and/or tile service with a single command and without any configuration.

I'll rename this issue, since the wmsserver/mapserver error has been fixed with #54