paleolimbot opened a new pull request, #55599:
URL: https://github.com/apache/arrow/pull/55599

   ### Rationale for this change
   
   GeoArrow input to the Parquet reader with a "missing" CRS (`null` in 
GeoParquet, `None` in GeoPandas) are currently written with a Parquet CRS that 
denotes lon/lat and will roundtrip incorrectly when read back to 
GeoPandas/GeoArrow.
   
   ### What changes are included in this PR?
   
   Adds a mapping between `srid:0` and GeoArrow's "missing" CRS to match 
arrow-rs, GeoParquet, and the discussion around `srid:0` in the Parquet format 
PR adding it as an example.
   
   ### Are these changes tested?
   
   Yes, the parameterized geospatial logical type mapping tests in both 
directions were ported from arrow-rs and include srid:0.
   
   ### Are there any user-facing changes?
   
   Yes: under a very specific set of circumstances (GeoArrow extension types 
registered, Parquet 
   
   ### Was AI used for this PR?
   
   In accordance to the [AI generation 
guidelines](https://arrow.apache.org/docs/dev/developers/overview.html#ai-generated-code),
 please disclose below whether and how AI was used in this PR.
   
   **PR code and description written by:**
   
   - [x] Human
   - [x] AI
   
   **Reviewed before submission by:**
   
   - [x] Human
   - [x] AI
   - [ ] Not reviewed
   
   Closes #55598.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to