You can't do web mapping these days without knowing your GeoJSON . It's the vector format of choice among popular mapping libraries like Leaflet , D3.js and Polymaps . Size matters on the web, especially if you want to distribute complex geometries, like the world's countries. The challenge is even bigger if you want to target mobile users - or support web browsers with poor vector handling (IE < 9). This blog post will show you how to minify your GeoJSON files before sending them over the wire. The first thing you should do is to generalize your vectors so they don't contain more detail than you need. In a previous blog post , I was able to remove 90% of the coordinates without loosing to much detail for map scale I wanted to use. This will of course have a great effect on the file size. Today, I'm going to use country borders from the Natural Earth dataset . These datasets are already generalized for different scales (1:10m, 1:50m, and 1:110 million), so ...