geoterminal is out!

After spending some time working with GIS files on a daily basis, I realized there’s no comfortable and practical tool for quickly inspecting or transforming files with georeferenced vector data. Having to write three lines of code in a script or in the Python interpreter every time I want to transform geometries feels like a lot, and the sluggishness of desktop applications like ArcGIS and QGIS has always felt like a waste of my life—the cooling fans on my computer say it’s a waste of its life too....

April 10, 2025 · 6 min

Processing MODIS NDVI Data in Python: Transforming Multidimensional Arrays to Polygons

A few weeks ago, I had the opportunity to work with NASA’s MODIS NDVI data. Utilizing an example script from the HDF - EOS Tools and Information Center as reference, I developed a program that takes an area of interest, a start date, and an end date, then downloads and process the corresponding NDVI data from NASA archives. The program leverages parallel processing to efficiently convert NDVI raster data into vectorized polygons....

February 15, 2025 · 12 min

Extract Road Network Data for Administrative Regions With R

One of the most common data requests in geospatial data science is obtaining the road network within a given administrative boundary. This includes identifying road locations, classifying road types, and calculating the total road length within a region—an essential analysis for various applications. OpenStreetMap (OSM) is widely recognized as the go-to source for road network data, thanks to its crowdsourced contributions that provide global coverage. To step outside my usual Python development, I decided to create an R function to extract OSM road network data for a given administrative boundary....

January 17, 2025 · 4 min

Mapping Perito Moreno Glacier Loss with Sentinel-2

The next article is an ArcGIS StoryMap embedded in an iframe. Some features may not work correctly.

October 30, 2024 · 1 min

Bypassing AWS Athena "Query Exhausted Resources" When Performing Geospatial Operations

The Problem If you work with Amazon Web Services (AWS) Athena SQL, chances are that you’ve encountered the following error: Query exhausted resources at this scale factor This generally indicates that you are hitting memory limits on the Athena cluster that runs your query (reference 1, reference 2, reference 3). AWS provides several performance optimization strategies, including data optimization, query optimization, and data partitioning. This error can often be the result of a cartesian product when performing spatial operations involving a large number of geometries on both sides of the tables being joined....

October 17, 2024 · 5 min

Extract PM2.5 Pixels and Convert Them to H3 Hexagons

A few months ago I had the opportunity to work with the PM2.5 data provided by the Washington University in St. Louis. The initiative comprises a collection of estimated global and regional annual and monthly satellite-derived ground-level fine particulate matter (PM2.5) gridded datasets (Shen et al., 2024), spanning the years 1998 to 2022. This collection combines Aerosol Optical Depth (AOD) retrievals from NASA MODIS, MISR, and SeaWIFS, and is available at resolutions 0....

September 18, 2024 · 4 min