2

I have TopoJSON file and want to add some external fields in it by id (and preserve old) without any other changes (like simplification or quantization) . So I used command like in the example in TopoJSON wiki. The command was like:

topojson -o world-110m_ext.json -e world-country-names.tsv --id-property +id -p nameENG=name world-110m.json.

But I got file smaller than the source and without any id properties. I tried to preserve id's like so:

topojson -o world-110m_ext.json -p -e world-country-names.tsv --id-property +id -p nameENG=name world-110m.json.

It did not work for me and many other ways too. What am I doing wrong?

For input I am using Mike's files from this gist.

KoGor
  • 237
  • 5
  • 12

0 Answers0