A simple python script for creating basic structure for the service configuration file(store/entities/services
) for ldproxy. Script also generates structure for some api buildingblocks.
Currently the following building blocks are supported
QUERYABLES
TILES
CRS
STYLES
Edit the specific values for CRS and TILES manually after config file has been created.
- create a virtual environment
python3 -m venv venv
- activate environemnt
source venv/bin/activate
- install packages
pip install -r requirements.txt
- rename
config_example.py
toconfig.py
and edit the connection string - manually set the
id
to whatever id you need - manually edit
api_buildingblocks
list by adding or removing api buildings blocks from the list - Run the script to create the yml configuration file for a service