Docsity

GIS 1.4 Considering Spatial Data, Lecture notes of Geometry

Partial preview of the text

Download GIS 1.4 Considering Spatial Data and more Lecture notes Geometry in PDF only on Docsity!

Considering Spatial Data

Learning objectives

**- Understand the basiccomponents of spatial data

  • Introduce common spatial dataformats
  • Describe the tabular attributestructure for spatial data**

Discuss components of spatial data:

Present common types of spatial data you may encounter and use

Discuss common table operations Perform table join and query operations

Spatial data in GIS

- (^) in GIS softwareSpatial data is stored in a geographic database - Location and descriptive information - Unique IDs link geographic features and attributes - Vector and raster data formats

Spatial (shape, coordinate system…,)

Spatial Data

Attribute (describes data)

In GIS your data are stored in a geographic database A geographic database contains spatial information (location) and descriptive information of real world entities. Data are stored in different models. We will focus on the vector model.

Shapes to represent the world

- In vector-based spatial data, real world entities are abstracted into three basic shapes - Points: • facility locations - • patient homesfast food restaurants - Lines: • roads - • (^) movementsrivers/streams - Polygons: • census geographies - • lakes/pondsparcels/buildings

To represent our world within a computer, GIS creates geometric representations of reality. There are three basic geometric shapes used: points, lines, and polygons. These shapes are sometimes called geometric objects, geometric features, or feature types.

Common vector data formats

http://www.digitalpreservation.gov/formats/fdd/fdd000280.shtml^ • Shapefile .shp

http://www.digitalpreservation.gov/formats/fdd/fdd000294.shtml^ • File GeoDatabase .gdb

ArcGIS PRO supports a num most common : t he shapefile and the file G b e r o f ve ctor d ata e oData f ormats b as (^) e f or stor i n g po i nt , li n e, an d ar e a f e atur e s. We will f ocus on t he A ar l t eh aou f egh atur we e s will. not co ve r t he m i n de ta il, ArcGIS PRO supports s eve ra l rast e r d ata f ormats f or stor i n g po i nt li n e an d T he r e ar e a num b e r o f G e oproc e ss i n g too l s assoc i at ed wi t h t he rast e r d ata mo del wi t hi n ArcGIS PRO as well. Rast •Esri Grid e r f ormats : •ERDAS Imagine •GeoTiff •MrSid

Data format focus: shapefile A Shapefile is a set of related files:

Mandatory:

shapefile.dbf-stores attribute datashapfile.shx- index file

shapefile.shp- describes shape

Optional but common: Shapefile.prj- stores coordinate system information

Shapefile.sbn- spatial index part 1Shapefile.sbx- spatial index part 2

Shapefile.xml- stores metadata

What you see in the ArcGIS environment:

As stated previously, the shapefile is the most widespread. So, what is a shapefile? It's a collection of related files. On the right we see what one shapefile: Candidate_villages looks like in the windows environment On the bottom of the slide we see what the same shapefile looks like in the ArcGIS environment Index files allows for accurate linking between attribute and shape files (data) (via a unique identifier) This common spatial data format is widely used and recognized making it useful for collaborative/cooperative projects.

Table components

Fields(columns)

Records(rows)

The one-to-one relationship between geometry and attributes isbased on record number (OID)

dbf columnsBoth formats include tabular storage of tabular and attribute data..

•Must have unique names

•Can contain different data type (text, numeric, date)

•Column names limited to 10 characters

•Allowable column characters: all lower and uppercase alpha, all numeric digits, and the underscore '_' charac

Geodatabase columns

•Must have unique names- supports use of aliases•Can contain different data type (text, numeric, date)

•Allowable column characters: all lower and uppercase alpha, all numeric digits, and the underscore '_' charac'•Column names limited to 64 characters

Table joins

- • (^) Dynamic connection between tables in your projectBased on a common ID in each table - • (^) Must be the same data typeDo not need to have the same name