address search problem due to required "State" value

Several problems with Search by Address in Garmin Mobile XT reported by some of my users. " - unable to search for road names via Address Search option using Where to?" -> "Addresses" -Step 1 0f 5 in Address Search requires entry of "State", no state is listed and no matches found if the "Spell" option is used -unable to proceed with the following Address Search steps because of the said bug" In the Philippines and surely in other countries, we don't have "State". -- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------

Hi Maning,
Several problems with Search by Address in Garmin Mobile XT reported by some of my users.
" - unable to search for road names via Address Search option using Where to?" -> "Addresses" -Step 1 0f 5 in Address Search requires entry of "State", no state is listed and no matches found if the "Spell" option is used -unable to proceed with the following Address Search steps because of the said bug"
In the Philippines and surely in other countries, we don't have "State".
This is a known issue. Until the global index stuff is implemented I don't think it will be fixed. Cheers, Mark

Ok thanks for the info. On Fri, Aug 28, 2009 at 6:18 PM, Mark Burton<markb@ordern.com> wrote:
Hi Maning,
Several problems with Search by Address in Garmin Mobile XT reported by some of my users.
" - unable to search for road names via Address Search option using Where to?" -> "Addresses" -Step 1 0f 5 in Address Search requires entry of "State", no state is listed and no matches found if the "Spell" option is used -unable to proceed with the following Address Search steps because of the said bug"
In the Philippines and surely in other countries, we don't have "State".
This is a known issue. Until the global index stuff is implemented I don't think it will be fixed.
Cheers,
Mark _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------

Mark Burton wrote:
Hi Maning,
Several problems with Search by Address in Garmin Mobile XT reported by some of my users.
This is a known issue. Until the global index stuff is implemented I don't think it will be fixed.
Detectives wanted! Some or maybe all of the global index is in the .MDR file. Information on the this file is starting to appear on: http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/MDR_Subfile_Format There's a global sorted city-list appearing in the MDR5 and MDR6 sections. Great chunks of tables containing short bits of plaintext strings can be seen in MDR30/31 and MDR32/33, but as yet no tables have been found which glues those bits together to form postcodes, addresses or city-names. Contributors familiar with text-compression systems would be very welcome to look over it. You can rip an .MDR file out of an official Garmin .IMG (it isn't encrypted as such). More eyes on the job will increase the chance that someone gets lucky and spots crucial clues into how it all works. Join in please! Steve

Steve Hosgood wrote:
Mark Burton wrote:
Hi Maning,
Several problems with Search by Address in Garmin Mobile XT reported by some of my users.
This is a known issue. Until the global index stuff is implemented I don't think it will be fixed.
Detectives wanted!
Some or maybe all of the global index is in the .MDR file. Information on the this file is starting to appear on:
http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/MDR_Subfile_Format
There's a global sorted city-list appearing in the MDR5 and MDR6 sections.
Great chunks of tables containing short bits of plaintext strings can be seen in MDR30/31 and MDR32/33, but as yet no tables have been found which glues those bits together to form postcodes, addresses or city-names. Contributors familiar with text-compression systems would be very welcome to look over it.
You can rip an .MDR file out of an official Garmin .IMG (it isn't encrypted as such).
More eyes on the job will increase the chance that someone gets lucky and spots crucial clues into how it all works. Join in please!
Steve
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
I think there is also a difference between cgpsmapper maps with address search (like slovakia topo) or garmin own maps, as cgpsmapper homepage states that address search is only working if exporting via Mapsource as mapsource will create on exporting the address search index. Using sendmap it will not work. I don't think garmin's own maps have the same "annoyance". Address search is really the last "big" thing we're missing.

Hello, Being quite new here I would like to understand what is missing. My GPS is an etrex Vista. I generated a map of Michigan from OSM using mkgmap. If I go to Find > Addresses, I am able to search for adresses. I first search the street name (for example Jefferson Ave), then I go to street number and just hit OK. From that point I have a list of streets with cities that shows up. The things I have noticed: * If some ways are named similarly (Jeffersin Ave and Jefferson Blvd), all streets will show up if you select the first one. I f you select any other, the list will shoe "NONE FOUND". * Some streets do not show up in the correct city (maybe this is due to some bad OSM data) N. On Fri, Aug 28, 2009 at 1:08 PM, Felix Hartmann < extremecarver@googlemail.com> wrote:
[...]
Address search is really the last "big" thing we're missing.

Hi, Steve,
You can rip an .MDR file out of an official Garmin .IMG (it isn't encrypted as such).
More eyes on the job will increase the chance that someone gets lucky and spots crucial clues into how it all works. Join in please!
Steve
First, i'm not a coder. I have only small skills in doing that stuff, e.g. only enough to adapt a skript from someone else to my own requirements. Would it be helpful having the results from 2 runs of the same data, First without building the mdr stuff. Second run with build of mdr file ?. With Personal cgpsmapper version and and mp-format input file one could do this. If you are interested in it, i guess i could provide it. In this case it would be the best if you could provide a input data file as you need it for your research. cheers Gert

On Fri, Aug 28, 2009 at 03:45:28PM +0100, Steve Hosgood wrote:
Detectives wanted!
Some or maybe all of the global index is in the .MDR file. Information on the this file is starting to appear on:
http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/MDR_Subfile_Format
There's a global sorted city-list appearing in the MDR5 and MDR6 sections.
Great chunks of tables containing short bits of plaintext strings can be seen in MDR30/31 and MDR32/33, but as yet no tables have been found which glues those bits together to form postcodes, addresses or city-names. Contributors familiar with text-compression systems would be very welcome to look over it.
You can rip an .MDR file out of an official Garmin .IMG (it isn't encrypted as such).
More eyes on the job will increase the chance that someone gets lucky and spots crucial clues into how it all works. Join in please!
Is there any way of creating an MDR file ourselves? I mean probably with commercial software? It might be interesting to have an MDR with a single adresse, 2 adresses same city, 2 adresses samt street+city etc ... Guessing by difference is more efficient than to wade through half a gigabyte of data in an unknown format. Flo -- Florian Lohoff flo@rfc822.org "Es ist ein grobes Missverständnis und eine Fehlwahrnehmung, dem Staat im Internet Zensur- und Überwachungsabsichten zu unterstellen." - - Bundesminister Dr. Wolfgang Schäuble -- 10. Juli in Berlin

Hi, Florian,
Is there any way of creating an MDR file ourselves? I mean probably with commercial software? ... ... Flo -- Florian Lohoff
Personal version of cgpsmapper has the capability to create mapsets including the mdr-file if you want it. This version is available as a 30 days trial. The resulting mdr may be not 100% like Garmins original, but as far as i remember, its working fine. cheers Gert

Florian and Gert wrote in reply to my appeal:
On Fri, Aug 28, 2009 at 03:45:28PM +0100, Steve Hosgood wrote:
Detectives wanted!
Some or maybe all of the global index is in the .MDR file. All suggestions are welcome, but I don't have cGPSmapper nor a workable copy of MapSource.
So if you guys can try out your ideas and post observations here, or add to the information on the wiki it will all be very welcome. There is some information embedded in Steve Ratcliffe's well-known (and ancient) .java program that partly decodes .mdr files, not all of this is in the wiki yet. Specifically, Ratcliffe seems to have deciphered some way into the MDR10/11 blocks that allegedly contain POI lists and indexes - that stuff isn't on the wiki yet. Someone better than I at reading .java files might do it better and quicker (hint, hint!). I'm a C/C++ programmer myself. Other attack vectors would include decompiling MapSource and/or running it under a debugger to see what it does. To be sure we will expect to be playing "Mastermind" with .MDR files for quite a while I suspect, tweaking known-good Garmin versions and seeing what happens when you try and load Garmin GPS units with the tampered versions. It's all good fun. But seriously - the more the merrier. There's a *lot* of work here. Steve

Hi, Steve,
All suggestions are welcome, but I don't have cGPSmapper nor a workable copy of MapSource.
MAPSOURCE: There are 2 Ways to install Mapsource without having the Original-CD to yours fingertips: * 1.Possibility:* 1. Download current Trainingscenter <http://www8.garmin.com/support/download_details.jsp?id=835> from the Garmin-Homepage 2. Download current Mapsource-Update <http://www8.garmin.com/support/download_details.jsp?id=209> from the Garmin-Homepage 3. Install Traininscenter 4. Installl Mapsource Afterwards you have a full version of Mapsource including the Basemap from aus Trainingscenter. * 2. ***Possibility** *:* 1. rename Mapsource.exe to Mapsource.rar or Mapsource.zip 2. unzip 3. start main.msi 4. start Setup.exe 5. Install any available Mapset. Any free map should be ok Alternative you can take a demo map from garmin Produkts (because without al least 1 installed map, Mapsource won't start) Afterwards you have a full version of Mapsource on your PC. CGPSMAPPER: You can get a 30 days trial of Personal cgpsmapper (which includes routing + mdr stuff) from the cgpsmapper home page. Only a nagscreen is disturbing if you will run multiple datafiles in batchmode. cheers Gert

Gert Münzel wrote:
MAPSOURCE: There are 2 Ways to install Mapsource without having the Original-CD to yours fingertips:
We could really use a wiki page on stuff like this. I do have an apparently-OK copy of 'mapsource' but it won't start because I don't have an "installed map". I don't/didn't know how to get one (though I have a genuine Garmin map in .IMG format with my Streetpilot of course). Gert - you do offer a couple of clues how to get past this stage in your mail. Can I install my genuine .IMG file as an "installed map"? Steve

Steve Hosgood wrote:
Gert Münzel wrote:
MAPSOURCE: There are 2 Ways to install Mapsource without having the Original-CD to yours fingertips:
We could really use a wiki page on stuff like this. I do have an apparently-OK copy of 'mapsource' but it won't start because I don't have an "installed map". I don't/didn't know how to get one (though I have a genuine Garmin map in .IMG format with my Streetpilot of course). Gert - you do offer a couple of clues how to get past this stage in your mail.
Can I install my genuine .IMG file as an "installed map"?
If it is not locked easily - you will have to create tdb and so on with mkgmap (difficult) or gmaptool (easier) or mapsettoolkit (easiest but often not working), otherwise just choose any map from here which has a mapsource installer: http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/Download I have written a guide on how to start with Mapsource and OSM here on my homepage, of course you can exchange the map for any other. http://openmtbmap.org/tutorials/enbeginners-starting-guide-dewo-beginnen-tut...
Steve _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Steve, At Sun, Aug 30, 2009 at 11:29:16PM +0100, Steve Hosgood wrote:
We could really use a wiki page on stuff like this. I do have an apparently-OK copy of 'mapsource' but it won't start because I don't have an "installed map".
Yeah, that's a bit weird: I have one MapSource that does have the base map, the other doesn't. While both were installed through the trick with the training software... I guess it has something to do with the version for older OS'es and/or the "regular" version. (I'm running the former, because I'm running it under emulation software: Wine). Anyway, here's how to install a map: 1. Download mapsettoolkit from http://cypherman1.googlepages.com/ 2. start it. Now do the following: 3. Press "Install" 4. Choose your TDB file 5. For IMG file, choose the same name as your TDB file (if you have mkgmap.jar defaults, both would be 63240000). Now IIRC you press "install" and then you're done: your generated map is now in the list. You can exit mapsettoolkit and start mapsource. Best regards, Valentijn

Hi, Steve,
Can I install my genuine .IMG file as an "installed map"?
I think so but i guess this breacks copyrights law. I guess you have a CityNavigator on your streetpilot. If it's on a SD-Card you can take the gmapsupp.img and split it with the gmaptool(needs the free version of cgpsmapper) into a mapset. This can easily be installed in Mapsoure either via Mapsettoolkit or with the from gmaptool created install.bat. The biggest problem should be if you have a 25-sign-installationcode for this map or not. Probably not. There are keygens which can do the job but that breacks copyright law for shure. But may be you have a code. For installing a simple single .img you can follow Valentins instructions. You could do it also with gmaptool (but its a little more tricky, you have to split this single map into a Mapset, sounds crazy but it works.) A quick guide for the installtion with gmaptool you can find on opemmtbmap.org(needs the free version of cgpsmapper): Quickguide for Installtion with gmaptool <http://openmtbmap.org/tutorials/install/gmaptool-install-maps/> Cheers Gert

gmaptool can readout the key which is used for your unit from the gmapsupp. Gert Münzel wrote:
Hi, Steve,
Can I install my genuine .IMG file as an "installed map"?
I think so but i guess this breacks copyrights law. I guess you have a CityNavigator on your streetpilot. If it's on a SD-Card you can take the gmapsupp.img and split it with the gmaptool(needs the free version of cgpsmapper) into a mapset. This can easily be installed in Mapsoure either via Mapsettoolkit or with the from gmaptool created install.bat. The biggest problem should be if you have a 25-sign-installationcode for this map or not. Probably not. There are keygens which can do the job but that breacks copyright law for shure. But may be you have a code.
For installing a simple single .img you can follow Valentins instructions. You could do it also with gmaptool (but its a little more tricky, you have to split this single map into a Mapset, sounds crazy but it works.)
A quick guide for the installtion with gmaptool you can find on opemmtbmap.org(needs the free version of cgpsmapper): Quickguide for Installtion with gmaptool <http://openmtbmap.org/tutorials/install/gmaptool-install-maps/>
Cheers
Gert
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

The biggest problem should be if you have a 25-sign-installationcode for this map or not. Probably not. There are keygens which can do the job but that breacks copyright law for shure. But may be you have a code.
I have been able to use some maps on a PC with the code DEMO instead of the original code. This map would not be usable on a GPS unit iteslf (for the unit you would need the actual code). -- Aleksandar Topuzovic

Is it possible to implement global indexing incrementally? Looking at my mapsource, the "Find Places" has 4 tabs (city, feature, address, intersection). This is disabled when I am using mkgmap generated maps. Maybe we can focus first in creating the city search index first or address search and move on from there. [I honestly don't know how to do this, so disregard my message if it doesn't make sense]
You can rip an .MDR file out of an official Garmin .IMG (it isn't encrypted as such).
I have some mdr file from a cgpsmapper generated map. How can I "rip" them and send the output to. -- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------

Is it possible to implement global indexing incrementally? Looking at my mapsource, the "Find Places" has 4 tabs (city, feature, address, intersection). This is disabled when I am using mkgmap generated maps.
Maybe we can focus first in creating the city search index first or address search and move on from there.
This are my thoughts too. We have some basic knowledge of the format in the wiki. Has anyone tried to generate a mdr with the known sections and see what happens on mapsource or a gps unit. Is there a branch for the mdr development of mkgmap?

Hi On 19/09/09 12:43, Johann Gail wrote:
We have some basic knowledge of the format in the wiki. Has anyone tried to generate a mdr with the known sections and see what happens on mapsource or a gps unit.
Not as far as I know. But why don't we just start. I shall kick things off by creating the main files required. As there are a lot of different variations in the format, we should concentrate on one of the smallest known variations. It looks like you can create a file with only the sections: 1, 4, 5, 6, 7, 11, 15. I shall start off with a header size of 286. MDR 1: A reverse index from maps to the other sections. MDR 4: poi types, partially known MDR 5: Cities MDR 6: unknown, wiki claims it is a list of cities but I don't believe that MDR 7: Street names, optional as may be no streets MDR 11: POI's MDR 15: Strings MDR 1 points to a subsidiary header for each map, there are at least 8 subsections in this header, some of which I partially understand and I expect that all of them lead back into the other sections. It might also be useful to try for the on-device format as that is a smaller subset. ..Steve

Steve Ratcliffe wrote:
It looks like you can create a file with only the sections: 1, 4, 5, 6, 7, 11, 15. I shall start off with a header size of 286.
MDR 1: A reverse index from maps to the other sections. MDR 4: poi types, partially known MDR 5: Cities MDR 6: unknown, wiki claims it is a list of cities but I don't believe that
I wrote that bit of the wiki, and for me at least it's true. This is deduced from an NT map, with a record-length of 3 bytes. I wrote a program to grovel the MDR file, comparing MDR5 with MDR6 and it all panned out over something like 14000 entries. A bit of a fluke if the underlying assumptions weren't true!
MDR 7: Street names, optional as may be no streets MDR 11: POI's MDR 15: Strings
MDR 1 points to a subsidiary header for each map, there are at least 8 subsections in this header, some of which I partially understand and I expect that all of them lead back into the other sections.
NT maps (with MDR1 using a record-length of 4 bytes) seems to be listing the GMP subtile files. I hear that there are 8 bytes variants - don't know about them. It sounds like a good idea at least to try generating MDR files though - go for it! Steve

On Mon, Sep 21, 2009 at 05:03:19PM +0100, Steve Hosgood wrote: [...]
NT maps (with MDR1 using a record-length of 4 bytes) seems to be listing the GMP subtile files. I hear that there are 8 bytes variants - don't know about them.
The 8byte are used in mapsource. Elrond

On 21/09/09 17:03, Steve Hosgood wrote:
MDR 1: A reverse index from maps to the other sections. MDR 4: poi types, partially known MDR 5: Cities MDR 6: unknown, wiki claims it is a list of cities but I don't believe that
I wrote that bit of the wiki, and for me at least it's true. This is deduced from an NT map, with a record-length of 3 bytes. I wrote a
Yea, the big problem is that there is not just one format, I've no idea about NT, but there are multiple different header sizes and record sizes possible. Also there is a big difference between the full format as it comes with a map for mapsource, and the format when it transformed and put inside the gmapsupp. In fact I've just looked at the on device version of MDR 6 and the records are three bytes and there does appear to be a map index as the first byte, which is entirely different from the mapsource version. Its all useful, but you need to be clear on what exactly you are documenting. I'm planning to do the full version first, but if that doesn't pan out I may try for the on device version. Clearly we want both eventually.
NT maps (with MDR1 using a record-length of 4 bytes) seems to be listing the GMP subtile files. I hear that there are 8 bytes variants - don't know about them.
OK 4 byte records in MDR1 is the on device format, so I guess that confirms that you are working from a map on a GPS device?
It sounds like a good idea at least to try generating MDR files though - go for it!
So far I have a test mdr with a country, region and a city, but no luck getting it to work so far though. ..Steve

Steve Ratcliffe wrote:
On 21/09/09 17:03, Steve Hosgood wrote:
MDR 1: A reverse index from maps to the other sections. MDR 4: poi types, partially known MDR 5: Cities MDR 6: unknown, wiki claims it is a list of cities but I don't believe that
I wrote that bit of the wiki, and for me at least it's true. This is deduced from an NT map, with a record-length of 3 bytes. I wrote a
Yea, the big problem is that there is not just one format, I've no idea about NT, but there are multiple different header sizes and record sizes possible. Also there is a big difference between the full format as it comes with a map for mapsource, and the format when it transformed and put inside the gmapsupp.
Why do you try to go for NT format? Address search worked very well with non NT maps too. cpgsmapper also makes classic non NT maps. The only advantage of the NT format is that is smaller from what I notice on using it. On the other hand NT maps are much much slower. It is probably easier to start looking at non NT maps with address search. At least non NT maps are not needed to be transformed when sent to GPS.
In fact I've just looked at the on device version of MDR 6 and the records are three bytes and there does appear to be a map index as the first byte, which is entirely different from the mapsource version.
Its all useful, but you need to be clear on what exactly you are documenting. I'm planning to do the full version first, but if that doesn't pan out I may try for the on device version. Clearly we want both eventually.
NT maps (with MDR1 using a record-length of 4 bytes) seems to be listing the GMP subtile files. I hear that there are 8 bytes variants - don't know about them.
OK 4 byte records in MDR1 is the on device format, so I guess that confirms that you are working from a map on a GPS device?
It sounds like a good idea at least to try generating MDR files though - go for it!
So far I have a test mdr with a country, region and a city, but no luck getting it to work so far though.
..Steve
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

On 21/09/09 19:12, Felix Hartmann wrote:
Why do you try to go for NT format? Address search worked very well with non NT maps too. cpgsmapper also makes classic non NT maps.
In case it wasn't clear I am going for the classic format, like everything else in mkgmap, and not for the NT format. I've no idea what the mdr looks like in NT and of course if it is vastly different then it will not help the current effort.
It is probably easier to start looking at non NT maps with address search. At least non NT maps are not needed to be transformed when sent to GPS.
The maps aren't, but the MDR is. Many parts of it are left out. ..Steve

On Mon, Sep 21, 2009 at 07:26:39PM +0100, Steve Ratcliffe wrote: [...]
I've no idea what the mdr looks like in NT and of course if it is vastly different then it will not help the current effort.
MDR-for-NT and MDR-for-nonNT look quite close, it seems. MDR-for-NT has just some things more than the MDR-for-nonNT. But you're right: The wiki should document more closely, what parts were found on what kind of map. ( ) non-NT, for mapsource ( ) non-NT, for device ( ) NT, for mapsource ( ) NT, for device This should really help us to find out, what we need. Steve, why didn't you start on the for-device one first, it seems to have lots fewwer things needed, so we should arrive at "might work" or "might improve *something*" close? Elrond

Hello, Excuse my ignorance here but what does NT stand for? Thanks, N.

it stands for "New Technology", a format that is foremost used by Garmin "City Navigator / CN " maps and I think some other "Road" maps. Not compatible with very old (say older 3-4 years) Garmin GPS. Nakor wrote:
Hello,
Excuse my ignorance here but what does NT stand for?
Thanks,
N. ------------------------------------------------------------------------
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Felix Hartmann wrote:
Steve Ratcliffe wrote:
On 21/09/09 17:03, Steve Hosgood wrote:
MDR 1: A reverse index from maps to the other sections. MDR 4: poi types, partially known MDR 5: Cities MDR 6: unknown, wiki claims it is a list of cities but I don't believe that
I wrote that bit of the wiki, and for me at least it's true. This is deduced from an NT map, with a record-length of 3 bytes. I wrote a
Yea, the big problem is that there is not just one format, I've no idea about NT, but there are multiple different header sizes and record sizes possible. Also there is a big difference between the full format as it comes with a map for mapsource, and the format when it transformed and put inside the gmapsupp.
I didn't know that, but it's all in need of documentation eventually. You're right though Steve - the wiki needs the sections talking about individual MDRs to specify more clearly what the record-size is, and maybe the other 4-byte value from the header too - the one tentatively marked "flags" or "?".
Why do you try to go for NT format? Because that's all I've got. At the time I started, I didn't realise there was anything unusual about the map I have (it's the one that came with my Streetpilot).
As for NT maps being slower - well it seems that they're using compression on the postcode, street-name and city lists. I can imagine that there's a speed penalty. Steve.

Excellent progress! I mentioned before I don't get much of this hexa engineering. But I have several mdr files for anyone to look into. I anyone interested? Where do I dump them? On Tue, Sep 22, 2009 at 4:52 PM, Steve Hosgood <steve@tallyho.bc.nu> wrote:
Felix Hartmann wrote:
Steve Ratcliffe wrote:
On 21/09/09 17:03, Steve Hosgood wrote:
MDR 1: A reverse index from maps to the other sections. MDR 4: poi types, partially known MDR 5: Cities MDR 6: unknown, wiki claims it is a list of cities but I don't believe that
I wrote that bit of the wiki, and for me at least it's true. This is deduced from an NT map, with a record-length of 3 bytes. I wrote a
Yea, the big problem is that there is not just one format, I've no idea about NT, but there are multiple different header sizes and record sizes possible. Also there is a big difference between the full format as it comes with a map for mapsource, and the format when it transformed and put inside the gmapsupp.
I didn't know that, but it's all in need of documentation eventually. You're right though Steve - the wiki needs the sections talking about individual MDRs to specify more clearly what the record-size is, and maybe the other 4-byte value from the header too - the one tentatively marked "flags" or "?".
Why do you try to go for NT format?
Because that's all I've got. At the time I started, I didn't realise there was anything unusual about the map I have (it's the one that came with my Streetpilot).
As for NT maps being slower - well it seems that they're using compression on the postcode, street-name and city lists. I can imagine that there's a speed penalty.
Steve.
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------

On 24/09/09 12:32, maning sambale wrote:
Excellent progress! I mentioned before I don't get much of this hexa engineering. But I have several mdr files for anyone to look into. I anyone interested? Where do I dump them?
Thanks, but have plenty. There are any number of free maps at mapcenter2[1]. I have started the new branch and will shortly check in code to generate (mostly) empty files directly from mkgmap. ..Steve [1] http://mapcenter2.cgpsmapper.com/ (down as I write this;)
participants (12)
-
Aleksandar
-
Elrond
-
Felix Hartmann
-
Florian Lohoff
-
Gert Münzel
-
Johann Gail
-
maning sambale
-
Mark Burton
-
Nakor
-
Steve Hosgood
-
Steve Ratcliffe
-
Valentijn Sessink