ngageoint / elasticgeo

ElasticGeo provides a GeoTools data store that allows geospatial features from an Elasticsearch index to be published via OGC services using GeoServer.
GNU General Public License v3.0
168 stars 85 forks source link

gridStrategyScale #36

Closed nreese closed 7 years ago

nreese commented 7 years ago

When zoomed out, document counts are rather large. When zoomed in, document counts tend to greatly decrease in size. It is extremely difficult to define a ColorMap that is flexible enough to style raster values between zoom levels.

This pull request adds an optional parameter gridStrategyScale that allows users to provide a scale to solve this problem. The only caveat is that the scalin applies to only a single tile request at a time. If a map is not requesting the WMS layer as a single tile, then the results are meaningless.

sjudeng commented 7 years ago

Thanks for the contribution. I'll pull it down and do some tests and get it merged later this week or next.

sjudeng commented 7 years ago

@nreese Thanks again!