Closed dnomadb closed 8 years ago
I've integrated burning via web mercator geom:
time fio cat /tmp/tiletests/shapes.geojson | supermercado burn 12 | supermercado edges | supermercado union | fio collect > /tmp/tiletests/tiles.geojson; fio cat /tmp/tiletests/*.geojson | fio collect | geojsonio
fio cat /tmp/tiletests/shapes.geojson 0.22s user 0.09s system 64% cpu 0.468 total
supermercado burn 12 0.78s user 0.16s system 87% cpu 1.078 total
supermercado edges 0.65s user 0.13s system 58% cpu 1.339 total
supermercado union 0.33s user 0.11s system 31% cpu 1.422 total
fio collect > /tmp/tiletests/tiles.geojson 0.30s user 0.09s system 26% cpu 1.517 total
http://geojson.io/#id=gist:dnomadb/65c1c363d5664c4ff3a0&map=4/41.71/-105.12
Gonna punt on tests for now.
Needs a little work but core functionality is there:
Take this geojson: http://geojson.io/#id=gist:dnomadb/18b78aa919d0861caa38&map=11/37.8667/-122.3019
Running this command:
Gets you this: http://geojson.io/#id=gist:dnomadb/588eade2ae70a63a5ff0&map=12/37.8857/-122.3190
Getting phancy:
Todo