52North / SOS

52°North Sensor Observation Service
https://52north.org/software/software-projects/sos/
GNU General Public License v2.0
109 stars 82 forks source link

StatisticsModule: SpatialFilter mapping #271

Open lestarcdog opened 9 years ago

lestarcdog commented 9 years ago

Currently the Kibana 4.1.0 doesn't support the aggregation of the geo_shape fields on a tile map. This Kibana feature is almost ready https://github.com/elastic/kibana/issues/2576 https://github.com/elastic/elasticsearch/issues/7574

The statistics component stores the SpatialFilter#geometry object's coordinates only if the SRID is 4326.

The SpatialFilterEsModel responsible for the transformation. On the SOS side currently no changes needed if the Kibana feature is implemented.

nuest commented 9 years ago

Which class of the statistics component does the transformation of the spatial filter to a geo_shape?

lestarcdog commented 9 years ago

SpatialFilterEsModel