Skip to content

Instantly share code, notes, and snippets.

@jehiah
Created May 25, 2023 19:11
Show Gist options
  • Save jehiah/b747bf4ac069fccc3b89aec5cc8a1307 to your computer and use it in GitHub Desktop.
Save jehiah/b747bf4ac069fccc3b89aec5cc8a1307 to your computer and use it in GitHub Desktop.
NYPD Parking Facilities geojson
cat City\ Owned\ and\ Leased\ Property\ \(COLP\)\ \ \ Shapefile.geojson | jq -c '{type:"FeatureCollection", features:[(.features[] | select(.properties.agency == "NYPD") | select(.properties.usecode | in({"0100": true, "0130":true, "0510":true, "0110":true, "0120":true, "0690":true}) )) ]}' > NYPD_parking.geojson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment