Installation

The SDK is divided into packages that you can install separately using either conda or pip.

  • HERE Platform: All core operations for interacting with HERE platform catalogs, layers, projects, and schemas
  • HERE Geotiles: Support methods for tile/partition calculations using HERE tile partitioning
  • HERE GeoPandas Adapter: Adapts the functionality of HERE platform and HERE Geotiles for seamless use with pandas/GeoPandas data structures.
  • HERE Content: Content bindings that enable you to more easily extract and manipulate HERE Map Content layers
  • HERE Inspector: Component to visualize and inspect geospatial data from within Jupyter

System Requirements

To install and use all packages above, minimum values for available disk space and installed memory are

  • 100 MB available disk space
  • 2 GB RAM

Prerequisites

Before you can install the HERE Data SDK for Python packages, you must:

  • Create your credentials. For more information, see Credentials.
  • Install Python 3 (version >= 3.7).
  • Install either conda or pip.

Caution

We recommend installing packages using conda because it effectively handles GDAL and C++ dependencies. Pip installation errors related to GDAL and GeoPandas dependencies are especially common on Windows. If you must use pip on Windows, you can find advice for manually dealing with dependency problems here.

Do not install SDK packages in the conda base environment. Activate a new or existing environment before installing.

Order of Installation

If you use pandas/GeoPandas at all in your work:

  1. Install the here-geopandas-adaptor package. This will also install the dependent packages here-platform and here-geotiles.
  2. Optionally, install the here-content package for simplified access to HERE Map content layers.
  3. Optionally, install the here-inspector package to add visualization support in Jupyter.

If you will NOT be using pandas/GeoPandas at all in your work:

  1. Install the here-platform package.
  2. Optionally, install the here-geotiles package to add support for tile and partition calculations using HEREtile partitioning.
  3. Optionally, install the here-content package for simplified access to HERE Map content layers.
  4. Optionally, install the here-inspector package to add visualization support in Jupyter.

Installing Packages with Conda

Below are commands for installing each package using conda:

HERE Platform

Installation:

conda install -c conda-forge -c https://repo.platform.here.com/artifactory/api/conda/olp_analytics/analytics_sdk here-platform=2.5.0

Verification: python -c "import here.platform"

HERE Geotiles

Installation:

conda install -c conda-forge -c https://repo.platform.here.com/artifactory/api/conda/olp_analytics/analytics_sdk here-geotiles=2.5.0

Verification: python -c "import here.geotiles"

HERE GeoPandas Adapter

Installation:

conda install -c conda-forge -c https://repo.platform.here.com/artifactory/api/conda/olp_analytics/analytics_sdk here-geopandas-adapter=2.5.0

Verification: python -c "import here.geopandas_adapter"

HERE Content

Installation:

conda install -c conda-forge -c https://repo.platform.here.com/artifactory/api/conda/olp_analytics/analytics_sdk here-content=2.5.0

Verification: python -c "import here.content"

HERE Inspector

Installation:

conda install -c conda-forge -c https://repo.platform.here.com/artifactory/api/conda/olp_analytics/analytics_sdk here-inspector=2.5.0

Verification: python -c "import here.inspector"

Installing Packages with Pip

Below are commands for installing each package using pip:

HERE Platform

Installation:

pip install --extra-index-url https://repo.platform.here.com/artifactory/api/pypi/analytics-pypi/simple/ here-platform==2.5.0

Verification: python -c "import here.platform"

HERE Geotiles

Installation:

pip install --extra-index-url https://repo.platform.here.com/artifactory/api/pypi/analytics-pypi/simple/ here-geotiles==2.5.0

Verification: python -c "import here.geotiles"

HERE GeoPandas Adapter

Installation:

pip install --extra-index-url https://repo.platform.here.com/artifactory/api/pypi/analytics-pypi/simple/ here-geopandas-adapter==2.5.0

Verification: python -c "import here.geopandas_adapter"

HERE Content

Installation:

pip install --extra-index-url https://repo.platform.here.com/artifactory/api/pypi/analytics-pypi/simple/ here-content==2.5.0

Verification: python -c "import here.content"

HERE Inspector

Installation:

pip install --extra-index-url https://repo.platform.here.com/artifactory/api/pypi/analytics-pypi/simple/ here-inspector==2.5.0

Verification: python -c "import here.inspector"

results matching ""

    No results matching ""