Tutorials and Examples

As a companion to this Developer Guide, we encourage you to refer to the collection of tutorial notebooks and examples available. These demonstrate how to leverage the SDK for Python in common usage scenarios.

All notebooks are available to browse and download from GitHub. Alternatively, you can download a .zip file containing the full collection by clicking here and saving the .zip file locally.

Example Name File Description Required HERE Packages HERE Catalogs Used
Process SDII Data ProcessSDIIData_platform.ipynb Read and perform basic exploratory analysis on archived and streaming SDII data HERE Platform, HERE Geotiles HERE Sample SDII Messages - Berlin
Process SDII Data Using GeoPandas ProcessSDIIData_geopandas.ipynb Read and perform basic exploratory analysis on archived and streaming SDII data using GeoPandas HERE Geopandas Adapter HERE Sample SDII Messages - Berlin
Functional Class and Curvature Analysis FunctionalClassCurvatureAnalysis_hmc.ipynb Extract, analyze, and visualize data from HERE Map Content layers HERE Geopandas Adapter, HERE Content, HERE Inspector HERE Map Content
Explore Inspector Functions (ipyleaflet backend) ExploreInspector_ipyleaflet.ipynb Become familiar with Inspector functionality and style options available when used with ipyleaflet-based backend HERE Geopandas Adapter, HERE Inspector HERE GeoJSON Samples
Explore Inspector Functions (HERE Map Widget for Jupyter backend) ExploreInspector_HEREMapWidgetForJupyter.ipynb Become familiar with Inspector functionality and style options available when used with HERE Map Widget for Jupyter backend HERE Geopandas Adapter, HERE Inspector HERE GeoJSON Samples
Work with Interactive Map Layers InteractiveMapLayersIntro.ipynb Demonstrate interaction with Interactive Map layers HERE Platform, HERE Inspector None
Convert Notebook to Voila Dashboard ConvertNotebook_VoilaDashboard.ipynb Convert notebook to an interactive dashboard using Voila HERE Platform, HERE Geotiles, HERE Inspector HERE Map Content, HERE Real Time Traffic
Convert Python Code to Plotly Dash Dashboard plotlydash_dashboard.py Convert Python code to an interactive dashboard using Plotly Dash open source version HERE Geopandas Adapter HERE Map Content, HERE Real Time Traffic

Note

To execute notebooks, you must use either Jupyter Notebook or JupyterLab.

Using Voilà and Plotly Dash

  • Voilà is a thin layer built on top of Jupyter Notebooks allowing them to be converted into stand-alone dashboard applications. Refer to the Voila documentation for instructions on installing and using Voilà to convert your notebooks into simple interactive dashboards.
  • Plotly Dash is a Python framework for building ML and Data Science dashboards and web applications. It offers more sophisticated capabilities than Voilà, including scalability and the option to include JavaScript and HTML. Refer to the Dash documentation for details.

results matching ""

    No results matching ""