Geometry & space

The shapes themselves, where they sit on the earth, and how they relate.

The three separate questions about a geometry: what shape it is, where it sits, and how it relates to another. three separate questions, and they fail separatelywhat shapeShapelywhere on earththe CRShow they relatethe predicateA valid shape in the wrong CRS tested with the wrong predicate returns nothing, and raises nothing

Three separate questions live in this section, and they fail separately. What shape is this? Where on the earth is it? How does it relate to that other one?

Shapely answers the first, the coordinate reference system answers the second, and a predicate answers the third — and a valid shape in the wrong CRS tested with the wrong predicate returns an empty result while raising nothing at all. That silence is the thread running through every topic here: geometry operations that assume validity, CRS errors that produce plausible numbers, joins whose row counts quietly change, networks where a bad snap becomes a bad route.

Six topics, from the shapes themselves through where they sit, how they relate, how they connect as a network, what happens when you give them a height, and what changes when you replace the geometry with a grid cell key.

Other areas