javaapiforkml icon indicating copy to clipboard operation
javaapiforkml copied to clipboard

JAK creating malformed KML

Open SriramMLN opened this issue 10 years ago • 1 comments

The KML generated by JAK is malformed in Schema validation with ogckml22.xsd due to refreshInterval, viewRefreshTime and viewBoundScale all three set to 0.0 by default in element. This issue is reported only for <Icon> under <IconStyle>. All three variables are from de.micromata.opengis.kml.v_2_2_0.Icon Java class. Analysed the Icon class and found the issue was due to declaration of refreshInterval, viewRefreshTime and viewBoundScale all as primitive double. Changing the data type from primitive to Double wrapper fixes the issue but not sure on other impacted areas. Performed a call hierarchy on these three getters and setters and there are no impact in other classes except Icon, example and JUnit tests. Please validate my findings and will be great if a new code is released with this fix. KML Fragment:

SriramMLN avatar Apr 23 '15 10:04 SriramMLN

Sorry, this project is not actively maintained :pensive:

See #18 for further information.

mischah avatar Feb 21 '16 13:02 mischah

I'll look into this issue...

urbancamo avatar Nov 21 '23 18:11 urbancamo

This was fixed via PR from SriramMLN on 20/08/2022.

urbancamo avatar Nov 21 '23 19:11 urbancamo