Environmental Correlation API¶
-
class
pycoal.environment.
EnvironmentalCorrelation
[source]¶ -
-
create_empty_copy
(source_filename, destination_filename)[source]¶ Create an empty copy of a COAL classified image with the same size.
Parameters: - source_filename (str) – filename of the source image
- destination_filename (str) – filename of the destination image
-
intersect_proximity
(mining_filename, vector_filename, proximity, correlated_filename)[source]¶ Generate an environmental correlation image containing pixels from the mining classified image detected within a given distance of features within a vector layer.
Parameters: - mining_filename (str) – filename of the mining classified image
- vector_filename (str) – filename of vector layer
- proximity (float) – distance in meters
- correlated_filename (str) – filename of the correlated image
-