<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Python on Spatial Thoughts</title><link>https://spatialthoughts.com/category/python/</link><description>Recent content in Python on Spatial Thoughts</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 05 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://spatialthoughts.com/category/python/index.xml" rel="self" type="application/rss+xml"/><item><title>Learning SQL with DuckDB</title><link>https://spatialthoughts.com/2026/05/05/learning-sql-with-duckdb/</link><pubDate>Tue, 05 May 2026 00:00:00 +0000</pubDate><guid>https://spatialthoughts.com/2026/05/05/learning-sql-with-duckdb/</guid><description>Historically, the open-source spatial analysis workflows lived in different silos</description></item><item><title>#PythonDatavizChallenge - Learn Mapping and Data Visualization with Python in 30 Days</title><link>https://spatialthoughts.com/2024/10/13/pythondatavizchallenge/</link><pubDate>Sun, 13 Oct 2024 00:00:00 +0000</pubDate><guid>https://spatialthoughts.com/2024/10/13/pythondatavizchallenge/</guid><description>Welcome to #PythonDatavizChallenge - Learn Mapping and Data Visualization with Python in 30 Days! We have designed this challenge to help you learn how to create charts, maps, animations, dashboards...</description></item><item><title>LISS4 Image Processing using XArray and Dask</title><link>https://spatialthoughts.com/2023/12/25/liss4-processing-xarray/</link><pubDate>Mon, 25 Dec 2023 00:00:00 +0000</pubDate><guid>https://spatialthoughts.com/2023/12/25/liss4-processing-xarray/</guid><description>ISRO recently released the full archive of medium and low-resolution Earth Observation dataset to the public. This includes the imagery from LISS-IV camera aboard ResourceSat-2 and ResourceSat-2A...</description></item><item><title>Understanding Pixel Weights in Zonal Statistics</title><link>https://spatialthoughts.com/2023/07/13/pixel-weights-zonal-stats/</link><pubDate>Thu, 13 Jul 2023 00:00:00 +0000</pubDate><guid>https://spatialthoughts.com/2023/07/13/pixel-weights-zonal-stats/</guid><description>An important concept in spatial statistics is pixel weights. When calculating pixel statistics with a polygon, partial pixel overlaps are treated differently by different packages and you need to...</description></item><item><title>Creating Animated Plots with Matplotlib</title><link>https://spatialthoughts.com/2022/01/14/animated-plots-with-matplotlib/</link><pubDate>Fri, 14 Jan 2022 00:00:00 +0000</pubDate><guid>https://spatialthoughts.com/2022/01/14/animated-plots-with-matplotlib/</guid><description>Matplotlib has functionality to created animations and can be used to create dynamic visualizations. In this post, I will explain the concepts and techniques for creating animated charts using Python...</description></item><item><title>Fast Point-in-Polygon Analysis with GeoPandas and Uber's H3 Spatial Index</title><link>https://spatialthoughts.com/2020/07/01/point-in-polygon-h3-geopandas/</link><pubDate>Wed, 01 Jul 2020 00:00:00 +0000</pubDate><guid>https://spatialthoughts.com/2020/07/01/point-in-polygon-h3-geopandas/</guid><description>Spatial indexing methods help speed up spatial queries. Most GIS software and databases provide a mechanism to compute and use spatial index for your data layers. QGIS as well as PostGIS use a...</description></item><item><title>Fixing Rasters with Missing Data using QGIS, GDAL and Python</title><link>https://spatialthoughts.com/2020/06/17/fix-nodata-values/</link><pubDate>Wed, 17 Jun 2020 00:00:00 +0000</pubDate><guid>https://spatialthoughts.com/2020/06/17/fix-nodata-values/</guid><description>When working with raster data, you may sometimes need to deal with data gaps. These could be the result of sensor malfunction, processing errors or data corruption. Below is an example of data gap...</description></item></channel></rss>