Metadata-Version: 2.1
Name: snapshot-here_ocm
Version: 1.0.0
Summary: Python Bindings for OCM
Home-page: 
Author: HERE Global B.V. and its affiliate(s)
License: HERE Proprietary License
Project-URL: Documentation, 
Project-URL: Source, ssh://git@main.gitlab.in.here.com:3389/sdk/ocm-poc.git
Classifier: Development Status :: 1 - Development
Classifier: Intended Audience :: Developers
Classifier: License :: Other/Proprietary License
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Scientific/Engineering :: GIS
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# ocm

## Getting started

This project provides Python Bindings for the Optimized Client Map catalogs using the HERE Platform.
Currently catalog used is ( hrn -> hrn:here:data::olp-here:ocm ) 
https://platform.here.com/data/hrn:here:data::olp-here:ocm/overview.


## Catalog Access Request.
Please request jocelyn.turcotte@here.com to provide access to Catalog hrn:here:data::olp-here:ocm
on realm -> olp-here. Share your userid and appid.


## Building and running the C++ examples dir.

Please refer FILLME version value from  https://confluence.in.here.com/display/OCM/Map+Releases.

Define following constants in the environment.

    PROTOPACK_VERSION=1.0.FILLME
    CATALOG_VERSION=FILLME
    CATALOG=hrn:here:data::olp-here:ocm

if version is 63 then FILLME=63

    PROTOPACK_VERSION=1.0.63
    CATALOG_VERSION=63
    CATALOG=hrn:here:data::olp-here:ocm

    # Clone dependency projects so that here_find_package can find them.
    # Those should be cloned at the root of the ocm repository.

    git clone https://main.gitlab.in.here.com/mrp/prime/cmake.git
    git clone https://<userid>@gerrit.it.here.com/a/external/protobuf -b 3.3.0
    git clone https://main.gitlab.in.here.com/olp/sdk/client-map/protopack.git -b $PROTOPACK_VERSION


Create a build dir and inside that run cmake & make commands.

    mkdir build
    cd build/

To Compile in Normal Mode ( at path ocm/build/ )

    cmake .. -DCMAKE_MODULE_PATH=$PWD/../cmake/modules -DProtobuf_BUILD=ALWAYS -DBoost_BUILD=ALWAYS -DCOMPILE_OCM_EXAMPLE=TRUE -DCMAKE_CXX_STANDARD=17 -DBUILD_SHARED_LIBS=TRUE -DPROTOPACK_FORCE_SHARED=TRUE 

To Compile in Debug Mode ( at path ocm/build/ )

    cmake .. -DCMAKE_MODULE_PATH=$PWD/../cmake/modules -DProtobuf_BUILD=ALWAYS -DBoost_BUILD=ALWAYS -DCOMPILE_OCM_EXAMPLE=TRUE -DCMAKE_CXX_STANDARD=17 -DBUILD_SHARED_LIBS=TRUE -DPROTOPACK_FORCE_SHARED=TRUE -DCMAKE_BUILD_TYPE=Debug

To Build  ( at path ocm/build/ )

    make -j

To Run Sample Notebook

    jupyter notebook

Notebook path

    here_ocm/OCM_impl.ipynb
    http://localhost:8888/notebooks/here_ocm/OCM_impl.ipynb


## For Developers 
    Please follow SOLID Principles, OOPS and Design Patterns Best Practices.


