liveBook · Manning

Spatial information

Spatial information is information about positions, geometries, or spatial relationships among entities in physical or abstract space.

How 2 Manning books explain it

Digital Twins in Action

Spatial data is data that represents the physical locations and geometric relationships of objects or events in space.

How it is used
Connects physical assets and events to locations so a digital twin can visualize conditions and reason about proximity.
How deep it goes
Defines spatial data, works through a local 2D distance query, and compares representations without requiring a high-fidelity 3D model.
Examples
Uses home water sensors for a 5-meter proximity query and a garden moisture sensor to show location alongside other context.
What you can do after
Build it from scratch with local coordinates and a Python distance calculation to identify nearby sensors.

Read how Digital Twins in Action explains spatial information →

Build a Text-to-Image Generator (from Scratch)

The relative positional or geometric arrangement between objects or parts of a scene.

How it is used
Frames geometric consistency as a central challenge in transformer- and diffusion-based text-to-image generation.
How deep it goes
Traces failures from 2D training data through positional encodings to missing depth, perspective, physics, and 3D representations.
Examples
Shows objects defying physical laws or becoming distorted when viewed from different angles.
What you can do after
Evaluate geometric consistency by checking generated objects across viewpoints and against depth, perspective, lighting, and physical constraints.

Read how Build a Text-to-Image Generator (from Scratch) explains spatial information →

Related concepts

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.