Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GEOMESA-3409: Arrow: axis order request parameter #61

Merged
merged 5 commits into from
Nov 13, 2024

Conversation

epyatkevich
Copy link
Contributor

GEOMESA-3409: Geomesa currently defaults to always reading and writing Arrow encoding as NORTH_EAST axis order.

With the new axis order request parameter allow the user to request the encoding to be explicitly specified per request.

Axis Order parameter supported values:

  • NORTH_EAST translates to: North = Latitude = Y Axis, East = Longitude = X Axis
  • EAST_NORTH translates to: East = Longitude = X Axis, North = Latitude = Y Axis

The request parameter is optional and if not specified axis order defaults to the existing behavior which is NORTH_EAST.

Notes:

  • This is a draft PR and is currently only implemented for Point geometries (additional Geometries to follow into the geomesa repo PR);
  • This has been manually tested and working on the 4.0.4 branch and ported to the main line, automated tests to be added

Geomesa currently defaults to always reading and writing Arrow encoding as NORTH_EAST, with the new axis order parameter allow the user to request the encoding to be explicitly specified per request.

Axis Order parameter supported values:

- NORTH_EAST translates to: North = Latitude = Y Axis, East = Longitude = X Axis

- EAST_NORTH translates to: East = Longitude = X Axis, North = Latitude = Y Axis

The request parameter is optional and if not specified axis order defaults to the existing behavior which is NORTH_EAST.
Geomesa currently defaults to always reading and writing Arrow geometries in Lat/Lon order, with the new axis order parameter allow the user to request the encoding to be explicitly specified per request.

Axis Order parameter supported values:
- LatLon translates to: Latitude = Y Axis = North, Longitude = X Axis = East
- LonLat translates to: Longitude = X Axis = East, Latitude = Y Axis = North

The request parameter is optional and if not specified axis order defaults to the existing behavior which is LatLon.
Geomesa currently defaults to always reading and writing Arrow geometries in Lat/Lon order, with the new axis order parameter allow the user to request the encoding to be explicitly specified per request.

The request parameter is optional and if not specified axis order defaults to the existing behavior which is Lat/Lon.
Geomesa currently defaults to always reading and writing Arrow geometries in Lat/Lon order, with the new axis order parameter allow the user to request the encoding to be explicitly specified per request.

The request parameter is optional and if not specified axis order defaults to the existing behavior which is Lat/Lon.
@epyatkevich epyatkevich marked this pull request as ready for review November 13, 2024 14:27
pom.xml Outdated Show resolved Hide resolved
@elahrvivaz elahrvivaz merged commit 1b9759e into geomesa:main Nov 13, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants