logo separator

[mkgmap-dev] Performance with --bounds option

From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Mar 18 10:46:15 GMT 2020

Hi Ticker,

please tell me the tile boundaries

Gerd


________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap at jagit.co.uk>
Gesendet: Mittwoch, 18. März 2020 11:43
An: mkgmap development
Betreff: [mkgmap-dev] Performance with --bounds option

Hi Gerd

With the current version I have a tile that takes 3.5 hours to build.
With an old version (r4295) it took about 3 minutes. Without --bounds
it takes 1 minute 15 secs.

Relevant options are:
 --bounds=bounds.zip --location-autofill=is_in,nearest


>From the mkgmap.log files:
INFO: uk.me.parabola.mkgmap.reader.osm.LocationHook
 ../mapGB/74220001.osm.pbf: Checking bounds dir took 66 ms
...
INFO: uk.me.parabola.mkgmap.reader.osm.LocationHook
 ../mapGB/74220001.osm.pbf: Starting with location hook
INFO: uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryUtil
 ../mapGB/74220001.osm.pbf: loading boundary file: bounds_2650000_
-750000.bnd
... about 40 similar messages ...
INFO: uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryUtil
 ../mapGB/74220001.osm.pbf: loading boundary file: bounds_2800000_
-250000.bnd
WARN: uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryGrid
 ../mapGB/74220001.osm.pbf: no precompiled boundary information
available for raster tile 2750000_-400000
... 16 similar messages ...
WARN: uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryGrid
 ../mapGB/74220001.osm.pbf: no precompiled boundary information
available for raster tile 2800000_-250000
INFO: uk.me.parabola.mkgmap.reader.osm.LocationHook
 ../mapGB/74220001.osm.pbf: ======= LocationHook Stats =====
INFO: uk.me.parabola.mkgmap.reader.osm.LocationHook
 ../mapGB/74220001.osm.pbf: QuadTree searches    : 97834
INFO: uk.me.parabola.mkgmap.reader.osm.LocationHook
 ../mapGB/74220001.osm.pbf: unsuccesfull         : 20
INFO: uk.me.parabola.mkgmap.reader.osm.LocationHook
 ../mapGB/74220001.osm.pbf: unsuccesfull for ways: 9
INFO: uk.me.parabola.mkgmap.reader.osm.LocationHook
 ../mapGB/74220001.osm.pbf: Location hook finished in 12747318 ms

The old version had similar lines, but the stats at the end are:

INFO: uk.me.parabola.mkgmap.reader.osm.LocationHook
 ../mapGB/74220001.osm.pbf: ======= LocationHook Stats =====
INFO: uk.me.parabola.mkgmap.reader.osm.LocationHook
 ../mapGB/74220001.osm.pbf: QuadTree searches    : 95639
INFO: uk.me.parabola.mkgmap.reader.osm.LocationHook
 ../mapGB/74220001.osm.pbf: unsuccesfull         : 20
INFO: uk.me.parabola.mkgmap.reader.osm.LocationHook
 ../mapGB/74220001.osm.pbf: unsuccesfull for ways: 9
INFO: uk.me.parabola.mkgmap.reader.osm.LocationHook
 ../mapGB/74220001.osm.pbf: Location hook finished in 113704 ms

Ticker

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list