Mobile GMaps Home Page
 FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups   RegisterRegister  
 ProfileProfile    Log in to check your private messagesLog in to check your private messages    Log inLog in 

China Sat/Map offset fix for offline map

 
Post new topic   Reply to topic   printer-friendly view    MGMaps Forum Index -> GPS Problems and Suggestions
View previous topic :: View next topic  
Author Message
bbatbayar
Junior


Joined: 30 Nov 2010
Posts: 5

Phone Type: Nokia 5800 XpressMusic

PostPosted: Tue Jan 31, 2012 8:16 am    Post subject: China Sat/Map offset fix for offline map Reply with quote

Hi,

I just developed a software, which calibrates Sat and Map tiles.
I waited for a long time the Google fix the offset problem on MAP of China region, and decided to fix it my way for my own use. And here is the result.

Software has following restrictions:
- *.mgm files must be 1 tile per mgm file.
- You must have GoogleSat and GoogleMap tiles of same zoom in the MGMapsCache folder.

Using the soft is simple.
First, point to the MGMapsCache folder, which contains GoogleSat and GoogleMap folders, and select zoom from trackbar and click LOAD button.
Software loads and converts SAT files into JPEG, MAP files into PNG.
Now you select the comfortable SAT tile to calibrate (select reasonable point from the SAT tile, junction or statue or bridge etc) and pinpoint the calibration point.
Once you select the SAT tile, 3x3 MAP tile of the selected SAT tile will be displayed. You must pinpoint the calibration point on the MAP.
Offset section (lower-left corner) will display offset between SAT and MAP in pixel. Memorize the offsets.
Do not forget to click the OK buttons, otherwise calculation will not be accurate. OK button moves the SAT and MAP ticks.
Now put zeroes into SAT tick offset windows, and put the offsets you memorized into the MAP tick offset windows. Do not forget the OK buttons!
Now click on the CALIBRATE button and that is it. Software calibrates (moves MAP according to the offsets) and saves the tiles into *.mgm files.

I included source code, so other people use it and develop better application and SHARE!!!

Good luck, hope it helped you.

Sorry for my bad English, I'm having a pain in the ass to write it down, just like you having one while you reading it Very Happy

To Admin: I do not know if it is legal or not, so if it is illegal, delete my post.



Calibrate.zip
 Description:
Executable

Download
 Filename:  Calibrate.zip
 Filesize:  550.83 KB
 Downloaded:  1831 Time(s)


Calibrate_Src.zip
 Description:
Source code DELPHI 2010

Download
 Filename:  Calibrate_Src.zip
 Filesize:  596.63 KB
 Downloaded:  1648 Time(s)

Back to top
View user's profile Send private message
bbatbayar
Junior


Joined: 30 Nov 2010
Posts: 5

Phone Type: Nokia 5800 XpressMusic

PostPosted: Thu Feb 09, 2012 2:35 pm    Post subject: Re: China Sat/Map offset fix for offline map Reply with quote

Just arrived from Beijing today.
Before the trip I fixed the offline maps of the Beijing and copied to my phone. When I started the MGMaps in Beijing, I saw satellite and road maps overlay perfectly.
Now I can say I will navigate in China without problems Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MGMaps Forum Index -> GPS Problems and Suggestions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
MGMaps topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group