Featured image of post Reduce map data file size

Reduce map data file size

A solution pattern for shrinking GeoJSON or Shapefile data into a usable size

Use this pattern when your map data is too heavy to load comfortably in the browser, share with others, or import into a visualization tool.

Solution

Simplify geometry while preserving shape, and remove attributes you do not need. A tool that also handles conversion and merging helps keep the whole preprocessing flow in one place.

Tool

Good fit for

  • Making GeoJSON faster to render
  • Preparing smaller map files for sharing
  • Cleaning attributes while simplifying geometry