QGIS: Difference between revisions

From Golden Retriever Wiki

Created page with "__FORCETOC__ ===QGIS - Mapping and other Functions=== In addition to the built-in ArcGIS functionality some may wish to use the free (open source) program QGIS. ''[https://qgi..."
 
No edit summary
Line 1: Line 1:
__FORCETOC__
__FORCETOC__
===QGIS - Mapping and other Functions===
===QGIS - Mapping and other Functions===
In addition to the built-in ArcGIS functionality some may wish to use the free (open source) program QGIS. ''[https://qgis.org/en/site/about/index.html QGIS is a professional GIS application that is built on top of and proud to be itself Free and Open Source Software (FOSS). ]'' This program has a lot of functionality but the learning curve is rather steep. It can be downloaded from the [https://qgis.org/en/site/ QGIS Website]
In addition to the built-in ArcGIS functionality some may wish to use the free (open source) program QGIS. ''[https://qgis.org/en/site/about/index.html QGIS is a professional GIS application that is built on top of and proud to be itself Free and Open Source Software (FOSS). ]'' QGIS runs on Windows, Mac and Linux and is an excellent way to view your data on your computer. This program has a lot of functionality but the learning curve can be rather steep. It can be downloaded from the [https://qgis.org/en/site/ QGIS Website]
For those who choose to use it here are some tips for accessing some of the basic functions such as loading data into maps. In addition to many other functions these are the most common functions Golden Retriever users you will most likely use:
For those who choose to use it here are some tips for accessing some of the basic functions such as loading data into maps. In addition to many other functions these are the most common functions Golden Retriever users you will most likely use:
====Open shapefile or add layer from csv====
====Open shapefile or add layer from csv====
Each map is made up of different layers. For example you may have one layer with pole locations, one with meter locations and one with a street map. Map layers can be either loaded from the <code>.shp</code> file in your shapefile folder or by adding a layer to your map from a <code>.csv</code> (delimited) file.
=====Opening a Shapefile=====
Either load the <code>.shp</code> from your file browser or open the QGIS Desktop application and open a shapefile using the ''Browser Panel''. This will give you a map showing your data point locatioins.
=====Creating Layer from CSV=====
You may also view your data location map from a <code>.csv</code> file. Since there are many different GPS coordinate systems in use you will need to know what coordinate system yours is in. If you downloaded your data directly from Golden Retriever Admin Portal the de
====Install Quickmap plug-in====
====Install Quickmap plug-in====
Under the ''Plugins'' menu item select ''Manage ind Install Plugins...''. Once the available plugins windows has loaded search for the ''QuickMapServices'' and install it. Once installed it can be found under the ''Web'' main menu.
====Add Quickmap layer====
====Add Quickmap layer====
Under the ''Plugins'' menu item select ''Manage ind Install Plugins...''. Once the available plugins windows has loaded search for the ''QuickMapServices'' and install it. Once installed it can be found under the ''Web'' main menu.
Under the ''Web'' main menu item select ''Quick Map Services'' → ''OSM'' → ''OSM Standard'' to load the [https://www.openstreetmap.org|''Open Street Map''] standard map. There are quite a few other options available but often require further setup and a license fee. The ''OSM Standard'' is very good and allows you to view your data points on a detailed street map (and some cases even transmission lines are shown).
Now that you have your data points and a street map you can view their locations and zoom in/out as needed.


====Add Pole Number to data layer====
====Add Pole Number to data layer====
When you opened your inspection data file into QGIS all of the associated data was also loaded by default. You can view things like the ''Pole Number'' quite easily. Other viewing options are also available but are beyond the scope of this wiki. To add a single data point attribute to your map view right-click the layer name and select ''Properties''. <br>
*Under the ''Lables'' heading change the Labels option from ''No Lables'' to ''Show labels for this layer''
*Select the attribute you wish to view on the map from the list of available options (the database field names) i.e. Pole Number
Once you click ''Apply'' or ''OK'' you will see the chosen attribute on your map layer. Other viewing options here are font size, style, color among others.
====Export/Save as image====
====Export/Save as image====
Another option is to save/export the current map view as an image (bmp, jpg, png, etc). This is done, depending on the version of QGIS you are using, as a ''Save As Image'' or ''Export'' option in the ''Project'' menu item.
====Exporting a csv for Golden Retriever from utility supplied shapefile====
====Exporting a csv for Golden Retriever from utility supplied shapefile====
<br>
<br>
These tips work on most versions of QGIS available as of March 2020 however future versions may see functions move or otherwise change. If you find QGIS helpful consider [https://qgis.org/en/site/getinvolved/index.html#donate donating] to its development.
These tips work on most versions of QGIS available as of March 2020 however future versions may see functions move or otherwise change. If you find QGIS helpful consider [https://qgis.org/en/site/getinvolved/index.html#donate donating] to its development.

Revision as of 15:59, 15 April 2020

QGIS - Mapping and other Functions

In addition to the built-in ArcGIS functionality some may wish to use the free (open source) program QGIS. QGIS is a professional GIS application that is built on top of and proud to be itself Free and Open Source Software (FOSS). QGIS runs on Windows, Mac and Linux and is an excellent way to view your data on your computer. This program has a lot of functionality but the learning curve can be rather steep. It can be downloaded from the QGIS Website For those who choose to use it here are some tips for accessing some of the basic functions such as loading data into maps. In addition to many other functions these are the most common functions Golden Retriever users you will most likely use:

Open shapefile or add layer from csv

Each map is made up of different layers. For example you may have one layer with pole locations, one with meter locations and one with a street map. Map layers can be either loaded from the .shp file in your shapefile folder or by adding a layer to your map from a .csv (delimited) file.

Opening a Shapefile

Either load the .shp from your file browser or open the QGIS Desktop application and open a shapefile using the Browser Panel. This will give you a map showing your data point locatioins.

Creating Layer from CSV

You may also view your data location map from a .csv file. Since there are many different GPS coordinate systems in use you will need to know what coordinate system yours is in. If you downloaded your data directly from Golden Retriever Admin Portal the de

Install Quickmap plug-in

Under the Plugins menu item select Manage ind Install Plugins.... Once the available plugins windows has loaded search for the QuickMapServices and install it. Once installed it can be found under the Web main menu.

Add Quickmap layer

Under the Web main menu item select Quick Map ServicesOSMOSM Standard to load the Open Street Map standard map. There are quite a few other options available but often require further setup and a license fee. The OSM Standard is very good and allows you to view your data points on a detailed street map (and some cases even transmission lines are shown). Now that you have your data points and a street map you can view their locations and zoom in/out as needed.

Add Pole Number to data layer

When you opened your inspection data file into QGIS all of the associated data was also loaded by default. You can view things like the Pole Number quite easily. Other viewing options are also available but are beyond the scope of this wiki. To add a single data point attribute to your map view right-click the layer name and select Properties.

  • Under the Lables heading change the Labels option from No Lables to Show labels for this layer
  • Select the attribute you wish to view on the map from the list of available options (the database field names) i.e. Pole Number

Once you click Apply or OK you will see the chosen attribute on your map layer. Other viewing options here are font size, style, color among others.

Export/Save as image

Another option is to save/export the current map view as an image (bmp, jpg, png, etc). This is done, depending on the version of QGIS you are using, as a Save As Image or Export option in the Project menu item.

Exporting a csv for Golden Retriever from utility supplied shapefile


These tips work on most versions of QGIS available as of March 2020 however future versions may see functions move or otherwise change. If you find QGIS helpful consider donating to its development.