In a leaflet application I am currently using geojson-vt to turn small geoJSON files (45MB) into tiles stored as a javascript variable. This cannot be done with the larger files (900MB) due to memory restrictions. I want to take the large files and turn them into tiles saved on my local machine. This way I can grab the nessessary tiles instead of the whole file.


I believe something similar to gdal2tiles but for vector data is what I need.

TileStashe may yield a solution, but its primary use does not seem to be for my purposes. If this does turn out to be the solution, example useage would help.

How I plan to load the tiles - https://stackoverflow.com/questions/29732790/how-to-serve-map-tiles-from-a-database-using-leafletjs

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.