<div dir="ltr">Hi Annalisa,<div><br></div><div>I think you could get answer here but maybe you could get even more success if you post this to the geoserver support lists as it seems to bee a geoserver related issue.</div><div><br></div><div>Regards</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-07 12:44 GMT+02:00 Annalisa Schiavon <span dir="ltr"><<a href="mailto:annalisa.schiavon@gmail.com" target="_blank">annalisa.schiavon@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div>I've tried to create a sld style using an external graphic:</div><div>... </div><div><div><se:Rule></div><div>          <se:Name>Single symbol</se:Name></div><div>          <se:PointSymbolizer></div><div>            <se:Graphic></div><div>              <se:ExternalGraphic></div><div>                <se:OnlineResource xlink:type="simple" xlink:href="file:///var/www/geonode/static/img/ico/poi_tower_communications.svg"/></div><div>                <se:Format>image/svg+xml</se:Format></div><div>              </se:ExternalGraphic></div><div>              <se:Size>15</se:Size></div><div>            </se:Graphic></div><div>          </se:PointSymbolizer></div><div>        </se:Rule></div></div><div>...</div><div>and than:</div><div>...</div><div><div><se:Rule></div><div>          <se:Name>Single symbol</se:Name></div><div>          <se:PointSymbolizer></div><div>            <se:Graphic></div><div>              <se:ExternalGraphic></div><div>                <se:OnlineResource xlink:type="simple" xlink:href="<a href="http://geomap.arpa.veneto.it/static/img/ico/antenna-with-signal-transmission.png" target="_blank">http://geomap.arpa.veneto.it/static/img/ico/antenna-with-signal-transmission.png</a>"/></div><div>                <se:Format>image/png</se:Format></div><div>              </se:ExternalGraphic></div><div>              <se:Size>15</se:Size></div><div>            </se:Graphic></div><div>          </se:PointSymbolizer></div><div>        </se:Rule></div></div><div>....</div><div><br></div><div>In both cases, into style editor the preview works fine, but the layer preview of geoserver (and also the associated layer in geonode) returns an error:</div><div><br></div><div>java.io.IOException: java.lang.RuntimeException: Parsing failed for UserStyle: java.lang.ClassCastException: java.util.HashMap cannot be cast to org.opengis.util.International<br></div><div><br></div><div>Geonode ver.: 2.4</div><div>Geoserver ver.: 2.7.4 </div><div><br></div><div>It is the first time I try to use external graphics. Any ideas to resolve error?</div><div>It depends from the images used?</div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>Annalisa</div></font></span></div>
<br>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>