8000 GitHub - Chris78/sl2decode: Decode Lowrance sl2 files to a human readable array of hashes using ruby
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Chris78/sl2decode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

sl2decode

Quickstart: Usage: ruby sl2decode.rb your_file.sl2

Thanks to GitHub user 'kmpm' for his preparatory work: https://github.com/kmpm/node-sl2format/blob/master/doc/sl2fileformat.md

The script will extract the data blocks from the binary sl2 file and will write a human readable textfile as output. The textfile is actually an inspection of the generated ruby array of hashes. In addition the exported textfile also contains the YAML export of the data. By now the script is writing a file in csv format. Change the format of the output-textfile to your own needs, the code is quite straight forward...

Uncomment more block attributes in the script to export them as well.

Since Lowrance has it's own Format for latitude and longitude, the script also converts the "lowrance_latitude" and "lowrance_longitude" into Google compatible coordinates. Thanks to http://wiki.openstreetmap.org/wiki/SL2 for the explanation on how to convert the coordinates.

Important Hint!

If you expect negative longitude values (decimal degrees) then uncomment line 88, since the conversion from "lowrance_longitude" into decimal coordinates works a bit different in that case.

I tested the script with my first sl2 chart that I recorded with a Lowrance Hook 4.

About

Decode Lowrance sl2 files to a human readable array of hashes using ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0