Re: [mkgmap-dev] address search problem due to required "State" value

So the address is the only problem? Update: I was able to read an MDR file in emacs. Now how to understand is the next challenge :) On Wed, Sep 16, 2009 at 6:07 PM, <charlie@cferrero.net> wrote:
Quoting maning sambale <emmanuel.sambale@gmail.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.
-- cheers, maning
FYI, my GPSMap76CSx usually shows City, Waypoint and Intersection search options for mkgmap-generated maps. Sometimes it shows other search options (e.g. Transport, Shopping) too. The precise set of options depends on the style-file I use (i.e. which types of feature make it through from OSM conversion to IMG file.
The City search (which I use most often) works fine, if a little slowly. The one difficulty I have had is that if you search for a place with an accent (e.g. Pézenas) you have to stipulate the accent when you search. This is a bit fiddly on my GPSr, but doable once you know that you should do it.
-- Charlie
-- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------

maning sambale wrote:
So the address is the only problem?
Update: I was able to read an MDR file in emacs. Now how to understand is the next challenge :)
Yup - understanding the MDR file is what a bunch of us are trying to do! See the wiki page for our accumulated wisdom(!) so far. An MDR file can evidently have various 'options' enabled. A good game would be to take a genuine Garmin MDR file and remove bits. Like you suggested earlier, Maning, it might be possible to find how to disable all but one "tab" of data in the MDR file, and allow us to concentrate on just that. Some of the sections of the MDR file are inter-dependant, but the rules are not yet known. It's going to be a bit like a game of "Mastermind" to discover those rules! Bernhard Heibler has done a bit of that. The MDR file is a binary file - I don't know much about those obsolete 20th century text-editors like emacs, but unless it can handle raw binary, you're stuffed. I write programs to explore the file format and I guess the other investigators do too. I work in "C", I don't know what the others do. It would be good idea to have a repository of these explorer programs in source-code format for others to pick up and get off the ground more quickly. Steve

On Wed, Sep 16, 2009 at 02:20:27PM +0100, Steve Hosgood wrote:
The MDR file is a binary file - I don't know much about those obsolete 20th century text-editors like emacs, but unless it can handle raw binary, you're stuffed.
It can, if you tame it appropriately. (Be sure to disable any input or output encoding.) Emacs even has hexl-mode for in-place editing of binary files. As far as I know, hexl-mode cannot insert or remove bytes, but you are probably interested in in-place editing at first.
I write programs to explore the file format and I guess the other investigators do too. I work in "C", I don't know what the others do. It would be good idea to have a repository of these explorer programs in source-code format for others to pick up and get off the ground more quickly.
Perl can be useful too, but you have to be careful not to produce write-only code. :-) Marko

Hi Steve, On Wed, Sep 16, 2009 at 02:20:27PM +0100, Steve Hosgood wrote: [...]
I write programs to explore the file format and I guess the other investigators do too. I work in "C", I don't know what the others do. It would be good idea to have a repository of these explorer programs in source-code format for others to pick up and get off the ground more quickly.
svn repos: http://svn.mkgmap.org.uk/display Mdr: http://svn.mkgmap.org.uk/display/trunk/src/test/display/MdrDisplay.java That's mostly Steve's decoder utilities. My findings for MDR are also in there. (I haven't commited all yet, I have some crude things still in my tree.) Elrond
participants (4)
-
Elrond
-
maning sambale
-
Marko Mäkelä
-
Steve Hosgood