bergkvist edited a comment on issue #6357:
URL: https://github.com/apache/arrow/issues/6357#issuecomment-687903114


   Any news on this? I'm very interested in geometry columns in Arrow. Similar 
to [geopandas](https://github.com/geopandas/geopandas).
   
   ### [geopandas](https://github.com/geopandas/geopandas) and geometry 
serialization
   In [geopandas](https://github.com/geopandas/geopandas), C-pointers to [GEOS 
geometry](https://github.com/libgeos/geos/blob/8ae842b332c6d199ceeed7792a85b3d84a0baa45/capi/geos_c.h.in#L118)
 are stored in the "geometry column" as long integers (int64) wrapped in 
[shapely](https://github.com/Toblerity/Shapely) objects.
   
   
   
   The most compact way of persisting/serializing geometry in 
[GEOS](https://github.com/libgeos/geos), is as [WKB (Well-Known 
Binary)](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry).
 I believe this is also how geometry is stored in 
[PostGIS](https://postgis.net/).
   
   


----------------------------------------------------------------
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.

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


Reply via email to