11.188: Urban Planning and Social Science Laboratory |
11.520: A
Workshop on Geographic Information Systems
|
Today
Raw Imagery
CAD Files
Digitizing
Addresses
Raw Imagery
- Georeference (if necessary)
- Classify (by Color/Spectral Characteristics) or
- Digitize (aka Trace)
GeoReferencing Imagery
Note: JPG and TIF images can be directly read into ArcGIS. But by default, they won't have an appropriate coordinate system and won't overlay anything else. (JPEG 2000 and GeoTiff are standard formats that are not always supported but can save coordinate system metadata information along with the image.)
So we need some data with a coordinate system we trust. (Warning: Google Earth, etc. can be *very* imprecise internationally - see error in this image below).
So, now we have a valid coordinate system, but our image is clearly pretty far from being correctly registered.
The solution? The "Georeferencing Toolbar" (View->Toolbars->Georeferencing). This tool allows you to identify relationships (by clicking on the screen):
- If you identify one corresponding location in each data layer, the software computes a simple shift.
- If you identify more than one location, the software does a more complex transform (linear, or fancier).
CAD Files
Can simply "open" most common CAD files directly in GIS (DXF, DWG, DGN)
For example, from a real world project, here are CAD data for a regional plan as created by Fonatur, the Mexican national tourism/development agency.Important limits:
"attributes" don't come along, only layer names *therefore you are well-advised to know the layer naming/numbering convention* (and if none - a big messy problem).
objects must be "exploded" in CAD before export
solids must be converted into boundary representations
Common problems / solutions
Drawn "to scale", but often without explicit projection information and not North aligned
Solution 1: layer properties dialog allows specification of transformations
Solution 2: "world files" (*.wld) are simple text files documenting transforms
Why bother with "world files"?!!! Scalability: one world file can be replicated and applied to many CAD documents drawn against the same base.
Digitizing - Creating new (georeferenced) Geometry
Vector Data Model - Requires boundaries with X,Y coordinates
- Old method - large digitizing table with 'puck' on top of paper map
- New method - 'heads up' digitizing on-screen on top of image
- Illustrate with QGIS
- Chapter 5 of QGIS documentation:
https://docs.qgis.org/3.16/en/docs/training_manual/create_vector_data/create_new_vector.html- First, create empty layer with desired coordinate reference system and extents
- Then, add points, lines, or polygons together with attribute table
- We demonstrate use of QGIS to create a new shapefile of polygons via 'heads up' digitizing on top of one of the orthophotos that we accessed last week from the MassGIS WMS server. (You could just as easily digitize new polygons on top of any other shapefiles that we have used.)
create table c2000inc as
(select g."LOGRECNO", e."P085001", e."P085002", e."P085003", g."STATE"||g."COUNTY"||g."TRACT"||g."BLKGRP" AS blkkey from census2k.mageo g, census2k.ma00007 e where g."LOGRECNO" = e."LOGRECNO" and g."SUMLEV" = '150');
These tools are useful for 'publishing' project work
Enable interactive manipulation of maps within browser, PDF document, etc. without 'running' GIS software
Network
Modeling and Analysis
To generate points from Addresses - 'Geocoding's
What is Geocoding
Example: using US Census Bureau, TIGER Line Files (as source info for geocoding)
Street centerline road segments
|
Attaching address ranges to road
segments
|
How do GIS systems model Networks?
A shortest path is the shortest (or least 'cost' path) from a source node (origin) to a destination node. In practice, pathfinding seeks the shortest or most efficient way to visit a sequence of locations.
A tour is an enclosed path, that is, the first node and the final node on the path are the same node on the network.
A stop is a location visited in a path or a tour.
Events or locations may be viewed as collection points (e.g., 'origins' or 'destinations' ) where certain resources are supplied or consumed.
A turn on a network is the transition from one arc to another arc at a node (there are 16 ways in which two intersecting (one-lane) roads can allow vehicle flow among the 4 links that 'connect' to the one node).
'Location-allocation'
models often use network representation of connected places in
order to determine the optimal locations for a given number of
facilities (e.g., stores, restaurants, banks, factories,
warehouses, libraries, hospitals, post offices, and schools)
based on some criteria for assigning people to the the 'nearest'
facility.
A machine at the GIS Lab in Rotch Library (with online access) has a seamless street map of the US that does a good job of geocoding any US address.
(using ArcGIS from ESRI)
A
geocoding service, which is a configuration file that
specifies the georeferenced feature layer and its relevant
attributes, and various rules and tolerance for use in the
matching.
The output of the geocoding
is a point file stored as either a shapefile
or a geodatabase in ArcGIS.
Created by Joseph Ferreira and
Michael Flaxman, 2005-2006
Last modified 14 April 2021, Joe Ferreira
Back to the 11.188
Home Page.
Back to the CRON Home Page.