1.7.2011 - Locus 1.8.11.2- first version that works with new Locus API (BETA), so it's mainly version for addon developers (viewtopic.php?f=29&t=767 (http://forum.asamm.cz/viewtopic.php?f=29&t=767))
- some bugfixes - crashing widget and import and some more
27.6.2011 - Locus 1.8.11.1- new BETA of Track Recording Widget!! ;) ... test only functionality, not a skin. I takes more then a day to make this. Main problem was valid handling of GPS, but should work now.
- did anyone from you have some issue with track merging? For me works fine, I just had some comment on market
- fixed problem with not working track recording on A1.6
27.6.2011 - Locus 1.8.11- new Free and Pro version released on market
23.6.2011 - Locus 1.8.10.4forum testing version
- new geocaching tools (discuss here (//http://forum.asamm.cz/viewtopic.php?f=26&t=739)) - let's talk about it if interested please ... need some feedback :)
- new choice for obtain location - pick from map
- some new settings - viewtopic.php?f=13&t=715 (http://forum.asamm.cz/viewtopic.php?f=13&t=715)
14.6.2011 - Locus 1.8.8- new Free and Pro version released on market. Don't worry about active "Vector" tab ... it's visible only if you have any vector maps in mapsVector directory ;). So you can test actual maps also on Market version ...
13.6.2011 - Locus 1.8.7.5- fixed problems with adding photos to points (anyway still not idea how to correctly add photos to exported GPX file?)
- improved functionality of custom screen SlideView object. You may try first working attempt of little bit funny geocaching skin
- added OSGB36 coordinate system support
- rewrote a little bit GPS on/off function. I personally still have sometimes issue that gps suddenly turn off even when on satellite screen is still on, and I cannot find source of troubles. So if you have similar issue, you may try this version
10.6.2011 - Locus 1.8.7.3- radical improvements to support photos at points. I rewrote bit part of whole thing around this so it need testing ... again and again :). Anyway you can now add photo from camera or gallery. Not only one but unlimited number. You can then view them from "POintEditDialog" or simply by tapping in point information window. Also photos are exporting with points!! and link to photo is relative so you should take exported file and directory with photo and place it wherever you want.
- created SlideView to CustomScreen, more on "How to" ... (anyway testing skin is in application - you can add it by "Install default" button in Custom screen. Source is attached here for download. It's really only for testing. I'm also not sure if this is best solution but seems that works!)
- many small fixes, like weird tiles when multitouch zoom, some rotation issues, I don't even know what all ...
7.6.2011 - Locus 1.8.7.1- ehm ... VECTOR maps for testing!
- added Brazilian Portuguese translation - thanks Jorge, this was really fast
- "fixed" weird values on scale bar
- added "Time rings" feature :)
- added reset of A-GPS data (unfortunately new permission required)
- new right panel button - "Add map center with Photo", which launch camera and then point edit dialog with taken photo
VECTOR maps it was really quick. Basic support was created less then after a day and half of work. Nice. There is still many problems but maps are usable now and even a fast. For a surprise. Anyway maps use own mapsforge format that have to be prepared from binary PBF files. I have already created Czech Republic (around 250MB!!) for testing and actually I'm creating whole Germany (around 1GB - amazing). Will you be interested in creating any other country? Don't know from where are all of you :). I'll upload it on Dropbox also if I'll have enough space there (anyone can give me 250MB space by registering on dropbox thanks to this link http://db.tt/0k2Hrde (http://db.tt/0k2Hrde) ;) - thanks). If all will work fine, I'll probably create server side solution with map generating and downloading in application, but this later.
So download map, upload it into Locus/mapsVector directory and enjoy ...
maps for download: - Croatia (//http://dl.dropbox.com/u/24093622/croatia.osm.map)
- Czech Republic (//http://dl.dropbox.com/u/8015949/mapsVector/czech_republic.map)
- Denmark (//http://dl.dropbox.com/u/24093622/denmark.osm.map)
- Germany (//ftp://ftp.mapsforge.org/europe/germany-0.2.3.map)
- Great Britain (//http://dl.dropbox.com/u/24093622/great_britain.osm.map)
- Netherland (//http://dl.dropbox.com/u/24093622/netherlands.osm.map)
- Sweden (//http://dl.dropbox.com/u/24093622/sweden.osm.map)
2.6.2011 - Locus 1.8.5- new Free and Pro version released on market
1.6.2011 - Locus 1.8.4.3testing version ...
- you can set "Valid for" for online cache (on every map separately) which say how long will be downloaded tiles valid
- new "hidden" button that allow quick map switch and which appear when you're out of offline map or on "blank" map
- graphics improvements, new settings for tablets
- some improvements on custom screen (we're working on it with malesmurf)
- matthias k., please try this version. This is best what I can do with separating tracks. Little bit better then before but still not perfect
30.5.2011 - Locus 1.8.4.1testing version ...
- rewrote important part of track record ... please test. By my own testing, recording for cca 4 hours (around 10k points) and no problem
- added CH1903 coo system
- some other improvements ...
24.5.2011 - Locus 1.8.3- new Free and Pro version released on market
23.5.2011 - Locus 1.8.2.1- new tags for custom screen (TextView now support lines, ellipsize, shadows)
- fixed - disabling GPS when hiding app, missing waypoint icons on track
- added - possibility to select language in application, possibility to limit visible track during track recording
19.5.2011 - Locus 1.8.0- new Free and Pro version released on market
very nice .. firstly in 1.8.0 was problem that I used one function that is not available in 2.1 and lower and now I noticed that I forgot to add into final version buttons that allow show custom screen (they were only in testing versions) ... so today third update is comming :) ... sorry guys ..
Custom screens: amazing!! This is so great! Thank you!!! The tree included screens are great. I guess this is an area where a lot of users would be interested in submitting their own custom screens such that they can be included into the official Locus.
Congratulations Menion - I think you have created a new arena with unlimited potential that will shoot Locus even further ahead of the rest of the crowd!
My brother has iPhone and was searching for a good GPS program. None of the apps he pulled out from Apple's AppStore was not even close to Locus - of courses. Would you consider porting Locus to iPhone?
Are you serious? ;)
The iFail is deader than dead!!! I guess it's a win-win-situation, if your brother gets an Android device :D
I totally agree, berkley! But you know, not everybody knows their best, so I was just thinking that there is a large market there for Menion, so if the iPhone users won't come to you, you need to come to them. :)
hmm, to be true I was thinking about starting programming on iPhone also ... but there is still so much work on Locus on android and I want to Locus be the best map app on Android so I have to stay only on one platform. There is no chance for one person to handle two platforms without lost of quality and quality is for me more important then number of sold (in case that I'll sell on both platforms) apps :). So enjoy Locus on Android and don't forget to unfortunately push brothers phone from table ;)
Test version 1.8.4.1:
1) In the Tracks submenu there is now a new "+" button in the header line. The Satellite submenu has three such "+" buttons in the header line. They bring you to different setup menues. Usually Locus is using "+" to add something, e.g. a new point. Here it is to go to a setup menu. This is confusing. Specially it is messy to have three "+" in the Satellite submenu - impossible to remember which "+" goes to which setup menu. And I do not see the need for it.
2) I am excited to test if this new version that has focused on the track recording issues, also solves the phone hang incidents I have experienced when using Locus recording. My phone changed from crashing 5-8 times per day to 0 when I stopped using Locus recording four days ago.
ad 1). These are menus that were in locus accessible from bottom menu (by hardware button "menu"). Because of usage of tables i put them on top. There is only "+" button because correct icons are "in creating" :)
2) Not sure if this helps. You may try it but do not expect some better results!
uff after almost week of tuning, new version on market! Hope you enjoy new changes and will not be angry for (by me nice) buttons in top right corners of some screens (shortcut to settings that was before in hardware menu) and mainly owners of tablets that enjoy new improved tablet support ... and more will come ;)
Nice feature - the top buttons - thx.
What' s cool (found by accident): tip on scale left down shows whole distance of screenwidth.
So it's easier to estimate a route for a dedicated area.
Great....
I love Locus, meanwhile I'm addicted :-)
Little bug: when planning a route with auto and manuell parts. After finishing you cannot select the track when on a manual section. Moving cursor to an auto section highlights the track.
But this is really a very small issue...
Rob
EDIT: 1.8.7.1. same issue not selecting track when on manuell section. But - as I said, its really a minor issue.
All other advantages compensates this a lot....
some new boring features added for testing ... ehm ... :)
QuoteWill you be interested in creating any other country? Don't know from where are all of you
Yeah, I would. For both Sweden and The Netherlands I live divided in both :) )
Is it difficult/time consuming? I already make my own OSM maps for garmin with Osmosis and mkgmap. I assume these kind of maps are not more difficult?
-peter
it's pretty easy. description is here http://code.google.com/p/mapsforge/wiki ... terOsmosis (http://code.google.com/p/mapsforge/wiki/MapFileWriterOsmosis).
If all this will work, I'll create maps for whole world. It's only question if anyone want maps for testing now :).
Yes, not so difficult. I made a map for sweden, and it looks nice in Locus!
I am putting the map onto my dropbox account, but it takes an hour to upload. I'll put a link when it is ready. And it is: //http://dl.dropbox.com/u/24093622/sweden.osm.map
-peter
perfect, i'll create some links database in first post later
Sent from my Desire HD using Tapatalk
I guess we soon need some voices for each country for the voices of turn-by-turn navigation :D
That's gonna be pretty funny ;)
Daily updated vectormap files for Germany and its 16 federal states are available here: //ftp://ftp.mapsforge.org/europe/ 8-)
Works great in Locus... ;)
ah great, because I just wake up and after cca 12 hours, map isn't even in half ... looks that my computer not fast enough for this tasks :)
It also needs a lot of memory - I tried doing The Netherlands, but it didn't work with 4 GB.
I am now trying on a debian machine at work, it has 8 quadcores and 128 GB of memory :)
-peter
Some other observations... would it be possible to enable more than one vector map? I live in the border area between The Netherlands and Germany, and that involves switching maps (unless I make a Europe Vector map :) )
Is there (a 2 GB) limit on the vectormap size? I saw that Germany is 1.15 GB.
Is there some kind of caching possible? Zooming in and out seems to redraw from scratch. I realise vectormaps are not tiles, so this is maybe not possible.
O, and a little bug. If I switch vectormaps, the new one won't show until I zoom in our out. (edit: on second look, it seems to work right, but the disabled map still shows until I move away.)
Also, 50m seems to be the max-zoom, but the (+) button does not get disabled.
-peter
Hi,
is it possible to create croatia (Peninsula of Istria would be fine) for testing? I'll go there on friday and haven't found any satisfying map-sources for biking.
OCM seems to be not very useful for offroad-tracks.
Quote from: "shushuk"Hi,
is it possible to create croatia (Peninsula of Istria would be fine) for testing? I'll go there on friday and haven't found any satisfying map-sources for biking.
OCM seems to be not very useful for offroad-tracks.
I took the croatia.osm.pbf from geofabrik.de and made a map (I didn't test it though, but my sweden map worked): //http://dl.dropbox.com/u/24093622/croatia.osm.map
-peter
Quote from: "Rob"Nice feature - the top buttons - thx.
Little bug: when planning a route with auto and manuell parts. After finishing you cannot select the track when on a manual section. Moving cursor to an auto section highlights the track.
But this is really a very small issue...
Rob, this is not an issue. You cannot select track itself. Active are only points on track, so you have to tap on start or end of manual part where is some point!
Quote from: "durian"I took the croatia.osm.pbf from geofabrik.de and made a map (I didn't test it though, but my sweden map worked): //http://dl.dropbox.com/u/24093622/croatia.osm.map
Thanx for that! But I think I need some help to import it in Locus... Simply copy it to the maps folder?
you need version of Locus here from forum and put it into new Locus/mapsVector directory
All right, got it ;-)
Map seems to work, I will give it a try on location and will report...
there is now not much need to report. Work on vector maps will take a lot of time and I plan to release them on market at start of July probably. So really, use them, enjoy them but not report me any bugs :). When testing version will be ready for heavy vector maps field testing, I'll tell you :). Until then, test other features and report them. Like "Time rings" ;)
QuoteLike "Time rings"
Time rings?
-peter
Quote from: "durian"It also needs a lot of memory - I tried doing The Netherlands, but it didn't work with 4 GB.
I was going to try and find time today to try building a map (although I have no experience with Osmosis, which looks like it has a learning curve). Now I am discouraged :( Would it work OK if I were to just build a small map, say the southern 1/4 of NH? How long do you think that would take? A small map would be OK for testing Locus.
Quote from: "rijackson741"I was going to try and find time today to try building a map (although I have no experience with Osmosis, which looks like it has a learning curve). Now I am discouraged :( Would it work OK if I were to just build a small map, say the southern 1/4 of NH? How long do you think that would take? A small map would be OK for testing Locus.
Not sure... I managed to build the Netherlands map, but I had to allocate 16GB to Java. Then I tried Great Britain, that worked also. Next up was France, but that crashed with a Java out of heap space error, even with 16GB allocated. So I will try later today with more memory; other people are using that machine now.
Osmosis was easy to get going - I downloaded osmosis, downloaded the trove jar (link is on the mapsforge page, and installed the plugin in my home directory. It worked without problems (tried on both my MacBook, and a debian server at work).
-peter
How Do I enable the vector-map? I copied the germany-0.2.3.map into the mapsVector Folder, but when I try to add this as a new personal map, the folder remains empty.(Locus pro 1.8.7)
It only works with the testing version of Locus Free which you can download from the beginning of this thread.
Ok, I must have overlooked this, the link is so tiny ;)
durian may you please write configuration of your server and time for some map generating depend on map size? I'm with my friend works on some cloud solution for map generating and distributing, so I would like to know probably times and power needed for this. I will not be cheap task :) Thanks ...
No problem! Here are some figures. I ran those four on my MacBook Pro (late 2007 model) with 4 GB of RAM. I show the sizes of the osm/map files, the time taken according to osmosis and the unix "time" command, and the memory used, taken from the "top" command.
I ran some bigger maps at work, but that machine is down at the moment. I'll see if I can get those figures later.
-peter
Sweden:
Sizes:
82M sweden.osm.pbf
322M sweden.osm.map
Last line from osmosis:
INFO: Total execution time: 198661 milliseconds.
Info from "time ..."
real 3m21.554s
user 4m5.051s
sys 0m12.909s
Looking at the process list, the memory (RAM) used is about 2 GB.
Croatia:
17M croatia.osm.pbf
53M croatia.osm.map
INFO: Total execution time: 39268 milliseconds.
time:
real 0m39.672s
user 0m51.181s
sys 0m2.443s
Memory: up to 690 MB according to the process list.
Belgium:
59M belgium.osm.pbf
67M belgium.osm.map
INFO: Total execution time: 78399 milliseconds.
time:
real 1m18.940s
user 1m40.884s
sys 0m7.105s
memory: 1.25 GB
Slovakia:
87M 9 jun 08:50 slovakia.osm.pbf
196M 9 jun 08:54 slovakia.osm.map
INFO: Total execution time: 164305 milliseconds.
real 2m45.107s
user 3m52.164s
sys 0m9.232s
Memory: about 2 GB
ah these are valus from macbook? Damn, what's wrong with my machine. I have some I think very powerful AMD and it takes me few hours to generate small map. Hmm Java heap goes up to 1.5GB but still ...have to try on wife's notebook. Anyway thanks for info. If is generating so fast, then this will not be problem do it on some cloud service with much more power. Perfect ...
Yes on the macbook.
Could it be that if the memory is not enough, it goes too slow? When I tried Great Britain for the first time, I stopped it after an hour. When I increased memory again, it ran in 1384 seconds. But that machine has 8 intel quadcores and 128 GB of memory.
-peter
Log:
Jun 8, 2011 10:10:29 AM org.openstreetmap.osmosis.core.Osmosis run
...
Jun 8, 2011 10:10:30 AM org.mapsforge.preprocessing.map.osmosis.MapFileWriterTask <init>
...
INFO: start reading data...
Jun 8, 2011 10:23:06 AM org.mapsforge.preprocessing.map.osmosis.MapFileWriterTask complete
INFO: completing read...
Jun 8, 2011 10:23:06 AM org.mapsforge.preprocessing.map.osmosis.MapFileWriterTask complete
INFO: start writing file...
Jun 8, 2011 10:23:27 AM org.mapsforge.preprocessing.map.osmosis.MapFileWriter writeSubfile
...
Jun 8, 2011 10:33:33 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Total execution time: 1384529 milliseconds.
Quote from: "menion"Quote from: "Rob"Nice feature - the top buttons - thx.
Little bug: when planning a route with auto and manuell parts. After finishing you cannot select the track when on a manual section. Moving cursor to an auto section highlights the track.
But this is really a very small issue...
Rob, this is not an issue. You cannot select track itself. Active are only points on track, so you have to tap on start or end of manual part where is some point!
Ok understand. Thx for info.
new version for POI + Photo fans is here ... main features for testing is taking photo, picking photo, viewing photo and ... finally ... exporting POIs with photo ;). Bugs are expected ... as usual :)
Hi menion, great, that you take care about POIs & Photos - thx much!
1. Tests:
* taking more than 1 foto + storing to point - perfect
* Export poi + fotos in directory with same name as poi -ok.
Suggestion : store also the poi in this directory would avoid to search for :-)
EDIT: for POIs along a track, they should be stored in track-directory with filename=trackname (=trip- concept as you named it would be THE solution)
and to be able to select/create new directory when exporting- would be fency :-) to be able to differenciate between routes (plannings) and track (records). For now it's hard to separate in the export filelist.
* Picking a foto additional to taken ones - does not work (Galery pops up, to select a foto is possible, returned to Locus, but no foto shown with poi)
* Picking foto AFTER storing a poi (edit) - also not working.
* when exporting poi as gpx and trying to open directly in android in google maps (click on file and open with maps) - error: cannot load url....
EDIT: whats the difference in sidemenu buttons + and +foto? The contents look fairly the same. I think you can skip the "normal" + button, don't you ?
Guess these a minor bugs, but the overall concept is really great.
Good luck further....
Rob
perfect testing. thanks.
- what you mean by storing poi in category also? To place into one category exported file and photos?
- only that for me all works fine. Anyone similar experience? Also did this "pick" photo do not work for all photos? For me, it doesn't work for some sync photos from picasa but from photos from camera this works.
- on exported PX I'll look ...
and diference? First open only edit point dialog, second allow to firstly take a photo ... slight difference, but someone want to quickly take photo and this allow it ...
Quote from: "menion"perfect testing. thanks.
- what you mean by storing poi in category also? To place into one category exported file and photos?
Not in category but in Directory (export-folder). Now there is the poi in the export dir and a subfolder fotopoi and you have to search both. Than - just take the folder.
Top would be:
EXPORT
-TRACKS
--VIENNA
--Vienna_track.gpx
---FOTOPOIs
----Vienna_1.jpg
----Vienna_2.jpg
----Vienna_3.jpg
----Vienna_Poi.gpx
--PRAGUE
--Prague_track.gpx
---FOTOPOIs
----Prague_1.jpg
----Prague_2.jpg
----Prague_poi.gpx
-ROUTES
--IMPORTS
--CREATED
....
Quote- only that for me all works fine. Anyone similar experience? Also did this "pick" photo do not work for all photos? For me, it doesn't work for some sync photos from picasa but from photos from camera this works.
I'll tested with different fotos from gallery as well as via Quicpic. Not even one is picked. :-(
- on exported PX I'll look ...
Quoteand diference? First open only edit point dialog, second allow to firstly take a photo ... slight difference, but someone want to quickly take photo and this allow it ...
Ok
Sent from my GT-P1000 using Tapatalk
Quote from: "menion"- only that for me all works fine. Anyone similar experience? Also did this "pick" photo do not work for all photos? For me, it doesn't work for some sync photos from picasa but from photos from camera this works.
I had the same experience when picking a photo, I can select one in Gallery, but there is nothing when I return to Locus.
-peter
Dont know why but I have downloaded the 1.8.7.3 apk onto my android phone but it wont install.
I already have the Pro version installed and persmission for non-market apks but cant get the thing to install.
Have enough room on my phones memory too?
Any ideas please anyone?
no worries all, phone rebioot sorted it, :-)
hmm no idea ... this is normal version same I as usually publish on market. Do you receive some error message? If you have Free version installed, try to remove it first
Rob: I don't see it much useful. Firstly you cannot actually add photo to track so you can only export one poi category (and you will then receive one exported file and one directory). I don't see it hard to search these two object in export folder structure.
About exporting. It's hard for me to debug it. Are you at experienced with logcat or do you use some soft like aLogCat? because on my Xoom and DHD, all works fine as I wrote before. So I'll try simulator now and then probably I should do some testing version with debug messages that you can catch thanks to aLogCat
Quote from: "menion"Rob: I don't see it much useful. Firstly you cannot actually add photo to track so you can only export one poi category (and you will then receive one exported file and one directory). I don't see it hard to search these two object in export folder structure.
Ok, maybe I have to think about better use of my categories. Perhaps if tracks and pois could share same category name, it would help.
QuoteAbout exporting. It's hard for me to debug it. Are you at experienced with logcat or do you use some soft like aLogCat? because on my Xoom and DHD, all works fine as I wrote before. So I'll try simulator now and then probably I should do some testing version with debug messages that you can catch thanks to aLogCat
Unfortunately no experience. Maybe it's also my fault. I will play more in coming days.
Sent from my GT-P1000 using Tapatalk
not need to play ... founded mistake. It just a stupid space in name of added photo. try to add photo which do not have space in name. Got it ... :) nice weekend guys
EDIT: did anyone know how to correctly link image to GPX file? This
<link href="./test_001-photo/IMG 20110528_185738.jpg">
do not work and Google Earth on dektop throw error and no point is show. Without this line, it works and you can see point on map. I tried various relative/absolute path but noting works for me
Some more maps:
Denmark: //http://dl.dropbox.com/u/24093622/denmark.osm.map
Netherlands: //http://dl.dropbox.com/u/24093622/netherlands.osm.map Note: there is a white hole in the map - I am assuming it is some bug in the rendering/OSM data.
Great Britain: //http://dl.dropbox.com/u/24093622/great_britain.osm.map
-peter
Quote from: "durian"Quote from: "rijackson741"Osmosis was easy to get going - I downloaded osmosis, downloaded the trove jar (link is on the mapsforge page, and installed the plugin in my home directory. It worked without problems (tried on both my MacBook, and a debian server at work).
-peter
Well, I hate to admit this, but I need some pointers. I have downloaded trove, osmosis, and the mapforge plugin.
What do I do with trove once I have it? It comes with no instructions, and I couldn't even find any on the web. I guess it's aimed at Java developers, who just know what to do with it. I am not a Java developer though :(
The installation instructions for osmosis do not make any sense to me. The Readme says "On Windows, the file can reside in the following locations with later files overriding earlier files: %USERPROFILE%osmosis.bat". Firstly, simply copying the batch file to that folder cannot possibly be sufficient because it will not be able to find the library files. Second, the batch file calls %USERPROFILE%osmosis.bat, so putting the batch file there and running it leads to an infinite recursion. :?
Hopefully, once I have osmosis installed correctly I can copy the mapforge plugin to the Windows equivalent of the folder "$USER_HOME/.openstreetmap/osmosis/plugins", which at the moment of course does not exist.
Sorry for being dumb, but I figured it's easier to ask than to keep searching the web for better instructions.
No problem, it is mostly obvious for people who have experience with these kind of things!
Having said that, I only tried it on Mac OS X and Linux - I have actually not much experience with Windows, I used a Mac until 1994, and then started to use Linux. At work I have always worked with Unix systems. But I can explain what I did on the mac with the different parts of the system.
First of all, I downloaded and unzipped osmosis-0.38. There is a bin directory there with the osmosis.bat file, and a file called osmosis. The latter I can run from the command line in OS X/linux, like this. Assume I am in the same folder I unzipped the osmosis archive. Then I can run "osmosis-0.38/bin/osmosis" to start osmosis. The osmosis script in the bin directory finds all the files it needs. I am assuming (hoping :-) ) the bat file will do the same. Maybe you can try to start osmosis like that?
Then I downloaded the trove software from //http://sourceforge.net/projects/trove4j/files/trove/ I unzipped it and put the trove-3.0.0rc2.jar into this directory: osmosis-0.38/lib/default/
For the mapfile-writer plugin something similar. First I downloaded the mapsforge-mapfile-writer-0.2.3.jar from //http://code.google.com/p/mapsforge/downloads/list This I put (and now te problems will start :) ) into this directory in my home directory: .openstreetmap/osmosis/plugins/ (openstreetmap starts with a dot). I'm not sure how that translates to WIndows though...
Hm, I guess I am not much help, but maybe it helps a little.
-peter
Thanks. That got me there :D
Quote from: "durian"First of all, I downloaded and unzipped osmosis-0.38. There is a bin directory there with the osmosis.bat file, and a file called osmosis. The latter I can run from the command line in OS X/linux, like this. Assume I am in the same folder I unzipped the osmosis archive. Then I can run "osmosis-0.38/bin/osmosis" to start osmosis. The osmosis script in the bin directory finds all the files it needs. I am assuming (hoping :-) ) the bat file will do the same. Maybe you can try to start osmosis like that?
Yes, this works. The instruction in the readme file "On Windows, the file can reside in the following locations with later files overriding earlier files: %USERPROFILE%osmosis.bat" seems to be a complete red-herring. I have no idea what it is talking about, and the right thing to do seems to be to just ignore it. Simply running the Osmosis batch file works.
Quote from: "durian"Then I downloaded the trove software from //http://sourceforge.net/projects/trove4j/files/trove/ I unzipped it and put the trove-3.0.0rc2.jar into this directory: osmosis-0.38/lib/default/
Thanks. I found that instruction later in the documentation for the plugin. I was looking in the wrong place. I feel I should also have guessed that dropping it in the lib directory would work, but you know what they say about hindsight... :)
Quote from: "durian"For the mapfile-writer plugin something similar. First I downloaded the mapsforge-mapfile-writer-0.2.3.jar from //http://code.google.com/p/mapsforge/downloads/list This I put (and now te problems will start :) ) into this directory in my home directory: .openstreetmap/osmosis/plugins/ (openstreetmap starts with a dot). I'm not sure how that translates to WIndows though...
In Windows it is "C:documents and settings<Your Name>.openstreetmaposmosisplugins". You just have to create the directory and drop the plugin into it.
Quote from: "durian"Hm, I guess I am not much help, but maybe it helps a little.
It helped a lot. I just needed a couple of pointers, and you supplied them. Thanks :D
Now, like Menion, I am having trouble with anything other than very small maps though. Without the type=hd option I get an out of heap space error. With the type=hd option I successfully converted Delaware, but that is only 3.7Mb. It looks fine in Locus. I get a runtime error trying to convert New Hampshire though, which is 22Mb (not exactly huge either!). I'll have to play around a little to see if I can get past this latest hurdle.
Quote from: "durian"Some more maps:
Great Britain: //http://dl.dropbox.com/u/24093622/great_britain.osm.map
The UK map looks great. It seems much slower to load than the raster maps though. Is this just the nature of vector maps (because it has to process the map data)? I'm not complaining, just curious. Vector maps in Locus is going to be a really big advance, even if they are slower to load!
Hey everyone.
You need to go here:
//http://code.google.com/p/mapsforge/issues/detail?id=130&colspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Modified
and vote to get Locus support bumped up the priority list! (When you add a comment, click on the star!)
you discovered my topic on google.code in less then one day :) nice ...
and vector maps ... as you say. They are much harder to create bitmap to draw, that's why they are slower. Big benefit is space they need and also ability to search and route in data (this will maybe done later by mapsforge as I read). I'll also do some cache storage to increase speed of viewing areas you already saw
Quote from: "rijackson741"Thanks. That got me there :D
Ok, great!
Quote from: "rijackson741"Now, like Menion, I am having trouble with anything other than very small maps though. Without the type=hd option I get an out of heap space error. With the type=hd option I successfully converted Delaware, but that is only 3.7Mb. It looks fine in Locus. I get a runtime error trying to convert New Hampshire though, which is 22Mb (not exactly huge either!). I'll have to play around a little to see if I can get past this latest hurdle.
I have problems with the type=hd option too - maps which I can create otherwise fail with this option.
Did you try changing the heapspace in the osmosis.bat file? I added "JAVACMD_OPTIONS=-Xmx3000m" to the osmosis start-up script to get more memory. The sweden map was the largest one I managed to do on my 4 GB laptop.
-peter
I just published version with some small updates. I during weekend started with wife work on manual and also on some review for one czech servers so there is not much news but at least something. I would also like to release tomorrow new version because since Thursday to Sunday I have small turistic - locus terrain testing vacation ... finally :)
@menion
First: tnx for your work. Your program is great. I suspect that with vector map support it will be best GPS trek software for Android devices.
Second: i just made map of Poland and its work great. //http://dl.dropbox.com/u/32220883/Poland.zip
Quote from: "durian"Did you try changing the heapspace in the osmosis.bat file? I added "JAVACMD_OPTIONS=-Xmx3000m" to the osmosis start-up script to get more memory.
The largest I can set is 1400m ("set JAVACMD_OPTIONS=-Xmx1400m" in the batch file). If I try anything larger it can't create the Java VM. I assume that's because I'm running Windoze 32 bit. With that setting I can't covert the NH file, so I think it's time to give up. Most files are much bigger than the NH file, so if it can't do NH there's no hope. :cry:
1.8.7.5 crashes after moving ("scrolling" a litte faster in the same zoom level) with Google online (Classics) maps.
Seems not in 1.8.7 (latest Pro version). Could please anybody verify?
J.
Quote from: "rijackson741"The largest I can set is 1400m ("set JAVACMD_OPTIONS=-Xmx1400m" in the batch file). If I try anything larger it can't create the Java VM. I assume that's because I'm running Windoze 32 bit. With that setting I can't covert the NH file, so I think it's time to give up. Most files are much bigger than the NH file, so if it can't do NH there's no hope. :cry:
I'm not sure about the 32 bit, shouldn't that allow for about 4 GB?
By the way, if it is NH you're after, I can try to generate that for you,
-peter
Quote from: "durian"I'm not sure about the 32 bit, shouldn't that allow for about 4 GB?
Yes, in total. However, when Windows allocates the virtual memory space for each application by default it allocates 2Gb for the OS and 2Gb for the app. Since I can only allocate 1.4Gb for the heap I assume Java is reserving 600Mb for "other stuff". I can enable a 3Gb switch at boot time that changes the allocation of memory so that the app gets 3Gb and the OS only 1Gb. In principle that should give me enough memory for a 2.4Gb heap. I'll try it.
Quote from: "durian"By the way, if it is NH you're after, I can try to generate that for you,
Thanks. Let me try the 3Gb switch first. If I get NH done I also want Massachusetts though, which is 109Mb. I know I will not be able to do that!
Quote from: "rijackson741"Thanks. Let me try the 3Gb switch first. If I get NH done I also want Massachusetts though, which is 109Mb. I know I will not be able to do that!
There seems to be a problem with the NH data - I get a null pointer exception with both the pbf and the bz2 file. So it is maybe not your windows/java which is the problem!
I also tried Mass., that worked, I put it here (only created, not tested yet): //http://dl.dropbox.com/u/24093622/massachusetts.osm.map
-peter
Quote from: "rijackson741"Let me try the 3Gb switch first.
So much for that idea. The 3Gb switch is only useful if the application is made aware of the option using "IMAGE_FILE_LARGE_ADDRESS_AWARE" in the process header. I just assumed that Java would have that enabled, but I guess not. It made no difference to the maximum available heap.
do not put too much effort to map creating guys. I'll have to solve this "problem" in some global way when I'll enable officially vector maps in Locus, so I'm sure, all maps will be available but it will take some time ...
Quote from: "jusc"1.8.7.5 crashes after moving ("scrolling" a litte faster in the same zoom level) with Google online (Classics) maps.
Seems not in 1.8.7 (latest Pro version). Could please anybody verify?
J.
jusc, can you do for me any log from aLogCat program? (with this crash of course), thanks ...
also guys, if you really want to help, best for me is ability to simulate same problem on my phone. So when you take log thanks to aLogCat program immediately after app crash and also write me a little bit, what did you do, this is best and I'm sure, fix will be quick ... thanks!
Quote from: "durian"There seems to be a problem with the NH data - I get a null pointer exception with both the pbf and the bz2 file. So it is maybe not your windows/java which is the problem!
Aghhhh! That is the error I have been seeing all along, and I just assumed it was due to the file size! I should have tried another one I guess! I'll try China (43Mb) and see what I get.
Quote from: "durian"I also tried Mass., that worked, I put it here (only created, not tested yet): //http://dl.dropbox.com/u/24093622/massachusetts.osm.map
Thanks :D :D
Quote from: "menion"all maps will be available but it will take some time ...
But I want instant gratification :mrgreen:
Quote from: "rijackson741"Quote from: "durian"I'll try China (43Mb) and see what I get.
What I get is an out of memory error. With the type=hd option it takes a really long time to get there, but I still get the error. Maybe it's time to take Menion's advice!
Quote from: "menion"jusc, can you do for me any log from aLogCat program? (with this crash of course), thanks ...
just created
J.
Quote from: "menion"14.6.2011 - Locus 1.8.8
- new Free and Pro version released on market. Don't worry about active "Vector" tab ... it's visible only if you have any vector maps in mapsVector directory ;). So you can test actual maps also on Market version ...
So, what are these "Time Rings" ? :-)
-peter
enable it in settings (maps), enable GPS and try to go somewhere and you'll see it on maps ;)
Quote from: "menion"enable it in settings (maps), enable GPS and try to go somewhere and you'll see it on maps ;)
Now I saw the option - I didn't notice it before :) Now I've tried it too, cool!
-peter
In my own opinion, i would probably use this version. It is very good
Hi!
Can anybody make vector map for Austria?
Thanks in advance!
I have it already done... Must upload it... :oops:
Done.
Austria (//http://www.sendspace.com/file/3m44eq)
I have a similar request,
Has anyone built a vector map for Australia, its only a few letters different!
Thanks.
Quote from: "simonb"I have a similar request,
Has anyone built a vector map for Australia, its only a few letters different!
Here you go (untested). It's big, 973 MB, so it didn't fit into my dropbox anymore, and I put it on my personal website.
//http://berck.se/maps/australia-oceania.osm.map
-peter
Wow,
I'm impressed, Thank you Peter.
Downloading now, will let you know how it goes.
Came down overnight and works well, thanks again.
Simon.
! am a real sucker for punishment sometimes, so I decided to give the vector map creation another go. I learned a few things that may be useful to others.
Because of my memory limitations (i.e. my PC; I'm not senile. Yet) I tried to build some maps using a bounding box to limit the size of the generated map. For example, to create a map of Nashua, NH, from the full NH map:
osmosis --rb file=new_hampshire.osm.pbf --mapfile-writer file=NashuaGF.map type=HD bbox=42.704465,-71.541876,42.775014,-71.420628
I got the bounding box points from GE.
I also tried the same thing using the bz2 file from Cloudmade downloads:
osmosis --rx file=new_hampshire.osm.bz2 --mapfile-writer file=NashuaCM.map type=HD bbox=42.704465,-71.541876,42.775014,-71.420628
Both of these worked fine, even though I can't generate a map of the whole of NH. They only took 2-3 minutes.
As another example, create a Wheatley map from the Cloudmade bz2 file for England:
osmosis --rx file=england.osm.bz2 --mapfile-writer file=Wheatley.map type=HD bbox=51.720488,-1.323776,51.794130,-1.081554
There's a reason I chose to create this map from the Cloudmade files, but I'll put that in another post. This example is important, because although the resulting map is very small, the starting file is large: 368Mb. It seems the memory limitations are mainly associated with file writing, not the file reading. So anyone should be able to create small maps from large starting files, even if you don't have access to a big Debian server like Peter :) You do have to be patient though; this one took about 2.5 hours.
A couple of additional notes;
You do not need to unzip the .bz2 file to get a .osm file, even though the Wiki here; //http://code.google.com/p/mapsforge/wiki/MapFileWriterOsmosis implies that you do.
You might get a lot of warnings at the end that it couldn't delete files "C:Documents and Settings<YourName>Local SettingsTempidx********.tmp". At least, I get this every time. You should go and delete these files manually, because they can be very large (>1Gb).
I also created a map of southern NH. I suspect nobody else will want this, but if they do then I'll upload it. I cannot create a map of some parts of NH, not even a very small map. I logged an issue at MapForge regarding this: //http://code.google.com/p/mapsforge/issues/detail?id=134&colspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Modified
The real good news is that every map I have managed to create seems to work great in Locus :D
Only now I see that I can set the number of points to view on the current track if recording :)
Thanks!
-peter
you're welcome. It's there since last version.
when you're so ... all to go recorder ... may you please try Track recording widget in last testing version? I need to know if works correctly :) thanks
Hi Malesurf,
Much thx for uploading the Austrian vector map. Works great!
Quest: is there a setting in which zoomstep is displayed what?
E.g. streetnames are only shown on very high zoom, and I want that at least the mainroads are displayed in smaller zooms.
Regards
Rob
Sent from my GT-P1000 using Tapatalk
Regarding widget:
It really works fine! Even starts Locus if it's not running when Start recording.
"Stop" opens the Track recording menu,
"Pause" stops GPS (if set so)
"add point" opens the proper POI menu.... really easy.
Great work, thx.
Sent from my GT-P1000 using Tapatalk
fine, thanks. It was really big fight to rewrite all track recording stuff in locus to work with all settings also when locus is not running and to properly handle all GPS and storing stuff also without locus running ... need some more testing anyway but should work :)
also question on all: what are main information you want to see on a widget? Also, it interesting for you to have for example two sizes? One wide (as current) and one half only with start/stop button for example?
Yes, widget runs fine here too, (auto)track saving works also.
Some extra info on the widget could be length/time of track maybe? Is that possible with widgets, maybe an update once a minute or something?
-peter
update is not a problem. I can now update is in same way as top panel information in application ... I'll also maybe include 'i' button from record panel, ... maybe :)
ok, length, time. This is clear. Any more are really "needed"? :)
Bad news. I Installed 1.8.11.1, and put the widget on the screen. I get intermittent force closes. This has happened 6 times, including twice after rebooting the phone, and with nothing else running.
Quote from: "menion"also question on all: what are main information you want to see on a widget? Also, it interesting for you to have for example two sizes? One wide (as current) and one half only with start/stop button for example?
Yes, I would prefer a 1x2 widget. But I would prefer that the top and bottom of each half have separate functionality, so that all four functions are still available. This should be possible, because Weatherbug has a 1x1 widget for which tapping the bottom gets you a configuration screen, and tapping the top takes you into the app. Having said that though, assume that my vote doesn't count for much. I will almost certainly do all my recording from within Locus anyway, even if the widget is available.
Quote from: "rijackson741"Bad news. I Installed 1.8.11.1, and put the widget on the screen. I get intermittent force closes. This has happened 6 times, including twice after rebooting the phone, and with nothing else running.
Same here... I'm going to test 1.8.11.2 and see what happens...
thanks guys (berkley also for email) ... should be fixed in last testing version
I've cleard my error logs yesterday and today I have a about 10 new .err files in the folder. All filled with the same error message.
---------- 1 jul. 2011 07:57:12 ----------
TAG:TileCache
MSG:run() - while (!requests.isEmpty())
TRACE:java.lang.NullPointerException
at org.mapsforge.android.maps.az.i(L:1799)
at menion.android.maps.n.a(L:78)
at menion.android.maps.d.d.run(L:282)
at java.lang.Thread.run(Thread.java:1102)
This about 25 times with the same timestamp (1 second). My whole log folder is floooded with files ;)
Using vector maps of Netherlands and Czech Republic from this thread (message with both maps) in latest Locus Pro market version as well as todays Locus 1.8.11.2
I know about this, have to disable error logging for this :)
Quote from: "menion"thanks guys (berkley also for email) ... should be fixed in last testing version
No FC's so far, well done ;)
The intermittent FCs have gone for me too, but I have found another problem. I tried a recording. Starting the recording from the widget worked fine. When I stopped it I got the expected "save" screen, changed the name, and selected OK. But now if I try to start Locus Free it shows the same save screen again (with the exact same default name with the same time in it, so it's not a new track). So I saved the track a second time. When I did that I briefly got a recording notification, and then Locus Free exited (no error messages, just an exit). If I look in Locus Pro, the first track is correct, but the second one has a time of 0h:0m:0s and a distance of 0m. I then tried going into Locus Free again, but I got the same save screen again! So I saved the track a third time, got the same brief recording notification, Locus Free exited, but this time no track was saved at all. After that, every time I started Locus Free I got the same thing. If I select "Cancel" instead of "OK". Locus Free also exits.
Next I started a new recording from the widget. It started recording fine (which surprised me a bit - I was expecting it to do something bad at this point!). When I stopped the recording it saved fine, as before (with a new default name, so it's now a new track). Then I could exactly repeat the sequence above, except that I managed to get it to save two additional 0h:0m:0s tracks rather than only one.
I had the crash too, in the previous version, but I don't see the problem rijackson741 describes. Just came back from a small drive, used the widget to record, pause and stop. Afterwards Locus Free opens normally, without problems.
One thing I noticed, it seemed to switch off the GPS when pressing pause on the widget - but I have the "Keep GPS on when paused" switched on.
Another difference is that you see the track on the map after (auto-)saving when recording in Locus. After pressing stop in the widget the track is not displayed. Not a problem, just a small difference in behaviour :-)
-peter
I just rebooted the phone and tried again. Same thing, except that this time I manged to save many 0h:0m:0s tracks.
Also, if I turn off the GPS in system settings and then try to record using the widget I get a FC. After that the widget is dead.
I have figured out what is going on. I do not have Locus Free on my home screen, only Locus Pro. But since I knew I had run Locus Free earlier, after recording I selected it from the recent apps list (an act of laziness!). If I do that I always get the track save screen again. If I go to the actual Locus Free app and select that, Locus Free opens fine. After I have done that the icon in recent apps of course opens Locus Free normally again.
So Locus Free now has a split personality :D
Has someone generated Vector Maps for Spain ?.
regards frodo
Untested (as usual :-) ): //http://berck.se/maps/spain.osm.map
-peter
MapsForge has released new version 0.2.4 8-) Have you already used the new mapfile-writer? Would be interesting, if the created maps are different to the 0.2.3 version... ;) I'm just loading a 0.2.4 map from their server... :)
No, haven't tried that yet, will do!
It's certenly not the first time your will hear that but i really hope Locus will one day come to iOs.
It's for me, even in it's actual version, the best GPS/Mapping app ever made. Yes it's not perfect, but it's very complete and absolutely awsome.