Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better support for vector features crossing the internation date line with some projections #27453

Closed
qgib opened this issue Aug 15, 2018 · 10 comments
Labels
Feature Request Map and Legend Related to map or legend rendering Projections/Transformations Related to coordinate reference systems or coordinate transformation

Comments

@qgib
Copy link
Contributor

qgib commented Aug 15, 2018

Author Name: 克鲁 黄 (克鲁 黄)
Original Redmine Issue: 19626
Affected QGIS version: 3.2.1
Redmine category:map_canvas


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.



Related issue(s): #27571 (relates)
Redmine related issue(s): 19746


@qgib
Copy link
Contributor Author

qgib commented Aug 15, 2018

Author Name: Giovanni Manghi (@gioman)


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.


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Aug 16, 2018

Author Name: Richard Duivenvoorde (@rduivenvoorde)


see #10656 including pointers to relevant GRASS solution?

@qgib
Copy link
Contributor Author

qgib commented Aug 20, 2018

Author Name: 克鲁 黄 (克鲁 黄)


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.

@qgib
Copy link
Contributor Author

qgib commented Aug 20, 2018

Author Name: Giovanni Manghi (@gioman)


克鲁 黄 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.

@qgib
Copy link
Contributor Author

qgib commented Aug 20, 2018

Author Name: 克鲁 黄 (克鲁 黄)


All right. If there are duplicates, you're free to close this issue.

@qgib
Copy link
Contributor Author

qgib commented Aug 20, 2018

Author Name: Giovanni Manghi (@gioman)


克鲁 黄 wrote:

All right. If there are duplicates, you're free to close this issue.

Duplicate of #21432


  • status_id was changed from Feedback to Closed
  • resolution was changed from to duplicate

@qgib
Copy link
Contributor Author

qgib commented Sep 1, 2018

Author Name: Andreas Neumann (@andreasneumann)


@qgib
Copy link
Contributor Author

qgib commented May 24, 2019

Author Name: 克鲁 黄 (克鲁 黄)


I've found that #21432 is closed due to "end of life" of QGIS 2.18 LTR. I will reopen this issue until wrap around works in future releases.


  • status_id was changed from Closed to Reopened

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Map and Legend Related to map or legend rendering labels May 25, 2019
@gioman gioman added the Projections/Transformations Related to coordinate reference systems or coordinate transformation label Dec 28, 2020
@gioman gioman added Feature Request and removed Bug Either a bug report, or a bug fix. Let's hope for the latter! labels Nov 26, 2021
@gioman gioman changed the title World map incorrectly drawn when using a different projection than the data source Better support for vector features crossing the internation date line with some projections Nov 26, 2021
@Pedro-Murteira
Copy link

Can still reproduce on QGIS 3.16.14 and 3.22.1.

@alexbruy
Copy link
Contributor

Duplicates #25398.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Map and Legend Related to map or legend rendering Projections/Transformations Related to coordinate reference systems or coordinate transformation
Projects
None yet
Development

No branches or pull requests

4 participants