Quick method to run geosop with different versions using pixi (from conda-forge)
Mike Taves
mwtoews at gmail.com
Sun May 18 15:16:04 PDT 2025
Hi all,
This is a quick show-and-tell on how to quickly run a geosop command
on either Linux, macOS or Windows with most published versions of
GEOS.
A prerequisite is to install pixi from https://pixi.sh/ which is a
package management tool.
Next is to run the "pixi exec" command
https://pixi.sh/latest/reference/cli/pixi/exec/ specifying the GEOS
version, e.g.
$ pixi exec -s geos=3.10.7 geosop -f wkt -a "MULTIPOINT((0 0))"
MULTIPOINT (0 0)
$ pixi exec -s geos=3.13.1 geosop -f wkt -a "MULTIPOINT((0 0))"
MULTIPOINT ((0 0))
This will create a temporary working environment with the specified
GEOS version fetched from conda-forge. The first run of a version
specification will take a few seconds extra while the packages are
downloaded, cached for later use.
Two months ago, I rounded out all the supported micro versions of GEOS
that have been published, thus you may choose a wide range of
versions:
- 3.10.0 .. 3.10.7
- 3.11.0 .. 3.11.5
- 3.12.0 .. 3.12.3
- 3.13.0 .. 3.13.1
Cheers, Mike
More information about the geos-devel
mailing list