c1e9943c48
* new file: docker/Dockerfile Dockerfile for pygeoapi * Using 0.0.0.0 in pygeoapi-config otherwise no docker for flask * ES and pygeoapi docker * Final file structure * generic port 5000 and localhost * sqlit3 suport in alpine and fixes on sqlite provider * B4 sync with upstream * Working composition problems with ES features * Cosmetic changes update to README.md * using load_es_data.py from github local openapi.yml * added docker pull only of pygeoapi * b4 rebase * Using 0.0.0.0 in pygeoapi-config otherwise no docker for flask * ES and pygeoapi docker * Final file structure * generic port 5000 and localhost * sqlit3 suport in alpine and fixes on sqlite provider * B4 sync with upstream * Cosmetic changes update to README.md * using load_es_data.py from github local openapi.yml * added docker pull only of pygeoapi * b4 rebase * updates and sync * missing proper local.config.yml * wait-for pygeoapi * sync with master config * deleted: docker/ES/wait-for-it.sh new file: docker/pygeoapi/docker-entrypoint.sh new file: docker/pygeoapi/run_pygeoapi.sh openapi.yml pygeoapi/provider/__sqlite.py Missing sh files * missing set +e * wait for ES to be yellow or green * More detailed Readme * new file: .gitignore * simple image docker * missing docker run * new file: Dockerfile new file: docker.config.yml new file: run_pygeoapi.sh Simple image * typos on README
134 lines
3.6 KiB
YAML
134 lines
3.6 KiB
YAML
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
|
|
# templates: /path/to/templates
|
|
|
|
logging:
|
|
level: ERROR
|
|
#logfile: /tmp/pygeoapi.log
|
|
|
|
metadata:
|
|
identification:
|
|
title: pygeoapi default instance
|
|
description: pygeoapi provides an API to geospatial data
|
|
keywords:
|
|
- geospatial
|
|
- data
|
|
- api
|
|
keywords_type: theme
|
|
terms_of_service: None
|
|
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://github.com/geopython/pygeoapi
|
|
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: Hours of Service
|
|
instructions: During hours of service. Off on weekends.
|
|
role: pointOfContact
|
|
|
|
datasets:
|
|
obs:
|
|
title: Observations
|
|
description: Observations
|
|
keywords:
|
|
- observations
|
|
- monitoring
|
|
crs:
|
|
- CRS84
|
|
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]
|
|
temporal:
|
|
begin: 2000-10-30T18:24:39Z
|
|
end: 2007-10-30T08:57:29Z
|
|
provider:
|
|
name: CSV
|
|
data: tests/data/obs.csv
|
|
id_field: id
|
|
geometry:
|
|
x_field: long
|
|
y_field: long
|
|
|
|
lakes:
|
|
title: Large Lakes
|
|
description: lakes of the world, public domain
|
|
keywords:
|
|
- lakes
|
|
crs:
|
|
- CRS84
|
|
links:
|
|
- type: text/html
|
|
rel: canonical
|
|
title: information
|
|
href: http://www.naturalearthdata.com/
|
|
hreflang: en-US
|
|
extents:
|
|
spatial:
|
|
bbox: [-180,-90,180,90]
|
|
temporal:
|
|
begin: 2011-11-11
|
|
end: now # or empty
|
|
provider:
|
|
name: GeoJSON
|
|
data: tests/data/ne_110m_lakes.geojson
|
|
id_field: id
|
|
|
|
countries:
|
|
title: Countries in the world
|
|
description: Countries of the world
|
|
keywords:
|
|
- countries
|
|
- natural eart
|
|
crs:
|
|
- CRS84
|
|
links:
|
|
- type: text/html
|
|
rel: canonical
|
|
title: information
|
|
href: http://www.naturalearthdata.com/
|
|
hreflang: en-US
|
|
extents:
|
|
spatial:
|
|
bbox: [-180,-90,180,90]
|
|
temporal:
|
|
begin: None
|
|
end: now # or empty
|
|
provider:
|
|
name: SQLite
|
|
data: tests/data/ne_110m_admin_0_countries.sqlite
|
|
id_field: ogc_fid
|
|
table: ne_110m_admin_0_countries
|