Skip to content

Commit 49c3322

Browse files
authored
Update AWO ontology (#194)
1 parent 091ce48 commit 49c3322

8 files changed

Lines changed: 115695 additions & 569 deletions

File tree

.env.example

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,9 @@ TF_VAR_POSTGRES_PASSWORD=password
33
TF_VAR_POSTGRES_DB=edr
44
TF_VAR_POSTGRES_HOST=localhost
55

6-
OTEL_SERVICE_NAME=awo
6+
OTEL_SERVICE_NAME=awo
7+
8+
# Ontology mappings for AWO
9+
PYGEOAPI_ONTOLOGY_GRAPH=${PWD}/pygeoapi-deployment/ontology.ttl
10+
PYGEOAPI_ONTOLOGY_DEFAULT_PREFIX="http://lincolninst.edu/cgs/vocabularies/asu/awo#"
11+
PYGEOAPI_ONTOLOGY_CONCEPT_SCHEME=:conceptScheme_7a2617b0

pygeoapi-deployment/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ RUN uv sync --no-group etl --all-groups --all-packages
2929
COPY pygeoapi-deployment/ /opt/pygeoapi/pygeoapi-deployment/
3030

3131
COPY pygeoapi.config.yml /opt/pygeoapi/pygeoapi.config.yml
32-
COPY pygeoapi-deployment/templates/ /opt/pygeoapi/.venv/lib/python3.12/site-packages/pygeoapi/templates/
3332

3433
# Set up environment
3534
ENV PATH="/opt/pygeoapi/.venv/bin:$PATH"
@@ -41,6 +40,10 @@ ENV PYGEOAPI_CUSTOM_EVENT_LOOP_GETTER=get_loop
4140
ENV PYGEOAPI_CACHE_PLUGINS=true
4241
# Enable redis cache for items/ and collections/ endpoints
4342
ENV PYGEOAPI_FLASK_CACHE_TYPE=REDIS
43+
# AWO Ontology mapping
44+
ENV PYGEOAPI_ONTOLOGY_GRAPH=/opt/pygeoapi/pygeoapi-deployment/ontology.ttl
45+
ENV PYGEOAPI_ONTOLOGY_DEFAULT_PREFIX="http://lincolninst.edu/cgs/vocabularies/asu/awo#"
46+
ENV PYGEOAPI_ONTOLOGY_CONCEPT_SCHEME=:conceptScheme_7a2617b0
4447

4548
# Entrypoint for running the app
4649
ENTRYPOINT [ "/opt/pygeoapi/pygeoapi-deployment/entrypoint.sh" ]

pygeoapi-deployment/ontology.ttl

Lines changed: 115682 additions & 0 deletions
Large diffs are not rendered by default.

pygeoapi-deployment/templates/collections/collection.html

Lines changed: 0 additions & 260 deletions
This file was deleted.

0 commit comments

Comments
 (0)