Skip to content

Add geospatial Julia packages to rocker-rpyjl#130

Merged
Robinlovelace merged 1 commit into
geocompx:masterfrom
asinghvi17:add-geospatial-julia-packages
Jun 8, 2026
Merged

Add geospatial Julia packages to rocker-rpyjl#130
Robinlovelace merged 1 commit into
geocompx:masterfrom
asinghvi17:add-geospatial-julia-packages

Conversation

@asinghvi17

Copy link
Copy Markdown
Contributor

Resurrects #74, which was closed as stale.

Adds the core JuliaGeo ecosystem packages to the rocker-rpyjl image so the Julia side ships with geospatial support out of the box:

GeoDataFrames, Shapefile, GeoJSON, GeoParquet, LibGEOS, ArchGDAL, GeometryOps, GeoInterface, Rasters, NCDatasets, ZarrDatasets, GRIBDatasets.

Rebased on current master: the image path is already ghcr.io/geocompx/rocker-rpy here, so this PR only adds the julia ... Pkg.add(...) step on top of the existing JuliaCall install — addressing the stale-image-path concern raised on #74.

@Nowosad Nowosad requested a review from Robinlovelace June 8, 2026 14:13
@asinghvi17 asinghvi17 force-pushed the add-geospatial-julia-packages branch from b7d5be8 to 3ac916b Compare June 8, 2026 14:13
Install the core JuliaGeo ecosystem packages along with plotting and
data-handling packages into the rocker-rpyjl image so the Julia side ships
with geospatial support out of the box (grouped by role — interfaces,
geometry ops, vector I/O, raster/gridded data, tabular, plotting):

GeoInterface, GeoFormatTypes, Extents, GeometryOps, LibGEOS, ArchGDAL,
GeoDataFrames, Shapefile, GeoJSON, GeoParquet, Rasters, NCDatasets,
ZarrDatasets, GRIBDatasets, DataFrames, CSV, Plots, Makie, CairoMakie.

Resurrects geocompx#74 (closed as stale), rebased on current master.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@asinghvi17 asinghvi17 force-pushed the add-geospatial-julia-packages branch from 3ac916b to e575c25 Compare June 8, 2026 14:15
@Robinlovelace

Copy link
Copy Markdown
Contributor

Great to see this revived! I've been working on improving the Docker containers recently so good timing. I'll take a look.

@Robinlovelace Robinlovelace left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about building on top of the more minimal python image? As shown in the README it's quite a lot smaller so will download and open in devcontainers quicker:

Image

Source: the readme at https://github.com/geocompx/docker/

@Robinlovelace

Copy link
Copy Markdown
Contributor

You could also create a new image, e.g. called pythonrj which adds Julia to python or pythonr images, I would be happy to accept more than one. The advantage of this one I guess is that Julia installs are already sorted in an R friendly way upstream in the Rocker images.

@Robinlovelace

Copy link
Copy Markdown
Contributor

The image is already pretty big... This will not make a big difference to the image size so GitHub action tests pass happy to merge for now, interested to hear thoughts on slimmer images with JuliaGeo stack..

image

@Robinlovelace Robinlovelace merged commit 56b8755 into geocompx:master Jun 8, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants