Vector file manager¶
This module have been designed on top of the interactive framework sepal_ui. it allows the upload files from its local computer and transform them into assets in Google Earth Engine. On top of any AOI the module can also be used to produce a grid coresponding to our best product (NICFI 2,5m resolution10x10km grid).
both operations will end with a dialog window with the ID of your asset. Copy-paste it to use this asset in other SEPAL tools
Upload file in SEPAL and GEE¶
Using the first avalaibale tile you can upload any file from your local computer to SEPAL.
Once the file is available in your SEPAL folders use it in the AOI selector. This selector have been customized to only allow selection through:
draw a shape: manually draw a shape on the map
Upload file: Use a shapefile as an asset
Use point file: Use a
.csvfile as an aoi asset. Point file need to have at least 3 columns (id, lattitude and longitude) but you can use any custom names.
By validating the selection a task will be launched on GEE to transform your table into a GEE asset. please go to your earthengine task list if you want to monitor the evolution of your upload.
Create Grid over AOI¶
The second drawer will allow you to create a grid on top of any AOI. THe grid is corresponding to the Planet Lab Grid to fit the needs of our best product in term of resolution (2.5m).
the planet grid is constructing a 2048x2048 grid of SQUARES. The latitude extends is bigger (20048966.10m VS 20026376.39) so to ensure the “squariness” Planet lab have based the numerotation and extends of it square grid on the longitude only. the extreme -90 and +90 band it thus exlucded but there are no so relevant cells for forestry observation
an extra column is added to the grid called “batch” you can select the number of cell you want to add to each batch. The naming will be set automatically according to your AOI name and the batch number.
By validating, yuou will create ageojson file that will live in
module_results/aoi/<asset_name>.geojson and launch the creation of the same grid in your GEE assets.