<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Frank</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you so much. This is a great resource to be able to access.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Regards</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Dean Peters</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> qgis-za-user <qgis-za-user-bounces@lists.osgeo.org> on behalf of Frank Sokolic via qgis-za-user <qgis-za-user@lists.osgeo.org><br>
<b>Sent:</b> Wednesday, 12 August 2020 07:30<br>
<b>To:</b> qgis-za-user@lists.osgeo.org <qgis-za-user@lists.osgeo.org><br>
<b>Cc:</b> Frank Sokolic <sokolic@worldonline.co.za><br>
<b>Subject:</b> [QGIS-ZA-user] Adding NGI data as base layers in QGIS</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">Hi QGIS users,<br>
<br>
Every now and then I get asked how to add aerial photos as base layers <br>
in QGIS projects so I thought I'd share this method with you. We are <br>
very lucky in South Africa as National Geo-spatial Information (NGI) <br>
have made it so easy to access their spatial data. One can quickly add <br>
their colour aerial photos, 1:50000 and 1:250000 topo maps, or landcover <br>
maps to QGIS using these simple steps:<br>
<br>
Step 1: Select the following text and save it as a text file with an xml <br>
extension, e.g. NGI_WMS.xml:<br>
<br>
<!DOCTYPE connections><br>
<qgsWMSConnections version="1.0"><br>
<wms<br>
name="NGI WMS"<br>
url="<a href="http://apollo.cdngiportal.co.za/erdas-iws/ogc/wms/CDNGI_PORTAL_BACKDROP">http://apollo.cdngiportal.co.za/erdas-iws/ogc/wms/CDNGI_PORTAL_BACKDROP</a>"<br>
username=""<br>
password=""<br>
referer=""<br>
dpiMode="7"<br>
ignoreAxisOrientation="false"<br>
smoothPixmapTransform="false"<br>
invertAxisOrientation="false"<br>
ignoreGetMapURI="false"<br>
ignoreGetFeatureInfoURI="false"<br>
/><br>
</qgsWMSConnections><br>
<br>
Step 2: In QGIS open the Data Source Manager, e.g. by clicking <Ctrl>+L <br>
or from the menu: Layer > Data Source Manager.<br>
<br>
Step 3: Highlight the WMS/WMTS tab.<br>
<br>
Step 4: Click the Load button, navigate to where you saved the xml file <br>
in Step 1 and select the file.<br>
<br>
Step 5: Choose the connection called NGI WMS and import it. You have now <br>
created a connection to the WMS server that hosts the NGI spatial layers.<br>
<br>
Step 6: In the Data Source Manager WMS/WMTS tab, make sure that NGI WMS <br>
is selected in the drop-down list and then click the Connect button. <br>
After a few seconds a list of available layers will display.<br>
<br>
Step 7: Select/highlight a layer in the list and click Add to add it to <br>
your QGIS project.<br>
<br>
You might see the words "Returned legend is flawed" in the Layers Panel. <br>
I think that this is due to a configuration issue with the WMS on the <br>
server and is not a QGIS bug.<br>
<br>
Regards, Frank.<br>
<br>
<br>
_______________________________________________<br>
qgis-za-user mailing list<br>
qgis-za-user@lists.osgeo.org<br>
<a href="https://lists.osgeo.org/mailman/listinfo/qgis-za-user">https://lists.osgeo.org/mailman/listinfo/qgis-za-user</a><br>
</div>
</span></font></div>
</div>
</body>
</html>