Re: [mkgmap-dev] --bounds not accepting ~ (tilde)

2013-02-14 Thread Marko Mäkelä
On Thu, Feb 14, 2013 at 10:46:14PM -0800, GerdP wrote: >I am not convinced that it's worth all the work. Me neither. I would just leave it as is. It is not that hard to write "$HOME" or $HOME instead of ~ if you need it. Instead of typing the commands interactively on the command line, you could

Re: [mkgmap-dev] --bounds not accepting ~ (tilde)

2013-02-14 Thread GerdP
Hi, a quick check in the source shows that it is not easy to implement. We have at least these parms to specify a path or file name or a list of them: --style-file --bounds --coastlinefile --input-file --output-dir --license-file --precomp-sea Each parm is handled in its own way, esp. the relate

Re: [mkgmap-dev] --bounds not accepting ~ (tilde)

2013-02-14 Thread Rich
On 2013-02-14 23:48, Marko Mäkelä wrote: > Hi Gerd, > >> to be precise: >> I tested with ubuntu default shell. >> >> java -jar mkgmap.jar ~/xyz.osm.pbf works >> java -jar mkgmap.jar --bounds=~/bounds_20121118.zip xyz.osm >> gives file not found error for the bounds file > > That would probably be

Re: [mkgmap-dev] --bounds not accepting ~ (tilde)

2013-02-14 Thread Marko Mäkelä
Hi Gerd, >to be precise: >I tested with ubuntu default shell. > >java -jar mkgmap.jar ~/xyz.osm.pbf works >java -jar mkgmap.jar --bounds=~/bounds_20121118.zip  xyz.osm >gives file not found error for the bounds file That would probably be the Bourne again shell (bash), which is the default inter

Re: [mkgmap-dev] --bounds not accepting ~ (tilde)

2013-02-14 Thread Gerd Petermann
Date: Thu, 14 Feb 2013 21:15:30 +0100 Subject: Re: [mkgmap-dev] --bounds not accepting ~ (tilde) Hi Marko, the parameter is accepted, but you get a file not found error. Gerd > Date: Thu, 14 Feb 2013 22:11:36 +0200 > From: marko.mak...@iki.fi > To: mkgmap-dev@lists.mkgmap.org.uk >

Re: [mkgmap-dev] --bounds not accepting ~ (tilde)

2013-02-14 Thread Gerd Petermann
Hi Marko, the parameter is accepted, but you get a file not found error. Gerd > Date: Thu, 14 Feb 2013 22:11:36 +0200 > From: marko.mak...@iki.fi > To: mkgmap-dev@lists.mkgmap.org.uk > Subject: Re: [mkgmap-dev] --bounds not accepting ~ (tilde) > > On Thu, Feb 14, 2013 a

Re: [mkgmap-dev] --bounds not accepting ~ (tilde)

2013-02-14 Thread Marko Mäkelä
On Thu, Feb 14, 2013 at 08:36:02PM +0100, Gerd Petermann wrote: >yes, it seems that the shell doesn't replace the ~ when it is used in >parameters. Same problem occurs with the coastlinefile option. > >I think that is acceptable, but we could implement something I don't think we should try to rep

Re: [mkgmap-dev] --bounds not accepting ~ (tilde)

2013-02-14 Thread Gerd Petermann
)); Don't know what this will do on a windows system. Gerd > Date: Thu, 14 Feb 2013 12:53:34 +0200 > From: ric...@nakts.net > To: mkgmap-dev@lists.mkgmap.org.uk > Subject: [mkgmap-dev] --bounds not accepting ~ (tilde) > > looks like --bounds option does not properly parse p

[mkgmap-dev] --bounds not accepting ~ (tilde)

2013-02-14 Thread Rich
looks like --bounds option does not properly parse path, starting with ~ that took me some time to figure out why it doesn't find the bounds :) -- Rich ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listi