Skip to content

rtlastra/Polyline-Go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Encode a polyline was taken from https://github.com/twpayne/go-polyline

Polyline-Go

This program take the locations of a text file and generate a encode polyline.

How to run

You need to have go installed, you can do it from https://golang.org/doc/install. Then you need to install the encoder packages typing in the cli 'go get github.com/twpayne/go-polyline' . Finally in the cli go to the program path and type 'go run work.go and the text file path'.

Demo

C:\Users\Rafael Lastra\Desktop\Polyline Go>go run work.go ./example.log
 output: qrqaGx|tpL??w@Yp@^Cm@h@p@u@Sp@m@y@Ls@Pa@z@WdAOfA]|@S`AOfA[jA]|@Zp@qASO]QeA?[r@_@b@`ANiAr@X}@hAy@BQu@KJz@x@k@u@n@c@i@n@^dA`@x@h@x@j@|@~@C|@GdAG~@Ex@?~@H`A?z@@t@Bx@Ar@Y|@k@j@o@j@s@EiAo@q@s@b@e@pAk@l@o@j@s@h@aLdMiA~@eAt@aAz@_Ax@{@~@w@`Aw@~@{@`Ay@`A{@bA{@`A}@bA_AfA}@jAy@nA{@nAu@lAq@rAo@rAo@rAs@xAq@xAm@xAe@tAk@rAg@tAm@zAq@zAq@zAo@rAw@xA{@pA}@rAeAhAcAjA_AdAaA`AgAx@aAx@cAn@{@j@oAt@oAp@qAl@oA\qANoANsA?uAE{AMyAM{AMwAIyA?}AHuATqAXqAd@mAj@iAn@gAx@eA~@eAbAaAlAcArAaAvAeAxAcA~AcAxAeA|AcAzAeAvAiArAkApAoAbAoA`AoAfAoAhAeAfAaApAeAtAaAtAcArA_AtAaAvAaAxAiA|AgAzAeAzAgAxAgA`BeA~AgAzAcAzAcAxAcAxAeArAkApAkAnAkAlAoAhAoAhAoAfAmAfAoAdAmAdAkAbAmAdAqAdAiAbAkAbAkAbAiAbAiA`AgA~@iA`AmA`AkAdAqAfAmAdAmAdAmAdAmAfAoA~@uAx@wAn@yAh@{Ab@aBTaBRcBHgBDw@?_DDgB?aBDaBDaBF_BBaBDcBD}A?_BA}AI_BIaBI}AMaBK}AK}AK}AMuAGwAM}AK_BK_BMaBGcBA_BAcBC}ACcBAeB?gBC}CK{C[aBWaBYcBWgBQcBIcBIcBBaBFcBPgB\eB\}A^{Cp@yCn@uCn@cB\cB^eB`@aB`@}A`@}A\w@NiB\iBTkBNiBNaBB_BCcBC

This output is generated by the example.log file

About

This program take the locations of a text file and generate a polyline.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages