Skip to content

KBE3D / KBCore / GeoJSON

GeoJSON

接口

接口描述
GeoJsonObjectThe base GeoJSON object. https://tools.ietf.org/html/rfc7946#section-3 The GeoJSON specification also allows foreign members (https://tools.ietf.org/html/rfc7946#section-6.1) Developers should use "&" type in TypeScript or extend the interface to add these foreign members.
PointPoint geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.2
MultiPointMultiPoint geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.3
LineStringLineString geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.4
MultiLineStringMultiLineString geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.5
PolygonPolygon geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.6
MultiPolygonMultiPolygon geometry object. https://tools.ietf.org/html/rfc7946#section-3.1.7
GeometryCollectionGeometry Collection https://tools.ietf.org/html/rfc7946#section-3.1.8
FeatureA feature object which contains a geometry and associated properties. https://tools.ietf.org/html/rfc7946#section-3.2
FeatureCollectionA collection of feature objects. https://tools.ietf.org/html/rfc7946#section-3.3

类型别名

类型别名描述
GeoJsonGeometryTypesThe valid values for the "type" property of GeoJSON geometry objects. https://tools.ietf.org/html/rfc7946#section-1.4
GeoJsonTypesThe value values for the "type" property of GeoJSON Objects. https://tools.ietf.org/html/rfc7946#section-1.4
BBoxBounding box https://tools.ietf.org/html/rfc7946#section-5
PositionA Position is an array of coordinates. https://tools.ietf.org/html/rfc7946#section-3.1.1 Array should contain between two and three elements. The previous GeoJSON specification allowed more elements (e.g., which could be used to represent M values), but the current specification only allows X, Y, and (optionally) Z to be defined.
GeoJSONUnion of GeoJSON objects.
GeometryGeometry object. https://tools.ietf.org/html/rfc7946#section-3
GeometryObject-
GeoJsonProperties-

KBE3D @3.0.0 Copyright © 2024-present KBE3D