3

I have a custom CRS centering on the Pacific ocean with the Mollweide projection:

+proj=moll +lon_0=-158 +datum=WGS84 +units=m +no_defs +lon_wrap=-158

My countries are split at the 22nd meridian, and look fine with a rectangular projection such as +proj=cea. Something about the curves at the edges is messing it up.

countries cut off

Also strange is the zooming behavior - as I zoom in on the edges, the curves of Africa & Antarctica at the edges are filled in. It only looks this way when I'm fully zoomed out to see the whole layer.

mollweide zoom behavior

8
  • It could be a problem with the rendering algorithm at the extreme, I have seen similar behavior in ArcGIS (~version 9.1), you could try simplifying the geometries for display or even rasterizing with scale dependent layers (raster/simple for zoomed out, original vector for zoomed in). If you know anyone with ArcGIS you could ask them nicely to run repair geometry over the data as projected just to be sure there's no bowtie/hourglass geometry errors causing mischief. Apr 24, 2018 at 0:03
  • Maybe related: gis.stackexchange.com/questions/70411/… aond the questions linked there.
    – AndreJ
    Apr 24, 2018 at 6:10
  • which version of qgis are you using?
    – Ian Turton
    Apr 24, 2018 at 8:07
  • could be related to gis.stackexchange.com/questions/164364/…
    – Ian Turton
    Apr 24, 2018 at 8:08
  • 1
    I guess your cutting line needs to be densified before reprojecting. It looks ok for me with Natural Earth world countries (which has more intersections with the cutline).
    – AndreJ
    Apr 25, 2018 at 13:47

1 Answer 1

0

I guess your cutting line needs to be densified before reprojecting. It looks ok for me with Natural Earth world countries (which has more intersections with the cutline).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.