Open elihusmails opened 10 years ago
This version of the KML outbound adapter is geared toward displaying points and tracks. Adapters usually don't process data. You can add code to create placement for polygons as a geometry type. The KML outbound adapter process geoevents from the REST cache. I would recommend using a geometry processor such as the one you referenced to generate the ellipses for each geoevent before you put them into the REST cache.
I am using the geometry processor to generate the ellipse information. Unfortunately the KML adapter only supports points. Looking at KmlGeneratorBase.java lines 85 - 110, I believe that if the geometry in the GeoEvent is not a point, you will not get any ellipse information in the resulting KML due to the adapter only supporting points.
I am interested in adding support for ellipses in the KML adapter. This functionality is shown in the geometry processor (https://github.com/Esri/solutions-geoevent-java/tree/master/solutions-geoevent/processors/geometry-processor). Would this functionality just require updates to the KmlAdapterBase? It appears that the KML adapter is geared heavily towards just plotting points and tracks. I need to support ellipses around points as well.