logo separator

[mkgmap-dev] splitter r247

From GerdP gpetermann_muenchen at hotmail.com on Mon Nov 26 14:45:09 GMT 2012

Hi all, 

I've just committed r247.
Changes:
- added parameter --polygon-file to specify a bounding polygon. The polygon
is only used when the tiles are calculated, it is NOT used when the
real split process runs.
- performance improvements in the new split algorithm

The polygon file format is that of osmosis, I've simply added the osmosis
sources:
http://wiki.openstreetmap.org/wiki/Osmosis/Polygon_Filter_File_Format

I hope that is the right way to do it.

The polygon is only used when no split-file is given. It is used when all
nodes were 
read. In this first pass, splitter fills a grid with node counts.
Instead of filtering each node (which would take much too much cpu time),
splitter simply uses the polygon to set those grid counts to 0 (zero) which
do not intersect with the polygon. 
When that is done, splitter calculates the tiles.

Gerd



--
View this message in context: http://gis.19327.n5.nabble.com/splitter-r247-tp5737673.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.



More information about the mkgmap-dev mailing list