[talk-au] I feel like such a newbie

Steve Bennett stevagewp at gmail.com
Tue Jul 17 12:37:48 BST 2012


On Tue, Jul 17, 2012 at 8:52 PM, Brett Russell <brussell237 at live.com.au> wrote:
> Ok thanks to John I am starting the first baby step to using mkgmap so I
> have installed Java.  It think it works as I am using JOSM and that worked.
> Downloaded a small sample file of the Walls area using OSM data extract as I
> could not as yet figure out the other option and "borrowing" Australia from
> another suggested site was a bit big in file size for me and I was hoping to
> avoid splitting at this stage working on the KISS principle.  This created a
> Walls_test.OSM file.  Now quite chuffed with progress but then came unstuck
> here with this command line instruction.

Hi Brett,
 Could you give us a bit of context what you're trying to achieve? Are
you playing around with generating maps for the fun of it - if not,
there might be easier ways to get the maps you want using existing
online services (like hikebikemap) or whatever. You could also ask on
the general mailing lists (talk at openstreetmap.org) if it's not
specific to Australia.

>
> java -jar mkgmap.jar --route --remove-short-arcs --add-pois-to-areas --index
> --gmapsupp *.osm.pbf
>
> Now this is were my newbie status shows in spades.  Am I correct to assume
> that this is a DOS command line instruction?  If it is I then get this error

"Windows command prompt" rather than DOS, but yes. (The prompt bears a
passing similarity to DOS, but DOS itself hasn't been around for a
decade or more.)

> 'Java' is not recognized as an internal or external command,
> operable program or batch file.

You need to install it then. Install the JDK version (Java development kit).

> Now and ice age of two has passed since I used DOS or Unix in anger and
> something tells me for "java" to be recognized it needs to be in a path.
> Ironically I would have a better chance of doing this in Unix than DOS as I
> once used .profiles extensively in Unix.  Now if you have fallen off your
> chair laughing as this is not a command line instruction then please point
> me to what I should be doing.  Also big hint on scripts would be good.  I
> assume it might be a text file you write/steal/borrow?

What version of Windows are you using? If Java is installed but isn't
in the path, do this:
1) Press windows key+Break
2) Advanced tab
3) Environment variables
4) Modify "path" variable to point to the bin directory of your Java
installation.

> The idea is to create a MEM (Middle Earth Map for an Ent) just for Tassie at
> this stage with the zoom levels optimised for bushwalking.  By that, big
> peaks and foot tracks showing up big time.  As mentioned I played with the
> OSM_Australia *.IMG files with good success but they are optimised for
> motorised wheel machines not the la (or is is le?) ped.

There really are lots of other forms of Garmin maps that you can
download from other places. Take your pic:
http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/Download

Steve



More information about the Talk-au mailing list