Hello everybody.
--
You received this message because you are subscribed to the Google Groups "Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Lennert,We know this. The problem is that you need to select the region where "you think" is the address.Especially as a foreigner when I need to search an address in, for example, Germany, I have no idea whether it is in Nordrein-Westphalen, Hesse, etc. (and I assume that this is also valid for a lot of Germans for small villages).That's why you need a full country address maps for those split-up countries.Harry
If a country has a single file,
you need not to remember anything,
so it is problem for splitted countries only.
If a country has a single file,
you need not to remember anything,
so it is problem for splitted countries only.
Yes, of course, and it "only" affects several thousands of users... who only have the culprit of living in a "splitted" country and now are cursing the day they chose OsmAnd as their favorite navigation app!
There are not splitted countries, but splitted maps, and the problem just makes angry everyone needing to navigate in those countries.
A working solution was available: we just want someone to put it back, .or provide another solution. It doesn't no matter if it's better or worse from development side, but it MUST be working.
So, my NAS is running on Nas4Free (FreeBSD). I have plenty of diskspace left and practically unlimited bandwidth (FTTH). I am willing to setup a Syncthing or btsync repository for the big files. But then I appreciate if someone can walk me through the bits of building the map files.
So, my NAS is running on Nas4Free (FreeBSD). I have plenty of diskspace left and practically unlimited bandwidth (FTTH). I am willing to setup a Syncthing or btsync repository for the big files. But then I appreciate if someone can walk me through the bits of building the map files.
I forgot to say that diskspace is nice, but you need enough memory. 8GB is really the absolute bottom limit for a country like Germany and now, 2 years later, I'm afraid it will not be enough.Italy will fit in 5-6 GB
The NAS is fitted with 8 GB. But I have no problem replacing it with bigger memory banks for a good purpose.
BTW, you seem to only refer to the address list. But on a personal note I'm more interested in generating the bigger/combined country maps. If Victory is adding the address lists to the repo again, I may not need to generate the address list. But first lets see what your hidden treasury box has for scripts :-)
--
There are 2 things to consider for the big countries.First: A normal full country map for Germany would require at least 12GB working memory and would even run on very fast hardware for more then 12 hours. The memory and CPU requirements do not build up linearly but way faster (not exponentially, but I never did a mathemeatical analysis :) )
Secondly: Germany and France (and Canada and Russia?) would be bigger then 4 GB which would require you to convert your SD card to ext2/3/4 instead of fat32. This would be a big challenge for many users.In the past I suggested to split up Germany in North and South, or 4 segments: North, South, West, East using the regions as borders. That would at least simplify a lot (from user perspective that is) and the sub maps would easily fit into the 4 GB size size limit.
Secondly: Germany and France (and Canada and Russia?) would be bigger then 4 GB which would require you to convert your SD card to ext2/3/4 instead of fat32. This would be a big challenge for many users.In the past I suggested to split up Germany in North and South, or 4 segments: North, South, West, East using the regions as borders. That would at least simplify a lot (from user perspective that is) and the sub maps would easily fit into the 4 GB size size limit.
Also, the JVM with osmandcreator in it crashes with "Bus Error" as soon as the file it creates crosses the 2 GB border, no matter how much memory you have - at least with OpenJDK, maybe the Oracle one is better.
And I agree that splitting into fewer parts would be an improvement for users.
Germany unfortunately is a little bit above 4 GB in total size, so you have to split it into at least three parts, I actually tried that out.
The conversion of that 3 files took 17 hours and had a peak memory usage of 26 GB in batch mode.
That's probably more memory than the average home PC has, but machines with >=32 GB RAM are very affordable. But I'm assuming the osmand project doesn't have any?
I am now contemplating the idea to combine small maps into one. The benefit is that you always are in sync with the latest map revisions.
Secondly you don need to generate the map, but only combine / repackage maps.
As soon as I have time (which won't be anytime soon unfortunately) I will dissect OsmAndMapCreator to see if it can be modified to support this.
Suggestions are most welcome ofcourse!
If "big-iron" is the way to go: AWS servers are cheap.
Ceaus