geo_partition v0.1.1 GeoPartition View Source
Documentation for GeoPartition.
Link to this section Summary
Functions
Decomposes a given polygon or multipolygon into a list of polygons all of which
have an area less than area
(measured in square miles)
Disallow polygons with overlapping holes
Link to this section Functions
Decomposes a given polygon or multipolygon into a list of polygons all of which
have an area less than area
(measured in square miles)
Input format can be
Geo.Polygon
Geo.MultiPolygon
- string keyed map decodable into
Geo.Polygon
orGeo.MultiPolygon
- vaild GeoJSON polygon
- valid GeoJSON multipolygon
- valid GeoJSON feature with polygon or multipolygon geometry
output
specifies the output format of the decomposition
:list
(default), a flat list ofGeo.Polygon
:multipolygon
, a singleGeo.MultiPolygon
:multipolygon_json
, a GeoJSON geometry object of type MultiPolygon:multipolygon_feature
, a GeoJSON feature with a MultiPolygon geometry:feature_collection
, a GeoJSON feature collection containing features with Polygon geometry:feature_collection_multipolygon
, a GeoJSON feature collection containing a single feature with multipolygon geometry
Disallow polygons with overlapping holes