Hello everyone! I have created a map by importing GEOJSON data in KIBANA.
The data is indexed as geo_shape and it contains the World's territorial waters area. It represents a layer in my map. I have then added another layer, always using GEOJSON, containing geo_points representing the gps data of a yacht charter:
Now, in my dashboard, I would like to show a pie chart, indicating the percentage of time spent by the yacht during this charter outside of the territorial waters, but I am unable to understand how to do that.
You can see the GEOJSON file here: Charter Trip GeoJSON
I generated it from a CSV file.
Here you can see the territorial waters Territorial Waters GeoJSONhttp://84.33.95.3:81/eez_12nm.json
I was thinking to use the geo_shape created by the territorial waters as boundaries, then I would add a layer for each charter trip and I need to output the percentage of time spent outside of the boundaries for VAT calculation purposes, I do not really need to know the yacht's name, but rather how much time a single boat has spent outside of territorial waters (in percentage).
Any help would be really really appreciated!