How to use OsmAndMapCreator with offline rendering, offline maps, etc

751 views
Skip to first unread message

Harry van der Wolf

unread,
Jan 29, 2015, 1:20:21 PM1/29/15
to osmand
OsmAndMapCreator should make it possible to use it offline with downloaded obf maps also to test routing. 
I set all paths correct (I think), downloaded a couple of OBFs, set a default render and a routing.xml in the right folder, I switched of the "usernet to download tiles" and removed the tiles folder and its contents.

I start OsmAndMapCreater and set it to "offline rendering". I only get an error in the AWT-eventqueue (java.lang.nullPointerException) and nothing happens further. I get the blocked background.

I have tried about 5-6 OsmAndMapCreator versions in the past 2 weeks but none of them work or I do something wrong.

Anyone with tips, a howto, etc?

Harry

Stephan75

unread,
Jan 29, 2015, 3:10:47 PM1/29/15
to osm...@googlegroups.com
Hello Harry,

when I remember years back, there was a thread on this list about this vector rendering offline with mapcreator.

There was a thing that this is only possible in linux systems, not o any windows.

Try to find this topic via "mapcreator" or similar ...

Stephan

Harry van der Wolf

unread,
Jan 29, 2015, 3:46:18 PM1/29/15
to osmand
2015-01-29 21:10 GMT+01:00 Stephan75 <der.steph...@googlemail.com>:
Hello Harry,

when I remember years back, there was a thread on this list about this vector rendering offline with mapcreator.

There was a thing that this is only possible in linux systems, not o any windows.

Windows??? What is that? I have not used Windows since 2007 privately.

Thanks for your reply.  I did a couple of google queries also in the google groups itself but could not find anything.
As far as I know this is also fairly new functionality.

Harry

Osmandtrier

unread,
Jan 30, 2015, 6:32:12 AM1/30/15
to osm...@googlegroups.com

Osmandtrier

unread,
Jan 30, 2015, 6:55:27 AM1/30/15
to osm...@googlegroups.com

I get a reaction of the routing:


After 10 minutes the result could be seen on the screenshot. OMC is still calculating. Will you borrow me your old phone.It will be quicker without heuristic coefficient.

Harry van der Wolf

unread,
Jan 30, 2015, 11:51:31 AM1/30/15
to osmand
Thanks.

I have the same settings as you (with linux paths).
I switched off "Lade Kacheln aus dem Internet" (load tiles from the internet) and switched on offline rendering in the main window.
But I get the "checker board" background.
The slow calculation is probably due to the native routing switched off but I have no idea either how to enable native routing: is it the osmand.lib that can't be found anywhere?


Osmandtrier

unread,
Jan 30, 2015, 1:53:41 PM1/30/15
to osm...@googlegroups.com
If your are trying to customize routing profiles, have a look to http://brouter.de/brouter-web/

In reference to an other discussion, how many profiles you would be able to test, if you have not to look for the solution how to test.

I am able to use this possibility, instead  I am lowskilled in computer science. And you can not use, instead of your higher skills the possibility of the great opportunities of this open source project.

Harry van der Wolf

unread,
Jan 30, 2015, 2:35:30 PM1/30/15
to osmand
2015-01-30 19:53 GMT+01:00 Osmandtrier <stephan....@googlemail.com>:
If your are trying to customize routing profiles, have a look to http://brouter.de/brouter-web/

In reference to an other discussion, how many profiles you would be able to test, if you have not to look for the solution how to test.

I don't know what you mean. 

I am able to use this possibility, instead  I am lowskilled in computer science. And you can not use, instead of your higher skills the possibility of the great opportunities of this open source project.


I don't know wether you mean this sarcastically with regard to me or to OsmAnd as project, but I know how to add start/end points on the map (with the internet tiles enabled).
And I know how to compute a route using YOURS for example. However Osmand route, Osmand base route and Osmand complex route only generate an error being the "java.lang.NullpointerException".

Attached also a screen capture of my settings.

Harry

osmandmapcreator.jpg

Pere Pujal i Carabantes

unread,
Jan 30, 2015, 6:49:49 PM1/30/15
to osm...@googlegroups.com
El dv 30 de 01 de 2015 a les 20:35 +0100, en/na Harry van der Wolf va
escriure:
> And I know how to compute a route using YOURS for example. However Osmand
> route, Osmand base route and Osmand complex route only generate an error
> being the "java.lang.NullpointerException".
>
> Attached also a screen capture of my settings.

Out of curiosity I installed osmandmapcreator and tested with the
default settings: Null pointer, then added the path to the dir with the
maps: It runs for me.
settings points to generic "routing.xml" and "default.render.xml"
I haven't any of routing.xml default.render.xml nor rendering_types.xml
in the osmandmapcreator directory.


I'd suggest you start from the beginning with no customization, then do
one change at a time, start first with the path to the directory where
the obf are, then if it runs customize another setting.
To be on the safe side I suggest too restart osmandmapcreator after each
settings modification.

HTH
Pere

Osmandtrier

unread,
Jan 31, 2015, 12:53:15 AM1/31/15
to osm...@googlegroups.com
Thanks


Am Freitag, 30. Januar 2015 20:35:30 UTC+1 schrieb Harry van der Wolf:


2015-01-30 19:53 GMT+01:00 Osmandtrier <stephan....@googlemail.com>:
If your are trying to customize routing profiles, have a look to http://brouter.de/brouter-web/

In reference to an other discussion, how many profiles you would be able to test, if you have not to look for the solution how to test.

I don't know what you mean. 

The discussion where you asked me to leave the forum.
 

I am able to use this possibility, instead  I am lowskilled in computer science. And you can not use, instead of your higher skills the possibility of the great opportunities of this open source project.


I don't know wether you mean this sarcastically with regard to me or to OsmAnd as project, but I know how to add start/end points on the map (with the internet tiles enabled).
And I know how to compute a route using YOURS for example. However Osmand route, Osmand base route and Osmand complex route only generate an error being the "java.lang.NullpointerException".


No it was not sarcastically.  The given link is a service of brouter. It is the web version of Brouter. You can test there your routing profiles for Brouter and this webinterface give you the same result like the app. You also able to get a nice statisic of the routing. The advice means, look how nice the world could be.

Harry van der Wolf

unread,
Jan 31, 2015, 8:06:42 AM1/31/15
to osmand
2015-01-31 6:53 GMT+01:00 Osmandtrier <stephan....@googlemail.com>:

No it was not sarcastically.  The given link is a service of brouter. It is the web version of Brouter. You can test there your routing profiles for Brouter and this webinterface give you the same result like the app. You also able to get a nice statisic of the routing. The advice means, look how nice the world could be.


I know that link. I use it myself as well for cycle routing as cycle routing from OsmAnd is indeed not very good.

Harry 
Message has been deleted

Osmandtrier

unread,
Feb 1, 2015, 7:53:58 AM2/1/15
to osm...@googlegroups.com
Thank you. But no positive result.

Osmandtrier

unread,
Feb 22, 2015, 5:40:30 AM2/22/15
to osm...@googlegroups.com
I have downloaded today the actual version of OsmandMapCreator. It seems to work. Why only "seems". Routing calculation is on my phone more quicker then on the PC.

The stats in the logfile are not very helpful.
Reply all
Reply to author
Forward
0 new messages