Skip to content

Commit

Permalink
Changes to prepare release 0.2.0 (#71)
Browse files Browse the repository at this point in the history
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
  • Loading branch information
alasarr and jorisvandenbossche committed Apr 19, 2022
1 parent 43892f8 commit d8592c1
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ lines, polygons) in [Apache Parquet](https://parquet.apache.org/), a popular col
geospatial data is represented in Parquet to further geospatial interoperability among tools using Parquet today, and hopefully
help push forward what's possible with 'cloud-native geospatial' workflows.

**Warning:** This is not (yet) a stable specification that can be relied upon. The initial 0.1 release was made to gather
wider feedback, and we anticipate that some things may change. For now we reserve the right to make changes in backwards incompatible
**Warning:** This is not (yet) a stable specification that can be relied upon. All 0.X releases are made to gather wider feedback, and we anticipate that some things may change. For now we reserve the right to make changes in backwards incompatible
ways (though will try not to), see the [versioning](#versioning) section below for more info. If you are excited about the potential
please collaborate with us by building implementations, sounding in on the issues and contributing PR's!

Expand Down Expand Up @@ -61,7 +60,8 @@ will work much better if it is backing a system that is constantly updating the
Our aim is to get to a 1.0.0 within 'months', not years. The rough plan is:

* 0.1 - Get the basics established, provide a target for implementations to start building against.
* 0.2 - Feedback from implementations, add spatial index and potentially 3D coordinates.
* 0.2 - Feedback from implementations, 3D coordinates support.
* 0.3 - Feedback from implementations, add spatial index.
* 0.x - Several iterations based on feedback from implementations.
* 1.0.0-RC.1 - Aim for this when there are at least 6 implementations that all work interoperably and all feel good about the spec.
* 1.0.0 - Once there are 12(?) implementations in diverse languages we will lock in for 1.0
Expand Down
Binary file modified examples/example.parquet
Binary file not shown.
9 changes: 8 additions & 1 deletion examples/example.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
"""
Generates `example.parquet` using pyarrow by running `python example.py`.
You can print the metadata with:
.. code-block:: python
>>> import json, pprint, pyarrow.parquet as pq
>>> pprint.pprint(json.loads(pq.read_schema("example.parquet").metadata[b"geo"]))
"""
import json
import pathlib
Expand All @@ -17,7 +24,7 @@


metadata = {
"version": "0.1.0",
"version": "0.2.0",
"primary_column": "geometry",
"columns": {
"geometry": {
Expand Down
2 changes: 1 addition & 1 deletion examples/example_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
}
},
"primary_column": "geometry",
"version": "0.1.0"
"version": "0.2.0"
}
}
4 changes: 2 additions & 2 deletions format-specs/geoparquet.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ should be stored in parquet format, including the representation of geometries a

## Version

This is version 0.1.0 of the geoparquet specification.
This is version 0.2.0 of the geoparquet specification.

## Geometry columns

Expand Down Expand Up @@ -44,7 +44,7 @@ but have a default geometry used for geospatial operations.

#### version

Version of the geoparquet spec used, currently 0.1.0
Version of the geoparquet spec used, currently 0.2.0

### Column metadata

Expand Down
2 changes: 1 addition & 1 deletion validator/python/geoparquet_validator/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"properties": {
"version": {
"type": "string",
"pattern": "^0\\.1\\.[0-9]+$",
"pattern": "^0\\.2\\.[0-9]+$",
"description": "The version of the geoparquet metadata standard used when writing."
},
"primary_column": {
Expand Down

0 comments on commit d8592c1

Please sign in to comment.