@terascope/types / geo-interfaces
geo-interfaces
Index
Enumerations
Enumeration | Description |
---|---|
ESGeoShapeType | - |
GeoShapeRelation | - |
GeoShapeType | - |
Interfaces
Interface | Description |
---|---|
GeoDistanceObj | - |
GeoPoint | - |
Type Aliases
CoordinateTuple
CoordinateTuple: [
number
,number
]
Source
ESGeoShape
ESGeoShape:
ESGeoShapePoint
|ESGeoShapePolygon
|ESGeoShapeMultiPolygon
Source
ESGeoShapeMultiPolygon
ESGeoShapeMultiPolygon:
object
Type declaration
coordinates
coordinates:
CoordinateTuple
[][][]
type
type:
MultiPolygon
Source
ESGeoShapePoint
ESGeoShapePoint:
object
Type declaration
coordinates
coordinates:
CoordinateTuple
type
type:
Point
Source
ESGeoShapePolygon
ESGeoShapePolygon:
object
Type declaration
coordinates
coordinates:
CoordinateTuple
[][]
type
type:
Polygon
Source
GeoBoundary
A geo boundary is a box of geo points requiring at two geo points, one point is the top left, the other is the bottom right
Source
GeoDistanceUnit
GeoDistanceUnit:
"miles"
|"yards"
|"feet"
|"inch"
|"kilometers"
|"meters"
|"centimeters"
|"millimeters"
|"nauticalmiles"
Source
GeoInput
GeoInput:
GeoPointInput
|GeoPointInput
[] |GeoShape
Source
GeoPointInput
GeoPointInput:
GeoPointArr
|GeoPointStr
|GeoObjShort
|GeoObjLong
|GeoShapePoint
Source
GeoShape
GeoShape:
GeoShapePoint
|GeoShapePolygon
|GeoShapeMultiPolygon
Source
GeoShapeMultiPolygon
GeoShapeMultiPolygon:
object
Type declaration
coordinates
coordinates:
CoordinateTuple
[][][]
type
type:
MultiPolygon
Source
GeoShapePoint
GeoShapePoint:
object
Type declaration
coordinates
coordinates:
CoordinateTuple
type
type:
Point
Source
GeoShapePolygon
GeoShapePolygon:
object
Type declaration
coordinates
coordinates:
CoordinateTuple
[][]
type
type:
Polygon
Source
JoinGeoShape
JoinGeoShape:
GeoShape
|ESGeoShape
Source
Variables
GEO_DISTANCE_UNITS
const
GEO_DISTANCE_UNITS:object
Index signature
[key
: string
]: GeoDistanceUnit