pyguymer3.geo.fillinSrc.fillin_LinearRing¶
- pyguymer3.geo.fillinSrc.fillin_LinearRing(ring, fill, /, *, debug=True, eps=1e-12, fillSpace='EuclideanSpace', nIter=100, prefix='.', ramLimit=1073741824)[source]¶
Fill in a LinearRing
This function reads in a LinearRing that exists on the surface of the Earth and returns a LineString of the same LinearRing filled in by a constant distance: either in degrees in Euclidean space; or in metres in Geodesic space.
- Parameters:
ring (shapely.geometry.polygon.LinearRing) – the LinearRing
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)
- Returns:
fills – the filled in LinearRing
- Return type:
shapely.geometry.linestring.LineString
Notes
Copyright 2017 Thomas Guymer [1]
References