Locus Map - forum

Support => Troubles & Questions => Topic started by: hamiksu on January 16, 2012, 07:31:58

Title: Making Offline maps
Post by: hamiksu on January 16, 2012, 07:31:58
Hi there..

I'm new here so is wondering whether anyone can help me with my question?

I am trying to make an offline map using the tracks and waypoints I made myself
and have it display on LOCUS as an offline map..

what application do I have to get to do this?
What file format should I save the aforementioned tracks and waypoints to
and where to put this file in my Android smartphone for LOCUS to register it and display it out for me?

Thank you for your time..
Title: Re: Making Offline maps
Post by: berkley on January 16, 2012, 07:57:17
Hi and welcome ;)

What kind of map source do you want to have as your offline map? Google maps? OSM?

Locus offers itself a quite powerful feature to download maps - even around your visible tracks and or waypoints. Another possibility is to use of vector maps. Play a bit with Locus own downloading system and have a look through the threads here in the forum.

Cheers, berkley
Title: Re: Making Offline maps
Post by: hamiksu on January 16, 2012, 08:10:27
Hello Berkley..

first off, thanks for your reply..

ok, to reply what you just said, I just went through like 7 pages in this forum and I guess nobody is trying to do what I am doing..
so I was hoping for a faster way of getting an answer by posting my question.. so hopefully you won't mind this too much..

mapsource.. hmm... I guess you can say I want to make a blank mapsource that just shows the tracks I made thus far by myself..

is that possible?

p.s :- I tried importing the tracks i made and it is only possible if the tracks aren't many..
sad to say, the tracks I have is like 2k over (file size is around 3 mb, KML format) and this cause LOCUS to constantly force close on itself..
so I figured the best way is to make an offline with the tracks (if possible) and hopefully avoid that crash issue..
thanks..
Title: Re: Making Offline maps
Post by: Menion on January 16, 2012, 08:15:08
2000 tracks? :) ... and it cause crash? May you please send me log from CatLog program (free on market)? Just run locus and after crash, start this catLog and send me from menu log txt file, thanks. If this will works (importing of tracks), will this be solution for you? Anyway I'm worried, that manipulation of 2k tracks in locus will be quite slow ...
Title: Re: Making Offline maps
Post by: hamiksu on January 16, 2012, 08:21:45
Quote from: "menion"2000 tracks? :) ... and it cause crash? May you please send me log from CatLog program (free on market)? Just run locus and after crash, start this catLog and send me from menu log txt file, thanks. If this will works (importing of tracks), will this be solution for you? Anyway I'm worried, that manipulation of 2k tracks in locus will be quite slow ...

I suppose it might solve the problem, but I did try to minimise the number of tracks to 300 plus..
it goes to the track section fine and merging all the tracks to one is A-OK..
but when viewing on the map display, it lags bad..

so I suppose even if I do manage to load 2k over tracks, it might well kill my battery faster than I scream.. LOL..

I'm no tech geek but I think making an offline map would be far simpler (faster too, I assume) and will not lag LOCUS too badly..

p.s :- to the 2k track problem.. trying to load import it from GPX straight crashes LOCUS. Then I tried to import it through KML file.. that one
works great (but very slow in importing, took me like an hour 10 minutes, blame it on my slow phone.. ;p  ),  but selecting all of them and trying to show them in the map, or trying to merge them, earns me a big fat crash slap to my face.. haha.. Added this in case you need more details..

to the Catlog program, I might have to do that tomorrow.. I'm at work now, and the previous attempt to try what i mentioned above drained my batt to 25%.. and I don't have the cables with me at the moment to charge..so I might upload the crash report tomorrow if thats ok by you, Menion..
Title: Re: Making Offline maps
Post by: Menion on January 16, 2012, 08:25:33
yes, creating offline map should be much faster and battery-friendly. You may check mapc2mapc program, where should be possibility to create map from KML file and export it to SQLite map (supported by Locus)

about crash, no problem. If will be possible for you share you data, this should be best (also for test if some optimizations aren't possible - they always are) anyway crash log is enough ...
Title: Re: Making Offline maps
Post by: hamiksu on January 16, 2012, 08:29:54
Quote from: "menion"yes, creating offline map should be much faster and battery-friendly. You may check mapc2mapc program, where should be possibility to create map from KML file and export it to SQLite map (supported by Locus)

about crash, no problem. If will be possible for you share you data, this should be best (also for test if some optimizations aren't possible - they always are) anyway crash log is enough ...

does this mapc2mapc have the function to export it to SQlite Map?
what is the file extension for this SQlite Map and where do I copy it to in my smartphone for locus to read from it?

thanks..

p.s :- i think  sharing the data would be a bit hard.. it is kind of P&C.  But I will get you that crash report tomorrow as I find
LOCUS the best app for GPS tracking and stuff so I would like to do  a little and help you guys to improve it even more.
:)
Title: Re: Making Offline maps
Post by: Menion on January 16, 2012, 08:53:25
yes it has ... there should be exactly written "Locus/RMaps SQLite" or similar. Best is to copy final SQLite map to locus/maps directory or anywhere else but then you need to define path in Locus

and crash log is good enough, thanks!
Title: Re: Making Offline maps
Post by: hamiksu on January 16, 2012, 08:57:55
ok, will provide u the crash log as soon as I am able..
Title: Re: Making Offline maps
Post by: hamiksu on January 17, 2012, 01:56:24
Morning everyone..

I am now importing KML file to my phone (again) and it is going to take a while..
will upload the crash log soon as I make it happen again.. hehe

in the mean time.. is there a way to convert GPX files with tracks in them direct into a sqlitedb map file?

p.s :- strange, finish importing and stuff.. no more errors.. weird..

but I did notice something, it shows dots for the start point and end points.. any way to make these dots disappear?
Title: Re: Making Offline maps
Post by: hamiksu on January 17, 2012, 02:51:49
I spoke too soon..

here is the error log...
Title: Re: Making Offline maps
Post by: Menion on January 17, 2012, 06:59:25
hmm it's weird ... because of low memory, system kill rest of locus and just leave in memory only active screen. So when locus tries to use function from other place of application, that should already be loaded, it crash.

I'll try to do some fixes here but cannot promise. So huge number of tracks ... for this locus really not yet optimized :)

PS: did you tried mapc2mapc? (exist demo version for testing) for your conversion?
Title: Re: Making Offline maps
Post by: hamiksu on January 17, 2012, 07:53:36
yea, I did try it, but I can'tr seem to find an option to import my GPX tracks into it..

I also tried Mobile Atlas Creator.. seem to be able to put my tracks in
but when I made the Atlas, it seem to only get the map behind the tracks and left the tracks out totally..

I'm not sure I did it right or not though..
looked in settings and I am stumped..
Title: Re: Making Offline maps
Post by: hamiksu on January 17, 2012, 08:47:51
Menion.. wanted to ask you..

when I imported only a few tracks.. when viewing it in the map section..
it seems to put black dots on the start and end points..

is there any way to remove those dots and just show the tracks themselves?
Title: Re: Making Offline maps
Post by: Menion on January 17, 2012, 08:56:41
no actually it's not. They're really small aren't they? :) are they really so noisy?
Title: Re: Making Offline maps
Post by: hamiksu on January 17, 2012, 09:00:07
Quote from: "menion"no actually it's not. They're really small aren't they? :) are they really so noisy?

haha,.. well, I tried to turn all those 1718 tracks (sorry, i mis-informed previously, it wasn't over 2k tracks)
and have them for view only and no import..

the good part is, it collected the data super fast and doesn't crash on my..

sad part, it doesn't show a huge portion of those tracks..
and those start and end dots, it was all over the tracks that managed to get shown..
makes me go boggle eyed.. haha

so was wondering whether there is an option to just show the tracks without those dots.
;p
Title: Re: Making Offline maps
Post by: rijackson741 on January 17, 2012, 19:17:23
If all your tracks are in a single KML or KMZ file, try this:

1) Copy the file to the /Locus/mapItems directory.
2) In Locus, go to the menu, "functions", "Map item manager". You should see your file. Check the box to view the tracks as an overlay on your current map.
3) To remove the tracks go to the menu, "functions", "Remove temp map items" (you can't remove them from the Map item manager because this "trick" is not officially supported).

It doesn't get rid of the black dots, but it is a way to view all the tracks without importing them all to the tracks database.
Title: Re: Making Offline maps
Post by: Menion on January 17, 2012, 19:57:09
I'm worried that for such huge number of track, this will be slow and may cause OutOfMemory error ...
Title: Re: Making Offline maps
Post by: gynta on January 17, 2012, 20:35:31
1718 tracks? :shock: = unusual and not related to practice...
Title: Re: Making Offline maps
Post by: rijackson741 on January 17, 2012, 21:08:16
Quote from: "menion"I'm worried that for such huge number of track, this will be slow and may cause OutOfMemory error ...

Maybe. But I agree with Gynta that this number of tracks can never be needed all at one time. The KML file could be broken down into a number of smaller files (for example using Google Earth) that are easier to load.
Title: Re: Making Offline maps
Post by: hamiksu on January 18, 2012, 01:25:31
did I mentioned that 1718 tracks are just one part of what I am trying to achieve?
hahaha..

well, it does seem kind of impossible especially with the load of data I am trying to get shown in the map for real time viewing and navigating
at the same time..

@rijackson, hmm... ok, I will check it out and let you know how it goes..

@menion.. i know this is asking too much, but is it possible to include in future updates to give us the option to disable those start and end dots?
;p
Title: Re: Making Offline maps
Post by: hamiksu on January 18, 2012, 01:35:34
ok, i tried rijacksons method..

faster load and all, but same result as when I tried to import the KML files for view only..

it only shows a very truncated version of my actual tracks..

so i suppose loading from KML or KMZ for viewing only seems a rather daunting task..
only way I can think of is to make an offline map and had it load up by locus..

but trying mapc2mapc2 and MOBAC doesn't seem to gather those GPX tracks I made and put it into the offline..
anyone here uses anything that can input self made tracks into the offline maps?

thank you for the replies thus far guys, I really appreciate it lots..

p.s :- if you guys wanna see a sample of my tracks and what is loaded on LOCUS, i may be able to do it if you guys need a clearer picture of what I am trying to achieve..thanks
Title: Re: Making Offline maps
Post by: gynta on January 18, 2012, 01:44:52
Quote from: "hamiksu"...is it possible to include in future updates to give us the option to disable those start and end dots?
use the settings...
Title: Re: Making Offline maps
Post by: gynta on January 18, 2012, 01:47:54
Quote from: "hamiksu"...you guys wanna see a sample of my tracks..
nop thx
Title: Re: Making Offline maps
Post by: hamiksu on January 18, 2012, 01:50:26
Quote from: "gynta"
Quote from: "hamiksu"...is it possible to include in future updates to give us the option to disable those start and end dots?
use the settings...

where in the settings because I've gone through it several times already and don't see an option for it
Title: Re: Making Offline maps
Post by: Menion on January 18, 2012, 06:45:57
in settings is ability to disable big icons and show just dots. Since yesterday is there also possibility to completely disable these dots

about displaying truncated tracks ... are you sure? Try to zoom in and you're probably see complete tracks ...
Title: Re: Making Offline maps
Post by: hamiksu on January 18, 2012, 07:59:47
Quote from: "menion"in settings is ability to disable big icons and show just dots. Since yesterday is there also possibility to completely disable these dots

about displaying truncated tracks ... are you sure? Try to zoom in and you're probably see complete tracks ...

zoomed and still missing a large portion..

lemme put up the pics for you to see..

Data vs What is shown..

Data
(//http://i59.photobucket.com/albums/g313/theman3503/DSCN0082.jpg)

What I see..
(//http://i59.photobucket.com/albums/g313/theman3503/DSCN0081.jpg)
Title: Re: Making Offline maps
Post by: rijackson741 on January 18, 2012, 16:18:10
OK. I am curious enough to ask. What does the data represent?
Title: Re: Making Offline maps
Post by: berkley on January 18, 2012, 17:26:18
I followed this thread long enough without answering. But now I finally have to ;)

Honestly, it is pretty much the same with all these other requests of huge data. Every system has its limits. And what you are trying to do - for what reason ever - is way above the limts. I hope this doesn't sound rude now, it isn't meant to be. Displaying that amount of data needs a bit more CPU and a bit more RAM than the Androids have right now. Menion squeezes every bit of power out of the system. Take this for sure.

Please understand, that you have to find a different way to realize your plan.
Only solution I can give you from my point of view (thanks rijackson for inspiration):
Open your Google Earth on the PC and group your tracks regions. For myself I can display in Loucs around 50 tracks at once without problems, but I don't know about the denisty of points in your tracks and how long they are. Export every group as kml. Load them one by one into Locus. But, don't display them at once. Be sure to group them in categories. I am sorry for now, that there aren't costum categories for tracks available. You will need to use "swimming" and "biking" and "hiking" and so. Now you can filter them and display just the tracks you need. If you made the regional grouping correct, you can always load the tracks you need just around you.
Next and very last try would be the way over Google MyMaps. Import your kml file(s) into Google Maps on your PC. Then you can load them via MyMaps feature in Loucs.
That's it. Don't blame Locus or its dev for a bad app. I firstly guess, no other android app brought you so far. And I secondly guess, no other community behind an app brought you that much answers and listen-to's.

About the usage of external PC programs... Why don't you ask them for support for what's on your mind?

And one last hint from me: Go for the OSM mappers. They have a nice PC program written in Java, where you can load kml and gpx files to generate the OSM maps. This is the way it is supposed to be used. But you can create your "own" map with this too. I don't know how it works, but for sure, the guys from OSM can give you hand.

Cheers, berkley
Title: Re: Making Offline maps
Post by: rijackson741 on January 18, 2012, 21:25:44
Quote from: "berkley"I am sorry for now, that there aren't costum categories for tracks available. You will need to use "swimming" and "biking" and "hiking" and so.

If you load them via the Map item manager you can have custom groups of tracks. Not quite the same as custom categories, because all tracks in a group are either displayed or not displayed, but perhaps in this case that restriction is OK.
Title: Re: Making Offline maps
Post by: hamiksu on January 19, 2012, 01:11:48
@berkley.. I understand your point, but you seem to have missed mine.. if there are, please do point to me where I mentioned "I expect Locus to do this, do that... I have always been asking, is it "possible" to do this, or that?.. so please don't misunderstand my questions for demands.. as to this, most smartphones have way more firepower in terms of memory and processor (aside from shorter battery lasting power) than garmin sets, so there is probably no reason why smartphones will not be able to do what a Garmin GPS unit can do.. but again.. all I am asking here is always, is it possible..?

But i guess for the moment, probably won't be possible at this time..

@rijackson... not sure you will believe me on this but.. those are road systems.. LOL.. and it took me 7 months of hiking, bike riding and car bumping rides to get those data.. and as mentioned before, this is just one part of them.. LOL..

so since using tracks imported and shown on real time is impossible for my amount of track data, I am wondering whether there is any software that you guys can recommend to make offline maps with my data.. I suppose I can make a picture format of these data and somehow implant coordinates into it for LOCUS to recognize ,but I am unsure as to what software that can do that.. a pointer here would be great..

p.s :- @menion, do locus recognize IMG files as offline maps? thanks for your patience in this.. since I am at it,  what type of format for offline maps does LOcus recognized btw, if you don't mind me asking..

@berkely .. hmm, OSM mappers huh? ok, I will take a look.. thanks.. one last question... can it make offline maps that can be recognized by LOCUS?
Title: Re: Making Offline maps
Post by: berkley on January 19, 2012, 09:22:26
Quote from: "hamiksu"@rijackson... not sure you will believe me on this but.. those are road systems.. LOL.. and it took me 7 months of hiking, bike riding and car bumping rides to get those data.. and as mentioned before, this is just one part of them.. LOL..
Are these roads private to you? If not, you could consider to share with the whole world ;)
Submit these tracks to OSM.



Quote from: "hamiksu"so since using tracks imported and shown on real time is impossible for my amount of track data, I am wondering whether there is any software that you guys can recommend to make offline maps with my data.. I suppose I can make a picture format of these data and somehow implant coordinates into it for LOCUS to recognize ,but I am unsure as to what software that can do that.. a pointer here would be great...
Well, Locus can do this. There is a feature called "On-board map calibration"...  :mrgreen:



Quote from: "hamiksu"hmm, OSM mappers huh? ok, I will take a look.. thanks.. one last question... can it make offline maps that can be recognized by LOCUS?
I don't know, how mapping with OSM works. But see these links to get started:
http://wiki.openstreetmap.org/wiki/Map_Making_Overview (http://wiki.openstreetmap.org/wiki/Map_Making_Overview)
http://wiki.openstreetmap.org/wiki/Merkaartor (http://wiki.openstreetmap.org/wiki/Merkaartor)
http://wiki.openstreetmap.org/wiki/JOSM (http://wiki.openstreetmap.org/wiki/JOSM)

Suopported map formats in Locus are SQLite, TAR maps, MBT maps, GEMF, Rmap (taken from the market description). I don't know if there are others in the meantime.
Title: Re: Making Offline maps
Post by: rijackson741 on January 19, 2012, 23:57:09
Quote from: "hamiksu"@rijackson... not sure you will believe me on this but.. those are road systems.. LOL.. and it took me 7 months of hiking, bike riding and car bumping rides to get those data.. and as mentioned before, this is just one part of them.. LOL..

I see. I asked because some of them are small pieces that are not connected to anything else. But if they are a mixture of roads and trails, I guess that is possible.

I know very little about OSM, but I believe a lot of the mapping was done by people in cars, on bikes, or hiking, recording tracks and converting them into maps. So I think you should follow Berkeley's suggestion, and look into that more.

Another question out of curiosity: Are there no maps already available with these roads already on them?
Title: Re: Making Offline maps
Post by: hamiksu on January 20, 2012, 01:46:36
@berkley.. sadly, it is extremely P & C.. so uploading it is not possible..
                   
huh? Locus with on-board map calibration can make offline maps? you are not pulling my leg, are you?

as to OSM mapper.. i see it is kind of like an online maping software.. meaning I need to be online to do this. sadly, where I do those tracks, internet connection is a no no.. i have to look for other options then.. but honestly, starting to give up...

i have googled around the whole day looking for any software that can help me convert my tracks to offline maps in the following file formats you mentioned, berkley, and I think none of them does what it wants me to do (after fiddling around with the trials) and most needs online connection too..
back to the drawing board for me then..

@rijackson.. trust me when I say there are no maps for those roads I made.. period.. haha..  I might look around some more software to make offline maps today.. but as mentioned, starting to lose hope.. might end up going back to my bulky garmin sets then, but there are some things that garmin can't do that LOCUS can.. sooo.. and obviously, there are also things that Garmin can do that LOCUS can't (albeit, with some limitations)..

ai ya ya ya.. what a dilemma I am in..

anyway, again, wanna thank you guys for taking the time to read my post and give some good advices.. appreciate it lots.. I hope I don't rub anyone the wrong way either in my posts.. if I did (probably un-intentionally), I humbly apologize here .
Title: Re: Making Offline maps
Post by: berkley on January 20, 2012, 08:41:28
So, you probably missundertstood the part about the tracks on OSM.

People like you are recording tracks. No need to have an internet connection for this. When they are back at home, the export their tracks from their device and put them into their PC. They use the mapping software from OSM to load these tracks into it. These tracks are displayed as layers. Along these layers they can create roads, paved roads, highways, rivers, lakes and so on. Whatever fits to the track they have recorded. When they are finished, they usually promote the data to OSM.
You only have to find a way to export these maps into some format, that is supported by Locus.

About map calibration: viewtopic.php?f=32&t=377 (http://forum.asamm.cz/viewtopic.php?f=32&t=377)
Try out yourself ;)
Title: Re: Making Offline maps
Post by: hamiksu on January 21, 2012, 01:27:15
Quote from: "berkley"So, you probably missundertstood the part about the tracks on OSM.

People like you are recording tracks. No need to have an internet connection for this. When they are back at home, the export their tracks from their device and put them into their PC. They use the mapping software from OSM to load these tracks into it. These tracks are displayed as layers. Along these layers they can create roads, paved roads, highways, rivers, lakes and so on. Whatever fits to the track they have recorded. When they are finished, they usually promote the data to OSM.
You only have to find a way to export these maps into some format, that is supported by Locus.

About map calibration: viewtopic.php?f=32&t=377 (http://forum.asamm.cz/viewtopic.php?f=32&t=377)
Try out yourself ;)

I think the on map calibration would be a good way to do things the way I wanted.. problem is, I am using locus Free..

my co-worker, who uses pro is the one that introduced me Locus, and the ONE who bugged me to ask you guys these questions (ok ok, I admit,
I wanted to ask them too.. haha)..

guess I'll kidnapped his phone to try this feature out and see whether it is perfect for my tasks or not.. Now to make a picture format of my tracks..

anyway, thanks for your feedback, berkley.. you're the man!
Title: Re: Making Offline maps
Post by: hamiksu on January 30, 2012, 03:25:51
question for Menion..

dude, is there a future plan to make LOCUS recognize IMG files as custom maps?