branch to experiment with changes in StyledConverter

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2766 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Store current level and whether map is routable
in the FilterConfig class. This will be used later.
No change in img output expacted.

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2767 25d90789-57f7-4ee0-8453-03a3dfeeeb22
remove some 250 point for road limits. 
A MapRoad is allowed to have more than 250 points.
This will reduce NOD size a little bit in
regions that have long roads, e.g. Australia.
Should also improve index.


git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2768 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Don't split road because of large bbox.
There is no such limit in the img format.
This may produce smaller img files.

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2769 25d90789-57f7-4ee0-8453-03a3dfeeeb22
code tidy, should not effect output

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2770 25d90789-57f7-4ee0-8453-03a3dfeeeb22
remove obsolete parm

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2772 25d90789-57f7-4ee0-8453-03a3dfeeeb22
- Don't use - don't use PreserveHorizontalAndVerticalLinesFilter for lines
- Ignore preserved flag for lines on levels > 0


git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2773 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Use RemoveObsoletePointsFilter also for lines.
This reduces img size, should not have any visual
effect.

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2774 25d90789-57f7-4ee0-8453-03a3dfeeeb22
-revert 2769. We must make sure that the way bbox is small enough,
not because of a limit in the img format, but because else we might
write road segments in the wrong order to the RGN file, and that seems
not to be allowed.
- allow arc length to be written with 22 bit encoding. This allows a max.
arc length of about 20000 km.

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2776 25d90789-57f7-4ee0-8453-03a3dfeeeb22
remove out-aged error message regarding arc length 

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2777 25d90789-57f7-4ee0-8453-03a3dfeeeb22
implement code to allow splitting roads during
the sub division split process. This is quite 
complex. It is probably not useful as long
as we don't want to split roads, e.g. to 
reduce the number of sub divs.


git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2778 25d90789-57f7-4ee0-8453-03a3dfeeeb22
correction:  mkgmap:skipSizeFilter was ignored

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2779 25d90789-57f7-4ee0-8453-03a3dfeeeb22
correction:  RemoveObsoletePointsFilter removed point after spike,
that was not intended and caused deformed shapes.
(only in this branch)


git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2781 25d90789-57f7-4ee0-8453-03a3dfeeeb22
improvement: preserve only those points that lie on the shape boundary.
This allows Douglas-Peucker to remove more obsolete points, thus 
reducing img size. Also improves shapes on low res.

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2782 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Let LinePreparerFilter work like LinePreparer also with shapes.


git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2783 25d90789-57f7-4ee0-8453-03a3dfeeeb22
optimization: don't execute loop too often

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2786 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Merge from trunk

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

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2798 25d90789-57f7-4ee0-8453-03a3dfeeeb22
revert 2778, solved not much, introduced new problems when 
long ways (ferry lines) are split into > 128 parts.

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/reduce_limits@2799 25d90789-57f7-4ee0-8453-03a3dfeeeb22
adapt unit test

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