Geospatial
Geospatial refers to data or computation representing geographic locations, geometries, attributes, or spatial relationships on or near Earth’s surface.
Just Use Postgres!
Geospatial refers to data or computation representing locations, geometries, and relationships on or near the Earth's surface.
- How it is used
- Deploys location-aware storage, querying, processing, visualization, and search optimization for geographic workloads.
- How deep it goes
- Defines points, lines, polygons, and changing geodata, then demonstrates spatial functions; routing is deferred to pgRouting.
- Examples
- Uses Florida OpenStreetMaps data, Miami boundaries, roads, amusement-park areas, and map layers of buildings, parks, and landmarks.
- What you can do after
- Apply it via PostGIS to store geodata, query spatial relationships, measure road geometries, and optimize searches with spatial indexes.
D3.js in Action, Third Edition
Geographic data represents locations and geographic features as coordinates, points, lines, polygons, or other spatial shapes.
- How it is used
- Supports interactive maps and visual analysis of locations, features, and spatial relationships.
- How deep it goes
- Explains formats, projections, rendering steps, and interactions, but does not detail projection mathematics or TopoJSON decoding internals.
- Examples
- Uses country polygons, city points, road lines, Nobel laureate birthplaces, and world and France maps.
- What you can do after
- Build it from scratch by loading geospatial data, projecting coordinates, drawing map paths, and adding map interactions with D3.
Read how D3.js in Action, Third Edition explains geospatial →
Related concepts
- spatial informationkind of · Spatial information is information about positions, geometries, or spatial relationships among entities in physical or abstract space.
- geographic information systemused by · A geographic information system is software for storing, managing, analyzing, and visualizing geographically referenced data.
- PostGISused by · PostGIS is a PostgreSQL extension that provides geospatial data types, functions, indexing, and query capabilities.
- GeoJSONuses · GeoJSON is a JSON-based standard for encoding geographic features, geometries, and associated properties.
- TopoJSONincludes · TopoJSON is an extension of GeoJSON that encodes geographic objects and shared topology compactly.
- D3.jsused by · D3.js is an open-source JavaScript library for binding data to documents and creating dynamic, interactive visualizations in web browsers.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

