branch for new data in NOD header with length 127

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3082 25d90789-57f7-4ee0-8453-03a3dfeeeb22
- set bit 0x04 in table C format when table a contains roundabouts
and write number of them


git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3083 25d90789-57f7-4ee0-8453-03a3dfeeeb22
sort nodes within one route center by lon/lat 


git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3084 25d90789-57f7-4ee0-8453-03a3dfeeeb22
- correction: always set bit 0x02 in NodHeader offset 0x1d
(was by mistake dependent on the drive-on-left setting)
- document meaning of distance multiplier bits at 0x1d
- group nodes in NOD by road class
- write NOD 4 section with major road boundary nodes
- add additional arcs to major roads
- ignore option no-arc-curves
- correct writing of table B indexes > 63


git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3085 25d90789-57f7-4ee0-8453-03a3dfeeeb22
change log message to info

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3086 25d90789-57f7-4ee0-8453-03a3dfeeeb22
don't add 180 degrees to boundary latitude values - Steve

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3088 25d90789-57f7-4ee0-8453-03a3dfeeeb22
merge from trunk r3089

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3090 25d90789-57f7-4ee0-8453-03a3dfeeeb22
make sure that direct arcs are used for calculation of 
route restriction nodes

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3094 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Stop TableB reference in a restriction from sign extending.

Was not being masked, so looked like a node offset instead of a
table b reference. Resulting in an invalid node.

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3095 25d90789-57f7-4ee0-8453-03a3dfeeeb22
fix problems with roundabouts

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3096 25d90789-57f7-4ee0-8453-03a3dfeeeb22
add special handling for Poland: remove województwo 

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3097 25d90789-57f7-4ee0-8453-03a3dfeeeb22
merge from trunk r3093

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3098 25d90789-57f7-4ee0-8453-03a3dfeeeb22
correction: calculate bearing and direct distance for additional
arcs between source and destination node, not between "step" node 
and destination.

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3099 25d90789-57f7-4ee0-8453-03a3dfeeeb22
round bearing values before converting to int

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3100 25d90789-57f7-4ee0-8453-03a3dfeeeb22
correction: save length of the partial arc , but calculate length ratio for the full path compared to direct length

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3101 25d90789-57f7-4ee0-8453-03a3dfeeeb22
read styles from jar with utf-8 

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3102 25d90789-57f7-4ee0-8453-03a3dfeeeb22
fix build: utf-8 needs try/catch block, use similar code for DirectoryFileLoader and JarFileLoader


git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3103 25d90789-57f7-4ee0-8453-03a3dfeeeb22
fix possible(?) NPE in WrongAngleFixer reported by findBugs

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3104 25d90789-57f7-4ee0-8453-03a3dfeeeb22
improve readability regarding length multiplier

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3105 25d90789-57f7-4ee0-8453-03a3dfeeeb22
don't encode curve data for rather short arcs (~8m)

encode curve data if encoded path length is greater than encoded 
direct length

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/NOD127@3106 25d90789-57f7-4ee0-8453-03a3dfeeeb22