Skip to content

A simple (perhaps dumb) web interface to quickly convert between GeoJSON and TopoJSON.

License

Notifications You must be signed in to change notification settings

MAPconciergeInc/geojson-topojson

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geojson-topojson

Note: FYI, there's a far nicer geojson -> topojson converter at distillery (although it doesn't do topojson -> geojson).

A simple (perhaps dumb) web interface to quickly convert between GeoJSON and TopoJSON. Basically, a web interface for Mike Bostock's topojson library.

Use

Available online at jeffpaine.github.io/geojson-topojson/.

Why

So folks can just use a simple web interface to quickly convert some data without having to install anything. Perhaps as a first step to trying out TopoJSON.

Users looking to convert lots of data programmatically should use the topojson library locally (directions).

Limitations

  • Converting TopoJSON to GeoJSON requires the geo object to be under <objectName>.objects.collection.
  • Don't convert back and forth between formats multiple times as -> TopoJSON will lose precision via quantization and -> GeoJSON drops topology

About

A simple (perhaps dumb) web interface to quickly convert between GeoJSON and TopoJSON.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published