Work on algorithm that assures complete polygons

git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@205 838fabe5-b1a8-4b81-9896-7a84386980e9
patch splitter_problem_list_v2:
- added o5m read+write support (write is not well tested)
- added parm problem-file for problematic ways and rels


git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@206 838fabe5-b1a8-4b81-9896-7a84386980e9
Cleanup:
- remove deprecated legacy-mode parameter
- delete unused sources including the related tests


git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@207 838fabe5-b1a8-4b81-9896-7a84386980e9
- stop immediately if parameter problem-file specifies invalid or non-existing file
- correct handling of nodes that are part of a problem polygon, but outside of all tiles 

git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@208 838fabe5-b1a8-4b81-9896-7a84386980e9
Correct handling of sub relations, cleanup

git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@209 838fabe5-b1a8-4b81-9896-7a84386980e9
Cleanup:
- remove dead code
- change OSMWriter to interface
- add AbstractOSMWriter class

git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@210 838fabe5-b1a8-4b81-9896-7a84386980e9
Cleanup: remove dead code

git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@211 838fabe5-b1a8-4b81-9896-7a84386980e9
Implement splitter with problem list generator. New parameter:
--keep-complete activates the problem list generator
This should be used with overlap=0, because there is no longer a need for an overlap. Expect much longer runtime and high memory usage when using large input files.


git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@212 838fabe5-b1a8-4b81-9896-7a84386980e9
Added test for SparseLong2Int map functions. 

git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@213 838fabe5-b1a8-4b81-9896-7a84386980e9
- Fix minor errors in comments
- correct detection of one-value-chunks
- correct stats()
- add random access tests

git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@214 838fabe5-b1a8-4b81-9896-7a84386980e9
cleanup (no change in output expected compared to r213): 
- SparseLong2IntMapInline.java turned out to be obsolete 
- don't allow overlap in pseudo writers

git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@215 838fabe5-b1a8-4b81-9896-7a84386980e9
remove SparseLong2Int tests

git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@216 838fabe5-b1a8-4b81-9896-7a84386980e9
Refactoring: Rename Generator to Processor, no functional change

git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@217 838fabe5-b1a8-4b81-9896-7a84386980e9
Refactoring, no functional change

git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@218 838fabe5-b1a8-4b81-9896-7a84386980e9
reverse most unintended changes 

git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@219 838fabe5-b1a8-4b81-9896-7a84386980e9
remove confusing file parameter from PseudoOSMWriter

git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@220 838fabe5-b1a8-4b81-9896-7a84386980e9
fix typo

git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@221 838fabe5-b1a8-4b81-9896-7a84386980e9
v2 of the boundingBox patch

git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@222 838fabe5-b1a8-4b81-9896-7a84386980e9
stop with rc -1 if keep-complete fails 

git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@223 838fabe5-b1a8-4b81-9896-7a84386980e9
- correct handling of nodes in relations
- correct creation of pseudo areas 
- handle overlapping tiles
- performance improvements:
 + reduce number of expensive intersects() for ways
 + much faster pseudo area creation (still room for optimization) 
- improved reporting of incomplete relations or ways

git-svn-id: http://svn.mkgmap.org.uk/splitter/branches/problem-list@224 838fabe5-b1a8-4b81-9896-7a84386980e9