To analyze your data on a geospatial reference, you first need to associate a geospatial dimension to your original data points, aka geo-reference. Geoprocessing techniques then bifurcates according to the two major categories on geospatial data: vector and raster. Vector data analysis are mostly computational geometry, while raster data analysis are mostly computational algebra.
Geocoding is the process of matching/mapping an address to its latitude and longitude, useful for standardizing location information. Reverse geocoding the inverse mapping of geocoding.
Geocoding systems for North America: FIPS County Code (FIPS 6-4)
Software: Google Maps Maps.newGeocoder()
, Python geopy.geocoders
, Ruby geocoder
Vector Data Analysis are mostly computational geometry. Combinatorial structures known as simplicial complex are constructed to convert computational geometry algorithms into combinatorial algorithms.
Other vector data analytics include: Network Analysis, Spatial statistics (spatial correlation, histogram)
Data structure: static (fixed geometries), dynamic (incrementally changing geometries).
Spatial operations generate new geometries from existing ones.
Spatial query is a special type of database query (SQL).
Dimensionally Extended nine-Intersection Model, aka DE-9IM, describes the topological relations of two geometries in a plane.
With geometries a
and b
, operations I
, B
, E
for interior, boundary and exterior, operation dim
for maximum dimension of a geometry, DE-9IM is defined as:
⎡ dim(I(a)∩I(b)) dim(I(a)∩B(b)) dim(I(a)∩E(b)) ⎤
DE9IM(a,b) = ⎢ dim(B(a)∩I(b)) dim(B(a)∩B(b)) dim(B(a)∩E(b)) ⎥
⎣ dim(E(a)∩I(b)) dim(E(a)∩B(b)) dim(E(a)∩E(b)) ⎦
A spatial predicate is a test based on the DE-9IM. There are 10 relations that have a common name reflecting their semantics:
T*F**FFF*
FF*FF****
FT*******
, F**T*****
, F***T****
T*****FF*
T*****FF*
, *T****FF*
, ***T**FF*
, ****T*FF*
T********
, *T*******
, ***T*****
, ****T****
T*F**F***
T*F**F***
, *TF**F***
, **FT*F***
, **F*TF***
T*T******
, T*****T**
, 0********
T*T***T**
, 1*T***T**
Vector data analysis are mostly image processing (computational algebra).
Aligning geographic data to a known coordinate system so it can be viewed, queried, and analyzed with other geographic data.
Imagery (e.g. Lidar data):
(spline, with tension, etc.)
DEM data are stored in ASCII grids, which is a raster format.