#24739 closed enhancement (fixed)

Use an equal-area projection for TorAtlas bot

Reported by: teor Owned by: irl
Priority: Medium Milestone:
Component: Metrics/Bot Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: #24717 Points:
Reviewer: Sponsor:

Description

The maps on the TorAtlas bot look really distorted:
https://twitter.com/toratlas/status/945040814295699456

If we're going to present statistics on a map, we should use an equal-area projection.
See #24563 for more details and a comprehensive explanation.

Child Tickets

Attachments (1)

LAMBERT.png (220.5 KB) - added by irl 18 months ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 19 months ago by irl

Resolution: fixed
Status: newclosed

Fixed in 5d51953b.

Using equal_area as the projection, previously was mercator.

Example: https://twitter.com/TorAtlas/status/945249538343866368

Other projections are listed in the man page for xplanet but it looked like this would be the right one.

comment:2 Changed 19 months ago by teor

Resolution: fixed
Status: closedreopened

The new map seems to be missing (parts of) Asia, Russia, North America, and New Zealand.

The (Gall-)Peters projection is rectangular equal-area, and the Lambert might be (if it's the cylindrical Lambert projection).
The Mollweide is another option, it's an elliptical equal-area projection.

https://en.m.wikipedia.org/wiki/Category:Equal-area_projections

Would you mind switching to one that shows more of the globe?

comment:3 Changed 19 months ago by cypherpunks

Switched to lambert for now, it may be worth switching to peters which perhaps looks better, but I would have to write more than a 1 word change in order to reduce the height of the image.

You can try out other projections with:

apt install xplanet
xplanet -num_times 1 -output test.png -projection XXX

comment:4 Changed 18 months ago by irl

Parent ID: #24717
Status: reopenedaccepted

comment:5 Changed 18 months ago by irl

teor: What did you think of the lambert projection?

Changed 18 months ago by irl

Attachment: LAMBERT.png added

comment:6 Changed 18 months ago by teor

It looks fine. Thanks!

comment:7 Changed 18 months ago by irl

Resolution: fixed
Status: acceptedclosed

Awesome!

Note: See TracTickets for help on using tickets.