Options
All
  • Public
  • Public/Protected
  • All
Menu

Library @swim/geo

Swim Geo Library

The Swim Geo library implements geospatial coordinate, projection, and geometry types.

Index

Type aliases

AnyGeoBox

AnyGeoBox: GeoBox | GeoBoxInit

AnyGeoPath

AnyGeoPoint

AnyGeoSegment

AnyGeoSegment: GeoSegment | GeoSegmentInit

AnyGeoShape

AnyGeoSpline

AnyGeoSpline: GeoSpline | GeoSplinePoints

AnyGeoTile

GeoJson

GeoJsonBbox

GeoJsonBbox: [number, number, number, number] | [number, number, number, number, number, number]

GeoJsonGeometry

GeoJsonGeometryType

GeoJsonGeometryType: "Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon" | "GeometryCollection"

GeoJsonPosition

GeoJsonPosition: [number, number] | [number, number, number]

GeoJsonProperties

GeoJsonProperties: {}

Type declaration

  • [name: string]: unknown

GeoJsonType

GeoJsonType: GeoJsonGeometryType | "Feature" | "FeatureCollection"

GeoPathSplines

GeoPathSplines: ReadonlyArray<AnyGeoSpline>

GeoPointTuple

GeoPointTuple: [number, number]

GeoSplinePoints

GeoSplinePoints: ReadonlyArray<AnyGeoPoint>

GeoTileTuple

GeoTileTuple: [number, number, number]

Variables

Const GeoBoxInterpolator

GeoBoxInterpolator: { prototype: Interpolator<GeoBox> }

Type declaration

GeoJson

GeoJson: { is: any; toShape: any }

Type declaration

GeoJsonFeature

GeoJsonFeature: { is: any; toShape: any }

Type declaration

GeoJsonFeatureCollection

GeoJsonFeatureCollection: { is: any; toShapes: any }

Type declaration

GeoJsonGeometry

GeoJsonGeometry: { is: any; toShape: any }

Type declaration

  • is: function
    • Parameters

      • value: unknown

      Returns value is GeoJsonGeometry

  • toShape: function
    • Parameters

      Returns GeoShape

GeoJsonGeometryCollection

GeoJsonGeometryCollection: { is: any; toShape: any }

Type declaration

GeoJsonLineString

GeoJsonLineString: { is: any; toShape: any }

Type declaration

GeoJsonMultiLineString

GeoJsonMultiLineString: { is: any; toShape: any }

Type declaration

GeoJsonMultiPoint

GeoJsonMultiPoint: { is: any; toShape: any }

Type declaration

GeoJsonMultiPolygon

GeoJsonMultiPolygon: { is: any; toShape: any }

Type declaration

GeoJsonPoint

GeoJsonPoint: { is: any; toShape: any }

Type declaration

  • is: function
    • Parameters

      • value: unknown

      Returns value is GeoJsonPoint

  • toShape: function
    • Parameters

      Returns GeoPoint

GeoJsonPolygon

GeoJsonPolygon: { is: any; toShape: any }

Type declaration

  • is: function
    • Parameters

      • value: unknown

      Returns value is GeoJsonPolygon

  • toShape: function
    • Parameters

      Returns GeoPath

Const GeoPointInterpolator

GeoPointInterpolator: { prototype: Interpolator<GeoPoint> }

Type declaration

GeoProjection

GeoProjection: { is: any }

Type declaration

  • is: function
    • Parameters

      • object: unknown

      Returns object is GeoProjection

Const GeoSegmentInterpolator

GeoSegmentInterpolator: { prototype: Interpolator<GeoSegment> }

Type declaration

Generated using TypeDoc