Skip to content

Commit

Permalink
cleanup: remove references to raster data docs, config, docker setup #…
Browse files Browse the repository at this point in the history
…815

follow-up to #813

#815
  • Loading branch information
mmerdes committed Aug 26, 2024
1 parent 0d74064 commit 2c84e71
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 71 deletions.
3 changes: 0 additions & 3 deletions config/sample.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ postgres_port: 5445
postgres_db: oqapi
postgres_user: oqapi
postgres_password: oqapi
# Data directory for raster files
# Default: repo-root/data
data_dir: /some/absolute/path
# Restrict size of input geometry
geom_size_limit: 1000
# Python logging level
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ services:
build: .
environment:
OQAPI_CONFIG: /config/config.yaml
OQAPI_DATA_DIR: /data
POSTGRES_HOST: oqapi-database
POSTGRES_PORT: 5432
command: poetry run python scripts/start_api.py --host 0.0.0.0
Expand Down
1 change: 0 additions & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Below is a table listing all possible configuration variables.
| Postgres User | `POSTGRES_USER` | `postgres_user` | `oqapi` | " |
| Postgres Password | `POSTGRES_PASSWORD` | `postgres_password` | `oqapi` | " |
| Configuration File Path | `OQAPI_CONFIG` | - | `config/config.yaml` | Absolute path to the configuration file |
| Data Directory | `OQAPI_DATA_DIR` | `data_dir` | `data` | Absolute path to the directory for raster files |
| Geometry Size Limit (km²) | `OQAPI_GEOM_SIZE_LIMIT` | `geom_size_limit` | `1000` | Area restriction of the input geometry |
| Python Log Level | `OQAPI_LOG_LEVEL` | `log_level` | `INFO` | Python logging level |
| Concurrent Computations | `OQAPI_CONCURRENT_COMPUTATIONS` | `concurrent_computations` | `4` | Limit number of concurrent Indicator computations for one API request |
Expand Down
2 changes: 1 addition & 1 deletion docs/development_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ For development setup please continue reading.

This project uses [Poetry](https://python-poetry.org/docs/) for packaging and dependencies management. Please make sure it is installed on your system.

For development a database and raster datasets on disk might not be needed. In case the database is needed start the database service defined in the docker compose file. If raster datasets are needed please refer to [/docs/raster_datasets.md](/docs/raster_datasets.md) for setting those up.
For development a database might not be needed. In case the database is needed start the database service defined in the docker compose file.


## Installation
Expand Down
62 changes: 0 additions & 62 deletions docs/raster_datasets.md

This file was deleted.

3 changes: 0 additions & 3 deletions tests/unittests/fixtures/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ postgres_port: 5445
postgres_db: oqapi
postgres_user: oqapi
postgres_password: oqapi
# Data directory for raster files
# Default: repo-root/data
data_dir: /some/absolute/path
# Restrict size of input geometry
geom_size_limit: 100
# Python logging level
Expand Down

0 comments on commit 2c84e71

Please sign in to comment.