<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Cameron Kruse on Medium]]></title>
        <description><![CDATA[Stories by Cameron Kruse on Medium]]></description>
        <link>https://medium.com/@cameronwkruse?source=rss-6546c37bc4df------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zeg3twR8x7UMf4M6fBDa_Q.jpeg</url>
            <title>Stories by Cameron Kruse on Medium</title>
            <link>https://medium.com/@cameronwkruse?source=rss-6546c37bc4df------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 15 Nov 2026 10:15:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cameronwkruse/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Mapping Rural Access: How We’re Finding Footpaths That Connect Isolated Communities]]></title>
            <link>https://medium.com/fika-blog/mapping-rural-access-how-were-finding-footpaths-that-connect-isolated-communities-1bd983658350?source=rss-6546c37bc4df------2</link>
            <guid isPermaLink="false">https://medium.com/p/1bd983658350</guid>
            <category><![CDATA[gis]]></category>
            <category><![CDATA[hugging-face]]></category>
            <category><![CDATA[geospatial]]></category>
            <category><![CDATA[international-development]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Cameron Kruse]]></dc:creator>
            <pubDate>Thu, 19 Feb 2026 21:07:16 GMT</pubDate>
            <atom:updated>2026-02-19T21:07:16.962Z</atom:updated>
            <content:encoded><![CDATA[<p>We’re excited to announce the release of a first-of-its-kind walking path detection dataset funded by the Patrick J. McGovern Foundation (PJMF). PJMF awarded us $500,000 to advance our work using machine learning and community-driven data to expand rural infrastructure access. This grant supports the development of an AI model, in collaboration with <a href="https://betterplanetlab.com/">Better Planet Laboratory</a>, that predicts where rivers are barriers to critical infrastructure. As part of this work, we’re releasing <a href="https://huggingface.co/datasets/FikaDigital/walking-path-waterway-crossings">the world’s first open-source dataset for detecting footpaths</a> in satellite imagery — a critical resource for our model and for others working to support rural communities around the world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GYtVPGrwJ2q4h9YjmNyqWg.png" /><figcaption>Example of annotated paths (green) and the current model predictions (red)</figcaption></figure><h3>The Challenge: Data Inequity in Rural Infrastructure</h3><p>Eighty percent of people living in extreme poverty are in rural areas without reliable transportation access to hospitals, schools, and markets. While governments invest in rural infrastructure, the most basic data needed to identify transportation barriers often doesn’t exist. Rural footpaths, the lifelines connecting isolated communities, are largely invisible in standard mapping datasets. Without this data, critical transportation corridors remain unmapped, unplanned for, and underserved.</p><h3>A First-of-Its-Kind Dataset</h3><p>Today, we’re releasing the <a href="https://huggingface.co/datasets/FikaDigital/walking-path-waterway-crossings">Walking Path and Waterway Crossings Dataset</a> on Hugging Face — the world’s first open-source machine learning dataset for footpath identification focused on areas where these footpaths cross waterways. This dataset includes labeled data across multiple countries and is purpose-built to help AI systems distinguish rural footpaths from roads, trails, and natural features in high-resolution satellite imagery. By open-sourcing this training data, we’re enabling researchers, NGOs, and governments worldwide to develop their own path detection models and accelerate infrastructure planning where it’s needed most.</p><h3>From Detection to Impact</h3><p>With PJMF’s support, we’ve advanced from initial data labeling to designing our own algorithm trained on this data. The model we’re developing detects walking paths in high-resolution satellite imagery and produces a landscape-aware dataset. With this, we aim to identify precise crossing locations where footbridges or other transportation infrastructure could address access gaps. We’re advancing toward this milestone through ongoing collaboration with <a href="https://betterplanetlab.com/">Better Planet Laboratory</a> at the University of Colorado Boulder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IrsL467q6v9rfZlMVgbRNA.png" /><figcaption>Early examples of model predictions trained on the open sourced data</figcaption></figure><h3>What This Means</h3><p>The Patrick J. McGovern Foundation grant has accelerated our research timeline and expanded our impact mapping capabilities. This work demonstrates how AI can serve a public purpose — by giving communities and governments greater visibility into their own needs and supporting informed infrastructure decisions. When rural communities participate in mapping the paths they walk every day, technology becomes a tool for equity.</p><p>We’re grateful to PJMF for supporting this work and for their commitment to applying AI to real-world needs. As PJMF President Vilas Dhar, has noted: “When people decide how AI is applied to real needs, technology can strengthen democracy, protect human rights, and widen opportunity.” For millions of isolated communities, that opportunity begins with access — and with better data to guide where and how infrastructure investments are made.</p><p>Learn more about the <a href="https://huggingface.co/datasets/FikaDigital/walking-path-waterway-crossings">Walking Path and Waterway Crossings Dataset</a> on Hugging Face, and explore our impact mapping work at <a href="https://fika.org/">fika.org</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bd983658350" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fika-blog/mapping-rural-access-how-were-finding-footpaths-that-connect-isolated-communities-1bd983658350">Mapping Rural Access: How We’re Finding Footpaths That Connect Isolated Communities</a> was originally published in <a href="https://medium.com/fika-blog">Fika</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Global Food Twin: Modeling the World’s Food System]]></title>
            <link>https://medium.com/earthrisemedia/global-food-twin-modeling-the-worlds-food-system-43800412bfcd?source=rss-6546c37bc4df------2</link>
            <guid isPermaLink="false">https://medium.com/p/43800412bfcd</guid>
            <category><![CDATA[food-systems]]></category>
            <category><![CDATA[digital-twin]]></category>
            <category><![CDATA[supply-chain]]></category>
            <category><![CDATA[food-security]]></category>
            <category><![CDATA[agriculture]]></category>
            <dc:creator><![CDATA[Cameron Kruse]]></dc:creator>
            <pubDate>Thu, 19 Jun 2025 14:54:03 GMT</pubDate>
            <atom:updated>2025-06-19T14:54:03.474Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L6dNUoN_KYqaPq64cOoS6g.png" /></figure><p>Imagine drought conditions take out 40% of the grain that is grown in West Bengal; where in the world can we expect to see food insecurity? What about if the workers at the ports of Rotterdam go on strike; where should global leaders direct food resources to reduce the impacts to downstream consumers?</p><p>Answering these types of questions just got easier. <a href="https://www.earthgenome.org/">Earth Genome</a> and <a href="https://betterplanetlab.com/">Better Planet Laboratory</a> are proud to announce the launch of <a href="https://foodtwin.theplotline.org/">Global Food Twin</a>, an ambitious expansion of our food system digital twin that now models supply chains across the entire world’s food system. Building on the success of our <a href="https://food.theplotline.org/">US-focused proof of concept,</a> we created a model of food production, consumption, transportation infrastructure, and trade of food resources across the globe. Today we are open sourcing the data, model and proof of concept application for all to access</p><p>This model and the proof of concept <a href="https://foodtwin.theplotline.org/">Food Twin app</a> reveals major risks in our food system. Roughly 9% (~350) of sub-national administrative units account for 80% of global caloric flows. Small impacts in the wrong areas will cause downstream impacts that ripple around the globe. When analyzing transportation pathways, similar concentrations are seen in major maritime, road, and rail routes. Beyond risks, analyzing food systems end to end through these new data can help us prepare and proactively build more resilient food systems for the future.</p><p>This project was supported by a grant from <a href="https://www.climateworks.org/">Climate Works Foundation</a>. Credit to <a href="http://developmentseed.org/">Development Seed</a> who built the majority of the web application; <a href="https://www.colorado.edu/envs/zia-mehrabi">Zia Mehrabi</a> with the <a href="https://www.nature.com/articles/d41586-023-00640-x">vision</a> behind this concept; <a href="https://www.linkedin.com/in/ginni-braich-41672337/">Ginni Braich</a> who developed the supply and demand data; <a href="https://www.linkedin.com/in/kushank-bajaj-ph-d-536a8350/">Kushank Bajaj</a> who developed the transportation and flow data; and <a href="https://www.tudelft.nl/staff/j.verschuur/">Jasper Verschuur</a> assistant professor at Delft University whose work on supply chain mapping we built on to develop this model.</p><h3>Key Resources</h3><ul><li><a href="https://foodtwin.theplotline.org/">Proof of concept Global Food Twin web application</a></li><li><a href="https://source.coop/repositories/earthgenome/food-twin/description">All data produced by the model</a></li><li><a href="https://github.com/Better-Planet-Laboratory/globalfoodtwin/tree/main">Methodology and code for the model</a></li><li><a href="https://kushankb-foodflowimpacttool.hf.space/">Application exposing impacts of regional production deficits</a></li></ul><h3>From National to Global: The Evolution of Food Twin</h3><p>When we launched the <a href="https://food.theplotline.org/">US Food Twin</a> last year, we always intended to expand our vision beyond national borders. Food systems don’t exist in isolation — what happens in Brazil’s soybean fields affects dinner tables in Beijing, and drought in Australia ripples through global wheat markets. Our new Global Food Twin captures these complex relationships, giving us unprecedented visibility into how food moves around our planet.</p><p>Most of us have no idea where our breakfast comes from or who grows it. This disconnect becomes even more pronounced when we consider international food systems. The coffee in your cup might come from Ethiopia, the bananas in your cereal from Ecuador, and the cereal itself is made from wheat grown across multiple continents. Global Food Twin illuminates these connections, tracking calories from farm to fork across oceans and borders.</p><h3>The Architecture of Global Food Twin</h3><p>The Global Food Twin represents a significant advancement in modeling complexity. While our US model focused primarily on plant-based foods within national borders, our global model integrates:</p><ul><li><strong>Production across ecosystems</strong>: Crops from farmlands, animal products from pasturelands, and aquatic food sources from oceans and freshwater environments</li><li><strong>Multi-modal transportation</strong>: Maritime shipping routes, railway networks, road transportation, and inland waterways</li><li><strong>International trade flows</strong>: Bilateral trade relationships between countries and subnational regions</li><li><strong>Cultural and economic factors</strong>: Different dietary patterns and economic access to food across regions</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zAUrr3dIIQA8bXpK" /><figcaption><em>The Global Food Twin accounts for production of crops, animal products, and aquatic food sources, connecting supply to domestic and international demand through complex transportation networks.</em></figcaption></figure><h4>Production Model</h4><p>Our production dataset integrates multiple sources organized into 10km x 10km grid cells across the entire planet. We track total mass (kg), calories (kcal), and macro-nutritional content (fats, carbohydrates, proteins) of all crop, aquatic, and livestock commodities produced normalized to 2020 levels.</p><p>Key data sources include:</p><ul><li>CropGRID’s global yields and production for 160 crops</li><li>Global crop calendars showing planting and harvesting dates</li><li>FAO livestock density data for 8 major species</li><li>FAO global catch data for aquatic food sources</li></ul><h4>Demand Model</h4><p>Our demand model is a simple population driven estimate (that we found works well for the scale of our supply chain allocations, see our repo for more information), and matches production to consumption needs based on:</p><ul><li>Culturally relevant diets and caloric requirements in each region</li><li>Population density at a fine-grained resolution</li><li>Nutritional transitions occurring in different regions</li></ul><h4>Trade Model</h4><p>One key advancement in our global model is the trade component. In collaboration with <a href="https://www.linkedin.com/in/jasper-verschuur-076092104/">Dr. Jasper Verschuur,</a> we simulated maritime and hinterland routes connecting 3787 subnational regions across 240 countries. Our data now represents food flows alongside all major transportation infrastructure in the world — with a level of fidelity and detail, never before achieved.</p><p>This has allowed us to:</p><ul><li>Calculate least-cost flows between production and consumption regions</li><li>Model multi-modal transportation of 82 commodities including transshipments</li><li>Identify port-to-port connections for three unique vessel types (bulk, container, general)</li><li>Visualize dependencies on critical maritime, rail, road, inland waterways infrastructure</li></ul><h3>Application Design</h3><p>The design of the application was a feat within itself. Working with our partner <a href="http://developmentseed.org/">Development Seed</a> we took on an extensive design sprint. We detailed our learnings and vision in <a href="https://developmentseed.org/blog/2024-09-18-foodtwin-designsprint/">this blog post</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5p1LH47TrQHqKS5Hk75XrQ.png" /><figcaption>The Global Food Twin basemap highlights the most unique production in each kilometer grid cell.</figcaption></figure><p>The basemap is one of the more interesting parts of the application. <a href="https://medium.com/earthrisemedia/we-need-more-dot-grid-maps-7e4374f79acd">We’re big fans of dot maps</a> here at Earth Genome. This particular basemap was designed by taking the production data for each 1km x 1km grid cell and comparing all 82 food groups in the model. We calculated the variance of each production value and displayed the value with the highest variance as a colored dot. The color of the dot represents the most “unique” type of production in that region; the size of the dot represents how much total production occurs in that region for that particular food type.</p><h3>Key Insights from Global Food Twin</h3><p>Similar to our US Food Twin, the global model reveals insights about a brittle global food system. The centralized production and bottlenecks in transportation are a visualization pointing to how we can prepare for shocks and disruptions and make a more resilient food system globally.</p><p><strong>Here are a few of the insights from the model:</strong></p><ul><li>Our exports analysis capture 13.2M unique flows between 3787 admin1 units and for 82 food groups</li><li>Just ~17,500 bilateral trades are responsible for half of the global export volume, this is only 0.13% of all export flows</li><li>100 largest bilateral flows are 6.7% of all export volumes, largely soyabean (2/3s of these trades), then maize, wheat and sugar</li><li>Exports from Brazil to China is the largest volume of trade, represents almost 4% of all global export flows, USA to China is second, representing 3.3% of all global export flows by volume</li><li>Exports to China represent 15% of all global flows</li><li>The 5 largest exporters by volume are USA, Brazil, Canada, Argentina and Ukraine</li><li>The 5 largest importers by volume are China, Germany, Netherlands, USA and Japan</li><li>Egypt is the largest importer of wheat in the world, also a prominent re-exporter of wheat to Africa (Tunisia, Chad, UAE, Kuwait)</li><li>64.5% of all exports are by sea/hinterland, 24.8% by rail, 9.7% by road and 0.9% by Inland Waterway</li></ul><h4>Concentrated Production Meets Global Demand</h4><p>While the US model showed that just 5.5% of counties produce half the nation’s food, the global picture is even more concentrated. Globally, just 1.2% of regions are responsible for 50% of the world’s grain supply; this concentration creates critical vulnerabilities in our food supply. For example, let’s take <a href="https://foodtwin.theplotline.org/area/IND.34_1?view=impact">Uttar Pradesh’s exports</a>. Our model predicts that this region alone provides the yearly calories for 165 million people around the world. This can be seen clearly in the impact view of the application. All highlighted regions receive food exports from Uttar Pradesh.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ePQJCdq02dTNvPJA" /></figure><h4>Chokepoints in Global Food Transportation</h4><p>The global model highlights critical chokepoints where disruptions could have cascading effects. Key maritime passages like the Suez Canal, the Panama Canal, and the Strait of Malacca handle significant portions of the world’s food trade. This can be seen in the app when looking at a region like Castile and León in northern Spain. This region exports 8 Gigatons of food worldwide, but it can be seen that many of the meat exports going to Asia travel through the Suez Canal. Even small disruptions to individual shipping lanes can cause major impacts to those expecting these shipments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kZiIh-XB_CZxIvi9" /></figure><p>Further visualization can be done using the <a href="https://source.coop/repositories/earthgenome/food-twin/description">full data set</a> to explore which ports, rail lines, roads, and maritime routes are the most critical and most at risk of disrupting food systems.</p><h4>Vulnerability to production shocks</h4><p>Climate impacts combined with conflicts and global trade shocks cause major impacts to food systems that reverberate around the globe. Heat stress and drought events that impact single regions trigger worldwide price spikes and food insecurity.</p><p>Global conflicts provide a clear example of these dynamics. The map below shows a major grain-producing region in Ukraine that exports over 4 gigatons of food annually, primarily grain. This visualization reveals why Russia’s invasion of Ukraine had such effects on global grain markets, disrupting both production and export channels from this critical agricultural hub.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sdAy3d7voqHRFfYF" /></figure><p>Further analysis on the impacts of eliminating individual regions can be done in <a href="https://kushankb-foodflowimpacttool.hf.space/">this tool</a>.</p><h3>Applications of Global Food Twin</h3><p>The Global Food Twin represents not just an academic exercise but a practical tool for addressing food security challenges.</p><h4>Climate Resilience Planning</h4><p>By modeling how climate shocks propagate through the global food system, we can identify vulnerable communities and develop targeted interventions before crises occur. Policymakers can use these insights to diversify food sources and strengthen local production where appropriate.</p><h4>Supply Chain Optimization</h4><p>Food companies and distributors can use our model to evaluate supply chain risks and identify more resilient sourcing strategies. This could lead to more stable food prices and fewer disruptions in availability.</p><h4>Food Security Policy</h4><p>International organizations focused on hunger and food security can better target their efforts by understanding the complex interdependencies of global food systems. Our model helps identify which regions are most vulnerable to various types of shocks.</p><h3>Join the Effort</h3><p>The Global Food Twin, like the US Food Twin, is built on principles of open data and community collaboration. We invite researchers, policymakers, industry leaders, and concerned citizens to engage with this model and contribute to our understanding of global food systems.</p><p>Here’s how you can get involved:</p><ul><li><strong>Explore the System</strong>: Dive into our interactive visualization and explore global food flows.</li><li><strong>Use the Data:</strong> We’ve open sourced the data we use in this application. Use this in your projects and be sure to let us know how you use it.</li><li><strong>Contribute expertise</strong>: If you’re a researcher, we welcome collaborations to refine and expand the model.</li><li><strong>Share insights</strong>: Help spread awareness about food system vulnerabilities in your community and globally.</li><li><strong>Support local resilience</strong>: Use these global insights to better understand how food systems work. Local food networks are the secret to a resilient food system; support your local food network and be part of the solution</li><li><strong>Get in touch: </strong>If you have ideas or want to collaborate, we’d love to hear from you. <a href="https://www.earthgenome.org/#contact-us">Reach out to us here</a>.</li></ul><h3>The Road Ahead</h3><p>While this global model represents a significant advancement, our work is far from complete. Future development will focus on:</p><ul><li><strong>Higher temporal resolution</strong>: Move to monthly, weekly, or even daily timesteps to capture rapid changes</li><li><strong>Production shock modeling</strong>: Integrating climate projections, global conflict, or other impacts to anticipate future disruptions</li><li><strong>Policy simulation</strong>: Building tools to test how policy interventions might impact food security</li><li><strong>Nutritional quality</strong>: Moving beyond calories to better model micronutrient flows through the system</li></ul><p>We also invite the community to join forces to develop an application that allows users to simulate shocks to the system.</p><p>In a world where climate change and geopolitical tensions increasingly threaten food security, tools like the Global Food Twin are essential for building resilience and ensuring that nutritious food remains accessible to all. By making the invisible visible, we hope to inspire action toward a more sustainable and equitable global food system.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=43800412bfcd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/earthrisemedia/global-food-twin-modeling-the-worlds-food-system-43800412bfcd">Global Food Twin: Modeling the World’s Food System</a> was originally published in <a href="https://medium.com/earthrisemedia">Earth Genome</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Dark Art of Vector Map Tiling]]></title>
            <link>https://medium.com/fika-blog/the-dark-art-of-vector-map-tiling-b417a3813df5?source=rss-6546c37bc4df------2</link>
            <guid isPermaLink="false">https://medium.com/p/b417a3813df5</guid>
            <category><![CDATA[geospatial]]></category>
            <category><![CDATA[gis]]></category>
            <category><![CDATA[tippecanoe]]></category>
            <dc:creator><![CDATA[Cameron Kruse]]></dc:creator>
            <pubDate>Tue, 01 Apr 2025 18:13:40 GMT</pubDate>
            <atom:updated>2025-04-01T23:24:52.835Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*QfhGp6suXwR_DZ9H" /></figure><p>If you’ve tried making map tiles and you’re anything like me, you probably feel a lot like Ron. Thanks to the incredible work from people like<a href="https://github.com/e-n-f"> Erica Fischer</a> at<a href="http://mapbox.com/"> Mapbox</a> and<a href="http://felt.com/"> Felt</a>, there is great open source tooling that magically takes geospatial data files and turns them into small files for highly performant beautiful maps. But as your needs get more specific the magic starts to get more complicated and before you know it, you’re feeling like a muggle wrestling with your terminal hoping that you get the right combination of spells that create a dataset that turns out just right.</p><p>Today, I’m sharing a new tool that makes this process a little bit easier for us muggles as well as some tricks of the trade that I’ve picked up along the way. <a href="https://maptiling.streamlit.app/">Check out the tool and let me know what you think!</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w0oDFLkaBmw2nRT2jUT7GQ.png" /></figure><h3>A young wizard’s introduction to Tippecanoe</h3><p>Tippecanoe is the powerful spell book for transforming geospatial data into vector tiles. Tippecanoe can process enormous datasets — millions of features — and intelligently simplify them at different zoom levels while preserving their essential characteristics.</p><p>Unlike other methods that might simply discard features when things get crowded, Tippecanoe offers a remarkable array of enchantments — options like feature dropping, attribute filtering, and clever clustering — that maintain the visual integrity of your maps even at low zoom levels. Knowing what to use when may feel daunting at first (with commands like --drop-densest-as-needed and--extend-zooms-if-still-dropping), but once mastered, you can create tilesets that render quickly and beautifully across platforms, making you the cartographic equivalent of a Defense Against the Dark Arts professor, but hopefully with a longer career.</p><p>If you aren’t familiar with Tippecanoe, go<a href="https://github.com/felt/tippecanoe?tab=readme-ov-file#installation"> install it following the instructions here</a>.</p><h3>Introducing Tippecanoe GUI</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QX3SEGlv0Q0_bMQpGAL67g.png" /></figure><p>Tippecanoe has<a href="https://github.com/felt/tippecanoe?tab=readme-ov-file#usage"> great documentation in its ReadMe</a> with all the info you need to get started, but I’ve often found that half the battle is finding the commands, deciding which ones to use and stringing them together into a coherent command you can actually run in your terminal. I’ve made this a little easier by taking many of the Tippecanoe features and converting them into <a href="https://maptiling.streamlit.app/">an interface you can use to generate your commands</a>. The premise of this tool is you select all the options you want from the dashboard and a command is generated below you can copy and paste in your terminal. <a href="https://maptiling.streamlit.app/">Check it out and let me know what you think!</a></p><h3>Tips and Tricks I’ve learned along the way</h3><p>I’ve got to say here, the whole reason I’m writing this is because I am not an expert. There are people and companies that specialize in just making map tiles. That said, I’ve wrestled through making enough map tiles that I’ve learned strategies to make this as painless as possible.</p><p>Off the bat know that there are currently two major types of map tiles</p><ul><li>mbtiles: these are meant to interface nicely with Mapbox maps and are the OG map tiles format. The downside is they need a server to serve them to your app. You can upload these into you Mapbox account to serve them for you, but if your file is bigger than 300mb you will likely need to go through the <a href="https://www.mapbox.com/mts">Mapbox Tile Service</a>.</li><li>pmtiles: this is a newer map tiles filetype built for open source maps through MapLibre. They can also be added to Mapbox maps pretty easily with <a href="https://www.npmjs.com/package/mapbox-pmtiles">this cool node package</a>.</li></ul><h4>Get a Map Tile Viewer</h4><p>Do yourself a favor and get a local map tiles viewer. If you’re planning to make mbtiles I really like <a href="https://github.com/Akylas/mbview-rs">this no nonsense viewer</a> developed by GitHub user <a href="https://github.com/Akylas">Akylas</a>. If you’re working with pmtiles <a href="https://pmtiles.io/">this is a great online viewer</a>. If you try to view your map tiles using something like QGIS you can view your data, but it doesn’t display correctly based on zoom level</p><h4>Lower zoom levels are the hardest</h4><p>Based on how map tiling works, lower zoom levels (the map is more zoomed out) will have tiles with larger geographic areas than the higher zoom levels (the map is more zoomed in). The first thing you should do is run some tests to figure out what the lowest zoom level is where none of your data is dropped. The brute force way to do this is to run a command like the one below that attempts to generate a tileset with one zoom level without dropping anything.</p><p>tippecanoe -o output.mbtiles -z12 -Z12 -r1 input.geojson</p><ul><li>-z12: Sets the maximum zoom level to 12</li><li>-Z12: Sets the minimum zoom level to 12 (together with -z12, this means only level 12 will be generated)</li><li>-r1: Prevents any automatic dropping of points at zoom levels below the base zoom</li></ul><p>There are much more elegant ways to do this, but this, but something like the above is a great foolproof way to learn about your data; if this command fails, it’s too big for that zoom level. Keep trying this until you get a minimum zoom that works. Once you know this, ask yourself how you want your data to display between zoom 0 and whatever that zoom level is. This is where you will use all the magic commands like--drop-smallest-as-needed or --drop-smallest-as-needed to control what the data looks like at these zoom levels. Note that just not writing these zoom levels is a totally acceptable solution if you don’t plan on making this data visible at these zoom levels.</p><h4>Use -zg for max zoom</h4><p>Unless precision is extremely important for your data, just use the -zg flag for max zoom. This flag guesses the maximum needed zoom to show your data with decent precision. The lower zoom tiles will be what most inflate your map tiles file size. -zg does a good job of making sure that you don’t create tiles that are overly zoomed.</p><h4>Drop the details</h4><p>Before you even start trying to make map tiles, try to reduce your file size. I am almost always working in geopandas manipulating data before I write a geojson file that I convert to map tiles. When creating your data set:</p><ul><li>Get rid of columns you don’t need</li><li>Reduce precision of your floats as much as possible or even better use integers</li><li>Can you convert any string columns to integers</li></ul><p>One trick I’ve used is to write a tiny geojson file with just geometry and a feature id. I write this at lower zoom levels and then have a fully detailed file that I write to map tiles visible at lower zoom levels. This makes data visible at all zoom levels and you can design a UI that work with your data constraints.</p><h4>Make a directory and convert this to map tiles</h4><p>This is a somewhat advanced method, but one output option for tippecanoe is a “directory.” What this will do is write each zoom level to a directory. This isn’t necessarily best practice, but you can granularly write each zoom level you want with different options. You’ll end up with folders for each zoom level that you can move into a single folder with subfolders showing each zoom. Once you’ve done this, take one of the metadata files that was written and change the metadata to reflect the zoom levels you’ve used. Once you have this directory, you can create a map tiles file with tile-join.</p><h4>Big tile energy</h4><p>If all else fails and you just want to show your data on a map forget about tile size limits using the -pf and -pk flags. This will decrease the performance of your map and you will not be able to upload these tiles to your Mapbox account, but you can write to a pmtiles file and host this in an s3 bucket on AWS. I used this trick for our vector waterways data in this web app. It’s not ideal, and the performance lags at low zoom levels, but it shows all the data and sometimes that’s all you care about.</p><h4>Run your scripts in Jupyter notebooks</h4><p>This is coming from a guy that just recently learned that option click will move your cursor anywhere on your terminal (you’re welcome if you didn’t know that already). I’m usually manipulating data in Jupyter notebooks. You still need to write a geojson file first, but you can run terminal commands in Jupyter notebooks by putting ! before the command. This is cool as you can also use curly brackets to reference python {variables} in your scripts. It’s a nicer user interface and sometimes easier to just run this in the notebook where you are working with your data.</p><h3>Wrapping up</h3><p>Tippecanoe may seem like advanced magic at first, but with practice and the right tools, you’ll soon be conjuring beautiful, performant maps. Give the <a href="https://maptiling.streamlit.app/">Tippecanoe GUI</a> a try; hopefully this tool will help make your mapping journey less of a Chamber of Secrets. Now go forth and create maps so magical even the Marauders would be impressed!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b417a3813df5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fika-blog/the-dark-art-of-vector-map-tiling-b417a3813df5">The Dark Art of Vector Map Tiling</a> was originally published in <a href="https://medium.com/fika-blog">Fika</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloudy with a Chance of Data: A Cloud-Native Geospatial Tutorial]]></title>
            <link>https://medium.com/radiant-earth-insights/cloudy-with-a-chance-of-data-a-cloud-native-geospatial-tutorial-b3dc0e0eb238?source=rss-6546c37bc4df------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3dc0e0eb238</guid>
            <category><![CDATA[geospatial]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[international-development]]></category>
            <category><![CDATA[cloud-native-geospatial]]></category>
            <dc:creator><![CDATA[Cameron Kruse]]></dc:creator>
            <pubDate>Tue, 25 Feb 2025 21:37:25 GMT</pubDate>
            <atom:updated>2025-02-25T21:37:25.342Z</atom:updated>
            <content:encoded><![CDATA[<p>Six months ago, I was facing a dilemma: how do you turn a large geospatial research product and turn it into an accessible dataset for the public? While the 🌩️cloud🌩️ was clearly the answer, the specifics weren’t so clear — which cloud platform to use, which formats to choose, and how to manage data access? This is the guide I wish I had; half tutorial, half notes I took along the way, I share my process of how I prepared my data and uploaded it to <a href="https://source.coop/repositories/fika/waternet/description">Source Coop</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*vQp0t2u7miY9WqsvlwEZOw.gif" /><figcaption>Rivers shown in green represent newly mapped waterways. All waterways shown were mapped by WaterNet.</figcaption></figure><h3>Background</h3><p>Our research team at <a href="https://betterplanetlab.com/">Better Planet Labs</a> had successfully completed an ambitious project to map the world’s waterways. After architecting and deploying an algorithm that processed terabytes of cloud imagery, we tripled the number of mapped waterways around the world. (If that sounds interesting, <a href="https://medium.com/fika-blog/waternet-ai-powered-global-water-mapping-triples-known-waterways-bc3095783661">check out our detailed post about it</a>) The challenge then became making this valuable dataset accessible to researchers and practitioners worldwide.</p><p>Rather than simply storing files in a cloud bucket, I wanted to optimize for accessibility and usability. After evaluating various options, I chose Source Coop, a non-profit platform dedicated to making geospatial data more accessible. Their strong reputation in the geospatial community and my positive experiences using their hosted data made this an easy choice.</p><p>This guide is split into sections covering both vector and raster data processing. For context: vector data consists of lines (think roads, boundaries), while raster data is made up of pixels (think satellite imagery, land use maps). All tools and processes described here use open-source software, primarily Python and command-line tools.</p><h3>Vector Data Files</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hH52qJrb05YLoIqx0BbmKQ.png" /><figcaption>Vectorized waterways mapped by WaterNet in Ethiopia</figcaption></figure><p>If you’re working with geospatial data, you probably have your vector data in ESRI shapefiles, GeoJSON, or Parquet formats. The current best practice in cloud-native communities is to use GeoParquet files for large vector data (500MB+) and GeoJSON for smaller datasets. Here’s how to convert between formats:</p><p>Using ogr2ogr (command line):</p><pre>ogr2ogr -f &quot;Parquet&quot; output_filename.parquet input_filename.geojson -progress</pre><p>Or using Python with GeoPandas:</p><pre>import geopandas as gpd<br>gdf = gpd.read_file(&#39;input_file.geojson&#39;)<br>gdf.to_parquet(&#39;output_file.parquet&#39;)</pre><p>For larger datasets, you may need to split them into multiple parquet files. When doing this, follow existing community best practices for data splitting. In our case, we organized parquet files by <a href="https://www.hydrosheds.org/products/hydrobasins">Level 2 HydroBasins</a>, using the naming format: {hydrobasins_level_2_id}_{part}.parquet.</p><p>To verify your parquet files are correctly configured as GeoParquet: ogrinfo -so FILE_NAME.parquet</p><p>You should see a defined geometry column (typically “geometry” or “geom”) and the specific geometry type (POINT, POLYGON, etc.). For visual verification, you can use <a href="https://developmentseed.org/lonboard/latest/">Lonboard</a> to check file integrity.</p><p>Finally, create a GeoJSON file showing the extents of your parquet files:</p><pre>import geopandas as gpd<br>from shapely.geometry import box</pre><pre># List of parquet files to process<br>files = [<br>    &#39;file1.parquet&#39;,<br>    &#39;file2.parquet&#39;,<br>    &#39;file3.parquet&#39;<br>]</pre><pre># Create GeoDataFrame containing the extent (bounding box) of each parquet file<br>extents = gpd.pd.concat([<br>    gpd.GeoDataFrame(<br>        {&#39;file&#39;: f},<br>        geometry=[box(*gpd.read_parquet(f).total_bounds)],<br>        crs=gpd.read_parquet(f).crs<br>    ) for f in files<br>])</pre><pre># Export the extents to a GeoJSON file<br>extents.to_file(&#39;extents.geojson&#39;, driver=&#39;GeoJSON&#39;)</pre><h3>Tiled Vector Data</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*f5PBuxrGMHZ2NQNmQ4U6WA.gif" /></figure><p>Vector tiles enable direct visualization of your data on web maps. PMTiles are the current standard, offering advantages over MBTiles by allowing direct map references without running a separate server. The creation process requires careful attention to detail:</p><p>1. Convert parquet files to GeoJSON (if needed): ogr2ogr -f GeoJSON output_filename.geojson input_filename.parquet -progress -lco COORDINATE_PRECISION=5</p><p>2. Create PMTiles using Tippecanoe: tippecanoe -z11 -Z1 -o output_filename.pmtiles -l waterways --no-tile-size-limit --drop-smallest-as-needed input_filename.geojson</p><p>Pro tip: Process files locally or in the cloud rather than on external drives to avoid potential errors with large files.</p><p>3. Join multiple PMTiles files: tile-join -o joined_output.pmtiles --no-tile-size-limit file_1.pmtiles file_2.pmtiles file_3.pmtiles</p><h3>Raster Data Files</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bivpTaUAX84TLrHR8fKt3g.jpeg" /></figure><p>Most raster data comes in GeoTIFF format, but cloud optimization requires Cloud Optimized GeoTIFFs (COGs). To check if your file is already a COG: gdalinfo SOURCE_PATH/FILE_NAME.tif | grep -i &quot;layout&quot;</p><p>If the output doesn’t show LAYOUT=COG, convert your files:</p><pre>for file in SOURCE_PATH/*.tif; do<br>    gdal_translate &quot;$file&quot; \<br>        &quot;DESTINATION_PATH/${file%.}.tif&quot; \<br>        -of COG \<br>        -co COMPRESS=deflate<br>done</pre><p>For enhanced accessibility, consider creating <a href="https://stacspec.org/en/tutorials/2-create-stac-catalog-python/">a STAC catalog</a> for your data.</p><h3>Raster Tiles</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wdU_2BPJsvSr1kbxqP4Y9Q.png" /></figure><p>Raster tiles enable efficient web visualization by creating multi-level pyramids that load only the data needed for the current view. To create them: gdal2tiles.py -z 1–12 — processes=4 — webviewer=none input.tif output_folder</p><p>Key parameters:</p><ul><li>-z 1-12 Specifies zoom levels (adjust based on your needs)</li><li>--processes=4Enables parallel processing</li><li>--webviewer=none Skips demo HTML viewer creation</li></ul><p>While modern approaches might favor creating overview tilesets and generating raster tiles on-demand, pre-generated tiles offer extremely easy integration.</p><h3>Cloud Upload Process</h3><p>With all assets prepared (parquet vector files, PMTiles vector tiles, COG imagery, and raster tiles), you’re ready to:</p><p>1. Create a repository on Source Coop (<a href="https://docs.source.coop/web-ui">check out this guide</a>)</p><p>2. Upload data to the connected S3 bucket</p><p>3. Create a comprehensive README including:</p><ul><li>Dataset description</li><li>Data sources</li><li>Access instructions</li><li>Usage examples</li><li>Technical specifications</li></ul><h3>Thank you!</h3><p>This work wouldn’t have been possible without guidance from the Cloud Native Geospatial community, particularly Tyler Erickson, Matt Travis, and Michelle Roby. You can access our <a href="https://source.coop/repositories/fika/waternet/description">Source Coop waterways data repository here</a>. Check out <a href="https://apps.fikamap.com/waternet">this map of our being rendered directly from Source Cooop in an exploratory app</a>.</p><p>Share your thoughts and what you would have done differently in the comments!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3dc0e0eb238" width="1" height="1" alt=""><hr><p><a href="https://medium.com/radiant-earth-insights/cloudy-with-a-chance-of-data-a-cloud-native-geospatial-tutorial-b3dc0e0eb238">Cloudy with a Chance of Data: A Cloud-Native Geospatial Tutorial</a> was originally published in <a href="https://medium.com/radiant-earth-insights">Radiant Earth Insights</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloudy with a Chance of Data: A Cloud-Native Geospatial Tutorial]]></title>
            <link>https://medium.com/fika-blog/cloudy-with-a-chance-of-data-a-cloud-native-geospatial-tutorial-0eb79043c14c?source=rss-6546c37bc4df------2</link>
            <guid isPermaLink="false">https://medium.com/p/0eb79043c14c</guid>
            <category><![CDATA[cloud-native]]></category>
            <category><![CDATA[international-development]]></category>
            <category><![CDATA[geospatial]]></category>
            <category><![CDATA[water]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Cameron Kruse]]></dc:creator>
            <pubDate>Thu, 13 Feb 2025 20:35:09 GMT</pubDate>
            <atom:updated>2025-02-13T20:35:09.682Z</atom:updated>
            <content:encoded><![CDATA[<p>Six months ago, I was facing a dilemma: how do you turn a large geospatial research product and turn it into an accessible dataset for the public? While the 🌩️cloud🌩️ was clearly the answer, the specifics weren&#39;t so clear - which cloud platform to use, which formats to choose, and how to manage data access? This is the guide I wish I had; half tutorial, half notes I took along the way, I share my process of how I prepared my data and uploaded it to <a href="https://source.coop/repositories/fika/waternet/description">Source Coop</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*vQp0t2u7miY9WqsvlwEZOw.gif" /><figcaption>Rivers shown in green represent newly mapped waterways. All waterways shown were mapped by WaterNet.</figcaption></figure><h3>Background</h3><p>Our research team at <a href="https://betterplanetlab.com/">Better Planet Labs</a> had successfully completed an ambitious project to map the world&#39;s waterways. After architecting and deploying an algorithm that processed terabytes of cloud imagery, we tripled the number of mapped waterways around the world. (If that sounds interesting, <a href="https://medium.com/fika-blog/waternet-ai-powered-global-water-mapping-triples-known-waterways-bc3095783661">check out our detailed post about it</a>) The challenge then became making this valuable dataset accessible to researchers and practitioners worldwide.</p><p>Rather than simply storing files in a cloud bucket, I wanted to optimize for accessibility and usability. After evaluating various options, I chose Source Coop, a non-profit platform dedicated to making geospatial data more accessible. Their strong reputation in the geospatial community and my positive experiences using their hosted data made this an easy choice.</p><p>This guide is split into sections covering both vector and raster data processing. For context: vector data consists of lines (think roads, boundaries), while raster data is made up of pixels (think satellite imagery, land use maps). All tools and processes described here use open-source software, primarily Python and command-line tools.</p><h3>Vector Data Files</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hH52qJrb05YLoIqx0BbmKQ.png" /><figcaption>Vectorized waterways mapped by WaterNet in Ethiopia</figcaption></figure><p>If you&#39;re working with geospatial data, you likely have your vector data in ESRI shapefiles, GeoJSON, or Parquet formats. The current best practice in cloud-native communities is to use GeoParquet files for large vector data (500MB+) and GeoJSON for smaller datasets. Here&#39;s how to convert between formats:</p><p>Using ogr2ogr (command line):</p><pre>ogr2ogr -f &quot;Parquet&quot; output_filename.parquet input_filename.geojson -progress</pre><p>Or using Python with GeoPandas:</p><pre>import geopandas as gpd<br>gdf = gpd.read_file(&#39;input_file.geojson&#39;)<br>gdf.to_parquet(&#39;output_file.parquet&#39;)</pre><p>For larger datasets, you may need to split them into multiple parquet files. When doing this, follow existing community best practices for data splitting. In our case, we organized parquet files by <a href="https://www.hydrosheds.org/products/hydrobasins">Level 2 HydroBasins</a>, using the naming format: {hydrobasins_level_2_id}_{part}.parquet.</p><p>To verify your parquet files are correctly configured as GeoParquet: ogrinfo -so FILE_NAME.parquet</p><p>You should see a defined geometry column (typically &quot;geometry&quot; or &quot;geom&quot;) and the specific geometry type (POINT, POLYGON, etc.). For visual verification, you can use <a href="https://developmentseed.org/lonboard/latest/">Lonboard</a> to check file integrity.</p><p>Finally, create a GeoJSON file showing the extents of your parquet files:</p><pre>import geopandas as gpd<br>from shapely.geometry import box<br><br># List of parquet files to process<br>files = [<br>    &#39;file1.parquet&#39;,<br>    &#39;file2.parquet&#39;,<br>    &#39;file3.parquet&#39;<br>]<br><br># Create GeoDataFrame containing the extent (bounding box) of each parquet file<br>extents = gpd.pd.concat([<br>    gpd.GeoDataFrame(<br>        {&#39;file&#39;: f},<br>        geometry=[box(*gpd.read_parquet(f).total_bounds)],<br>        crs=gpd.read_parquet(f).crs<br>    ) for f in files<br>])<br><br># Export the extents to a GeoJSON file<br>extents.to_file(&#39;extents.geojson&#39;, driver=&#39;GeoJSON&#39;)</pre><h3>Tiled Vector Data</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*f5PBuxrGMHZ2NQNmQ4U6WA.gif" /></figure><p>Vector tiles enable direct visualization of your data on web maps. PMTiles are the current standard, offering advantages over MBTiles by allowing direct map references without running a separate server. The creation process requires careful attention to detail:</p><p>1. Convert parquet files to GeoJSON (if needed): ogr2ogr -f GeoJSON output_filename.geojson input_filename.parquet -progress -lco COORDINATE_PRECISION=5</p><p>2. Create PMTiles using Tippecanoe: tippecanoe -z11 -Z1 -o output_filename.pmtiles -l waterways --no-tile-size-limit --drop-smallest-as-needed input_filename.geojson</p><p>Pro tip: Process files locally or in the cloud rather than on external drives to avoid potential errors with large files.</p><p>3. Join multiple PMTiles files: tile-join -o joined_output.pmtiles --no-tile-size-limit file_1.pmtiles file_2.pmtiles file_3.pmtiles</p><h3>Raster Data Files</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bivpTaUAX84TLrHR8fKt3g.jpeg" /></figure><p>Most raster data comes in GeoTIFF format, but cloud optimization requires Cloud Optimized GeoTIFFs (COGs). To check if your file is already a COG: gdalinfo SOURCE_PATH/FILE_NAME.tif | grep -i &quot;layout&quot;</p><p>If the output doesn&#39;t show LAYOUT=COG, convert your files:</p><pre>for file in SOURCE_PATH/*.tif; do<br>    gdal_translate &quot;$file&quot; \<br>        &quot;DESTINATION_PATH/${file%.}.tif&quot; \<br>        -of COG \<br>        -co COMPRESS=deflate<br>done</pre><p>For enhanced accessibility, consider creating <a href="https://stacspec.org/en/tutorials/2-create-stac-catalog-python/">a STAC catalog</a> for your data.</p><h3>Raster Tiles</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wdU_2BPJsvSr1kbxqP4Y9Q.png" /></figure><p>Raster tiles enable efficient web visualization by creating multi-level pyramids that load only the data needed for the current view. To create them: gdal2tiles.py -z 1–12 — processes=4 — webviewer=none input.tif output_folder</p><p>Key parameters:</p><ul><li>-z 1-12 Specifies zoom levels (adjust based on your needs)</li><li>--processes=4Enables parallel processing</li><li>--webviewer=none Skips demo HTML viewer creation</li></ul><p>While modern approaches might favor creating overview tilesets and generating raster tiles on-demand, pre-generated tiles offer extremely easy integration.</p><h3>Cloud Upload Process</h3><p>With all assets prepared (parquet vector files, PMTiles vector tiles, COG imagery, and raster tiles), you&#39;re ready to:</p><p>1. Create a repository on Source Coop (<a href="https://docs.source.coop/web-ui">check out this guide</a>)</p><p>2. Upload data to the connected S3 bucket</p><p>3. Create a comprehensive README including:</p><ul><li>Dataset description</li><li>Data sources</li><li>Access instructions</li><li>Usage examples</li><li>Technical specifications</li></ul><h3>Thank you!</h3><p>This work wouldn&#39;t have been possible without guidance from the Cloud Native Geospatial community, particularly Tyler Erickson, Matt Travis, and Michelle Roby. You can access our <a href="https://source.coop/repositories/fika/waternet/description">Source Coop waterways data repository here</a>. Check out <a href="https://apps.fikamap.com/waternet">this map of our being rendered directly from Source Cooop in an exploratory app</a>.</p><p>Share your thoughts and what you would have done differently in the comments!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0eb79043c14c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fika-blog/cloudy-with-a-chance-of-data-a-cloud-native-geospatial-tutorial-0eb79043c14c">Cloudy with a Chance of Data: A Cloud-Native Geospatial Tutorial</a> was originally published in <a href="https://medium.com/fika-blog">Fika</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WaterNet: AI-Powered Global Water Mapping Triples Known Waterways]]></title>
            <link>https://medium.com/fika-blog/waternet-ai-powered-global-water-mapping-triples-known-waterways-bc3095783661?source=rss-6546c37bc4df------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc3095783661</guid>
            <category><![CDATA[rural-access]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[international-development]]></category>
            <category><![CDATA[geospatial]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Cameron Kruse]]></dc:creator>
            <pubDate>Wed, 11 Dec 2024 22:00:38 GMT</pubDate>
            <atom:updated>2025-02-12T19:42:43.483Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u6NdqX2Pfp1aNF1_jOO2Tw.png" /></figure><p>Today, we’re announcing the <a href="https://source.coop/repositories/fika/waternet/description">launch of a new dataset</a> developed as a collaboration between <a href="https://bridgestoprosperity.org/">Bridges to Prosperity</a> (B2P) and the <a href="https://betterplanetlab.com/">Better Planet Laboratory</a>. This new dataset triples the known extent of mapped waterways globally, adding 124 million kilometers to the previously mapped 54 million kilometers. The data was generated by a new AI model called WaterNet, also developed by the Better Planet Laboratory, which has also been released along with the research papers on the methodology. <a href="http://apps.fikamap.com/waternet">Explore a map of the new data</a> or dive straight into <a href="https://doi.org/10.48550/arXiv.2411.13590">the research</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*rpONl_Zw-s6G1LXF" /><figcaption><em>The animation above depicts the raster data outputs tiled on a map. The green river segments are new waterways, the blue are previously identified streams in TDX-Hydro</em></figcaption></figure><h3>The Unseen Challenge: Bridging the Data Gap</h3><p>For years, the world has faced a critical blind spot: an incomplete map of its waterways. This is especially true in low and middle-income regions, where isolation caused by uncharted rivers, streams, and seasonal waterways traps communities in cycles of poverty and vulnerability.</p><p>At B2P, we’ve seen this challenge firsthand. Out of nearly <a href="https://bridgestoprosperity.github.io/bridge-locations-map/#3.83/6.06/27.95">5000 crossings assessed</a>, an average of 38% are on unmapped waterways. In some countries with more significant data gaps, over 60% of verified crossings are on unmapped waterways. Furthermore, we’ve struggled to scale our efforts to identify where bridges are needed using remote assessments, as the data we fed into our models about where rivers are was so incomplete. Looking beyond just planning for transportation, <strong>how can you plan for climate resilience if you don’t know where the water is?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2tNFfMkOCZei0k-d" /><figcaption><em>Red points represent locations where we have confirmed the location of a river crossing without a bridge. Green represents mapped waterways in Open Street Map. Orange lines represent waterways modeled by TDX-Hydro. Blue lines represent results from the WaterNet model.</em></figcaption></figure><p>Our digital team at B2P, in partnership with a team of data scientists at the <a href="https://betterplanetlab.com/">Better Planet Laboratory</a>, is developing a suite of remote analysis tools that will assess transportation barriers to critical destinations in rural low-income communities to locate where bridges are needed. Collectively called Fika Map (“<em>fika”</em> means “<em>arrive</em>” in Swahili), the objective of this tool suite is to identify the scope and distribution of transportation barriers through entire regions or nations using publicly available data and machine learning technology and estimate the cost and social impact of addressing those barriers, once identified. While the past five years have seen incredible progress in the ability of remote sensing data and AI to address major challenges, those solutions often rely on data that is expensive or impossible to obtain on a meaningful scale.</p><h3>The Technology Behind WaterNet</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IRskXAodGZfFZYzh" /><figcaption><em>The image above depicts the raster data outputs colored by the probability that pixels are waterways</em></figcaption></figure><p>WaterNet represents a significant leap forward in waterway mapping technology. The model combines two powerful approaches using training data from 10m per pixel satellite imagery (Sentinel-2 Level-2A NRGB bands) and 30m resolution digital elevation model (Digital GLO-30 Copernicus). The model itself is generally based on ideas from <a href="https://en.wikipedia.org/wiki/U-Net">U-Net</a> and <a href="https://en.wikipedia.org/wiki/Residual_neural_network">ResNet</a>.</p><p>Unlike previous mapping efforts that relied primarily on elevation data, WaterNet leverages the wealth of information available in visual and near-infrared satellite imagery. The model can identify subtle signatures of water flow, from clear river paths to vegetation patterns that indicate seasonal waterways. Through the training process the model, in essence, learns to draw where waterways exist.</p><p>The second technical output produced by this research was the vectorization process. The raster outputs of the WaterNet model were vectorized to a TDX-Hydro backbone, in order to increase compatibility of the data. This data was then put through a connecting process, which was then thinned, and properly vectorized into line strings. Strahler stream order was also added to each river segment.</p><p><a href="https://doi.org/10.48550/arXiv.2412.00050">Access the research paper on the model here</a> for more information on the model and methodology.</p><h3>Global Impact and Accessibility</h3><p>The implications of this breakthrough extend far beyond mapping. As Dr. Zia Mehrabi, Director of the <a href="https://betterplanetlab.com/">Better Planet Laboratory</a> and WaterNet’s principal investigator, notes: “This is an excellent example of the use of AI for Good. We are glad to release this new data in the hope that it may help close that important gap in our current understanding of where rivers and streams are on the planet and aid humanitarian organizations in ways not possible with existing data.”</p><p>The dataset is particularly beneficial for:</p><ul><li>Climate resilience planning in vulnerable communities</li><li>Transportation infrastructure development</li><li>Humanitarian aid routing</li><li>Environmental protection efforts</li><li>Scientific research on Earth’s water systems</li></ul><h3>About the Data</h3><p>All data uses the EPSG:4326 projection system for global compatibility. The WaterNet dataset is available in multiple formats to suit different use cases. Below we detail the technical specifications behind the data</p><h4>Raster Outputs</h4><p>The <a href="https://source.coop/fika/waternet/raster">raster data</a> is available as cloud optimized GeoTiff (COG) format.</p><ul><li>Resolution: 20-meter global coverage</li><li>Data type: 8-bit unsigned integer</li><li>Probability scaling: 0 (low) to 255 (high) probability of waterway</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ws2wn7LUzMer2ouf" /><figcaption><em>The image above depicts the raster data outputs colored by the probability that pixels are waterways</em></figcaption></figure><h4>Vector Outputs</h4><p>Available as <a href="https://source.coop/fika/waternet/vector">geoparquet</a> and <a href="https://source.coop/fika/waternet/pmtiles">pmtiles</a> file types. The vector data includes rich attributes for each stream segment:</p><ul><li>Unique stream IDs and downstream connectivity</li><li>Strahler stream order classification</li><li>Length measurements in meters</li><li>Lake intersection indicators</li><li>TDX-Hydro correspondence markers</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wT3p5kzawxOigL39" /><figcaption><em>The image above depicts the raster data outputs tiled on a map. The green river segments are new waterways, the blue are previously identified streams in TDX-Hydro</em></figcaption></figure><h3>Open Access</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*f5PBuxrGMHZ2NQNmQ4U6WA.gif" /><figcaption><em>The animation above depicts the raster data outputs tiled on a map. The green river segments are new waterways, the blue are previously identified streams in TDX-Hydro</em></figcaption></figure><p>In the spirit of advancing equity and global collaboration, the entire dataset is being released under a <a href="https://creativecommons.org/licenses/by/4.0/deed.en">CC 4.0 license</a>, making it freely available to governments, researchers, and organizations worldwide. The data, model and code can be accessed through multiple platforms.</p><p><strong>Interactive Map:</strong></p><p>An interactive map of the data has been made available at <a href="https://apps.fikamap.com/waternet">apps.fikamap.com/waternet</a>.</p><p><strong>Data Access:</strong></p><ul><li><a href="https://source.coop/repositories/fika/waternet/description">Cloud-optimized formats through Source Coop</a></li><li>Harvard Dataverse houses the data set with a DOI: <a href="https://doi.org/10.7910/DVN/YY2XMG">https://doi.org/10.7910/DVN/YY2XMG</a></li></ul><p><strong>Research Papers:</strong></p><ul><li><a href="https://doi.org/10.48550/arXiv.2412.00050">Deep learning waterways for rural infrastructure development</a></li><li><a href="https://doi.org/10.48550/arXiv.2411.13590">Mapping waterways worldwide with deep learning</a></li></ul><p><strong>Code:</strong></p><p>Code for model creation, training, and vectorization are linked in the GitHub Repositories below. Global inference code has not been included as the large amount of data required makes such an effort difficult to generalize across compute hardware.</p><ul><li><a href="https://github.com/Better-Planet-Laboratory/WaterNet">WaterNet</a></li><li><a href="https://github.com/Better-Planet-Laboratory/WaterNet_training_and_evaluation">WaterNet Training and Evaluation</a></li><li><a href="https://github.com/Better-Planet-Laboratory/WaterNet_vectorize">WaterNet Vectorization</a></li></ul><h3>The Path Forward</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mqe_EVLE4UwFix1R" /><figcaption><em>The image above depicts the raster data outputs colored by the probability that pixels are waterways</em></figcaption></figure><p>This release is just the beginning. The dataset will serve as a foundation for B2P’s Fika Map initiative — a tool suite designed to identify transportation barriers in rural, low-income communities. The name “Fika,” meaning “arrive” in Swahili, embodies the project’s goal: ensuring everyone can reach essential services, regardless of where they live.</p><p><a href="https://bridgestoprosperity.org/">B2P</a> and the <a href="https://betterplanetlab.com/">Better Planet Laboratory</a> continue their collaboration, seeking resources to expand their work in remote site identification and route development. With 80% of people experiencing extreme poverty living in rural areas, the need to leverage new technology for climate-smart infrastructure solutions has never been more urgent.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc3095783661" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fika-blog/waternet-ai-powered-global-water-mapping-triples-known-waterways-bc3095783661">WaterNet: AI-Powered Global Water Mapping Triples Known Waterways</a> was originally published in <a href="https://medium.com/fika-blog">Fika</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Not Just AI]]></title>
            <link>https://medium.com/earthrisemedia/not-just-ai-7107967eb26a?source=rss-6546c37bc4df------2</link>
            <guid isPermaLink="false">https://medium.com/p/7107967eb26a</guid>
            <category><![CDATA[carbon]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[conservation]]></category>
            <category><![CDATA[cllimate]]></category>
            <category><![CDATA[deforestation]]></category>
            <dc:creator><![CDATA[Cameron Kruse]]></dc:creator>
            <pubDate>Tue, 10 Dec 2024 17:43:38 GMT</pubDate>
            <atom:updated>2024-12-10T17:43:38.124Z</atom:updated>
            <content:encoded><![CDATA[<h3>How can AI be used to broaden the reach of conservation research?</h3><p>We recently had the opportunity to work with <a href="https://www.conservation.org/">Conservation International</a> investigating how to use AI to make their environmental research more accessible. Through a series of experiments combining large language models with geospatial data, we developed new ways to allow people to engage with complex environmental research, particularly focusing on Conservation International’s Not Just Carbon portfolio of work to advance the non-carbon benefits of forests highlighted in <a href="https://www.wri.org/research/not-just-carbon-capturing-benefits-forests-climate">WRI’s report</a>. In our work we found that AI can be an incredible tool to effectively translate complex research for different audiences, from policymakers to teachers, multilingual capabilities can dramatically expand research reach, and interactive visualizations powered by AI can make data more intuitive and engaging. Below we share more about our process and findings to help others that are working on similar projects.</p><h3>Project Structure</h3><p>Scientists know that forests are even more important for stabilizing the climate than usually understood by local and regional stakeholders and policymakers. By influencing rainfall patterns and reducing local temperatures, forests also affect agriculture production, local health, and water security. Conservation International came to us with this body of research, and the challenge of making it relevant to hundreds of local and regional policy makers and stakeholders, each with different interests.</p><p>Working with large language models is very much an experimental endeavor. As such we structured the project in a series of short 2-week sprints that would allow the team to pivot into many different areas. Between each sprint we’d meet with the Conservation International team to discuss the prototypes we developed and sketch up what we’d continue building in the next sprint and which new ideas we may want to pursue.</p><p>Before the project and throughout the various experiments, the Conservation International team shared with us relevant reports, research papers, and other content. They also put us in touch with the scientists conducting research to hear more about the parts of their work they thought was most interesting and to get feedback on the prototypes that our team was building out.</p><p>The prototypes were deployed on <a href="https://ci-ai-app.vercel.app/">a live demo site</a> and refined throughout the project</p><h3>The Anatomy of a Generative AI Product</h3><p>Most of the prototypes we built were using the Assistants API from OpenAI. The ways these work is you script a prompt that controls how the agent responds to an input. Sometimes we’d use one of these assistants, but we’d often chain them together to produce multiple responses or process inputs in different ways. We developed a common vernacular to help us explain our architectures which we detail below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*c7l6mPQ08LhsEjIQ" /></figure><h3>Overview of Demos built</h3><p>We built several demos, but the two detailed below were the two that showed the most promise at the end of the project.</p><h3>CI AI Research Paper Chat</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aFCA-0bGWPPchBTu" /></figure><p>Imagine having a conversation with an expert who has read over 100 research papers about climate change and conservation. That’s what we’ve created with the CI AI Research Paper Chat. Users can interact with different AI personas — from researchers to policy experts to teachers — each offering unique perspectives on Conservation International’s research.</p><p>The system goes beyond simple question-and-answer interactions. Users can customize responses based on their needs, adjusting for creativity, length, and formatting. For educators, there’s even an option to specify grade level for responses. Most importantly, every response is grounded in actual research papers, with direct citations that users can click through to access the original sources. <a href="https://ci-ai-app.vercel.app/multiagent-chat/">Check it out here</a>.</p><h3>Interactive AI-Powered Map Visualization</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0nLx2sqMwJzFO4ZB" /></figure><p>Our second major experiment combines multiple environmental datasets into an interactive map that responds to natural language queries. When users ask questions about heat, deforestation, or climate change impacts on health, the AI automatically styles the map to highlight relevant data in meaningful ways. The system not only visualizes the data but also provides context about what you’re seeing and suggests related datasets to explore. <a href="https://ci-ai-app.vercel.app/map-viz-gen/">You can find the prototype here.</a></p><h3>Key Learnings</h3><p>Through this project, we learned a lot about how AI can make environmental research more accessible:</p><p><strong>AI can greatly broaden the reach of research findings: </strong>Our experiments showed that AI can help people engage with scientific content in more natural and intuitive ways. For instance, most research is published in English, but using AI someone can ask questions about a corpus of research and the AI model will respond in the language of the user. Of course it can also be tailored to explain content in more engaging and digestible ways.</p><p><strong>The Power of Multiple Perspectives:</strong> Different users need different approaches. A policymaker might want technical details and methodologies, while a teacher might need grade-appropriate explanations of the same concepts. Our multi-persona approach helps serve these diverse needs.</p><p><strong>The Importance of Data Infrastructure:</strong> One of our key findings was the need for better standardization and accessibility of research data. Making environmental data more structured and accessible would greatly enhance our ability to build tools with AI that access and use that data to produce compelling summaries and visualizations.</p><h3>Looking Forward</h3><p>This project represents just the beginning of what’s possible when we combine AI with environmental research. We see enormous potential for:</p><ul><li>Building AI assistants that launch alongside major research publications</li><li>Leveraging AI for multilingual access to research</li><li>Creating more interactive, data-driven visualizations of environmental changes</li><li>Developing tools that help researchers synthesize findings across multiple studies</li></ul><h3>Try It Yourself</h3><p>We invite you to explore <a href="https://ci-ai-app.vercel.app/">our experiments</a>. Whether you’re a researcher, journalist, educator, or simply someone interested in environmental conservation, these tools offer new ways to engage with important environmental research.</p><p>The code for this project is open source and available on <a href="https://github.com/earth-genome/ci-ai-app">GitHub</a>. We welcome contributions and feedback from the community as we continue to develop these tools.</p><p>If you have ideas for how AI can increase accessibility of climate research drop a note in the comments below!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7107967eb26a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/earthrisemedia/not-just-ai-7107967eb26a">Not Just AI</a> was originally published in <a href="https://medium.com/earthrisemedia">Earth Genome</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bridges to Prosperity’s Groundbreaking AI Tool Featured in BBC’s The Human Component]]></title>
            <link>https://medium.com/fika-blog/bridges-to-prosperitys-groundbreaking-ai-tool-featured-in-bbc-s-the-human-component-4a0c951bf3fa?source=rss-6546c37bc4df------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a0c951bf3fa</guid>
            <dc:creator><![CDATA[Cameron Kruse]]></dc:creator>
            <pubDate>Thu, 14 Nov 2024 22:36:12 GMT</pubDate>
            <atom:updated>2024-11-14T22:36:12.475Z</atom:updated>
            <content:encoded><![CDATA[<p>Bridges to Prosperity (B2P) has been featured in the latest episode of the popular BBC series The Human Component, a documentary-style film presented by CTATech and produced for us by BBC StoryWorks Produced, this episode highlights our innovative AI tool suite, Fika Map, which is supported by the Cisco Foundation and is making a profound impact on communities worldwide.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FYEtBGIYcJpM%3Flist%3DPL_va8cJKYXziLDBFyI_83dPVed-RsQ5US&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DYEtBGIYcJpM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FYEtBGIYcJpM%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/097910bcc1c2c003453ffc5edb4d285e/href">https://medium.com/media/097910bcc1c2c003453ffc5edb4d285e/href</a></iframe><p>In our episode, viewers are introduced to individuals like Karabiyo Safuroza, a cocoa farmer whose life has been transformed by the improved access provided by a bridge built in partnership with the Government of Uganda. “The bridge has contributed positively towards the community because people can move freely now,” Karabiyo shared, underscoring the life-changing impact of safe, reliable transportation infrastructure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rQR7bYxbXiXmeckH.jpg" /></figure><p>To commemorate the release of our episode, B2P staff returned to the Bundimulinga community in Bundibugyo District, where we hosted a special documentary screening. The event, held on August 6th, 2024, was a true celebration of the community’s achievements and the power of connection. The preparations for this event began with coordination and communication with local authorities, including the LC5 Chairman, RDC, DPC, UPDF Commander, and others, to ensure smooth operations. Invitations were distributed to community members in the form of B2P stickers, which also served as tickets to the screening.</p><p>On the day of the event, B2P staff arrived early at J and R Gardens, near the Bundimulinga cable trail bridge, to oversee the setup of tents, chairs, and the large screen. Local service providers from Nyahuka Town Council were engaged for catering, equipment, and security, ensuring that the community fully supported the event.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KOwpjLpq8Bl10Ogk.jpeg" /></figure><p>The celebration began with a vibrant motorbike ride across the trail bridge, where B2P staff and local motorcyclists wearing reflector vests participated in a festive parade. The sense of pride and joy was palpable as the community celebrated their accomplishments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0q7vtDBUXExPNyPd.jpg" /></figure><p>A particularly touching moment was when we presented Mrs. Karabiyo with a photo book, capturing the memories of her experience during the filming. Her grandchildren were delighted with B2P-branded school bags, and her youngest son proudly wore his new B2P cap. The smiles on their faces reflected the deep connection and gratitude shared between B2P and the community.</p><p>As the community gathered in anticipation, the event commenced with speeches from local leaders, landowners, and elders, all highlighting the transformative impact of the bridge on their daily lives. At 3:30 PM, the screening of the BBC documentary began, with the film shown three times to ensure everyone could watch. The atmosphere was electric, with cheers erupting as the community members saw their stories brought to life on the big screen. All shared pride in their achievements as they reflected on how the bridge has improved access to schools, health centers, and markets. The event concluded with a joyful feast, where food and soft drinks were served to the 200 attendees. It was a day filled with celebration, connection, and a renewed community spirit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HD9JaNABQjicN2Tu.jpeg" /></figure><p>We are incredibly proud of the work done through Fika Map and the continued support from the Cisco Foundation. This episode of The Human Component showcases the innovative solutions being developed and highlights the resilience and strength of communities like Bundimulinga. As we continue to build literal and metaphoric bridges, we are committed to connecting more communities to essential services, creating opportunities, and improving lives worldwide.</p><p>Stay tuned for more stories of impact and innovation as we work together to bridge gaps and build futures. Thank you to everyone who has supported us on this journey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UcO9UOxL6yuLTzIv.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a0c951bf3fa" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fika-blog/bridges-to-prosperitys-groundbreaking-ai-tool-featured-in-bbc-s-the-human-component-4a0c951bf3fa">Bridges to Prosperity’s Groundbreaking AI Tool Featured in BBC’s The Human Component</a> was originally published in <a href="https://medium.com/fika-blog">Fika</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building the vision for a more sustainable food future in Africa]]></title>
            <link>https://medium.com/earthrisemedia/building-the-vision-for-a-more-sustainable-food-future-in-africa-d70aeae60dc6?source=rss-6546c37bc4df------2</link>
            <guid isPermaLink="false">https://medium.com/p/d70aeae60dc6</guid>
            <category><![CDATA[food-security]]></category>
            <category><![CDATA[cop-28]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[climate-change]]></category>
            <category><![CDATA[food-systems]]></category>
            <dc:creator><![CDATA[Cameron Kruse]]></dc:creator>
            <pubDate>Thu, 07 Dec 2023 17:54:20 GMT</pubDate>
            <atom:updated>2023-12-07T17:55:23.260Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*67g2Tj9IfgsvthOXrKy7gA.gif" /></figure><p>At COP28 <a href="https://www.state.gov/secretary-antony-j-blinken-at-the-un-climate-conference-cop-28-leaders-event-transforming-food-systems-in-the-face-of-climate-change/">U.S. Secretary of State Blinken announced</a> the commitment of $150 million to develop food crops well-suited to the changing climate in Africa. To support this substantial announcement for the <a href="https://www.state.gov/the-vision-for-adapted-crops-and-soils/">Vision for Adapted Crops and Soils (VACS)</a> the <a href="http://theplotline.org/">Plotline</a> built and has launched the <a href="https://vacs.theplotline.org/#/">VACS Explorer</a> to bring to life the research driving investments into key crops for African food security in a changing climate.</p><p><a href="https://vacs.theplotline.org/#/">VACS Explorer</a> is built on data produced by <a href="https://agmip.org/">AgMIP</a> projecting expected crop yields in a low or high emissions future. Earth Genome worked with our friends at <a href="https://stamen.com/">Stamen Design</a> to illustrate this data in a fresh and compelling visualization that clearly surfaces important information. Future crop yields are visualized in comparison to their historical levels, highlighting where crops will be harder or easier to grow in our changing climate. Crop yields can be compared against each other and assessed geographically across the continent to assist decisions on investments. VACS Explorer also profiles details on each crop including nutritional, genetic, and biophysical attributes. Today, the application is live to the general public at <a href="https://vacs.theplotline.org/#/">vacs.theplotline.org</a>.</p><h3>The VACS program is addressing the food future in Africa</h3><p>Africa has been and will continue to be the region in the world <a href="https://www.state.gov/wp-content/uploads/2023/10/Phase-1-Report-100223.pdf">most adversely affected by climate change</a>. Vision for Adapted Crops and Soils (VACS) addresses food security in Africa by developing and mobilizing investment in resilient, nutritious indigenous crops suited to the changing climate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*E-DI8UH3eq7UVOVK" /><figcaption><a href="https://twitter.com/SecBlinken/status/1730623985388298332">https://twitter.com/SecBlinken/status/1730623985388298332</a></figcaption></figure><p>The importance of a program like this cannot be understated. In the words of Secretary Blinken:</p><blockquote>“If parents can’t feed their children, nothing else matters…. We’re working with partners to rethink what, where, and how we produce food, in the context of a changing planet. Our goal is for farmers, for ranchers, to be able to sustainably achieve bigger yields of more nutritious crops, at lower costs, using less land, producing lower emissions.”</blockquote><p>At The Plotline, we’ve worked closely with the Global Food Security group at the US Department of State researching and exploring topics that they’ve brought to our attention. We built a <a href="https://stories.theplotline.org/ukr-grain/">tool to explore the impacts of the Russian invasion of Ukraine</a> on grain production, developed a <a href="https://theplotline.xyz/pages/pk-flood/">map based story on the 2022 flooding in Pakistan</a>, and aggregated <a href="https://theplotline.xyz/pages/fewsnet-pop/">food insecurity data into an interactive application</a>. These projects have all been focused on the past or current state of food systems. VACS is different — it’s a future focused vision crafted by a community most familiar with the shortcomings of our current food systems, designed to solve many of these challenges in a world where there will be more people to feed and a much harsher climate.</p><p>The Global Food Security group introduced us to the climate and agricultural modeling group, AgMIP, who had the task to make predictions on how climate will impact crops in the future.</p><p>We worked with <a href="https://agmip.org/">AgMIP</a> to take their preliminary results and develop the <a href="http://vacs.theplotline.org/">VACS Explorer application</a> to bring to life the key insights. You can read more about how we <a href="https://github.com/earthrise-media/vacs-map/tree/main#readme">worked with their data and prepared it for the application here</a>. Below, we share a few insights and learnings we’ve found from using this tool.</p><h3>Crops respond to climate change differently</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cPs2n38tjtr0imSt" /></figure><p><a href="https://vacs.theplotline.org/#/crops">These maps show</a> the predicted yields for 20 crops across Africa in the year 2050, in a world that does not significantly cut back on greenhouse gas emissions. Specifically, this represents the <a href="https://www.dkrz.de/en/communication/climate-simulations/cmip6-en/the-ssp-scenarios">climate scenario SSP370</a>. The green above indicates areas where crop yield is predicted to increase, yellow where the predicted yield would decrease. As this shows, certain crops like maize are projected to see more major impacts than crops indigenous to Africa like tef or fonio.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GVlOVfeNjvOirVtl" /></figure><p>When comparing the scale of breeding programs supporting these three crops it’s evident that Maize is getting more support than the indigenous crops. If we want to seriously mitigate the harms of climate change on future food security, we need to invest more in resilient, nutritious indigenous crops suited to the changing climate.</p><h3>Climate will influence nutrition not just calories</h3><p>In the <a href="https://vacs.theplotline.org/#/crops?crop=africaneggplant&amp;metric=yieldratio&amp;model=future_ssp370">comparison tool of the VACS Explorer</a>, crops are sorted by different nutritional parameters. Here are the top 5 crops as ranked by protein content.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tiikPGfuV0Fi5Aoq" /></figure><p><a href="https://vacs.theplotline.org/#/map-explore?crop=soybean&amp;metric=yieldratio&amp;model=future_ssp126">Clicking into the explore page</a>, it’s revealed that a high protein crop like soy bean is predicted to be greatly impacted by climate change in West Africa.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZYS9cAm_BvVHpY5U" /></figure><p>Food security projections often look at calories alone. Many high calorie crops like grains aren’t projected to decrease as significantly as <a href="https://vacs.theplotline.org/#/crops?crop=soybean&amp;metric=yieldratio&amp;model=future_ssp370">high protein crops</a> and <a href="https://vacs.theplotline.org/#/crops?crop=soybean&amp;metric=yieldratio&amp;model=future_ssp126">high iron crops</a>. Surfacing nutritional benefits of crops introduces a more nuanced lens for answering questions about how to both provide enough calories for a growing population and healthy plant based proteins and vitamin rich diets across the continent.</p><h3>Greenhouse gas emissions will define the extremes</h3><p>One of the more prominent insights of <a href="http://vacs.theplotline.org/">VACS Explorer</a> is how higher levels of greenhouse gasses in the future will create more extreme outcomes. For any of the crops, the most obvious change between the high and low emissions scenarios is everything looking brighter. For example, take the <a href="https://vacs.theplotline.org/#/map-explore?crop=lablab&amp;metric=yieldratio&amp;model=future_ssp370">legume lablab</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/0*O9JLDyxF8-4XhsGl" /><figcaption>The dimmer view in this GIF is a lower emissions future</figcaption></figure><p>Where crops change in yield, these changes are more amplified by differences in projected emissions. This is even more evident when examining the charts on the map explorer page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7IG8Oy0_3xwB8PFR" /></figure><p>The white line on the strip plot illustrates crop yield under a low emission and high emission scenario, and shows a significant decrease of lablab yields in West Africa under a high emissions future. Even more interesting, the general trend is that many locations skew towards the extremes with the more regions seeing yields with higher decreases or sometimes increases. In the strip plot, this trend appears as more brightly colored lines towards the edges of the plot.</p><h3>Feeding the future is a shared vision</h3><p>Spending significant time analyzing the data in this application has offered a unique perspective into climate change and food security. We’re often presented with the narrative that climate change will negatively impact food systems in the future; this is true, but not a binary. Certain foods will do much better in a warmer climate and these are often crops that are historically grown in these regions. To feed a growing population and create a more food secure world amidst a changing climate we must not only learn from indigenous communities, but give these communities a voice and platform to share their knowledge. <a href="https://www.state.gov/the-vision-for-adapted-crops-and-soils/">VACS is a good example of a program that is doing this</a> and supporting this vision with significant investments.</p><p><a href="http://vacs.theplotline.org/">Explore the application</a> and learn for yourself the types of crops that will do better in a changing climate. Take note of the types of agriculture that are providing diverse nutrients and plant based proteins. Do you know organizations or programs driving investment, research, or distribution of locally adapted crops to historically food insecure communities? Please share in the comments or <a href="https://www.earthgenome.org/#contact-us">get in touch</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d70aeae60dc6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/earthrisemedia/building-the-vision-for-a-more-sustainable-food-future-in-africa-d70aeae60dc6">Building the vision for a more sustainable food future in Africa</a> was originally published in <a href="https://medium.com/earthrisemedia">Earth Genome</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Food Twin: Stress Testing the U.S. Food System]]></title>
            <link>https://medium.com/earthrisemedia/food-twin-stress-testing-the-u-s-food-system-af94b06dbd1f?source=rss-6546c37bc4df------2</link>
            <guid isPermaLink="false">https://medium.com/p/af94b06dbd1f</guid>
            <category><![CDATA[maps]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[food-systems]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[climate-change]]></category>
            <dc:creator><![CDATA[Cameron Kruse]]></dc:creator>
            <pubDate>Thu, 16 Nov 2023 13:53:17 GMT</pubDate>
            <atom:updated>2023-11-16T13:53:17.625Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*f9PhXstrydg7x3o9FiWteg.gif" /></figure><p>Today the <a href="http://theplotline.org/">Plotline</a>, the food climate and data community organized by Earth Genome, is launching <a href="http://food.theplotline.org/">Food Twin</a>, a proof of concept digital twin of the United States food system. Food Twin is based on a custom model, built in collaboration with food system expert <a href="http://www.ziamehrabi.com/index.html">Zia Mehrabi</a>, that maps production of grown foods in the United States to where these foods are consumed. This model reveals a brittle and centralized food system that is at a high risk to be impacted by climate change economic shocks.</p><h3>Why Build a Food Twin?</h3><p>Did you grow the food you ate for breakfast this morning? Do you know who did? I certainly didn’t and don’t know where it even came from. In one view, our society’s ability to abstract away activities like hunting and gathering is what defines progress; no longer are we spending our days worrying about where our next meal is coming from or storing food so we don’t go hungry over the winter. However, this abstraction also comes with real risks. The food system isn’t without cracks, but most of us don’t have a clear line of sight into where these are, who they will impact, or what will make them worse. As the impacts of climate change become more evident, it’s concerning that such a fundamental resource is so opaque.</p><p><a href="https://food-system-digital-twin.vercel.app/#county=%2206069%22&amp;foodGroup=null">The Food Twin</a> developed by <a href="http://www.ziamehrabi.com/index.html">Zia Mehrabi</a> and <a href="https://theplotline.org/">The Plotline</a> in collaboration with <a href="https://developmentseed.org/">Development Seed</a> is a proof of concept digital twin of the United States food system designed to model and illustrate our food system from production through consumption. Recent events such as the COVID-19 pandemic and Russia’s invasion of Ukraine have revealed inherent gaps in the way food systems are modeled. Particularly, these events have exposed how shocks cascade through food systems and impact food security at an individual and community level. <a href="https://www.nature.com/articles/d41586-023-00640-x">Digital twins of food systems</a> hold massive potential to support decision making during and prior to food crises, including those caused or exacerbated by climate change.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*K91rf7Pq9IhY0RTQI5PoOA.gif" /></figure><p>The application visualizes a custom built model designed to predict the connection between where food is grown and where it is consumed. Each colored point moving on the map correlates to an amount of calories from that food group. The <em>consumer view</em> on the map display how the food consumed in a county travels to that region; in the <em>producer view</em> it shows where food that grows in that county is consumed and how it gets to that area.</p><p>Climate change is destabilizing our food systems across the world, and the US is not immune to this stressor. A missing piece of the puzzle is how extreme weather shocks, which are becoming more common, experienced in one location, are felt by consumers in other locations. In <a href="https://food-system-digital-twin.vercel.app/#county=%2206069%22&amp;foodGroup=null">The Food Twin</a> we model climate impacts for all major grown crops in the US. We couple these predictions with our food system model, to identify communities at risk at the other end of the supply chain when drought and heat wave events hit. The scenarios we represent are illustrative in nature, but highlight how digital twins can be used to evaluate how risks spread through food systems, affecting commodities and consumers across the nation.</p><h3>Our Takeaways</h3><p>The Food Twin project, although still just a proof of concept, offers several insights into the current state and future of the U.S. food system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VT-qw7iwG-naemLCYOjL1g.gif" /></figure><h4><strong>Our current system is brittle and centralized</strong></h4><p>One of the key takeaways from the Food Twin model is the inherent brittleness of the current food system. In our model, just 5.5% of U.S. counties are responsible for half of the country’s food production. Additionally, this system relies on a limited number of distribution centers and transport routes, further exacerbating its fragility. This centralization, and the just in time contracting environment on which so many consumers rely, creates vulnerabilities, particularly in the face of unexpected events like pandemics or geopolitical conflicts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6wP3WvqaxvOuG57ebjoRGw.gif" /></figure><h4><strong>Vulnerability to climate change</strong></h4><p>The model vividly illustrates how weather is already impacting food production. For instance, Kern county, one of the counties producing the highest diversity of crops stands to lose almost 8% of its production in a heat stress event like the one we’ve modeled. With the predicted increases in extreme weather events and shifting climate patterns, these impacts are only expected to grow. This underscores the urgency of integrating climate resilience into food system planning and management. And critically highlights how shocks felt in one distant location propagate through the supply chain to consumers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k63kzqeH9F7qvauNn289pQ.gif" /></figure><h4><strong>Need for diversification and localized solutions</strong></h4><p>The project points towards the need for more diversified food systems, and proactive policies to ensure consumers relying on brittle or fragile supply chains are buffered from shocks in the future By reducing reliance on a small number of food sources and distribution channels, the system can become more resilient to climate &amp; economic shocks, and the impact felt by consumers buffered from shocks that happen further up in the supply chain</p><h3>Model Description</h3><p>For those interested in the technical details, here’s a short summary of how the model is built.</p><h4><strong>Production</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qTtrw3LNn8m7eRAIwMCtiA.png" /></figure><p>The model that powers this tool uses the <a href="https://data.nal.usda.gov/dataset/cropscape-cropland-data-layer">USDA’s Cropland Data Layer</a> to generate an estimate of the types of crops that are grown in different regions across the United States. This data is converted from satellite data observations (pixels) to production using <a href="https://www.nass.usda.gov/AgCensus/">USDA Census of Agriculture</a> state outputs from <a href="https://zenodo.org/records/7332106">this study on crop stability and diversity</a>. Production to calorie conversions, accounting for waste, as well as losses in conversion to non-plant commodities (such as crops used for animal feed or biofuels) are made using the balance sheets from the <a href="https://www.ers.usda.gov/data-products/food-availability-per-capita-data-system/">Food Availability (Per Capita) Data System</a>. Imported foods are aggregated from the <a href="https://www.census.gov/foreign-trade/reference/guides/Guide_to_International_Trade_Datasets.pdf">US Census Bureau</a> data; the app shows imported foods as being sourced from counties where the port of entry is located.</p><h4><strong>Consumption</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*tQfi1Xh678aUvKgYMZOJog.gif" /></figure><p>Consumption per county was calculated using <a href="https://www.ers.usda.gov/data-products/food-availability-per-capita-data-system/">food availability surveys</a> from the USDA and paired with demographic data from the <a href="https://www.census.gov/topics/population.html">census</a>. Census data used in the model include population, racial demographics, and poverty rates. We used this data to determine the demand for food groups in counties. Population, wealth, and racial demographics influence the types of food groups and amount of calories consumed.</p><h4><strong>Connecting supply and demand</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WoAjqnI4OKwVMJhoNzy6Eg.gif" /></figure><p>Consumption and production data were connected via a matrix that took into account possible shipment routes between all counties in the United States. Each crop’s supply and demand was solved in the most efficient way possible based on minimizing travel time along roads, given the central role of trucking in moving food in the nation (trucks move 84% of agricultural freight and 88% of volume and nearly every trip from farm to fork includes at least one trucking step).The routes were calculated using a version of the <a href="https://project-osrm.org/">OSRM algorithm</a>.</p><h4><strong>Climate impacts</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*PfVkd7TKo9dHsV6q20HZkQ.gif" /></figure><p>Reduced yield due to climate stress was generated using statistical crop yield models. Specifically, we estimated the impacts of weather (main growing season temperature, precipitation, standardized precipitation index, and days &gt;30C) on 25+ crops and crop groups within the USA over the time series 1983–2016. Statistical crop yield models were fit to state level observations and the yearly impact of weather predicted at the county level. Predicted yields are compared for a given crop and county for a given year and weather observation to the predicted yield under the mean climate observed in that county, to identify the variation in yield due to weather. Illustrative drought and heat wave impacts were identified by drawing on the spatial distribution of drought and heat waves from 2012 and 2016, respectively, and enhancing the magnitude by 25%, to simulate what might be expected for consumers under a more extreme climate in the future.</p><h4><strong>More information</strong></h4><ul><li><a href="https://github.com/earthrise-media/food-system-digital-twin">This repository lists all data inputs that are used in the supply chain model</a></li><li><a href="https://github.com/earthrise-media/food-system-digital-twin/blob/main/normalizing-supply-and-demand.ipynb">This notebook contains the scripts used to develop data for the supply and demand models</a></li><li><a href="https://github.com/earthrise-media/food-system-digital-twin/tree/main/routing">This folder contains the scripts used to solve the routing connecting supply to demand</a></li><li><a href="https://github.com/Better-Planet-Laboratory/cropmodUS">This repository contains information and code used to generate the statistical crop yield models and climate impact data</a></li></ul><h3>The Future of Food Twin</h3><p>Although this model and application offer insights into the U.S food system, our next step at the <a href="http://theplotline.org/">Plotline</a> is to build a global model. Food systems are interconnected; analyzing only a single country misses out on many of the rippling effects shocks can have. We’re actively convening experts, researchers, and enthusiasts to join this effort. Whether you’re a data scientist, a climate expert, or just someone passionate about food security, we’d be interested to hear how you would use a digital twin model like this.</p><p>Animal food products are the other major piece to this model that we want to explore in the future. A large percentage of land area and grown foods go towards meat and dairy products. Animal based proteins are not only some of the highest contributing factors to climate change, but also vulnerable food sources. Integrating non-plant commodities explicitly in our representation is certainly a next step, as is increased resolution on different modes of transport and representation of the supply chain surrounding particular products.</p><p>Beyond the model itself, we at <a href="https://www.earthgenome.org/">Earth Genome</a> believe in the power of open data and community involvement. By making our data and findings accessible, we hope to foster a broader conversation about food security and sustainability. We encourage you to share this information within your networks and start dialogues about food sourcing and food system solutions. If you want to get involved here are a few ways we’d love to collaborate:</p><ol><li><strong>Engage with the data:</strong> Explore the data we’ve compiled. Use it to inform your understanding and start conversations about food systems in your community.</li><li><strong>Spread the word:</strong> Share information about Food Twin and its insights. The more people are aware of how food systems function, the more we can be insightful as a society as a whole to build resilience.</li><li><strong>Support your local community:</strong> Where does your food come from? How can you build more resilient food systems for your friends and family? Start asking these questions and exploring ways you can strengthen your local food system against shocks in future.</li></ol><p><a href="https://food.theplotline.org/">The Food Twin</a> project is more than just a digital model; it’s a step towards a more resilient, sustainable, and equitable food future. Join us in this crucial effort to reshape how we understand and interact with our food systems. Here’s to a future where we know where our breakfast came from and can have confidence it will be there tomorrow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af94b06dbd1f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/earthrisemedia/food-twin-stress-testing-the-u-s-food-system-af94b06dbd1f">Food Twin: Stress Testing the U.S. Food System</a> was originally published in <a href="https://medium.com/earthrisemedia">Earth Genome</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>