Skip to content

Commit b49dcb2

Browse files
committed
readme
1 parent a47775f commit b49dcb2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,25 @@ str = geojson(features[]) # String representation of the GeoJSON
2525
write("features.geojson", str) # Save the GeoJSON to a file
2626
```
2727

28+
29+
## Graphical User Interface
30+
2831
![](https://github.com/user-attachments/assets/dc7c8641-873b-4b9f-ade9-cff07a01b3ee)
32+
33+
The above GUI is launched via the `draw_features` function. The left panel contains the UI, and the right panel contains the map/raster.
34+
35+
Going top down, the UI contains the following components:
36+
37+
### Display Settings
38+
39+
- **Aggregate Function and Aggregate Scale.** To avoid visualizing every pixel of a large raster, InteractiveGeospatial will aggregate the raster data into a smaller number of bins. These two inputs are passed to the [`Rasters.aggregate`](https://rafaqz.github.io/Rasters.jl/dev/api#Rasters.aggregate) function.
40+
- **Remap Function**. This function is applied to the raster data before visualization. For example, you can apply a logarithmic transformation to the data.
41+
- **Colormap**. The color map used to visualize the raster data.
42+
43+
### Draw Polygon
44+
45+
- **Color**. The color of the polygon and text displayed over the image.
46+
- **Clear Current Drawing**. Clear the current drawing.
47+
- **Label (Unique Identifier)**. Polygons must be labeled with a unique name before they can be saved.
48+
- **Save to Return Value**. Save the polygon to the returned `Observable` from the `draw_features` function.
49+
- **View Drawing**. Display a previously-saved polygon over the image.

0 commit comments

Comments
 (0)