You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It’d be nice to have a binary for taking projected, planar GeoJSON as input and then transforming the coordinates to fit the specified bounding box. It should also support --invert for flipping the y-dimension, as Proj4 and other projection systems typically use the other y direction than Canvas and SVG.
I don’t think this needs to be a separate binary, since geoproject lets you specify the projection expression, meaning you can use d3.geoTransform to flip, and d3.geoIdentity to scale-to-fit.
It’d be nice to have a binary for taking projected, planar GeoJSON as input and then transforming the coordinates to fit the specified bounding box. It should also support --invert for flipping the y-dimension, as Proj4 and other projection systems typically use the other y direction than Canvas and SVG.
https://github.com/topojson/topojson/blob/v1.6.27/lib/topojson/scale.js
The text was updated successfully, but these errors were encountered: