Kristin Cowalcijk created SEDONA-226:
----------------------------------------
Summary: Support reading and writing GeoParquet file metadata
Key: SEDONA-226
URL: https://issues.apache.org/jira/browse/SEDONA-226
Project: Apache Sedona
Issue Type: Improvement
Reporter: Kristin Cowalcijk
Currently,
[{{GeoParquetFileFormat}}|https://github.com/apache/incubator-sedona/blob/sedona-1.3.1-incubating/sql/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/GeoParquetFileFormat.scala]
in Apache Sedona does not read or write the [{{geo}}
metadata|https://github.com/opengeospatial/geoparquet/blob/main/format-specs/geoparquet.md#metadata]
in GeoParquet files. We'll honor {{geo}} metadata when loading GeoParquet
files and populate {{geo}} metadata when writing dataframes to GeoParquet files
in order to conform with the standard and improve interoperability with other
libraries (such as GeoPandas).
We'll drop the {{fieldGeometry}} option for loading GeoParquet files since we
can infer geometry fields from the {{geo.columns}} metadata, there's no need
for users to specify the names of geometry fields explicitly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)