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 

Gmapmaker mgm bug

 
Post new topic   Reply to topic   printer-friendly view    MGMaps Forum Index -> Developer Forum
View previous topic :: View next topic  
Author Message
humandxp
Junior


Joined: 07 Apr 2009
Posts: 3

Phone Type: Unknown

PostPosted: Tue Apr 07, 2009 4:38 pm    Post subject: Gmapmaker mgm bug Reply with quote

there is bug in gmapmaker, if we have full mgm file with 256 tiles it sets 6 bytes of index and position, overwriting %PNG CR LF 6 bytes at 0x602.
im coding now a little spliter and merger to mgm files, so i can use pngoptimizer on it to make maps little smaller.

well after split and merge, file is smaller seems mgm has 257 png files.
Back to top
View user's profile Send private message
Cristian Streng
Founder


Joined: 28 Oct 2005
Posts: 4585

Phone Type: (many)

PostPosted: Sat May 02, 2009 9:48 am    Post subject: Re: Gmapmaker mgm bug Reply with quote

humandxp wrote:
there is bug in gmapmaker, if we have full mgm file with 256 tiles it sets 6 bytes of index and position, overwriting %PNG CR LF 6 bytes at 0x602.
im coding now a little spliter and merger to mgm files, so i can use pngoptimizer on it to make maps little smaller.

well after split and merge, file is smaller seems mgm has 257 png files.

I can't replicate this problem with the latest gMapMaker... can you send your .map file (or the area entered manually) and let us know what version of gMapMaker you were using?
Back to top
View user's profile Send private message Visit poster's website
bjlei
Newbie


Joined: 06 May 2009
Posts: 2

Phone Type: Unknown

PostPosted: Wed May 06, 2009 7:47 am    Post subject: Reply with quote

I also found a small bug in gMapMaker.
I can't download the map if I choose Google Road Maps (China). I'm a Chinese student. In fact, gMapMaker can create the folders but downloads nothing. I think a paramer should be changed in gMapMaker Program. Maybe the download location (Domain Name) is not correct.
Back to top
View user's profile Send private message
humandxp
Junior


Joined: 07 Apr 2009
Posts: 3

Phone Type: Unknown

PostPosted: Thu May 07, 2009 9:56 pm    Post subject: Reply with quote

here are my map files. i used newest 0.7.2.2
and GoogleMap_11\71_42.mgm
has 257 png instead of 256, and 1st png header is screwed



mapfiles.rar
 Description:

Download
 Filename:  mapfiles.rar
 Filesize:  5.15 KB
 Downloaded:  1267 Time(s)

Back to top
View user's profile Send private message
Cristian Streng
Founder


Joined: 28 Oct 2005
Posts: 4585

Phone Type: (many)

PostPosted: Sat May 09, 2009 9:26 am    Post subject: Reply with quote

bjlei wrote:
I also found a small bug in gMapMaker.
I can't download the map if I choose Google Road Maps (China). I'm a Chinese student. In fact, gMapMaker can create the folders but downloads nothing. I think a paramer should be changed in gMapMaker Program. Maybe the download location (Domain Name) is not correct.

See http://forum.mgmaps.com/viewtopic.php?p=13101#13101, we'll fix it in the upcoming gMapMaker version.
Back to top
View user's profile Send private message Visit poster's website
Cristian Streng
Founder


Joined: 28 Oct 2005
Posts: 4585

Phone Type: (many)

PostPosted: Sat May 09, 2009 9:27 am    Post subject: Reply with quote

humandxp wrote:
here are my map files. i used newest 0.7.2.2
and GoogleMap_11\71_42.mgm
has 257 png instead of 256, and 1st png header is screwed

OK, can you tell me which of those .map files did you download -- if there were several, in which order? I'd like to recreate the steps in order to find the bug...
Back to top
View user's profile Send private message Visit poster's website
humandxp
Junior


Joined: 07 Apr 2009
Posts: 3

Phone Type: Unknown

PostPosted: Sat May 09, 2009 7:42 pm    Post subject: Reply with quote

well just polska.map due other are levels 12-17
you can replace in polska.map 05-11: into 11-11: only to speedup process, then in about 12% of all tasks 71_42.mgm is full and screwed.
and we have 257 png files inside instead of max 256
Back to top
View user's profile Send private message
Cristian Streng
Founder


Joined: 28 Oct 2005
Posts: 4585

Phone Type: (many)

PostPosted: Sun May 10, 2009 11:03 am    Post subject: Reply with quote

humandxp wrote:
well just polska.map due other are levels 12-17
you can replace in polska.map 05-11: into 11-11: only to speedup process, then in about 12% of all tasks 71_42.mgm is full and screwed.
and we have 257 png files inside instead of max 256

Thank you, I was able to replicate the problem... it's a synchronization issue because of parallel downloads. I'll fix it in the next version, meanwhile you can set max parallel downloads = 1 and it will work fine without screwing the files.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MGMaps Forum Index -> Developer Forum 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