Skip to content

Instantly share code, notes, and snippets.

@TNick
Created November 29, 2020 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TNick/acf8392ba4e9ba946707c94c140576df to your computer and use it in GitHub Desktop.
Save TNick/acf8392ba4e9ba946707c94c140576df to your computer and use it in GitHub Desktop.
pygeoapi-config.yaml
server:
bind:
host: 127.0.0.1
port: 5500
url: http://127.0.0.1:5500/oapi
mimetype: application/json; charset=UTF-8
encoding: utf-8
language: en-US
cors: true
pretty_print: true
limit: 10
map:
url: https://c.tile.openstreetmap.org/{z}/{x}/{y}.png
attribution: '<a href="https://wikimediafoundation.org/wiki/Maps_Terms_of_Use">Wikimedia maps</a> | Map data &copy; <a href="https://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
logging:
level: DEBUG
metadata:
identification:
title: pygeoapi default instance
description: pygeoapi provides an API to geospatial data
keywords:
- geospatial
- data
- api
keywords_type: theme
terms_of_service: https://creativecommons.org/licenses/by/4.0/
url: http://example.org
license:
name: CC-BY 4.0 license
url: https://creativecommons.org/licenses/by/4.0/
resources:
image1:
type: collection
title: First Image
description: Let us see this image
keywords:
- geospatial
- data
- api
links: # list of 1..n related links
- type: text/csv # MIME type
rel: canonical # link relations per https://www.iana.org/assignments/link-relations/link-relations.xhtml
title: data # title
href: https://github.com/mapserver/mapserver/blob/branch-7-0/msautotest/wxs/data/obs.csv # URL
hreflang: en-US # language
extents: # spatial and temporal extents
spatial: # required
bbox: [546155.1560489489,474706.10115270154,548602.770504091,477039.46601879207] # list of minx, miny, maxx, maxy
crs: http://www.opengis.net/def/crs/EPSG/9.9.1/3844
providers:
- type: coverage
name: rasterio
data: C:\Users\Nicu\Documents\data\prog\cadeum\__archive__\FlaskAdminExplore\playground\add-aux\New folder\L-35-076-C-A-4-II-out.tIf
format:
name: TIF
mimetype: image/tiff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment