@@ -3,13 +3,12 @@ local subdir = 'WCMC';
33
44local ee_const = import 'earthengine_const.libsonnet' ;
55local ee = import 'earthengine.libsonnet' ;
6- local spdx = import 'spdx.libsonnet' ;
7-
8- local license = spdx.proprietary;
6+ local wcmc = import 'wcmc_common.libsonnet' ;
97
108local basename = std.strReplace (id, '/' , '_' );
119local base_filename = basename + '.json' ;
1210local self_ee_catalog_url = ee_const.ee_catalog_url + basename;
11+ local s = wcmc.schema_fields;
1312
1413{
1514 stac_version: ee_const.stac_version,
@@ -19,297 +18,31 @@ local self_ee_catalog_url = ee_const.ee_catalog_url + basename;
1918 ee_const.ext_ver,
2019 ],
2120 id: id,
22- title: 'WDOECM: Other Effective Area-based Conservation Measures (points)' ,
21+ title: 'WDOECM: Other Effective Area-based Conservation Measures (points) [deprecated] ' ,
2322 version: 'July 2024' ,
2423 'gee:type' : ee_const.gee_type.table,
25- description: |||
26- A geographically defined area other than a Protected Area, which is governed
27- and managed in ways that achieve positive and sustained long-term outcomes
28- for the in situ conservation of biodiversity, with associated ecosystem
29- functions and services and where applicable, cultural, spiritual,
30- socio-economic, and other locally relevant values.
31-
32- The WDOECM has two feature classes with associated spatial
33- and tabular data.
34- The World Database on Other Effective Area-based Conservation Measures
35- (WDOECM) is a global repository of information on Other Effective
36- Area-based Conservation Measures (OECMs). It is managed by the United
37- Nations Environment Programme's World Conservation Monitoring Centre
38- (UNEP-WCMC) with support from the Convention on Biological Diversity
39- (CBD).
40-
41- **WDOECM User Manual.** For details including methodologies,standards, data
42- providers, metadata field definitions and descriptions, refer
43- to the [WDOECM User Manual](https://wdpa.s3-eu-west-1.amazonaws.com/WDPA_Manual/English/WDPA_WDOECM_Manual_1_6.pdf).
44-
45- **Asset Naming Conventions.** WCMC updates the WDOECM on a
46- monthly basis. The most recent version is always available as
47- WCMC/WDOECM/current/polygons and WCMC/WDOECM/current/points. Historical
48- versions, starting with May 2024, are available in the format
49- WCMC/WDOECM/YYYYMM/polygons and WCMC/WDOECM/YYYYMM/points.
50-
51- Please see the [WDOECM User Manual](https://wdpa.s3-eu-west-1.amazonaws.com/WDPA_Manual/English/WDPA_WDOECM_Manual_1_6.pdf)
52- for additional details on the field list.
53- ||| ,
54- license: license.id,
24+ 'gee:status' : 'deprecated' ,
25+ description: wcmc.wdoecm_description,
26+ license: wcmc.license.id,
5527 links: ee.standardLinks(subdir, id) + [
5628 ee.link.example(id, subdir, basename + '_FeatureView' ),
29+ ee.link.successor(
30+ 'WCMC/WDPCA/current/points' ,
31+ ee_const.catalog_base + 'WCMC/WCMC_WDPCA_current_points.json'
32+ ),
5733 ],
5834 'gee:categories' : ['ecosystems' ],
59- keywords: [
60- 'boundaries' ,
61- 'iucn' ,
62- 'marine' ,
63- 'mpa' ,
64- 'protected' ,
65- 'wcmc' ,
66- 'wdpa' ,
67- ],
68- providers: [
69- ee.producer_provider('UN Environment World Conservation Monitoring Centre (UNEP-WCMC) / Protected Planet' , 'https://www.protectedplanet.net/' ),
70- ee.host_provider(self_ee_catalog_url),
71- ],
35+ keywords: wcmc.keywords,
36+ providers: wcmc.providers(self_ee_catalog_url),
7237 // TODO(b/229788379): how to represent an ongoing end date?
7338 extent: ee.extent_global('2024-05-01T00:00:00Z' , '2030-01-01T00:00:00Z' ),
7439 summaries: {
7540 'gee:schema' : [
76- {
77- name: 'CONS_OBJ' ,
78- description: |||
79- Designation type, categorized as National, Regional,
80- International, or Not Applicable.
81- ||| ,
82- type: ee_const.var_type.string,
83- },
84- {
85- name: 'DESIG' ,
86- description: |||
87- Designation of the protected area or OECM in the native language,
88- provided by the data provider.
89- ||| ,
90- type: ee_const.var_type.string,
91- },
92- {
93- name: 'DESIG_ENG' ,
94- description: |||
95- Designation of the protected area or OECM in English. If the original
96- language is English, this field will contain the same value as DESIG.
97- No fixed values for national-level designations.
98- ||| ,
99- type: ee_const.var_type.string,
100- },
101- {
102- name: 'DESIG_TYPE' ,
103- description: |||
104- Designation type, categorized as National, Regional, International,
105- or Not Applicable.
106- ||| ,
107- type: ee_const.var_type.string,
108- },
109- {
110- name: 'GOV_TYPE' ,
111- description: |||
112- Governance type under which the protected area or OECM operates, such
113- as Federal or National Ministry or Agency, Sub-national Ministry or
114- Agency, Collaborative governance, etc.
115- ||| ,
116- type: ee_const.var_type.string,
117- },
118- {
119- name: 'INT_CRIT' ,
120- description: |||
121- International criteria used for World Heritage Sites and Ramsar sites,
122- assigned by UNEP-WCMC.
123- ||| ,
124- type: ee_const.var_type.string,
125- },
126- {
127- name: 'ISO3' ,
128- description: |||
129- ISO3 Code.
130- [ISO 3166-3 character code](https://en.wikipedia.org/wiki/ISO_3166-3)
131- of the country or territory where the protected area or OECM is
132- located.
133- ||| ,
134- type: ee_const.var_type.string,
135- },
136- {
137- name: 'IUCN_CAT' ,
138- description: |||
139- IUCN management category classifies protected areas according to their
140- management objectives. Categories include Ia (Strict Nature Reserve),
141- II (National Park), VI (Protected Area with sustainable use of natural
142- resources), etc.
143- ||| ,
144- type: ee_const.var_type.string,
145- },
146- {
147- name: 'MANG_AUTH' ,
148- description: |||
149- Management authority responsible for managing the protected area or
150- OECM.
151- ||| ,
152- type: ee_const.var_type.string,
153- },
154- {
155- name: 'MANG_PLAN' ,
156- description: |||
157- Indicates whether a management plan exists for the protected area or
158- OECM.
159- ||| ,
160- type: ee_const.var_type.string,
161- },
162- {
163- name: 'MARINE' ,
164- description: |||
165- Indicates whether the area is terrestrial or marine. Values: 0 for
166- terrestrial, 1 for coastal, and 2 for marine. Essential for
167- understanding the nature of the protected area.
168- ||| ,
169- type: ee_const.var_type.string,
170- },
171- {
172- name: 'METADATAID' ,
173- description: |||
174- Unique identifier for the metadata record associated with the
175- protected area or OECM.
176- ||| ,
177- type: ee_const.var_type.int,
178- },
179- {
180- name: 'NAME' ,
181- description: |||
182- Legal name or other name assigned to the protected area or OECM in
183- Latin characters.
184- ||| ,
185- type: ee_const.var_type.string,
186- },
187- {
188- name: 'NO_TAKE' ,
189- description: |||
190- No-take areas within the protected area or OECM where extractive
191- activities are prohibited. Values include All, Part, None, Not
192- Reported, and Not Applicable.
193- ||| ,
194- type: ee_const.var_type.string,
195- },
196- {
197- name: 'NO_TK_AREA' ,
198- description: |||
199- Area of the no-take zone within the protected area or OECM, measured
200- in square kilometers.
201- ||| ,
202- type: ee_const.var_type.double,
203- },
204- {
205- name: 'ORIG_NAME' ,
206- description: |||
207- Original name of the protected area or OECM in its original language
208- or characters.
209- ||| ,
210- type: ee_const.var_type.string,
211- },
212- {
213- name: 'OWN_TYPE' ,
214- description: |||
215- Ownership type of the land and/or waters within the protected area or
216- OECM. Accepted values include State, Communal, Individual landowners,
217- For-profit organizations, etc.
218- ||| ,
219- type: ee_const.var_type.string,
220- },
221- {
222- name: 'PARENT_ISO' ,
223- description: |||
224- Parent ISO3 code.
225- [ISO 3166-3 character code](https://en.wikipedia.org/wiki/ISO_3166-3)
226- of the parent country if the protected area or OECM spans multiple
227- countries.
228- ||| ,
229- type: ee_const.var_type.string,
230- },
231- {
232- name: 'PA_DEF' ,
233- description: |||
234- Indicates whether the area meets the IUCN definition of a protected
235- area. Values: 1 for yes, 0 for no (stored outside WDPA).
236- ||| ,
237- type: ee_const.var_type.string,
238- },
239- {
240- name: 'REP_AREA' ,
241- description: |||
242- The total reported area of the protected area or OECM in square
243- kilometers, including both marine (if applicable) and terrestrial
244- areas, as specified in the legal text.
245- ||| ,
246- type: ee_const.var_type.double,
247- },
248- {
249- name: 'REP_M_AREA' ,
250- description: |||
251- Reported marine area in square kilometers within the protected area
252- or OECM.
253- ||| ,
254- type: ee_const.var_type.double,
255- },
256- {
257- name: 'STATUS' ,
258- description: |||
259- Current status of the protected area or OECM, such as Proposed,
260- Designated, or Established.
261- ||| ,
262- type: ee_const.var_type.string,
263- },
264- {
265- name: 'STATUS_YR' ,
266- description: |||
267- Year when the current status of the protected area or OECM was
268- enacted.
269- ||| ,
270- type: ee_const.var_type.int,
271- },
272- {
273- name: 'SUB_LOC' ,
274- description: |||
275- Sub-national location or administrative region where the protected
276- area or OECM is situated. If the PA is in more than one region,
277- multiple ISO-3166-2 codes can be listed.
278- ||| ,
279- type: ee_const.var_type.string,
280- },
281- {
282- name: 'SUPP_INFO' ,
283- description: |||
284- Supplementary information supporting the categorization of the site
285- as an OECM.
286- ||| ,
287- type: ee_const.var_type.string,
288- },
289- {
290- name: 'VERIF' ,
291- description: |||
292- Verification status of the data, indicating whether it has been
293- verified by state authorities or other recognized entities. Values:
294- State Verified, Expert Verified, or Not Reported.
295- ||| ,
296- type: ee_const.var_type.string,
297- },
298- {
299- name: 'WDPAID' ,
300- description: |||
301- Unique identifier for a protected area (PA), assigned by UNEP-WCMC.
302- ||| ,
303- type: ee_const.var_type.double,
304- },
305- {
306- name: 'WDPA_PID' ,
307- description: |||
308- Unique identifier for parcels or zones within a PA, assigned by
309- UNEP-WCMC.
310- ||| ,
311- type: ee_const.var_type.string,
312- },
41+ s.CONS_OBJ, s.DESIG, s.DESIG_ENG, s.DESIG_TYPE, s.GOV_TYPE, s.INT_CRIT,
42+ s.ISO3, s.IUCN_CAT, s.MANG_AUTH, s.MANG_PLAN, s.MARINE, s.METADATAID,
43+ s.NAME, s.NO_TAKE, s.NO_TK_AREA, s.ORIG_NAME, s.OWN_TYPE, s.PRNT_ISO3,
44+ s.PA_DEF, s.REP_AREA, s.REP_M_AREA, s.STATUS, s.STATUS_YR, s.SUB_LOC,
45+ s.SUPP_INFO, s.VERIF, s.WDPAID, s.WDPA_PID,
31346 ],
31447 'gee:visualizations' : [
31548 {
@@ -347,33 +80,7 @@ local self_ee_catalog_url = ee_const.ee_catalog_url + basename;
34780 prerender_tiles: true ,
34881 },
34982 },
350- 'sci:citation': |||
351- UNEP-WCMC and IUCN (year), Protected Planet: The World Database
352- on OECM Database [On-line], [insert month/year of the
353- version used], Cambridge, UK: UNEP-WCMC and IUCN Available at:
354- www.protectedplanet.net.
355- ||| ,
356- 'gee:terms_of_use': |||
357- Please visit the [full terms and conditions page](https://www.protectedplanet.net/c/terms-and-conditions)
358- of Protected Planet. Select highlights below:
359-
360- **No Commercial Use.** Neither (a) the WDOECM Materials nor (b) any work
361- derived from or based upon the WDOECM Materials (\"Derivative Works\")
362- may be put to Commercial Use without the prior written permission
363- of UNEP-WCMC. \"Commercial Use\" means a) any use by, on behalf
364- of, or to inform or assist the activities of, a commercial entity
365- (an entity that operates 'for profit') or b) use by any individual
366- or non-profit entity for the purposes of revenue generation.
367-
368- **Disclaimer.** The designations of geographical entities
369- in any Data Set do not imply the expression of any view or opinion
370- whatsoever on the part of UNEP or WCMC concerning the legal status
371- of any country, territory, or area, or of its authorities, or
372- concerning the delimitation of its frontiers or boundaries.
373-
374- **Attribution.** You must ensure that the citation is always
375- clearly reproduced in any publication or analysis involving the
376- WDOECM Materials in any derived form or format.
377- ||| ,
378- 'gee:unusual_terms_of_use' : true ,
83+ 'sci:citation' : wcmc.citation,
84+ 'gee:terms_of_use' : wcmc.terms_of_use,
85+ 'gee:unusual_terms_of_use' : wcmc.unusual_terms_of_use,
37986}
0 commit comments