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
169 stars 85 forks source link

Support multiple array encoding strategies #42

Closed sjudeng closed 7 years ago

sjudeng commented 7 years ago

Adds an array encoding strategy store parameter.

array_encoding description
JSON (Default) Return arrays directly. This is suitable for numerous output formats including GeoJSON. It can also be used with CSV output if layer does not include numeric arrays.
CSV Encode arrays as strings by URL encoding array elements and joining using comma delimiter. This is suitable for CSV output, even when the layer contains numeric arrays, but note that GeoServer may only return the first value in the case of numeric arrays.

Fixes #37 and #41.