10 shapefiles
Uncomment the following line to install geemap if needed.
In [ ]:
Copied!
# !pip install geemap
# !pip install geemap
In [ ]:
Copied!
import geemap
import geemap
In [ ]:
Copied!
geemap.show_youtube("OlNlqfj4uHo")
geemap.show_youtube("OlNlqfj4uHo")
In [ ]:
Copied!
Map = geemap.Map()
Map
Map = geemap.Map()
Map
In [ ]:
Copied!
countries_shp = "../data/countries.shp"
countries = geemap.shp_to_ee(countries_shp)
Map.addLayer(countries, {}, "Countries")
countries_shp = "../data/countries.shp"
countries = geemap.shp_to_ee(countries_shp)
Map.addLayer(countries, {}, "Countries")
In [ ]:
Copied!
states_shp = "../data/us_states.shp"
states = geemap.shp_to_ee(states_shp)
Map.addLayer(states, {}, "US States")
states_shp = "../data/us_states.shp"
states = geemap.shp_to_ee(states_shp)
Map.addLayer(states, {}, "US States")
In [ ]:
Copied!
cities_shp = "../data/us_cities.shp"
cities = geemap.shp_to_ee(cities_shp)
Map.addLayer(cities, {}, "US Cities")
cities_shp = "../data/us_cities.shp"
cities = geemap.shp_to_ee(cities_shp)
Map.addLayer(cities, {}, "US Cities")
In [ ]:
Copied!
geemap.ee_to_shp(countries, filename="../data/countries_new.shp")
geemap.ee_to_shp(countries, filename="../data/countries_new.shp")
In [ ]:
Copied!
geemap.ee_export_vector(states, filename="../data/states.csv")
geemap.ee_export_vector(states, filename="../data/states.csv")
In [ ]:
Copied!
geemap.ee_export_vector(states, filename="../data/states.kml")
geemap.ee_export_vector(states, filename="../data/states.kml")
In [ ]:
Copied!
geemap.ee_export_vector(states, filename="../data/states.kmz")
geemap.ee_export_vector(states, filename="../data/states.kmz")