Example files for GEOMETRY and GEOGRAPHY logical type#70
Example files for GEOMETRY and GEOGRAPHY logical type#70emkornfield merged 12 commits intoapache:masterfrom
Conversation
|
@Kontinuation @zhangfengcdt Can you give these a try from Java when you're ready? I'm fairly confident that they are correct, including the "crs" examples that dump the actual payload of the PROJJSON to the file metadata. |
|
I pushed an update to three files here - the original fields that PROJJSON crses were written to were very likely to collide with eachother if you did things like read a Parquet file, filter it, then write it again 😬 . The new files add a hash of the value to the end of the key (e.g., |
|
I updated these to be a bit more intentional about the corner cases we collectively ran into in apache/parquet-java#2971 and apache/arrow#45459. I'm not sure the Python files to generate them belong in this repo but it does make it easier to see what they contain. I also included CRS examples because that was also something that required some thinking about in the C++ PR...happy to remove or tweak any of these if I didn't get the spirit of the format change right 🙂 . |
|
Today at the Parquet sync @emkornfield said he might have some time to review this PR |
|
This all seems reasonable, going to merge. |
|
Thank you @emkornfield and @paleolimbot 🙏 |
|
Thank you both! |
As discussed on the mailing list, it's best to get example files early!
Code to generate in details (requires apache/arrow@main...paleolimbot:arrow:parquet-geo-write-files-from-geoarrow , which is a slightly more functional but less appropriate initial version of apache/arrow#45459 ). I've also added the full suite of geoarrow-data files (even the big ones) to that forthcoming release: https://github.com/geoarrow/geoarrow-data .
Details