<< All versions

Skill v1.0.0

currentAutomated scan100/100
kendrick-oppong/geoskills/geodata-formats-and-intake
──Details
PublishedOctober 24, 2026 at 11:21 AM
Content Hashsha256:7a827242dd67d62c...
Git SHAfe4762133b94
──Files
Files (1 file, 4.4 KB)
SKILL.md4.4 KBactive
SKILL.md · 66 lines · 4.4 KB

version: "1.0.0" name: geodata-formats-and-intake description: Use for first-pass inspection of a new geospatial dataset, or when choosing a vector/raster file format for storage, delivery, or an API — Shapefile, GeoJSON, GeoPackage, FlatGeobuf, GeoParquet, KML, GeoTIFF, COG, Zarr, NetCDF. Covers format tradeoffs, CRS/schema/extent/geometry-type checks, and immediate risk flags.


Geodata Formats & Intake

When to use this skill

  • "What format should I use to store/deliver this data"
  • A new file lands and needs first-pass triage before anything else happens to it
  • "Why is this shapefile missing attributes / truncated field names"

Format decision table

Vector:

FormatUse whenAvoid when
GeoJSONAPI responses, small-medium datasets, web interchange, human-readable diffs>~50k features (no spatial index, verbose, slow parse)
GeoPackage (.gpkg)Desktop GIS exchange, multi-layer single-file delivery, offline mobileNeeding pure-web streaming
FlatGeobufStreaming large vector datasets to a browser with spatial filtering, no server-side processing neededNeeding full SQL query capability
GeoParquetAnalytics, big-data pipelines, columnar workloads, cloud object storage + DuckDB/SparkNeeding broad legacy GIS tool support (still maturing)
ShapefileLegacy interop requirement onlyAnything greenfield — 10-char field names, no null geometry support, multi-file fragility, 2GB limit
KML/KMZGoogle Earth delivery specificallyGeneral-purpose GIS work

Raster:

FormatUse whenAvoid when
Cloud-Optimized GeoTIFF (COG)Cloud storage + partial/range-request reads, web tile generation sourceSmall local single-use files where overhead isn't worth it
Plain GeoTIFFLocal processing, desktop GISCloud-native streaming access patterns
ZarrLarge multi-dimensional arrays (time series, climate/weather cubes), cloud-native chunked accessSimple 2D single-band imagery
NetCDFScientific/climate community interchangeWeb-facing services (poor HTTP range-read support vs Zarr/COG)

Intake checklist (run on any new dataset before using it)

  • [ ] Format & driver: confirm it opens cleanly (ogrinfo, gdalinfo, fiona.listlayers) — corrupt/partial files fail here first
  • [ ] CRS: is it defined at all? What EPSG/WKT? (see crs-and-reprojection if missing or suspicious)
  • [ ] Geometry type(s): single type or mixed (Point + MultiPoint in one layer is common and breaks naive type-based code)
  • [ ] Extent / bounding box: does it match the expected region? A global extent on a "city dataset" signals bad data or wrong CRS
  • [ ] Feature/record count: sanity check against expectations
  • [ ] Schema / attribute types: field names, types, nullability — watch for shapefile's 10-character truncation and DBF type coercion
  • [ ] Invalid geometries: self-intersections, unclosed rings, zero-area polygons (hand off to geodata-qaqc for full validation)
  • [ ] Encoding: shapefiles frequently default to Latin-1/ambiguous encoding for text attributes — verify before display
  • [ ] License / provenance: is redistribution allowed; is there an attribution requirement

Common pitfalls

  • Shapefile field truncation: population_density silently becomes populatio with no warning — always inspect actual field names post-load, not just the source schema doc.
  • Mixed geometry types in one layer: some drivers coerce, some error, some silently drop features — always check geom_type distribution, not just the layer's declared type.
  • GeoJSON without a CRS assumption: the spec mandates WGS84 lon/lat, but plenty of "GeoJSON" files in the wild are actually in a projected CRS — verify, don't assume.
  • Large GeoJSON in production: parsing a 200MB GeoJSON client-side blocks the main thread; convert to FlatGeobuf/vector tiles/GeoParquet for anything beyond prototyping.

Reference snippets

bash
ogrinfo -al -so input.shp # schema + extent + CRS summary, no full feature dump
gdalinfo -json input.tif | jq . # raster CRS, size, band info, COG-ness check

Related skills

  • geodata-qaqc — deeper validation once format/CRS/schema are confirmed sane
  • cloud-optimized-geo-formats — COG/PMTiles/Zarr specifics for cloud-native delivery
  • crs-and-reprojection — fixing a missing or wrong CRS found during intake
All versions