TopoJson

425 views
Skip to first unread message

Christian Ledermann

unread,
Nov 21, 2012, 3:49:38 AM11/21/12
to cesium-dev
Hi all,

A bit off topic maybe, and I am not suggesting to include this
format in cesium, but an interesting format and worth watching.

https://github.com/mbostock/topojson

http://sgillies.net/blog/1159/topojson-with-python/


--
Best Regards,

Christian Ledermann

Nairobi - Kenya
Mobile : +254 702978914

<*)))>{

If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.

1) Don’t drive species to extinction

2) Don’t destroy a habitat that species rely on.

3) Don’t change the climate in ways that will result in the above.

}<(((*>

Patrick Cozzi

unread,
Nov 21, 2012, 7:56:19 AM11/21/12
to cesiu...@googlegroups.com
Hi Christian,

Thanks for bringing this to our attention.  As someone who has dealt with a lot of the inefficiencies that  this format addressed, I think TopoJSON looks very promising.   I made a note about it on our roadmap.

As for support in Cesium.  There's a few ways that can happen:
  • The format becomes popular enough and/or we get enough requests for it, that we add it.
  • Geoserver adds (or perhaps even already has) support for it, then we can read it using Geoserver and convert it to CZML.
  • Someone in the community - perhaps you - decides it is interesting/important/fun enough that they just add support.
In terms of implementation, our general strategy is to convert to CZML using czml-writer, which Cesium already knows how to render.  We've already done so for KML, Shapefiles, and WebGL Globe JSON.  However, for TopoJSON, the conversion is likely to lose some of the inefficiencies in the format, so it may be more desired to add support directly to Cesium by using the Cesium API to create polygons, polylines, etc.  We'd have to discuss with the folks working more closely with CZML before deciding.

Finally, I am happy to see your interest and focus in formats on this mailing list.  We recognize that the ability to visualize content in Cesium is critical to Cesium's adoption (in fact it is part of the mission statement), and look forward to collaborating with you.

Regards,
Patrick


Christian Ledermann

unread,
Jan 3, 2013, 2:31:34 AM1/3/13
to cesiu...@googlegroups.com
Let’s Make a Map

In this tutorial, Mike Bostock covers how to make a modest map from
scratch using D3 and TopoJSON. It’ll show you a few places where you
can find free geographic data online, and how to convert it into a
format that is both efficient and convenient for display. It won’t
cover thematic mapping, but the map we’ll make includes labels for
populated places and you can extend this technique to geographic
visualizations such as graduated symbol maps and choropleths.


http://bost.ocks.org/mike/map/
> --

Patrick Cozzi

unread,
Jan 7, 2013, 6:38:58 AM1/7/13
to cesiu...@googlegroups.com
Christian - thanks for passing this and the other articles along.

Patrick


Reply all
Reply to author
Forward
0 new messages