tippecanoe icon indicating copy to clipboard operation
tippecanoe copied to clipboard

Infinite loop(?)

Open Plantain opened this issue 5 years ago • 2 comments

tippecanoe appears to never finish on the linked file (http://static.skysight.io/2200.gz) (or at least, my patience expired after 4 hours on a fast machine)

Yes, it's large and complex, but I've been processing similarly complex files within 50% of the size typically in around 1-3 minutes.

command: tippecanoe --detect-shared-borders --coalesce --reorder -z4 -D 14 -d 14

Plantain avatar Jan 28 '20 23:01 Plantain

Thanks for the report. --detect-shared-borders can be extremely expensive. I'll download the file and take a look.

e-n-f avatar Jan 31 '20 00:01 e-n-f

I have done some subsequent trials and found that setting -Z3 brings the runtime from ~infinite (greater than my patience anyway) to ~1 minute. Possibly some kind of exponential performance problem going when it tries to generate the tiles at the 0->2 zoom levels? It seems unexpected that it should take so much longer at further zoom levels.

Plantain avatar Jan 31 '20 00:01 Plantain