Learn topic
In spatial databases such as PostGIS, geometry uses a planar coordinate model in the stored CRS, while geography provides earth-aware measurements on longitude and latitude.
A centroid is a geometry's balance point and can fall outside a polygon; a point-on-surface function is designed to return a representative point on or within the geometry.
A centroid is the geometric centre of a geometry under a defined coordinate model; it is useful as a derived representative point but may fall outside concave or multipart polygons.
A bounding box is the smallest axis-aligned rectangle that contains a geometry or dataset in a given coordinate system.
A GeometryCollection is one geometry object that can contain members of different geometry types, such as points, lines and polygons together.
A Polygon represents one polygonal geometry, while a MultiPolygon groups several polygon parts into one geometry object.
A multipart feature stores several geometry parts under one feature record; multiple features store those parts as separate records with independent identities and attributes.
Use a point when one representative location is enough; use a polygon when extent, boundary, area or containment is part of the question.
Points, lines, polygons and rasters are different ways of modelling geographic phenomena, each preserving different kinds of spatial information.