How to use Encoded Polyline Algorithm Format?

This forum deals with any kind of web based client technology, whether it is the well known java script based Ajax servlet or the upcoming approaches such as Leaflet, OpenLayers and so on.
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

How to use Encoded Polyline Algorithm Format?

Post by Bernd Welter »

Hi there,

how can I gather a routing polygon as Encoded Polyline Algorithm Format?
I'd like to use this format because it works fine and compact with Leaflet...

Thanks for your help,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: How to use Encoded Polyline Algorithm Format?

Post by Bernd Welter »

Cheers,

meanwhile I received some internal feedback about this topic...
Currently we offer the following so-called "EncodedGeometry"-types in our API:
  • KML
  • GeoJSON
  • Plain
  • WellKnownText
  • WellKnownBinary
Google's Encoded Polyline is not part of this list but from our perspective
  • there are many open source libraries you can use to transfer one of our formats into Encoded Polylines
  • you can simply use GeoJSON with leaflet
So much for now,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply