-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #245 from bird-house/packaging-fixes
Packaging fixes
- Loading branch information
Showing
24 changed files
with
208 additions
and
94 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
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 |
---|---|---|
@@ -1,9 +1,18 @@ | ||
include *.rst | ||
graft birdy | ||
global-exclude __pycache__ | ||
global-exclude *.py[co] | ||
|
||
include *.rst | ||
include LICENSE.txt | ||
include requirements.txt | ||
include requirements_dev.txt | ||
include requirements_extra.txt | ||
include setup.cfg | ||
include docs Makefile make.bat | ||
|
||
recursive-include docs/source Makefile make.bat *.rst *.py *.ipynb *.svg *.ico *.txt *.yml *.cfg *.md | ||
recursive-include tests *.py *.nc *.tif *.geojson *.xml | ||
|
||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.py[co] | ||
recursive-exclude * *.ipynb_checkpoints | ||
recursive-exclude docs/build * | ||
recursive-exclude docs/source/apidoc *.rst |
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
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 |
---|---|---|
@@ -1,3 +1,32 @@ | ||
# noqa: D104 | ||
# noqa: D205,D400 | ||
""" | ||
IpyleafletWFS Module | ||
==================== | ||
This module facilitates the use of a WFS service through the ipyleaflet module in jupyter notebooks. | ||
It uses owslib to get a geojson out of a WFS service, and then creates an ipyleaflet GeoJSON layer with it. | ||
Dependencies | ||
------------ | ||
Ipyleaflet and Ipywidgets dependencies are included in the requirements_extra.txt, at the root of this repository. | ||
To install:: | ||
$ pip install -r requirements_extra.txt | ||
Use | ||
--- | ||
This module is to be used inside a jupyter notebook, either with a standard server or through vscode/pycharm. | ||
There are notebook examples which show how to use this module and what can be done with it. | ||
The WFS request is filtered by the extent of the visible map, to make large layers easier to work with. | ||
Using the on-map 'Refresh WFS layer' button will make a new request for the current extent. | ||
.. warning:: | ||
WFS requests and GeoJSON layers are costly operations to process and render. | ||
Trying to load lake layers at the nationwide extent may take a long time and probably crash. | ||
The more dense and complex the layer, the more zoomed-in the map extent should be. | ||
""" | ||
|
||
from .base import IpyleafletWFS # noqa: F401 |
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
Oops, something went wrong.