Question to address search

Hi! Yes, I know, that this is already buggy, but I'd like to understand, in which way ... (Or how to work around) I tried on several maps, a small one, that contains just Munich (there I could not find bugs concerning the address search), but also larger areas like upper Bavaria or Bavaria. There it seems to be dependent from where I am. A road which is nearby can be found, but not one that is farer away. A little bit it seemed to me as if just addresses can be found on large maps that are south or southeast from my current postition. Dani

On 03/13/2010 11:04 PM, Daniela Duerbeck wrote:
I tried on several maps, a small one, that contains just Munich (there I could not find bugs concerning the address search), but also larger areas like upper Bavaria or Bavaria. There it seems to be dependent from where I am. A road which is nearby can be found, but not one that is farer away.
You can first search for the city in the city search. Then you can search for the street with the "near here" search.

Ralf Kleineisel wrote:
On 03/13/2010 11:04 PM, Daniela Duerbeck wrote:
I tried on several maps, [...] it seems to be dependent from where I am. A road which is nearby can be found, but not one that is farer away.
You can first search for the city in the city search. Then you can search for the street with the "near here" search.
As far as I can see (with a Streetpilot i3) the street-search offered after you select a 'city' will only find streets within about 500m of the "place=city/town/whatever" marker. ( This is using a single-tile map straight from mkgmap. ) Currently, mkgmap's output .IMG file doesn't include an .MDR file (which is a kind of master-index). You *can* get mkgmap to generate an .MDR file, but it's the "wrong sort" for direct use in a Garmin GPS unit. What you have to do is to feed mkgmap's .IMG file and the matching .MDR file into 'mapsource' and get it to download the maps to the GPS unit. Allegedly, that makes the street-searching work properly. I have made a start on writing a stand-alone program to do what 'mapsource' does to convert the .MDR file to one that will work with the in-car units. However, I have a job and a family and cannot put the hours into the project that maybe I'd like. I do have some progress. But of course it's not just about writing a program, it's about deciphering the format of the .MDR file at the same time. I tend to write up my findings on the .MDR file on the wiki at http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/MDR_Subfile_Format Anyone else with knowledge of the file format is encouraged to join in! Steve

Anyone else with knowledge of the file format is encouraged to join in!
Steve
Hi Steve, I have just started to have a look on the internals of the garmin fileformat. The wiki (http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/Format) tells me that there are the formats TRE NOD MDR SRT GMP DEM The documentation of the garmin-img sourceforge project also mentions the formats not yet documented in the wiki: LBL RGN NET I think LBL is the file in which the labels are stored in a non searchable format. And MDR contains the same information like LBL but it is searchable. Am I right? It would be good if you can put your current knowledge to the wiki. Hopefully this will help to make progress to this long outstanding and highly demanded feature. WanMil

Hi Steve,
I have just started to have a look on the internals of the garmin fileformat. The wiki (http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/Format) tells me that there are the formats TRE NOD MDR SRT GMP DEM
The documentation of the garmin-img sourceforge project also mentions the formats not yet documented in the wiki: LBL RGN NET
I think LBL is the file in which the labels are stored in a non searchable format. And MDR contains the same information like LBL but it is searchable. Am I right?
I don't know the internal format of the subfiles. But here is my overall understanding of the files. As far as I know, LBL contains labels for each map object. Its like a list of strings. Each map object points with an index to an entry of the LBL file. The MDR works the oposite direction. It contains chopped and sorted fragments of adress data, optimized for searching and input auto completion with least effort. The result is an index into the map object lists (or a coordinate?). So yes, it contains more or less the same data, but the using is different.

WanMil wrote:
Hi Steve,
I have just started to have a look on the internals of the garmin fileformat. The wiki (http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/Format) tells me that there are the formats TRE NOD MDR SRT GMP DEM
The documentation of the garmin-img sourceforge project also mentions the formats not yet documented in the wiki: LBL RGN NET
I think LBL is the file in which the labels are stored in a non searchable format. And MDR contains the same information like LBL but it is searchable. Am I right?
It would be good if you can put your current knowledge to the wiki.
WanMil - My current knowledge (or at least 95% of it) is already on the wiki! That's the whole idea - to allow others to pick up on it and to join in. Most of my own contributions have been to the MDR file page and the SRT file page as you'll see from the 'history' tabs of both of them. Please note that these pages are *not* wikipedia! Quite a bit of the information is highly speculative, there are great big missing bits and all we can say is that "this is the best we know so far". You are right that the LBL, RGN and NET files have not even got pages started yet, though quite a bit is known about those file formats as mkgmap writes them. But writing those wiki pages takes time and effort. The primary authors of mkgmap are putting their work into actual coding (which is great) so it's up to others to get going on documentation. My interest in MDR is because I'd like the address-searching features to work better than they do, and this is an aspect of mkgmap that isn't really written properly yet. Some of it works, and MDR files can be produced using mkgmap followed by mapsource. I'm trying to take mapsource out of the loop.
Hopefully this will help to make progress to this long outstanding and highly demanded feature.
The more of us there are working on it, the better! Steve

WanMil wrote:
Hi Steve,
I have just started to have a look on the internals of the garmin fileformat. The wiki (http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/Format) tells me that there are the formats TRE NOD MDR SRT GMP DEM
The documentation of the garmin-img sourceforge project also mentions the formats not yet documented in the wiki: LBL RGN NET
I think LBL is the file in which the labels are stored in a non searchable format. And MDR contains the same information like LBL but it is searchable. Am I right?
It would be good if you can put your current knowledge to the wiki.
WanMil - My current knowledge (or at least 95% of it) is already on the wiki! That's the whole idea - to allow others to pick up on it and to join in. Most of my own contributions have been to the MDR file page and the SRT file page as you'll see from the 'history' tabs of both of them. Steve, I think I misunderstood your email: "I tend to write up my findings on the .MDR file on the wiki". I just wanted to bear you out in writing things down to the wiki. You've already done that so that's superfluous.
Please note that these pages are *not* wikipedia! Quite a bit of the information is highly speculative, there are great big missing bits and all we can say is that "this is the best we know so far".
(sometimes wikipedia is also quite speculative.....:-)
You are right that the LBL, RGN and NET files have not even got pages started yet, though quite a bit is known about those file formats as mkgmap writes them. But writing those wiki pages takes time and effort. The primary authors of mkgmap are putting their work into actual coding (which is great) so it's up to others to get going on documentation.
My interest in MDR is because I'd like the address-searching features to work better than they do, and this is an aspect of mkgmap that isn't really written properly yet. Some of it works, and MDR files can be produced using mkgmap followed by mapsource. I'm trying to take mapsource out of the loop.
Can you say some words about the status of the display project (http://svn.parabola.me.uk/display)? Does it contain the latest information about the file format or does it need some update? The revision 229 is quite old. I am just looking for a good start point where I can get in contact with the garmin file format.
Hopefully this will help to make progress to this long outstanding and highly demanded feature.
The more of us there are working on it, the better! Steve
Let's light up the rest of the unknown bits! WanMil
participants (5)
-
Daniela Duerbeck
-
Johann Gail
-
Ralf Kleineisel
-
Steve Hosgood
-
WanMil