Created
June 28, 2020 06:16
-
-
Save jorgejesus/ba60a4f609f000e0b43363a984812b9f to your computer and use it in GitHub Desktop.
openapi.get_oas_30_ .config
This file contains hidden or 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': '[email protected]', | |
'url': 'Contact URL', | |
'hours': 'Hours of Service', | |
'instructions': 'During hours of service. Off on weekends.', | |
'role': 'pointOfContact' | |
} | |
}, | |
'resources': { | |
'obs': { | |
'type': 'collection', | |
'title': 'Observations', | |
'description': 'My cool observations', | |
'keywords': [ | |
'observations', | |
'monitoring' | |
], | |
'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' | |
} | |
], | |
'context': [ | |
{ | |
'schema': 'https://schema.org/', | |
'stn_id': { | |
'@id': 'schema:identifier', | |
'@type': 'schema:Text' | |
}, | |
'datetime': { | |
'@type': 'schema:DateTime', | |
'@id': 'schema:observationDate' | |
}, | |
'value': { | |
'@type': 'schema:Number', | |
'@id': 'schema:QuantitativeValue' | |
} | |
} | |
], | |
'filters': [ | |
'cql-text', | |
'cql-json' | |
], | |
'extents': { | |
'spatial': { | |
'bbox': [ | |
-180, | |
-90, | |
180, | |
90 | |
], | |
'crs': 'http://www.opengis.net/def/crs/OGC/1.3/CRS84' | |
}, | |
'temporal': { | |
'begin': datetime.datetime(2000, | |
10, | |
30, | |
18, | |
24, | |
39, | |
tzinfo=datetime.timezone.utc), | |
'end': datetime.datetime(2007, | |
10, | |
30, | |
8, | |
57, | |
29, | |
tzinfo=datetime.timezone.utc), | |
'trs': 'http://www.opengis.net/def/uom/ISO-8601/0/Gregorian' | |
} | |
}, | |
'provider': { | |
'name': 'CSV', | |
'data': 'tests/data/obs.csv', | |
'id_field': 'id', | |
'geometry': { | |
'x_field': 'long', | |
'y_field': 'lat' | |
} | |
} | |
}, | |
'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