forked from OSGeo/grass
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
grass.jupyter: Add direct integration with folium (OSGeo#2208)
Restructures InteractiveMap so that folium-like objects can be created and used directly with folium. New Raster and Vector classes allow direct interaction with folium and have add_to method for adding into folium. InteractiveMap is restructured to use new Raster and Vector classes. A new ReprojectionRenderer class takes most of the complex reprojection, rendering, and format conversion functionality from InteractiveMap and provides that to functions to folium-like objects and InteractiveMap. Adds tiles parameter to InteractiveMap. The main notebook now includes an example with direct use of folium. Adds pytest tests for ReprojectionRenderer. Removes interact_display.py from pylint ignore.
- Loading branch information
Showing
9 changed files
with
451 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,3 +46,4 @@ | |
from .render3d import * | ||
from .setup import * | ||
from .utils import * | ||
from .reprojection_renderer import * |
Oops, something went wrong.