Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TopoJSON support to GeoJsonDataSource #906

Merged
merged 6 commits into from
Jun 28, 2013
Merged

Add TopoJSON support to GeoJsonDataSource #906

merged 6 commits into from
Jun 28, 2013

Conversation

mramato
Copy link
Contributor

@mramato mramato commented Jun 28, 2013

TopoJSON is a popular geometry extension to GeoJSON with improved compression of vertex data. This change adds support to GeoJsonDataSource via the official TopoJSON JavaScript module.

@mramato
Copy link
Contributor Author

mramato commented Jun 28, 2013

Also, here's a cool TopoJSON file you can use for trying this out: http://bl.ocks.org/mbostock/raw/4090846/us.json

Note, it's slow because of the amount of data. Hopefully something we can fix soon with the batching branch.

@@ -16,7 +16,7 @@ Beta Releases
* Removed `CesiumViewerWidget` and replaced it with a new `Viewer` widget with mixin architecture. This new widget does not depend on Dojo and is part of the combined Cesium.js file. It is intended to be a flexible base widget for easily building robust applications. See [#838](https://github.com/AnalyticalGraphicsInc/cesium/pull/838) for the full details.
* Removed the Dojo-based `checkForChromeFrame` function, and replaced it with a new standalone version that returns a promise to signal when the asynchronous check has completed.
* Fix resizing issues in `CesiumWidget` ([#608](https://github.com/AnalyticalGraphicsInc/cesium/issues/608), [#834](https://github.com/AnalyticalGraphicsInc/cesium/issues/834)).
* Added initial support for [GeoJSON](http://www.geojson.org/) see [#890](https://github.com/AnalyticalGraphicsInc/cesium/pull/890) for details.
* Added initial support for [GeoJSON](http://www.geojson.org/) and [TopoJSON](https://github.com/mbostock/topojson) see [#890](https://github.com/AnalyticalGraphicsInc/cesium/pull/890) for details and [#906](https://github.com/AnalyticalGraphicsInc/cesium/pull/906) for details.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After removing the markdown link cruft this reads:

Added initial support for GeoJSON and TopoJSON see #890 for details and #906 for details.

Should be:

Added initial support for GeoJSON and TopoJSON.  See #890 and #906 for details.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@shunter
Copy link
Contributor

shunter commented Jun 28, 2013

Looks good. Merging.

shunter added a commit that referenced this pull request Jun 28, 2013
Add TopoJSON support to GeoJsonDataSource
@shunter shunter merged commit 1051552 into master Jun 28, 2013
@shunter shunter deleted the topojson branch June 28, 2013 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants