Flink and spatial data

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Flink and spatial data

Esa Heikkinen

Hi

 

How Flink can deal with a spatial (position of coordinates) data ?

 

For example, I would want to check the coordinates of some moving object have crossed some boundary.

Is that possible ?

 

Best, Esa

 

Reply | Threaded
Open this post in threaded view
|

Re: Flink and spatial data

Fabian Hueske-2
Hi Esa,

there's no built-in support for handling spatial data in Flink.
However, you can use any JVM-based spatial library in your library to perform such computations.
One option is the ESRI library [1].

Also there is a JIRA issue [2] to add support for a few spatial functions (as provided by Calcite) to the SQL API.
But this has not started yet, AFAIK.

Best, Fabian

[1] https://github.com/Esri/geometry-api-java
[2] https://issues.apache.org/jira/browse/FLINK-9219


2018-04-23 15:03 GMT+02:00 Esa Heikkinen <[hidden email]>:

Hi

 

How Flink can deal with a spatial (position of coordinates) data ?

 

For example, I would want to check the coordinates of some moving object have crossed some boundary.

Is that possible ?

 

Best, Esa