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

Any plans to develop it further? #1

Open
sookoll opened this issue Mar 6, 2020 · 5 comments
Open

Any plans to develop it further? #1

sookoll opened this issue Mar 6, 2020 · 5 comments

Comments

@sookoll
Copy link

sookoll commented Mar 6, 2020

Do You have plans to develop it further? For example convert img data to GeoJSON?

@TomasHubelbauer
Copy link
Owner

I'd love to, but I don't see that happening in the near future. It's down my priority list. Keeping this issue open for when I get to it.

@sookoll
Copy link
Author

sookoll commented Mar 6, 2020

Understood. I haven't read image format documentation yet, but where I should start if I want to try to get some geometries out of it?

@TomasHubelbauer
Copy link
Owner

I wish I could remember if I found documentation for the file format or not, maybe Wikipedia has a good entry? You'll definitely need some example IMG files and a hex editor. I didn't like any available so I built my own. I didn't inspect the source code of other open source software that can read Garmin because I was mainly doing this for fun, but for sake of efficiency, you probably should if you want to get results out. Unfortunately I never implemented the actual geometry calculations, mostly parsing things to structures, so my code won't be that much help. ☹️

@sookoll
Copy link
Author

sookoll commented Mar 6, 2020

Ok, thanks. You did found some documentation though:

// https://github.com/jerome077/gpsvp/blob/master/doc/imgformat.pdf

I don't have clear need for this also, but I consider at one point in the past making offline web app with openlayers and then I thought that one solution for offline basemap could be garmin image, as it is fairly small in size. But back then, there wasn't anything available in JS, that could parse Garmin format.

@TomasHubelbauer
Copy link
Owner

Good, I wasn't sure if it was for Garmin or some other format, but I knew there was some PDF somewhere. 🙂 I had the exact same motivation with this actually! Please keep me posted with your progress, I'd love for this to become a thing.

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

No branches or pull requests

2 participants