File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 steps :
99 - uses : actions/setup-python@v5
1010 with :
11- python-version : ' >=3.9 '
11+ python-version : ' >=3.10 '
1212 - uses : actions/checkout@v4
1313 - name : Install pipenv
1414 run : |
1515 pip install pipenv
1616 pipenv install
1717 - run : pipenv run test-docs
1818 - run : pipenv run test-schema
19- - run : pipenv run test-geojson
20- - run : pipenv run test-geoparquet
19+ - run : pipenv run test-examples
Original file line number Diff line number Diff line change @@ -17,7 +17,5 @@ Finally, you can run the tests as follows:
1717
1818- To check the markdown run: ` pipenv run test-docs `
1919- To check the Vecorel schema run: ` pipenv run test-schema `
20- - To check the examples run:
21- - ` pipenv run test-geojson ` for GeoJSON
22- - ` pipenv run test-geoparquet ` for GeoParquet
20+ - To check the examples run: ` pipenv run test-examples `
2321- To create a GeoParquet from the GeoJSON examples: ` pipenv run create-geoparquet `
Original file line number Diff line number Diff line change @@ -4,12 +4,11 @@ verify_ssl = true
44name = " pypi"
55
66[packages ]
7- vecorel-cli = " >=0.3 "
7+ vecorel-cli = " >=0.1 "
88pymarkdownlnt = " >=0.9"
99
1010[scripts ]
1111test-docs = " pymarkdown -d md024,md013 scan ."
12- test-schema = " vecorel validate-schema schema/schema.yaml"
13- test-geojson = " vecorel validate examples/geojson -e https://vecorel.github.io/extension-template/v0.1.0/schema.yaml,schema/schema.yaml --data"
14- test-geoparquet = " vecorel validate examples/geoparquet -e https://vecorel.github.io/extension-template/v0.1.0/schema.yaml,schema/schema.yaml --data"
15- create-geoparquet = " vecorel create-geoparquet examples/geojson -o examples/geoparquet/example.parquet -c examples/geojson/collection.json -e https://vecorel.github.io/extension-template/v0.1.0/schema.yaml,schema/schema.yaml"
12+ test-schema = " vec validate-schema schema/schema.yaml"
13+ test-examples = " vec validate examples/geojson examples/geoparquet -s https://vecorel.github.io/extension-template/v0.1.0/schema.yaml,schema/schema.yaml -n -1"
14+ create-geoparquet = " vec create-geoparquet examples/geojson -o examples/geoparquet/example.parquet -s https://vecorel.github.io/extension-template/v0.1.0/schema.yaml,schema/schema.yaml"
Original file line number Diff line number Diff line change @@ -19,11 +19,6 @@ This is the place to add a short introduction.
1919
2020## Properties
2121
22- The properties in the table below can be used in these parts of Vecorel documents:
23-
24- - [ ] Collection
25- - [x] Feature Properties
26-
2722| Property Name | Type | Description |
2823| --------------- | ------ | ----------- |
2924| template: field1 | string | ** REQUIRED** . Describe the required field... |
Original file line number Diff line number Diff line change 11{
2- "schemas" : [
3- " https://vecorel.github.io/specification/v0.1.0/schema.yaml" ,
4- " https://vecorel.github.io/template-extension/v0.1.0/schema.yaml"
5- ],
2+ "schemas" : {
3+ "example" : [
4+ " https://vecorel.github.io/specification/v0.1.0/schema.yaml" ,
5+ " https://vecorel.github.io/extension-template/v0.1.0/schema.yaml"
6+ ]
7+ },
68 "type" : " Feature" ,
7- "id" : " example " ,
9+ "id" : " example123 " ,
810 "bbox" : [
911 172.91173669923782 ,
1012 1.3438851951615003 ,
3941 ]
4042 },
4143 "properties" : {
44+ "collection" : " example" ,
4245 "template:field1" : 1 ,
4346 "template:field2" : " abc"
44- },
45- "links" : [
46- {
47- "rel" : " collection" ,
48- "href" : " collection.json" ,
49- "type" : " application/json"
50- }
51- ]
47+ }
5248}
You can’t perform that action at this time.
0 commit comments