Created
March 24, 2021 08:55
-
-
Save francbartoli/003af8e9c1c7d4d93eb5a8c6cd37849d to your computer and use it in GitHub Desktop.
pygeoapi practical session - OGC developer track
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server: | |
bind: | |
host: 0.0.0.0 | |
port: 5000 | |
url: http://localhost:5000 | |
mimetype: application/json; charset=UTF-8 | |
encoding: utf-8 | |
language: en-US | |
# cors: true | |
pretty_print: true | |
limit: 10 | |
map: | |
url: https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png | |
attribution: '<a href="https://wikimediafoundation.org/wiki/Maps_Terms_of_Use">Wikimedia maps</a> | Map data © <a href="https://openstreetmap.org/copyright">OpenStreetMap contributors</a>' | |
logging: | |
level: ERROR | |
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/ | |
provider: | |
name: Organization Name | |
url: https://pygeoapi.io | |
contact: | |
name: Lastname, Firstname | |
position: Position Title | |
address: Mailing Address | |
city: City | |
stateorprovince: Administrative Area | |
postalcode: Zip or Postal Code | |
country: Country | |
phone: +xx-xxx-xxx-xxxx | |
fax: +xx-xxx-xxx-xxxx | |
email: you@example.org | |
url: Contact URL | |
hours: Mo-Fr 08:00-17:00 | |
instructions: During hours of service. Off on weekends. | |
role: pointOfContact | |
resources: | |
obs: | |
type: collection | |
title: Observations | |
description: My cool observations | |
keywords: | |
- observations | |
- monitoring | |
context: | |
- datetime: https://schema.org/DateTime | |
- vocab: https://example.com/vocab# | |
stn_id: "vocab:stn_id" | |
value: "vocab:value" | |
links: | |
- type: text/csv | |
rel: canonical | |
title: data | |
href: https://github.com/mapserver/mapserver/blob/branch-7-0/msautotest/wxs/data/obs.csv | |
hreflang: en-US | |
- type: text/csv | |
rel: alternate | |
title: data | |
href: https://raw.githubusercontent.com/mapserver/mapserver/branch-7-0/msautotest/wxs/data/obs.csv | |
hreflang: en-US | |
extents: | |
spatial: | |
bbox: [-180,-90,180,90] | |
crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 | |
temporal: | |
begin: 2000-10-30T18:24:39Z | |
end: 2007-10-30T08:57:29Z | |
providers: | |
- type: feature | |
name: CSV | |
data: tests/data/obs.csv | |
id_field: id | |
geometry: | |
x_field: long | |
y_field: lat | |
hello-world: | |
type: process | |
processor: | |
name: HelloWorld |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server: | |
bind: | |
host: 0.0.0.0 | |
port: 5000 | |
url: http://localhost:5000 | |
mimetype: application/json; charset=UTF-8 | |
encoding: utf-8 | |
language: en-US | |
# cors: true | |
pretty_print: true | |
limit: 10 | |
map: | |
url: https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png | |
attribution: '<a href="https://wikimediafoundation.org/wiki/Maps_Terms_of_Use">Wikimedia maps</a> | Map data © <a href="https://openstreetmap.org/copyright">OpenStreetMap contributors</a>' | |
logging: | |
level: ERROR | |
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/ | |
provider: | |
name: Organization Name | |
url: https://pygeoapi.io | |
contact: | |
name: Lastname, Firstname | |
position: Position Title | |
address: Mailing Address | |
city: City | |
stateorprovince: Administrative Area | |
postalcode: Zip or Postal Code | |
country: Country | |
phone: +xx-xxx-xxx-xxxx | |
fax: +xx-xxx-xxx-xxxx | |
email: you@example.org | |
url: Contact URL | |
hours: Mo-Fr 08:00-17:00 | |
instructions: During hours of service. Off on weekends. | |
role: pointOfContact | |
resources: | |
obs: | |
type: collection | |
title: Observations | |
description: My cool observations | |
keywords: | |
- observations | |
- monitoring | |
context: | |
- datetime: https://schema.org/DateTime | |
- vocab: https://example.com/vocab# | |
stn_id: "vocab:stn_id" | |
value: "vocab:value" | |
links: | |
- type: text/csv | |
rel: canonical | |
title: data | |
href: https://github.com/mapserver/mapserver/blob/branch-7-0/msautotest/wxs/data/obs.csv | |
hreflang: en-US | |
- type: text/csv | |
rel: alternate | |
title: data | |
href: https://raw.githubusercontent.com/mapserver/mapserver/branch-7-0/msautotest/wxs/data/obs.csv | |
hreflang: en-US | |
extents: | |
spatial: | |
bbox: [-180,-90,180,90] | |
crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 | |
temporal: | |
begin: 2000-10-30T18:24:39Z | |
end: 2007-10-30T08:57:29Z | |
providers: | |
- type: feature | |
name: CSV | |
data: tests/data/obs.csv | |
id_field: id | |
geometry: | |
x_field: long | |
y_field: lat | |
lakes: | |
type: collection | |
title: Large Lakes | |
description: lakes of the world, public domain | |
keywords: | |
- lakes | |
links: | |
- type: text/html | |
rel: canonical | |
title: information | |
href: http://www.naturalearthdata.com/ | |
hreflang: en-US | |
extents: | |
spatial: | |
bbox: [-180,-90,180,90] | |
crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 | |
temporal: | |
begin: 2011-11-11 | |
end: null # or empty (either means open ended) | |
providers: | |
- type: feature | |
name: GeoJSON | |
data: tests/data/ne_110m_lakes.geojson | |
id_field: id | |
- type: tile | |
name: MVT | |
data: http://localhost:9000/ne_110m_lakes/{z}/{x}/{y} # tests/data/tiles/ne_110m_lakes | |
options: | |
metadata_format: tilejson | |
bounds: [[-124.953634,-16.536406],[109.929807,66.969298]] | |
zoom: | |
min: 0 | |
max: 11 | |
schemes: | |
- WebMercatorQuad | |
- WorldCRS84Quad | |
format: | |
name: pbf | |
mimetype: application/vnd.mapbox-vector-tile | |
hello-world: | |
type: process | |
processor: | |
name: HelloWorld |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment