generated from internetofwater/gwtc2022-workshop
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpygeoapi.config.yml
215 lines (211 loc) · 7.8 KB
/
pygeoapi.config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
#
# LAST UPDATE: 2021-06-04 15:25:00-5
#=================================================================
#
# Authors: Tom Kralidis <tomkralidis@gmail.com>
#
# Copyright (c) 2020 Tom Kralidis
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
# restriction, including without limitation the rights to use,
# copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following
# conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
#
# =================================================================
server:
bind:
host: localhost #change to your hostname if running your own instance
port: 5000
url: ${PYGEOAPI_URL} # change to host URL if running your own instance
mimetype: application/json; charset=UTF-8
encoding: utf-8
gzip: true
language: 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>'
# ogc_schemas_location: /opt/schemas.opengis.net
# templates:
# path: /skin-dashboard/templates
# static: /skin-dashboard/static
logging:
level: DEBUG
# logfile: /tmp/pygeoapi.log
metadata:
identification:
title: Demo landing pages for geoconnex.us
description: Provides demonstration landing pages and embedded JSON-LD for individual features with hydrologic addresses. An example for participation in the geoconnex.us system.
keywords:
- geospatial
- data
- api
keywords_type: theme
terms_of_service: https://creativecommons.org/licenses/by/4.0/
url: https://github.com/internetofwater/geoconnex.us
license:
name: CC-BY 4.0 license
url: https://creativecommons.org/licenses/by/4.0/
provider:
name: Team geoconnex
url: https://github.com/internetofwater/geoconnex.us
contact:
address: 113 Brattle Dr
city: Camrbidge
stateorprovince: Massachussetts
postalcode: 02138
country: USA
email: konda@lincolninst.edu
url: https://internetofwater.org
role: pointOfContact
resources:
demo-csv:
type: collection
title: geoconnex landing page demo (csv file)
description: Demonstration Geoconnex Landing Pages (from local CSV data source)
keywords:
- Existing Sites
template: jsonld/hydrologic-location.jsonld
links:
- type: application/html
rel: canonical
title: data source
href: https://data.ca.gov/dataset/gsp-monitoring-data/resource/ab3f524c-850f-40e4-b27a-6cae7154add5
hreflang: en-US
extents:
spatial:
bbox: [-170,15,-51,72]
crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84
temporal:
begin: null
end: null
providers:
- type: feature
name: CSV
data: /data/data.csv
id_field: EXISTING_INFO_ID
geometry:
x_field: LONGITUDE
y_field: LATITUDE
demo-geojson:
type: collection
title: geoconnex landing page demo (geoJSON file)
description: Demonstration Geoconnex Landing Pages (from local geoJSON data source)
keywords:
- Existing Sites
template: jsonld/hydrologic-location.jsonld
links:
- type: application/html
rel: canonical
title: data source
href: https://data.ca.gov/dataset/gsp-monitoring-data/resource/ab3f524c-850f-40e4-b27a-6cae7154add5
hreflang: en-US
extents:
spatial:
bbox: [-170,15,-51,72]
crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84
temporal:
begin: null
end: null
providers:
- type: feature
name: GeoJSON
data: /data/data.geojson
id_field: EXISTING_INFO_ID
demo-gpkg:
type: collection
title: geoconnex landing page demo (gpkg file)
description: Demonstration Geoconnex Landing Pages (from local GeoPackage data source)
keywords:
- Existing Sites
template: jsonld/hydrologic-location.jsonld
links:
- type: application/html
rel: canonical
title: data source
href: https://data.ca.gov/dataset/gsp-monitoring-data/resource/ab3f524c-850f-40e4-b27a-6cae7154add5
hreflang: en-US
extents:
spatial:
bbox: [-170,15,-51,72]
crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84
temporal:
begin: null
end: null
providers:
- type: feature
name: SQLiteGPKG
data: /data/data.gpkg
id_field: EXISTING_INFO_ID
table: data
demo-esri:
type: collection
title: geoconnex landing page demo (ESRI web service)
description: Demonstration Geoconnex Landing Pages (from ESRI REST service source)
keywords:
- Existing Sites
template: jsonld/hydrologic-location.jsonld
links:
- type: application/html
rel: canonical
title: data source
href: https://data.ca.gov/dataset/gsp-monitoring-data/resource/ab3f524c-850f-40e4-b27a-6cae7154add5
hreflang: en-US
extents:
spatial:
bbox: [-170,15,-51,72]
crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84
temporal:
begin: null
end: null
providers:
- type: feature
name: ESRI
data: https://services.arcgis.com/aa38u6OgfNoCkTJ6/ArcGIS/rest/services/GSP_Monitoring_Data/FeatureServer/0
id_field: EXISTING_INFO_ID
demo-ckan:
type: collection
title: geoconnex landing page demo (CKAN web service)
description: Demonstration Geoconnex Landing Pages (from CKAN REST service source)
keywords:
- Existing Sites
template: jsonld/hydrologic-location.jsonld
links:
- type: application/html
rel: canonical
title: data source
href: https://data.ca.gov/dataset/gsp-monitoring-data/resource/ab3f524c-850f-40e4-b27a-6cae7154add5
hreflang: en-US
extents:
spatial:
bbox: [-170,15,-51,72]
crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84
temporal:
begin: null
end: null
providers:
- type: feature
name: CKAN
data: https://data.ca.gov/api/3/action/datastore_search
resource_id: ab3f524c-850f-40e4-b27a-6cae7154add5
id_field: SITE_CODE
x_field: LONGITUDE
y_field: LATITUDE