Massachusetts Institute of Technology
Department of Urban Studies and Planning


11.188: Urban Planning and Social Science Laboratory
11.205: Introduction to Spatial Analysis

Lecture 2: Cartography, Coordinate Systems, Relational Databases, & Data Management

February 24, 2021,  Joe Ferreira

(including notes by Prof. Joe Ferreira, Prof. Mike Flaxman, Laura Delgado,
and former Visting Prof. Zhong-Rhen Peng)


Administrative notes regarding lab exercises and schedule

Outline of Today




Map elements and thematic mapping:

Symbology, classification, and normalization

 

Scale

Ratio Scales

            1:10,000, or 1:100,000 or 1/100,000
            One unit on the map equals designated number of units on the ground.

Verbal Scales:

     One inch represents 2,000 feet
(1:24,000 because there are 24,000 inches in 2,000 square feet).

     One centimeter represents 20 kilometers (1:2,000,000)

Printout vs. onscreen:

10 foot pixel + 72 pixels per inch onscreen

   ==> One inch represents 720 feet (1:8,600) -

But some screens have higher/lower pixel densities; not all screens have square pixels; also, screendump to printer will change scale since printer will have different dot-density than the screen

Beware! Good GIS software will try to match screen and printer properties to software settings so screen and printouts will show appropriate scale and show correct scalebars. For the scale to be meaningful, display units and hardware choices must be properly identified.

Large Scale or Small Scale

In general,

         Large scale: >= 1:24,000 (the representative fraction is large, but they are good for *small* area representation - city block)

         Small scale: <= 1:500,000 (good for *large* area representation - metro area)

  Important concept: “Minimum Mapping Unit" (MMU)

 

Typical Scales Used

In Metric System:

1:10,000 (example: German national basemaps – individual houses shown) 1:25,000 ... 1:100,000


In American System:

1:9,600 (one inch represents 800 feet)

1:24,000 (one inch represents 2000 feet) – typical USGS “quad sheet”

1:62,500 (one inch represents slightly less than one mile)

 

Key Cartographic Principals

Maps are a medium of communication

              So…know your audience

              Or if you don’t/can’t, use the “10 foot rule”

                     Can an average citizen read & comprehend E sized plot at 10 feet?

                     Or a page printed at 8.5x11” – font size at least 12 point

A good map should never be a “GIS Data Dump”

Selective emphasis is key

The hard part is removing data, when in doubt - delete

Divide mapped elements into “figure / ground”

Figure = Foreground elements – the essential story of the map

Ground = Background elements – provide context, but don’t overwhelm

==> Use visual symbols, colors, and shades to emphasize foreground, & minimize background clutter


Colors and Categories

Human cognitive limit / rule of thumb:

Try to limit the number of thematic colors

  • If not possible, try creating logical visual subgroups
    • example: housing in 3 shades of orange, commercial 3 shades of red, etc.
  • Hard to distinguish more than 3-4 tones within same hue
    • Even harder when your map is reproduced in grayscale…

Typical GIS color defaults are fully saturated colors

  • Tip #1: desaturate colors, especially background colors or those covering large map areas
  • Tip #2: reserve bright, saturated colors either for foreground elements, or small polygons
  • Tip #3: turn *off* or 'dim' the outline of polygons, particularly for background polygons or small polygons

Six Principal Visual Variables

Use contrasting symbols to portray geographic differences

For qualitative differences

Use shape, texture and hue (e.g., land use types).

For quantitative differences

Use size to show variation in amount or count
(e.g., population, number of crimes),

Use graytone or hue to show differences in ratio or intensity
(e.g., proportion of household in poverty, population density).

 

Southern New England Counties

Southern New England Counties



5-minute color exploration exercise:

Cynthia Brewer's ColorBrewer 2.0: https://colorbrewer2.org/




Map Projections and Coordinate Systems

Readings: Paul Bolstad, GIS Fundamentals, Chapter 3, especially pages 116-136

Datums, Map Projections, & Coordinate Systems

      What is the minimum information needed to precisely determine
      location on the surface of the planet?

Need *both* a known coordinate system
and a known model of the earth’s surface

If you only know one, you can be hundreds of meters off target

      -literally

An Ellipsoid or a Datum are abstractions of the surface of the earth

WGS84 (the World Geodetic System of 1984) is the most commonly used standard ellipsoid.

Lat/lon coordinates using this ellipsoid can also be referenced as EPSG:4326 where EPSG = European Petroleum Survey Group which maintains a geodetic parameter database for thousands of coordinate systems.

In North America, the most detailed and recent ellipsoid is called the North American Datum of 1983 (NAD83) (the earlier version is NAD27).  WGS84 used similar methods worldwide but uses fewer North American reference points than NAD83 did within North America.

Geographic Reference System: Latitude and Longitude

Axis: the center of earth rotation.

Equator: The plane through the center of mass perpendicular to the axis.

Longitude: lines slicing the earth parallel to the axis, and perpendicular to the plane of equator.

The line going through Greenwich in London has 0 longitude.

Range from 0 to 360 degrees, or 180 degree west (-) to 180 degree east (+).


Latitude

Latitude is defined based on an ellipsoid representing the shape of the Earth's surface.

See: Prof. Peter Dana's notes on projections and coordinate systems ( U. of Colorado ) http://foote.geography.uconn.edu/gcraft/notes/coordsys/coordsys_f.html

<Click the images below to enlarge...>

Latitude definition:

A line drawn through a point of interest perpendicular to the ellipsoid at that location, the angle made by this line with the plane of Equator is the latitude of that point.

Ranges from 90 degree south (-) to 90 degree north (+).

 

What do Latitude and Longitude mean?

Two points on the same longitude, separated by one degree of latitude are 1/360 of the circumference of earth apart, or about 111 km apart.

One minute latitude is 1.86 km.

One second latitude is 30 m.

For the same latitude, one minute of longitude separation corresponds to different distances depending on the latitude (111 km at equator, nothing at the poles!).

Nowadays, latitude/longitude are most often expressed in decimal degrees.

Distance calculation using latitude and longitude


Cartesian Coordinate System


Map Projections



Illustrate using Lab #1 layers for Cambridge and Stamen background


NOTE: There is no need to memorize the formulas or properties of various coordinate systems. Just understand the concepts and how to find more information about specific cases and coordinate conversion



Map Projection Classifications based on preservation properties

 

Map Projection classifications based on physical surface models

 

Unprojected projection: Plate Carrée or Cylindrical equidistance Projection

 

The Universal Transverse Mercator (UTM) Projection

 

State Plane Coordinates and other local systems

 

Converting Georeferences

More info on Coordinate systems and projections



GIS Marketing Example:

(1) Site Selection for Low Cost Grocery Store Chain

(2) 5 minutes general discussion of questions


Relational Database Modeling

Limitations of 'flat-file' data model & motivation for relational model (for attributes)

 

Structured Query Language (SQL)

  • To insert, modify, and retrieve (SELECT) data from the database (data manipulation).

            SELECT columns

            FROM tables

            WHERE row conditions and joins are matched

            GROUP BY non-aggregated columns

            ORDER BY certain columns

  • Can get complex (subqueries in 'from' and 'where' clause, 3+ tables, ...)
  • Can be especially powerful when rows in each table have different meaning

e.g., one row per house with average sale price vs. one row per unique sale



Demonstrate QGIS example to handle multiple sales

Create 'virtual layer' via SQL query and join to sales89

select address, count(address) sales, avg(realprice) avg_price
from sales89
group by address




Last modified 23 February 2021 [jf]

Back to the 11.188 Home Page.
Back to the CRON Home Page.