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

Handle Elasticsearch GeoJSON circles using interpolation #67

Closed warwickdufour closed 6 years ago

warwickdufour commented 6 years ago

Proposed code to be able to render Elasticsearch GeoJSON circle geometry in GeoServer. The interpolation angular interval is varied according to the circumference of the circle (in ellipsoid surface units as opposed to pixels) and kept between upper and lower bounds.

An example output of NOTAMs over Cyprus is shown below. Note that the circles are displayed as 'sort-of' ellipses due to the latitude. screenshot from 2018-04-04 14-16-36

warwickdufour commented 6 years ago

I think the squashing has worked OK but as it's the first time I have done it and there was an issue when pushing to 'origin' (had to redo and put a '+' in front of the branch name to get it to work) you might like to check.