/mnt/data/tiles/live.js:68
var data = output_vt.toGeoJSON(0);
^
TypeError: Zero-based layer index '0' not valid, no layers found in map
at /mnt/data/tiles/live.js:68:26
at Gunzip.onEnd (zlib.js:166:5)
at Gunzip.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
Bug on
./live.js 16/34823/32358
Which yields:
Current stopgag is to
catch
the error https://github.com/brunosan/osm-tracing-candidates/blob/master/live.js#L75