I'd like to use a Peirce quincuncial projection in QGIS to produce a whole sphere map, but struggling. (To see some nice examples of the projection:- https://github.com/cspersonal/peirce-quincuncial-projection https://en.wikipedia.org/wiki/Peirce_quincuncial_projection)
Recent versions of the PROJ library include a relevant option (see https://proj.org/operations/projections/peirce_q.html), and recent versions of QGIS also include ESRI-derived CRS descriptions (ESRI:54091
diamond and ESRI:54090
square).
I'm using QGIS 3.22 which includes PROJ8.1.1.
Selecting the ESRI-derived projections produces no geometry in on-the-fly projection. This appears to be a bug or requires additional implementation: https://github.com/qgis/QGIS/issues/43776 )
Alternatively, creating a custom-CRS with the PROJ4 string of +proj=peirce_q
does project the northern hemisphere correctly, but the southern hemisphere is missing:-
It is unclear to me whether these issues are due to implementation in PROJ or QGIS. (This pull request suggests that the problem may lie in the implementation in PROJ: https://github.com/OSGeo/PROJ/pull/2230 )
Any ideas on how to expand to a full-sphere (or even a full tesselation)?... Does this need a re-implementation?
Note that an earlier similar question on stack was answered before PROJ had included peirce_q
as a projection:
Or instead pointed to alternative libraries/software: