cs 3225: algorithms for gis - bowdoin

26
CS 3225: Algorithms for GIS ! Introduction Thursday, September 4, 14

Upload: others

Post on 27-Jan-2022

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CS 3225: Algorithms for GIS - Bowdoin

CS 3225: Algorithms for GIS

! Introduction

Thursday, September 4, 14

Page 2: CS 3225: Algorithms for GIS - Bowdoin

Definitions of GIS

! A powerful set of tools for collecting, storing, retrieving at will, transforming and displaying spatial data from the real world (Burrough, 1986)

! A system for capturing, storing, checking, manipulating, analyzing and displaying data which are spatially referenced to the Earth (Dept. of Env. 1988)

! An information technology which stores, analyses and displays both spatial and non-spatial data (Parker, 1988)

Thursday, September 4, 14

Page 3: CS 3225: Algorithms for GIS - Bowdoin

Definitions of GIS

! A database system in which most of the data are spatially indexed, and upon which a set of procedures operate in order to answer queries about spatial entities in the database (Smith et al 1987)

! A decision support system involving the integration of spatially referenced data in a problem solving environment (Cowen 1988)

! Any computer based set of procedures used to store and manipulate geographically referenced data (Aronoff 1989)

Thursday, September 4, 14

Page 4: CS 3225: Algorithms for GIS - Bowdoin

GIS

! Broadly speaking

• the algorithmic problems that arise when processing geographical data

• the systems problems (collection, storage, web , security, etc)

• the existing software packages for processing geographical data

Thursday, September 4, 14

Page 5: CS 3225: Algorithms for GIS - Bowdoin

What can you do with a GIS?

! Collect data• Normally data comes in data layers

• railroads, roads, rivers• county and state boundaries• city, land use, soil type, population datasets • ...

Thursday, September 4, 14

Page 6: CS 3225: Algorithms for GIS - Bowdoin

Geographical Data

! (Some) types of data available• Topographic maps• Satellite images and photographs• Trajectory data (from cell phones)• Census data • Administrative data• Statistical data on people, land cover and land use• Data from marketing surveys• Data on utilities (gas, water, electricity) and their locations• Data on rocks, water, soil, atmosphere, biological activity, natural disaster

and hazards collected for a wide range of spatial and temporal resolutions• ...and much more

Thursday, September 4, 14

Page 7: CS 3225: Algorithms for GIS - Bowdoin

Some Sources of Data

! National Agencies• NASA• USGS (US Geological survey: www.usgs.gov)

! Remote sensing companies and satellite agencies! Private mapping companies

• DeLorme (Freeport, Maine)! Land registration and Cadastre! Military organizations! Hydrographic mapping! Natural resource surveys

• Geologists, physical geographers, ecologists, oceanographers,...

Thursday, September 4, 14

Page 8: CS 3225: Algorithms for GIS - Bowdoin

What can you do with a GIS?

! Visualization• Display maps• Zoom in/out, scroll • Turn layers on /off • …

Thursday, September 4, 14

Page 9: CS 3225: Algorithms for GIS - Bowdoin

Thursday, September 4, 14

Page 10: CS 3225: Algorithms for GIS - Bowdoin

Thursday, September 4, 14

Page 11: CS 3225: Algorithms for GIS - Bowdoin

Precipitation in Tropical South America

Lots of rainDry

[from H.Mitasova, NCSU]

Thursday, September 4, 14

Page 12: CS 3225: Algorithms for GIS - Bowdoin

What can you do with a GIS?

! Data analysis• Every object has attributes and location and is is kept in a database

• Standard database queries• e.g.: List all cities with population >2M

• Spatial queries• e.g.: • Find all areas where poverty level is > 30?• Find all sites in this test area• Find the intersections of rivers and roads (bridges)• Find the nearest neighbor of this site• Find the optimal route for this truck that has to visit all these sites• Find the neighbors of this entity• Count the number of occurrences of entity type A within distance D of entity type B

Thursday, September 4, 14

Page 13: CS 3225: Algorithms for GIS - Bowdoin

What can you do with a GIS?

! Modeling• model ground water distribution • model rainfall• model flooding • model erosion• model sediment flow • etc

Thursday, September 4, 14

Page 14: CS 3225: Algorithms for GIS - Bowdoin

Nitrogen in Chesapeake Bay

High nitrogen concentrations

[from H. Mitasova, NCSU]

Thursday, September 4, 14

Page 15: CS 3225: Algorithms for GIS - Bowdoin

Applications of GIS

! GIS emerged as a powerful tool for Environmental Sciences

! Monitoring:• keep an eye on the state of earth systems using satellites and monitoring

stations (water, pollution, ecosystems, urban development,…)! Modeling and simulation:

• predict consequences of human actions and natural processes! Analysis and risk assessment:

• find the problem areas and analyze the possible causes (soil erosion, groundwater pollution,..)

! Planning and decision support:• provide information and tools for better management of resources

Thursday, September 4, 14

Page 16: CS 3225: Algorithms for GIS - Bowdoin

Applications of GIS

! As spatial data becomes more and more available, GIS is widely used in many disciplines• Agriculture• Archaeology• Epidemiology and health• Forestry• Emergency services• Navigation• Marketing• Real estate• Regional/local planning• Social studies• Tourism • .....

Thursday, September 4, 14

Page 17: CS 3225: Algorithms for GIS - Bowdoin

! GIS make possible a wide range of analysis

• E.g: resource inventory• combine various types of data • major road network • built-up areas• airports

Think of the computing aspect

Thursday, September 4, 14

Page 18: CS 3225: Algorithms for GIS - Bowdoin

! GIS make possible a wide range of analysis

• E.g: bus tour of local attractions• visit each place only once• minimize travel time• efficiency matters (gas prices)

Think of the computing aspect

Thursday, September 4, 14

Page 19: CS 3225: Algorithms for GIS - Bowdoin

! GIS make possible a wide range of analysis

• E.g: siting a coal mine• it’s ugly • it’s polluting• want to minimize impact • place it such that it affects fewest people

Think of the computing aspect

Thursday, September 4, 14

Page 20: CS 3225: Algorithms for GIS - Bowdoin

! GIS make possible a wide range of analysis

• E.g: find potential extraction sites • find all locations that are within .5km of a major road, not in a

built-up area, and on a sand-gravel deposit

Think of the computing aspect

Thursday, September 4, 14

Page 21: CS 3225: Algorithms for GIS - Bowdoin

! GIS make possible a wide range of analysis

• E.g. analyzing the placement of clinics• What is the travel time to the closest clinic? • What is largest travel time to the closest clinic? • Need a new clinic? • Where to place a new clinic? • Which clinic to close? • Where to move a clinic?

Think of the computing aspect

Thursday, September 4, 14

Page 22: CS 3225: Algorithms for GIS - Bowdoin

GIS Software

! Commercial• ArcGIS (by ESRI)

• 30% of the GIS software market • ESRI started in 1969• the 70th biggest software company in the world • $1.2 billion revenue

• InterGraph, ERDAS, MapInfo, ...etc ! Open source

• GRASS GIS! Academic

• modules developed by research groups• usually open source

Thursday, September 4, 14

Page 23: CS 3225: Algorithms for GIS - Bowdoin

GIS and Computer Science

! Rich area of problems for Computer Science• databases• graphics• image processing/vision• graph theory• computational geometry• visualization• combinatorial optimization• interfaces

pn

Thursday, September 4, 14

Page 24: CS 3225: Algorithms for GIS - Bowdoin

! Data representation• What is a good representation for a set of county boundaries? • spaghetti vs topological structures• space-time trade-off

! Spatial data structures• points, lines, polygons • 2D, 3D• queries: nearest neighbors, range queries• spatial join or map overlay

! Terrains• compute isolines• compute flow• compute visibility• guarding

GIS and Computer Science

Thursday, September 4, 14

Page 25: CS 3225: Algorithms for GIS - Bowdoin

GIS and Computer Science

! Meshing and simplification: • Compute an approximation of a surface that has small size and small error • Maximize minimum angles

• small angles lead to numerical instability

! Routing• real time traffic advise (through your cell phone)• find best jogging routes (minimize turns and avoid high traffic streets)

! Map labeling • place labels so that they are as horizontal as possible, minimize

intersections • different rules for points, lines or polygons

! Image processing • automatic road extraction• LIDAR data cleanup

Thursday, September 4, 14

Page 26: CS 3225: Algorithms for GIS - Bowdoin

This class

! Explores basic computer science questions encountered in GIS! Focus on algorithms and data structures ! 3xx, projects class

• expect significant programming • paper reading and discussion • project proposal, checkin points, presentation

! Topics• Spatial data structures and problems

• B-tree, kd-tree, quadtree• finding nearest neighbors, intersection, window queries, range queries, ...

• Simplification • line simplification• terrain simplification

• Terrain processing • flow, visibility

Thursday, September 4, 14