BASEMAPS
Creating your own map doesn’t have to be a long process and doesn’t have to be reserved only for cartographers. Anyone can create a map for their needs. Whether the goal is to create an interactive map, present analysis results, or create a database, you will need a basemap (spatial reference) where you will embed your analysis results.
Here you will find information on:
- HOW TO UPLOAD AVAILABLE BASE MAPS [if something is already done, why waste time on it]
- SIDE EFFECT – the skill of managing plugins in QGIS
In the following sections, you will find:
- METHODS FOR CREATING YOUR OWN BASE MAPS for a selected area
- ADDING DATA TO BASE MAPS
- PERFORMING SIMPLE ANALYSES
LET’S GET STARTED and WE CLAIM IT’S NOT DIFFICULT 😁
PREPARATION FOR WORK
What will we need?
WILL
Which is almost everything; we’ll help you with the rest
SOFTWARE
QGIS
v.3.16
MAPS
URL addresses
plugins
SOFTWARE
f everyone can create a map, it must be done with free software like QGIS. Downloading it is very simple and doesn’t require any special knowledge from the user, just knowing which operating system they have 🙂 Just go to the website and download it.
QGIS does not have its own base maps like ArcGIS, but maps are available under open licenses. Below, we will present various methods and sources for loading base maps.
MAPS
Have you ever wondered if, for example, Google Maps can do more? WE ANSWER: YES
Are there other maps besides Google Maps? WE ANSWER: YES
Can I create my own layers and place them on Google Maps? ANSWER: YES
Can I manage the project and have exclusive access to it? ANSWER: YES
Just load the base map into the program and then only your imagination limits you.
Below we present the three most common methods for linking base maps in QGIS.
QuickMapSevices PLUGIN
Loading base maps in QGIS can be facilitated by the QuickMapServices plugin. Without unnecessary descriptions, step by step:
First Method:
- Go to the top menu bar, click on PLUGINS and select MANAGE AND INSTALL PLUGINS from the list.
- The plugin management window will appear; select ALL [1].
- A list of plugins will appear; find or type ‘QuickMapServices’ in the search box.
- Click on the selected plugin [information about the plugin will appear on the right] [2].
- Install the plugin [3] DONE.
- After installation, the plugin will appear on the toolbar and in the main menu bar under ‘WEB.’ After selecting it, you can choose the base map you’re interested in and switch it with another at any time.
Second Method:
The difference lies in manually downloading the plugin, preferably from the QGIS website, where the list of plugins is updated regularly.
- Enter the name of the plugin in the search engine.
- Download it, ensuring it is compressed [has a .zip extension; if not, compress it].
- Go to the QGIS software.
- Go to the top menu bar, click on ‘PLUGINS’ and select ‘MANAGE AND INSTALL PLUGINS’ from the list.
- The plugin management window will appear; select ‘INSTALL FROM ZIP FILE’ [1].
- A window will appear; indicate where you saved the downloaded file by clicking the […] icon [2] and selecting the file, which will then load itself.
- Click ‘Install Plugin’ [3] DONE.
xyz TILES
An alternative to the plugins presented above is the ability to directly load a specific base map into the program. This solution will satisfy those who are decided on a specific base map and do not like plugins. All we need to know is the URL address of the base map.
- In the browser window, select XYZ Tiles [I].
- Click on ‘New Connection,’ which will bring up the connections window.
- Name it [II-1].
- Enter the URL address [II-2]; below, we will provide the most popular ones.
- Confirm [II-3]; a connection with your name will appear in the browser bar.
- Drag the connection to the layers window [III] DONE 😎
OpenStreetMap
http://tile.openstreetmap.org/{z}/{x}/{y}.png
Google Maps
https://mt1.google.com/vt/lyrs=m&x={x}&y={y}&z={z}
Google Satellite
https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}
Stamen Terrain
http://a.tile.stamen.com/terrain/{z}/{x}/{y}.png
Carto Positron
https://cartodb-basemaps-a.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png
Esri Imagery
https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}
Esri Streets
https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}
Esri Topographic
https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}
OSM Cycle Map
http://tile.thunderforest.com/cycle/{z}/{x}/{y}.png
OSM Black and White
http://tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png
WMS
We personally treat WMS network connections as thematic maps, which can indeed serve as a base or additional content on our map for our projects.
- You can find WMS addresses in our previous post. Just copy them [click WMS] from the selected source or go to the source page. NOTE: do not copy the content of the page, only the address as shown below [1]
2. Go to the QGIS program.
3. From main bar choose LAYER
4. Select ADD LAYER
5. Click ADD WMS/WMTS LAYER
NOTE: We can also connect WMS from the browser like in XYZ Tiles.
- After activating the DATA SOURCE MANAGER window, you must add a new connection by clicking NEW [1]
- A CREATE A NEW WMS/WMTS CONNECTION window will appear [2]
- Name your connection and paste the URL address [3]
- Confirm the connection by clicking OK [4]
- NOTE: The ADD button [6] will be active when you click/activate the loaded layer [5].
The layer will automatically load.