F21s1 Assignment 6
Import libraries¶
In [ ]:
Copied!
import ee
import geemap
import ee
import geemap
Create an interactive map¶
In [ ]:
Copied!
Map = geemap.Map(center=[40, -100], zoom=4)
Map = geemap.Map(center=[40, -100], zoom=4)
Add Earth Engine Python script¶
In [ ]:
Copied!
# Add Earth Engine dataset
image = ee.Image("USGS/SRTMGL1_003")
#*** Start of imports. If edited, may not auto-convert in the playground. ***#
forest =
# shown: False #
ee.FeatureCollection(
[ee.Feature(
ee.Geometry.Point([9.414318330642528, 44.573441859314016]),
{
"class": 0,
"system:index": "0"
}),
ee.Feature(
ee.Geometry.Point([9.427705541156865, 44.58422671008443]),
{
"class": 0,
"system:index": "1"
}),
ee.Feature(
ee.Geometry.Point([9.400411382221318, 44.59498464279749]),
{
"class": 0,
"system:index": "2"
}),
ee.Feature(
ee.Geometry.Point([9.427190557026005, 44.600607315157376]),
{
"class": 0,
"system:index": "3"
}),
ee.Feature(
ee.Geometry.Point([9.427018895649052, 44.571877083168374]),
{
"class": 0,
"system:index": "4"
}),
ee.Feature(
ee.Geometry.Point([9.352346196674443, 44.56062563530188]),
{
"class": 0,
"system:index": "5"
}),
ee.Feature(
ee.Geometry.Point([9.584676704909665, 44.528474349106816]),
{
"class": 0,
"system:index": "6"
}),
ee.Feature(
ee.Geometry.Point([9.568368874099118, 44.53899788426392]),
{
"class": 0,
"system:index": "7"
}),
ee.Feature(
ee.Geometry.Point([9.557210884597165, 44.534470549891495]),
{
"class": 0,
"system:index": "8"
}),
ee.Feature(
ee.Geometry.Point([9.563219032790524, 44.508523361153955]),
{
"class": 0,
"system:index": "9"
}),
ee.Feature(
ee.Geometry.Point([9.652654610183102, 44.530799479832886]),
{
"class": 0,
"system:index": "10"
}),
ee.Feature(
ee.Geometry.Point([9.691499968871002, 44.50146601530913]),
{
"class": 0,
"system:index": "11"
}),
ee.Feature(
ee.Geometry.Point([9.67055728088272, 44.502567915176314]),
{
"class": 0,
"system:index": "12"
}),
ee.Feature(
ee.Geometry.Point([9.668154021605377, 44.4990172743743]),
{
"class": 0,
"system:index": "13"
}),
ee.Feature(
ee.Geometry.Point([9.668154021605377, 44.48285300484169]),
{
"class": 0,
"system:index": "14"
}),
ee.Feature(
ee.Geometry.Point([9.65733935485733, 44.482118158872886]),
{
"class": 0,
"system:index": "15"
}),
ee.Feature(
ee.Geometry.Point([9.605325957640533, 44.49448683251806]),
{
"class": 0,
"system:index": "16"
}),
ee.Feature(
ee.Geometry.Point([9.592108031615142, 44.47342177876237]),
{
"class": 0,
"system:index": "17"
}),
ee.Feature(
ee.Geometry.Point([9.69252993713272, 44.47084936162859]),
{
"class": 0,
"system:index": "18"
}),
ee.Feature(
ee.Geometry.Point([9.738535186156158, 44.48922128217961]),
{
"class": 0,
"system:index": "19"
}),
ee.Feature(
ee.Geometry.Point([9.80740370242143, 44.44605496001787]),
{
"class": 0,
"system:index": "20"
}),
ee.Feature(
ee.Geometry.Point([9.759338516874555, 44.4477706457772]),
{
"class": 0,
"system:index": "21"
}),
ee.Feature(
ee.Geometry.Point([9.753158707304243, 44.45120186611758]),
{
"class": 0,
"system:index": "22"
}),
ee.Feature(
ee.Geometry.Point([10.622735604942841, 44.17490267165223]),
{
"class": 0,
"system:index": "23"
}),
ee.Feature(
ee.Geometry.Point([10.514245614708466, 44.1906597047536]),
{
"class": 0,
"system:index": "24"
}),
ee.Feature(
ee.Geometry.Point([10.042922670006837, 44.30621875527554]),
{
"class": 0,
"system:index": "25"
}),
ee.Feature(
ee.Geometry.Point([10.043609315514649, 44.2880350593344]),
{
"class": 0,
"system:index": "26"
}),
ee.Feature(
ee.Geometry.Point([10.068328553795899, 44.27181241762688]),
{
"class": 0,
"system:index": "27"
}),
ee.Feature(
ee.Geometry.Point([10.114333802819337, 44.28017009547173]),
{
"class": 0,
"system:index": "28"
}),
ee.Feature(
ee.Geometry.Point([10.109527284264649, 44.29393309121647]),
{
"class": 0,
"system:index": "29"
}),
ee.Feature(
ee.Geometry.Point([10.090301210045899, 44.32439682017676]),
{
"class": 0,
"system:index": "30"
}),
ee.Feature(
ee.Geometry.Point([9.887397462487305, 44.283119580315365]),
{
"class": 0,
"system:index": "31"
}),
ee.Feature(
ee.Geometry.Point([9.849975282311524, 44.30277902847262]),
{
"class": 0,
"system:index": "32"
}),
ee.Feature(
ee.Geometry.Point([9.868171388268555, 44.26812482891884]),
{
"class": 0,
"system:index": "33"
}),
ee.Feature(
ee.Geometry.Point([9.920699769616212, 44.233696177590424]),
{
"class": 0,
"system:index": "34"
}),
ee.Feature(
ee.Geometry.Point([9.974944764733399, 44.26738728341367]),
{
"class": 0,
"system:index": "35"
}),
ee.Feature(
ee.Geometry.Point([9.980437928795899, 44.27549977497149]),
{
"class": 0,
"system:index": "36"
}),
ee.Feature(
ee.Geometry.Point([9.955375367760743, 44.32439682017676]),
{
"class": 0,
"system:index": "37"
}),
ee.Feature(
ee.Geometry.Point([9.418427521884842, 44.38209136110383]),
{
"class": 0,
"system:index": "38"
}),
ee.Feature(
ee.Geometry.Point([9.411904389560624, 44.37767453815662]),
{
"class": 0,
"system:index": "39"
}),
ee.Feature(
ee.Geometry.Point([9.40126138418953, 44.37522060365833]),
{
"class": 0,
"system:index": "40"
}),
ee.Feature(
ee.Geometry.Point([9.386841828525467, 44.3720303350693]),
{
"class": 0,
"system:index": "41"
}),
ee.Feature(
ee.Geometry.Point([9.374825532138749, 44.375711398784944]),
{
"class": 0,
"system:index": "42"
}),
ee.Feature(
ee.Geometry.Point([9.407441193759842, 44.36577199572992]),
{
"class": 0,
"system:index": "43"
}),
ee.Feature(
ee.Geometry.Point([9.419800812900467, 44.378410698452875]),
{
"class": 0,
"system:index": "44"
}),
ee.Feature(
ee.Geometry.Point([9.402634675205155, 44.39190533029205]),
{
"class": 0,
"system:index": "45"
}),
ee.Feature(
ee.Geometry.Point([9.430787141025467, 44.39607576894639]),
{
"class": 0,
"system:index": "46"
}),
ee.Feature(
ee.Geometry.Point([9.456364686191483, 44.40110443203785]),
{
"class": 0,
"system:index": "47"
}),
ee.Feature(
ee.Geometry.Point([9.491555268466874, 44.40147236602735]),
{
"class": 0,
"system:index": "48"
}),
ee.Feature(
ee.Geometry.Point([9.52760415762703, 44.39656638924877]),
{
"class": 0,
"system:index": "49"
}),
ee.Feature(
ee.Geometry.Point([9.518334443271561, 44.375711398784944]),
{
"class": 0,
"system:index": "50"
}),
ee.Feature(
ee.Geometry.Point([9.54408364981453, 44.376447583762115]),
{
"class": 0,
"system:index": "51"
}),
ee.Feature(
ee.Geometry.Point([9.362465912998124, 44.38515840322767]),
{
"class": 0,
"system:index": "52"
}),
ee.Feature(
ee.Geometry.Point([9.150727904135598, 44.58657203242108]),
{
"class": 0,
"system:index": "53"
}),
ee.Feature(
ee.Geometry.Point([9.069360411459817, 44.593906906576656]),
{
"class": 0,
"system:index": "54"
}),
ee.Feature(
ee.Geometry.Point([9.087556517416848, 44.55966957437203]),
{
"class": 0,
"system:index": "55"
}),
ee.Feature(
ee.Geometry.Point([8.995546019369973, 44.57874714637613]),
{
"class": 0,
"system:index": "56"
}),
ee.Feature(
ee.Geometry.Point([8.969453490073098, 44.600751953971006]),
{
"class": 0,
"system:index": "57"
}),
ee.Feature(
ee.Geometry.Point([9.07004705696763, 44.54988377686661]),
{
"class": 0,
"system:index": "58"
}),
ee.Feature(
ee.Geometry.Point([9.08549658089341, 44.524188229078355]),
{
"class": 0,
"system:index": "59"
}),
ee.Feature(
ee.Geometry.Point([9.123262083823098, 44.53250993354593]),
{
"class": 0,
"system:index": "60"
}),
ee.Feature(
ee.Geometry.Point([9.12669531136216, 44.52125087305466]),
{
"class": 0,
"system:index": "61"
}),
ee.Feature(
ee.Geometry.Point([9.101289427573098, 44.5117034431649]),
{
"class": 0,
"system:index": "62"
}),
ee.Feature(
ee.Geometry.Point([9.001725828940286, 44.52002693100144]),
{
"class": 0,
"system:index": "63"
}),
ee.Feature(
ee.Geometry.Point([9.048761046225442, 44.579480774182784]),
{
"class": 0,
"system:index": "64"
}),
ee.Feature(
ee.Geometry.Point([9.097856200034036, 44.58119253640071]),
{
"class": 0,
"system:index": "65"
}),
ee.Feature(
ee.Geometry.Point([9.232438719565286, 44.577279862993244]),
{
"class": 0,
"system:index": "66"
}),
ee.Feature(
ee.Geometry.Point([9.25303808479966, 44.592195518735345]),
{
"class": 0,
"system:index": "67"
}),
ee.Feature(
ee.Geometry.Point([10.930848996624745, 44.05820855928862]),
{
"class": 0,
"system:index": "68"
}),
ee.Feature(
ee.Geometry.Point([10.961061398968495, 44.034518385008376]),
{
"class": 0,
"system:index": "69"
}),
ee.Feature(
ee.Geometry.Point([10.950075070843495, 44.10753265821489]),
{
"class": 0,
"system:index": "70"
}),
ee.Feature(
ee.Geometry.Point([10.88278381107787, 44.1233076844616]),
{
"class": 0,
"system:index": "71"
}),
ee.Feature(
ee.Geometry.Point([10.72348205326537, 44.02069474136502]),
{
"class": 0,
"system:index": "72"
}),
ee.Feature(
ee.Geometry.Point([10.669923703655995, 43.99995323119841]),
{
"class": 0,
"system:index": "73"
}),
ee.Feature(
ee.Geometry.Point([10.64383117435912, 43.97821625026472]),
{
"class": 0,
"system:index": "74"
}),
ee.Feature(
ee.Geometry.Point([10.737204832742563, 45.20169532981405]),
{
"class": 0,
"system:index": "75"
}),
ee.Feature(
ee.Geometry.Point([10.736861509988657, 45.19903426034426]),
{
"class": 0,
"system:index": "76"
}),
ee.Feature(
ee.Geometry.Point([10.74029473752772, 45.1974012697325]),
{
"class": 0,
"system:index": "77"
}),
ee.Feature(
ee.Geometry.Point([10.742955488870493, 45.196614998278925]),
{
"class": 0,
"system:index": "78"
}),
ee.Feature(
ee.Geometry.Point([10.746560377786508, 45.196191616842306]),
{
"class": 0,
"system:index": "79"
}),
ee.Feature(
ee.Geometry.Point([10.749221129129282, 45.199094740578026]),
{
"class": 0,
"system:index": "80"
}),
ee.Feature(
ee.Geometry.Point([10.751109404275766, 45.20242105443272]),
{
"class": 0,
"system:index": "81"
}),
ee.Feature(
ee.Geometry.Point([10.752053541849008, 45.20441674940112]),
{
"class": 0,
"system:index": "82"
}),
ee.Feature(
ee.Geometry.Point([10.740638060281626, 45.207017095376]),
{
"class": 0,
"system:index": "83"
}),
ee.Feature(
ee.Geometry.Point([10.738063139627329, 45.20508196549987]),
{
"class": 0,
"system:index": "84"
}),
ee.Feature(
ee.Geometry.Point([10.74029473752772, 45.20302581787672]),
{
"class": 0,
"system:index": "85"
}),
ee.Feature(
ee.Geometry.Point([10.73454408139979, 45.20133246403324]),
{
"class": 0,
"system:index": "86"
}),
ee.Feature(
ee.Geometry.Point([10.728624023302768, 43.74014883100581]),
{
"class": 0,
"system:index": "87"
}),
ee.Feature(
ee.Geometry.Point([10.738923705919955, 43.73717221940949]),
{
"class": 0,
"system:index": "88"
}),
ee.Feature(
ee.Geometry.Point([10.716951049669955, 43.731714713822]),
{
"class": 0,
"system:index": "89"
}),
ee.Feature(
ee.Geometry.Point([10.732743896349643, 43.75478168565866]),
{
"class": 0,
"system:index": "90"
}),
ee.Feature(
ee.Geometry.Point([10.768106140001986, 43.776352419327765]),
{
"class": 0,
"system:index": "91"
}),
ee.Feature(
ee.Geometry.Point([10.77600256334183, 43.670656005581066]),
{
"class": 0,
"system:index": "92"
}),
ee.Feature(
ee.Geometry.Point([10.573442138537143, 43.74436544412549]),
{
"class": 0,
"system:index": "93"
}),
ee.Feature(
ee.Geometry.Point([10.560395873888705, 43.74758971259468]),
{
"class": 0,
"system:index": "94"
}),
ee.Feature(
ee.Geometry.Point([10.555246032580111, 43.76767547313776]),
{
"class": 0,
"system:index": "95"
}),
ee.Feature(
ee.Geometry.Point([10.53430334459183, 43.77065056793546]),
{
"class": 0,
"system:index": "96"
}),
ee.Feature(
ee.Geometry.Point([10.642793334826205, 43.68555410716658]),
{
"class": 0,
"system:index": "97"
}),
ee.Feature(
ee.Geometry.Point([10.717637695177768, 43.72501618629434]),
{
"class": 0,
"system:index": "98"
}),
ee.Feature(
ee.Geometry.Point([10.735147155626986, 43.7535417519611]),
{
"class": 0,
"system:index": "99"
})]),
developed =
# shown: False #
ee.FeatureCollection(
[ee.Feature(
ee.Geometry.Point([9.19467878610836, 45.46435783697627]),
{
"class": 1,
"system:index": "0"
}),
ee.Feature(
ee.Geometry.Point([9.203090193579063, 45.464899612733554]),
{
"class": 1,
"system:index": "1"
}),
ee.Feature(
ee.Geometry.Point([9.204463484594688, 45.462852876998106]),
{
"class": 1,
"system:index": "2"
}),
ee.Feature(
ee.Geometry.Point([9.180087569067345, 45.458879589622896]),
{
"class": 1,
"system:index": "3"
}),
ee.Feature(
ee.Geometry.Point([9.18068838388668, 45.45641119434588]),
{
"class": 1,
"system:index": "4"
}),
ee.Feature(
ee.Geometry.Point([9.167642119238243, 45.455267267211944]),
{
"class": 1,
"system:index": "5"
}),
ee.Feature(
ee.Geometry.Point([9.165668013403282, 45.45340080996563]),
{
"class": 1,
"system:index": "6"
}),
ee.Feature(
ee.Geometry.Point([9.167556288549767, 45.45135365679475]),
{
"class": 1,
"system:index": "7"
}),
ee.Feature(
ee.Geometry.Point([9.167813780615196, 45.46297327527481]),
{
"class": 1,
"system:index": "8"
}),
ee.Feature(
ee.Geometry.Point([9.176911833593712, 45.46706666369604]),
{
"class": 1,
"system:index": "9"
}),
ee.Feature(
ee.Geometry.Point([9.223853948611414, 45.47248322583851]),
{
"class": 1,
"system:index": "10"
}),
ee.Feature(
ee.Geometry.Point([9.242822530764734, 45.47537221988128]),
{
"class": 1,
"system:index": "11"
}),
ee.Feature(
ee.Geometry.Point([9.211236837405359, 45.47729813363197]),
{
"class": 1,
"system:index": "12"
}),
ee.Feature(
ee.Geometry.Point([9.203597906130945, 45.47669629265562]),
{
"class": 1,
"system:index": "13"
}),
ee.Feature(
ee.Geometry.Point([9.154784524052499, 45.18401973624338]),
{
"class": 1,
"system:index": "14"
}),
ee.Feature(
ee.Geometry.Point([9.158217751591561, 45.185713605296485]),
{
"class": 1,
"system:index": "15"
}),
ee.Feature(
ee.Geometry.Point([9.156057754172835, 45.18958733293765]),
{
"class": 1,
"system:index": "16"
}),
ee.Feature(
ee.Geometry.Point([9.160520949973616, 45.19122054778279]),
{
"class": 1,
"system:index": "17"
}),
ee.Feature(
ee.Geometry.Point([9.158289352073226, 45.19599894427136]),
{
"class": 1,
"system:index": "18"
}),
ee.Feature(
ee.Geometry.Point([9.144728103293929, 45.194063439607106]),
{
"class": 1,
"system:index": "19"
}),
ee.Feature(
ee.Geometry.Point([9.145843902244124, 45.192914202565674]),
{
"class": 1,
"system:index": "20"
}),
ee.Feature(
ee.Geometry.Point([9.138548293723616, 45.19019223278913]),
{
"class": 1,
"system:index": "21"
}),
ee.Feature(
ee.Geometry.Point([9.144470611228499, 45.17924255060339]),
{
"class": 1,
"system:index": "22"
}),
ee.Feature(
ee.Geometry.Point([9.180176177634749, 45.18347748407685]),
{
"class": 1,
"system:index": "23"
}),
ee.Feature(
ee.Geometry.Point([9.177257934226546, 45.18626026884151]),
{
"class": 1,
"system:index": "24"
}),
ee.Feature(
ee.Geometry.Point([10.78698889146683, 43.71211320778847]),
{
"class": 1,
"system:index": "25"
}),
ee.Feature(
ee.Geometry.Point([10.789392150744174, 43.71285768592188]),
{
"class": 1,
"system:index": "26"
}),
ee.Feature(
ee.Geometry.Point([10.809304870470736, 43.72625671087301]),
{
"class": 1,
"system:index": "27"
}),
ee.Feature(
ee.Geometry.Point([10.839517272814486, 43.69486354220674]),
{
"class": 1,
"system:index": "28"
}),
ee.Feature(
ee.Geometry.Point([10.848100341662143, 43.692877650647986]),
{
"class": 1,
"system:index": "29"
}),
ee.Feature(
ee.Geometry.Point([10.801408447130893, 43.68816089463136]),
{
"class": 1,
"system:index": "30"
}),
ee.Feature(
ee.Geometry.Point([10.792825378283236, 43.68580237752021]),
{
"class": 1,
"system:index": "31"
}),
ee.Feature(
ee.Geometry.Point([10.793855346544955, 43.681705785290106]),
{
"class": 1,
"system:index": "32"
}),
ee.Feature(
ee.Geometry.Point([10.744760192736361, 43.69945566455851]),
{
"class": 1,
"system:index": "33"
}),
ee.Feature(
ee.Geometry.Point([10.757978118761752, 43.708142501552466]),
{
"class": 1,
"system:index": "34"
}),
ee.Feature(
ee.Geometry.Point([10.752313293322299, 43.711368720406874]),
{
"class": 1,
"system:index": "35"
}),
ee.Feature(
ee.Geometry.Point([10.747335113390658, 43.71633179492939]),
{
"class": 1,
"system:index": "36"
}),
ee.Feature(
ee.Geometry.Point([10.756433166369174, 43.72414780380379]),
{
"class": 1,
"system:index": "37"
}),
ee.Feature(
ee.Geometry.Point([10.75729147325394, 43.722659118819244]),
{
"class": 1,
"system:index": "38"
}),
ee.Feature(
ee.Geometry.Point([10.782697357043002, 43.73121855228781]),
{
"class": 1,
"system:index": "39"
}),
ee.Feature(
ee.Geometry.Point([10.101396448196057, 44.02806798391265]),
{
"class": 1,
"system:index": "40"
}),
ee.Feature(
ee.Geometry.Point([10.142938501418714, 44.03831132632035]),
{
"class": 1,
"system:index": "41"
}),
ee.Feature(
ee.Geometry.Point([10.131265527785901, 44.04386420551437]),
{
"class": 1,
"system:index": "42"
}),
ee.Feature(
ee.Geometry.Point([10.073930627883557, 44.03954534445121]),
{
"class": 1,
"system:index": "43"
}),
ee.Feature(
ee.Geometry.Point([10.059682733596448, 44.049169803814]),
{
"class": 1,
"system:index": "44"
}),
ee.Feature(
ee.Geometry.Point([10.034448511184339, 44.04028574299332]),
{
"class": 1,
"system:index": "45"
}),
ee.Feature(
ee.Geometry.Point([10.028955347121839, 44.04818275173984]),
{
"class": 1,
"system:index": "46"
}),
ee.Feature(
ee.Geometry.Point([10.109121210158948, 44.01374902094095]),
{
"class": 1,
"system:index": "47"
}),
ee.Feature(
ee.Geometry.Point([10.103628046096448, 44.01103296542014]),
{
"class": 1,
"system:index": "48"
}),
ee.Feature(
ee.Geometry.Point([10.090238458694104, 44.022143315216184]),
{
"class": 1,
"system:index": "49"
}),
ee.Feature(
ee.Geometry.Point([10.080797082961682, 44.04386420551437]),
{
"class": 1,
"system:index": "50"
}),
ee.Feature(
ee.Geometry.Point([10.064832574905042, 44.03497934899128]),
{
"class": 1,
"system:index": "51"
}),
ee.Feature(
ee.Geometry.Point([10.329484511360473, 44.80057754997864]),
{
"class": 1,
"system:index": "52"
}),
ee.Feature(
ee.Geometry.Point([10.337380934700317, 44.79485244645107]),
{
"class": 1,
"system:index": "53"
}),
ee.Feature(
ee.Geometry.Point([10.330514479622192, 44.79911587541933]),
{
"class": 1,
"system:index": "54"
}),
ee.Feature(
ee.Geometry.Point([10.317296553596801, 44.802160988964836]),
{
"class": 1,
"system:index": "55"
}),
ee.Feature(
ee.Geometry.Point([10.318498183235473, 44.79984671732763]),
{
"class": 1,
"system:index": "56"
}),
ee.Feature(
ee.Geometry.Point([10.300988722786254, 44.80313539135592]),
{
"class": 1,
"system:index": "57"
}),
ee.Feature(
ee.Geometry.Point([10.357636977180785, 44.808616098157394]),
{
"class": 1,
"system:index": "58"
}),
ee.Feature(
ee.Geometry.Point([10.35351710413391, 44.79034505045052]),
{
"class": 1,
"system:index": "59"
}),
ee.Feature(
ee.Geometry.Point([10.34408578523026, 44.79250875336787]),
{
"class": 1,
"system:index": "60"
}),
ee.Feature(
ee.Geometry.Point([10.335202308972935, 44.79025500784725]),
{
"class": 1,
"system:index": "61"
}),
ee.Feature(
ee.Geometry.Point([10.337519737561802, 44.78663055684301]),
{
"class": 1,
"system:index": "62"
}),
ee.Feature(
ee.Geometry.Point([10.326662155469517, 44.791625539258725]),
{
"class": 1,
"system:index": "63"
}),
ee.Feature(
ee.Geometry.Point([9.68779982182756, 45.05295255153792]),
{
"class": 1,
"system:index": "64"
}),
ee.Feature(
ee.Geometry.Point([9.693636308643967, 45.05076963745494]),
{
"class": 1,
"system:index": "65"
}),
ee.Feature(
ee.Geometry.Point([9.700502763722092, 45.04907175778813]),
{
"class": 1,
"system:index": "66"
}),
ee.Feature(
ee.Geometry.Point([9.764360795948654, 45.02845062567073]),
{
"class": 1,
"system:index": "67"
}),
ee.Feature(
ee.Geometry.Point([9.738954912159592, 45.04446297319648]),
{
"class": 1,
"system:index": "68"
}),
ee.Feature(
ee.Geometry.Point([9.731401811573654, 45.05125473667368]),
{
"class": 1,
"system:index": "69"
}),
ee.Feature(
ee.Geometry.Point([9.734835039112717, 45.03378857269489]),
{
"class": 1,
"system:index": "70"
}),
ee.Feature(
ee.Geometry.Point([9.695696245167404, 45.041066789045686]),
{
"class": 1,
"system:index": "71"
}),
ee.Feature(
ee.Geometry.Point([9.670977006886154, 45.04397781637543]),
{
"class": 1,
"system:index": "72"
}),
ee.Feature(
ee.Geometry.Point([9.71002997014299, 45.03529497150581]),
{
"class": 1,
"system:index": "73"
}),
ee.Feature(
ee.Geometry.Point([9.699472795460373, 45.0422091170089]),
{
"class": 1,
"system:index": "74"
}),
ee.Feature(
ee.Geometry.Point([9.730543504688889, 45.04396784528239]),
{
"class": 1,
"system:index": "75"
}),
ee.Feature(
ee.Geometry.Point([9.727453599903733, 45.044028490120596]),
{
"class": 1,
"system:index": "76"
}),
ee.Feature(
ee.Geometry.Point([9.728741060230881, 45.04912242702095]),
{
"class": 1,
"system:index": "77"
}),
ee.Feature(
ee.Geometry.Point([9.673637758228928, 45.042936873196716]),
{
"class": 1,
"system:index": "78"
}),
ee.Feature(
ee.Geometry.Point([9.68007505986467, 45.03772108261854]),
{
"class": 1,
"system:index": "79"
}),
ee.Feature(
ee.Geometry.Point([9.681019197437912, 45.036811303005315]),
{
"class": 1,
"system:index": "80"
}),
ee.Feature(
ee.Geometry.Point([9.693378816578537, 45.03420318794656]),
{
"class": 1,
"system:index": "81"
}),
ee.Feature(
ee.Geometry.Point([9.695953737232834, 45.03311138355789]),
{
"class": 1,
"system:index": "82"
}),
ee.Feature(
ee.Geometry.Point([10.928861454431917, 44.645179237899704]),
{
"class": 1,
"system:index": "83"
}),
ee.Feature(
ee.Geometry.Point([10.926114872400667, 44.645179237899704]),
{
"class": 1,
"system:index": "84"
}),
ee.Feature(
ee.Geometry.Point([10.922509983484652, 44.64652267753729]),
{
"class": 1,
"system:index": "85"
}),
ee.Feature(
ee.Geometry.Point([10.931264713709261, 44.63724009583039]),
{
"class": 1,
"system:index": "86"
}),
ee.Feature(
ee.Geometry.Point([10.950061634485628, 44.6343084456789]),
{
"class": 1,
"system:index": "87"
}),
ee.Feature(
ee.Geometry.Point([10.953924015467074, 44.63797298522629]),
{
"class": 1,
"system:index": "88"
}),
ee.Feature(
ee.Geometry.Point([10.922424152796175, 44.631376647419025]),
{
"class": 1,
"system:index": "89"
}),
ee.Feature(
ee.Geometry.Point([10.923110798303988, 44.63308688106989]),
{
"class": 1,
"system:index": "90"
}),
ee.Feature(
ee.Geometry.Point([10.91255362362137, 44.64383576714894]),
{
"class": 1,
"system:index": "91"
}),
ee.Feature(
ee.Geometry.Point([10.908347919886019, 44.64481283987146]),
{
"class": 1,
"system:index": "92"
}),
ee.Feature(
ee.Geometry.Point([10.900108173792269, 44.647621832280535]),
{
"class": 1,
"system:index": "93"
}),
ee.Feature(
ee.Geometry.Point([10.909463718836214, 44.63724009583039]),
{
"class": 1,
"system:index": "94"
}),
ee.Feature(
ee.Geometry.Point([10.93504126400223, 44.626978672326416]),
{
"class": 1,
"system:index": "95"
}),
ee.Feature(
ee.Geometry.Point([10.982591465418245, 44.63711794669777]),
{
"class": 1,
"system:index": "96"
}),
ee.Feature(
ee.Geometry.Point([10.988256290857699, 44.63479706432279]),
{
"class": 1,
"system:index": "97"
}),
ee.Feature(
ee.Geometry.Point([10.992290333216097, 44.63290364416077]),
{
"class": 1,
"system:index": "98"
}),
ee.Feature(
ee.Geometry.Point([10.992548194323003, 44.632782655700204]),
{
"class": 1,
"system:index": "99"
})]),
water =
# shown: False #
ee.FeatureCollection(
[ee.Feature(
ee.Geometry.Point([9.980378415331183, 43.953687197631126]),
{
"class": 2,
"system:index": "0"
}),
ee.Feature(
ee.Geometry.Point([9.735932614549933, 44.00704943549187]),
{
"class": 2,
"system:index": "1"
}),
ee.Feature(
ee.Geometry.Point([9.461274411424933, 44.12546046543348]),
{
"class": 2,
"system:index": "2"
}),
ee.Feature(
ee.Geometry.Point([9.282746579393683, 44.235763707116455]),
{
"class": 2,
"system:index": "3"
}),
ee.Feature(
ee.Geometry.Point([10.068269040331183, 43.94775509959863]),
{
"class": 2,
"system:index": "4"
}),
ee.Feature(
ee.Geometry.Point([10.202851559862433, 43.765549960385265]),
{
"class": 2,
"system:index": "5"
}),
ee.Feature(
ee.Geometry.Point([10.178132321581183, 43.72785127863614]),
{
"class": 2,
"system:index": "6"
}),
ee.Feature(
ee.Geometry.Point([10.213837887987433, 43.6821842672651]),
{
"class": 2,
"system:index": "7"
}),
ee.Feature(
ee.Geometry.Point([10.065522458299933, 43.72586647981521]),
{
"class": 2,
"system:index": "8"
}),
ee.Feature(
ee.Geometry.Point([9.941926266893683, 43.894339574154564]),
{
"class": 2,
"system:index": "9"
}),
ee.Feature(
ee.Geometry.Point([9.88486387395865, 45.077069068166345]),
{
"class": 2,
"system:index": "10"
}),
ee.Feature(
ee.Geometry.Point([9.848471662044588, 45.09864207259974]),
{
"class": 2,
"system:index": "11"
}),
ee.Feature(
ee.Geometry.Point([9.81448270940787, 45.0773115067334]),
{
"class": 2,
"system:index": "12"
}),
ee.Feature(
ee.Geometry.Point([9.828902265071932, 45.06179336476103]),
{
"class": 2,
"system:index": "13"
}),
ee.Feature(
ee.Geometry.Point([9.95455839300162, 45.11657297387295]),
{
"class": 2,
"system:index": "14"
}),
ee.Feature(
ee.Geometry.Point([10.002623578548494, 45.115603879971225]),
{
"class": 2,
"system:index": "15"
}),
ee.Feature(
ee.Geometry.Point([10.02322294378287, 45.10276183206325]),
{
"class": 2,
"system:index": "16"
}),
ee.Feature(
ee.Geometry.Point([10.043822309017244, 45.07149269722714]),
{
"class": 2,
"system:index": "17"
}),
ee.Feature(
ee.Geometry.Point([10.248517220628196, 45.02613418018433]),
{
"class": 2,
"system:index": "18"
}),
ee.Feature(
ee.Geometry.Point([10.263280099046165, 45.01836869065415]),
{
"class": 2,
"system:index": "19"
}),
ee.Feature(
ee.Geometry.Point([10.280102913987571, 45.006475743526394]),
{
"class": 2,
"system:index": "20"
}),
ee.Feature(
ee.Geometry.Point([10.265340035569603, 45.03802304474337]),
{
"class": 2,
"system:index": "21"
}),
ee.Feature(
ee.Geometry.Point([10.220021432053978, 45.023222245044195]),
{
"class": 2,
"system:index": "22"
}),
ee.Feature(
ee.Geometry.Point([10.182599251878196, 45.04069163407949]),
{
"class": 2,
"system:index": "23"
}),
ee.Feature(
ee.Geometry.Point([10.156163399827415, 45.03292811948761]),
{
"class": 2,
"system:index": "24"
}),
ee.Feature(
ee.Geometry.Point([10.98911496678394, 44.644081206444866]),
{
"class": 2,
"system:index": "25"
}),
ee.Feature(
ee.Geometry.Point([10.988943305406988, 44.64285984756699]),
{
"class": 2,
"system:index": "26"
}),
ee.Feature(
ee.Geometry.Point([10.987484183702886, 44.641821672303635]),
{
"class": 2,
"system:index": "27"
}),
ee.Feature(
ee.Geometry.Point([10.987741675768316, 44.63919561665319]),
{
"class": 2,
"system:index": "28"
}),
ee.Feature(
ee.Geometry.Point([10.990659919176519, 44.63748556302968]),
{
"class": 2,
"system:index": "29"
}),
ee.Feature(
ee.Geometry.Point([10.984823432360113, 44.62844587093865]),
{
"class": 2,
"system:index": "30"
}),
ee.Feature(
ee.Geometry.Point([10.990316596422613, 44.626857671514365]),
{
"class": 2,
"system:index": "31"
}),
ee.Feature(
ee.Geometry.Point([11.026050685338417, 45.051974176463936]),
{
"class": 2,
"system:index": "32"
}),
ee.Feature(
ee.Geometry.Point([11.063816188268104, 45.04372703391621]),
{
"class": 2,
"system:index": "33"
}),
ee.Feature(
ee.Geometry.Point([11.12286770193998, 45.068464894331655]),
{
"class": 2,
"system:index": "34"
}),
ee.Feature(
ee.Geometry.Point([11.19427883475248, 45.05779497293618]),
{
"class": 2,
"system:index": "35"
}),
ee.Feature(
ee.Geometry.Point([11.260883449010292, 45.05585477327662]),
{
"class": 2,
"system:index": "36"
}),
ee.Feature(
ee.Geometry.Point([11.262256740025917, 45.03014091290893]),
{
"class": 2,
"system:index": "37"
}),
ee.Feature(
ee.Geometry.Point([11.321308253697792, 44.99907480907841]),
{
"class": 2,
"system:index": "38"
}),
ee.Feature(
ee.Geometry.Point([11.358387111119667, 44.98402110649786]),
{
"class": 2,
"system:index": "39"
}),
ee.Feature(
ee.Geometry.Point([10.869495509557167, 45.06119016393412]),
{
"class": 2,
"system:index": "40"
}),
ee.Feature(
ee.Geometry.Point([10.805637477330604, 45.04372703391621]),
{
"class": 2,
"system:index": "41"
}),
ee.Feature(
ee.Geometry.Point([10.756885646275917, 45.04566764502083]),
{
"class": 2,
"system:index": "42"
}),
ee.Feature(
ee.Geometry.Point([11.184665797643104, 45.21328137697889]),
{
"class": 2,
"system:index": "43"
}),
ee.Feature(
ee.Geometry.Point([11.014377711705604, 45.22392224246559]),
{
"class": 2,
"system:index": "44"
}),
ee.Feature(
ee.Geometry.Point([10.656680360814072, 44.9558559658398]),
{
"class": 2,
"system:index": "45"
}),
ee.Feature(
ee.Geometry.Point([10.636424318333603, 44.94249200515986]),
{
"class": 2,
"system:index": "46"
}),
ee.Feature(
ee.Geometry.Point([10.62749792673204, 44.926208067303]),
{
"class": 2,
"system:index": "47"
}),
ee.Feature(
ee.Geometry.Point([10.537547365208603, 44.912350932821255]),
{
"class": 2,
"system:index": "48"
}),
ee.Feature(
ee.Geometry.Point([10.50218512155626, 44.921103196045436]),
{
"class": 2,
"system:index": "49"
}),
ee.Feature(
ee.Geometry.Point([10.428370729466415, 44.96071481644557]),
{
"class": 2,
"system:index": "50"
}),
ee.Feature(
ee.Geometry.Point([10.405711427708603, 44.98718832057907]),
{
"class": 2,
"system:index": "51"
}),
ee.Feature(
ee.Geometry.Point([10.380992189427353, 44.9789318417816]),
{
"class": 2,
"system:index": "52"
}),
ee.Feature(
ee.Geometry.Point([10.475062623997665, 44.93568733902074]),
{
"class": 2,
"system:index": "53"
}),
ee.Feature(
ee.Geometry.Point([9.464568669294943, 45.424644452593405]),
{
"class": 2,
"system:index": "54"
}),
ee.Feature(
ee.Geometry.Point([9.458217198347677, 45.41536673223165]),
{
"class": 2,
"system:index": "55"
}),
ee.Feature(
ee.Geometry.Point([9.463710362410177, 45.407172153109734]),
{
"class": 2,
"system:index": "56"
}),
ee.Feature(
ee.Geometry.Point([9.459933812117209, 45.39584239478833]),
{
"class": 2,
"system:index": "57"
}),
ee.Feature(
ee.Geometry.Point([9.46439700791799, 45.3902972170168]),
{
"class": 2,
"system:index": "58"
}),
ee.Feature(
ee.Geometry.Point([9.454783970808615, 45.4118721306585]),
{
"class": 2,
"system:index": "59"
}),
ee.Feature(
ee.Geometry.Point([9.481048161482443, 45.43584797837749]),
{
"class": 2,
"system:index": "60"
}),
ee.Feature(
ee.Geometry.Point([9.469203526472677, 45.43102953016216]),
{
"class": 2,
"system:index": "61"
}),
ee.Feature(
ee.Geometry.Point([9.283229596846958, 45.48773969818685]),
{
"class": 2,
"system:index": "62"
}),
ee.Feature(
ee.Geometry.Point([9.27842307829227, 45.48846176503586]),
{
"class": 2,
"system:index": "63"
}),
ee.Feature(
ee.Geometry.Point([9.27842307829227, 45.50602920541026]),
{
"class": 2,
"system:index": "64"
}),
ee.Feature(
ee.Geometry.Point([9.274646527999302, 45.41596826492388]),
{
"class": 2,
"system:index": "65"
}),
ee.Feature(
ee.Geometry.Point([9.041187055343052, 45.219455970317355]),
{
"class": 2,
"system:index": "66"
}),
ee.Feature(
ee.Geometry.Point([9.058009870284458, 45.21897229982002]),
{
"class": 2,
"system:index": "67"
}),
ee.Feature(
ee.Geometry.Point([9.077579267257114, 45.20228314814136]),
{
"class": 2,
"system:index": "68"
}),
ee.Feature(
ee.Geometry.Point([9.085475690596958, 45.196235145464364]),
{
"class": 2,
"system:index": "69"
}),
ee.Feature(
ee.Geometry.Point([9.175769574874302, 45.16792194842297]),
{
"class": 2,
"system:index": "70"
}),
ee.Feature(
ee.Geometry.Point([9.20426536344852, 45.16332274987339]),
{
"class": 2,
"system:index": "71"
}),
ee.Feature(
ee.Geometry.Point([9.213878400557896, 45.141774192169606]),
{
"class": 2,
"system:index": "72"
}),
ee.Feature(
ee.Geometry.Point([9.21628165983524, 45.15121782146389]),
{
"class": 2,
"system:index": "73"
}),
ee.Feature(
ee.Geometry.Point([9.222804792159458, 45.14371147444317]),
{
"class": 2,
"system:index": "74"
}),
ee.Feature(
ee.Geometry.Point([9.255763776534458, 45.136446326478705]),
{
"class": 2,
"system:index": "75"
}),
ee.Feature(
ee.Geometry.Point([9.313441999190708, 45.12167100406328]),
{
"class": 2,
"system:index": "76"
}),
ee.Feature(
ee.Geometry.Point([9.151736982100864, 45.12142875377629]),
{
"class": 2,
"system:index": "77"
}),
ee.Feature(
ee.Geometry.Point([9.105045087569614, 45.10374170456197]),
{
"class": 2,
"system:index": "78"
}),
ee.Feature(
ee.Geometry.Point([9.07071281217899, 45.09622910773991]),
{
"class": 2,
"system:index": "79"
}),
ee.Feature(
ee.Geometry.Point([9.38107658171024, 45.10010670050038]),
{
"class": 2,
"system:index": "80"
}),
ee.Feature(
ee.Geometry.Point([9.406482465499302, 45.093078369729355]),
{
"class": 2,
"system:index": "81"
}),
ee.Feature(
ee.Geometry.Point([9.424335248702427, 45.09089698773592]),
{
"class": 2,
"system:index": "82"
}),
ee.Feature(
ee.Geometry.Point([9.399529842312088, 44.059942165310375]),
{
"class": 2,
"system:index": "83"
}),
ee.Feature(
ee.Geometry.Point([8.877679256374588, 44.17036779637155]),
{
"class": 2,
"system:index": "84"
}),
ee.Feature(
ee.Geometry.Point([9.355584529812088, 43.96512739709022]),
{
"class": 2,
"system:index": "85"
}),
ee.Feature(
ee.Geometry.Point([9.064446834499588, 44.22550322825024]),
{
"class": 2,
"system:index": "86"
}),
ee.Feature(
ee.Geometry.Point([9.053460506374588, 44.15460533997702]),
{
"class": 2,
"system:index": "87"
}),
ee.Feature(
ee.Geometry.Point([9.597283748562088, 43.88995820658324]),
{
"class": 2,
"system:index": "88"
}),
ee.Feature(
ee.Geometry.Point([10.204020885402908, 44.67242037723368]),
{
"class": 2,
"system:index": "89"
}),
ee.Feature(
ee.Geometry.Point([10.200415996486893, 44.66991778726374]),
{
"class": 2,
"system:index": "90"
}),
ee.Feature(
ee.Geometry.Point([10.198699382717361, 44.668513848016225]),
{
"class": 2,
"system:index": "91"
}),
ee.Feature(
ee.Geometry.Point([10.195094493801346, 44.666072133544375]),
{
"class": 2,
"system:index": "92"
}),
ee.Feature(
ee.Geometry.Point([10.192862895900955, 44.66472914674318]),
{
"class": 2,
"system:index": "93"
}),
ee.Feature(
ee.Geometry.Point([10.18874302285408, 44.66283670344126]),
{
"class": 2,
"system:index": "94"
}),
ee.Feature(
ee.Geometry.Point([10.185309795315018, 44.66045579992672]),
{
"class": 2,
"system:index": "95"
}),
ee.Feature(
ee.Geometry.Point([10.090552715236893, 44.69024057554722]),
{
"class": 2,
"system:index": "96"
}),
ee.Feature(
ee.Geometry.Point([9.884559062893143, 44.6882879445253]),
{
"class": 2,
"system:index": "97"
}),
ee.Feature(
ee.Geometry.Point([10.091239360744705, 44.687555690920945]),
{
"class": 2,
"system:index": "98"
}),
ee.Feature(
ee.Geometry.Point([10.085917858059158, 44.682429656495245]),
{
"class": 2,
"system:index": "99"
})]),
herbaceous =
# shown: False #
ee.FeatureCollection(
[ee.Feature(
ee.Geometry.Point([9.647866129015439, 45.00732805319811]),
{
"class": 3,
"system:index": "0"
}),
ee.Feature(
ee.Geometry.Point([9.63911139879083, 45.00150212185294]),
{
"class": 3,
"system:index": "1"
}),
ee.Feature(
ee.Geometry.Point([9.63859641465997, 44.995432813342106]),
{
"class": 3,
"system:index": "2"
}),
ee.Feature(
ee.Geometry.Point([9.679108499620908, 44.99688950601573]),
{
"class": 3,
"system:index": "3"
}),
ee.Feature(
ee.Geometry.Point([9.680653452013486, 44.99106251314061]),
{
"class": 3,
"system:index": "4"
}),
ee.Feature(
ee.Geometry.Point([9.616967081163876, 44.98474926892666]),
{
"class": 3,
"system:index": "5"
}),
ee.Feature(
ee.Geometry.Point([9.625550150011533, 44.984627853569535]),
{
"class": 3,
"system:index": "6"
}),
ee.Feature(
ee.Geometry.Point([9.577313303087704, 44.99968139680247]),
{
"class": 3,
"system:index": "7"
}),
ee.Feature(
ee.Geometry.Point([9.682183386109417, 45.11939912570097]),
{
"class": 3,
"system:index": "8"
}),
ee.Feature(
ee.Geometry.Point([9.662270666382854, 45.142166966714186]),
{
"class": 3,
"system:index": "9"
}),
ee.Feature(
ee.Geometry.Point([9.655747534058635, 45.14483069451677]),
{
"class": 3,
"system:index": "10"
}),
ee.Feature(
ee.Geometry.Point([9.602875829957073, 45.13926093989158]),
{
"class": 3,
"system:index": "11"
}),
ee.Feature(
ee.Geometry.Point([9.57849991442973, 45.14265129011751]),
{
"class": 3,
"system:index": "12"
}),
ee.Feature(
ee.Geometry.Point([9.56476700427348, 45.14047180240153]),
{
"class": 3,
"system:index": "13"
}),
ee.Feature(
ee.Geometry.Point([9.55652725817973, 45.11794555067206]),
{
"class": 3,
"system:index": "14"
}),
ee.Feature(
ee.Geometry.Point([9.511208654664104, 45.12666644539884]),
{
"class": 3,
"system:index": "15"
}),
ee.Feature(
ee.Geometry.Point([9.601502538941448, 45.15887374651922]),
{
"class": 3,
"system:index": "16"
}),
ee.Feature(
ee.Geometry.Point([9.770417333863323, 45.15378959281897]),
{
"class": 3,
"system:index": "17"
}),
ee.Feature(
ee.Geometry.Point([9.706286368107783, 45.13319818507588]),
{
"class": 3,
"system:index": "18"
}),
ee.Feature(
ee.Geometry.Point([9.704827246403681, 45.13574123701328]),
{
"class": 3,
"system:index": "19"
}),
ee.Feature(
ee.Geometry.Point([9.699248251652705, 45.13955560228794]),
{
"class": 3,
"system:index": "20"
}),
ee.Feature(
ee.Geometry.Point([9.688776907658564, 45.13598342652142]),
{
"class": 3,
"system:index": "21"
}),
ee.Feature(
ee.Geometry.Point([9.688519415593134, 45.130655019734995]),
{
"class": 3,
"system:index": "22"
}),
ee.Feature(
ee.Geometry.Point([9.653500494694697, 45.13997940490131]),
{
"class": 3,
"system:index": "23"
}),
ee.Feature(
ee.Geometry.Point([9.67341321442126, 45.12260091467352]),
{
"class": 3,
"system:index": "24"
}),
ee.Feature(
ee.Geometry.Point([10.7573680083494, 44.76085711753607]),
{
"class": 3,
"system:index": "25"
}),
ee.Feature(
ee.Geometry.Point([10.787065426562291, 44.77743157501226]),
{
"class": 3,
"system:index": "26"
}),
ee.Feature(
ee.Geometry.Point([10.805604855273229, 44.78193997941965]),
{
"class": 3,
"system:index": "27"
}),
ee.Feature(
ee.Geometry.Point([10.800111691210729, 44.782914723275496]),
{
"class": 3,
"system:index": "28"
}),
ee.Feature(
ee.Geometry.Point([10.801484982226354, 44.78206182330164]),
{
"class": 3,
"system:index": "29"
}),
ee.Feature(
ee.Geometry.Point([10.701234738085729, 44.76743872144162]),
{
"class": 3,
"system:index": "30"
}),
ee.Feature(
ee.Geometry.Point([10.706727902148229, 44.77036363804527]),
{
"class": 3,
"system:index": "31"
}),
ee.Feature(
ee.Geometry.Point([10.716512600634557, 44.77060737440978]),
{
"class": 3,
"system:index": "32"
}),
ee.Feature(
ee.Geometry.Point([10.714281002734166, 44.773775853547704]),
{
"class": 3,
"system:index": "33"
}),
ee.Feature(
ee.Geometry.Point([10.724237362597448, 44.78133075615248]),
{
"class": 3,
"system:index": "34"
}),
ee.Feature(
ee.Geometry.Point([10.686300198290807, 44.778650097404636]),
{
"class": 3,
"system:index": "35"
}),
ee.Feature(
ee.Geometry.Point([10.69797317192362, 44.78474232364748]),
{
"class": 3,
"system:index": "36"
}),
ee.Feature(
ee.Geometry.Point([10.726983944628698, 44.74257095015713]),
{
"class": 3,
"system:index": "37"
}),
ee.Feature(
ee.Geometry.Point([10.732305447314245, 44.750617576606686]),
{
"class": 3,
"system:index": "38"
}),
ee.Feature(
ee.Geometry.Point([10.73367873832987, 44.749886111397124]),
{
"class": 3,
"system:index": "39"
}),
ee.Feature(
ee.Geometry.Point([10.747926632616979, 44.74842315320647]),
{
"class": 3,
"system:index": "40"
}),
ee.Feature(
ee.Geometry.Point([10.800111691210729, 44.74915463693038]),
{
"class": 3,
"system:index": "41"
}),
ee.Feature(
ee.Geometry.Point([10.840967098925573, 44.745740967018534]),
{
"class": 3,
"system:index": "42"
}),
ee.Feature(
ee.Geometry.Point([10.823457638476354, 44.747691660225364]),
{
"class": 3,
"system:index": "43"
}),
ee.Feature(
ee.Geometry.Point([10.828607479784948, 44.75659086265001]),
{
"class": 3,
"system:index": "44"
}),
ee.Feature(
ee.Geometry.Point([10.832384030077916, 44.76280730056898]),
{
"class": 3,
"system:index": "45"
}),
ee.Feature(
ee.Geometry.Point([10.838563839648229, 44.780234138071414]),
{
"class": 3,
"system:index": "46"
}),
ee.Feature(
ee.Geometry.Point([10.360658566210729, 45.27366166900315]),
{
"class": 3,
"system:index": "47"
}),
ee.Feature(
ee.Geometry.Point([10.357225338671666, 45.305061440557125]),
{
"class": 3,
"system:index": "48"
}),
ee.Feature(
ee.Geometry.Point([10.356538693163854, 45.302163728326626]),
{
"class": 3,
"system:index": "49"
}),
ee.Feature(
ee.Geometry.Point([10.357911984179479, 45.292986662466724]),
{
"class": 3,
"system:index": "50"
}),
ee.Feature(
ee.Geometry.Point([10.352418820116979, 45.292986662466724]),
{
"class": 3,
"system:index": "51"
}),
ee.Feature(
ee.Geometry.Point([10.322549740527135, 45.28090931297517]),
{
"class": 3,
"system:index": "52"
}),
ee.Feature(
ee.Geometry.Point([10.297487179491979, 45.27994301393099]),
{
"class": 3,
"system:index": "53"
}),
ee.Feature(
ee.Geometry.Point([10.301607052538854, 45.2668963660993]),
{
"class": 3,
"system:index": "54"
}),
ee.Feature(
ee.Geometry.Point([10.33490935966776, 45.260371917443365]),
{
"class": 3,
"system:index": "55"
}),
ee.Feature(
ee.Geometry.Point([10.327699581835729, 45.25819693459614]),
{
"class": 3,
"system:index": "56"
}),
ee.Feature(
ee.Geometry.Point([10.265901486132604, 45.25215487843267]),
{
"class": 3,
"system:index": "57"
}),
ee.Feature(
ee.Geometry.Point([10.249078671191198, 45.27559446457621]),
{
"class": 3,
"system:index": "58"
}),
ee.Feature(
ee.Geometry.Point([10.238092343066198, 45.28260029670276]),
{
"class": 3,
"system:index": "59"
}),
ee.Feature(
ee.Geometry.Point([10.248048702929479, 45.271728807601804]),
{
"class": 3,
"system:index": "60"
}),
ee.Feature(
ee.Geometry.Point([10.228135983202916, 45.26303011666926]),
{
"class": 3,
"system:index": "61"
}),
ee.Feature(
ee.Geometry.Point([10.307786862109166, 45.234508395220274]),
{
"class": 3,
"system:index": "62"
}),
ee.Feature(
ee.Geometry.Point([10.288904110644323, 45.23934359330129]),
{
"class": 3,
"system:index": "63"
}),
ee.Feature(
ee.Geometry.Point([10.277574459765416, 45.23475016489584]),
{
"class": 3,
"system:index": "64"
}),
ee.Feature(
ee.Geometry.Point([10.344179074023229, 45.23063994052452]),
{
"class": 3,
"system:index": "65"
}),
ee.Feature(
ee.Geometry.Point([10.394647518847448, 45.25771359376027]),
{
"class": 3,
"system:index": "66"
}),
ee.Feature(
ee.Geometry.Point([10.459878842089635, 45.25674689974561]),
{
"class": 3,
"system:index": "67"
}),
ee.Feature(
ee.Geometry.Point([10.467775265429479, 45.26544655342014]),
{
"class": 3,
"system:index": "68"
}),
ee.Feature(
ee.Geometry.Point([10.542276303027135, 45.293228183228244]),
{
"class": 3,
"system:index": "69"
}),
ee.Feature(
ee.Geometry.Point([10.533693234179479, 45.30602731172016]),
{
"class": 3,
"system:index": "70"
}),
ee.Feature(
ee.Geometry.Point([10.553262631152135, 45.30433702638502]),
{
"class": 3,
"system:index": "71"
}),
ee.Feature(
ee.Geometry.Point([10.585191647265416, 45.292020569135126]),
{
"class": 3,
"system:index": "72"
}),
ee.Feature(
ee.Geometry.Point([10.575235287402135, 45.24417837995096]),
{
"class": 3,
"system:index": "73"
}),
ee.Feature(
ee.Geometry.Point([10.557725826952916, 45.2311235117616]),
{
"class": 3,
"system:index": "74"
}),
ee.Feature(
ee.Geometry.Point([10.521333615038854, 45.24321145553549]),
{
"class": 3,
"system:index": "75"
}),
ee.Feature(
ee.Geometry.Point([10.50794402763651, 45.22386951120088]),
{
"class": 3,
"system:index": "76"
}),
ee.Feature(
ee.Geometry.Point([10.484941403124791, 45.229189202127266]),
{
"class": 3,
"system:index": "77"
}),
ee.Feature(
ee.Geometry.Point([10.43653289482401, 45.21226118479587]),
{
"class": 3,
"system:index": "78"
}),
ee.Feature(
ee.Geometry.Point([10.404603878710729, 45.21226118479587]),
{
"class": 3,
"system:index": "79"
}),
ee.Feature(
ee.Geometry.Point([10.394304196093541, 45.22870561443287]),
{
"class": 3,
"system:index": "80"
}),
ee.Feature(
ee.Geometry.Point([10.098933611495559, 45.29673011868558]),
{
"class": 3,
"system:index": "81"
}),
ee.Feature(
ee.Geometry.Point([10.108460817916457, 45.295643334272455]),
{
"class": 3,
"system:index": "82"
}),
ee.Feature(
ee.Geometry.Point([10.06717625675923, 45.29775650706211]),
{
"class": 3,
"system:index": "83"
}),
ee.Feature(
ee.Geometry.Point([10.045289431197707, 45.30131853435977]),
{
"class": 3,
"system:index": "84"
}),
ee.Feature(
ee.Geometry.Point([10.05146924076802, 45.30373334083693]),
{
"class": 3,
"system:index": "85"
}),
ee.Feature(
ee.Geometry.Point([10.083569918258254, 45.304397394586246]),
{
"class": 3,
"system:index": "86"
}),
ee.Feature(
ee.Geometry.Point([10.08717480717427, 45.284895122576465]),
{
"class": 3,
"system:index": "87"
}),
ee.Feature(
ee.Geometry.Point([10.095929537398879, 45.281150885164806]),
{
"class": 3,
"system:index": "88"
}),
ee.Feature(
ee.Geometry.Point([9.719647799117629, 45.4015670962912]),
{
"class": 3,
"system:index": "89"
}),
ee.Feature(
ee.Geometry.Point([9.755353365523879, 45.40928043956986]),
{
"class": 3,
"system:index": "90"
}),
ee.Feature(
ee.Geometry.Point([9.740247164352004, 45.43988238640316]),
{
"class": 3,
"system:index": "91"
}),
ee.Feature(
ee.Geometry.Point([9.67467251835591, 45.423017223473764]),
{
"class": 3,
"system:index": "92"
}),
ee.Feature(
ee.Geometry.Point([9.667462740523879, 45.43072763756811]),
{
"class": 3,
"system:index": "93"
}),
ee.Feature(
ee.Geometry.Point([9.640683565719192, 45.38637837388185]),
{
"class": 3,
"system:index": "94"
}),
ee.Feature(
ee.Geometry.Point([9.699735079391067, 45.39023621391478]),
{
"class": 3,
"system:index": "95"
}),
ee.Feature(
ee.Geometry.Point([9.670552645309035, 45.384449355127416]),
{
"class": 3,
"system:index": "96"
}),
ee.Feature(
ee.Geometry.Point([9.665402804000442, 45.39361160795464]),
{
"class": 3,
"system:index": "97"
}),
ee.Feature(
ee.Geometry.Point([9.604977999312942, 45.38155570357316]),
{
"class": 3,
"system:index": "98"
}),
ee.Feature(
ee.Geometry.Point([9.596051607711379, 45.39602248027528]),
{
"class": 3,
"system:index": "99"
})])
#**** End of imports. If edited, may not auto-convert in the playground. ****#
# Create an Earth Engine Point object over Milan.
pt = ee.Geometry.Point([9.453, 45.424])
# Filter the Landsat 8 collection and select the least cloudy image.
landsat = ee.ImageCollection('LANDSAT/LC08/C02/T1_L2') \
.filterBounds(pt) \
.filterDate('2019-01-01', '2020-01-01') \
.sort('CLOUD_COVER') \
.first()
# Add NDVI and NDWI as bands.
ndvi = landsat.normalizedDifference(['SR_B5', 'SR_B4']).rename('ndvi')
ndwi = landsat.normalizedDifference(['SR_B5', 'SR_B6']).rename('ndwi')
landsat = landsat.addBands(ndvi).addBands(ndwi)
# Center the map on that image.
Map.centerObject(landsat, 8)
# Add Landsat image to the map.
visParams = {'bands': ['SR_B4', 'SR_B3', 'SR_B2'], 'min': 7000, 'max': 12000}
Map.addLayer(landsat, visParams, 'Landsat 8 image')
# Combine training feature collections. Here we are using 100 points per class.
# See imports at the top.
trainingFeatures = ee.FeatureCollection([
forest, developed, water, herbaceous
]).flatten()
# Define the prediction bands.
predictionBands = [
'SR_B1', 'SR_B2', 'SR_B3', 'SR_B4', 'SR_B5', 'SR_B6', 'SR_B7', 'ST_B10',
'ndvi', 'ndwi'
]
# Sample training points.
classifierTraining = landsat.select(predictionBands) \
.sampleRegions({
'collection': trainingFeatures,
'properties': ['class'],
'scale': 30
})
######## CART Classifier #########/
# Train a CART Classifier.
classifier = ee.Classifier.smileCart().train({
'features': classifierTraining,
'classProperty': 'class',
'inputProperties': predictionBands
})
# Classify the Landsat image.
classified = landsat.select(predictionBands).classify(classifier)
# Define classification image visualization parameters.
classificationVis = {
'min': 0, 'max': 3, 'palette': ['589400', 'ff0000', '1a11ff', 'd0741e']
}
# Add the classified image to the map.
Map.addLayer(classified, classificationVis, 'CART classified')
#######/ Random Forest Classifier ##########/
# Train RF classifier.
RFclassifier = ee.Classifier.smileRandomForest(50).train({
'features': classifierTraining,
'classProperty': 'class',
'inputProperties': predictionBands
})
# Classify Landsat image.
RFclassified = landsat.select(predictionBands).classify(RFclassifier)
# Add classified image to the map.
Map.addLayer(RFclassified, classificationVis, 'RF classified')
######## Unsupervised classification ########
# Make the training dataset.
training = landsat.sample({
'region': landsat.geometry(),
'scale': 30,
'numPixels': 1000,
'tileScale': 8
})
# Instantiate the clusterer and train it.
clusterer = ee.Clusterer.wekaKMeans(4).train(training)
# Cluster the input using the trained clusterer.
Kclassified = landsat.cluster(clusterer)
# Display the clusters with random colors.
Map.addLayer(Kclassified.randomVisualizer(), {}, 'K-means classified - random colors')
# Display the clusters with same palette as supervised classification
# herbaceous is 0, water is 1, forest is 2, developed is 3.
Map.addLayer(Kclassified,
{'min': 0, 'max': 3, 'palette': ['d0741e','1a11ff','589400', 'ff0000']},
'K-means classified')
# Add Earth Engine dataset
image = ee.Image("USGS/SRTMGL1_003")
#*** Start of imports. If edited, may not auto-convert in the playground. ***#
forest =
# shown: False #
ee.FeatureCollection(
[ee.Feature(
ee.Geometry.Point([9.414318330642528, 44.573441859314016]),
{
"class": 0,
"system:index": "0"
}),
ee.Feature(
ee.Geometry.Point([9.427705541156865, 44.58422671008443]),
{
"class": 0,
"system:index": "1"
}),
ee.Feature(
ee.Geometry.Point([9.400411382221318, 44.59498464279749]),
{
"class": 0,
"system:index": "2"
}),
ee.Feature(
ee.Geometry.Point([9.427190557026005, 44.600607315157376]),
{
"class": 0,
"system:index": "3"
}),
ee.Feature(
ee.Geometry.Point([9.427018895649052, 44.571877083168374]),
{
"class": 0,
"system:index": "4"
}),
ee.Feature(
ee.Geometry.Point([9.352346196674443, 44.56062563530188]),
{
"class": 0,
"system:index": "5"
}),
ee.Feature(
ee.Geometry.Point([9.584676704909665, 44.528474349106816]),
{
"class": 0,
"system:index": "6"
}),
ee.Feature(
ee.Geometry.Point([9.568368874099118, 44.53899788426392]),
{
"class": 0,
"system:index": "7"
}),
ee.Feature(
ee.Geometry.Point([9.557210884597165, 44.534470549891495]),
{
"class": 0,
"system:index": "8"
}),
ee.Feature(
ee.Geometry.Point([9.563219032790524, 44.508523361153955]),
{
"class": 0,
"system:index": "9"
}),
ee.Feature(
ee.Geometry.Point([9.652654610183102, 44.530799479832886]),
{
"class": 0,
"system:index": "10"
}),
ee.Feature(
ee.Geometry.Point([9.691499968871002, 44.50146601530913]),
{
"class": 0,
"system:index": "11"
}),
ee.Feature(
ee.Geometry.Point([9.67055728088272, 44.502567915176314]),
{
"class": 0,
"system:index": "12"
}),
ee.Feature(
ee.Geometry.Point([9.668154021605377, 44.4990172743743]),
{
"class": 0,
"system:index": "13"
}),
ee.Feature(
ee.Geometry.Point([9.668154021605377, 44.48285300484169]),
{
"class": 0,
"system:index": "14"
}),
ee.Feature(
ee.Geometry.Point([9.65733935485733, 44.482118158872886]),
{
"class": 0,
"system:index": "15"
}),
ee.Feature(
ee.Geometry.Point([9.605325957640533, 44.49448683251806]),
{
"class": 0,
"system:index": "16"
}),
ee.Feature(
ee.Geometry.Point([9.592108031615142, 44.47342177876237]),
{
"class": 0,
"system:index": "17"
}),
ee.Feature(
ee.Geometry.Point([9.69252993713272, 44.47084936162859]),
{
"class": 0,
"system:index": "18"
}),
ee.Feature(
ee.Geometry.Point([9.738535186156158, 44.48922128217961]),
{
"class": 0,
"system:index": "19"
}),
ee.Feature(
ee.Geometry.Point([9.80740370242143, 44.44605496001787]),
{
"class": 0,
"system:index": "20"
}),
ee.Feature(
ee.Geometry.Point([9.759338516874555, 44.4477706457772]),
{
"class": 0,
"system:index": "21"
}),
ee.Feature(
ee.Geometry.Point([9.753158707304243, 44.45120186611758]),
{
"class": 0,
"system:index": "22"
}),
ee.Feature(
ee.Geometry.Point([10.622735604942841, 44.17490267165223]),
{
"class": 0,
"system:index": "23"
}),
ee.Feature(
ee.Geometry.Point([10.514245614708466, 44.1906597047536]),
{
"class": 0,
"system:index": "24"
}),
ee.Feature(
ee.Geometry.Point([10.042922670006837, 44.30621875527554]),
{
"class": 0,
"system:index": "25"
}),
ee.Feature(
ee.Geometry.Point([10.043609315514649, 44.2880350593344]),
{
"class": 0,
"system:index": "26"
}),
ee.Feature(
ee.Geometry.Point([10.068328553795899, 44.27181241762688]),
{
"class": 0,
"system:index": "27"
}),
ee.Feature(
ee.Geometry.Point([10.114333802819337, 44.28017009547173]),
{
"class": 0,
"system:index": "28"
}),
ee.Feature(
ee.Geometry.Point([10.109527284264649, 44.29393309121647]),
{
"class": 0,
"system:index": "29"
}),
ee.Feature(
ee.Geometry.Point([10.090301210045899, 44.32439682017676]),
{
"class": 0,
"system:index": "30"
}),
ee.Feature(
ee.Geometry.Point([9.887397462487305, 44.283119580315365]),
{
"class": 0,
"system:index": "31"
}),
ee.Feature(
ee.Geometry.Point([9.849975282311524, 44.30277902847262]),
{
"class": 0,
"system:index": "32"
}),
ee.Feature(
ee.Geometry.Point([9.868171388268555, 44.26812482891884]),
{
"class": 0,
"system:index": "33"
}),
ee.Feature(
ee.Geometry.Point([9.920699769616212, 44.233696177590424]),
{
"class": 0,
"system:index": "34"
}),
ee.Feature(
ee.Geometry.Point([9.974944764733399, 44.26738728341367]),
{
"class": 0,
"system:index": "35"
}),
ee.Feature(
ee.Geometry.Point([9.980437928795899, 44.27549977497149]),
{
"class": 0,
"system:index": "36"
}),
ee.Feature(
ee.Geometry.Point([9.955375367760743, 44.32439682017676]),
{
"class": 0,
"system:index": "37"
}),
ee.Feature(
ee.Geometry.Point([9.418427521884842, 44.38209136110383]),
{
"class": 0,
"system:index": "38"
}),
ee.Feature(
ee.Geometry.Point([9.411904389560624, 44.37767453815662]),
{
"class": 0,
"system:index": "39"
}),
ee.Feature(
ee.Geometry.Point([9.40126138418953, 44.37522060365833]),
{
"class": 0,
"system:index": "40"
}),
ee.Feature(
ee.Geometry.Point([9.386841828525467, 44.3720303350693]),
{
"class": 0,
"system:index": "41"
}),
ee.Feature(
ee.Geometry.Point([9.374825532138749, 44.375711398784944]),
{
"class": 0,
"system:index": "42"
}),
ee.Feature(
ee.Geometry.Point([9.407441193759842, 44.36577199572992]),
{
"class": 0,
"system:index": "43"
}),
ee.Feature(
ee.Geometry.Point([9.419800812900467, 44.378410698452875]),
{
"class": 0,
"system:index": "44"
}),
ee.Feature(
ee.Geometry.Point([9.402634675205155, 44.39190533029205]),
{
"class": 0,
"system:index": "45"
}),
ee.Feature(
ee.Geometry.Point([9.430787141025467, 44.39607576894639]),
{
"class": 0,
"system:index": "46"
}),
ee.Feature(
ee.Geometry.Point([9.456364686191483, 44.40110443203785]),
{
"class": 0,
"system:index": "47"
}),
ee.Feature(
ee.Geometry.Point([9.491555268466874, 44.40147236602735]),
{
"class": 0,
"system:index": "48"
}),
ee.Feature(
ee.Geometry.Point([9.52760415762703, 44.39656638924877]),
{
"class": 0,
"system:index": "49"
}),
ee.Feature(
ee.Geometry.Point([9.518334443271561, 44.375711398784944]),
{
"class": 0,
"system:index": "50"
}),
ee.Feature(
ee.Geometry.Point([9.54408364981453, 44.376447583762115]),
{
"class": 0,
"system:index": "51"
}),
ee.Feature(
ee.Geometry.Point([9.362465912998124, 44.38515840322767]),
{
"class": 0,
"system:index": "52"
}),
ee.Feature(
ee.Geometry.Point([9.150727904135598, 44.58657203242108]),
{
"class": 0,
"system:index": "53"
}),
ee.Feature(
ee.Geometry.Point([9.069360411459817, 44.593906906576656]),
{
"class": 0,
"system:index": "54"
}),
ee.Feature(
ee.Geometry.Point([9.087556517416848, 44.55966957437203]),
{
"class": 0,
"system:index": "55"
}),
ee.Feature(
ee.Geometry.Point([8.995546019369973, 44.57874714637613]),
{
"class": 0,
"system:index": "56"
}),
ee.Feature(
ee.Geometry.Point([8.969453490073098, 44.600751953971006]),
{
"class": 0,
"system:index": "57"
}),
ee.Feature(
ee.Geometry.Point([9.07004705696763, 44.54988377686661]),
{
"class": 0,
"system:index": "58"
}),
ee.Feature(
ee.Geometry.Point([9.08549658089341, 44.524188229078355]),
{
"class": 0,
"system:index": "59"
}),
ee.Feature(
ee.Geometry.Point([9.123262083823098, 44.53250993354593]),
{
"class": 0,
"system:index": "60"
}),
ee.Feature(
ee.Geometry.Point([9.12669531136216, 44.52125087305466]),
{
"class": 0,
"system:index": "61"
}),
ee.Feature(
ee.Geometry.Point([9.101289427573098, 44.5117034431649]),
{
"class": 0,
"system:index": "62"
}),
ee.Feature(
ee.Geometry.Point([9.001725828940286, 44.52002693100144]),
{
"class": 0,
"system:index": "63"
}),
ee.Feature(
ee.Geometry.Point([9.048761046225442, 44.579480774182784]),
{
"class": 0,
"system:index": "64"
}),
ee.Feature(
ee.Geometry.Point([9.097856200034036, 44.58119253640071]),
{
"class": 0,
"system:index": "65"
}),
ee.Feature(
ee.Geometry.Point([9.232438719565286, 44.577279862993244]),
{
"class": 0,
"system:index": "66"
}),
ee.Feature(
ee.Geometry.Point([9.25303808479966, 44.592195518735345]),
{
"class": 0,
"system:index": "67"
}),
ee.Feature(
ee.Geometry.Point([10.930848996624745, 44.05820855928862]),
{
"class": 0,
"system:index": "68"
}),
ee.Feature(
ee.Geometry.Point([10.961061398968495, 44.034518385008376]),
{
"class": 0,
"system:index": "69"
}),
ee.Feature(
ee.Geometry.Point([10.950075070843495, 44.10753265821489]),
{
"class": 0,
"system:index": "70"
}),
ee.Feature(
ee.Geometry.Point([10.88278381107787, 44.1233076844616]),
{
"class": 0,
"system:index": "71"
}),
ee.Feature(
ee.Geometry.Point([10.72348205326537, 44.02069474136502]),
{
"class": 0,
"system:index": "72"
}),
ee.Feature(
ee.Geometry.Point([10.669923703655995, 43.99995323119841]),
{
"class": 0,
"system:index": "73"
}),
ee.Feature(
ee.Geometry.Point([10.64383117435912, 43.97821625026472]),
{
"class": 0,
"system:index": "74"
}),
ee.Feature(
ee.Geometry.Point([10.737204832742563, 45.20169532981405]),
{
"class": 0,
"system:index": "75"
}),
ee.Feature(
ee.Geometry.Point([10.736861509988657, 45.19903426034426]),
{
"class": 0,
"system:index": "76"
}),
ee.Feature(
ee.Geometry.Point([10.74029473752772, 45.1974012697325]),
{
"class": 0,
"system:index": "77"
}),
ee.Feature(
ee.Geometry.Point([10.742955488870493, 45.196614998278925]),
{
"class": 0,
"system:index": "78"
}),
ee.Feature(
ee.Geometry.Point([10.746560377786508, 45.196191616842306]),
{
"class": 0,
"system:index": "79"
}),
ee.Feature(
ee.Geometry.Point([10.749221129129282, 45.199094740578026]),
{
"class": 0,
"system:index": "80"
}),
ee.Feature(
ee.Geometry.Point([10.751109404275766, 45.20242105443272]),
{
"class": 0,
"system:index": "81"
}),
ee.Feature(
ee.Geometry.Point([10.752053541849008, 45.20441674940112]),
{
"class": 0,
"system:index": "82"
}),
ee.Feature(
ee.Geometry.Point([10.740638060281626, 45.207017095376]),
{
"class": 0,
"system:index": "83"
}),
ee.Feature(
ee.Geometry.Point([10.738063139627329, 45.20508196549987]),
{
"class": 0,
"system:index": "84"
}),
ee.Feature(
ee.Geometry.Point([10.74029473752772, 45.20302581787672]),
{
"class": 0,
"system:index": "85"
}),
ee.Feature(
ee.Geometry.Point([10.73454408139979, 45.20133246403324]),
{
"class": 0,
"system:index": "86"
}),
ee.Feature(
ee.Geometry.Point([10.728624023302768, 43.74014883100581]),
{
"class": 0,
"system:index": "87"
}),
ee.Feature(
ee.Geometry.Point([10.738923705919955, 43.73717221940949]),
{
"class": 0,
"system:index": "88"
}),
ee.Feature(
ee.Geometry.Point([10.716951049669955, 43.731714713822]),
{
"class": 0,
"system:index": "89"
}),
ee.Feature(
ee.Geometry.Point([10.732743896349643, 43.75478168565866]),
{
"class": 0,
"system:index": "90"
}),
ee.Feature(
ee.Geometry.Point([10.768106140001986, 43.776352419327765]),
{
"class": 0,
"system:index": "91"
}),
ee.Feature(
ee.Geometry.Point([10.77600256334183, 43.670656005581066]),
{
"class": 0,
"system:index": "92"
}),
ee.Feature(
ee.Geometry.Point([10.573442138537143, 43.74436544412549]),
{
"class": 0,
"system:index": "93"
}),
ee.Feature(
ee.Geometry.Point([10.560395873888705, 43.74758971259468]),
{
"class": 0,
"system:index": "94"
}),
ee.Feature(
ee.Geometry.Point([10.555246032580111, 43.76767547313776]),
{
"class": 0,
"system:index": "95"
}),
ee.Feature(
ee.Geometry.Point([10.53430334459183, 43.77065056793546]),
{
"class": 0,
"system:index": "96"
}),
ee.Feature(
ee.Geometry.Point([10.642793334826205, 43.68555410716658]),
{
"class": 0,
"system:index": "97"
}),
ee.Feature(
ee.Geometry.Point([10.717637695177768, 43.72501618629434]),
{
"class": 0,
"system:index": "98"
}),
ee.Feature(
ee.Geometry.Point([10.735147155626986, 43.7535417519611]),
{
"class": 0,
"system:index": "99"
})]),
developed =
# shown: False #
ee.FeatureCollection(
[ee.Feature(
ee.Geometry.Point([9.19467878610836, 45.46435783697627]),
{
"class": 1,
"system:index": "0"
}),
ee.Feature(
ee.Geometry.Point([9.203090193579063, 45.464899612733554]),
{
"class": 1,
"system:index": "1"
}),
ee.Feature(
ee.Geometry.Point([9.204463484594688, 45.462852876998106]),
{
"class": 1,
"system:index": "2"
}),
ee.Feature(
ee.Geometry.Point([9.180087569067345, 45.458879589622896]),
{
"class": 1,
"system:index": "3"
}),
ee.Feature(
ee.Geometry.Point([9.18068838388668, 45.45641119434588]),
{
"class": 1,
"system:index": "4"
}),
ee.Feature(
ee.Geometry.Point([9.167642119238243, 45.455267267211944]),
{
"class": 1,
"system:index": "5"
}),
ee.Feature(
ee.Geometry.Point([9.165668013403282, 45.45340080996563]),
{
"class": 1,
"system:index": "6"
}),
ee.Feature(
ee.Geometry.Point([9.167556288549767, 45.45135365679475]),
{
"class": 1,
"system:index": "7"
}),
ee.Feature(
ee.Geometry.Point([9.167813780615196, 45.46297327527481]),
{
"class": 1,
"system:index": "8"
}),
ee.Feature(
ee.Geometry.Point([9.176911833593712, 45.46706666369604]),
{
"class": 1,
"system:index": "9"
}),
ee.Feature(
ee.Geometry.Point([9.223853948611414, 45.47248322583851]),
{
"class": 1,
"system:index": "10"
}),
ee.Feature(
ee.Geometry.Point([9.242822530764734, 45.47537221988128]),
{
"class": 1,
"system:index": "11"
}),
ee.Feature(
ee.Geometry.Point([9.211236837405359, 45.47729813363197]),
{
"class": 1,
"system:index": "12"
}),
ee.Feature(
ee.Geometry.Point([9.203597906130945, 45.47669629265562]),
{
"class": 1,
"system:index": "13"
}),
ee.Feature(
ee.Geometry.Point([9.154784524052499, 45.18401973624338]),
{
"class": 1,
"system:index": "14"
}),
ee.Feature(
ee.Geometry.Point([9.158217751591561, 45.185713605296485]),
{
"class": 1,
"system:index": "15"
}),
ee.Feature(
ee.Geometry.Point([9.156057754172835, 45.18958733293765]),
{
"class": 1,
"system:index": "16"
}),
ee.Feature(
ee.Geometry.Point([9.160520949973616, 45.19122054778279]),
{
"class": 1,
"system:index": "17"
}),
ee.Feature(
ee.Geometry.Point([9.158289352073226, 45.19599894427136]),
{
"class": 1,
"system:index": "18"
}),
ee.Feature(
ee.Geometry.Point([9.144728103293929, 45.194063439607106]),
{
"class": 1,
"system:index": "19"
}),
ee.Feature(
ee.Geometry.Point([9.145843902244124, 45.192914202565674]),
{
"class": 1,
"system:index": "20"
}),
ee.Feature(
ee.Geometry.Point([9.138548293723616, 45.19019223278913]),
{
"class": 1,
"system:index": "21"
}),
ee.Feature(
ee.Geometry.Point([9.144470611228499, 45.17924255060339]),
{
"class": 1,
"system:index": "22"
}),
ee.Feature(
ee.Geometry.Point([9.180176177634749, 45.18347748407685]),
{
"class": 1,
"system:index": "23"
}),
ee.Feature(
ee.Geometry.Point([9.177257934226546, 45.18626026884151]),
{
"class": 1,
"system:index": "24"
}),
ee.Feature(
ee.Geometry.Point([10.78698889146683, 43.71211320778847]),
{
"class": 1,
"system:index": "25"
}),
ee.Feature(
ee.Geometry.Point([10.789392150744174, 43.71285768592188]),
{
"class": 1,
"system:index": "26"
}),
ee.Feature(
ee.Geometry.Point([10.809304870470736, 43.72625671087301]),
{
"class": 1,
"system:index": "27"
}),
ee.Feature(
ee.Geometry.Point([10.839517272814486, 43.69486354220674]),
{
"class": 1,
"system:index": "28"
}),
ee.Feature(
ee.Geometry.Point([10.848100341662143, 43.692877650647986]),
{
"class": 1,
"system:index": "29"
}),
ee.Feature(
ee.Geometry.Point([10.801408447130893, 43.68816089463136]),
{
"class": 1,
"system:index": "30"
}),
ee.Feature(
ee.Geometry.Point([10.792825378283236, 43.68580237752021]),
{
"class": 1,
"system:index": "31"
}),
ee.Feature(
ee.Geometry.Point([10.793855346544955, 43.681705785290106]),
{
"class": 1,
"system:index": "32"
}),
ee.Feature(
ee.Geometry.Point([10.744760192736361, 43.69945566455851]),
{
"class": 1,
"system:index": "33"
}),
ee.Feature(
ee.Geometry.Point([10.757978118761752, 43.708142501552466]),
{
"class": 1,
"system:index": "34"
}),
ee.Feature(
ee.Geometry.Point([10.752313293322299, 43.711368720406874]),
{
"class": 1,
"system:index": "35"
}),
ee.Feature(
ee.Geometry.Point([10.747335113390658, 43.71633179492939]),
{
"class": 1,
"system:index": "36"
}),
ee.Feature(
ee.Geometry.Point([10.756433166369174, 43.72414780380379]),
{
"class": 1,
"system:index": "37"
}),
ee.Feature(
ee.Geometry.Point([10.75729147325394, 43.722659118819244]),
{
"class": 1,
"system:index": "38"
}),
ee.Feature(
ee.Geometry.Point([10.782697357043002, 43.73121855228781]),
{
"class": 1,
"system:index": "39"
}),
ee.Feature(
ee.Geometry.Point([10.101396448196057, 44.02806798391265]),
{
"class": 1,
"system:index": "40"
}),
ee.Feature(
ee.Geometry.Point([10.142938501418714, 44.03831132632035]),
{
"class": 1,
"system:index": "41"
}),
ee.Feature(
ee.Geometry.Point([10.131265527785901, 44.04386420551437]),
{
"class": 1,
"system:index": "42"
}),
ee.Feature(
ee.Geometry.Point([10.073930627883557, 44.03954534445121]),
{
"class": 1,
"system:index": "43"
}),
ee.Feature(
ee.Geometry.Point([10.059682733596448, 44.049169803814]),
{
"class": 1,
"system:index": "44"
}),
ee.Feature(
ee.Geometry.Point([10.034448511184339, 44.04028574299332]),
{
"class": 1,
"system:index": "45"
}),
ee.Feature(
ee.Geometry.Point([10.028955347121839, 44.04818275173984]),
{
"class": 1,
"system:index": "46"
}),
ee.Feature(
ee.Geometry.Point([10.109121210158948, 44.01374902094095]),
{
"class": 1,
"system:index": "47"
}),
ee.Feature(
ee.Geometry.Point([10.103628046096448, 44.01103296542014]),
{
"class": 1,
"system:index": "48"
}),
ee.Feature(
ee.Geometry.Point([10.090238458694104, 44.022143315216184]),
{
"class": 1,
"system:index": "49"
}),
ee.Feature(
ee.Geometry.Point([10.080797082961682, 44.04386420551437]),
{
"class": 1,
"system:index": "50"
}),
ee.Feature(
ee.Geometry.Point([10.064832574905042, 44.03497934899128]),
{
"class": 1,
"system:index": "51"
}),
ee.Feature(
ee.Geometry.Point([10.329484511360473, 44.80057754997864]),
{
"class": 1,
"system:index": "52"
}),
ee.Feature(
ee.Geometry.Point([10.337380934700317, 44.79485244645107]),
{
"class": 1,
"system:index": "53"
}),
ee.Feature(
ee.Geometry.Point([10.330514479622192, 44.79911587541933]),
{
"class": 1,
"system:index": "54"
}),
ee.Feature(
ee.Geometry.Point([10.317296553596801, 44.802160988964836]),
{
"class": 1,
"system:index": "55"
}),
ee.Feature(
ee.Geometry.Point([10.318498183235473, 44.79984671732763]),
{
"class": 1,
"system:index": "56"
}),
ee.Feature(
ee.Geometry.Point([10.300988722786254, 44.80313539135592]),
{
"class": 1,
"system:index": "57"
}),
ee.Feature(
ee.Geometry.Point([10.357636977180785, 44.808616098157394]),
{
"class": 1,
"system:index": "58"
}),
ee.Feature(
ee.Geometry.Point([10.35351710413391, 44.79034505045052]),
{
"class": 1,
"system:index": "59"
}),
ee.Feature(
ee.Geometry.Point([10.34408578523026, 44.79250875336787]),
{
"class": 1,
"system:index": "60"
}),
ee.Feature(
ee.Geometry.Point([10.335202308972935, 44.79025500784725]),
{
"class": 1,
"system:index": "61"
}),
ee.Feature(
ee.Geometry.Point([10.337519737561802, 44.78663055684301]),
{
"class": 1,
"system:index": "62"
}),
ee.Feature(
ee.Geometry.Point([10.326662155469517, 44.791625539258725]),
{
"class": 1,
"system:index": "63"
}),
ee.Feature(
ee.Geometry.Point([9.68779982182756, 45.05295255153792]),
{
"class": 1,
"system:index": "64"
}),
ee.Feature(
ee.Geometry.Point([9.693636308643967, 45.05076963745494]),
{
"class": 1,
"system:index": "65"
}),
ee.Feature(
ee.Geometry.Point([9.700502763722092, 45.04907175778813]),
{
"class": 1,
"system:index": "66"
}),
ee.Feature(
ee.Geometry.Point([9.764360795948654, 45.02845062567073]),
{
"class": 1,
"system:index": "67"
}),
ee.Feature(
ee.Geometry.Point([9.738954912159592, 45.04446297319648]),
{
"class": 1,
"system:index": "68"
}),
ee.Feature(
ee.Geometry.Point([9.731401811573654, 45.05125473667368]),
{
"class": 1,
"system:index": "69"
}),
ee.Feature(
ee.Geometry.Point([9.734835039112717, 45.03378857269489]),
{
"class": 1,
"system:index": "70"
}),
ee.Feature(
ee.Geometry.Point([9.695696245167404, 45.041066789045686]),
{
"class": 1,
"system:index": "71"
}),
ee.Feature(
ee.Geometry.Point([9.670977006886154, 45.04397781637543]),
{
"class": 1,
"system:index": "72"
}),
ee.Feature(
ee.Geometry.Point([9.71002997014299, 45.03529497150581]),
{
"class": 1,
"system:index": "73"
}),
ee.Feature(
ee.Geometry.Point([9.699472795460373, 45.0422091170089]),
{
"class": 1,
"system:index": "74"
}),
ee.Feature(
ee.Geometry.Point([9.730543504688889, 45.04396784528239]),
{
"class": 1,
"system:index": "75"
}),
ee.Feature(
ee.Geometry.Point([9.727453599903733, 45.044028490120596]),
{
"class": 1,
"system:index": "76"
}),
ee.Feature(
ee.Geometry.Point([9.728741060230881, 45.04912242702095]),
{
"class": 1,
"system:index": "77"
}),
ee.Feature(
ee.Geometry.Point([9.673637758228928, 45.042936873196716]),
{
"class": 1,
"system:index": "78"
}),
ee.Feature(
ee.Geometry.Point([9.68007505986467, 45.03772108261854]),
{
"class": 1,
"system:index": "79"
}),
ee.Feature(
ee.Geometry.Point([9.681019197437912, 45.036811303005315]),
{
"class": 1,
"system:index": "80"
}),
ee.Feature(
ee.Geometry.Point([9.693378816578537, 45.03420318794656]),
{
"class": 1,
"system:index": "81"
}),
ee.Feature(
ee.Geometry.Point([9.695953737232834, 45.03311138355789]),
{
"class": 1,
"system:index": "82"
}),
ee.Feature(
ee.Geometry.Point([10.928861454431917, 44.645179237899704]),
{
"class": 1,
"system:index": "83"
}),
ee.Feature(
ee.Geometry.Point([10.926114872400667, 44.645179237899704]),
{
"class": 1,
"system:index": "84"
}),
ee.Feature(
ee.Geometry.Point([10.922509983484652, 44.64652267753729]),
{
"class": 1,
"system:index": "85"
}),
ee.Feature(
ee.Geometry.Point([10.931264713709261, 44.63724009583039]),
{
"class": 1,
"system:index": "86"
}),
ee.Feature(
ee.Geometry.Point([10.950061634485628, 44.6343084456789]),
{
"class": 1,
"system:index": "87"
}),
ee.Feature(
ee.Geometry.Point([10.953924015467074, 44.63797298522629]),
{
"class": 1,
"system:index": "88"
}),
ee.Feature(
ee.Geometry.Point([10.922424152796175, 44.631376647419025]),
{
"class": 1,
"system:index": "89"
}),
ee.Feature(
ee.Geometry.Point([10.923110798303988, 44.63308688106989]),
{
"class": 1,
"system:index": "90"
}),
ee.Feature(
ee.Geometry.Point([10.91255362362137, 44.64383576714894]),
{
"class": 1,
"system:index": "91"
}),
ee.Feature(
ee.Geometry.Point([10.908347919886019, 44.64481283987146]),
{
"class": 1,
"system:index": "92"
}),
ee.Feature(
ee.Geometry.Point([10.900108173792269, 44.647621832280535]),
{
"class": 1,
"system:index": "93"
}),
ee.Feature(
ee.Geometry.Point([10.909463718836214, 44.63724009583039]),
{
"class": 1,
"system:index": "94"
}),
ee.Feature(
ee.Geometry.Point([10.93504126400223, 44.626978672326416]),
{
"class": 1,
"system:index": "95"
}),
ee.Feature(
ee.Geometry.Point([10.982591465418245, 44.63711794669777]),
{
"class": 1,
"system:index": "96"
}),
ee.Feature(
ee.Geometry.Point([10.988256290857699, 44.63479706432279]),
{
"class": 1,
"system:index": "97"
}),
ee.Feature(
ee.Geometry.Point([10.992290333216097, 44.63290364416077]),
{
"class": 1,
"system:index": "98"
}),
ee.Feature(
ee.Geometry.Point([10.992548194323003, 44.632782655700204]),
{
"class": 1,
"system:index": "99"
})]),
water =
# shown: False #
ee.FeatureCollection(
[ee.Feature(
ee.Geometry.Point([9.980378415331183, 43.953687197631126]),
{
"class": 2,
"system:index": "0"
}),
ee.Feature(
ee.Geometry.Point([9.735932614549933, 44.00704943549187]),
{
"class": 2,
"system:index": "1"
}),
ee.Feature(
ee.Geometry.Point([9.461274411424933, 44.12546046543348]),
{
"class": 2,
"system:index": "2"
}),
ee.Feature(
ee.Geometry.Point([9.282746579393683, 44.235763707116455]),
{
"class": 2,
"system:index": "3"
}),
ee.Feature(
ee.Geometry.Point([10.068269040331183, 43.94775509959863]),
{
"class": 2,
"system:index": "4"
}),
ee.Feature(
ee.Geometry.Point([10.202851559862433, 43.765549960385265]),
{
"class": 2,
"system:index": "5"
}),
ee.Feature(
ee.Geometry.Point([10.178132321581183, 43.72785127863614]),
{
"class": 2,
"system:index": "6"
}),
ee.Feature(
ee.Geometry.Point([10.213837887987433, 43.6821842672651]),
{
"class": 2,
"system:index": "7"
}),
ee.Feature(
ee.Geometry.Point([10.065522458299933, 43.72586647981521]),
{
"class": 2,
"system:index": "8"
}),
ee.Feature(
ee.Geometry.Point([9.941926266893683, 43.894339574154564]),
{
"class": 2,
"system:index": "9"
}),
ee.Feature(
ee.Geometry.Point([9.88486387395865, 45.077069068166345]),
{
"class": 2,
"system:index": "10"
}),
ee.Feature(
ee.Geometry.Point([9.848471662044588, 45.09864207259974]),
{
"class": 2,
"system:index": "11"
}),
ee.Feature(
ee.Geometry.Point([9.81448270940787, 45.0773115067334]),
{
"class": 2,
"system:index": "12"
}),
ee.Feature(
ee.Geometry.Point([9.828902265071932, 45.06179336476103]),
{
"class": 2,
"system:index": "13"
}),
ee.Feature(
ee.Geometry.Point([9.95455839300162, 45.11657297387295]),
{
"class": 2,
"system:index": "14"
}),
ee.Feature(
ee.Geometry.Point([10.002623578548494, 45.115603879971225]),
{
"class": 2,
"system:index": "15"
}),
ee.Feature(
ee.Geometry.Point([10.02322294378287, 45.10276183206325]),
{
"class": 2,
"system:index": "16"
}),
ee.Feature(
ee.Geometry.Point([10.043822309017244, 45.07149269722714]),
{
"class": 2,
"system:index": "17"
}),
ee.Feature(
ee.Geometry.Point([10.248517220628196, 45.02613418018433]),
{
"class": 2,
"system:index": "18"
}),
ee.Feature(
ee.Geometry.Point([10.263280099046165, 45.01836869065415]),
{
"class": 2,
"system:index": "19"
}),
ee.Feature(
ee.Geometry.Point([10.280102913987571, 45.006475743526394]),
{
"class": 2,
"system:index": "20"
}),
ee.Feature(
ee.Geometry.Point([10.265340035569603, 45.03802304474337]),
{
"class": 2,
"system:index": "21"
}),
ee.Feature(
ee.Geometry.Point([10.220021432053978, 45.023222245044195]),
{
"class": 2,
"system:index": "22"
}),
ee.Feature(
ee.Geometry.Point([10.182599251878196, 45.04069163407949]),
{
"class": 2,
"system:index": "23"
}),
ee.Feature(
ee.Geometry.Point([10.156163399827415, 45.03292811948761]),
{
"class": 2,
"system:index": "24"
}),
ee.Feature(
ee.Geometry.Point([10.98911496678394, 44.644081206444866]),
{
"class": 2,
"system:index": "25"
}),
ee.Feature(
ee.Geometry.Point([10.988943305406988, 44.64285984756699]),
{
"class": 2,
"system:index": "26"
}),
ee.Feature(
ee.Geometry.Point([10.987484183702886, 44.641821672303635]),
{
"class": 2,
"system:index": "27"
}),
ee.Feature(
ee.Geometry.Point([10.987741675768316, 44.63919561665319]),
{
"class": 2,
"system:index": "28"
}),
ee.Feature(
ee.Geometry.Point([10.990659919176519, 44.63748556302968]),
{
"class": 2,
"system:index": "29"
}),
ee.Feature(
ee.Geometry.Point([10.984823432360113, 44.62844587093865]),
{
"class": 2,
"system:index": "30"
}),
ee.Feature(
ee.Geometry.Point([10.990316596422613, 44.626857671514365]),
{
"class": 2,
"system:index": "31"
}),
ee.Feature(
ee.Geometry.Point([11.026050685338417, 45.051974176463936]),
{
"class": 2,
"system:index": "32"
}),
ee.Feature(
ee.Geometry.Point([11.063816188268104, 45.04372703391621]),
{
"class": 2,
"system:index": "33"
}),
ee.Feature(
ee.Geometry.Point([11.12286770193998, 45.068464894331655]),
{
"class": 2,
"system:index": "34"
}),
ee.Feature(
ee.Geometry.Point([11.19427883475248, 45.05779497293618]),
{
"class": 2,
"system:index": "35"
}),
ee.Feature(
ee.Geometry.Point([11.260883449010292, 45.05585477327662]),
{
"class": 2,
"system:index": "36"
}),
ee.Feature(
ee.Geometry.Point([11.262256740025917, 45.03014091290893]),
{
"class": 2,
"system:index": "37"
}),
ee.Feature(
ee.Geometry.Point([11.321308253697792, 44.99907480907841]),
{
"class": 2,
"system:index": "38"
}),
ee.Feature(
ee.Geometry.Point([11.358387111119667, 44.98402110649786]),
{
"class": 2,
"system:index": "39"
}),
ee.Feature(
ee.Geometry.Point([10.869495509557167, 45.06119016393412]),
{
"class": 2,
"system:index": "40"
}),
ee.Feature(
ee.Geometry.Point([10.805637477330604, 45.04372703391621]),
{
"class": 2,
"system:index": "41"
}),
ee.Feature(
ee.Geometry.Point([10.756885646275917, 45.04566764502083]),
{
"class": 2,
"system:index": "42"
}),
ee.Feature(
ee.Geometry.Point([11.184665797643104, 45.21328137697889]),
{
"class": 2,
"system:index": "43"
}),
ee.Feature(
ee.Geometry.Point([11.014377711705604, 45.22392224246559]),
{
"class": 2,
"system:index": "44"
}),
ee.Feature(
ee.Geometry.Point([10.656680360814072, 44.9558559658398]),
{
"class": 2,
"system:index": "45"
}),
ee.Feature(
ee.Geometry.Point([10.636424318333603, 44.94249200515986]),
{
"class": 2,
"system:index": "46"
}),
ee.Feature(
ee.Geometry.Point([10.62749792673204, 44.926208067303]),
{
"class": 2,
"system:index": "47"
}),
ee.Feature(
ee.Geometry.Point([10.537547365208603, 44.912350932821255]),
{
"class": 2,
"system:index": "48"
}),
ee.Feature(
ee.Geometry.Point([10.50218512155626, 44.921103196045436]),
{
"class": 2,
"system:index": "49"
}),
ee.Feature(
ee.Geometry.Point([10.428370729466415, 44.96071481644557]),
{
"class": 2,
"system:index": "50"
}),
ee.Feature(
ee.Geometry.Point([10.405711427708603, 44.98718832057907]),
{
"class": 2,
"system:index": "51"
}),
ee.Feature(
ee.Geometry.Point([10.380992189427353, 44.9789318417816]),
{
"class": 2,
"system:index": "52"
}),
ee.Feature(
ee.Geometry.Point([10.475062623997665, 44.93568733902074]),
{
"class": 2,
"system:index": "53"
}),
ee.Feature(
ee.Geometry.Point([9.464568669294943, 45.424644452593405]),
{
"class": 2,
"system:index": "54"
}),
ee.Feature(
ee.Geometry.Point([9.458217198347677, 45.41536673223165]),
{
"class": 2,
"system:index": "55"
}),
ee.Feature(
ee.Geometry.Point([9.463710362410177, 45.407172153109734]),
{
"class": 2,
"system:index": "56"
}),
ee.Feature(
ee.Geometry.Point([9.459933812117209, 45.39584239478833]),
{
"class": 2,
"system:index": "57"
}),
ee.Feature(
ee.Geometry.Point([9.46439700791799, 45.3902972170168]),
{
"class": 2,
"system:index": "58"
}),
ee.Feature(
ee.Geometry.Point([9.454783970808615, 45.4118721306585]),
{
"class": 2,
"system:index": "59"
}),
ee.Feature(
ee.Geometry.Point([9.481048161482443, 45.43584797837749]),
{
"class": 2,
"system:index": "60"
}),
ee.Feature(
ee.Geometry.Point([9.469203526472677, 45.43102953016216]),
{
"class": 2,
"system:index": "61"
}),
ee.Feature(
ee.Geometry.Point([9.283229596846958, 45.48773969818685]),
{
"class": 2,
"system:index": "62"
}),
ee.Feature(
ee.Geometry.Point([9.27842307829227, 45.48846176503586]),
{
"class": 2,
"system:index": "63"
}),
ee.Feature(
ee.Geometry.Point([9.27842307829227, 45.50602920541026]),
{
"class": 2,
"system:index": "64"
}),
ee.Feature(
ee.Geometry.Point([9.274646527999302, 45.41596826492388]),
{
"class": 2,
"system:index": "65"
}),
ee.Feature(
ee.Geometry.Point([9.041187055343052, 45.219455970317355]),
{
"class": 2,
"system:index": "66"
}),
ee.Feature(
ee.Geometry.Point([9.058009870284458, 45.21897229982002]),
{
"class": 2,
"system:index": "67"
}),
ee.Feature(
ee.Geometry.Point([9.077579267257114, 45.20228314814136]),
{
"class": 2,
"system:index": "68"
}),
ee.Feature(
ee.Geometry.Point([9.085475690596958, 45.196235145464364]),
{
"class": 2,
"system:index": "69"
}),
ee.Feature(
ee.Geometry.Point([9.175769574874302, 45.16792194842297]),
{
"class": 2,
"system:index": "70"
}),
ee.Feature(
ee.Geometry.Point([9.20426536344852, 45.16332274987339]),
{
"class": 2,
"system:index": "71"
}),
ee.Feature(
ee.Geometry.Point([9.213878400557896, 45.141774192169606]),
{
"class": 2,
"system:index": "72"
}),
ee.Feature(
ee.Geometry.Point([9.21628165983524, 45.15121782146389]),
{
"class": 2,
"system:index": "73"
}),
ee.Feature(
ee.Geometry.Point([9.222804792159458, 45.14371147444317]),
{
"class": 2,
"system:index": "74"
}),
ee.Feature(
ee.Geometry.Point([9.255763776534458, 45.136446326478705]),
{
"class": 2,
"system:index": "75"
}),
ee.Feature(
ee.Geometry.Point([9.313441999190708, 45.12167100406328]),
{
"class": 2,
"system:index": "76"
}),
ee.Feature(
ee.Geometry.Point([9.151736982100864, 45.12142875377629]),
{
"class": 2,
"system:index": "77"
}),
ee.Feature(
ee.Geometry.Point([9.105045087569614, 45.10374170456197]),
{
"class": 2,
"system:index": "78"
}),
ee.Feature(
ee.Geometry.Point([9.07071281217899, 45.09622910773991]),
{
"class": 2,
"system:index": "79"
}),
ee.Feature(
ee.Geometry.Point([9.38107658171024, 45.10010670050038]),
{
"class": 2,
"system:index": "80"
}),
ee.Feature(
ee.Geometry.Point([9.406482465499302, 45.093078369729355]),
{
"class": 2,
"system:index": "81"
}),
ee.Feature(
ee.Geometry.Point([9.424335248702427, 45.09089698773592]),
{
"class": 2,
"system:index": "82"
}),
ee.Feature(
ee.Geometry.Point([9.399529842312088, 44.059942165310375]),
{
"class": 2,
"system:index": "83"
}),
ee.Feature(
ee.Geometry.Point([8.877679256374588, 44.17036779637155]),
{
"class": 2,
"system:index": "84"
}),
ee.Feature(
ee.Geometry.Point([9.355584529812088, 43.96512739709022]),
{
"class": 2,
"system:index": "85"
}),
ee.Feature(
ee.Geometry.Point([9.064446834499588, 44.22550322825024]),
{
"class": 2,
"system:index": "86"
}),
ee.Feature(
ee.Geometry.Point([9.053460506374588, 44.15460533997702]),
{
"class": 2,
"system:index": "87"
}),
ee.Feature(
ee.Geometry.Point([9.597283748562088, 43.88995820658324]),
{
"class": 2,
"system:index": "88"
}),
ee.Feature(
ee.Geometry.Point([10.204020885402908, 44.67242037723368]),
{
"class": 2,
"system:index": "89"
}),
ee.Feature(
ee.Geometry.Point([10.200415996486893, 44.66991778726374]),
{
"class": 2,
"system:index": "90"
}),
ee.Feature(
ee.Geometry.Point([10.198699382717361, 44.668513848016225]),
{
"class": 2,
"system:index": "91"
}),
ee.Feature(
ee.Geometry.Point([10.195094493801346, 44.666072133544375]),
{
"class": 2,
"system:index": "92"
}),
ee.Feature(
ee.Geometry.Point([10.192862895900955, 44.66472914674318]),
{
"class": 2,
"system:index": "93"
}),
ee.Feature(
ee.Geometry.Point([10.18874302285408, 44.66283670344126]),
{
"class": 2,
"system:index": "94"
}),
ee.Feature(
ee.Geometry.Point([10.185309795315018, 44.66045579992672]),
{
"class": 2,
"system:index": "95"
}),
ee.Feature(
ee.Geometry.Point([10.090552715236893, 44.69024057554722]),
{
"class": 2,
"system:index": "96"
}),
ee.Feature(
ee.Geometry.Point([9.884559062893143, 44.6882879445253]),
{
"class": 2,
"system:index": "97"
}),
ee.Feature(
ee.Geometry.Point([10.091239360744705, 44.687555690920945]),
{
"class": 2,
"system:index": "98"
}),
ee.Feature(
ee.Geometry.Point([10.085917858059158, 44.682429656495245]),
{
"class": 2,
"system:index": "99"
})]),
herbaceous =
# shown: False #
ee.FeatureCollection(
[ee.Feature(
ee.Geometry.Point([9.647866129015439, 45.00732805319811]),
{
"class": 3,
"system:index": "0"
}),
ee.Feature(
ee.Geometry.Point([9.63911139879083, 45.00150212185294]),
{
"class": 3,
"system:index": "1"
}),
ee.Feature(
ee.Geometry.Point([9.63859641465997, 44.995432813342106]),
{
"class": 3,
"system:index": "2"
}),
ee.Feature(
ee.Geometry.Point([9.679108499620908, 44.99688950601573]),
{
"class": 3,
"system:index": "3"
}),
ee.Feature(
ee.Geometry.Point([9.680653452013486, 44.99106251314061]),
{
"class": 3,
"system:index": "4"
}),
ee.Feature(
ee.Geometry.Point([9.616967081163876, 44.98474926892666]),
{
"class": 3,
"system:index": "5"
}),
ee.Feature(
ee.Geometry.Point([9.625550150011533, 44.984627853569535]),
{
"class": 3,
"system:index": "6"
}),
ee.Feature(
ee.Geometry.Point([9.577313303087704, 44.99968139680247]),
{
"class": 3,
"system:index": "7"
}),
ee.Feature(
ee.Geometry.Point([9.682183386109417, 45.11939912570097]),
{
"class": 3,
"system:index": "8"
}),
ee.Feature(
ee.Geometry.Point([9.662270666382854, 45.142166966714186]),
{
"class": 3,
"system:index": "9"
}),
ee.Feature(
ee.Geometry.Point([9.655747534058635, 45.14483069451677]),
{
"class": 3,
"system:index": "10"
}),
ee.Feature(
ee.Geometry.Point([9.602875829957073, 45.13926093989158]),
{
"class": 3,
"system:index": "11"
}),
ee.Feature(
ee.Geometry.Point([9.57849991442973, 45.14265129011751]),
{
"class": 3,
"system:index": "12"
}),
ee.Feature(
ee.Geometry.Point([9.56476700427348, 45.14047180240153]),
{
"class": 3,
"system:index": "13"
}),
ee.Feature(
ee.Geometry.Point([9.55652725817973, 45.11794555067206]),
{
"class": 3,
"system:index": "14"
}),
ee.Feature(
ee.Geometry.Point([9.511208654664104, 45.12666644539884]),
{
"class": 3,
"system:index": "15"
}),
ee.Feature(
ee.Geometry.Point([9.601502538941448, 45.15887374651922]),
{
"class": 3,
"system:index": "16"
}),
ee.Feature(
ee.Geometry.Point([9.770417333863323, 45.15378959281897]),
{
"class": 3,
"system:index": "17"
}),
ee.Feature(
ee.Geometry.Point([9.706286368107783, 45.13319818507588]),
{
"class": 3,
"system:index": "18"
}),
ee.Feature(
ee.Geometry.Point([9.704827246403681, 45.13574123701328]),
{
"class": 3,
"system:index": "19"
}),
ee.Feature(
ee.Geometry.Point([9.699248251652705, 45.13955560228794]),
{
"class": 3,
"system:index": "20"
}),
ee.Feature(
ee.Geometry.Point([9.688776907658564, 45.13598342652142]),
{
"class": 3,
"system:index": "21"
}),
ee.Feature(
ee.Geometry.Point([9.688519415593134, 45.130655019734995]),
{
"class": 3,
"system:index": "22"
}),
ee.Feature(
ee.Geometry.Point([9.653500494694697, 45.13997940490131]),
{
"class": 3,
"system:index": "23"
}),
ee.Feature(
ee.Geometry.Point([9.67341321442126, 45.12260091467352]),
{
"class": 3,
"system:index": "24"
}),
ee.Feature(
ee.Geometry.Point([10.7573680083494, 44.76085711753607]),
{
"class": 3,
"system:index": "25"
}),
ee.Feature(
ee.Geometry.Point([10.787065426562291, 44.77743157501226]),
{
"class": 3,
"system:index": "26"
}),
ee.Feature(
ee.Geometry.Point([10.805604855273229, 44.78193997941965]),
{
"class": 3,
"system:index": "27"
}),
ee.Feature(
ee.Geometry.Point([10.800111691210729, 44.782914723275496]),
{
"class": 3,
"system:index": "28"
}),
ee.Feature(
ee.Geometry.Point([10.801484982226354, 44.78206182330164]),
{
"class": 3,
"system:index": "29"
}),
ee.Feature(
ee.Geometry.Point([10.701234738085729, 44.76743872144162]),
{
"class": 3,
"system:index": "30"
}),
ee.Feature(
ee.Geometry.Point([10.706727902148229, 44.77036363804527]),
{
"class": 3,
"system:index": "31"
}),
ee.Feature(
ee.Geometry.Point([10.716512600634557, 44.77060737440978]),
{
"class": 3,
"system:index": "32"
}),
ee.Feature(
ee.Geometry.Point([10.714281002734166, 44.773775853547704]),
{
"class": 3,
"system:index": "33"
}),
ee.Feature(
ee.Geometry.Point([10.724237362597448, 44.78133075615248]),
{
"class": 3,
"system:index": "34"
}),
ee.Feature(
ee.Geometry.Point([10.686300198290807, 44.778650097404636]),
{
"class": 3,
"system:index": "35"
}),
ee.Feature(
ee.Geometry.Point([10.69797317192362, 44.78474232364748]),
{
"class": 3,
"system:index": "36"
}),
ee.Feature(
ee.Geometry.Point([10.726983944628698, 44.74257095015713]),
{
"class": 3,
"system:index": "37"
}),
ee.Feature(
ee.Geometry.Point([10.732305447314245, 44.750617576606686]),
{
"class": 3,
"system:index": "38"
}),
ee.Feature(
ee.Geometry.Point([10.73367873832987, 44.749886111397124]),
{
"class": 3,
"system:index": "39"
}),
ee.Feature(
ee.Geometry.Point([10.747926632616979, 44.74842315320647]),
{
"class": 3,
"system:index": "40"
}),
ee.Feature(
ee.Geometry.Point([10.800111691210729, 44.74915463693038]),
{
"class": 3,
"system:index": "41"
}),
ee.Feature(
ee.Geometry.Point([10.840967098925573, 44.745740967018534]),
{
"class": 3,
"system:index": "42"
}),
ee.Feature(
ee.Geometry.Point([10.823457638476354, 44.747691660225364]),
{
"class": 3,
"system:index": "43"
}),
ee.Feature(
ee.Geometry.Point([10.828607479784948, 44.75659086265001]),
{
"class": 3,
"system:index": "44"
}),
ee.Feature(
ee.Geometry.Point([10.832384030077916, 44.76280730056898]),
{
"class": 3,
"system:index": "45"
}),
ee.Feature(
ee.Geometry.Point([10.838563839648229, 44.780234138071414]),
{
"class": 3,
"system:index": "46"
}),
ee.Feature(
ee.Geometry.Point([10.360658566210729, 45.27366166900315]),
{
"class": 3,
"system:index": "47"
}),
ee.Feature(
ee.Geometry.Point([10.357225338671666, 45.305061440557125]),
{
"class": 3,
"system:index": "48"
}),
ee.Feature(
ee.Geometry.Point([10.356538693163854, 45.302163728326626]),
{
"class": 3,
"system:index": "49"
}),
ee.Feature(
ee.Geometry.Point([10.357911984179479, 45.292986662466724]),
{
"class": 3,
"system:index": "50"
}),
ee.Feature(
ee.Geometry.Point([10.352418820116979, 45.292986662466724]),
{
"class": 3,
"system:index": "51"
}),
ee.Feature(
ee.Geometry.Point([10.322549740527135, 45.28090931297517]),
{
"class": 3,
"system:index": "52"
}),
ee.Feature(
ee.Geometry.Point([10.297487179491979, 45.27994301393099]),
{
"class": 3,
"system:index": "53"
}),
ee.Feature(
ee.Geometry.Point([10.301607052538854, 45.2668963660993]),
{
"class": 3,
"system:index": "54"
}),
ee.Feature(
ee.Geometry.Point([10.33490935966776, 45.260371917443365]),
{
"class": 3,
"system:index": "55"
}),
ee.Feature(
ee.Geometry.Point([10.327699581835729, 45.25819693459614]),
{
"class": 3,
"system:index": "56"
}),
ee.Feature(
ee.Geometry.Point([10.265901486132604, 45.25215487843267]),
{
"class": 3,
"system:index": "57"
}),
ee.Feature(
ee.Geometry.Point([10.249078671191198, 45.27559446457621]),
{
"class": 3,
"system:index": "58"
}),
ee.Feature(
ee.Geometry.Point([10.238092343066198, 45.28260029670276]),
{
"class": 3,
"system:index": "59"
}),
ee.Feature(
ee.Geometry.Point([10.248048702929479, 45.271728807601804]),
{
"class": 3,
"system:index": "60"
}),
ee.Feature(
ee.Geometry.Point([10.228135983202916, 45.26303011666926]),
{
"class": 3,
"system:index": "61"
}),
ee.Feature(
ee.Geometry.Point([10.307786862109166, 45.234508395220274]),
{
"class": 3,
"system:index": "62"
}),
ee.Feature(
ee.Geometry.Point([10.288904110644323, 45.23934359330129]),
{
"class": 3,
"system:index": "63"
}),
ee.Feature(
ee.Geometry.Point([10.277574459765416, 45.23475016489584]),
{
"class": 3,
"system:index": "64"
}),
ee.Feature(
ee.Geometry.Point([10.344179074023229, 45.23063994052452]),
{
"class": 3,
"system:index": "65"
}),
ee.Feature(
ee.Geometry.Point([10.394647518847448, 45.25771359376027]),
{
"class": 3,
"system:index": "66"
}),
ee.Feature(
ee.Geometry.Point([10.459878842089635, 45.25674689974561]),
{
"class": 3,
"system:index": "67"
}),
ee.Feature(
ee.Geometry.Point([10.467775265429479, 45.26544655342014]),
{
"class": 3,
"system:index": "68"
}),
ee.Feature(
ee.Geometry.Point([10.542276303027135, 45.293228183228244]),
{
"class": 3,
"system:index": "69"
}),
ee.Feature(
ee.Geometry.Point([10.533693234179479, 45.30602731172016]),
{
"class": 3,
"system:index": "70"
}),
ee.Feature(
ee.Geometry.Point([10.553262631152135, 45.30433702638502]),
{
"class": 3,
"system:index": "71"
}),
ee.Feature(
ee.Geometry.Point([10.585191647265416, 45.292020569135126]),
{
"class": 3,
"system:index": "72"
}),
ee.Feature(
ee.Geometry.Point([10.575235287402135, 45.24417837995096]),
{
"class": 3,
"system:index": "73"
}),
ee.Feature(
ee.Geometry.Point([10.557725826952916, 45.2311235117616]),
{
"class": 3,
"system:index": "74"
}),
ee.Feature(
ee.Geometry.Point([10.521333615038854, 45.24321145553549]),
{
"class": 3,
"system:index": "75"
}),
ee.Feature(
ee.Geometry.Point([10.50794402763651, 45.22386951120088]),
{
"class": 3,
"system:index": "76"
}),
ee.Feature(
ee.Geometry.Point([10.484941403124791, 45.229189202127266]),
{
"class": 3,
"system:index": "77"
}),
ee.Feature(
ee.Geometry.Point([10.43653289482401, 45.21226118479587]),
{
"class": 3,
"system:index": "78"
}),
ee.Feature(
ee.Geometry.Point([10.404603878710729, 45.21226118479587]),
{
"class": 3,
"system:index": "79"
}),
ee.Feature(
ee.Geometry.Point([10.394304196093541, 45.22870561443287]),
{
"class": 3,
"system:index": "80"
}),
ee.Feature(
ee.Geometry.Point([10.098933611495559, 45.29673011868558]),
{
"class": 3,
"system:index": "81"
}),
ee.Feature(
ee.Geometry.Point([10.108460817916457, 45.295643334272455]),
{
"class": 3,
"system:index": "82"
}),
ee.Feature(
ee.Geometry.Point([10.06717625675923, 45.29775650706211]),
{
"class": 3,
"system:index": "83"
}),
ee.Feature(
ee.Geometry.Point([10.045289431197707, 45.30131853435977]),
{
"class": 3,
"system:index": "84"
}),
ee.Feature(
ee.Geometry.Point([10.05146924076802, 45.30373334083693]),
{
"class": 3,
"system:index": "85"
}),
ee.Feature(
ee.Geometry.Point([10.083569918258254, 45.304397394586246]),
{
"class": 3,
"system:index": "86"
}),
ee.Feature(
ee.Geometry.Point([10.08717480717427, 45.284895122576465]),
{
"class": 3,
"system:index": "87"
}),
ee.Feature(
ee.Geometry.Point([10.095929537398879, 45.281150885164806]),
{
"class": 3,
"system:index": "88"
}),
ee.Feature(
ee.Geometry.Point([9.719647799117629, 45.4015670962912]),
{
"class": 3,
"system:index": "89"
}),
ee.Feature(
ee.Geometry.Point([9.755353365523879, 45.40928043956986]),
{
"class": 3,
"system:index": "90"
}),
ee.Feature(
ee.Geometry.Point([9.740247164352004, 45.43988238640316]),
{
"class": 3,
"system:index": "91"
}),
ee.Feature(
ee.Geometry.Point([9.67467251835591, 45.423017223473764]),
{
"class": 3,
"system:index": "92"
}),
ee.Feature(
ee.Geometry.Point([9.667462740523879, 45.43072763756811]),
{
"class": 3,
"system:index": "93"
}),
ee.Feature(
ee.Geometry.Point([9.640683565719192, 45.38637837388185]),
{
"class": 3,
"system:index": "94"
}),
ee.Feature(
ee.Geometry.Point([9.699735079391067, 45.39023621391478]),
{
"class": 3,
"system:index": "95"
}),
ee.Feature(
ee.Geometry.Point([9.670552645309035, 45.384449355127416]),
{
"class": 3,
"system:index": "96"
}),
ee.Feature(
ee.Geometry.Point([9.665402804000442, 45.39361160795464]),
{
"class": 3,
"system:index": "97"
}),
ee.Feature(
ee.Geometry.Point([9.604977999312942, 45.38155570357316]),
{
"class": 3,
"system:index": "98"
}),
ee.Feature(
ee.Geometry.Point([9.596051607711379, 45.39602248027528]),
{
"class": 3,
"system:index": "99"
})])
#**** End of imports. If edited, may not auto-convert in the playground. ****#
# Create an Earth Engine Point object over Milan.
pt = ee.Geometry.Point([9.453, 45.424])
# Filter the Landsat 8 collection and select the least cloudy image.
landsat = ee.ImageCollection('LANDSAT/LC08/C02/T1_L2') \
.filterBounds(pt) \
.filterDate('2019-01-01', '2020-01-01') \
.sort('CLOUD_COVER') \
.first()
# Add NDVI and NDWI as bands.
ndvi = landsat.normalizedDifference(['SR_B5', 'SR_B4']).rename('ndvi')
ndwi = landsat.normalizedDifference(['SR_B5', 'SR_B6']).rename('ndwi')
landsat = landsat.addBands(ndvi).addBands(ndwi)
# Center the map on that image.
Map.centerObject(landsat, 8)
# Add Landsat image to the map.
visParams = {'bands': ['SR_B4', 'SR_B3', 'SR_B2'], 'min': 7000, 'max': 12000}
Map.addLayer(landsat, visParams, 'Landsat 8 image')
# Combine training feature collections. Here we are using 100 points per class.
# See imports at the top.
trainingFeatures = ee.FeatureCollection([
forest, developed, water, herbaceous
]).flatten()
# Define the prediction bands.
predictionBands = [
'SR_B1', 'SR_B2', 'SR_B3', 'SR_B4', 'SR_B5', 'SR_B6', 'SR_B7', 'ST_B10',
'ndvi', 'ndwi'
]
# Sample training points.
classifierTraining = landsat.select(predictionBands) \
.sampleRegions({
'collection': trainingFeatures,
'properties': ['class'],
'scale': 30
})
######## CART Classifier #########/
# Train a CART Classifier.
classifier = ee.Classifier.smileCart().train({
'features': classifierTraining,
'classProperty': 'class',
'inputProperties': predictionBands
})
# Classify the Landsat image.
classified = landsat.select(predictionBands).classify(classifier)
# Define classification image visualization parameters.
classificationVis = {
'min': 0, 'max': 3, 'palette': ['589400', 'ff0000', '1a11ff', 'd0741e']
}
# Add the classified image to the map.
Map.addLayer(classified, classificationVis, 'CART classified')
#######/ Random Forest Classifier ##########/
# Train RF classifier.
RFclassifier = ee.Classifier.smileRandomForest(50).train({
'features': classifierTraining,
'classProperty': 'class',
'inputProperties': predictionBands
})
# Classify Landsat image.
RFclassified = landsat.select(predictionBands).classify(RFclassifier)
# Add classified image to the map.
Map.addLayer(RFclassified, classificationVis, 'RF classified')
######## Unsupervised classification ########
# Make the training dataset.
training = landsat.sample({
'region': landsat.geometry(),
'scale': 30,
'numPixels': 1000,
'tileScale': 8
})
# Instantiate the clusterer and train it.
clusterer = ee.Clusterer.wekaKMeans(4).train(training)
# Cluster the input using the trained clusterer.
Kclassified = landsat.cluster(clusterer)
# Display the clusters with random colors.
Map.addLayer(Kclassified.randomVisualizer(), {}, 'K-means classified - random colors')
# Display the clusters with same palette as supervised classification
# herbaceous is 0, water is 1, forest is 2, developed is 3.
Map.addLayer(Kclassified,
{'min': 0, 'max': 3, 'palette': ['d0741e','1a11ff','589400', 'ff0000']},
'K-means classified')
Display the interactive map¶
In [ ]:
Copied!
Map
Map