Presented by: Shahab Spring 2016
Introduction Data Analytics Plugins Learning Resources
Introduction Data Analytics Plugins Learning Resources
Q(uantum)GIS is an open source Geographic Information System that supports most geospatial vector and raster file types and database formats. Unlike many other open source GIS programs, QGIS is available for a number of operating systems, including both Windows and Mac OSX. From: 4
Install QGIS (the standalone version) Download Data: City of Nanaimo, British Columbia, Canada Dropbox Link (temporary) Dropbox Link 5
FeatureQGISArcGIS LicenseFree (open source)Free for 60 days Supported data types GUIThings are more accessible BrowsersQGIS BrowserArcCatalog Joining tables Coordinating Systems Online datasets Plugins, tools Geo statistical tools Remote Sensing Tools Workflow builders Symbology Labeling 6
7 FeatureQGISArcGIS 3D Animations Color coding maps Editing maps Fixing topological errors Geocoding
Allows viewing and editing data Shape Data Raster Data Web Services (Demo) Web Services Global Relief Model 8
Introduction Data Analytics Plugins Learning Resources
Data Vector SHPWFS Raster ECWWMS DEM Styling PointsPolylines Polygons Other CreateCSV Export Edit
Data Vector SHPWFS Raster ECWWMS DEM Styling PointsPolylines Polygons Other CreateCSV Export Edit
12
They are widely used for spatial analysis Accuracy is very important Scale problem Silver problem Undershoot and overshoot problems 13
Data Vector SHPWFS Raster ECWWMS DEM Styling PointsPolylines Polygons Other CreateCSV Export Edit
15
DEM (Digital Elevation Model) Raster → 092… Color-coded based on the elevation (in meters from the sea level) by default. Rename to east coast and west coast Set 0 to 313 Make it white to black Extracting contours as shapes Raster → Extraction → Contours Set Elevation to 5 (meters) Pick a line a see the elevation of the region! Merge layers Vector → Data Management Tools → Merge Shapefiles to One 16
Data Vector SHPWFS Raster ECWWMS DEM Styling PointsPolylines Polygons Other CreateCSV Export Edit
Data → Shape → Water → APPURTENANCES.shp Rename to Fire Hydrants Filter only Public Hydrants using the query builder Use the Hydrant.svg to represent them Drag and drop Pipes.shp 18
Data → ROAD_CENTERLINES.shp Make it dashed yellow Add a solid black line (1mm) under it Add Data → WATER → PIPES.shp Make it blue Filter main ‘Primary Supplies’ 19
Data → Water → BUILDINGS.shp DATA → WATER → PARCELS.shp Data → Raster → 452D.ecw Edit buildings Border = No pen Fill = Gray 20 Edit Parcels Border: White Fill: orange Transparency = 50%
DATA → WATER → PIPES.shp Instead of single symbol, use Categorized Choose the column ‘Type’ Click on classify Remove the null ones! Same color different diameters Edit, Fields and Values, chosoe ‘Diameter’/100 If we want different colors: Choose Graduate instead of single Symbol Classify into 5 interval groups 21
DATA → SHP → ROAD_CENTERLINES.shp Show Labels Label with: STREETNAME Data → Raster → 452D.ecw Add Buffer Go to Placement: choose Curve, Above line DATA → SHP → PARCELS.shp Make it transparent Add HOUSENUMBE(R) Make it more complex! "HOUSENUMBE" + '\n' + "STREETNAME" Make it invisible for small scales: Rendering → Check Scale-based visibility 22
Data Vector SHPWFS Raster ECWWMS DEM Styling PointsPolylines Polygons Other CreateCSV Export Edit
Create new data Export data: we want to save only supply lines! DATA → WATER → PIPES.shp Query builder: "TYPE" LIKE '%Supply‘ Right click → Save as ESRI Shapefile Loading From CSV Layer → Add Layer → Delimited Text File DATA → CSV → incidents.csv, set x and y as lat and long, WSG 84 Check info To edit data, either edit it from the original file or save at as a shape file 24 Edit data DATA → PARCELS.shp Click on edit Change the nodes locations Delete using the select tool Add feature Fields
Introduction Data Analytics Plugins Learning Resources
Analytics OverlayingHeatmapCentroids
Analytics OverlayingHeatmapCentroids
Add zones from parcels to buildings DATA → SHP → BUILDINGS.shp DATA → SHP → PARCELS.shp Vector → Data Management tools → Join Attributes by Location 28
Analytics OverlayingHeatmapCentroids
Layer → Add Layer → Delimited Text File DATA → CSV → incidents.csv, set x and y as lat and long, WSG 84 DATA → SHP → ROAD_CENTERLINES.shp 30
Analytics OverlayingHeatmapCentroids
DATA → SHP → PARCELS.shp Vector → Geometry Tools → Polygon Centroids Zoom in over the island Add house numbers Move one label Select label Click on edit Move using the Move Feature tool 32
Introduction Data Analytics Plugins Learning Resources
Plug-ins Open LayersGeoSearch
Plug-ins Open LayersGeoSearch
DATA → SHP → ROAD_CENTERLINES.shp Plugins → Manage and Install OPENLAYERSPLUGIN Web -> Open Layers -> OpenStreetMap Web -> Open Layers -> Google Maps -> Google Hybrid 36
Plug-ins Open LayersGeoSearch
DATA → SHP → ROAD_CENTERLINES.shp DATA → SHP → Buildings.shp Plugins → Manage and Install GEPSEARCH Look for nanimo city hall, rename Look for Lios lane, nanimo Distance Route (right click to finish) 38
Introduction Data Analytics Plugins Learning Resources
QGIS documentation: Mastering QGIS Mastering QGIS QGIS By Example QGIS By Example Learning QGIS Learning QGIS QGIS Tutorials and Tips QGIS Tutorials and Tips QGIS Course on Lynda QGIS Course on Lynda 40