cxcscmu/skilllearnbench/geojson-processing

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Loading and processing GeoJSON earthquake and plate boundary data with GeoPandas for spatial analysis.

Install

npx vskill@latest install cxcscmu/skilllearnbench/geojson-processing

SKILL.md

GeoJSON Processing with GeoPandas

Loading GeoJSON Files

python
import geopandas as gpd
# Standard GeoJSON
gdf = gpd.read_file("file.geojson")
# USGS Earthquake GeoJSON specifics:
# - Coordinates are [longitude, latitude, depth]
# - Time is in milliseconds since epoch
# - Properties include: mag, place, time, type, id

USGS Earthquake Time Conversion

python
import pandas as pd
from datetime import datetime, timezone
# Convert epoch ms to ISO 8601
timestamp_ms = 1735537742808
dt = datetime.fromtimestamp(timestamp_ms / 1000, tz=timezone.utc)
iso_str = dt.strftime("%Y-%m-%dT%H:%M:%SZ")

Extracting Coordinates from GeoJSON Points

python
# After loading with GeoPandas
gdf["longitude"] = gdf.geometry.x
gdf["latitude"] = gdf.geometry.y

Writing Results to JSON

python
import json
result = {
"id": "us6000pgf9",
"place": "13 km NW of Port-Vila, Vanuatu",
"time": "2024-12-30T03:29:02Z",
"magnitude": 5.1,
"latitude": -17.6555,
"longitude": 168.2183,
"distance_km": 1234.56
}
with open("answer.json", "w") as f:
json.dump(result, f, indent=2)

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
83
Repository forks
7
7-day trend score
27

Stars and forks are for the whole GitHub repository, not this skill alone. 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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cxcscmu/skilllearnbench/geojson-processing/badge)](https://verified-skill.com/skills/cxcscmu/skilllearnbench/geojson-processing)

Something wrong with this skill or its page? Tell us.