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

Consider equalEarth as default projection type #1985

Open
jwoLondon opened this issue Sep 4, 2019 · 4 comments
Open

Consider equalEarth as default projection type #1985

jwoLondon opened this issue Sep 4, 2019 · 4 comments
Labels
discussion For discussing proposed changes

Comments

@jwoLondon
Copy link

jwoLondon commented Sep 4, 2019

Now that equalEarth is one of the core Vega projection types, would you consider making it the default projection type rather than mercator? Apart from its familiarity, I see little advantage in using the mercator projection for most cartographic data. It is particularly problematic for global maps that don't focus on high latitudes.

Equal Earth with its proportional area projection, horizontal lines of latitude, no extreme shape distortion and curved bounds only for oceanic areas provides a much more suitable default for the kinds of mapping to which Vega is suited.

I think there is also an argument for making the identity projection the default given this Is conceptually close to 'unprojected'. Although on balance, less desirable than equalEarth as it may cause backward compatibility problems without reflecting the y scale.

See also vega/vega-lite#5367

@jheer jheer added the discussion For discussing proposed changes label Sep 4, 2019
@jheer
Copy link
Member

jheer commented Sep 4, 2019

Thanks for the suggestion! I agree with most of the reasoning, but am concerned about backwards compatibility. This change could break a significant number of existing specifications that assume the default Mercator projection. So I'm not sure if the benefits outweigh the cost. In any case, as this is arguably a breaking change, it would necessitate a major version bump.

If folks have thoughts on the matter, they should feel free to chime in!

@jwoLondon
Copy link
Author

Fair point. Perhaps reserve for the next major version change with some documentation pointers in the meantime?

Despite attempting to teach students to be sceptical about map projection choice, I see way too much uncritical use of the mercator projection, so in the long term, I think a mercator 'opt-in' rather than 'opt-out' would benefit the quality of geovis in the Vega universe.

@jheer
Copy link
Member

jheer commented Sep 24, 2019

As a compromise measure, I've added configuration support for projections, to be released in v5.7.0. This will allow changing the default projection in one's own deployments.

jheer added a commit that referenced this issue Sep 26, 2019
jheer added a commit that referenced this issue Sep 30, 2019
@domoritz
Copy link
Member

Vega-Lite is changing the default projection to equalEarth in Vega-Lite 5. We can remove the explicit default in Vega's next major version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion For discussing proposed changes
Projects
None yet
Development

No branches or pull requests

3 participants