Bug report #19626
World map incorrectly drawn when using a different projection than the data source
|Affected QGIS version:||3.2.1||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||duplicate|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||27453|
When I use Natural Earth as data source and want to change projection for the project to customized Robinson, the map breaks apart (see attached file).
I use a projection as follows:
Proj4: +proj=robin +lon_0=150dE +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs
Hope if it's not a bug. But if it is, I'd like to know if there's a workaround.
#1 Updated by Giovanni Manghi about 3 years ago
- Status changed from Open to Feedback
There are limitations (for features crossing the dateline) when you want to reproject global data. One of the tricks it to generate a 0-360 map instead of a -180/180 one. I believe there is an example on the QGIS manual.
#4 Updated by Giovanni Manghi about 3 years ago
克鲁 黄 wrote:
Seems that the issue has no elegant solution yet.
As a reminder to other users, please leave this issue open until wrap around works in future releases.
yes, but probably there are similar tickets already open (cannot do a search now). I would appreciate if you could give it a go, so we can eventually close the duplicates.