Currently, LatLong logical type only supports object dtype.
However, it is very common that LatLong is stored as a spatial data, which will have geometry dtype if loaded using Geopandas.
The geometry dtype that represents LatLong:
Point(x, y): Point in a 2D plane. x=longitude, y=latitude
Point(x, y, z): Point in a 3D plane. x=longitude, y=latitude, z=elevation
Requested features:
Utilities to convert geometry dtype to the correct format object dtype
LatLong logical type support both object and geometry dtype
LatLongElev logical type,which support both object and geometry dtype
@iki77 thank for creating this issue. We understand the situation you mentioned, and need to do some more exploration on how we can handle geometry dtype.
Currently, LatLong logical type only supports object dtype. However, it is very common that LatLong is stored as a spatial data, which will have geometry dtype if loaded using Geopandas. The geometry dtype that represents LatLong:
Requested features: