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

-adding possiblity to mark fields as "masked" #7

Closed peterneubauer closed 4 years ago

peterneubauer commented 9 years ago
sjudeng commented 9 years ago

I think for this you could use the propertyName parameter in your WFS/WMS requests to limit the attributes that you want included in the response.

http://docs.geoserver.org/latest/en/user/services/wms/vendor.html#propertyname

peterneubauer commented 9 years ago

Thing is, this should be decided not by the request but in the layer setup in order to constrain the fields exposed. On Jun 23, 2015 7:13 PM, "sjudeng" notifications@github.com wrote:

I think for this you could use the propertyName parameter in your WFS/WMS requests to limit the attributes that you want included in the response.

http://docs.geoserver.org/latest/en/user/services/wms/vendor.html#propertyname

— Reply to this email directly or view it on GitHub https://github.com/ngageoint/elasticgeo/pull/7#issuecomment-114575509.

sjudeng commented 9 years ago

In this case you might not want to allow public access to your GeoServer instance. GeoServer API calls could be managed by your services/applications which, among other things, can incorporate the logic to limit the attributes included in GetFeature/GetFeatureInfo responses.