I'm on java version 8.101, which is the most recent I can get. I used git clone to get the current master version of OsmAndMapCreator.
I suspect it's some sort of set-up issue. The instructions, including how to create a batch.xml file weren't very clear to me (I'm still not really sure if I need one). If you have any further instructions on precisely what to do once downloaded I'd appreciate that, but I don't think it's a version issue (so no need to send me a version), since others seem to have had similar problems over the years. Thanks Tim On Sunday, 9 October 2016 12:45:50 UTC+1, Max1234Ita wrote: > > I think the problem is in the Java version you are using, try updating it > to the latest version. > > Or, maybe, there's some issue with OsmAndMapCreator, you actually get the > latest nightly version from their site, so it's possible, sometimes, to > download a non-working executable; retry in the next days and maybe you'll > be more lucky... > > I'm not at home now, but if you want I can send you a copy of the working > version I'm using, once I'm back. > > Btw, consider you'll need LOTS of free RAM ): cjrrently it takes about > 8-10 Gigabytes to to generate a full map of Italy. > > Regards, > Max > > Il 09 Ott 2016 11:05 AM, "'Tim Passingham' via Osmand" < > [email protected] <javascript:>> ha scritto: > >> Thanks. >> >> As I understand it I need to convert a pbf to an obf using >> OsmAndMapCreator. I found the pbfs - that's fine. >> >> Unfortunately I can't get OsmAndMapCreator.sh to work on ubuntu (having >> cloned it from github). I first got "Error: Could not find or load main >> class net.osmand.swing.OsmExtractionUI" when I ran it from a terminal, and >> nothing if run from the GUI. I've seen other reports of this issue but >> have been unable to understand them well enough to get a solution that >> works for me. >> >> Are there any instructions anywhere apart from >> https://wiki.openstreetmap.org/wiki/OsmAndMapCreator ? I created a >> 'batch.xml' file as instructed, but when I ran the 'batch create' >> instructions I got* "Error: Could not find or load main class >> net.osmand.data.index.IndexBatchCreator"* >> >> Have you any thoughts? >> >> On Saturday, 8 October 2016 23:56:47 UTC+1, Max1234Ita wrote: >>> >>> Hi Tim, >>> yes, it's possible, though you'll have to create them by yourself, if >>> nobody has already done that. >>> >>> >>> Macro-region files in .pbf format are currently available for several >>> countries, i. e. for Italy 5 files are available (North-East, North-West, >>> Center, South and Islands); the same should be for Germany and France, if I >>> remember well: just check Geofabrik web pages: >>> http://download.geofabrik.de/europe.html#. >>> >>> Some local users may have already generated and shared the respective >>> .obf files, unfortunately sometimes they don't advertise very much their >>> work, so it could be quite hard to find them. >>> >>> If you need macro-regions for Italy, for instance, you can ask Local OSM >>> Community by posting here: >>> http://gis.19327.n8.nabble.com/Italy-f5324173.html (official language >>> is Italian but English is well understood by most of the users there, so >>> you should have no problem with communication :-). Alternatively >>> >>> Alternatively, you can download the full-country .pbf and create smaller >>> regional files by building as "shape file" and using it to "crop" the full >>> map. JOSM should be able to accomplish this task, but I've never done this, >>> so I'm not sure. >>> >>> >>> Cheers, >>> Max - Italy >>> >>> >>> On Saturday, October 8, 2016 at 2:14:13 PM UTC+2, Tim Passingham wrote: >>>> >>>> I find it very useful that someone is creating UK maps in just 4 maps >>>> in addition to the regional ones. Would it be possible to do the same for >>>> other European countries? When I am touring I don't always know where I >>>> may end up (or indeed the names of each and every region), and loading all >>>> regions of The Netherlands, Germany, France and others (maps, wikis, >>>> hillshade etc) is quite a chore. It would also mean I wouldn't have to >>>> have a 3rd party address file to cover the whole of each country. >>>> >>>> >>>> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Osmand" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/osmand/XlHDYiGkb4w/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
