<p dir="ltr">Hi David,<br>
IIRC that kind of variables are not supported by QGIS neither by the SLD standard.</p>
<p dir="ltr">You must replace it with the correct SVG filename.</p>
<p dir="ltr">Anyway, what is "os_cat" supposed to be? Is it a layer's field name?</p>
<p dir="ltr">Regards.</p>
<p dir="ltr">Sent from mobile. Sorry for being short.<br>
--<br>
Giuseppe Sucameli</p>
<div class="gmail_quote">Il 01/set/2014 00:01 "David James" <<a href="mailto:david@djames.org.uk">david@djames.org.uk</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm very much a beginner with QGIS and I'm trying to run long before I<br>
can crawl ...<br>
<br>
I'm trying to use the Ordnance Survey MasterMap Topography layer SLD's<br>
(from<br>
<a href="http://www.ordnancesurvey.co.uk/docs/styled-layer-descriptors/topography-sld.zip" target="_blank">http://www.ordnancesurvey.co.uk/docs/styled-layer-descriptors/topography-sld.zip</a>)<br>
to style the sample OS MasterMap data.<br>
<br>
Initially, I found that when I loaded the SLD file into QGIS, only the<br>
first rule was being picked up, but eventually I found tjmgis's answer<br>
in<br>
<a href="http://gis.stackexchange.com/questions/69854/styling-os-vectormap-local-in-qgis" target="_blank">http://gis.stackexchange.com/questions/69854/styling-os-vectormap-local-in-qgis</a><br>
(that all the <FeatureTypeStyle> and </FeatureTypeStyle> except the<br>
first and the last in the SLD files need removing) and now I'm making<br>
progress.<br>
<br>
I'm struggling with one problem: there's a rule called<br>
<Name>Vegetation (pattern) - 1:35 to 1:3,496</Name><br>
which specifies the SVG file as<br>
xlink:href="osmmsymbols/${os_cat}.svg"/><br>
<br>
QGIS is showing me question marks in these areas (which I think means it<br>
is not finding the SVG file).<br>
<br>
Does QGIS support this use of ${os_cat} (and if so, what do I need to do<br>
to make it work?) or do I have to replicate the rule with explicitly<br>
named SVG files for all the different vegetation types?<br>
<br>
David<br>
<br>
--<br>
David James<br>
<a href="mailto:david@djames.org.uk">david@djames.org.uk</a><br>
<br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>