pyguymer3.geo.fillinSrc.fillin_MultiPolygon¶
- pyguymer3.geo.fillinSrc.fillin_MultiPolygon(multipoly, fill, /, *, debug=True, eps=1e-12, fillSpace='EuclideanSpace', nIter=100, prefix='.', ramLimit=1073741824, tol=1e-10)[source]¶
Fill in a MultiPolygon
This function reads in a MultiPolygon, made up of Polygons (with an exterior and any number of interiors), that exists on the surface of the Earth and returns a MultiPolygon of the same MultiPolygon filled in by a constant distance: either in degrees in Euclidean space; or in metres in Geodesic space.
- Parameters:
multipoly (shapely.geometry.multipolygon.MultiPolygon) – the MultiPolygon
fill (float) – the Euclidean or Geodesic distance to fill in between each point within the shape by (in degrees or metres)
debug (bool, optional) – print debug messages
eps (float, optional) – the tolerance of the Vincenty formula iterations
fillSpace (str, optional) – the geometric space to perform the filling in (either “EuclideanSpace” or “GeodesicSpace”)
nIter (int, optional) – the maximum number of iterations (particularly the Vincenty formula)
prefix (str, optional) – change the name of the output debugging CSVs
ramLimit (int, optional) – the maximum RAM usage of each “large” array (in bytes)
tol (float, optional) – the Euclidean distance that defines two points as being the same (in degrees)
- Returns:
fills – the filled in MultiPolygon
- Return type:
shapely.geometry.multipolygon.MultiPolygon
Notes
Copyright 2017 Thomas Guymer [1]
References