Skip to content

Commands Reference

Terminal window
# List all regions (table format)
gis.ph regions list
# List with pagination
gis.ph regions list --limit 5 --page 2
# List regions in JSON format
gis.ph regions list --format json
# Filter regions (e.g., status:active)
gis.ph regions list --filter status:active
# Get specific region by ID
gis.ph regions get <region-id>
Terminal window
# List all provinces
gis.ph provinces list
# List with pagination
gis.ph provinces list --limit 10 --page 1
# Get specific province details
gis.ph provinces get <province-id>
# Get province details with GeoJSON boundaries
gis.ph provinces get <province-id> --geometry
Terminal window
# List all cities/municipalities in a province (REQUIRED)
gis.ph municities list --province "Bohol"
# Filter by name (starts with)
gis.ph municities list --province "Bohol" --name "Al"
# Get specific municipality details
gis.ph municities get <municity-id>
# Get municipality details with barangay boundaries (GeoJSON)
gis.ph municities get <municity-id> --geometry
Terminal window
# List barangays in a province (REQUIRED)
gis.ph barangays list --province "Cebu"
# Filter by municipality and/or barangay name
gis.ph barangays list --province "Cebu" --municipality "Poro" --name "Pob"
# Get specific barangay details
gis.ph barangays get <barangay-id>