gemgis

Convert GIS shapefiles and DEMs into GemPy-ready CSV interfaces and orientations.

46|3|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/SteadfastAsArt/geoscience-skills --skill gemgis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemgis
Source: https://github.com/SteadfastAsArt/geoscience-skills/tree/main/gemgis
Command: npx skills add https://github.com/SteadfastAsArt/geoscience-skills --skill gemgis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gemgis>=1.0.0, geopandas, rasterio, and includes scripts (resource) and references (resource) components.

What problem does it solve?

GemGIS bridges the gap between GIS data and GemPy modeling by providing a streamlined workflow to extract XYZ coordinates, orientations, and model extents from standard geospatial sources, enabling seamless GemPy input preparation.

Core Features & Use Cases

  • Extract XYZ coordinates from vector data (contacts, measurements) with optional DEM-based elevations.
  • Clip and reproject data to a consistent CRS and extent for GemPy workflows.
  • Prepare interfaces and orientations CSVs for GemPy models, including formation and dip/azimuth attributes.
  • Export ready datasets for GemPy, plus optional references to guide post-processing and validation.

Quick Start

Load your GIS inputs (contacts.shp, orientations.shp), a DEM, and an optional extent, then run the script to output GemPy-ready interfaces.csv and orientations.csv.

Frequently Asked Questions about gemgis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert shapefiles into GemPy interfaces and orientations?

To convert shapefiles into GemPy inputs, load your contacts and orientations vector data into the workflow to extract XYZ coordinates and generate ready-to-use interfaces.csv and orientations.csv files.

Can I extract XYZ coordinates from vector data using a DEM for GemPy modeling?

Yes, you can extract XYZ coordinates from vector data using DEM-based elevations. The process processes contact point locations and assigns elevations from the DEM to prepare accurate GemPy geological model inputs.

What is the best way to prepare GIS data for GemPy geological models end-to-end?

Preparing GIS data for GemPy involves clipping to a model extent, handling CRS reprojection, validating spatial data, and exporting formatted CSVs of interfaces and orientations for seamless geological modeling integration.

Do I need geopandas and rasterio to process DEMs for GemPy input preparation?

Yes, you need geopandas and rasterio as dependencies to process vector shapefiles and raster DEMs, enabling coordinate extraction, CRS handling, and elevation sampling for GemPy-ready geological data.

Why does my GemPy model fail when using GIS data with mismatched coordinate reference systems?

GemPy models fail with mismatched CRS because geological data must align spatially. The workflow clips and reprojects all GIS inputs to a consistent coordinate reference system and model extent before exporting.

Does gemgis support exporting clipped geological contacts and dip azimuth data for GemPy?

Yes, it supports exporting clipped geological contacts and dip azimuth data. The workflow extracts formation attributes and orientation measurements, then outputs validated CSV files structured for direct GemPy ingestion.