#rspatial

2025-06-29

Chapter 10: Bridges to GIS Tools πŸŒ‰πŸ› οΈπŸ“¦

Shows how to connect R with external GIS tools like QGIS, GRASS, and SAGA. Also includes guidance on working with GDAL, spatial databases, and cloud-based services.

πŸ”— r.geocompx.org/gis

#rstats #rspatial #geocompx

A screenshot of the chapterA screenshot of the chapterA screenshot of the chapterA screenshot of the chapter
2025-06-25

πŸš€ New blog post! Part 5 of our series on spatial ML with #RStats explores specialized packages: RandomForestsGLS, spatialRF, and meteo -- tools beyond caret, tidymodels, & mlr3.

URL: geocompx.org/post/2025/sml-bp5

#SpatialML #RSpatial #MachineLearning

2025-06-23

TOMORROW! Scaling the r-spatial ecosystem for the modern composable data pipeline - with Dewey Dunnington, Senior Software Engineer at Wherobots

Tues, June 24, 1pm ET

Sign up now! r-consortium.org/webinars/scal

#RStats #rspatial #OpenSource @paleolimbot

2025-06-23

πŸ“ Registration is open for Spatial Data Science across Languages (SDSL) 2025 – Sept 17–18 (+19), Salzburg, Austria.

Connect R, Python, Julia & more in spatial science.

πŸ”— forms.gle/E9fpG88V2VQQKmjk9 -- Apply for on-site by mid-July – limited spots.

#SDSL2025 #SpatialDataScience #OpenSource #RSpatial #Geopython #Juliageo

2025-06-22

Chapter 9: Mapping & Visualization πŸ—ΊοΈπŸ–ΌοΈπŸ“Š

Introduces tools for making static, animated, and interactive maps in R. Covers the tmap package and web-based options for sharing geographic data visually.

πŸ”— r.geocompx.org/adv-map

#rstats #rspatial #geocompx

A screenshot of the chapterA screenshot of the chapterA screenshot of the chapterA screenshot of the chapter
2025-06-22

From Brittany Barker: β€˜My "GIS and Mapping in R" workshop for the Cascadia R Conference . . . is available at GitHub and includes four exercises that focus on using "sf", "terra", "ggplot2", and "leaflet" for geospatial analyses and creating static and interactive maps’
#RStats #RSpatial
(Barker is an asst research professor at Oregon State University in Portland)
github.com/bbarker505/CASCADIA

Nicolas Lambert 🌏neocarto@vis.social
2025-06-19

Is it possible to have an Antarctic-centered Peirce Quincuncial projection with #Rstats? #rspatial

North pole: "+proj=peirce_q +lon_0=25 +shape=square"
South Pole: ? πŸ€·β€β™‚οΈ

2025-06-18

Ooh CNN-based cloud masking baked right into a VRT file. This should be fun! #rstats #rspatial #gdal #python

This is using github.com/DPIRD-DMA/OmniCloud and appears to be a massive improvement on the standard Sentinel 2A SCL band!

2025-06-17

@MichaelTBacon @eliocamp here it seems #Rspatial is innocent, #GDAL error is helpful here.

πš–πšŠπšŒπš”πšŠβ€€πšœπš£πšŽπšŒπš‘πš—πš˜mackaszechno.bsky.social@bsky.brid.gy
2025-06-17

Missing crs or incorrect crs isn't a spectacular error in #rspatial.

Elio Campitellieliocamp
2025-06-17

I should start collecting all the ways in which can go wrong spectacularly.

Warning in CPL_crs_from_input(x) :
  GDAL Error 1: PROJ: proj_create_from_database: /g/data/hh5/public/apps/miniconda3/envs/analysis3-24.04/share/proj/proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 5 is expected. It comes from another PROJ installation.
Error: crs not found: is it missing?
2025-06-15

Chapter 8: Geographic Data I/O πŸ“‚πŸŒπŸ’Ύ

Covers how to read and write spatial data in various formats, access open geoportals, and work with geographic web services in R. Includes tips on metadata and exporting maps.

πŸ”— r.geocompx.org/read-write

#rstats #rspatial #geocompx

A screenshot of the chapterThe book cover
2025-06-12

πŸ“ I gave a talk on measuring spatial autocorrelation in spatial machine learning at the #AGILE0GI conference.

Slides: jakubnowosad.com/agile-gi2025/

Always glad to discuss spatial ML or autocorrelation --- feel free to reach out!

#rstats #rspatial #gischat #machinelearning

Last slides listing the conclusionsThe title slide
Philippe Massicottephilmassicotte@fosstodon.org
2025-06-12

I just posted a new short blog article! πŸ“¦

It's about using layer functions with {terra} in R β€” a handy way to work with multi-layer rasters without making your code a mess. It shows how to apply functions to raster layers.

pmassicotte.com/posts/2025-06-

#rstats #rspatial #terra

2025-06-11

Spatial prediction meets machine learning with mlr3 πŸ’‘πŸŒ
This blog post by Marvin Ludwig also includes tips on autocorrelation, extrapolation & more.

πŸ”— geocompx.org/post/2025/sml-bp4

#mlr3 #rstats #gischat #rspatial

2025-06-08

Chapter 7: Coordinate Reference Systems πŸ§­πŸ“πŸŒ

This chapter explains how to work with coordinate reference systems (CRSs) in R. Learn how to reproject vector and raster data, and understand how CRS choices affect spatial analysis.

πŸ”— r.geocompx.org/reproj-geo-data

#rstats #rspatial #geocompx

A screenshot of the book chapterA screenshot of the book chapterA screenshot of the book chapterA screenshot of the book chapter
2025-06-07

Rainy day here, so I'm using #GenerativeAI to help teach me more about Kyle Walker's cool {mapgl} #RStats πŸ“¦ . And it's been pretty fun so far.

1) I uploaded mapgl help files and vignettes to both ChatGPT & Claude.
2) I used the CustomGPT AI Tutor Blueprint chatgpt.com/g/g-1rlItjngn-ai-t to create a good prompt for a mapGL tutor.
3) I added that prompt to Claude, and my tutor was ready!
Prompt: gist.github.com/smach/4c08c4d9

The {pkgprompt} and {rdocdump} #R πŸ“¦s help turn R docs into text.

#RSpatial

Instead of starting with data and aesthetics, mapgl thinks like this:

Map canvas first - you create a base map (like a Google Maps background)
Add data as "sources" - your sf objects become data sources
Add "layers" that reference those sources - these are like geoms but work differently
Style with expressions - not aesthetics, but JavaScript-style expressions

This is more like how a web developer builds an interactive map, which is why it's so powerful for complex visualizations.
Before I show you the syntax, let me test your intuition: If you had to guess, how do you think you'd start building a mapgl map differently than a ggplot? What do you think comes first - the data or something else?
And here's a follow-up: Given that mapgl creates interactive web maps, what do you think might be the equivalent of choosing your x and y variables in ggplot2?
2025-06-05

Hey #RStats / #RSpatial friends, I'm experiencing this weird bug, I've reported it to sf but Edzer can't reproduce. Anyone else seeing the same? Pretty simple steps if you want to try it out and confirm.
github.com/r-spatial/sf/issues

2025-06-04

Exciting news! πŸŽ‰ The 2nd edition of Geocomputation with R is now available as a physical book! πŸ“–πŸŒ

Order your copy today and explore the latest in R for spatial analysis.

Learn more about the book's journey: buff.ly/3TZzc4L

#geocompx #rspatial #rstats #GIS

The cover of the book
2025-06-01

Chapter 6: Raster-Vector Interactions πŸ—ΊοΈπŸ”„πŸŒ

Crop, mask, extract, and rasterize! πŸ“Œ Learn how to convert between raster & vector data and perform spatial extractions in R.

πŸ”— r.geocompx.org/raster-vector

#rstats #rspatial #geocompx

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst