Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
11.0
11.1
11.2
11.3
11.4
11.5
12.0
12.1
12.2
12.3
Statistic
FMM
Blog
Math.PolylineDecode
Decodes number from Polyline Algorithm Format.
Component | Version | macOS | Windows | Linux | Server | iOS SDK | License |
Math | 9.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | Paid |
MBS( "Math.PolylineDecode"; Text ) More
Parameters
Parameter | Description | Example |
---|---|---|
Text | The coordinate value to decode. | "~ps|U" |
Result
Returns number or error.
Description
Decodes number from Polyline Algorithm Format.We decode the number stored in the given text and return the numeric value.
Precision is just 5 digits after comma.
See
https://developers.google.com/maps/documentation/utilities/polylinealgorithm
Examples
Decode a number:
MBS("Math.PolylineDecode"; "~ps|U")
Example result: -120.20
See also
Release notes
- Version 9.2
- Added Math.PolylineEncode and Math.PolylineDecode functions for Google's Encoded Polyline Algorithm Format.
Blog Entries
- Was gibt es neues bei MBS Version 9.2
- MBS FileMaker Plugin, version 9.2pr1
- Encoded Polyline Algorithm Format
Created 31st March 2019, last changed 31st March 2019
Math.PixelToMillimeter - Math.PolylineEncode
Feedback: Report problem or ask question.
