This document discusses integrating geospatial data into applications. It covers spatial data formats like raster, vector, and coordinate reference systems. It also discusses sources of free geospatial data and tools for working with spatial data like QGIS, GDAL, OGR and PostGIS. Finally, it discusses developing spatial web applications using frameworks like Leaflet, OpenLayers, GeoServer and GeoDjango along with processing and visualization libraries. A list of additional resources for geographic data, spatial databases, web mapping and spatial frameworks is also provided.
7. Story of points, lines and polygons
Vector data
“Vector is a representation of the world using
points, lines, and polygons. Vector models
are useful for storing data that has discrete
boundaries, such as country borders, land
parcels, and streets.”
Java OSM Editor
9. Coordinate Reference Systems
“Every dataset has a coordinate system, which is used to integrate it
with other geographic datasets within a common coordinate framework.
Allows you to perform various integrated analytical operations, such
as overlaying data layers from disparate sources and coordinate
systems.”
10. EPSG what?
“EPSG Geodetic Parameter Dataset is a structured dataset of
Coordinate Reference Systems and Coordinate Transformations”
14. A very spatial app
Frontend
Application Frameworks
Databases
15. A spatial baggage counter
Spatial databases
“A spatial database, or geodatabase is a database that is optimized
to store and query data that represents objects defined in a
geometric space. Most spatial databases allow representing simple
geometric objects such as points, lines and polygons.”
Spatialite
16. A look into PostGIS
extensions
Over 1000 functions
http://workshops.boundlessgeo.com/postgis-intro/
18. Spatial libraries
“Spatial libraries allow you to read and write
spatial data. These libraries have spatial
processes like buffer, intersect and
transform.”
19. Using gdal for raster files
Cols: 16171
Rows: 20766
Bands: 1
Pixel value at 167,196: 32767
Minimum value of elevation: -197
20. Using ogr for vector files
Provinces: 82
Extent:
(116.92833709716797,
126.60534667968753,
4.586939811706543,
21.07014083862329)
Second Province: Agusan del Norte
21. Visualizing spatial data through
web maps
“What you see when you view a map on Mapbox or an embedded
map on your website is the result of many moving parts working
together.”
-Mapbox
Leaflet Openlayers 3
22. An open-source JavaScript library for
mobile-friendly interactive maps | Leaflet
Vladimir Agafonkin
Leaflet Plugins