Geospatial Viz Guide logo

Geospatial Viz Guide

Community
wentorai
geospatial-viz-guide

Create maps, choropleths, and spatial data visualizations for research

Overview

Publisherwentorai
Repositoryresearch-plugins
Skill namegeospatial-viz-guide
Stars
294
Forks
42
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by wentorai on GitHub. Read the source before you install it.

Installation

Install the Geospatial Viz Guide AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wentorai/research-plugins.git /tmp/research-plugins
mkdir -p .claude/skills
cp -r /tmp/research-plugins/skills/analysis/dataviz/geospatial-viz-guide .claude/skills/geospatial-viz-guide
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Geospatial Viz Guide in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Geospatial Viz Guide on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Geospatial Viz Guide is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Geospatial Visualization Guide

A skill for creating maps, choropleths, and spatial data visualizations for research publications. Covers coordinate systems, choropleth maps, point maps, Python geospatial libraries, and cartographic best practices for academic papers.

Geospatial Data Fundamentals

Common Spatial Data Formats

Vector data (discrete features):
  - Shapefile (.shp): Legacy standard, multi-file
  - GeoJSON (.geojson): Web-friendly, single file
  - GeoPackage (.gpkg): Modern SQLite-based, recommended
  - KML (.kml): Google Earth format

Raster data (continuous surfaces):
  - GeoTIFF (.tif): Georeferenced image
  - NetCDF (.nc): Climate and atmospheric data
  - HDF5 (.h5): Satellite and remote sensing data

Key concepts:
  - CRS (Coordinate Reference System): How 3D Earth maps to 2D
  - EPSG:4326 (WGS84): Latitude/longitude (most GPS data)
  - EPSG:3857: Web Mercator (Google Maps, web tiles)
  - Always check and document your CRS

Choropleth Maps

Building a Choropleth with GeoPandas

python
import geopandas as gpd
import matplotlib.pyplot as plt


def create_choropleth(shapefile_path: str, data_column: str,
                      title: str, cmap: str = "YlOrRd") -> None:
    """
    Create a choropleth map from a shapefile.

    Args:
        shapefile_path: Path to shapefile or GeoPackage
        data_column: Column name to visualize
        title: Map title
        cmap: Matplotlib colormap name
    """
    gdf = gpd.read_file(shapefile_path)

    fig, ax = plt.subplots(1, 1, figsize=(12, 8))

    gdf.plot(
        column=data_column,
        cmap=cmap,
        linewidth=0.5,
        edgecolor="0.5",
        legend=True,
        legend_kwds={
            "label": data_column,
            "orientation": "horizontal",
            "shrink": 0.6,
            "pad": 0.05
        },
        ax=ax
    )

    ax.set_title(title, fontsize=14, fontweight="bold")
    ax.axis("off")
    plt.tight_layout()
    plt.savefig("choropleth.pdf", bbox_inches="tight", dpi=300)

Joining Data to Geometries

python
import pandas as pd


def join_data_to_map(gdf: gpd.GeoDataFrame,
                     data: pd.DataFrame,
                     geo_key: str,
                     data_key: str) -> gpd.GeoDataFrame:
    """
    Join tabular data to geographic features.

    Args:
        gdf: GeoDataFrame with polygons (e.g., country boundaries)
        data: DataFrame with your research data
        geo_key: Column in gdf to join on (e.g., 'ISO_A3')
        data_key: Column in data to join on (e.g., 'country_code')
    """
    merged = gdf.merge(data, left_on=geo_key, right_on=data_key, how="left")

    missing = merged[merged[data.columns[1]].isna()]
    if len(missing) > 0:
        print(f"Warning: {len(missing)} regions have no data (will appear blank)")

    return merged

Point Maps and Proportional Symbols

Mapping Research Sites or Events

python
def create_point_map(gdf_base: gpd.GeoDataFrame,
                     points: gpd.GeoDataFrame,
                     size_column: str = None,
                     color_column: str = None) -> None:
    """
    Create a point map with proportional symbols.

    Args:
        gdf_base: Base map (country or region polygons)
        points: GeoDataFrame with point geometries
        size_column: Column to scale point sizes
        color_column: Column to color points
    """
    fig, ax = plt.subplots(figsize=(12, 8))

    # Base map
    gdf_base.plot(ax=ax, color="lightgray", edgecolor="white", linewidth=0.5)

    # Points
    sizes = points[size_column] * 2 if size_column else 30
    colors = points[color_column] if color_column else "red"

    points.plot(
        ax=ax,
        markersize=sizes,
        color=colors,
        alpha=0.6,
        edgecolor="black",
        linewidth=0.3
    )

    ax.axis("off")
    plt.tight_layout()
    plt.savefig("point_map.pdf", bbox_inches="tight", dpi=300)

Interactive Maps with Folium

python
import folium


def create_interactive_map(center: tuple = (20, 0),
                            zoom: int = 2) -> folium.Map:
    """
    Create an interactive web map (useful for supplementary materials).

    Args:
        center: (latitude, longitude) center point
        zoom: Initial zoom level
    """
    m = folium.Map(location=center, zoom_start=zoom,
                   tiles="CartoDB positron")

    # Add markers, choropleth layers, or heatmaps as needed
    # folium.Marker([lat, lon], popup="Label").add_to(m)

    return m

Cartographic Best Practices

Publication Standards

1. Projection choice:
   - Global maps: Robinson or Equal Earth (not Mercator for thematic maps)
   - Country/region: Appropriate local projection
   - Mercator distorts area -- misleading for choropleths

2. Color schemes:
   - Sequential: Low-to-high values (YlOrRd, Blues, Viridis)
   - Diverging: Values around a midpoint (RdBu, BrBG)
   - Qualitative: Categorical data (Set2, Paired)
   - Use colorbrewer2.org for perceptually uniform palettes
   - Test for colorblind accessibility

3. Required map elements:
   - Title
   - Legend with units
   - Scale bar
   - North arrow (if orientation is non-standard)
   - Data source attribution
   - CRS/projection information

4. Ethical considerations:
   - Disputed borders: Use dashed lines or note in caption
   - Data gaps: Show "no data" regions explicitly (do not leave blank)
   - Privacy: Aggregate point data to protect individual locations

Free Data Sources

SourceDataFormat
Natural EarthCountry/region boundaries, physical featuresShapefile, GeoJSON
GADMAdministrative boundaries (all countries, all levels)GeoPackage, Shapefile
OpenStreetMapRoads, buildings, land usePBF, Shapefile
WorldPopPopulation density gridsGeoTIFF
NASA SEDACSocioeconomic and environmental dataGeoTIFF, Shapefile
USGS Earth ExplorerSatellite imagery, elevationGeoTIFF

Frequently asked questions

What does the Geospatial Viz Guide AI skill do?

Create maps, choropleths, and spatial data visualizations for research

Why use Geospatial Viz Guide on TypingMind?

Because you install it once and use it with any model. Geospatial Viz Guide is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Geospatial Viz Guide in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/wentorai/research-plugins/tree/main/skills/analysis/dataviz/geospatial-viz-guide. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Geospatial Viz Guide?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Geospatial Viz Guide?

As many as you like. As long as a model supports skills, you can use Geospatial Viz Guide with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Geospatial Viz Guide AI skill free?

Yes. It is published on GitHub by wentorai under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇