Book description
Processing data tied to location and topology requires specialized know-how. PostGIS is a free spatial database extender for PostgreSQL, every bit as good as proprietary software. With it, you can easily create location-aware queries in just a few lines of SQL code and build the back end for a mapping, raster analysis, or routing application with minimal effort.
PostGIS in Action, Second Edition teaches you to solve real-world geodata problems. It first gives you a background in vector-, raster-, and topology-based GIS and then quickly moves into analyzing, viewing, and mapping data. You'll learn how to optimize queries for maximum speed, simplify geometries for greater efficiency, and create custom functions for your own applications. You'll also learn how to apply your existing GIS knowledge to PostGIS and integrate with other GIS tools.
Familiarity with relational database and GIS concepts is helpful but not required.
Table of contents
- PostGIS in Action, Second Edition
- Copyright
- Brief Table of Contents
- Table of Contents
- Praise for the First Edition of PostGIS in Action
- Foreword
- Preface
- Acknowledgments
- About this Book
- Part 1. Introduction to PostGIS
- Chapter 1. What is a spatial database?
- Chapter 2. Spatial data types
- Chapter 3. Spatial reference system considerations
- Chapter 4. Working with real data
- Chapter 5. Using PostGIS on the desktop
-
Chapter 6. Geometry and geography functions
-
6.1. Output functions
- 6.1.1. Well-known binary (WKB) and well-known text (WKT)
- 6.1.2. Keyhole Markup Language (KML)
- 6.1.3. Geography Markup Language (GML)
- 6.1.4. Geometry JavaScript Object Notation (GeoJSON)
- 6.1.5. Scalable Vector Graphics (SVG)
- 6.1.6. Extensible 3D Graphics (X3D)
- 6.1.7. Examples of output functions
- 6.1.8. Geohash
- 6.2. Constructor functions
-
6.3. Accessor and setter functions
- 6.3.1. Spatial reference identifiers
- 6.3.2. Transforming geometry to different spatial references
- 6.3.3. Using transformation with the geography type
- 6.3.4. Geometry type functions
- 6.3.5. Geometry and coordinate dimensions
- 6.3.6. Retrieving coordinates
- 6.3.7. Checking geometry validity
- 6.3.8. Number of points that defines a geometry
- 6.4. Measurement functions
- 6.5. Decomposition functions
- 6.6. Composition functions
- 6.7. Simplification functions
- 6.8. Summary
-
6.1. Output functions
-
Chapter 7. Raster functions
- 7.1. Raster terminology
-
7.2. Raster constructors
- 7.2.1. Converting geometries to rasters with ST_AsRaster
- 7.2.2. Loading rasters with raster2pgsql
- 7.2.3. Constructing rasters from scratch: ST_MakeEmptyRaster and ST_AddBand
- 7.2.4. Setting pixels: ST_SetValue and ST_SetValues
- 7.2.5. Creating rasters from other rasters
- 7.2.6. Converting other raster formats with ST_FromGDALRaster
- 7.3. Raster output functions
- 7.4. Raster accessors and setters
- 7.5. Georeferencing functions
- 7.6. Reclassing functions
- 7.7. Polygonizing functions
- 7.8. Summary
- Chapter 8. PostGIS TIGER geocoder
- Chapter 9. Geometry relationships
- Part 2. Putting PostGIS to work
-
Chapter 10. Proximity analysis
-
10.1. Nearest neighbor searches
- 10.1.1. Which places are within X distance?
- 10.1.2. Using ST_DWithin and ST_Distance for N closest results
- 10.1.3. Using ST_DWithin and DISTINCT ON to find closest locations
- 10.1.4. Intersects with tolerance
- 10.1.5. Finding N closest places using KNN distance bounding-box operators
- 10.1.6. Combining KNN distance-box operators with ST_Distance
- 10.1.7. Using window functions to find closest N places
- 10.2. Using KNN with geography types
- 10.3. Geotagging
- 10.4. Summary
-
10.1. Nearest neighbor searches
- Chapter 11. Geometry and geography processing
- Chapter 12. Raster processing
- Chapter 13. Building and using topologies
- Chapter 14. Organizing spatial data
- Chapter 15. Query performance tuning
- Part 3. Using PostGIS with other tools
- Chapter 16. Extending PostGIS with pgRouting and procedural languages
- Chapter 17. Using PostGIS in web applications
- Appendix A. Additional resources
- Appendix B. Installing, compiling, and upgrading
- Appendix C. SQL primer
- Appendix D. PostgreSQL features
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: PostGIS in Action, Second Edition
- Author(s):
- Release date: April 2015
- Publisher(s): Manning Publications
- ISBN: 9781617291395
You might also like
book
Beginning ReactJS Foundations Building User Interfaces with ReactJS
Quickly learn the most widely used front-end development language with ease and confidence React JS Foundations: …
book
C++ Crash Course
Upgrade your Code with C++ C++ is one of the most widely used languages for real-world …
book
React: Up & Running, 2nd Edition
Hit the ground running with React, the open source technology from Facebook for building rich web …
book
Learning Microsoft Azure
If your organization plans to modernize services and move to the cloud from legacy software or …