dimaryaz / jdmtool

A command-line tool for downloading Jeppesen databases and programming Garmin aviation data cards aiming to be compatible with Jeppesen Distribution Manager.
Apache License 2.0
8 stars 0 forks source link

when reusing a thumbdrive .jdm is appended not replaced #8

Closed n251ea closed 1 month ago

n251ea commented 1 month ago

when writing an Avidyne database to a thumbdrive previously used, the previous .jdm file is not overwritten rather it is appened leaving both the previous and the current databases in the file.

both the obstacle and the navdata for the same cycle need to be in the same jdm file but previous cycles should be removed before writing.

dimaryaz commented 1 month ago

It should've removed the old version - but I realized I didn't try it - I only tested that obstacles don't remove navdata, so it's likely I have a bug.

Do you happen to know how IFD handles other regions? I.e., do they overwrite each other? Basically, I'm wondering if it should just overwrite anything with the same unique_service_id, or if it's more complicated.