Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoded PolyLine #15

Open
PazDak opened this issue Jan 2, 2020 · 4 comments
Open

Encoded PolyLine #15

PazDak opened this issue Jan 2, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@PazDak
Copy link

PazDak commented Jan 2, 2020

Fitness applications tend to use an Encoded Poly line to represent mapping and path data in a very compressed format. Leaflet, openmaps, and google have the capability to interact with encoded poly_line. I do not see a way to map that data from within Splunks Maps+

For instance this map would be generated with the below encoded PolyLine and a starting Lat Long or MGRS grid system.

https://developers.google.com/maps/documentation/utilities/polylineutility

lat = 45.08 long =-93.27

_qbrGjngxPlIElCE?h@Jf@Ej@?pAEn@?j@Fn@?hAIj@?TBRH\DlB?TEn@Yn@IrOIjEKn@DtF?l@B|D?v@CjCBvDCjG?r@@t@AxC?~C@dGErZ@zECdB?GKt@BdA?l@Cn@@d@CR@XEbB?|AKt@Bf@Ch@?NBpBCf@BhBEC@nAEfC?z@CrBCv@BdACh@BnAGFCnAChAB@ex@xC?v@Ar@GfAAdQFtR@h@GLEl@e@Xa@Vs@Zq@JOd@a@PEJDBD@PEnB@CElCEx@BHZZXJRA^InAe@^ErA?AFEHdDEjCHjACXBxC@f@DjAAr@Bz@?RIZ]JAtI?r@Cr@?jACzBB|@b^Gz@A@@jB?l@BzLAZEb@AnJ@n@ArAITBRJDHF\?|CDLFJJDHBpBBrAAfCHKCjBEn@GnA@r@DVDrBATCtE?b@EVKd@[@OrAaAj@Yr@g@l@_@VIr@k@ZKLFHP\vAVh@ZhADHFDF?rA_Ab@Kp@W~EwCRQvC_BzDaCJE|D_CFANIZWnBiAd@_@~BqAnBoAZ]\q@tCcKVg@X_@CqAxDaCz@a@n@c@XMzFmDh@W@MJ?HBZX~CtDx@vA@bAdAxCnFhP^@d@r@x@~Al@v@FABGLm@@adfb?JEZu@
Screen Shot 2020-01-02 at 10 10 14 AM

@sghaskell
Copy link
Owner

Hi @PazDak - Thanks for filing this ER. Let me look into what it would take to support encoded Polylines and I'll update this as I get more info.

@sghaskell sghaskell self-assigned this Jan 6, 2020
@sghaskell sghaskell added the enhancement New feature or request label Jan 6, 2020
@PazDak
Copy link
Author

PazDak commented Jan 8, 2020

Thanks,
I do have a python function that can convert it a series of Lat and Long addresses. I just confirmed that Google Maps and Leaflet both let you send the encoded directly to them though.

Would it be better to just store the extended version of [{lat,long}...] ?

@sghaskell
Copy link
Owner

I just confirmed that Google Maps and Leaflet both let you send the encoded directly to them though.

@PazDak - Where in the docs did you see Leaflet natively supports encoded polyline? I don't see it mentioned anywhere in their docs. The only support I see for it is through the Leaflet.encoded plugin.

@PazDak
Copy link
Author

PazDak commented Jan 8, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants