A workaround: useYou can create the grid lines using geometry generator to createby creating buffers around the south pole. The distance between Degrees of Latitude is ca. 111 km. Use this value and mulitply it, using array_foreach
to create several grid lines at once, here with an interval of 5 degrees (last number in line 3). For adding the antimeridian, see below.
Use this expression: this works if the layer in question is in EPSG:4326
! If the layer is in EPSG:3031
, delete linesthe transform()
function (lines 4 and 9 to 11):
You can combine both expressions (for parallels and the antimeridian) in one expression using unioncollect_geometries (expression_1, expression_2)
(or, similarily, the union()
function). Be aware to keep or delete the transform()
function, depending on the layer's CRS. One of the two expressions must have the transform, the other not. As well, the parallels (from the expression above) need to be converted to lines with the function boundary()
.
So for a layer in EPSG:4326
, the expression is (for EPSG:3031
see screenshot):
collect_geometries(
collect_geometries (
array_foreach(
generate_series (0,30, 5),
transform (
boundary (
buffer (
make_point (0,0),
111000*@element,
200
)
),
'EPSG:3031',
'EPSG:4326'
)
)
),
make_line (
make_point (0,-90),
make_point (180,0)
)
)