steadfastasart/geoscience-skills/gemgis
Claude Code and agent skill by steadfastasart/geoscience-skills
- community
Checking that the SKILL.md file is still in the repository.
Spatial data processing for geological modelling with GemPy. Use when the agent needs to: (1) Prepare spatial data for GemPy models, (2) Extract interface points from geological maps, (3) Process orientations/dip measurements, (4) Sample DEMs along profiles or cross-sections, (5) Convert between GIS formats and GemPy inputs, (6) Clip/transform vector/raster data for modeling, (7) Create model extents from geospatial bounds.
Install
npx vskill@latest install steadfastasart/geoscience-skills/gemgisSKILL.md
GIS contacts and DEM elevations
Use GemGIS to extract geological observations from spatial data. Establish the horizontal CRS, vertical units/datum, geometry type and missing-data policy before sampling. Model coordinates must share a projected metre CRS; converting horizontal coordinates does not transform elevations or their datum.
Extract contact vertices
The following function accepts a single-band DEM already in a metre projected CRS, with elevations in metres. dem is an open Rasterio dataset, not a path. GemGIS repeats attributes when a line becomes multiple points: do not overwrite those attributes using the original feature index.
Open with with rasterio.open(dem_path) as dem: and call this function while the dataset is open. Pixel sampling uses the containing cell; it is not bilinear interpolation. Do not fill NoData or outside-extent samples with zero.
Orientations and helper
Dip is in degrees, 0–90. Output azimuth is dip direction clockwise from DEM grid north, wrapped to [0, 360). Convert strike with (strike + 90) % 360 only when the source explicitly follows the right-hand rule. Preserve supplied polarity (+1/−1); the helper uses +1 only when the column is absent. Never clamp invalid dip. Declare --azimuth-reference dem-grid for bearings already relative to the DEM grid, or true-north for geographic bearings. The latter applies local meridian convergence only on locally conformal projections; other projections are rejected. Magnetic bearings need a documented declination correction first.
The preparation helper validates these rules, reprojects vectors to the DEM CRS, converts declared ft elevations to metres, and writes CSVs plus spatial_metadata.json into a fresh output directory. Its --target-crs is an assertion that must match the DEM; resample/reproject a raster separately when needed.
Resolve this command relative to the installed skill directory. The output schema uses X/Y/Z and formation, plus dip/azimuth/polarity for orientations; pass these to the current modelling library's input API rather than assuming all GemPy versions accept identical keyword arguments.
Conditional operations
Read profiles and extraction for sampled profiles and orientation conventions. Read CRS, clipping and raster handling for bounds order, masks, reprojection and provenance. Existing 3D geometry needs an explicit choice between measured Z and DEM Z before using this helper.
Verification scope
GemGIS 1.1.9, GeoPandas 1.1.4 and Rasterio 1.4.4 were checked with a real GeoTIFF/GeoPackage fixture: unequal vertex counts and nonconsecutive indices, CRS conversion, feet elevations, NoData, outside points, orientations and CLI CSV readback. Synthetic elevations test data handling, not field DEM accuracy or vertical-datum transformation.
Official GemGIS source, Rasterio sampling API, checked 2026-09-14.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinggemgis/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/steadfastasart/geoscience-skills/gemgis)