bertin icon indicating copy to clipboard operation
bertin copied to clipboard

projection

Open neocarto opened this issue 2 years ago • 1 comments

PROJ4 & EPSG projections do not work well when making a map containing an "outline" layer

neocarto avatar Jun 30 '22 07:06 neocarto

From what I understand (in https://observablehq.com/@fil/proj4js-d3):

For EPSG:3031, which is centered on the South Pole, things are a bit more complicated, as a direct application breaks a few things (the Sphere, which should be in pale yellow, is not drawn). The reason for this is that, in d3, clipAngle is calculated from the projection’s rotate (in this case, [0,0]), but here we would like it to be calculated from the projection’s center (the South Pole).

Fil avatar Jun 30 '22 08:06 Fil