Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Matplotlib 2.x

You're reading from  Mastering Matplotlib 2.x

Product type Book
Published in Nov 2018
Publisher Packt
ISBN-13 9781789617696
Pages 214 pages
Edition 1st Edition
Languages
Author (1):
Benjamin Walter Keller Benjamin Walter Keller
Profile icon Benjamin Walter Keller

The basemap methods

Before we get started, let's think a little bit about map projections. We have already seen the visualized data showing population density in the United States:

It is known that the earth is a sphere, but your screen is not a sphere, it's actually a flat Euclidean plane. So, translating points from the surface of a sphere onto the points on the surface of this flat plane is actually non-trivial. We can't unroll a sphere into a flat plane without tearing or distorting that sphere, and so, most of the time when you're dealing with a map, you're actually looking at a projection.

But Mercator is only one of many projections. There are other alternative projections, and even projections that don't necessarily end up giving you square edges for your globe, as shown here:

One of the key things when setting up a map is choosing which...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}