Add spatial features in addition to spectral features
Add the possibility to train models (GP, RF and others) with 2 additional features called spatial features (longitude and latitude). These features are added to the spectral features.
These features are extracted from the column "GEOMETRY" from the sqlite file containing learning samples:
We simply use:
longitude = df['geometry'].x
latitude = df['geometry'].y
Values are in meters (RGF93 / Lambert-93)
Edited by Valentine Bellet