Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have successfully generated a set of (unstyled) placemarks in a KML file using the GeoTools framework, and the Encoder class. The file renders fine in Google Earth with standard balloon placemarks.

I now want to add some iconstyles to my file. Can anyone give me some guidance here? What is the best way to programatically declare the icons/iconstyles and give each placemark a reference to the corresponding icons? I know the KML syntax for this, but how do I declare/generate this with GeoTools, and make the Encoder class do the final job?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.