logo separator

[mkgmap-dev] [PATCH v4] contours

From Apollinaris Schoell aschoell at gmail.com on Fri Jul 10 04:06:28 BST 2009

applied the patch and did a svn diff again. apply with patch -p 1 <  
patch_clean
added the additional files as individual files. below the original  
post from Christian where to put them. Can compile but have not tested  
the functionality yet.

 > Sorry, I have no tool to generate a patch file which  contains new  
files.
 > You have to apply the contours_v4.patch with the patch command  
(patch < contours_v4.patch) and copy the Java files by hand  
(HGTDEM.java to src/uk/me/parabola/mkgmap/reader/dem and  
GeoTiffDEM.java to src/uk/me/parabola/mkgmap/reader/dem/optional).
 > according to an earlier post from


-------------- next part --------------
A non-text attachment was scrubbed...
Name: GeoTiffDEM.java
Type: application/octet-stream
Size: 5110 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090709/e6b997ad/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HGTDEM.java
Type: application/octet-stream
Size: 1901 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090709/e6b997ad/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_clean
Type: application/octet-stream
Size: 16203 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090709/e6b997ad/attachment-0002.obj 
-------------- next part --------------



On 9 Jul 2009, at 11:23 , Stuart Poulton wrote:

> Arg....
>
> Still no luck. Does someone have patched files that include the  
> latest contour functionality ?
>
> Cheers
>
> Stuart
>
> On 9 Jul 2009, at 17:14, Apollinaris Schoell wrote:
>
>> had the same problem, adding a space solved it. the lines without -/ 
>> + need to be exactly as in the original file.
>>
>>
>>
>> On 8 Jul 2009, at 14:08 , Stuart Poulton wrote:
>>
>>>> Some research brought up the answer: It is a problem with slashes  
>>>> and backslashes and can be solved by calling patch with -p0.
>>>
>>> Ok, no luck here
>>>
>>> gateway:/home/g-dev/svn/trunk # patch -p0 < ../contours_v4.patch
>>> patching file src/uk/me/parabola/mkgmap/reader/dem/DEM.java
>>> patch: **** malformed patch at line 6: package  
>>> uk.me.parabola.mkgmap.reader.dem;
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



More information about the mkgmap-dev mailing list