mbostock/d3 — pull request #981 by natevw (2012-12-28 17:11:17+00:00)
Title: In d3v3, geo.bounds stopped working for GeometryCollection within Feature

`d3.geo.stream` incorrectly treated `GeometryCollection` as a higher-level object type, rather than a geometry type as specified in the GeoJSON spec. This caused bounds calculations to be incorrect on `Feature`/`FeatureCollection` objects that contained `GeometryCollection` geometries.

Patch adds a test for this case and corrects the handling of `GeometryCollection` in `d3.geo.stream` (and therefore `d3.geo.bounds`).