Last active
August 6, 2020 18:01
-
-
Save nautilytics/a95a0d8ba860d6b989b39b3ed47937c9 to your computer and use it in GitHub Desktop.
Filter 10M Topojson Counties to not include American Samoa, USVI, Guam, and Mariana Islands - and remove "nation" and "states" objects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove Alaska (02), Hawaii (15), Puerto Rico (72), American Samoa (60), United States Virgin Islands (78), Guam (66), and Commonwealth of the Northern Mariana Islands (69) | |
filter 'FID.slice(0, 2) != "66"' | |
// [filter] Retained 3,230 of 3,231 features | |
filter 'FID.slice(0, 2) != "69"' | |
// [filter] Retained 3,226 of 3,230 features | |
filter 'FID.slice(0, 2) != "78"' | |
// [filter] Retained 3,223 of 3,226 features | |
filter 'FID.slice(0, 2) != "60"' | |
// [filter] Retained 3,220 of 3,223 features | |
filter 'FID.slice(0, 2) != "02"' | |
// [filter] Retained 3,191 of 3,220 features | |
filter 'FID.slice(0, 2) != "15"' | |
// [filter] Retained 3,186 of 3,191 features | |
filter 'FID.slice(0, 2) != "72"' | |
// [filter] Retained 3,108 of 3,186 features |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment