Skip to content

Commit a59ba76

Browse files
Added a changelog (#102)
1 parent 6c1d673 commit a59ba76

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed

docs/usage.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ Use [`stac_table_to_ndjson`][stac_geoparquet.arrow.stac_table_to_ndjson] to conv
4141

4242
## Parquet
4343

44-
Use [`to_parquet`][stac_geoparquet.arrow.to_parquet] to write STAC Arrow data from memory to a path or file-like object. This is a special function to ensure that [GeoParquet](https://geoparquet.org/) 1.0 or 1.1 metadata is written to the Parquet file.
44+
Use [`to_parquet`][stac_geoparquet.arrow.to_parquet] to write STAC Arrow data from memory to a path or file-like object. This is a special function to ensure that [GeoParquet](https://geoparquet.org/) 1.0 or 1.1 metadata is written to the Parquet file. Additionally, file metadata following the [STAC GeoParquet Specification][spec].
45+
46+
Use the `collection_metadata` keyword to include STAC Collection metadata in the Parquet metadata.
4547

4648
[`parse_stac_ndjson_to_parquet`][stac_geoparquet.arrow.parse_stac_ndjson_to_parquet] is a helper that connects reading (newline-delimited) JSON on disk to writing out to a Parquet file.
4749

@@ -65,3 +67,6 @@ No special API is required for reading a STAC Delta Lake table back into Arrow.
6567
This means we cannot write this collection to Delta Lake **solely with automatic schema inference**.
6668

6769
In such cases, users may need to manually update the inferred schema to cast any `null` type to another Delta Lake-compatible type.
70+
71+
72+
[spec]: https://github.com/stac-utils/stac-geoparquet/blob/main/spec/stac-geoparquet-spec.md#parquet-metadata

docs/whatsnew.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Release Notes
2+
3+
This is a list of changes to `stac-geoparquet`.
4+
5+
## 0.7.0
6+
7+
- Updated stac-geoparquet Parquet File metadata fields (https://github.com/stac-utils/stac-geoparquet/pull/98)
8+
- All fields are placed under the `stac-geoparquet` key in the parquet file metadata.
9+
- Added a `version` field.
10+
- Added json-schema for the metadata parquet file metadata.
11+
- Fixed `ValueError` when converting some strings to dates (https://github.com/stac-utils/stac-geoparquet/issues/79)
12+
- Removed upper bound on pyarrow dependency (https://github.com/stac-utils/stac-geoparquet/pull/102)

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ nav:
2626
- Legacy: api/legacy.md
2727
- api/pgstac.md
2828
- drawbacks.md
29+
- Release Notes: whatsnew.md
2930

3031
watch:
3132
- stac_geoparquet

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ dependencies = [
1717
"packaging",
1818
"pandas",
1919
# Needed for RecordBatch.append_column
20-
# Below 19 b/c https://github.com/apache/arrow/issues/45283
21-
"pyarrow>=16,<19",
20+
# !=19.0.0 b/c https://github.com/apache/arrow/issues/45283
21+
"pyarrow>=16,!=19.0.0",
2222
"pyproj",
2323
"pystac",
2424
"shapely",

0 commit comments

Comments
 (0)