logo separator

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

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Feb 14 20:20:16 GMT 2013

Hi Marko,

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

Gerd

From: gpetermann_muenchen at hotmail.com
To: mkgmap-dev at lists.mkgmap.org.uk
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.makela at iki.fi
> To: mkgmap-dev at lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] --bounds not accepting ~ (tilde)
> 
> 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 replicate any shell functionality. But, 
> if we do not accept
> 
> java -jar mkgmap.jar --bounds ~/foo
> 
> then that could be fixed. GNU getopt allows both --long-option=value and 
> --long-option value.
> 
> 	Marko
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
 		 	   		  

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130214/081f154b/attachment.html 


More information about the mkgmap-dev mailing list