Have you ever wondered why Navitel maps are mostly unsearchable by Street names when you convert maps from the polish format or from the Img format to the Navitel format by GPS MapEdit? The reason quite is simple. For maps to be searchable in Navitel it needs a line called STREETDESC and another line called HOUSENUMBER=- in the polish format (.mp) before it is converted to the Navitel format
For Example,
This street is searchable in Navitel format
[POLYLINE]
Type=0x6
Label= Newton
StreetDesc= Newton
HouseNumber=-
CityIdx=1
But this Street is not Searchable
[POLYLINE]
Type=0x6
Label= Newton
CityIdx=1
So how do we make the Navitel maps searchable. Simple
(1) You just need to add StreetDesc= and HouseNumber=-
(2) Add whatever is in the Label line to the StreetDesc=- line
e.g, add Newton which is the street to StreetDesc=- and it becomes perfectly searchable
However there is a little problem. It can take you the whole day or even week to start adding this lines one by one to all streets. This means a tool is needed to automatically do this
Luckily there is a toll called STREETDESC Converter. The credit for this tool goes to OCTAVIA
Therefore to convert the whole map with StreetDesc converter you need to do a little work
Download StreetDesc Converter here
- Code: Select all
http://sharecash.org/download.php?file=2480985
You need a powerful text editor like ultraedit. The trial version is good enough. Just google and download
You also need GPS MapEdit
After opening your .IMG map with MapEdit, save it in the polish format (.mp)
change the name to source.mp and use it to replace the source.mp that is already in the StreetDesc Converter folder. Now Open an ultredit and save and empty file as q.mp (in a polish format) use it to replace the q.mp in the StreetDesc converter folder.
Now run the "start" file in the conveter folder.
It will run in dos mode and StreetDesc is automatically added after all labels with label value copied to it.
Your new polish map is now the one name q.mp. copy it and rename it to whatever you want.
Note: When you click the "start" file as you want to convert to StreetDesc, you may get an error message in the dos mode. Look at the line causing the error, and open you source.mp again with ultraedit and delete that line. It means Navitel does not need it. Go back and click start and it will convert as far as you have deleted lines causing error
Now open it with ultraedit (Remember HouseNumber=- has not been added)
Go to find and replace in ultraedit
Enter
^pStreetDesc=
As what you want to replace
Now enter
^pHouseNumber=-^pStreetDesc=
As what you want to replace it with
This means that any where there is StreetDesc= line in the map, ultraedit puts another line called HouseNumber=- before it. That does the magic
Now save you map with ultraedit as .mp, open with MapEdit, and save as Navitel map
Wowza! your Navitel map is now searchable
CREDIT FOR THIS POWERFUL TOOL GOES TO OCTAVIAN from Navitel Asia