<HTML xmlns:eXclaimer="http://www.exclaimer.co.uk" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:exc="http://www.exclaimer.co.uk/rtf" xmlns:o="urn:schemas-microsoft-com:office:office">
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-16">


<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Century Gothic","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</HEAD>
<BODY lang="EN-GB" link="blue" vlink="purple">
<DIV>
<DIV><SPAN STYLE="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-GB; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA"><FONT SIZE="1">
</FONT></SPAN></DIV>
<DIV>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D">You can grab QGIS styles for OSMM here:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D"><a href="https://github.com/mixedbredie/QGIS-styles/tree/master/OSMM">https://github.com/mixedbredie/QGIS-styles/tree/master/OSMM</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D">and here:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D"><a href="https://github.com/QGIS-UK/Styles/tree/master/OSMM">https://github.com/QGIS-UK/Styles/tree/master/OSMM</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D">The QML and SLDs depend on the schema of the source data (GML, shapefiles) and how they are loaded into the database (Loader!, GoLoader, Productivity
 Suite).  Usually descriptiveterm, descriptivegroup and make are used for the styles.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D">These SLD files for OSMM are based on the OS styles but without the reference to os_cat field.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D"><a href="https://github.com/mixedbredie/Geoserver-OS-SLDs">https://github.com/mixedbredie/Geoserver-OS-SLDs</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D">hope that helps a bit.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D">Ross<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:13.0pt;font-family:"Century Gothic","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> qgis-user-bounces@lists.osgeo.org [mailto:qgis-user-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Thomas Colley<br>
<b>Sent:</b> 01 September 2014 09:35<br>
<b>To:</b> Giuseppe Sucameli; David James<br>
<b>Cc:</b> qgis-user ML<br>
<b>Subject:</b> Re: [Qgis-user] Help with Ordnance Survey SLD's for OS Mastermap<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">os_cat is a field used for styling in OS layers. The complication is (at least last I checked) the field doesn’t exist in the data as shipped. There are some
 SQL files on the OS website for creating os_cat (calculated from a combination of other fields) in PostGIS, but I’m not sure how that would be applied to shapefiles.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’m sure that OS have released proper QGIS Style Files now as well as SLDs. I can’t find them at the minute (too early on a Monday morning) but I’ll let you
 know when I do.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Cheers<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><br>
Tom<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a href="mailto:qgis-user-bounces@lists.osgeo.org">qgis-user-bounces@lists.osgeo.org</a>
<a href="mailto:[mailto:qgis-user-bounces@lists.osgeo.org]">[mailto:qgis-user-bounces@lists.osgeo.org]</a>
<b>On Behalf Of </b>Giuseppe Sucameli<br>
<b>Sent:</b> 01 September 2014 08:34<br>
<b>To:</b> David James<br>
<b>Cc:</b> qgis-user ML<br>
<b>Subject:</b> Re: [Qgis-user] Help with Ordnance Survey SLD's for OS Mastermap<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Hi David,<br>
IIRC that kind of variables are not supported by QGIS neither by the SLD standard.<o:p></o:p></p>
<p>You must replace it with the correct SVG filename.<o:p></o:p></p>
<p>Anyway, what is "os_cat" supposed to be? Is it a layer's field name?<o:p></o:p></p>
<p>Regards.<o:p></o:p></p>
<p>Sent from mobile. Sorry for being short.<br>
--<br>
Giuseppe Sucameli<o:p></o:p></p>
<div>
<p class="MsoNormal">Il 01/set/2014 00:01 "David James" <<a href="mailto:david@djames.org.uk">david@djames.org.uk</a>> ha scritto:<o:p></o:p></p>
<p class="MsoNormal">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><o:p></o:p></p>
</div>
</div>
</DIV>
<DIV>
<FONT FACE="Arial" SIZE="1">
</FONT> </DIV>
<DIV>
<P CLASS="MsoNormal" STYLE="MARGIN: 0cm 0cm 0pt"><SPAN STYLE="FONT-SIZE: 7.5pt; FONT-FAMILY: 'Arial','sans-serif'; mso-bidi-font-size: 8.0pt; mso-bidi-font-family: 'Times New Roman'"><FONT SIZE="2">This message is strictly confidential. If you have received this in error, please inform the sender and remove it from your system. If received in error you may not copy, print, forward or use it or any attachment in any way. This message is not capable of creating a legal contract or a binding representation and does not represent the views of Angus Council. Emails may be monitored for security and network management reasons.<SPAN STYLE="mso-spacerun: yes">  </SPAN>Messages containing inappropriate content may be intercepted. Angus Council does not accept any liability for any harm that may be caused to the recipient system or data on it by this message or any attachment. </FONT></SPAN></P>
</DIV>
</DIV></BODY></HTML>