You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`pybdshadow` is a python package to generate building shadow geometry. The latest stable release of the software can be installed via pip and full documentation can be found [here](https://pybdshadow.readthedocs.io/en/latest/).
10
10
11
11
## Example
12
12
13
+
### Shadow generated by Sun light
14
+
13
15
Given a building GeoDataFrame and UTC datetime, `pybdshadow` can calculate the building shadow based on the sun position obtained by `suncalc`
14
16
15
17
```python
16
18
import pybdshadow
17
19
#Given UTC datetime
18
20
date = pd.to_datetime('2015-01-01 02:45:33.959797119')
### Using pypi [](https://badge.fury.io/py/pybdshadow)
90
+
### Using pypi [](https://badge.fury.io/py/pybdshadow)
39
91
40
92
`pybdshadow` can be installed by using `pip install`. Before installing `pybdshadow`, make sure that you have installed the available [geopandas package](https://geopandas.org/en/stable/getting_started/install.html). If you already have geopandas installed, run the following code directly from the command prompt to install `pybdshadow`:
Citation information can be found at [CITATION.cff](https://github.com/ni1o1/pybdshadow/blob/main/CITATION.cff).
114
+
115
+
## Contributing to pybdshadow [](https://github.com/ni1o1/pybdshadow/graphs/contributors)
116
+
117
+
All contributions, bug reports, bug fixes, documentation improvements, enhancements and ideas are welcome. A detailed overview on how to contribute can be found in the [contributing guide](https://github.com/ni1o1/pybdshadow/blob/master/CONTRIBUTING.md) on GitHub.
Copy file name to clipboardExpand all lines: docs/source/Visualization.rst
+18-5Lines changed: 18 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,28 +2,41 @@
2
2
3
3
4
4
*****************************
5
-
Building Visualization
5
+
Visualization
6
6
*****************************
7
7
8
+
Visualization Settings in Jupyter
9
+
--------------------------------------
10
+
11
+
|The `pybdshadow`` package provide visualization methods based on the visualization plugin provided by `kepler.gl`.
12
+
13
+
If you want to display the visualization results in jupyter notebook, you need to check the jupyter-js-widgets (which may need to be installed separately) and keplergl-jupyter plugins
Copy file name to clipboardExpand all lines: docs/source/index.rst
+7-24Lines changed: 7 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,30 +35,6 @@ Given a building GeoDataFrame and UTC datetime, `pybdshadow` can calculate the b
35
35
36
36
.. image:: _static/visualize.png
37
37
38
-
Installation
39
-
---------------------------------
40
-
41
-
42
-
|It is recommended to use `Python 3.7, 3.8, 3.9`.
43
-
|`pybdshadow` can be installed by using `pip install`. Before installing `pybdshadow`, make sure that you have installed the available `geopandas` package: https://geopandas.org/en/stable/getting_started/install.html.
44
-
|If you already have geopandas installed, run the following code directly from the command prompt to install `pybdshadow`:
45
-
46
-
::
47
-
48
-
pip install pybdshadow
49
-
50
-
Dependency
51
-
---------------------------------
52
-
`pybdshadow` depends on the following packages
53
-
54
-
* `numpy`
55
-
* `pandas`
56
-
* `shapely`
57
-
* `rtree`
58
-
* `geopandas`
59
-
* `matplotlib`
60
-
* `suncalc`
61
-
* `keplergl` (optional)
62
38
63
39
64
40
Citation information
@@ -70,10 +46,17 @@ Citation information can be found at https://github.com/ni1o1/pybdshadow/blob/ma
|`pybdshadow` can be installed by using `pip install`. Before installing `pybdshadow`, make sure that you have installed the available `geopandas` package: https://geopandas.org/en/stable/getting_started/install.html.
16
+
|If you already have geopandas installed, run the following code directly from the command prompt to install `pybdshadow`:
0 commit comments