koopjs / koop-provider-elasticsearch

A provider for koop that can connect to one or more elastic search instances and turn indices/aliases into individual feature services.
Apache License 2.0
13 stars 4 forks source link

Aggregations #7

Closed keithfraley closed 6 years ago

keithfraley commented 6 years ago

I love this project, I am curious if you have started to think about leveraging aggregations in es much the way BDS does? We have done some work on this and might be able to help along this journey.

dhatcher commented 6 years ago

Hey yes we have a (internal for now) sibling project to this that allows aggregation by geohash, hex, geo-grid, and configuration defined polygon sources. They show up as sibling sub-layers in the feature service. I'm not sure what the plans are currently for making that part public.

keithfraley commented 6 years ago

Is that separate from bds?

On Tue, Apr 10, 2018, 9:02 AM Danny Hatcher notifications@github.com wrote:

Hey yes we have a (internal for now) sibling project to this that allows aggregation by geohash, hex, geo-grid, and configuration defined polygon sources. They show up as sibling sub-layers in the feature service. I'm not sure what the plans are currently for making that part public.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/koopjs/koop-provider-elasticsearch/issues/7#issuecomment-380109274, or mute the thread https://github.com/notifications/unsubscribe-auth/ADyxVGnDAPomHioV0Owzn7rSm1x--BQeks5tnLsugaJpZM4TNKVm .

dhatcher commented 6 years ago

Yes it is. It also aggregates along the entire geometry of a polyline/polygon. So if a shape crosses aggregation boundaries it gets counted in all of them that include any/all of its geometry.

keithfraley commented 6 years ago

That sounds amazing

On Tue, Apr 10, 2018, 9:08 AM Danny Hatcher notifications@github.com wrote:

Yes it is. It also aggregates along the entire geometry of a polyline/polygon. So if a shape crosses aggregation boundaries it gets counted in all of them that include any/all of its geometry.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/koopjs/koop-provider-elasticsearch/issues/7#issuecomment-380111956, or mute the thread https://github.com/notifications/unsubscribe-auth/ADyxVA_yfcwagsKbSLhJiKa2REKvzc_Tks5tnLzCgaJpZM4TNKVm .

dhatcher commented 6 years ago

@keithfraley If you need more information about this you can email me. dhatcher at esri dot com.