d3 v4 geo draws boundary inverted

后端 未结 2 1188
生来不讨喜
生来不讨喜 2021-01-14 12:57

When I draw the Bermuda Triangle in an SVG element the scale is not what I expect (triangle should extend to edges of box) and the fill is backward (instead of drawing a tri

2条回答
  •  鱼传尺愫
    2021-01-14 13:24

    If someone will see a similar problem, I created a tool which will help you to rewind or reverse geojson

    It helped me to make changes in some geoJson files, without much hassle

    https://observablehq.com/@bumbeishvili/rewind-geojson

    You can run it as a snippet just bellow

提交回复
热议问题