Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Spatial Data,
Spatial Analysis &
OSM
Devdatta Tengshe
Datameet, Pune
What Will We cover?
● What is Spatial Data?
● How can It be used?
● GIS 101
● Where Do I get it?
● OSM
What Is
Spatial Data ?
What Is Spatial Data?
● Answers the Question “Where”?
● Any Data that has a spatial
component, i.e. location
○ Address
○ C...
What Can you
do with
Spatial Data ?
Using Spatial Data, you can solve problems with Spatial
Components.
Mostly, you are finding Spatial patterns,
discovering ...
Spatial patterns
https://github.com/openbangalore/bmtc
http://routemaster.hydlab.in/
Correlations
Percent residents with level 4
qualifications & above
Percent residents employed in
manufacturing
www.geofutures.com/2012/...
processing data
spatial modelling
SLEUTH model
www.nasa.gov/centers/goddard/news/topstory/2004/0322sleuth.html
What Do I
Need to
Know?
Data Models
Raster
raster data model: A representation of the
world as a surface divided into a regular
grid of cells.
Vector
vector data model: A representation of the
world using points, lines, and polygons.
File Formats
• Shapefile
• GeoJSON
• KML
• TIFF
• Spatial Databases
• & Many More
Shapefile
Mandatory files
● .shp — shape format; the feature geometry itself
● .shx — shape index format; a positional ind...
GeoJSON
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Point",
"coordinates": [
73.7773346,
18.5108148
]
}
}
Spatial Database
• Supported by usual RDBMS like: Oracle,
MS SQL Server, Postgres
• Also supported by Spatialite
• Direct ...
Applications
v
Big Data, GIS &
Business
Analytics
Retail & Business
Retail & Business
Retail & Business
Retail & Business
Land & Realty
Land & Realty
Utilities
TRANSPORTATION
TRANSPORTATION
Where Do I
get Spatial
Data From?
• You can collect the data directly on the field, via GPS etc
• Or Create it by Digitizing from Satellite Maps
Create It y...
• You will get Data from different sources, and in different formats, such as:
• Tables
• Excel Files
• PDF
• Images
Conve...
• Scrape It
• Github: https://github.com/datameet/maps/
• Download it from sites like Geocommons
COPY IT
OpenStreetMap
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
...
OSM Demo
OSM Downloads
• http://download.geofabrik.de
• http://extract.bbbike.org/
• http://overpass-turbo.eu/
Spatial Data -Indian Context
• How many Districts in India?
• Village Boundaries?
• Pin Codes
• Census Data?
• Others?
Questions?
Intro to Spatial data
Intro to Spatial data
Intro to Spatial data
Intro to Spatial data
Intro to Spatial data
Intro to Spatial data
Upcoming SlideShare
Loading in …5
×

Intro to Spatial data

An Introduction to Spatial Data, Spatial Analysis & OSM

  • Login to see the comments

  • Be the first to like this

Intro to Spatial data

  1. 1. Spatial Data, Spatial Analysis & OSM Devdatta Tengshe Datameet, Pune
  2. 2. What Will We cover? ● What is Spatial Data? ● How can It be used? ● GIS 101 ● Where Do I get it? ● OSM
  3. 3. What Is Spatial Data ?
  4. 4. What Is Spatial Data? ● Answers the Question “Where”? ● Any Data that has a spatial component, i.e. location ○ Address ○ Census Information ○ Land records
  5. 5. What Can you do with Spatial Data ?
  6. 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
  7. 7. Spatial patterns
  8. 8. https://github.com/openbangalore/bmtc
  9. 9. http://routemaster.hydlab.in/
  10. 10. Correlations
  11. 11. Percent residents with level 4 qualifications & above Percent residents employed in manufacturing www.geofutures.com/2012/02/spot-hard-data-pattern-add-soft-knowledge/
  12. 12. processing data
  13. 13. spatial modelling
  14. 14. SLEUTH model www.nasa.gov/centers/goddard/news/topstory/2004/0322sleuth.html
  15. 15. What Do I Need to Know?
  16. 16. Data Models
  17. 17. Raster raster data model: A representation of the world as a surface divided into a regular grid of cells.
  18. 18. Vector vector data model: A representation of the world using points, lines, and polygons.
  19. 19. File Formats • Shapefile • GeoJSON • KML • TIFF • Spatial Databases • & Many More
  20. 20. 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
  21. 21. GeoJSON { "type": "Feature", "properties": {}, "geometry": { "type": "Point", "coordinates": [ 73.7773346, 18.5108148 ] } }
  22. 22. 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)"));
  23. 23. Applications v
  24. 24. Big Data, GIS & Business Analytics
  25. 25. Retail & Business
  26. 26. Retail & Business
  27. 27. Retail & Business
  28. 28. Retail & Business
  29. 29. Land & Realty
  30. 30. Land & Realty
  31. 31. Utilities
  32. 32. TRANSPORTATION
  33. 33. TRANSPORTATION
  34. 34. Where Do I get Spatial Data From?
  35. 35. • You can collect the data directly on the field, via GPS etc • Or Create it by Digitizing from Satellite Maps Create It yourself
  36. 36. • You will get Data from different sources, and in different formats, such as: • Tables • Excel Files • PDF • Images Convert it
  37. 37. • Scrape It • Github: https://github.com/datameet/maps/ • Download it from sites like Geocommons COPY IT
  38. 38. OpenStreetMap
  39. 39. 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
  40. 40. OSM Demo
  41. 41. OSM Downloads • http://download.geofabrik.de • http://extract.bbbike.org/ • http://overpass-turbo.eu/
  42. 42. Spatial Data -Indian Context • How many Districts in India? • Village Boundaries? • Pin Codes • Census Data? • Others?
  43. 43. Questions?

×