How to use the routingpy.utils.decode_polyline6 function in routingpy

To help you get started, we’ve selected a few routingpy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gis-ops / routing-py / tests / test_utils.py View on Github external
def test_polyline6_3d_decoding(self):

        decoded = [(8.688641, 49.420577, 120.96), (8.680916, 49.415776, 1491.39)]
        self.assertEqual(decoded, utils.decode_polyline6(self.coords3d_6prec, True))
github gis-ops / routing-py / tests / test_utils.py View on Github external
def test_polyline6_2d_decoding(self):

        decoded = [(8.688641, 49.420577), (8.680916, 49.415776)]
        self.assertEqual(decoded, utils.decode_polyline6(self.coords2d_6prec))