Skip to main content

Hi @alan_surveyor,

Do you have a icon ( in wich format ) and you want to rotate?

You can use the transformer Rotator.

Thanks,

Danilo


You can create an attribute called kml_iconstyle_heading.


I have either a png or ico file of an arrow pointing straight up. Want to rotate that based on an azimuth, however the KML styler doesn't give an option for a rotation. Not sure where to apply the rotator transformer


I have either a png or ico file of an arrow pointing straight up. Want to rotate that based on an azimuth, however the KML styler doesn't give an option for a rotation. Not sure where to apply the rotator transformer

I don't believe the Rotator will be of use in this scenario, since presumably your feature is a point that is referencing an external icon via the Styler.

 

 

If you look at the kml writer, under the format attributes, all of the kml specific directives are available. You can expose the ones you explicitly want to set on a per feature basis. In your case the kml_iconstyle_heading.

 

 

Although I've never used that particular option, I would expect that you would set it to your azimuth.

Thanks JDH. That seemed to do the trick. Many thanks!


Reply