Skip to content

Type Alias: Geometry ​

ts
type Geometry = 
  | PointGeometry
  | MultiPointGeometry
  | LineStringGeometry
  | MultiLineStringGeometry
  | PolygonGeometry
  | MultiPolygonGeometry;

Defined in: types.ts:70

Any geometry this package can represent.

GeometryCollection is absent on purpose — a shapefile cannot express it, and passing one is an error.

Released under the MIT License.