Bílý vrch
icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • internal / bluetooth / simulator GPS
  • offline raster maps
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • custom views
  • MIDP and Symbian phones
  • Blackberry
  • Android
Visit wiki to see all features, guides and howtos. Project tracker.

Partners:    (Polish/Polski)(Polski) Compass mapy      (Polish/Polski)(Polski) Galileos mapy      (Polish/Polski)(Polski) CartoMedia      (Czech/Èesky)(Èesky) Eaglesoft trasy      (Polish/Polski)(Polski) ExpressMap     

 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Mobile Atlas Creator 1.9 latest release
Goto page Previous  1, 2, 3, 4 ... 49, 50, 51  Next
 
Post new topic   Reply to topic    TrekBuddy Forum Index -> Tools
View previous topic :: View next topic  
Author Message
shen



Joined: 15 Oct 2008
Posts: 340
Location: DE

PostPosted: Tue Nov 24, 2009 2:08 pm    Post subject: Reply with quote

Tried to recreate a large atlas that I already created successfully with previous versions. Now downloading simply stops (even if the files are already cached in the TB) with memory errors:

Code:
2009-11-24 14:52:35,484 ERROR [WorkerThread 5] TACExceptionHandler: Uncaught exception:
java.lang.OutOfMemoryError: Java heap space
   at tac.tar.TarRecord.<init>(TarRecord.java:29)
   at tac.tar.TarArchive.writeFileFromData(TarArchive.java:97)
   at tac.tar.TarArchive.writeFileFromData(TarArchive.java:81)
   at tac.program.download.TileDownLoader.getImage(TileDownLoader.java:67)
   at tac.program.download.DownloadJob.run(DownloadJob.java:41)
   at tac.program.JobDispatcher$WorkerThread.executeJobs(JobDispatcher.java:150)
   at tac.program.JobDispatcher$WorkerThread.run(JobDispatcher.java:133)
2009-11-24 14:58:22,453 ERROR [AtlasThread 1] AtlasThread: Out of memory:
java.lang.OutOfMemoryError: Java heap space


I always start TAC using the start.cmd which sets heap up to 512 MB.
Back to top
View user's profile Send private message Visit poster's website
mobrob



Joined: 04 Apr 2008
Posts: 372
Location: Germany

PostPosted: Tue Nov 24, 2009 2:43 pm    Post subject: Reply with quote

@shen: Please provide more details: What is "large atlas" for you? (better just to send the atlas profile to me).
Additionally you do not say anything about your system: Which OS and Java VM?

_________________
Mobile Atlas Creator: http://mobac.sf.net
Back to top
View user's profile Send private message Visit poster's website
shen



Joined: 15 Oct 2008
Posts: 340
Location: DE

PostPosted: Tue Nov 24, 2009 2:55 pm    Post subject: Reply with quote

Please see PM for profile details.

Win XP SP3

Code:
c:\>java -showversion
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
Back to top
View user's profile Send private message Visit poster's website
guest



Joined: 08 Oct 2006
Posts: 5013

PostPosted: Tue Nov 24, 2009 10:59 pm    Post subject: Reply with quote

Hello,

mobrob wrote:

This release uses a database for the tile store instead of plain files in the file system. Existing files from older versions are ignored.


great work again. Is there any chance to convert an existing file based tile store into the new db format? No fancy GUI required, no meta data needed. Just a batch "upload" of the tiles.

Thanks and kind regards
Back to top
View user's profile Send private message Visit poster's website
MaxMunro



Joined: 06 Jun 2008
Posts: 40

PostPosted: Tue Nov 24, 2009 11:32 pm    Post subject: Reply with quote

billy06 wrote:
@MaxMunro does map source Multimap UK OS map zoom 14 not provide you with this?


Thanks billy06. I had missed that addition.
? When i load a gpx track and see it as a green line on screen, it does not seem to paint into the tiles (or PNG). Do you happen to know if tht is a known issue - couldn't see it in the forum.

Cheers. Max.
Back to top
View user's profile Send private message
billy06



Joined: 01 Oct 2008
Posts: 434
Location: Lowestoft U.K

PostPosted: Wed Nov 25, 2009 12:45 am    Post subject: Reply with quote

its easy to do i didn't notice it had been added for a while either, as for the gpx i think it is only overlayed this is handy to see what tiles to select
_________________
Nexus 5X, Nexus 5, Nexus 7 3G, HTC Sensation, nokia 5800. web:www.thetrekbuddies.co.uk . Twitter:http://twitter.com/TheTrekbuddies
Back to top
View user's profile Send private message Visit poster's website
BorisK



Joined: 25 Nov 2009
Posts: 3

PostPosted: Wed Nov 25, 2009 10:36 am    Post subject: Reply with quote

Hello

I am new here and I am German but I think it is preferred to speak in English here.

Anyhow I really appreaciate this tool and I am looking forward to using it alot since I can come acros some little issues.

Since I am a Magellan Triton 500 GPS user I am deeply interested in making raster image maps. Your tool can be of very great help since when we go into holidays we always like hiking or bicycling so we need new maps...

OSM and Yahoo/Google/MS Maps and Outdoor Active are there the sources to go when it has to be fast Smile


There two tools on the market for free since a year or more which we can use to create maps from raster images for the use with our Triton GPS gadget. These can transform .MAP (OziExplorer WGS 84) PNG/JPG into the Magellan .RMP format that we can copy then into our GPS unit.



Happily your tool does support this format but I had some problems with it. I believe it is the way WGS84 is implemented or exported.

All the other Triton users seem to use instead of your tool the more complicated and less handy tool gmapmaker. This does indeed export WGS84 in a clean way. This is important so the two tools mentioned in order make RMP maps can load these image .map files.

I think it is best when you could take a look at both tools. There is one out of the US by Mikhail and one from Germany by Picco. The first can not load TCA's .map exports since there are 'spaces' after 'commas' in the .map definition missing (I believe, since when I add them then it takes those).

And I had other problems with Picco's RMP tool too so I think, first, it would be so great if you are so nice to check the .MAP export filter for us Smile

This is how gmapmaker exports it, e.g.:

Code:

OziExplorer Map Data File Version 2.2
D-Yahoo-8.jpg
F:\_Projekte\Karten Eigene\gpmaker\D-Yahoo-8.jpg
1 ,Map Code,
WGS 84,,   0.0000,   0.0000,WGS 84
Reserved 1
Reserved 2
Magnetic Variation,,,E
Map Projection,Mercator,PolyCal,No,AutoCalOnly,No,BSBUseWPX,No
Point01,xy,      0,      0,in, deg,   53, 19.852379,N,    4, 13.125000,E, grid, , , ,N
Point02,xy,   2048,   1024,in, deg,   49, 50.278947,N,   15, 28.125000,E, grid, , , ,N
Point03,xy,      0,   1024,in, deg,   49, 50.278947,N,    4, 13.125000,E, grid, , , ,N
Point04,xy,   2048,      0,in, deg,   53, 19.852379,N,   15, 28.125000,E, grid, , , ,N
Point05,xy,    256,      0,in, deg,   53, 19.852379,N,    5, 37.500000,E, grid, , , ,N
Point06,xy,    512,      0,in, deg,   53, 19.852379,N,    7,  1.875000,E, grid, , , ,N
Point07,xy,    768,      0,in, deg,   53, 19.852379,N,    8, 26.250000,E, grid, , , ,N
Point08,xy,   1024,      0,in, deg,   53, 19.852379,N,    9, 50.625000,E, grid, , , ,N
Point09,xy,   1280,      0,in, deg,   53, 19.852379,N,   11, 15.000000,E, grid, , , ,N
Point10,xy,   1536,      0,in, deg,   53, 19.852379,N,   12, 39.375000,E, grid, , , ,N
Point11,xy,      0,    512,in, deg,   51, 37.080993,N,    4, 13.125000,E, grid, , , ,N
Point12,xy,    256,    512,in, deg,   51, 37.080993,N,    5, 37.500000,E, grid, , , ,N
Point13,xy,    512,    512,in, deg,   51, 37.080993,N,    7,  1.875000,E, grid, , , ,N
Point14,xy,    768,    512,in, deg,   51, 37.080993,N,    8, 26.250000,E, grid, , , ,N
Point15,xy,   1024,    512,in, deg,   51, 37.080993,N,    9, 50.625000,E, grid, , , ,N
Point16,xy,   1280,    512,in, deg,   51, 37.080993,N,   11, 15.000000,E, grid, , , ,N
Point17,xy,   1536,    512,in, deg,   51, 37.080993,N,   12, 39.375000,E, grid, , , ,N
Point18,xy,   1792,    512,in, deg,   51, 37.080993,N,   14,  3.750000,E, grid, , , ,N
Point19,xy,    256,    768,in, deg,   50, 44.187308,N,    5, 37.500000,E, grid, , , ,N
Point20,xy,    512,    768,in, deg,   50, 44.187308,N,    7,  1.875000,E, grid, , , ,N
Point21,xy,    768,    768,in, deg,   50, 44.187308,N,    8, 26.250000,E, grid, , , ,N
Point22,xy,   1024,    768,in, deg,   50, 44.187308,N,    9, 50.625000,E, grid, , , ,N
Point23,xy,   1280,    768,in, deg,   50, 44.187308,N,   11, 15.000000,E, grid, , , ,N
Point24,xy,   1536,    768,in, deg,   50, 44.187308,N,   12, 39.375000,E, grid, , , ,N
Point25,xy,       ,       ,in, deg,     ,          ,N,     ,          ,E, grid, , , ,N
Point26,xy,       ,       ,in, deg,     ,          ,N,     ,          ,E, grid, , , ,N
Point27,xy,       ,       ,in, deg,     ,          ,N,     ,          ,E, grid, , , ,N
Point28,xy,       ,       ,in, deg,     ,          ,N,     ,          ,E, grid, , , ,N
Point29,xy,       ,       ,in, deg,     ,          ,N,     ,          ,E, grid, , , ,N
Point30,xy,       ,       ,in, deg,     ,          ,N,     ,          ,E, grid, , , ,N
Projection Setup,,,,,,,,,,
Map Feature = MF ; Map Comment = MC     These follow if they exist
Track File = TF      These follow if they exist
Moving Map Parameters = MM?    These follow if they exist
MM0,Yes
MMPNUM,4
MMPXY,1,0,0
MMPXY,2,2048,0
MMPXY,3,2048,1024
MMPXY,4,0,1024
MMPLL,1,    4.218750,   53.330873
MMPLL,2,   15.468750,   53.330873
MMPLL,3,   15.468750,   49.837982
MMPLL,4,    4.218750,   49.837982
MM1B,365.181289
MOP,Map Open Position,0,0
IWH,Map Image Width/Height,2048,1024


This is how TCA looks like:
Code:

OziExplorer Map Data File Version 2.2
Y8 08.png
Y8 08.png
1 ,Map Code,
WGS 84,WGS 84,   0.0000,   0.0000,WGS 84
Reserved 1
Reserved 2
Magnetic Variation,,,E
Map Projection,Mercator,PolyCal,No,AutoCalOnly,No,BSBUseWPX,No
Point01,xy,    0,    0,in, deg,54,58.656820,N,2,48.750000,E, grid,   ,           ,           ,N
Point02,xy,2303,0,in, deg,54,58.656820,N,15,28.125000,E, grid,   ,           ,           ,N
Point03,xy,2303,1279,in, deg,50,44.187308,N,15,28.125000,E, grid,   ,           ,           ,N
Point04,xy,    0,1279,in, deg,50,44.187308,N,2,48.750000,E, grid,   ,           ,           ,N
Point05,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point06,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point07,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point08,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point09,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point10,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point11,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point12,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point13,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point14,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point15,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point16,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point17,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point18,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point19,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point20,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point21,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point22,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point23,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point24,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point25,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point26,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point27,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point28,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point29,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Point30,xy,     ,     ,in, deg,    ,        ,N,    ,        ,W, grid,   ,           ,           ,N
Projection Setup,,,,,,,,,,
Map Feature = MF ; Map Comment = MC     These follow if they exist
Track File = TF      These follow if they exist
Moving Map Parameters = MM?    These follow if they exist
MM0,Yes
MMPNUM,4
MMPXY,1,0,0
MMPXY,2,2303,0
MMPXY,3,2303,1279
MMPXY,4,0,1279
MMPLL,1,  2.812500,54.977614
MMPLL,2,  15.468750,54.977614
MMPLL,3,  15.468750,50.736455
MMPLL,4,  2.812500,50.736455
IWH,Map Image Width/Height,2304,1280


So a line like this
Quote:
Point01,xy, 0, 0,in, deg,54,58.656820,N,2,48.750000,E, grid, ,

need to have spaces right after the commas like:
Quote:
Point01,xy, 0, 0,in, deg, 53, 19.852379,N, 4, 13.125000,E, grid, , , ,N
.


The same accounts for the end of the .map:
Quote:
MMPLL,1, 2.812500,54.977614
MMPLL,2, 15.468750,54.977614
MMPLL,3, 15.468750,50.736455
MMPLL,4, 2.812500,50.736455


That would be of so much help if you could change that. Of cours the greates benefit would be if you could implement a RMP export function but anyhow I think since you are at finetuning the beta...

best regards
Boris
Back to top
View user's profile Send private message
mobrob



Joined: 04 Apr 2008
Posts: 372
Location: Germany

PostPosted: Wed Nov 25, 2009 1:09 pm    Post subject: Reply with quote

Hi Boris,

well, in general the map format created by TAC is not wrong - therefore I would recommend to contact the author of the program which is unable to read such map files.
Anyway TrekBuddy Atlas Creator is very tolerant regarding the map file format therefore it is no problem to add some more spaces. But I additionally recommend to contact the other author.

Regarding a native support of RMP for TAC I would recommend you to persuade "Picco" to give me the (relevant) sources of the "RMP Creator" or at least the permission to use the decompiled code.

BTW: New features like new atlas formats are most suitable tracked in TAC's Feature Request Tracker at Sourceforge:
https://sourceforge.net/tracker/?group_id=238075&atid=1105497
Untracked requests (only mentioned in the forum) tend to be forgotten after some days but in the tracker they will survive my "mental garbage collector" Wink

mobrob

_________________
Mobile Atlas Creator: http://mobac.sf.net
Back to top
View user's profile Send private message Visit poster's website
BorisK



Joined: 25 Nov 2009
Posts: 3

PostPosted: Wed Nov 25, 2009 2:41 pm    Post subject: Reply with quote

SPAM mobrob

that are more than good news. I have some hope that there may be an RMP implementation. Until then I would highly appreaciate it if you could at the spaces to your export filter. Maybe it are only 16 or so adjustments of the same kind and it takes you only 10 min. I don't know since I am still more a poet than a programmer Smile

Besides to add some weight into your "mental garbage collector" Razz could you help me to understand why I run into certain problem.

TAC has run out of memory. ... And a hint to start it with start.cmd.
That is what I did but, mhh, increased mem to 512MB? Is there no way to increase this constraint? What can I do? Have I do belittle my area I want to atlas?

My Atlas:


NW
52,087945
8,210907
SE
51,378638
9,721527

Outdooractive.com Germany
Zoom LVL 16
57960 tiles

*no Layer settings: no recreate/adjustments of map tiles (My Triton has a 320x240 pixel 'TFT'. Does this matter?)
Atlas settings: OziExplorer PNG MAP
Map Size is constrained to 15.000 Pixels in settings



------------
Downloading tiles for number 16 is down (100% on my HD)
Downloading maps for Atlas 1of20done


My OS:
windows 7 64bit (but as far as I know only 32bit Java) and 4 gig RAM
Back to top
View user's profile Send private message
mobrob



Joined: 04 Apr 2008
Posts: 372
Location: Germany

PostPosted: Wed Nov 25, 2009 4:15 pm    Post subject: Reply with quote

TrekBuddy Atlas Creator 1.7 preview 2
Download link removed - please use a newer version
This is a technical preview version - please test it and report back anything noteworthy (the good and and the bad things and of course errors & bugs).

Errors are preferred to be tracked in the bug tracker at Sourceforge:
http://sourceforge.net/tracker/?group_id=238075&atid=1105494

This release uses a database for the tile store instead of plain files in the file system. Existing files from older versions are ignored.


Changelog since v1.6.1 (those in bold are new to v1.7 preview 2):
~ Tiles tore now uses database (BerkelyDB) instead of tile files in file system
+ Old tiles saved in the tile store are checked and updated when used (displayed in map view or used in an atlas). Updating is done via expiration settings - those provided by the server or otherwise user specified.
+ Atlas output directory can be specified via settings dialog
+ AndNav and OSMTracker: Tile format conversion (JPG <->PNG) implemented including color reduction
~ Docelu.pl can update it's base url like the Google map sources do
~ Pause/resume button now works while map creation (not only while download)
+ New experimental map source: Turaterkep (Hungary hiking) Uses tiles of size 512x512 (not supported by all atlas formats)
+ Multi layer map sources can defined and displayed (download not yet implemented)
+ new map: NearMap Australia (high-resolution aerial images for Australia)
! GPX addWpt: Multiple way points added by one mouse click fixed
! Start.sh/Start.cmd Java max heap setting was ignored by Java because of the position at the end of the command line

Additionally this release reduces the cache memory of the tile store database - hopefully this will prevent the common OutOfMemoryError (which I can't reproduce).


@BorisK: This release should produce map files you can directly use in the next program.

_________________
Mobile Atlas Creator: http://mobac.sf.net


Last edited by mobrob on Sun Dec 27, 2009 3:28 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
shen



Joined: 15 Oct 2008
Posts: 340
Location: DE

PostPosted: Thu Nov 26, 2009 10:42 am    Post subject: Reply with quote

mobrob wrote:
Additionally this release reduces the cache memory of the tile store database - hopefully this will prevent the common OutOfMemoryError (which I can't reproduce).

Worked for me, thanks Smile

Stefan
Back to top
View user's profile Send private message Visit poster's website
BorisK



Joined: 25 Nov 2009
Posts: 3

PostPosted: Thu Nov 26, 2009 10:29 pm    Post subject: Reply with quote

Mobrob

thanks alot!

Everything works. No more memory issues and the .map file issue I ran into is solved too!
I could now easily download a reasonably large area from the outdooractive service which hosts maps from LVA in TOP25 I think.

Your tool was set to 15000 pixel size and I could load those calibrated tiles one by one into http://www.msh-tools.com/triton.html Smile

Really great!

best regards
Boris
Back to top
View user's profile Send private message
franc



Joined: 25 Nov 2009
Posts: 9

PostPosted: Fri Nov 27, 2009 6:30 am    Post subject: Reply with quote

Hello,

is it possible to close TrekBuddy Atlas Creator in the middle of a atlas-download and restart it later without loss of already downloaded maps?

I started yesterday morning to download an atlas of "Open Streetmap Mapnik" for germany with:

Zoom Levels:
11, 13, 15

Layer settings:
480 x 360
PNG 16 colors (4bit) (with jai-1_1_3)

and till yet it is only:

Percent done: 56% (44 of 87 done),
Time remaining: 1661 minutes (growing, not decreasing)
Total downlod size: 3,04 GB
Average download speed: 77kiBit / Second (decreasing slowly)
Active Downloads: 4
Download errors: 0 / 0
Total download time: 2159 minutes


My machine has become slow with this download. I have the impression, that the TBAC stucks a bit.

Now i want to stop it, close the creator completely and restart again when i don't use my computer. Is that possible?

Thank you,

frnc
Back to top
View user's profile Send private message
michal7



Joined: 24 Mar 2009
Posts: 121
Location: CZ

PostPosted: Fri Nov 27, 2009 8:01 am    Post subject: Reply with quote

Atlas-download continuity would be useful for large atlases. Adjustable "download" bit could be added to each map, after finishing of the map this bit is reset. Resulting partial atlases is not difficult to merge.
Back to top
View user's profile Send private message
franc



Joined: 25 Nov 2009
Posts: 9

PostPosted: Fri Nov 27, 2009 8:24 am    Post subject: Reply with quote

michal7 wrote:
Atlas-download continuity would be useful for large atlases. Adjustable "download" bit could be added to each map, after finishing of the map this bit is reset. Resulting partial atlases is not difficult to merge.

So this is a wish, but not yet implemented, i guess?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> Tools All times are GMT
Goto page Previous  1, 2, 3, 4 ... 49, 50, 51  Next
Page 3 of 51

 
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 cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group