enum WKB::ObjectKind
Overview
Convenience enum that represents the respective object's type numeric code in WKB.
Defined in:
wkb/object_kind.crEnum Members
-
Point =
1_u32 -
LineString =
2_u32 -
Polygon =
3_u32 -
MultiPoint =
4_u32 -
MultiLineString =
5_u32 -
MultiPolygon =
6_u32 -
GeometryCollection =
7_u32
Instance Method Summary
-
#geometry?
Returns
falseif the object is aGeometryCollection. - #geometry_collection?
- #line_string?
- #multi_line_string?
- #multi_point?
- #multi_polygon?
-
#multipart?
Returns
trueif the object's children are simple geometry objects. - #point?
- #polygon?