How to add Imagery Orthophotos from DLS portal Cyprus (#QGIS #MapSwipe Tool) 1963 to 2014

Example Code

layername1 = 'Imagery Orthophoto 2014'
url1 = 'contextualWMSLegend=0&crs=EPSG:4326&dpiMode=7&featureCount=10&format=image/jpeg&layers=0&styles&url='

layername2 = 'Imagery Orthophoto 1963'
url2 = 'contextualWMSLegend=0&crs=EPSG:4326&dpiMode=7&featureCount=10&format=image/jpeg&layers=0&styles&url='

layer = QgsRasterLayer(url1, layername1, 'wms')
layer2 = QgsRasterLayer(url2, layername2, 'wms')

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s