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