Uploaded image for project: 'GeoTools'
  1. GeoTools
  2. GEOT-5493

Failure to parse a SE 1.1 using an external mark with MarkIndex

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14.6, 15.2
    • Component/s: None
    • Labels:
      None

      Description

      Trying with a simple style such as:

      <?xml version="1.0" encoding="UTF-8"?>
      <StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd" xmlns:se="http://www.opengis.net/se">
        <NamedLayer>
          <se:Name>ne_10m_populated_places</se:Name>
          <UserStyle>
            <se:Name>ne_10m_populated_places</se:Name>
            <se:FeatureTypeStyle>
              <se:Rule>
                <se:Name>Single symbol</se:Name>
                <se:PointSymbolizer>
                  <se:Graphic>
                    <se:Mark>
                      <se:OnlineResource xlink:type="simple" xlink:href="ttf://Webdings"/>
                      <se:Format>ttf</se:Format>
                      <se:MarkIndex>64</se:MarkIndex>
                      <se:Fill>
                        <se:SvgParameter name="fill">#47f188</se:SvgParameter>
                      </se:Fill>
                    </se:Mark>
                    <se:Size>5</se:Size>
                  </se:Graphic>
                </se:PointSymbolizer>
              </se:Rule>
            </se:FeatureTypeStyle>
          </UserStyle>
        </NamedLayer>
      </StyledLayerDescriptor>
      

      triggers a class cast exception

        Attachments

          Activity

            People

            • Assignee:
              aaime Andrea Aime
              Reporter:
              aaime Andrea Aime
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: