You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,14 @@ Municipality boundaries from 2013 and 2014 are also available. If you want bound
113
113
114
114
make topo/ch-municipalities.json YEAR=2013
115
115
116
+
## Custom Simplification
117
+
118
+
To use a custom simplification, define the `SIMPLIFY` variable. For example, to create a really blocky version of Switzerland:
119
+
120
+
make topo/ch-country.json SIMPLIFY=400
121
+
122
+
*Note:* The simplify parameter has [different meanings depending on the coordinate system](https://github.com/mbostock/topojson/wiki/Command-Line-Reference#simplification).
123
+
116
124
## Other Modifications
117
125
118
126
For everything else you can modify the `Makefile` or run `ogr2ogr` and `topojson` directly. Mike Bostock's tutorial [Let's Make a Map](http://bost.ocks.org/mike/map/), the [TopoJSON wiki](https://github.com/mbostock/topojson/wiki), and [ogr2ogr documentation](http://www.gdal.org/ogr2ogr.html) should cover most of your needs.
0 commit comments