mbostock/topojson — pull request #7 by herrstucki (2012-12-03 15:04:55+00:00)
Title: Option to keep certain or all feature properties

I added the option to keep certain or all feature properties (default is to keep none).

Usage:

topojson in.json -o out.json --properties # keeps all properties
topojson in.json -o out.json -p foo # keeps property 'foo'
topojson in.json -o out.json -p foo -p bar # keeps properties 'foo' and 'bar'

For example, I want to use this for https://github.com/interactivethings/swiss-maps, where it would be useful to keep properties like the municipality name, canton number etc.

Cheers,
Jeremy