show buffer correctly
Browse files
app.py
CHANGED
@@ -361,6 +361,8 @@ ee_geometry = ee.Geometry(geometry_gdf.to_crs(4326).geometry.item().__geo_interf
|
|
361 |
ee_feature_collection = ee.FeatureCollection(ee_geometry)
|
362 |
buffer_ee_geometry = ee.Geometry(buffer_geometry_gdf.to_crs(4326).geometry.item().__geo_interface__)
|
363 |
buffer_ee_feature_collection = ee.FeatureCollection(buffer_ee_geometry)
|
|
|
|
|
364 |
|
365 |
# visualize the geometry
|
366 |
m = leaf_folium.Map()
|
@@ -550,7 +552,7 @@ if "result" in st.session_state:
|
|
550 |
)
|
551 |
cols = st.columns(2)
|
552 |
dem_map, slope_map = get_dem_slope_maps(
|
553 |
-
ee.Geometry(
|
554 |
)
|
555 |
for col, param_map, title in zip(cols, [dem_map, slope_map], ["DEM Map", "Slope Map"]):
|
556 |
with col:
|
|
|
361 |
ee_feature_collection = ee.FeatureCollection(ee_geometry)
|
362 |
buffer_ee_geometry = ee.Geometry(buffer_geometry_gdf.to_crs(4326).geometry.item().__geo_interface__)
|
363 |
buffer_ee_feature_collection = ee.FeatureCollection(buffer_ee_geometry)
|
364 |
+
outer_ee_geometry = ee.Geometry(outer_geometry_gdf.to_crs(4326).geometry.item().__geo_interface__)
|
365 |
+
outer_ee_feature_collection = ee.FeatureCollection(outer_ee_geometry)
|
366 |
|
367 |
# visualize the geometry
|
368 |
m = leaf_folium.Map()
|
|
|
552 |
)
|
553 |
cols = st.columns(2)
|
554 |
dem_map, slope_map = get_dem_slope_maps(
|
555 |
+
ee.Geometry(outer_geometry_gdf.to_crs(4326).geometry.item().__geo_interface__)
|
556 |
)
|
557 |
for col, param_map, title in zip(cols, [dem_map, slope_map], ["DEM Map", "Slope Map"]):
|
558 |
with col:
|