[mkgmap-dev] Incorrect compilation of grid lines
From Roger Calvert roger at rogercalvert.me.uk on Wed Jun 25 12:12:18 BST 2014
I have a file containing the British National Grid lines, as printed on Ordnance Survey maps. This can be found at http://www.rogercalvert.me.uk/osm/GBGrid/GBGrid.zip (this contains two files, they are the same except for the addition of the 'version' tag in the GBGrid06.osm file). I compile this file with mkgmap and overlay it on my GPS map. This works correctly with mkgmap 2654 and It displays correctly in JOSM. With mkgmap version 3241, the lines are misaligned and out of position. The behaviour is the same on MapSource, BaseCamp and my device. No error messages are produced. (I have not used any versions of mkgmap in between these two). My style file allocates codes in the 0x10300 range to these lines, but the effect is the same when I use code 0x21 (contour) for all lines. Attached are screen dumps for a small part of the map, from JOSM, mkgmap 2654 and mkgmap 3241, and also the batch file I used to compile it. I would greatly appreciate any advice. Many thanks, Roger -- ------------------------------------------------------------------------ Roger Calvert http://www.rogercalvert.me.uk ------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140625/516b8e7c/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: Grid-josm.jpg Type: image/jpeg Size: 78080 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140625/516b8e7c/attachment-0003.jpg> -------------- next part -------------- A non-text attachment was scrubbed... Name: Grid-mapsource-mkgmap2654.jpg Type: image/jpeg Size: 59917 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140625/516b8e7c/attachment-0004.jpg> -------------- next part -------------- A non-text attachment was scrubbed... Name: Grid-mapsource-mkgmap3241.jpg Type: image/jpeg Size: 67395 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140625/516b8e7c/attachment-0005.jpg> -------------- next part -------------- @echo off echo basic testing file. All file names must be entered into template.args by hand. set map=Test set FID=555 rem * location for java components and rpause etc set UTILS=%USERPROFILE%\Documents\Utils echo ************************************************ echo Compiling %map%. Please wait echo ************************************************ echo. start /low /b /wait java -enableassertions -Xmx3000m -Dlog.config=logging.properties -jar "%UTILS%\mkgmap\mkgmap.jar" --code-page=1252 --family-id=%FID% --mapname="60%FID%001" --overview-mapname="%map%" --series-name="%map%" --family-name="Roger's Maps: %map%" --description="%map%" --no-poi-address --preserve-element-order --tdbfile --style-file=..\resources\styles --style=roger -c template.args "..\resources\style.txt" echo. echo *********************************************** echo *** IMG Creation Script End - Press any key *** echo *********************************************** pause >nul
- Previous message: [mkgmap-dev] Fwd: Redundant information in city search results
- Next message: [mkgmap-dev] Incorrect compilation of grid lines
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list