Environmental Correlation API¶
-
class
pycoal.environment.
EnvironmentalCorrelation
[source]¶ -
-
createEmptyCopy
(sourceFilename, destinationFilename)[source]¶ Create an empty copy of a COAL classified image with the same size.
Parameters: - sourceFilename (str) – filename of the source image
- destinationFilename (str) – filename of the destination image
-
intersectProximity
(miningFilename, vectorFilename, proximity, correlatedFilename)[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: - miningImage (str) – filename of the mining classified image
- vectorLayer (str) – filename of vector layer
- proximity (float) – distance in meters
- correlatedImage (str) – filename of the correlated image
-