rahra / parsefsh

Decoding Raymarine's ARCHIVE.FSH files, Garmin's IMG/ADM archives and the TRK subfiles.
GNU General Public License v3.0
9 stars 6 forks source link

Convert GPX/Geojson into FSH file #5

Open SeriesOfUnlikelyExplanations opened 1 year ago

SeriesOfUnlikelyExplanations commented 1 year ago

Hi - is this project able to convert a GPX/Geojson file into an archive.fsh file? I'm interested in building a route in a different software (like google earth or GaiaGps) and converting it to an FSH file so I can load it onto my C80.

I was looking at something like this - https://forum.raymarine.com/showthread.php?tid=3461 - but the Voyage planner software is terrible and I would like to bypass it.

rahra commented 1 year ago

No. I only implemented FSH to GPX. But one could easily write such a program. Everything is known that has to be known to do so.

SeriesOfUnlikelyExplanations commented 1 year ago

I'd love to try - unfortunately, I don't know any C. Any chance you could help me get started?

rahra commented 1 year ago

Well, you don't have to write it necessarily in C although it would be handy because all structures are already defined within this project. I documented the file full format in the OpenStreetMap-Wiki (https://wiki.openstreetmap.org/wiki/ARCHIVE.FSH). It explains almost every byte and every detail of the file format. Using this you should be able to write an xxx-to-FSH converter in any language you like.