# Load and Parse Plate Polygon Data

> Load plate polygon GeoJSON and parse geometries correctly. Verify the column name used for plate identifiers (e.g., 'PlateName' or similar). Use this skill to prepare plate polygon data for containment checks.

- Skill: `cxcscmu/load-and-parse-plate-polygon-data` (Agent Skill)
- Install (CLI): `npx get-skill add cxcscmu/load-and-parse-plate-polygon-data`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cxcscmu/load-and-parse-plate-polygon-data/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: cxcscmu (https://skillmd.com/u/cxcscmu)
- Updated: 2026-11-24
- Page: https://skillmd.com/skills/cxcscmu/load-and-parse-plate-polygon-data

---


```python
def load_plate_data(filepath):
    """
    Load plate polygon data and validate geometries.
    
    Args:
        filepath: Path to PB2002_plates.json
        
    Returns:
        GeoDataFrame with plate polygons and identifiers
    """
    plates = gpd.read_file(filepath)
    
    # Print available columns to identify plate name column
    print("Plate data columns:", plates.columns.tolist())
    print("Sample plate names:", plates.head())
    
    # Ensure geometry is valid
    plates = plates[plates.geometry.is_valid]
    plates = plates.reset_index(drop=True)
    
    return plates
```
