class GeoJSON::LineString
- GeoJSON::LineString
- GeoJSON::Geometry
- GeoJSON::Base
- Reference
- Object
Overview
A LineString
is a Geometry
representing two or more points in geographic
space connected consecutively by lines.
This class corresponds to the GeoJSON LineString.
Included Modules
- GeoJSON::SingleGeometry(GeoJSON::Coordinates::LineStringCoordinates)
- JSON::Serializable
Defined in:
geojson/geometry/line_string.crConstructors
Instance Method Summary
-
#type : String
Gets this LineString's GeoJSON type ("LineString")
Instance methods inherited from module GeoJSON::SingleGeometry(GeoJSON::Coordinates::LineStringCoordinates)
coordinates : T
coordinates
Constructor methods inherited from module GeoJSON::SingleGeometry(GeoJSON::Coordinates::LineStringCoordinates)
new(coordinates : Array)new(coordinates : CoordinateTree)
new(coordinates : T) new
Instance methods inherited from class GeoJSON::Geometry
==(other : self)
==,
[](*args, **options)[](*args, **options, &) [], coordinates coordinates, hash(hasher) hash