Geospatio-temporal library for notebooks

You can use the geospatio-temporal library to expand your data science analysis in Python notebooks to include location analytics by gathering, manipulating and displaying imagery, GPS, satellite photography and historical data.

The spatio-temporal library is available in all IBM Watson Studio Spark runtime environments and if you run your notebooks in IBM Analytics Engine.

Key functions

The geospatial library includes functions to read and write data, topological functions, geohashing, indexing, ellipsoidal and routing functions.

Key aspects of the library include:

Getting started with the library

Before you can start using the library in a notebook, you must register STContext in your notebook to access the st functions.

To register STContext:

from pyst import STContext
stc = STContext(spark.sparkContext._gateway)

Next steps

After you have registered STContext in your notebook, you can begin exploring the spatio-temporal library for:

Check out the following sample Python notebooks to learn how to use these different functions in Python notebooks:

Create an application that uses the spatio-temporal library and runs as a Spark job on your Cloud Pak for Data cluster by using the Spark jobs REST APIs of Analytics Engine powered by Apache Spark: