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

UHL (ugly horizontal lines) when using mapImage #656

Open
richardsc opened this issue May 27, 2015 · 3 comments
Open

UHL (ugly horizontal lines) when using mapImage #656

richardsc opened this issue May 27, 2015 · 3 comments
Assignees
Labels
mapping pinned Prevent automatic stale designation

Comments

@richardsc
Copy link
Collaborator

This is probably going to be a bigger issue, as the UHL in mapPlot() has been, but I'm opening this so that we don't forget about it. Perhaps a potential fix involving the sp package can be applied to the polygon drawing in mapImage() to make a general fix.

Anyway, I noticed the problem looking at the test figure from issue #655, where there are clearly some UHL issues near the North Pole (and probably Antarctica as well):

655a

@dankelley
Copy link
Owner

Thanks. I will be looking into how sp might help with UHL and similar problems. The sp author (email on the package-devel email list) suggests that "beyond the edge" problems are not easy to solve, but I still plan to test out one of their routines for that.

@dankelley dankelley self-assigned this May 27, 2015
@dankelley
Copy link
Owner

dankelley commented Jun 19, 2016

I made a new test, 655c.R, and comparison with the (updated) 655a.R shows that the artifacts depend on plot geometry. Below is the result. (The fact that I've added a new test doesn't mean I am really working on this ... it's more that I'm trolling for any old and ignored bugs that might have been fixed by other work, without an update to the issue because of other work.)

655c

@dankelley
Copy link
Owner

dankelley commented Sep 8, 2016

I will be looking into the latest R magazine to see how they solve the longitude shift problem in the mapmisc package.

update: I realize this isn't quite the right issue; the point is just to make a note about how mapmisc may have some map solutions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mapping pinned Prevent automatic stale designation
Projects
None yet
Development

No branches or pull requests

2 participants