Configurable precision for d3.geoPath
mbostock opened this issue · comments
Mike Bostock commented
As with d3.pathFixed d3/d3-path#12, we should have a way to limit the precision of the strings generated by d3.geoPath. Currently that is implemented by the PathString class:
https://github.com/d3/d3-geo/blob/main/src/path/string.js
We should probably default to three decimal digits of precision, too.