Learn R Programming

geoops (version 0.3.0)

GeometryCollection: GeometryCollection

Description

Each element in the geometries array of a GeometryCollection is one of the geometry objects described above.

Arguments

See Also

Other geo types: FeatureCollection, Feature, LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon, geojson-types

Examples

Run this code
# NOT RUN {
'{
   "type": "GeometryCollection",
   "geometries": [ {
     "type": "Point",
     "coordinates": [100.0, 0.0]
   }, {
   "type": "LineString",
   "coordinates": [ [101.0, 0.0], [102.0, 1.0] ]
   }
 ]
}'
# }

Run the code above in your browser using DataLab