Skip to content

Commit

Permalink
Merge pull request #1 from webb-ben/main
Browse files Browse the repository at this point in the history
update config file
  • Loading branch information
Kyle Onda authored Sep 9, 2021
2 parents f28e4f8 + 6d635ff commit 48faddc
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 14 deletions.
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

0 comments on commit 48faddc

Please sign in to comment.