Skip to content

A few simple functions to render Google Earth Engine Tile Layers with Folium

License

Notifications You must be signed in to change notification settings

mccarthyryanc/folium_gee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FoliumGEE

A few simple functions to render Google Earth Engine Tile Layers with Folium.

Take a look at the tests directory for usage, but here is a simple example:

import ee
import foliumgee

ee.Initialize()

image = ee.Image('srtm90_v4')
m = foliumgee.map(image)
m.save('srtm.html')

Credentials

It is up to the user to either supply GEE credentials during the Initialization step:

import ee

creds = ee.ServiceAccountCredentials(
	service_account,
	'privatekey.json')
ee.Initialize(creds)

or through via a credentials file.

Install

Clone and install manually, or use pip:

# Method 1
git clone https://github.com/mccarthyryanc/folium_gee.git
cd folium_gee
python setup.py install
# Method 2
pip install git+https://github.com/mccarthyryanc/folium_gee.git

About

A few simple functions to render Google Earth Engine Tile Layers with Folium

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published