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
The TileDB-PyBabylonJS library is a geospatial data visualization Python library that interactively visualizes TileDB arrays with [Babylon.js](https://www.babylonjs.com) in a Jupyter notebook widget.
8
+
The TileDB-PyBabylonJS library is a geospatial data visualization Python library that interactively visualizes TileDB arrays with [Babylon.js](https://www.babylonjs.com) in a Jupyter notebook widget.
9
+
10
+
The package is under development and currently contains:
11
+
12
+
* point cloud visualizations with the option to stream all data from a TileDB array or define a bounding box to load a slice of the array
13
+
* MBRS visualization showing the minimum bounding rectangles of the [fragments](https://docs.tiledb.com/main/background/key-concepts-and-data-format#fragments) in the sparse array containing point cloud data
9
14
10
15
## Installation
11
16
@@ -15,15 +20,14 @@ This project is available from [PyPI](https://pypi.org/project/pybabylonjs/) and
15
20
pip install pybabylonjs
16
21
```
17
22
18
-
If you are using Jupyter Notebook 5.2 or earlier, you may also need to enable
19
-
the nbextension:
23
+
If you are using Jupyter Notebook 5.2 or earlier, you may also need to enable the nbextension:
Fork or clone the repo and go the main directory. Install the TileDB-PyBabylonJS Python package that will also build the TypeScript package:
42
+
Fork or clone the repo and go to the main directory. Install the TileDB-PyBabylonJS Python package that will also build the TypeScript package:
39
43
40
44
```bash
41
45
pip install -e ".[test, examples]"
42
46
```
43
47
44
-
When developing your extensions, you need to manually enable your extensions with the notebook / lab frontend. For jupyter lab, this is done by the command:
48
+
When developing your extensions you need to manually enable your extensions with the notebook / lab frontend. For jupyter lab this is done by the command:
Note that the `--symlink` flag doesn't work on Windows, so you will here have to run
60
64
the `install` command every time that you rebuild your extension. For certain installations
61
-
you might also need another flag instead of `--sys-prefix`, but we won't cover the meaning
62
-
of those flags here.
65
+
you might also need another flag instead of `--sys-prefix`.
63
66
64
67
### How to see your changes
65
68
66
69
#### TypeScript
67
70
68
-
The TypeScript code for the visualizations can be found in the [TileDB-Viz](https://github.com/TileDB-Inc/TileDB-Viz)package. After making changes in TileDB-Viz build the package with:
71
+
The TypeScript code for the visualizations can be found in the [TileDB-Viz](https://github.com/TileDB-Inc/TileDB-Viz)repository. After making changes in TileDB-Viz build the package with:
69
72
70
73
`yarn build`
71
74
@@ -85,41 +88,49 @@ When you make a change to the Python code rebuild the package and restart the no
85
88
86
89
### Point clouds
87
90
88
-
Jupyter notebooks are provided in the [Examples folder](https://github.com/TileDB-Inc/TileDB-PyBabylonJS/tree/main/examples) for the following visualizations:
91
+
Jupyter notebooks are provided in the [examples folder](https://github.com/TileDB-Inc/TileDB-PyBabylonJS/tree/main/examples) for the following visualizations:
89
92
90
-
*[Point cloud](/examples/point_cloud.ipynb)
91
-
*[Point cloud with a time slider](/examples/point-cloud-time.ipynb)
92
-
*[Point cloud with a classes slider](/examples/point-cloud-classes.ipynb)
93
-
*[Point cloud with a Mapbox base map](/examples/point-cloud-topo.ipynb)
94
-
*[Point cloud with gltf models](/examples/point-cloud-gltf.ipynb)
95
-
*[MBRS of a point cloud](/examples/mbrs.ipynb)
93
+
*[Slice of the Autzen point cloud](/examples/autzen_slice.ipynb)
94
+
*[Streaming the Autzen point cloud](/examples/autzen-streaming.ipynb)
95
+
*[Slice of the Boulder point cloud](/examples/point-cloud-boulder.ipynb)
96
96
97
-
Display a point cloud visualization from a local sparse array by specifying the bounding box of a slice of the data:
97
+
Display a point cloud visualization from a TileDB cloud sparse array by specifying the bounding box of a slice of the data:
0 commit comments