History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GEOS-993
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Justin Deoliveira
Reporter: Chris Holmes
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
GeoServer

Icons for KML placemarks should pick up point SLD stylings

Created: 26/Mar/07 07:14 PM   Updated: 05/Jun/07 10:54 AM
Component/s: Google Earth KML Output
Affects Version/s: 1.5.0-RC3
Fix Version/s: 1.5.1

Time Tracking:
Not Specified


 Description  « Hide
Right now all our placemarks are the big pins with yellow circles. Many KML styles now have much more sleek markers. We should pick a better default one (maybe a small geoserver logo? That's probably a bit much), but also allow people to easily customize theirs.

One nice way to do this would be to use the point symbolization of SLD, at least the 'external graphics' (as the well known ones might be a bit more challenging? - would have to write them out to a file and point the KML at them).

Note also that GE comes with a lot of default placemarks, we may try to figure out a way to leverage those as well, let users pick those for their SLDs if they're in google earth.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Justin Deoliveira - 23/Apr/07 01:36 AM
Looked into this. Definitely possible, getting kml to output the geoserver link to the icon is pretty trivial. The issue is what is the best way to have the user control this via sld. The external graphic thing will work for points, but what about lines and polygons. You can use an external graphic with fill and stroke, so we could hte kml stuff to look at that, but then of course the normal wms rendering of the layers would be all messed up.

Looked into if the spec supports "vendor parameters", so that we could come up with something "kml specific" and associate a placemark icon with any rule. However i cant really find anything in the spec or the schema. The closest thing that i can see is the idea of CssParameters.


Justin Deoliveira - 22/May/07 03:07 PM
added support for points. commited on trunk

Justin Deoliveira - 23/May/07 01:46 AM
committed on 1.5.x