PythonMaps

PythonMaps

@pythonmaps.bsky.social

Mapping the world with Python. Geospatial data scientist who likes maps. Contact adam@pythonmaps.com

1.1K followers5 following137 posts

Trying my hand at infographics. Mapping maritime choke points. Unfortunately the publicly available data used to produce this was recorded between 2015 and 2021 - Prior to the Houthis actions in the Red Sea and the war in Iran, which no doubt change this picture.

Finally. Showing the age of oceanic crust alongside volcanoes in East Asia shows the subduction boundary where the oceanic Pacific Plate and Philippine Sea Plate subduct (dive) beneath the continental Eurasian Plate.

The age of oceanic crust is a nice map of the world's divergent plate boundaries. As the plates move apart, magma rises from the mantle, creating new crust.

Claude did 95% of the work on this. I've been resistant to the AI hype but it does certainly have its uses. Here is a map showing the status of the death penalty around the world

I created a global forest map showing how forests vary by climate zone - Added twist, 90% of the code + the following post was generated by Claude. 1/4 #Python #GIS #DataViz #Cartography #Forests

View full thread

Assigned distinct colormaps: Blues (boreal), Oranges (temperate), PuRd (subtropical), Greens (tropical) Overlaid all four masked layers to show global forest distribution by climate type 3/4

The overlapping colors reveal where different forest biomes meet across the planet. Built with Python (GeoPandas, Rasterio, Matplotlib) Data: Hansen et al. Science 2013 4/4

I created a global forest map showing how forests vary by climate zone - Added twist, 90% of the code + the following post was generated by Claude. 1/4 #Python #GIS #DataViz #Cartography #Forests

How it was made: Started with Hansen et al. global forest cover raster (% tree cover per pixel) Loaded climate zone shapefile with boreal, temperate, subtropical & tropical regions Masked the forest raster with each climate zone to extract forest cover for that zone only 2/4

Running a little bit behind. Day 25 of the #30DayMapChallenge - Hexagons - I have used the @KonturInc population density hexagons to generate this population density map of Southern Asia

Day 21 of the #30DayMapChallenge - Icons - Use icons to highlight points of interest. Here are lighthouses of the Caribbean and Gulf of America. I used a few tricks to make the points look like they are shining out to sea.

Day 19 of the #30DayMapChallenge - Projections. Here are maps showing tropical storms using a number of different projections. We have the South Polar Stereo, the Robinson, the Lambert Conformal and finally I have included a shipping lanes map using the infamous Spilhaus projection.

Day 18 of the #30DayMapChallenge - Out of this World. Here is a topographical map of Mars. I have added some hill shading and used a colourmap that simulates an ocean, proportionally equal in size to Earths.

Day 17 of the #30DayMapChallenge - New tool. It has been on my radar for a while so I tried out datashader to visualise population density. These maps usually take minutes to render but with datashader it takes seconds.

Day 13 of the #30DayMapChallenge — 10-minute map. Once I’ve made a particular type of map once, I can usually recreate it in about 10 minutes. This one’s a bivariate map — the style that probably took me the longest to learn the first time around. Rainfall vs Temperature in South America

Day 11 of the #30DayMapChallenge - Minimal - Population density of Egypt. This was always my preferred style but recently I caved to academics who wanted labels and keys 🤮. Glad to get back to basics.

Day 9 of the #30DayMapChallenge - Analog. Create your map using traditional methods. Obviously I am not going to stick to this. Frankly nothing is more traditional that Python so here is another map made with Python. Roads of the Roman Empire.

Capitalism vs communism eh 😉

PythonMaps@pythonmaps.bsky.social

Day 7 of the #30DayMapChallenge - Accessibility - "Visualize travel time, barriers....." - Here is a map showing nighttime lights in the Korean Peninsula. The border between North and South is visible from space.

Day 7 of the #30DayMapChallenge - Accessibility - "Visualize travel time, barriers....." - Here is a map showing nighttime lights in the Korean Peninsula. The border between North and South is visible from space.

Day 6 of the #30DayMapChallenge - Dimensions. A thread of a few maps that cross into the three dimensional world. Here is a 3D representation of the topography and bathymetry around Gibralta.

Day four of the #30DayMapChallenge - Data challenge: My Data. I made some historical geojsons of the Roman and Mongol empires. Accuracy is vaguely correct but the Mongol Empire does look a bit like a bear.

Day 7 of the #30DayMapChallenge - Accessibility - "Visualize travel time, barriers....." - Here is a map showing nighttime lights in the Korean Peninsula. The border between North and South is visible from space.

Day three of the #30DayMapChallenge - Polygons. This map shows the earths tectonic plates. I have overlayed all of the earthquakes with a magnitude greater than 4.0 over the last 20 years, coloured according to their magnitude (blue (smallest) - red (largest).

Day one of the #30DayMapChallenge - Points. These maps show lighthouses of the British Isles, the Aegean Sea and Italy. I have tried to simulate how they would shine and cast light out to sea.

Aridity of Oceania. Aridity is usually expressed as a generalized function of precipitation, temperature and reference evapo-transpiration. Higher values represent more humid conditions and lower values represent higher aridity.