I'm trying to plot a bunch of points on a map of Britain and Ireland, and I've been using GeoPandas for that.

I've basically just been following the tutorials to do that, and slicing a world map with a Mercator projection such that it only shows Great Britain and Ireland. But somehow the aspect ratio (projection) ends up distorted.

Here's what my squashed map looks like now:

My squashed map

Here's what I've tried:

  • Setting the figsize attribute to something with a larger height
  • Assigning a different CRS
  • Using a different plotting engine altogether (I can't seem to get Altair to work)

My plot as it stands, with the geopandas code used to generate it, is here on GitHub.

What am I doing wrong, and how do I unsquash this map?


The reason it looks squashed like that is because GeoPandas naively plots the longitude and latitude with an equal aspect ratio.

To have a more realistic result, you can convert your data to a local CRS for the UK, using the to_crs method.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.