GeoSpark-Zeppelin
GeoSpark-Zeppelin is a Helium visualization plugin for Apache Zeppelin, written in Node.js. After installing this plugin, you can directly connect GeoSparkSQL and GeoSparkViz to Apache Zeppelin.
GeoSpark-Zeppelin is a pluggable component of Zeppelin and requires no Zeppelin source modification.
Compatibility
Apache Spark 2.1+
Apache Zeppelin 0.8.1
GeoSpark 1.2.0+: GeoSpark-core, GeoSpark-SQL, GeoSpark-Viz
Installation
- [Optional] Create a folder in Zeppelin installation root folder called helium
- [Optional] Create a file called geospark-zeppelin.json in this folder and put the following content in this file. You need to change the artifact path!
{
"type": "VISUALIZATION",
"name": "geospark-zeppelin",
"description": "Zeppelin visualization support for GeoSpark",
"artifact": "/Absolute/Path/GeoSpark/geospark-zeppelin",
"license": "BSD-2-Clause",
"icon": ""
}
```
3. Open Zeppelin Helium interface and enable GeoSpark-Zeppelin
-
Open a Zeppelin Spark notebook
-
Visualize GeoSparkSQL results
-
Display GeoSparkViz results
Acknowledgement
This plugin uses Leaflet and JSTS. Some code is forked from zeppelin-leaflet .
License
- geospark-zeppelin: BSD-2-Clause
- Leaflet: License - BSD-2-Clause