branch to continue work on overview map

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/overview2@2545 25d90789-57f7-4ee0-8453-03a3dfeeeb22
create overview map based on the objects in the lowest zoom level of the detailed maps.
Configuration is not yet done, for now use parameters ---x-overview-add-polygons --x-overview-add-lines --x-overview-add-points



git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/overview2@2546 25d90789-57f7-4ee0-8453-03a3dfeeeb22
disable debug code

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/overview2@2547 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Don't create tdb file or overview map twice

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/overview2@2548 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Implement basic configuration file reader for overview map.
Use option --x-overview-cfg=cfgfile to specify a file that contains lines like this:
# configuration of overview map
# format: object-type:type 
# object-type is one of point,line, or polygon
# type is an integer or * (asterisk) to include all types
point:*
line:*
polygon:0x3b
polygon:0x3e

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/overview2@2549 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Fix NPE for shapes without labels

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/overview2@2550 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Start to adapt unit tests

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/overview2@2551 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Correct typo: Polygons with extended types were ignored when no line with extended type was found in the same sub division

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/overview2@2552 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Make unit tests work again: close resources in OverviewBuilder like in MdrBuilder

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/overview2@2553 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Correction: Data with extended types was ignored when no normal types were found

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/overview2@2554 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Corrections: 
a) Some POI were ignored, 
b) type decoding for points did not shift type values, thus 0x1500 was treated as 0x15
c) make sure that instance of places has correct sort attribute

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/overview2@2555 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Add checks to disallow invalid types in style

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/overview2@2556 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Remove type checks, they have to be done somewhere else

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/overview2@2557 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Correction: Don't shift the type of a point. The existing code that builds the indexes works only with the unshifted value.

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/overview2@2558 25d90789-57f7-4ee0-8453-03a3dfeeeb22
revert changes, they were committed by accident

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/overview2@2559 25d90789-57f7-4ee0-8453-03a3dfeeeb22
Perform some plausibility checks when --list-styles is used.

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

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/overview2@2563 25d90789-57f7-4ee0-8453-03a3dfeeeb22
- remove options --x-overview-add-xxx, they are now true by default
- add option --overview-cfg to help file
- add some plausibility checks when reading the overview-cfg file (logged as warnings)

git-svn-id: http://svn.mkgmap.org.uk/mkgmap/branches/overview2@2564 25d90789-57f7-4ee0-8453-03a3dfeeeb22
-removed out-aged incomplete style tests, these will later be merged from trunk
-added StyleImpl.readStyle to remove duplicated code regarding evaluation of --style-file and --style

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

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