hi all,
please help me please I need it ASAP

I am trying to apply the Image.png which is locally stored on my pc to be
applied to the SLD style, I have stored the image in the GeoServer
directory styles and I used this SLD styles according to the link

the link >>
https://gis.stackexchange.com/questions/144486/cannot-display-images-which-are-locally-stored-with-sld-style

SLD style
<?xml version="1.0" encoding="ISO-8859-1"?>
    <StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld";
xmlns:ogc="http://www.opengis.net/ogc";
      xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";
      xsi:schemaLocation="http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd";>
      <NamedLayer>
        <Name>US.TelecomNetwork.TelecomTower.Default</Name>
        <UserStyle>
          <Name>burg</Name>
          <Title>Generic Transport Node Default Style</Title>
          <Abstract>A sample of how to use an SVG based
symbolizer</Abstract>
          <FeatureTypeStyle>
              <Rule>
            <Title>Red flag</Title>
            <PointSymbolizer>
              <Graphic>
                 <ExternalGraphic>
                  <OnlineResource xlink:href="file:///C:/Program Files
(x86)/GeoServer 2.15.0/data_dir/styles/download.png"/>
                  <Format>png</Format>
                </ExternalGraphic>
                <Size>
                 <ogc:Literal>20</ogc:Literal>
                </Size>
              </Graphic>
            </PointSymbolizer>
          </Rule>
          </FeatureTypeStyle>
        </UserStyle>
      </NamedLayer>
    </StyledLayerDescriptor>


While I apply it to the layer is gives me (the attached  file ) this on the
layer preview
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to