Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Draw elipses in KML #2

Open
elihusmails opened this issue May 20, 2014 · 2 comments
Open

Draw elipses in KML #2

elihusmails opened this issue May 20, 2014 · 2 comments

Comments

@elihusmails
Copy link

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.

@mzesri
Copy link
Contributor

mzesri commented May 21, 2014

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.

@elihusmails
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants