heremaps / flexible-polyline

Flexible Polyline encoding: a lossy compressed representation of a list of coordinate pairs or triples
MIT License
89 stars 76 forks source link

Python: wrong list of 3rd dimensions #63

Closed RenoFilla closed 2 months ago

RenoFilla commented 1 year ago

The Python section list the 3rd dimensions wrongly. Correct would be: ['absent','level','altitude','elevation','reserved1','reserved2','custom1','custom2'] On the page the reserved dimensions are missing and level and altitude are switched by mistake.

Even though there is no support for 'reserved1' and 'reserved2' they need to be mentioned in order to make sense of the index returned by get_third_dimension(encoded_string)