open source software for gis

23
university-logo Open source software for GIS + Case study using QGIS for investigating supermarket location Robin Lovelace University of Leeds November 2013 Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 1 / 23

Upload: robin-lovelace

Post on 05-Dec-2014

299 views

Category:

Education


7 download

DESCRIPTION

An overview of the open source movement, what it means for geographers, and finally a practical on using QGIS, a flagship open source mapping program.

TRANSCRIPT

Page 1: Open Source Software for GIS

university-logo

Open source software for GIS+ Case study using QGIS for investigating supermarket location

Robin Lovelace

University of Leeds

November 2013

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 1 / 23

Page 2: Open Source Software for GIS

university-logo

Outline

1 IntroductionWhat is Open Source?The problemSolutions

2 OS ApplicationsData analysisData presentation

3 OS Data

4 OS Publications

5 The open source movement and geographyQGIS tutorial

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 2 / 23

Page 3: Open Source Software for GIS

university-logo

What is Open Source?

Open source means different things to different people.

SoftwareAn approach to data access and informationA political movementA philosphy

This talk is mostly about open source software, focussing on QGIS.

Aims: to introduce the concept and provide a headstart in newdevelopments in Geographical software. Why open source?

Many reasons: most importantly for you, it’s getting BIG.See Paul Ramsay’s talk: http://vimeo.com/76365035 — Being an open source citizen

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 3 / 23

Page 4: Open Source Software for GIS

university-logo

Definitions

Proprietary softwareNot owned by you — grantedpermission to use, based on end-userlicence agreement (EULA). E.g:

“I certify that I am currently an employee of UofL, ("USER"). I

understand that I am only authorized to use this software (1)

while I am an employee and (2) in accordance with the

provisions outlined below, the ESRI license agreement

(99U1335) between UofL and ESRI and the associated

attachments (which includes...”

“protected by U.S. copyright laws”

CopyrightedProfit motive — money generatedthrough software saleCentralized decision making

Open Source softwareYou are free to:

DownloadModifyCopyRe-distribute*

Legally defined:copy left — GPLor permissive (BSD,MIT licenses)

Profits from services(OpenGeo)Volunteers“Many hands makelight work”

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 4 / 23

Page 5: Open Source Software for GIS

university-logo

The problem 1: Software — “Your trial period is over”

Access to information isunequalNot only do they want yourmoneyThey want everyone’s money!=> Less £££ for

HealthEducationSustainable dev.

And it doesn’t even work! (thatwell)

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 5 / 23

Page 6: Open Source Software for GIS

university-logo

The problem 2Proprietary data and articles

“researchers, especially in smaller UK universities, do not haveaccess to the publications they need.”If people in Universities find it hard to get the right info...What about when you leave University?What about those who never went?

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 6 / 23

Page 7: Open Source Software for GIS

university-logo

Solutions

Unequal access to up-to-date computing:Greater investment in third world computingOr use cheaper programs

Unequal access to dataGreater research budgets for buying confidential dataOr encourage researchers to make data available

Difficult to access journal articlesMore investment for library subscriptionsOr move towards open source publishing model

Shift in thinking, not just licences.

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 7 / 23

Page 8: Open Source Software for GIS

university-logo

R: for data analysis and modelling

R within the user friendly environment RStudio

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 8 / 23

Page 9: Open Source Software for GIS

university-logo

R: reproducibility

Your results can be replicated by anyone, anywhere.

Regardless of expensive softwareRegardless (up to a point) of computing powerRegardless of software updates (stability)

However... steep learning curve.

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 9 / 23

Page 10: Open Source Software for GIS

university-logo

R: as a GIS

Spatial interaction model mapped in R

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 10 / 23

Page 11: Open Source Software for GIS

university-logo

LATEX: hypertext markup language for publishing:benefits

Thesis classJournals use itVery flexible, from presentations to books!Automatic referencing, contents, list of figures etc.Allows you to get on with the real workExcellent for maths

e(t) = max{min[e(t − δt) + ∆(t),eM)],0}. (1)

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 11 / 23

Page 12: Open Source Software for GIS

university-logo

ggplot2

500

1000

1500

2000

2500

3000

1000 2000 3000

Age Constraint

Sim

ulat

ed

1000

2000

3000

1000 2000 3000

Mode Constraint

Variable type

Age/sex

Distance

Mode

NS−SEC

1000

2000

3000

1000 2000 3000

Distance Constraint

Census

Sim

ulat

ed

500

1000

1500

2000

2500

3000

1000 2000 3000

NS−SEC Constraint

Census High qualitygraphics (ggplot2)

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 12 / 23

Page 13: Open Source Software for GIS

university-logo

Office programs

Microsoft Office equivalent, better in some ways, worse in others

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 13 / 23

Page 14: Open Source Software for GIS

university-logo

Ubuntu — this computer’s running on it*

*Other operating systems are available

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 14 / 23

Page 15: Open Source Software for GIS

university-logo

Open data: Driven by the “open government” initiative

Huge potential for scientific research (Uhlir & Schroder 2007)

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 15 / 23

Page 16: Open Source Software for GIS

university-logo

Crowd-sourced data

OSM, Twitter, Wikipedia, http://harassmap.org/, cyclestreets.net etc

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 16 / 23

Page 17: Open Source Software for GIS

university-logo

Open Source publication model: rival to status quo?

“Academic publishers make Murdoch look like a socialist”(Monbiot, 2012)Backlash, with institutional support.3 directions this is going:

Green: completely open sourceGold: proprietary model with “open source” option (£3000 perpaper!)Status quo: proprietary model but preprints become more widelyavailable

Costs and benefits of each

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 17 / 23

Page 18: Open Source Software for GIS

university-logo

Completely open source

According to the Directory of Open Source Journals, 101 journalsbelonging to Geography subject area.Open source hardwareCan everything be open source? Yes, according to Sam Muirhead

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 18 / 23

Page 19: Open Source Software for GIS

university-logo

Open source and geography

Closer links with physical sciences (Ince et al. 2012)Contrasts with Geography’s elitist undertones

Geography can be about breaking down barriersAbout making information about the world available

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 19 / 23

Page 20: Open Source Software for GIS

university-logo

Open source GIS packages

Wide range of options available (Steiniger & Bocher 2009)Desktop GIS options

UDigGVSIG and GVSIG “Batovi”QGIS — becoming ‘industry standard’

GeodatabasesPostgreSQLPostGIS — Competitive with Oracle Spatial

Web mappingGeoServerOpenLayers — see crime heat mapgeojson.io and TileMill by MapBox

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 20 / 23

Page 21: Open Source Software for GIS

university-logo

QGIS + an introductory session

Next stage: test drive QGIS for yourself - download tutorial from here:https://dl.dropboxusercontent.com/u/15008199/osm-challenge-public.zipRobin Lovelace (University of Leeds) Open source software for GIS School of Geography 21 / 23

Page 22: Open Source Software for GIS

university-logo

References

Ince, D. C., Hatton, L., & Graham-Cumming, J. (2012). The case for opencomputer programs. Nature, 482(7386), doi:10.1038/nature10836

Monbiot, G. (2011). Academic publishers make Murdoch look like a socialist.The Guardian

Steiniger, S., & Bocher, E. (2009). An overview on current free and open sourcedesktop GIS developments. International Journal of Geographical InformationScience, 23(10). doi:10.1080/13658810802634956

Uhlir, P., & Schroder, P. (2007). Open data for global science. Data ScienceJournal

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 22 / 23

Page 23: Open Source Software for GIS

university-logo

Further links

POST (2012) Open Source and Open Standards - POST Note.Parliamentary Office of Science and Technology

Cadwalladr, C. (2012). Do online courses spell the end for thetraditional university? The Guardian

Information into the potential for community mapping using geojson.io:http://robinlovelace.net/software/2013/11/16/mapping-for-the-masses.html

Robin Lovelace (University of Leeds) Open source software for GIS School of Geography 23 / 23