4. What Is Spatial Data?
● Answers the Question “Where”?
● Any Data that has a spatial
component, i.e. location
○ Address
○ Census Information
○ Land records
6. Using Spatial Data, you can solve problems with Spatial
Components.
Mostly, you are finding Spatial patterns,
discovering Correlations, querying, filtering &
processing data and performing spatial
modelling
23. Shapefile
Mandatory files
● .shp — shape format; the feature geometry itself
● .shx — shape index format; a positional index of the
feature geometry to allow seeking forwards and backwards
quickly
● .dbf — attribute format; columnar attributes for each
shape, in dBase IV format
Other files
● .prj — projection format; the coordinate system and
projection information, a plain text file describing the
projection using well-known text format
● .sbn and .sbx — a spatial index of the features
● .shp.xml — geospatial metadata in XML format
25. Spatial Database
• Supported by usual RDBMS like: Oracle,
MS SQL Server, Postgres
• Also supported by Spatialite
• Direct Query via SQL:
Select VILLAGE_NAME, CODE from Village where
ST_Contains(geom, ST_PointFromText("POINT
(73.7773346 18.5108148)"));
44. OSM Stats
# of users: 22,12,002
# of uploaded GPS points: 48,058,19,177
# of nodes: 29,867,22,183
# of ways: 3,030,45,294
# of relations : 35,87,570