Can mkgmap be used to read back in IMG files?

Hi, I'm wondering if mkgmap can be used the other way around, given an IMG file, extract the road network from it and perform routing operations? Looking at the code it seems to be a full implementation of the IMG filesystem which includes both reading and writing. Is this true? The main thing I want to know: Can I extract the road network (and routing information) from a Garmin IMG file, and use it in an OSM routing engine for example? Kind Regards, Jarno Le Conté

Hi Jarno, the source contains routines to read the img file, but I have no idea how much work it would be to convert that information into OSM format. Note also that mkgmap cannot read the newer NT format. Gerd ________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Jarno Le Conté <jarno.leconte@me.com> Gesendet: Sonntag, 10. Juli 2016 14:42:37 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: [mkgmap-dev] Can mkgmap be used to read back in IMG files? Hi, I'm wondering if mkgmap can be used the other way around, given an IMG file, extract the road network from it and perform routing operations? Looking at the code it seems to be a full implementation of the IMG filesystem which includes both reading and writing. Is this true? The main thing I want to know: Can I extract the road network (and routing information) from a Garmin IMG file, and use it in an OSM routing engine for example? Kind Regards, Jarno Le Conté _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Thank you for your reply. Good to know the newer NT can't be read.
Op 10 jul. 2016 om 14:50 heeft Gerd Petermann <GPetermann_muenchen@hotmail.com> het volgende geschreven:
Hi Jarno,
the source contains routines to read the img file, but I have no idea how much work it would be to convert that information into OSM format.
Note also that mkgmap cannot read the newer NT format.
Gerd
Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Jarno Le Conté <jarno.leconte@me.com> Gesendet: Sonntag, 10. Juli 2016 14:42:37 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: [mkgmap-dev] Can mkgmap be used to read back in IMG files?
Hi,
I'm wondering if mkgmap can be used the other way around, given an IMG file, extract the road network from it and perform routing operations? Looking at the code it seems to be a full implementation of the IMG filesystem which includes both reading and writing. Is this true?
The main thing I want to know: Can I extract the road network (and routing information) from a Garmin IMG file, and use it in an OSM routing engine for example?
Kind Regards, Jarno Le Conté _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (2)
-
Gerd Petermann
-
Jarno Le Conté