Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update config file #1

Merged
merged 1 commit into from
Sep 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pygeoapi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM geopython/pygeoapi:latest
FROM webbben/pygeoapi-river-runner

#Add data directory
RUN mkdir /data
Expand Down
40 changes: 27 additions & 13 deletions pygeoapi/pygeoapi.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,17 @@ server:
url: https://merit.internetofwater.dev #change to host URL if running your own instance
mimetype: application/json; charset=UTF-8
encoding: utf-8
language: en-US
languages: en-US
cors: true
pretty_print: true
limit: 100
map:
url: https://tile.openstreetmap.org/{z}/{x}/{y}.png
attribution: '<a href="https://www.openstreetmap.org/copyright">© OpenStreetMap contributors</a>'
# manager:
# name: TinyDB
# connection: /tmp/pygeoapi-process-manager.db
# output_dir: /tmp/
ogc_schemas_location: /opt/schemas.opengis.net
# templates:
# path: /skin-dashboard/templates
Expand All @@ -54,14 +58,17 @@ logging:

metadata:
identification:
title: MERIT-based vector features
description: Provides flowpath/ mainstem features based on MERIT
title:
en: MERIT-based vector features
description:
en: Provides flowpath/ mainstem features based on MERIT
keywords:
- geospatial
- data
- api
- rivers
- mainstems
en:
- geospatial
- data
- api
- rivers
- mainstems
keywords_type: theme
terms_of_service: https://creativecommons.org/licenses/by/4.0/
url: https://github.com/ksonda/global-river-runner
Expand All @@ -84,11 +91,13 @@ metadata:
resources:
merit:
type: collection
title: merit
geojsonld: false
description: merit features
title:
en: merit
description:
en: merit features
keywords:
- rivers
en:
- rivers
context:
- schema: https://schema.org/
nameID: schema:name
Expand All @@ -111,4 +120,9 @@ resources:
data: /data/merit_plus_simplify.gpkg
id_field: comid
table: merit_plus


river-runner:
type: process
processor:
name: RiverRunner