Generating mvt for big geojson files #13
Comments
Hey Tom! Late reply, but for files that large I'd recommend using Tippecanoe to build vector tiles: https://github.com/mapbox/tippecanoe. It's got a lot of setting you can tweak to work with large datasets. You can then use https://github.com/mapbox/mbutil to get the tiles out as files. If that doesn't work for your usecase, I'd suggest chunking your geojson into smaller collections |
Hi hampelm!
Just be careful with Issue can be closed |
hi @Tomkee, |
Could you show browser log (F12 in chrome)? Try generating tiles both with |
Thanks @Tomkee for your response. This log appear when I didn't use |
Is it possible to reproduce it somehow? |
I didn't get what do you mean by reproducing it, reproducing what? |
Can I find your tiles somewhere? |
the geojson looks like something like this:
but with more than 2 million feature. |
Reading big files in node
I would like to generate mvt pyramids with your package for really big geojson file(2GB). It is not possible with
fs.readFileSync
, because of file size. How can I deal with this problem?Is it possible to generate piramides for many geojson files? Or maybe I should use streams?
Is it use case for multiple layers? Should I cut geojson on many smaller?
The text was updated successfully, but these errors were encountered: