Skip to content

Lightweight Python wrapper of Cesium.js for 3D geospatial visualization.

License

Notifications You must be signed in to change notification settings

open-space-collective/cesiumpy

 
 

Repository files navigation

CesiumPy

Lightweight Python wrapper for Cesium.js. Mainly intended to be used with Jupyter Notebook.

Installation

Use pip:

pip install cesiumpy

Example

Running following script on Jupyter Notebook will show an embedded interactive 3D map:

import cesiumpy

v = cesiumpy.Viewer()
v.entities.add(
  cesiumpy.Box(
    dimensions=(40e4, 30e4, 50e4),
    material=cesiumpy.color.RED,
    position=(-120, 40, 0),
)
v

viewer01.png

Documentation

Bundled Datasets

Dependencies

  • geopy, traitlets
  • (Optional) scipy and shapely

About

Lightweight Python wrapper of Cesium.js for 3D geospatial visualization.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 78.7%
  • Python 13.7%
  • HTML 7.4%
  • Other 0.2%