Skip to content

Commit 5753396

Browse files
authored
update CQL2 definition to reference OGC API yaml file in github, update npm build (#261)
* update CQL2 definition to reference OGCAPI yaml file in github * put related issue in list to get rich formatting
1 parent 255034c commit 5753396

File tree

11 files changed

+13326
-579
lines changed

11 files changed

+13326
-579
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
validate:
2525
working_directory: ~/stac
2626
docker:
27-
- image: cimg/node:14.7
27+
- image: cimg/node:16
2828
steps:
2929
- checkout
3030
- save_cache:

.github/pull_request_template.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
**Related Issue(s):** #
1+
**Related Issue(s):**
22

3+
- #
34

45
**Proposed Changes:**
56

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ build/Release
3535
# Dependency directories
3636
node_modules/
3737
jspm_packages/
38-
package-lock.json
3938

4039
# Typescript v1 declaration files
4140
typings/

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ from dev to master (and require 3 approvals).
4747
### Check files
4848

4949
The same check-markdown and check-openapi programs that runs as a check on PR's is part of the repo and can be run locally.
50-
To install you'll need npm, which is a standard part of any [node.js installation](https://nodejs.org/en/download/).
51-
Alternatively, you can also use [yarn](https://yarnpkg.com/) instead of npm. In this case replace all occurrences of `npm` with `yarn` below.
50+
To install you'll need npm, which is a standard part of any [node.js installation](https://nodejs.org/en/download/). Any recent version of node/npm should work.
5251

53-
First you'll need to install everything with npm once. Just navigate to the root of the stac-spec repo and on
54-
your command line run:
52+
If using nvm, run `nvm install`.
53+
54+
Install the dependencies with npm:
5555

5656
```bash
5757
npm install

collections/openapi.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ info:
1212
name: Apache License 2.0
1313
url: 'http://www.apache.org/licenses/LICENSE-2.0'
1414
tags:
15+
- name: Core
16+
description: essential characteristics of a STAC API
1517
- name: Collections
16-
description: |-
17-
All endpoints related to STAC API - Collections
18+
description: All endpoints related to STAC API - Collections
1819
paths:
1920
'/':
2021
get:
2122
tags:
22-
- Features
23+
- Core
2324
summary: landing page
2425
description: |-
2526
The landing page provides links to the sub-resources.
@@ -72,7 +73,7 @@ paths:
7273
'/collections':
7374
get:
7475
tags:
75-
- Features
76+
- Collections
7677
summary: the feature collections in the dataset
7778
description: |-
7879
A body of Feature Collections that belong or are used together with additional links.
@@ -86,7 +87,7 @@ paths:
8687
'/collections/{collectionId}':
8788
get:
8889
tags:
89-
- Features
90+
- Collections
9091
summary: |-
9192
describe the feature collection with id `collectionId`
9293
description: |-

fragments/filter/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,6 @@ Formal definitions and grammars for CQL2 can be found here:
222222
- [cql.bnf](https://github.com/opengeospatial/ogcapi-features/blob/master/extensions/cql/standard/schema/cql.bnf)
223223
- [cql.json](https://github.com/opengeospatial/ogcapi-features/blob/master/extensions/cql/standard/schema/cql.json)
224224
- [cql.yml](https://github.com/opengeospatial/ogcapi-features/blob/master/extensions/cql/standard/schema/cql.yml)
225-
- A JSON Schema for only the parts of the CQL2 JSON encoding required by this extension is [here](cql.json)
226-
- A OpenAPI specification for only the parts of the CQL2 JSON encoding required by this extension is [here](cql.yml)
227225
- xtraplatform-spatial has a CQL2 [ANTLR 4 grammer](https://github.com/interactive-instruments/xtraplatform-spatial/tree/master/xtraplatform-cql/src/main/antlr/de/ii/xtraplatform/cql/infra)
228226

229227
These projects have or are developing CQL or CQL2 support:

0 commit comments

Comments
 (0)