Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.10.1
    • Fix Version/s: 2.12-beta
    • Labels:
      None

      Description

      The KML generated by GeoServer does not validate against the KML schema because the Icon element in the IconStyle contains the refreshInterval, viewRefreshTime and viewBoundScale elements which are not allowed there (https://developers.google.com/kml/documentation/kmlreference#iconstyle). This can prevent some clients from being able to load GeoServer's KML.

      <IconStyle>
      <color>00ffffff</color>
      <scale>0.4</scale>
      <heading>0.0</heading>
      <Icon>
      <href>http://icons.opengeo.org/markers/icon-poly.1.png</href>
      <refreshInterval>0.0</refreshInterval>
      <viewRefreshTime>0.0</viewRefreshTime>
      <viewBoundScale>1.0</viewBoundScale>
      </Icon>
      </IconStyle>

      This issues appears to have originated in GeoServer 2.4 with the completion of https://github.com/geoserver/geoserver/wiki/GSIP-98---replace-old-KML-module-with-new-one which replaced the old KML module with one that relies on the JavaAPIforKml library. This caused GeoServer to inherit the bug from that library https://github.com/micromata/javaapiforkml/issues/9.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sikeoka Steve Ikeoka
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: