presented by: shahab spring 2016

40
Presented by: Shahab Spring 2016

Upload: others

Post on 26-Nov-2021

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Presented by: Shahab Spring 2016

Presented by: Shahab

Spring 2016

Page 2: Presented by: Shahab Spring 2016

Introduction

Data

Analytics

Plugins

Learning Resources

Page 3: Presented by: Shahab Spring 2016

Introduction

Data

Analytics

Plugins

Learning Resources

Page 4: Presented by: Shahab Spring 2016

Q(uantum)GIS is an open source Geographic Information System that supports mostgeospatial vector and raster file types and database formats.

Unlike many other open source GIS programs, QGIS is available for a number ofoperating systems, including both Windows and Mac OSX.

From: http://spatialnews.geocomm.com/articles/qgisreview/

4

Page 5: Presented by: Shahab Spring 2016

Install QGIS (the standalone version)

http://www.qgis.org/en/site/forusers/download.html

Download Data: City of Nanaimo, British Columbia, Canada

Dropbox Link (temporary)

5

Page 6: Presented by: Shahab Spring 2016

Feature QGIS ArcGIS

License Free (open source) Free for 60 days

Supported data types

GUI Things are more accessible

Browsers QGIS Browser ArcCatalog

Joining tables

Coordinating Systems

Online datasets

Plugins, tools

Geo statistical tools

Remote Sensing Tools

Workflow builders

Symbology

Labeling

6

Page 7: Presented by: Shahab Spring 2016

7

Feature QGIS ArcGIS

3D

Animations

Color coding maps

Editing maps

Fixing topological errors

Geocoding

Page 8: Presented by: Shahab Spring 2016

Allows viewing and editing data

Shape Data

Raster Data

Web Services (Demo)

http://maps.ngdc.noaa.gov/

Web Services

Global Relief Model

8

Page 9: Presented by: Shahab Spring 2016

Introduction

Data

Analytics

Plugins

Learning Resources

Page 10: Presented by: Shahab Spring 2016

Data

Vector

SHP

WFS

Raster

ECW

WMS

DEM

Styling

Points

Polylines

Polygons

Other

Create

CSV

Export

Edit

Page 11: Presented by: Shahab Spring 2016

Data

Vector

SHP

WFS

Raster

ECW

WMS

DEM

Styling

Points

Polylines

Polygons

Other

Create

CSV

Export

Edit

Page 12: Presented by: Shahab Spring 2016

Vector data is used to show spatial features, such as trees, buildings, rivers …

They are 2.5 D! X, Y and optional Z (captures either depth or height)

1. Point feature: trees

2. Polyline feature: connected points that do not form an enclosed shape such as highways andrivers

3. Polygon feature: connected points that form an enclosed shape ,such as school boundaries

Shape Files (By ESRI, standard in QGIS)

WFS (Web Feature Service): streams data directly from a server to QGIS (try this)

Caching (faster but doesn’t update automatically)

12

Page 13: Presented by: Shahab Spring 2016

They are widely used for spatial analysis

Accuracy is very important

Scale problem

Silver problem

Undershoot and overshoot problems

13

Page 14: Presented by: Shahab Spring 2016

Data

Vector

SHP

WFS

Raster

ECW

WMS

DEM

Styling

Points

Polylines

Polygons

Other

Create

CSV

Export

Edit

Page 15: Presented by: Shahab Spring 2016

Image-based: they have to be georeferenced

They need a helper file or coordinates are saved within the file

Coordinate system should be known

ECW (Enhance Compressed Wavelet): much smaller than GIF or JPEG

Data → Raster → load 4 ecw files with the UTM ZONE 10n

Transform to WGS84 which has latitude and longitude

WMS (Web Mapping Service) / WMTS (Web Mapping Tiles Service)

WMS-Toporama, road network, built-ups (PNG24 vs. JPEG)

Add Parcels layer

15

Page 16: Presented by: Shahab Spring 2016

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

Page 17: Presented by: Shahab Spring 2016

Data

Vector

SHP

WFS

Raster

ECW

WMS

DEM

Styling

Points

Polylines

Polygons

Other

Create

CSV

Export

Edit

Page 18: Presented by: Shahab Spring 2016

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

Page 19: Presented by: Shahab Spring 2016

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

Page 20: Presented by: Shahab Spring 2016

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%

Page 21: Presented by: Shahab Spring 2016

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

Page 22: Presented by: Shahab Spring 2016

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

Page 23: Presented by: Shahab Spring 2016

Data

Vector

SHP

WFS

Raster

ECW

WMS

DEM

Styling

Points

Polylines

Polygons

Other

Create

CSV

Export

Edit

Page 24: Presented by: Shahab Spring 2016

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

Page 25: Presented by: Shahab Spring 2016

Introduction

Data

Analytics

Plugins

Learning Resources

Page 26: Presented by: Shahab Spring 2016

Analytics Overlaying Heatmap Centroids

Page 27: Presented by: Shahab Spring 2016

Analytics Overlaying Heatmap Centroids

Page 28: Presented by: Shahab Spring 2016

Add zones from parcels to buildings

DATA → SHP → BUILDINGS.shp

DATA → SHP → PARCELS.shp

Vector → Data Management tools → Join Attributes by Location

28

Page 29: Presented by: Shahab Spring 2016

Analytics Overlaying Heatmap Centroids

Page 30: Presented by: Shahab Spring 2016

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

Page 31: Presented by: Shahab Spring 2016

Analytics Overlaying Heatmap Centroids

Page 32: Presented by: Shahab Spring 2016

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

Page 33: Presented by: Shahab Spring 2016

Introduction

Data

Analytics

Plugins

Learning Resources

Page 34: Presented by: Shahab Spring 2016

Plug-ins Open Layers GeoSearch

Page 35: Presented by: Shahab Spring 2016

Plug-ins Open Layers GeoSearch

Page 36: Presented by: Shahab Spring 2016

DATA → SHP → ROAD_CENTERLINES.shp

Plugins → Manage and Install

OPENLAYERSPLUGIN

Web -> Open Layers -> OpenStreetMap

Web -> Open Layers -> Google Maps -> Google Hybrid

36

Page 37: Presented by: Shahab Spring 2016

Plug-ins Open Layers GeoSearch

Page 38: Presented by: Shahab Spring 2016

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

Page 39: Presented by: Shahab Spring 2016

Introduction

Data

Analytics

Plugins

Learning Resources