<div dir="ltr"><div><div><div><div>Tom, <br><br></div>I don't know anything about the software that you are using to render the features, but here is a trick that I used to use with Mapserver.  Shapefile features are generally rendered in the order that they are stored in the file(s).  <br><br></div>You may want to try sorting the features so that the sectors are rendered before the roads, this would put the roads on top of the sectors.  <br><br></div>Here is a link to the sortshp utility, but I don't think that you want to install MapServer just for this utility:  <a href="http://mapserver.org/utilities/sortshp.html">http://mapserver.org/utilities/sortshp.html</a> (of course if you are using OSGEO4W, it is easy to install)<br><br></div><div>You can also probably do this pretty easily using a SQL snippet and OGR:  <a href="http://www.gdal.org/ogr_sql.html">http://www.gdal.org/ogr_sql.html</a>  It may also be pretty simple in QGIS.<br><br></div><div>David.<br></div><div><br><br></div><div><div><div><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 22, 2015 at 10:00 AM, Tom Lennon <span dir="ltr"><<a href="mailto:tolennon@gmail.com" target="_blank">tolennon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Tom</div><div class="gmail_default" style="font-size:small">I betting that your merged file has NULL in the color-item you used for all polygons from the roads source.</div><div class="gmail_default" style="font-size:small">If that is so you could try changing the NULL color-item to a value not included in the valid sectors color-item.</div><div class="gmail_default" style="font-size:small">Then go to properties > style and click CLASSIFY to get the new color-item included.</div><div class="gmail_default" style="font-size:small">Right click the color swatch in the legend, choose change transparency and make the color 99 percent transparent.</div><div class="gmail_default" style="font-size:small">You can also change the outline color to be different to that of the sector outline.</div><div class="gmail_default" style="font-size:small">Hope it works.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Regards</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Mon, Jun 22, 2015 at 6:19 AM, DelazJ <span dir="ltr"><<a href="mailto:delazj@gmail.com" target="_blank">delazj@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi,<br></div>Tom, so you have both roads and sectors in same shapefile. <br></div>To show all of them, unless you use rule-based renderer style, in categorized style, they should have a common field filled.<br></div>Once you have set the colors for all, at the right bottom of the dialog, you have an "Advanced" button. Use "symbol level" option to set which color will be on top of which one...<br><br></div>Regards,<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-22 10:33 GMT+02:00 Paulo van Breugel <span dir="ltr"><<a href="mailto:p.vanbreugel@gmail.com" target="_blank">p.vanbreugel@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">If you want one shapefile only, you might want a topologically correct 
file, i.e., no overlapping polygons / boundaries. These could be created
 using the v.clean function (a GRASS function available in the QGIS 
toolbox).<br>
<br>
</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 22, 2015 at 9:55 AM, Tom Faro <span dir="ltr"><<a href="mailto:Tom.Faro@zenith-insurance.co.uk" target="_blank">Tom.Faro@zenith-insurance.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi David,<br>
<br>
My apologies to both you and Matt as I should have been clearer. My aim is to merge them both so that I can use this shapefile in another piece of software (which will only accept one shapefile to be viewed at a time). However, what you are both suggesting
 does work perfectly if I want to stay in QGIS, so thanks very much for your help!<br>
<br>
Regards, <br>
Tom<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<table style="width:100.0%" border="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><img src="cid:image007.jpg@01D0ACC9.A48A37B0" height="60" width="170"></span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<table border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">Tom Faro<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">Pricing Analyst<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">Zenith Insurance Management UK Ltd<u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<table border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">E-Mail :
<u></u><u></u></span></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><a href="http://Tom.Faro@zenith-insurance.co.uk" target="_blank">Tom.Faro@zenith-insurance.co.uk</a><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">Web :
<u></u><u></u></span></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><a href="http://www.zenith-insurance.co.uk" target="_blank">www.zenith-insurance.co.uk</a><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">Address :
<u></u><u></u></span></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">Chester House, Harlands Road, Haywards Heath, West Sussex, RH16 1LR<u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
<td style="padding:.75pt .75pt .75pt .75pt" valign="bottom">
<p class="MsoNormal" style="text-align:right" align="right"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><img src="cid:image003.jpg@01D0ACC9.A2AB6590" border="0" height="137" width="118"></span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">  </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><img src="cid:image004.jpg@01D0ACC9.A2AB6590" border="0" height="137" width="118"></span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">Zenith Insurance Management UK Limited, a part of the Markerstudy Group of Companies<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><img src="cid:image005.jpg@01D0ACC9.A2AB6590" border="0" height="37" width="151"></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> David Fawcett [mailto:<a href="mailto:david.fawcett@gmail.com" target="_blank">david.fawcett@gmail.com</a>]
<br>
<b>Sent:</b> 19 June 2015 15:06<br>
<b>To:</b> Matt Boyd<br>
<b>Cc:</b> Tom Faro; <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [Qgis-user] Merging Shapefiles on Top of Each Other<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Tom, <u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">As Matt says, you don't need to combine the roads and sectors into the same dataset to display them together in QGIS.  You can add both separate datasets to a map and you can order the layers so that the roads
 are drawn after the polygons.<u></u><u></u></p>
</div>
<p class="MsoNormal">David.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Jun 18, 2015 at 11:02 PM, Matt Boyd <<a href="mailto:mattslists@gmail.com" target="_blank">mattslists@gmail.com</a>> wrote:<u></u><u></u></p>
<div>
<p class="MsoNormal">Hi Tom,<u></u><u></u></p>
<div>
<p class="MsoNormal">Have a look at some of the QGIS tutorials (google or the QGIS website shoudl have some). It sounds like you just need to overlay the layers in the correct order, merge generally means something else.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">You can drag / move the layers around / up / down in the layers window. Generally from top to bottom, points, lines, polygons. There is also an option to give each layer a level of transparency.<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">On Thu, Jun 18, 2015 at 8:59 PM, Tom Faro <<a href="mailto:Tom.Faro@zenith-insurance.co.uk" target="_blank">Tom.Faro@zenith-insurance.co.uk</a>> wrote:<u></u><u></u></p>
</div>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">I have been having some trouble with merging two shapefiles – one is a map of all sectors in the UK and one is a map of all motorways in the UK. I have successfully merged them
 by putting them both as polygons. However, when I fill in the sectors with different colours the road map disappears. The same happens when I use the same shapefile in other software.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Is it possible to merge them so that the roads are always on top? Any Help with this matter would be greatly appreciated.<br>
<br>
Many Thanks,<br>
Tom<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><img src="cid:image006.gif@01D0ACC9.A2AB6590" alt="Environment" border="0" height="40" width="446"><u></u><u></u></p>
</td>
</tr>
</tbody>
</table>
<div class="MsoNormal" style="text-align:center" align="center">
<hr align="center" size="2" width="100%">
</div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">Zenith Insurance Management UK Limited is an appointed service provider to Zenith Insurance plc and is not an Agent of Zenith Insurance plc. Zenith and Link are the European
 brands of the Markerstudy Group of Companies.<br>
<br>
Zenith Insurance Management UK Limited (Registered No. 5309111). Link Underwriting Agency Limited (Registered No. 4227586). Both companies are registered in England & Wales at Chester House, Harlands Road, Haywards Heath, West Sussex, RH16 1LR. Zenith Insurance
 Management UK Limited is authorised and regulated by the Financial Conduct Authority (No. 429279). For security and training purposes, all calls may be monitored or recorded.<br>
<br>
Any views of opinions expressed in this e-mail are solely those of the author and do not necessarily represent those of the Markerstudy Group of Companies. This message (and any attachments) contains information that may be confidential and protected from disclosure.
 If you are not the intended recipient of this message or any parts of it, please immediately contact the sender and delete the message from your system. No other person is authorised to copy, forward, distribute, disseminate or retain this message in any form.</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
<div class="MsoNormal" style="text-align:center" align="center"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">
<hr align="center" size="2" width="100%">
</span></div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">This email message has been scanned for viruses by Mimecast.<br>
Mimecast delivers a complete managed email solution from a single web based platform.<br>
For more information please visit <a href="http://www.mimecast.com" target="_blank">
http://www.mimecast.com</a> <u></u><u></u></span></p>
<div class="MsoNormal" style="text-align:center" align="center"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">
<hr align="center" size="2" width="100%">
</span></div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">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><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">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><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>

<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div><a href="mailto:tolennon@gmail.com" target="_blank">tolennon@gmail.com</a></div>
</font></span></div>
<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" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div><br></div>