lecture 3 - california state university, northridge · lecture 3 gis data models, data formats,...

31
Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Upload: others

Post on 30-May-2020

31 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Lecture 3

GIS Data Models, Data Formats, ArcCatalog and Data Management

Page 2: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Outline

►GIS Data ModelsVectorRaster

►GIS Data Formats►Data Structure►The Geodatabase►ArcCatalog►Data Management

Page 3: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Representing Physical Entities

► In a GIS, physical entities such as lakes, roads or vegetation type are represented in a simplified fashion by spatial features (i.e. polygons or lines).

► The spatial objects that represent an entity are determined by the person or organization creating the data based on:

1. The intended use of the data

2. The desired level of detail and accuracy.

Page 4: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

So what are Data Models?► The objects in a spatial database plus the relationships

among them.

► Provides a formal means of representing and manipulating spatial information.

► Two types of data are used to represent entities:1. Coordinate or geometric

data2. Attribute data

Page 5: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Coordinate or Geometric Data►Used to define the spatial location and extent.► Frequently consists of a pair of numbers.► 1 or many pairs of coordinates represent the

shapes and boundaries that define objects.

Page 6: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Attribute Data

► Use to capture non-spatial aspects of an entity.► Most often contained in a table► Attributes can be categorized as:

Nominal: Provide descriptive info. Ex. Color, names, types of soil. No implied order, size of quantity.

Ordinal: Imply rank order or scale. Does not represent differences in scale. Ex. Descriptive (short, medium, long) or numeric (1-100).

Interval/Ratio: Where both order and absolute differences in magnitude are represented. Ex. Length, weight, height or depth.

Page 7: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

GIS Data Models

►Common Spatial Data ModelsVectorRaster

Page 8: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Vector Spatial Data Models► Points – A coordinate pair► Lines (arcs) – Ordered set of coordinate pairs that begin and

end with a node.► Polygons (feature with area) – Ordered set of connected

lines.

Page 9: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Spaghetti Vector Data Models

► Early vector model►Unstructured – Does not

record or enforce connections between line segments or shared polygon boundaries.

►Results in inefficient and inaccurate analysis.

►Usually upgraded to a topological data model

Page 10: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Topological Vector Data Models► Topology:

The study of geometric properties that do not change when the forms are bent, stretched or undergo similar transformations.Captures the relationship between features.

► 3 Types of Relationships:AdjacencyConnectivityContainment

Page 11: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Advantages and Disadvantages ofTopological Vector Data Models

Advantages:► Familiar and intuitive representation for many kinds of data► Efficient (in terms of memory and computing)

representation for relatively sparse data► Offers very good resolution of linear and point features► Facilitates TOPOLOGICAL ANALYSIS

Disadvantages of Vector Data Model:► Compute-intensive when working with multiple overlays► Not good at representing continuous surface

Page 12: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Raster Spatial Data Models

Defines the world as a set of cells in a grid pattern.

Page 13: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Raster Cells

Page 14: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Raster Compression

► With raster data, we must deal with storing data differently than vector to reduce volume.

► The dominant data compression techniques are:

run length coding quad tree compression

Page 15: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Advantages and Disadvantages of the Raster Data Model

Advantages of a raster data model:• Very efficient for processing and analyzing multiple overlays (different

thematic layers)• More accurate and natural representation for continuous, smoothly-varying

information (such as topography)• Constant cell size and regular geometry facilitate some analysis and

modeling tasks--computing areas, for example, is just counting cells.• Best for use with probabilistic modeling

Disadvantages of raster data model:

• Data volume and redundancy -- dense grid of data involves large memory requirements and computer power.

• Difficult to resolve fine details (little to no variation of values of large area) better captured by vector data.

= OR

Page 16: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Vector vs. Raster Data Models►Choice

depends on conditions and type of data you are trying to model.

Page 17: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Triangulated Irregular Networks(TIN’s)

► Used to display and analyze surfaces. ► Contain irregularly spaced points that have x,y coordinates describing

their location and a z-value that describes the surface at that point. ► Can be created from several types of data including rasters, and point,

line, and polygon feature classes that have z-coordinate values.

Elevation Based TIN

Page 18: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Vector vs. Raster vs. TIN’sDigital Elevation Example

Page 19: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

GIS Data Formats

►Types of files used to store and transfer spatial data.

►Most common file formatsShapefiles – Vector Coverages - Vector

Geodatabases - Vector and RasterGrids – RasterImages (Ex. Tiff’s, Jpeg’s, etc) – Raster

Page 20: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Common File Formats

Page 21: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Shapefiles► A shapefile is a feature class—it stores a collection of

features that have the same geometry type (point, line, or polygon), the same attributes, and a common spatial extent

► File-based data format native to ArcView® 3.x software

Viewed using a File Explorer

Viewed in ArcCatalog

Page 22: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Coverages

► Coverages have a geometry type of point, line, OR polygon and represent a single thematic layer.

► A file-based data format native to ESRI's ArcInfo® Workstation software.

► The attributes and spatial relationships associated with a coverage feature class are stored in INFO-format tables.

► ALWAYS use ArcCatalog to move, edit or delete coverages.

Page 23: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Geodatabases► The geodatabase is a container for storing spatial and

attribute data and the relationships that exist among them

► Format introduced by ESRI with ArcGIS® software ► Primary format we will be working with in this class.

Icons identify feature types

Page 24: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Geodatabases and Data Organization

►Geodatabases can consist of:Feature DatasetsFeature ClassesAnnotation Feature ClassesRaster DatasetsNonspatial Tables

Page 25: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Types of Geodatabases

► Scalable Functionality► 3 Types:

File Geodatabases: Stored as folders in a file system. Each dataset holds up to 1 TB of data. Fast performance, less restrictive editing locks and supported by many platforms.

Personal Geodatabases: Stored within Microsoft Access. Holds up to 2 GB of data.

ArcSDE Geodatabases: Stored in a relational database using Oracle, Microsoft SQL Server, IBM DB2, or IBM Informix. Requires the use of ArcSDE software. Unlimited in size and numbers of users.

Page 26: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

ArcCatalog► The application for browsing, managing and documenting geographic

data.► Create connections to drives that store data and maps.► Utilize drag and drop functionality to interface with ArcMap.

Catalog Tree Preview Pane

Page 27: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

ArcCatalog: Data Connections

Direct Connect

Page 28: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

ArcCatalog: Metadata

►Data about data► Provides

information about a dataset

►Certain properties generated automatically

►Other properties require manual entry

Page 29: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Data Management

►Know where your data is! ►Best location is on the root of the C or D

drive. ►Stay away from spaces in folder or file

names. Use “_” instead.►Limit characters►Create folders as needed to keep data

organized!

Page 30: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Data Management (Cont.)

► If you move the ArcMap document, the data does NOT go with it.

► If you move or rename the data layers OR the folders they are stored in, the ArcMap document will NOT know where to find them.

► Use

Data is stored separately from the ArcMap document (.mxd file).

Page 31: Lecture 3 - California State University, Northridge · Lecture 3 GIS Data Models, Data Formats, ArcCatalog and Data Management

Updating the Data Source► When layer is grayed out, click on “Layer Properties”.► Click “Set Data Source…”► Navigate to current location of data.