Open jorisvandenbossche opened 3 months ago
Some naive questions as I'm not very familiar yet with (geo)arrow.
IIUC https://github.com/paleolimbot/s2geography/pull/16 adds support for Arrow arrays so that we can easily reuse all the work done in geoarrow (and its implementation geoarrow-c) for parsing / encoding simple feature geometries.
get_coordinates
) to avoid reinventing the wheel, or would #37 be straightforward to extent to other geometries?
We should have functions to create geographies from WKT and WKB, and also to convert to WKT and WKB.
(similarly to shapely's
from_wkt
/from_wkb
andto_wkt
/to_wkb
)At the moment
s2geography
does have a basic WKTWriter (which we already use in__repr__
) and WKTReader, but proper (and easier) support probably depends on https://github.com/paleolimbot/s2geography/pull/16