Skip to content

Commit 6a2fcf8

Browse files
committed
Update specification to use Vecorel
1 parent c10e00a commit 6a2fcf8

File tree

22 files changed

+241
-864
lines changed

22 files changed

+241
-864
lines changed

.github/workflows/test.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
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: |
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/setup-python@v5
2222
with:
23-
python-version: '>=3.9'
23+
python-version: '>=3.10'
2424
- uses: actions/checkout@v4
2525
- name: Install pipenv
2626
run: |
@@ -33,12 +33,10 @@ jobs:
3333
steps:
3434
- uses: actions/setup-python@v5
3535
with:
36-
python-version: '>=3.9'
36+
python-version: '>=3.10'
3737
- uses: actions/checkout@v4
3838
- name: Install pipenv
3939
run: |
4040
pip install pipenv
4141
pipenv install
42-
- run: pipenv run test-geojson-features
43-
- run: pipenv run test-geojson-collection
44-
- run: pipenv run test-geoparquet
42+
- run: pipenv run test-examples

CHANGELOG.md

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,35 +10,23 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010
### Added
1111

1212
- Property `category`
13-
- Property `determination_details`
14-
- Information about the encoding of datatypes at the collection-level
13+
- Property `determination:details`
1514

1615
### Changed
1716

18-
- Switched from v0.1.0 to v0.2.0 of the schema language
19-
- Renamed `fiboa_extensions` to `schemas`
20-
- Schemas must be valid HTTP(S) URLs
21-
- GeoParquet: Renamed Parquet metadata key from `fiboa` to `collection`
22-
- GeoJSON: Switched `contentEncoding` for data type `binary` from `binary` to `base64`
23-
- GeoJSON data types: `null` is not allowed any longer, instead omit the property
24-
- GeoJSON FeatureCollection: Collection-level data is provided at the top-level, not in a `fiboa` property
17+
- fiboa is an extension to the Vecorel specification now
18+
- Renamed `determination_method` to `determination:method`
19+
- Renamed `determination_datetime` to `determination:datetime`
2520

2621
### Removed
2722

28-
- Value `administrative` was removed from `determination_method` in favor of the new property `category`
23+
- Value `administrative` was removed from `determination:method` in favor of the new property `category`
2924
- `fiboa_version` in favor of adding the schema URL of the specification to `schemas`.
30-
- GeoJSON Feature: `links` property
3125

3226
### Fixed
3327

3428
- Various minor clarifications and editorial enhancements
35-
- Added descriptions to the allowed values for `determination_method`
36-
- Clarified handling of missing values
37-
- GeoJSON: Clarify the encoding of the top-level properties (including `links` and `fiboa`)
38-
- GeoJSON: Clarify the use of RFC 7946
39-
- GeoParquet: Properties that are optional can be omitted if all values are null values
40-
- GeoParquet: Added encoding for bounding boxes and objects
41-
- GeoParquet: Clarified the use of Map and Struct data types
29+
- Added descriptions to the allowed values for `determination:method`
4230

4331
## [v0.2.0] - 2024-04-10
4432

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ preferred-citation:
99
title: "Field Boundaries for Agriculture (fiboa) specification"
1010
abstract: "Making field boundaries openly available in a unified way."
1111
version: 0.3.0
12-
year: 2024
13-
date-released: 2024-04-10
12+
year: 2025
13+
date-released: 2025-08-26
1414
license: Apache-2.0
1515
url: https://github.com/fiboa
1616
repository: https://github.com/fiboa/specification

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 132 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Releases are cut from main, see the [process](process.md) document for more deta
3434

3535
## Check files
3636

37-
You'll need to install Python >= 3.9 and pip to setup the test environment.
37+
You'll need to install Python >= 3.10 and pip to setup the test environment.
3838
We use pipenv to execute the tests.
3939

4040
Start with the following command in the folder where this README is located:
@@ -47,7 +47,5 @@ Finally, you can run the tests as follows:
4747

4848
- To check the markdown run: `pipenv run test-docs`
4949
- To check the fiboa schema run: `pipenv run test-schema`
50-
- To check the examples run:
51-
- `pipenv run test-geojson-collection` and `pipenv run test-geojson-features` for GeoJSON
52-
- `pipenv run test-geoparquet` for GeoParquet
50+
- To check the examples run: `pipenv run test-examples`
5351
- To create a GeoParquet from the GeoJSON examples: `pipenv run create-geoparquet`

Pipfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@ verify_ssl = true
44
name = "pypi"
55

66
[packages]
7-
fiboa-cli = ">=0.4"
7+
fiboa-cli = ">=0.20"
88
pymarkdownlnt = ">=0.9"
99

1010
[scripts]
1111
test-docs = "pymarkdown -d md024,md013 scan ."
1212
test-schema = "fiboa validate-schema core/schema/schema.yaml"
13-
test-geojson-collection = "fiboa validate geojson/examples/featurecollection -s core/schema/schema.yaml --data"
14-
test-geojson-features = "fiboa validate geojson/examples/individual-features -s core/schema/schema.yaml --data"
15-
test-geoparquet = "fiboa validate geoparquet/examples -s core/schema/schema.yaml --data"
16-
create-geoparquet = "fiboa create-geoparquet geojson/examples/featurecollection/features.json -o geoparquet/examples/example.parquet -s core/schema/schema.yaml"
13+
test-examples = "fiboa validate examples -s https://fiboa.org/specification/v0.3.0/schema.yaml,core/schema/schema.yaml -n -1"
14+
create-geoparquet = "fiboa create-geoparquet examples/example.json -s https://fiboa.org/specification/v0.3.0/schema.yaml,core/schema/schema.yaml -o examples/example.parquet"

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,18 @@ The core data schema of fiboa is quite simple: it’s a set of definitions for a
2222
The number of attributes in the core is quite small by design.
2323
The idea is that most of the ‘interesting’ data about the field will be located in extensions.
2424

25-
The specification in this repository consists of three parts:
25+
The specification in this repository consists of just one fudamental part:
2626

2727
- [Core Specification](core/README.md)
2828
(file format agnostic definition for data and metadata)
29-
- [GeoJSON Encoding](geojson/README.md)
30-
- [GeoParquet Encoding](geoparquet/README.md)
3129

32-
To complement the specification, there are also best practices and extensions available:
30+
It can be enriched by extensions and there's a
31+
[list of extensions](https://vecorel.org/extensions/).
3332

34-
- [Best Practices](best-practices/README.md)
35-
- [Extensions](https://github.com/fiboa/extensions/)
33+
> [!NOTE]
34+
> Internally, the fiboa specification is an extension to the Vecorel ecosystem and
35+
> is fully compatible with it. In fact, Vecorel and fiboa share significant portions of
36+
> the extensions and tooling.
3637
3738
## Relation to other standards and working groups
3839

@@ -43,6 +44,7 @@ e.g. the determination-related fields in the core specification.
4344

4445
Related standards and working groups are:
4546

47+
- [Vecorel](https://vecorel.org)
4648
- [Adapt standard](https://adaptstandard.org), including their [WG17](https://github.com/ADAPT/Standard/issues/97)
4749
- [Varda FieldID](https://www.varda.ag/global-field-id)
4850
- [Deere Boundaries](https://developer.deere.com/dev-docs/boundaries)
@@ -57,6 +59,6 @@ Please get in touch by [opening an issue](https://github.com/fiboa/specification
5759
The fiboa community strives to provide a welcoming and transparent environment for all of the project’s participants.
5860
You can find additional information about our community best practices and collaborative development processes below:
5961

60-
- [Code of Conduct](CODE_OF_CONDUCT.md)
62+
- [Code of Conduct](https://vecorel.org/code-of-conduct/)
6163
- [Contribution Guideline](CONTRIBUTING.md)
62-
- [Development and Release Process](process.md)
64+
- [Development and Release Process](https://github.com/vecorel/specification/blob/main/process.md)

best-practices/README.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)