Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 1900: Tribal overlap with Census tracts #1903

Merged

Conversation

lucasmbrown-usds
Copy link
Contributor

@lucasmbrown-usds lucasmbrown-usds commented Sep 16, 2022

Issue #1900.

This PR creates the ETL, and merges the data in etl_score, but it does not put the new fields in the tiles or the download files. That's left to a next PR after we clarify our intentions.

Example output file:
usa.csv

@lucasmbrown-usds lucasmbrown-usds changed the base branch from main to emma-nechamkin/release/score-narwhal September 16, 2022 01:56
def add_tracts_for_geometries(
df: gpd.GeoDataFrame, _tract_data_path: Optional[Path] = None
df: gpd.GeoDataFrame, tract_data: Optional[gpd.GeoDataFrame] = None
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I refactored this a bit, so I could load the Tract geojson once in the tribal overlap ETL, and not just pass around a data path.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like that change --- I had been passing the path just to make my tests faster, so this is a nice way of adding flexibility.

{ "type": "Feature", "properties": { "STATEFP10": "24", "COUNTYFP10": "027", "TRACTCE10": "603003", "GEOID10_TRACT": "24027603003", "NAME10": "6030.03", "NAMELSAD10": "Census Tract 6030.03", "MTFCC10": "G5020", "FUNCSTAT10": "S", "ALAND10": 45161338, "AWATER10": 174904, "INTPTLAT10": "+39.3192333", "INTPTLON10": "-076.9680454" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -76.933499, 39.357602 ], [ -76.933409, 39.35756 ], [ -76.933305, 39.357502 ], [ -76.933213, 39.357448 ], [ -76.933124, 39.357401 ], [ -76.933052, 39.357343 ], [ -76.932917, 39.357247 ], [ -76.932699, 39.357065 ], [ -76.932616, 39.357003 ], [ -76.932564, 39.356949 ], [ -76.932501, 39.356879 ], [ -76.932492, 39.356869 ], [ -76.932417, 39.356799 ], [ -76.932331, 39.356719 ], [ -76.932256, 39.356625 ], [ -76.932148, 39.35643 ], [ -76.932073, 39.356265 ], [ -76.931978, 39.35611 ], [ -76.931915, 39.356003 ], [ -76.931858, 39.355938 ], [ -76.9318, 39.355878 ], [ -76.931708, 39.355802 ], [ -76.931565, 39.355672 ], [ -76.931502, 39.355614 ], [ -76.931413, 39.355551 ], [ -76.931384, 39.355527 ], [ -76.931338, 39.355457 ], [ -76.931309, 39.355404 ], [ -76.931249, 39.355343 ], [ -76.931165, 39.35531 ], [ -76.931062, 39.355296 ], [ -76.930952, 39.355289 ], [ -76.930831, 39.355276 ], [ -76.930769, 39.355274 ], [ -76.93066, 39.355314 ], [ -76.930576, 39.355334 ], [ -76.930513, 39.355343 ], [ -76.930467, 39.35534 ], [ -76.930406, 39.355329 ], [ -76.930375, 39.355311 ], [ -76.930346, 39.355273 ], [ -76.930308, 39.355217 ], [ -76.930277, 39.355177 ], [ -76.930219, 39.355141 ], [ -76.930153, 39.355094 ], [ -76.929987, 39.354906 ], [ -76.929904, 39.354799 ], [ -76.929832, 39.354707 ], [ -76.929772, 39.354618 ], [ -76.929589, 39.354209 ], [ -76.929463, 39.354061 ], [ -76.929385, 39.353996 ], [ -76.929313, 39.353951 ], [ -76.929252, 39.353925 ], [ -76.929169, 39.353898 ], [ -76.929068, 39.353875 ], [ -76.92899, 39.353853 ], [ -76.928898, 39.35383 ], [ -76.928825, 39.353822 ], [ -76.928776, 39.353816 ], [ -76.928675, 39.353814 ], [ -76.928556, 39.353787 ], [ -76.92846, 39.353794 ], [ -76.928401, 39.353799 ], [ -76.928349, 39.3538 ], [ -76.928303, 39.353799 ], [ -76.928208, 39.353779 ], [ -76.928148, 39.353751 ], [ -76.928019, 39.353655 ], [ -76.927985, 39.353607 ], [ -76.927945, 39.35355 ], [ -76.927902, 39.353502 ], [ -76.927834, 39.353451 ], [ -76.927779, 39.353425 ], [ -76.927719, 39.35342 ], [ -76.927623, 39.353419 ], [ -76.927554, 39.353429 ], [ -76.927478, 39.353448 ], [ -76.927376, 39.353486 ], [ -76.927314, 39.353514 ], [ -76.92727, 39.353561 ], [ -76.927243, 39.353606 ], [ -76.927233, 39.353653 ], [ -76.927221, 39.353691 ], [ -76.927209, 39.353733 ], [ -76.927182, 39.353758 ], [ -76.92713, 39.35377 ], [ -76.927063, 39.353776 ], [ -76.927005, 39.353755 ], [ -76.926988, 39.353734 ], [ -76.926968, 39.353729 ], [ -76.926936, 39.353736 ], [ -76.926882, 39.353748 ], [ -76.926835, 39.353756 ], [ -76.92676, 39.353744 ], [ -76.92663, 39.35371 ], [ -76.926506, 39.353674 ], [ -76.92642, 39.353648 ], [ -76.926316, 39.353608 ], [ -76.926232, 39.353591 ], [ -76.92616, 39.353587 ], [ -76.926108, 39.353591 ], [ -76.926009, 39.35363 ], [ -76.925886, 39.353705 ], [ -76.925876, 39.353708 ], [ -76.925722, 39.353764 ], [ -76.925472, 39.353668 ], [ -76.925354, 39.353575 ], [ -76.925246, 39.35349 ], [ -76.924932, 39.353171 ], [ -76.92468, 39.353025 ], [ -76.924119, 39.352808 ], [ -76.923916, 39.352635 ], [ -76.923809, 39.352544 ], [ -76.923614, 39.352255 ], [ -76.923534, 39.35221 ], [ -76.923282, 39.352068 ], [ -76.922839, 39.352033 ], [ -76.922706, 39.352013 ], [ -76.922335, 39.351957 ], [ -76.921768, 39.351726 ], [ -76.92061, 39.351537 ], [ -76.920175, 39.351462 ], [ -76.919921, 39.351419 ], [ -76.919324, 39.351299 ], [ -76.919305, 39.351295 ], [ -76.918843, 39.351039 ], [ -76.918595, 39.350922 ], [ -76.918288, 39.350856 ], [ -76.918268, 39.350856 ], [ -76.917268, 39.350875 ], [ -76.917011, 39.350792 ], [ -76.916762, 39.350643 ], [ -76.916602, 39.350636 ], [ -76.916244, 39.350755 ], [ -76.916021, 39.350917 ], [ -76.915814, 39.351036 ], [ -76.915604, 39.351109 ], [ -76.915145, 39.35131 ], [ -76.915016, 39.351294 ], [ -76.914917, 39.351282 ], [ -76.91464, 39.351093 ], [ -76.91434, 39.350916 ], [ -76.91397, 39.350893 ], [ -76.914072, 39.350481 ], [ -76.914112, 39.350404 ], [ -76.91421, 39.350352 ], [ -76.914362, 39.3503 ], [ -76.914491, 39.350238 ], [ -76.914582, 39.350177 ], [ -76.914658, 39.350115 ], [ -76.914711, 39.350049 ], [ -76.914759, 39.349971 ], [ -76.914775, 39.349884 ], [ -76.914774, 39.349789 ], [ -76.914746, 39.349679 ], [ -76.91467, 39.349481 ], [ -76.914501, 39.34937 ], [ -76.914421, 39.349247 ], [ -76.914385, 39.349119 ], [ -76.9144, 39.348985 ], [ -76.914436, 39.348857 ], [ -76.914566, 39.348732 ], [ -76.914788, 39.348612 ], [ -76.915119, 39.348484 ], [ -76.915349, 39.348389 ], [ -76.915507, 39.348289 ], [ -76.915637, 39.348144 ], [ -76.91577, 39.348021 ], [ -76.915842, 39.347943 ], [ -76.915919, 39.347828 ], [ -76.915974, 39.347711 ], [ -76.916019, 39.347548 ], [ -76.916029, 39.347391 ], [ -76.91608, 39.347281 ], [ -76.916237, 39.347204 ], [ -76.916561, 39.346969 ], [ -76.916874, 39.346675 ], [ -76.917035, 39.346509 ], [ -76.917206, 39.346373 ], [ -76.917781, 39.345762 ], [ -76.918151, 39.34534 ], [ -76.918306, 39.345161 ], [ -76.918434, 39.345015 ], [ -76.918663, 39.344776 ], [ -76.918874, 39.344617 ], [ -76.919115, 39.344481 ], [ -76.919269, 39.344389 ], [ -76.919433, 39.344297 ], [ -76.919544, 39.344219 ], [ -76.919767, 39.343977 ], [ -76.91994, 39.343774 ], [ -76.920352, 39.343252 ], [ -76.920588, 39.342874 ], [ -76.920674, 39.342667 ], [ -76.920854, 39.34238 ], [ -76.921027, 39.342104 ], [ -76.921396, 39.341609 ], [ -76.921944, 39.340866 ], [ -76.92251, 39.340156 ], [ -76.922875, 39.339707 ], [ -76.923047, 39.339489 ], [ -76.923199, 39.339264 ], [ -76.923333, 39.338933 ], [ -76.923402, 39.338704 ], [ -76.92349, 39.338243 ], [ -76.9238, 39.337803 ], [ -76.924068, 39.337451 ], [ -76.924299, 39.337003 ], [ -76.924607, 39.336458 ], [ -76.925137, 39.335566 ], [ -76.925289, 39.335288 ], [ -76.92563, 39.334897 ], [ -76.925796, 39.334709 ], [ -76.926098, 39.334468 ], [ -76.926129, 39.334443 ], [ -76.926394, 39.334291 ], [ -76.927298, 39.333685 ], [ -76.927629, 39.333368 ], [ -76.927826, 39.333071 ], [ -76.927937, 39.332863 ], [ -76.927995, 39.332613 ], [ -76.928005, 39.332452 ], [ -76.927985, 39.332349 ], [ -76.92797, 39.332272 ], [ -76.927905, 39.332139 ], [ -76.927572, 39.331818 ], [ -76.927075, 39.331419 ], [ -76.926222, 39.330947 ], [ -76.925602, 39.330662 ], [ -76.924948, 39.330405 ], [ -76.924707, 39.33027 ], [ -76.924512, 39.330152 ], [ -76.924338, 39.33001 ], [ -76.924191, 39.329854 ], [ -76.92412, 39.329726 ], [ -76.924035, 39.329549 ], [ -76.923958, 39.328973 ], [ -76.92394, 39.328751 ], [ -76.923927, 39.328314 ], [ -76.923883, 39.32755 ], [ -76.923862, 39.326648 ], [ -76.923909, 39.326342 ], [ -76.923963, 39.32609 ], [ -76.923969, 39.326073 ], [ -76.923994, 39.326007 ], [ -76.924059, 39.325837 ], [ -76.924251, 39.325539 ], [ -76.924413, 39.325351 ], [ -76.924725, 39.325048 ], [ -76.925256, 39.324586 ], [ -76.925547, 39.324351 ], [ -76.92563, 39.324277 ], [ -76.925785, 39.324114 ], [ -76.925888, 39.323962 ], [ -76.925954, 39.323801 ], [ -76.926009, 39.323639 ], [ -76.926111, 39.323312 ], [ -76.926165, 39.322982 ], [ -76.926265, 39.322309 ], [ -76.926302, 39.32197 ], [ -76.926313, 39.321621 ], [ -76.926352, 39.321251 ], [ -76.927788, 39.321346 ], [ -76.927867, 39.320936 ], [ -76.927924, 39.320547 ], [ -76.927953, 39.320359 ], [ -76.928011, 39.319769 ], [ -76.928096, 39.31918 ], [ -76.928162, 39.318787 ], [ -76.928223, 39.318269 ], [ -76.928254, 39.317768 ], [ -76.928279, 39.317337 ], [ -76.928284, 39.316942 ], [ -76.928311, 39.31656 ], [ -76.928337, 39.316321 ], [ -76.928361, 39.316195 ], [ -76.928413, 39.316045 ], [ -76.928499, 39.315842 ], [ -76.928809, 39.315147 ], [ -76.929029, 39.314601 ], [ -76.929268, 39.314032 ], [ -76.929583, 39.313305 ], [ -76.929737, 39.312927 ], [ -76.929794, 39.312786 ], [ -76.929887, 39.312549 ], [ -76.930146, 39.311954 ], [ -76.930229, 39.311728 ], [ -76.930258, 39.311636 ], [ -76.930292, 39.311526 ], [ -76.930341, 39.311308 ], [ -76.930415, 39.31095 ], [ -76.930483, 39.310587 ], [ -76.93056, 39.310217 ], [ -76.930591, 39.310062 ], [ -76.930601, 39.30963 ], [ -76.930595, 39.309257 ], [ -76.930553, 39.308275 ], [ -76.930539, 39.307937 ], [ -76.930535, 39.307857 ], [ -76.930519, 39.307566 ], [ -76.930526, 39.307072 ], [ -76.930535, 39.306729 ], [ -76.930549, 39.306607 ], [ -76.931268, 39.306694 ], [ -76.931998, 39.306779 ], [ -76.93295, 39.306878 ], [ -76.933917, 39.306983 ], [ -76.934904, 39.307098 ], [ -76.936177, 39.307229 ], [ -76.936758, 39.3073 ], [ -76.937118, 39.307342 ], [ -76.937639, 39.307397 ], [ -76.93818, 39.307451 ], [ -76.93874, 39.307509 ], [ -76.939326, 39.30756 ], [ -76.939914, 39.307617 ], [ -76.940487, 39.307682 ], [ -76.941049, 39.307751 ], [ -76.941596, 39.307814 ], [ -76.942157, 39.307876 ], [ -76.942737, 39.307943 ], [ -76.94364, 39.308039 ], [ -76.944942, 39.308186 ], [ -76.945448, 39.308248 ], [ -76.946457, 39.30835 ], [ -76.948442, 39.308572 ], [ -76.949424, 39.308686 ], [ -76.95038, 39.308793 ], [ -76.951321, 39.308892 ], [ -76.952092, 39.30898 ], [ -76.952357, 39.309009 ], [ -76.952623, 39.309039 ], [ -76.952658, 39.308803 ], [ -76.95299, 39.306589 ], [ -76.953238, 39.304851 ], [ -76.953266, 39.304281 ], [ -76.953281, 39.303691 ], [ -76.953276, 39.303413 ], [ -76.953266, 39.30321 ], [ -76.953235, 39.302753 ], [ -76.953176, 39.302397 ], [ -76.953123, 39.302159 ], [ -76.953007, 39.30181 ], [ -76.952914, 39.301489 ], [ -76.952856, 39.301266 ], [ -76.95282, 39.301094 ], [ -76.952779, 39.300831 ], [ -76.95279, 39.300077 ], [ -76.952821, 39.299521 ], [ -76.952845, 39.299163 ], [ -76.952849, 39.299112 ], [ -76.95288, 39.298799 ], [ -76.952891, 39.298644 ], [ -76.953033, 39.297703 ], [ -76.953259, 39.29613 ], [ -76.953303, 39.295798 ], [ -76.953382, 39.295237 ], [ -76.953441, 39.294776 ], [ -76.953512, 39.294353 ], [ -76.953557, 39.294086 ], [ -76.953597, 39.293762 ], [ -76.953658, 39.293415 ], [ -76.953727, 39.292965 ], [ -76.953794, 39.292595 ], [ -76.953868, 39.292321 ], [ -76.953981, 39.292004 ], [ -76.954185, 39.291551 ], [ -76.95439, 39.291203 ], [ -76.954522, 39.290979 ], [ -76.954601, 39.290867 ], [ -76.954644, 39.290799 ], [ -76.954759, 39.290637 ], [ -76.954912, 39.290439 ], [ -76.955044, 39.290277 ], [ -76.955331, 39.28996 ], [ -76.955428, 39.289858 ], [ -76.955678, 39.289617 ], [ -76.955794, 39.289523 ], [ -76.955906, 39.28943 ], [ -76.956059, 39.289308 ], [ -76.956086, 39.289286 ], [ -76.95626, 39.289149 ], [ -76.956494, 39.288984 ], [ -76.956846, 39.28874 ], [ -76.958903, 39.287361 ], [ -76.959036, 39.287264 ], [ -76.9594, 39.287023 ], [ -76.959664, 39.28686 ], [ -76.959916, 39.286699 ], [ -76.96061, 39.286214 ], [ -76.96122, 39.285809 ], [ -76.961241, 39.285793 ], [ -76.961479, 39.285616 ], [ -76.961849, 39.285376 ], [ -76.962453, 39.285046 ], [ -76.962721, 39.284902 ], [ -76.963153, 39.284696 ], [ -76.96373, 39.284454 ], [ -76.963886, 39.284402 ], [ -76.96411, 39.284326 ], [ -76.964328, 39.284257 ], [ -76.964729, 39.284136 ], [ -76.96524, 39.28401 ], [ -76.965611, 39.283928 ], [ -76.966106, 39.283836 ], [ -76.96649, 39.283786 ], [ -76.966578, 39.283775 ], [ -76.967122, 39.283712 ], [ -76.967562, 39.283688 ], [ -76.968042, 39.283678 ], [ -76.968581, 39.283687 ], [ -76.969125, 39.283687 ], [ -76.969433, 39.283677 ], [ -76.969764, 39.283656 ], [ -76.970354, 39.283601 ], [ -76.970862, 39.283515 ], [ -76.971327, 39.283411 ], [ -76.971642, 39.283331 ], [ -76.971947, 39.283226 ], [ -76.97225, 39.283131 ], [ -76.972639, 39.282993 ], [ -76.973075, 39.282816 ], [ -76.973704, 39.282562 ], [ -76.974677, 39.282187 ], [ -76.974848, 39.282122 ], [ -76.975534, 39.281864 ], [ -76.975709, 39.281799 ], [ -76.97642, 39.281521 ], [ -76.976695, 39.281415 ], [ -76.977254, 39.281206 ], [ -76.977677, 39.281042 ], [ -76.978394, 39.280754 ], [ -76.978812, 39.280572 ], [ -76.979029, 39.280473 ], [ -76.979546, 39.280215 ], [ -76.980081, 39.279918 ], [ -76.980379, 39.279735 ], [ -76.980573, 39.279618 ], [ -76.980871, 39.279414 ], [ -76.981045, 39.279298 ], [ -76.982491, 39.27824 ], [ -76.983262, 39.277677 ], [ -76.983694, 39.277373 ], [ -76.984805, 39.276561 ], [ -76.985017, 39.276409 ], [ -76.985198, 39.276268 ], [ -76.985395, 39.276116 ], [ -76.985612, 39.275928 ], [ -76.985896, 39.275663 ], [ -76.986045, 39.275505 ], [ -76.986129, 39.275407 ], [ -76.986203, 39.275309 ], [ -76.986408, 39.275049 ], [ -76.986592, 39.274766 ], [ -76.986731, 39.274538 ], [ -76.986767, 39.274469 ], [ -76.986896, 39.274222 ], [ -76.986965, 39.274064 ], [ -76.98703, 39.273898 ], [ -76.98709, 39.273701 ], [ -76.987147, 39.273477 ], [ -76.987177, 39.273304 ], [ -76.987206, 39.273074 ], [ -76.987207, 39.272642 ], [ -76.987198, 39.272432 ], [ -76.987186, 39.272269 ], [ -76.987091, 39.271847 ], [ -76.986959, 39.27135 ], [ -76.986469, 39.269658 ], [ -76.986343, 39.26926 ], [ -76.985993, 39.268062 ], [ -76.985885, 39.267675 ], [ -76.985574, 39.266727 ], [ -76.985392, 39.266096 ], [ -76.984827, 39.26414 ], [ -76.985659, 39.26405 ], [ -76.985846, 39.264026 ], [ -76.986191, 39.263967 ], [ -76.987093, 39.263826 ], [ -76.987171, 39.263814 ], [ -76.987908, 39.263707 ], [ -76.98798, 39.263698 ], [ -76.988226, 39.263668 ], [ -76.988831, 39.263608 ], [ -76.989163, 39.263597 ], [ -76.989408, 39.263598 ], [ -76.989611, 39.263602 ], [ -76.989779, 39.263616 ], [ -76.989945, 39.263637 ], [ -76.990711, 39.263801 ], [ -76.991316, 39.2639 ], [ -76.992399, 39.264057 ], [ -76.992819, 39.26413 ], [ -76.992966, 39.264146 ], [ -76.993105, 39.264146 ], [ -76.993363, 39.264127 ], [ -76.993514, 39.264104 ], [ -76.993733, 39.264057 ], [ -76.994915, 39.263809 ], [ -76.996945, 39.263399 ], [ -76.997118, 39.263363 ], [ -76.997398, 39.263305 ], [ -76.997659, 39.263247 ], [ -76.997838, 39.263193 ], [ -76.997968, 39.263148 ], [ -76.998503, 39.262906 ], [ -76.998845, 39.264196 ], [ -76.999135, 39.26541 ], [ -76.999218, 39.265758 ], [ -76.999442, 39.267073 ], [ -76.999586, 39.267919 ], [ -76.999656, 39.268311 ], [ -76.999679, 39.26849 ], [ -76.999704, 39.270969 ], [ -76.999742, 39.271032 ], [ -77.000626, 39.271425 ], [ -77.001102, 39.27162 ], [ -77.00119, 39.271694 ], [ -77.001239, 39.271756 ], [ -77.001273, 39.271874 ], [ -77.0013, 39.272118 ], [ -77.001317, 39.272307 ], [ -77.00129, 39.272475 ], [ -77.00122, 39.272779 ], [ -77.001055, 39.273393 ], [ -77.000994, 39.273614 ], [ -77.000968, 39.273767 ], [ -77.000971, 39.273841 ], [ -77.000998, 39.273897 ], [ -77.001032, 39.273947 ], [ -77.001044, 39.274 ], [ -77.001046, 39.274086 ], [ -77.000846, 39.274828 ], [ -77.000759, 39.275038 ], [ -77.000664, 39.275256 ], [ -77.000649, 39.275333 ], [ -77.000656, 39.275386 ], [ -77.000717, 39.275492 ], [ -77.000725, 39.275522 ], [ -77.000717, 39.275575 ], [ -77.000623, 39.275802 ], [ -76.999674, 39.275563 ], [ -76.999846, 39.277653 ], [ -76.999868, 39.277925 ], [ -76.999868, 39.277929 ], [ -76.999854, 39.278265 ], [ -76.999776, 39.280159 ], [ -76.99972, 39.282866 ], [ -76.9997, 39.283804 ], [ -76.9997, 39.285403 ], [ -76.999607, 39.289715 ], [ -76.999486, 39.289898 ], [ -76.999151, 39.290369 ], [ -76.998959, 39.290675 ], [ -76.998741, 39.291037 ], [ -76.998389, 39.291634 ], [ -76.998257, 39.291863 ], [ -76.997903, 39.292647 ], [ -76.997848, 39.292768 ], [ -76.997688, 39.293182 ], [ -76.997556, 39.293634 ], [ -76.997434, 39.294094 ], [ -76.997286, 39.294584 ], [ -76.997125, 39.295086 ], [ -76.997035, 39.295353 ], [ -76.997015, 39.295504 ], [ -76.997, 39.295671 ], [ -76.996996, 39.296092 ], [ -76.996998, 39.296262 ], [ -76.997005, 39.296413 ], [ -76.997008, 39.296477 ], [ -76.997035, 39.296716 ], [ -76.997061, 39.296968 ], [ -76.997084, 39.297276 ], [ -76.997095, 39.297479 ], [ -76.9971, 39.297563 ], [ -76.997101, 39.298051 ], [ -76.997103, 39.298304 ], [ -76.997125, 39.29878 ], [ -76.997144, 39.299136 ], [ -76.997166, 39.300087 ], [ -76.99717, 39.300137 ], [ -76.997208, 39.300579 ], [ -76.997237, 39.301003 ], [ -76.997258, 39.301095 ], [ -76.99729, 39.301159 ], [ -76.997335, 39.301204 ], [ -76.997432, 39.301265 ], [ -76.997734, 39.301368 ], [ -76.998118, 39.301505 ], [ -76.998195, 39.301527 ], [ -76.998271, 39.301555 ], [ -76.998317, 39.301589 ], [ -76.99836, 39.301633 ], [ -76.998396, 39.301708 ], [ -76.998448, 39.301809 ], [ -76.998475, 39.301848 ], [ -76.998554, 39.301898 ], [ -76.998662, 39.301951 ], [ -76.999305, 39.302127 ], [ -76.999257, 39.302233 ], [ -76.9984, 39.307403 ], [ -76.99732, 39.31118 ], [ -76.9972, 39.311603 ], [ -76.997139, 39.313119 ], [ -76.997018, 39.313259 ], [ -76.996878, 39.313484 ], [ -76.996786, 39.313737 ], [ -76.996697, 39.313961 ], [ -76.996631, 39.314115 ], [ -76.996576, 39.314395 ], [ -76.996546, 39.314467 ], [ -76.996504, 39.314549 ], [ -76.996429, 39.314651 ], [ -76.996347, 39.314755 ], [ -76.996296, 39.314824 ], [ -76.996134, 39.315046 ], [ -76.995804, 39.315562 ], [ -76.995611, 39.315873 ], [ -76.99547, 39.316101 ], [ -76.995143, 39.316621 ], [ -76.99501, 39.316834 ], [ -76.994812, 39.317152 ], [ -76.994508, 39.317627 ], [ -76.99422, 39.318117 ], [ -76.994105, 39.318301 ], [ -76.993993, 39.318447 ], [ -76.993884, 39.318577 ], [ -76.993815, 39.318658 ], [ -76.993731, 39.318735 ], [ -76.993603, 39.318842 ], [ -76.993442, 39.31897 ], [ -76.993055, 39.319248 ], [ -76.99235, 39.319787 ], [ -76.99209, 39.319993 ], [ -76.991909, 39.320162 ], [ -76.99181, 39.320264 ], [ -76.991728, 39.320376 ], [ -76.991662, 39.320476 ], [ -76.991626, 39.320545 ], [ -76.99156, 39.320747 ], [ -76.991259, 39.321038 ], [ -76.991049, 39.321241 ], [ -76.9912, 39.322803 ], [ -76.991143, 39.322905 ], [ -76.988385, 39.327839 ], [ -76.985165, 39.334401 ], [ -76.985114, 39.334504 ], [ -76.985153, 39.334546 ], [ -76.985167, 39.334579 ], [ -76.985192, 39.33467 ], [ -76.985299, 39.335031 ], [ -76.985453, 39.335584 ], [ -76.98556, 39.33586 ], [ -76.985658, 39.336173 ], [ -76.985774, 39.336566 ], [ -76.98596, 39.337132 ], [ -76.986119, 39.337664 ], [ -76.986296, 39.33828 ], [ -76.986356, 39.338519 ], [ -76.986449, 39.338836 ], [ -76.98683, 39.340101 ], [ -76.986937, 39.340465 ], [ -76.987066, 39.340993 ], [ -76.987105, 39.341308 ], [ -76.98712, 39.341474 ], [ -76.987121, 39.341485 ], [ -76.987114, 39.341869 ], [ -76.987111, 39.341977 ], [ -76.987114, 39.342502 ], [ -76.987153, 39.342937 ], [ -76.987192, 39.343479 ], [ -76.987205, 39.343861 ], [ -76.987241, 39.344366 ], [ -76.987234, 39.344522 ], [ -76.987229, 39.344721 ], [ -76.987056, 39.344778 ], [ -76.986432, 39.344984 ], [ -76.986117, 39.345093 ], [ -76.985558, 39.345297 ], [ -76.985325, 39.345388 ], [ -76.985154, 39.345479 ], [ -76.985066, 39.345543 ], [ -76.984985, 39.345625 ], [ -76.984886, 39.345756 ], [ -76.984735, 39.346044 ], [ -76.984567, 39.346398 ], [ -76.98439, 39.346753 ], [ -76.984243, 39.347093 ], [ -76.984184, 39.347245 ], [ -76.984038, 39.347719 ], [ -76.984029, 39.347749 ], [ -76.983974, 39.347962 ], [ -76.983919, 39.348136 ], [ -76.983778, 39.348458 ], [ -76.983656, 39.348663 ], [ -76.983475, 39.349004 ], [ -76.983166, 39.349705 ], [ -76.983096, 39.349796 ], [ -76.982854, 39.350068 ], [ -76.983477, 39.350338 ], [ -76.984079, 39.350599 ], [ -76.9851, 39.351042 ], [ -76.985556, 39.35124 ], [ -76.985781, 39.351353 ], [ -76.985999, 39.351449 ], [ -76.986416, 39.351632 ], [ -76.987425, 39.352063 ], [ -76.988416, 39.352497 ], [ -76.989406, 39.352919 ], [ -76.989918, 39.35316 ], [ -76.99011, 39.353281 ], [ -76.990229, 39.35337 ], [ -76.99028, 39.353439 ], [ -76.990321, 39.353525 ], [ -76.990384, 39.353706 ], [ -76.990388, 39.353782 ], [ -76.990388, 39.353961 ], [ -76.990386, 39.354179 ], [ -76.990376, 39.354379 ], [ -76.990358, 39.354759 ], [ -76.990362, 39.355066 ], [ -76.990365, 39.355124 ], [ -76.990365, 39.355169 ], [ -76.99037, 39.355221 ], [ -76.990382, 39.355295 ], [ -76.990588, 39.356547 ], [ -76.990644, 39.356875 ], [ -76.990656, 39.356977 ], [ -76.990661, 39.35701 ], [ -76.990692, 39.357232 ], [ -76.990703, 39.357275 ], [ -76.990734, 39.357342 ], [ -76.990764, 39.357394 ], [ -76.990792, 39.35744 ], [ -76.990827, 39.35748 ], [ -76.990944, 39.357575 ], [ -76.991244, 39.357782 ], [ -76.991444, 39.357941 ], [ -76.991599, 39.358077 ], [ -76.991679, 39.358155 ], [ -76.991758, 39.358253 ], [ -76.991869, 39.358423 ], [ -76.992046, 39.358748 ], [ -76.9921, 39.358878 ], [ -76.992103, 39.358881 ], [ -76.992135, 39.358972 ], [ -76.992161, 39.359097 ], [ -76.99217, 39.359159 ], [ -76.992174, 39.359239 ], [ -76.992182, 39.359376 ], [ -76.992166, 39.359664 ], [ -76.992153, 39.359806 ], [ -76.992095, 39.35981 ], [ -76.991303, 39.359842 ], [ -76.991017, 39.35997 ], [ -76.990904, 39.360022 ], [ -76.990518, 39.360601 ], [ -76.990011, 39.361048 ], [ -76.989404, 39.361338 ], [ -76.989, 39.361435 ], [ -76.988335, 39.361514 ], [ -76.988097, 39.361521 ], [ -76.988006, 39.361524 ], [ -76.987514, 39.361552 ], [ -76.987208, 39.361535 ], [ -76.986946, 39.361459 ], [ -76.98685, 39.361431 ], [ -76.986633, 39.361339 ], [ -76.986512, 39.361296 ], [ -76.986337, 39.361234 ], [ -76.986254, 39.361233 ], [ -76.98615, 39.361242 ], [ -76.985758, 39.361318 ], [ -76.985347, 39.361493 ], [ -76.985215, 39.361605 ], [ -76.985085, 39.361717 ], [ -76.984919, 39.361957 ], [ -76.984869, 39.36203 ], [ -76.984578, 39.362219 ], [ -76.984335, 39.362378 ], [ -76.983729, 39.36272 ], [ -76.983432, 39.362834 ], [ -76.983383, 39.362853 ], [ -76.983001, 39.36286 ], [ -76.982869, 39.36283 ], [ -76.982607, 39.362771 ], [ -76.982488, 39.362701 ], [ -76.982372, 39.362633 ], [ -76.98232, 39.362602 ], [ -76.982279, 39.362526 ], [ -76.982096, 39.362181 ], [ -76.98207, 39.362139 ], [ -76.981994, 39.362015 ], [ -76.981927, 39.361906 ], [ -76.981905, 39.36187 ], [ -76.98173, 39.361709 ], [ -76.981634, 39.361674 ], [ -76.981613, 39.361667 ], [ -76.981508, 39.361668 ], [ -76.981007, 39.3617 ], [ -76.980861, 39.36171 ], [ -76.980101, 39.361726 ], [ -76.979502, 39.361712 ], [ -76.979163, 39.361705 ], [ -76.979001, 39.361718 ], [ -76.978852, 39.36173 ], [ -76.978407, 39.361767 ], [ -76.978259, 39.36178 ], [ -76.978194, 39.361784 ], [ -76.978001, 39.3618 ], [ -76.977937, 39.361806 ], [ -76.977848, 39.361813 ], [ -76.97764, 39.361831 ], [ -76.977583, 39.361834 ], [ -76.977495, 39.361841 ], [ -76.976946, 39.361877 ], [ -76.976697, 39.361894 ], [ -76.976665, 39.361897 ], [ -76.976113, 39.361838 ], [ -76.975727, 39.361702 ], [ -76.975452, 39.361451 ], [ -76.97519, 39.361197 ], [ -76.974893, 39.361152 ], [ -76.974589, 39.361202 ], [ -76.974553, 39.361243 ], [ -76.974425, 39.361392 ], [ -76.974116, 39.36191 ], [ -76.973705, 39.36257 ], [ -76.973696, 39.362586 ], [ -76.973253, 39.362915 ], [ -76.972392, 39.363309 ], [ -76.971774, 39.363457 ], [ -76.9716, 39.363503 ], [ -76.970863, 39.363701 ], [ -76.970849, 39.363702 ], [ -76.970464, 39.363729 ], [ -76.970375, 39.363736 ], [ -76.970022, 39.363824 ], [ -76.969843, 39.36398 ], [ -76.969697, 39.363982 ], [ -76.969388, 39.363898 ], [ -76.969074, 39.363814 ], [ -76.969017, 39.363798 ], [ -76.96898, 39.363766 ], [ -76.968884, 39.363685 ], [ -76.968815, 39.363624 ], [ -76.968381, 39.36324 ], [ -76.968204, 39.363109 ], [ -76.968096, 39.363029 ], [ -76.967994, 39.362946 ], [ -76.967914, 39.362884 ], [ -76.967674, 39.362701 ], [ -76.967594, 39.36264 ], [ -76.96755, 39.362606 ], [ -76.967454, 39.362533 ], [ -76.967417, 39.362511 ], [ -76.967371, 39.362483 ], [ -76.967273, 39.362425 ], [ -76.967057, 39.362297 ], [ -76.966974, 39.362267 ], [ -76.966868, 39.362229 ], [ -76.966679, 39.362161 ], [ -76.966576, 39.362131 ], [ -76.966157, 39.362011 ], [ -76.965688, 39.361882 ], [ -76.965392, 39.361801 ], [ -76.965196, 39.361698 ], [ -76.964979, 39.361584 ], [ -76.964638, 39.361341 ], [ -76.964552, 39.36128 ], [ -76.96449, 39.361183 ], [ -76.964457, 39.361131 ], [ -76.964455, 39.360939 ], [ -76.964442, 39.36078 ], [ -76.964419, 39.360715 ], [ -76.96433, 39.360593 ], [ -76.964197, 39.360428 ], [ -76.964066, 39.360265 ], [ -76.963861, 39.359937 ], [ -76.963422, 39.359638 ], [ -76.963304, 39.359445 ], [ -76.963002, 39.358778 ], [ -76.962832, 39.358544 ], [ -76.962716, 39.358433 ], [ -76.962311, 39.358049 ], [ -76.962092, 39.357865 ], [ -76.962001, 39.357788 ], [ -76.961775, 39.35772 ], [ -76.961585, 39.357675 ], [ -76.961423, 39.357637 ], [ -76.960756, 39.357274 ], [ -76.960392, 39.357129 ], [ -76.960151, 39.356912 ], [ -76.960147, 39.356906 ], [ -76.959955, 39.356636 ], [ -76.959741, 39.356594 ], [ -76.959206, 39.356683 ], [ -76.958959, 39.356856 ], [ -76.958678, 39.357106 ], [ -76.95853, 39.357168 ], [ -76.958329, 39.357254 ], [ -76.957806, 39.357576 ], [ -76.957138, 39.357733 ], [ -76.955723, 39.357806 ], [ -76.955038, 39.357805 ], [ -76.954748, 39.357881 ], [ -76.95453, 39.357877 ], [ -76.954188, 39.357872 ], [ -76.953629, 39.357752 ], [ -76.953312, 39.35771 ], [ -76.953166, 39.357711 ], [ -76.952889, 39.357741 ], [ -76.952665, 39.357842 ], [ -76.952515, 39.357884 ], [ -76.952273, 39.357954 ], [ -76.95102, 39.357767 ], [ -76.950741, 39.357764 ], [ -76.950502, 39.357791 ], [ -76.950484, 39.357794 ], [ -76.95037, 39.357975 ], [ -76.950508, 39.3584 ], [ -76.950552, 39.358537 ], [ -76.950768, 39.35862 ], [ -76.950899, 39.358664 ], [ -76.951046, 39.358715 ], [ -76.951183, 39.358887 ], [ -76.951136, 39.359149 ], [ -76.95102, 39.359356 ], [ -76.950725, 39.359617 ], [ -76.950474, 39.359719 ], [ -76.950005, 39.359911 ], [ -76.949999, 39.359915 ], [ -76.949571, 39.360188 ], [ -76.949029, 39.360371 ], [ -76.948411, 39.360426 ], [ -76.947786, 39.360428 ], [ -76.947198, 39.360454 ], [ -76.947005, 39.360605 ], [ -76.946942, 39.360804 ], [ -76.946913, 39.360981 ], [ -76.946733, 39.361063 ], [ -76.946429, 39.361039 ], [ -76.946067, 39.36095 ], [ -76.94583, 39.360751 ], [ -76.945638, 39.360443 ], [ -76.945494, 39.360008 ], [ -76.945334, 39.359768 ], [ -76.945145, 39.359547 ], [ -76.945018, 39.359391 ], [ -76.944929, 39.35905 ], [ -76.944847, 39.358917 ], [ -76.944441, 39.358607 ], [ -76.944184, 39.358493 ], [ -76.943614, 39.358389 ], [ -76.943208, 39.358293 ], [ -76.942055, 39.35773 ], [ -76.941374, 39.357472 ], [ -76.941036, 39.357417 ], [ -76.940797, 39.357403 ], [ -76.940372, 39.357478 ], [ -76.939979, 39.35763 ], [ -76.939759, 39.357778 ], [ -76.939415, 39.358217 ], [ -76.939041, 39.358568 ], [ -76.938577, 39.358861 ], [ -76.938246, 39.35894 ], [ -76.937827, 39.358965 ], [ -76.937407, 39.358848 ], [ -76.936523, 39.358349 ], [ -76.936371, 39.358294 ], [ -76.936257, 39.3583 ], [ -76.936242, 39.358301 ], [ -76.936035, 39.35823 ], [ -76.935888, 39.358185 ], [ -76.935715, 39.358127 ], [ -76.935365, 39.358053 ], [ -76.935143, 39.358015 ], [ -76.935005, 39.357979 ], [ -76.934892, 39.357965 ], [ -76.93476, 39.357956 ], [ -76.934607, 39.357932 ], [ -76.934462, 39.357898 ], [ -76.934364, 39.35786 ], [ -76.934315, 39.357824 ], [ -76.934231, 39.357817 ], [ -76.934142, 39.35782 ], [ -76.934058, 39.35782 ], [ -76.933989, 39.357808 ], [ -76.933909, 39.357777 ], [ -76.933814, 39.357743 ], [ -76.933596, 39.357647 ], [ -76.933499, 39.357602 ] ] ] } },
{ "type": "Feature", "properties": { "STATEFP10": "24", "COUNTYFP10": "027", "TRACTCE10": "603001", "GEOID10_TRACT": "24027603001", "NAME10": "6030.01", "NAMELSAD10": "Census Tract 6030.01", "MTFCC10": "G5020", "FUNCSTAT10": "S", "ALAND10": 24726303, "AWATER10": 57708, "INTPTLAT10": "+39.3279761", "INTPTLON10": "-076.8942412" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -76.863078, 39.315008 ], [ -76.863049, 39.31484 ], [ -76.863106, 39.314569 ], [ -76.863203, 39.314109 ], [ -76.863314, 39.313502 ], [ -76.863359, 39.313026 ], [ -76.86334, 39.312713 ], [ -76.86331, 39.31248 ], [ -76.863267, 39.312264 ], [ -76.863206, 39.312082 ], [ -76.863144, 39.311933 ], [ -76.863046, 39.311741 ], [ -76.862929, 39.311549 ], [ -76.862787, 39.311386 ], [ -76.862677, 39.311297 ], [ -76.862581, 39.311225 ], [ -76.862538, 39.311172 ], [ -76.86255, 39.311114 ], [ -76.862618, 39.311062 ], [ -76.863039, 39.310937 ], [ -76.864234, 39.310568 ], [ -76.865669, 39.310066 ], [ -76.866101, 39.309894 ], [ -76.866102, 39.309894 ], [ -76.867261, 39.309502 ], [ -76.867705, 39.309347 ], [ -76.867978, 39.309239 ], [ -76.868485, 39.309055 ], [ -76.869013, 39.308862 ], [ -76.869122, 39.308816 ], [ -76.869153, 39.308799 ], [ -76.869161, 39.308786 ], [ -76.870392, 39.30884 ], [ -76.87045, 39.308843 ], [ -76.870653, 39.308758 ], [ -76.874586, 39.3075 ], [ -76.875149, 39.307313 ], [ -76.87623, 39.306966 ], [ -76.877241, 39.306642 ], [ -76.877891, 39.306433 ], [ -76.87922, 39.305965 ], [ -76.879848, 39.305738 ], [ -76.880547, 39.305504 ], [ -76.880735, 39.305263 ], [ -76.880733, 39.305174 ], [ -76.88072, 39.304984 ], [ -76.881151, 39.305076 ], [ -76.881703, 39.305181 ], [ -76.882233, 39.305279 ], [ -76.882851, 39.305396 ], [ -76.883608, 39.305518 ], [ -76.883947, 39.305568 ], [ -76.884197, 39.305597 ], [ -76.884599, 39.305647 ], [ -76.885075, 39.305698 ], [ -76.88604, 39.30578 ], [ -76.886588, 39.305812 ], [ -76.887181, 39.30584 ], [ -76.887795, 39.30585 ], [ -76.888401, 39.305863 ], [ -76.889012, 39.305863 ], [ -76.88963, 39.30584 ], [ -76.8903, 39.305807 ], [ -76.890979, 39.305765 ], [ -76.891221, 39.305748 ], [ -76.891829, 39.305695 ], [ -76.892412, 39.305635 ], [ -76.893442, 39.305509 ], [ -76.894462, 39.305373 ], [ -76.895331, 39.305212 ], [ -76.895878, 39.305093 ], [ -76.896894, 39.304867 ], [ -76.89811, 39.304572 ], [ -76.899172, 39.304288 ], [ -76.899812, 39.304108 ], [ -76.900525, 39.303894 ], [ -76.901627, 39.303532 ], [ -76.902765, 39.303129 ], [ -76.903123, 39.303015 ], [ -76.903422, 39.302918 ], [ -76.903662, 39.30285 ], [ -76.904243, 39.302694 ], [ -76.904479, 39.302643 ], [ -76.905136, 39.302505 ], [ -76.90551, 39.302443 ], [ -76.905906, 39.302395 ], [ -76.906492, 39.30234 ], [ -76.906815, 39.302316 ], [ -76.907152, 39.302312 ], [ -76.907701, 39.302312 ], [ -76.908336, 39.302338 ], [ -76.909033, 39.302404 ], [ -76.909721, 39.302479 ], [ -76.909909, 39.302507 ], [ -76.910383, 39.302592 ], [ -76.911134, 39.302762 ], [ -76.912057, 39.303046 ], [ -76.912721, 39.303287 ], [ -76.913458, 39.303609 ], [ -76.913819, 39.303787 ], [ -76.914355, 39.304049 ], [ -76.914732, 39.304219 ], [ -76.915253, 39.304423 ], [ -76.916003, 39.304685 ], [ -76.916174, 39.304741 ], [ -76.916732, 39.304892 ], [ -76.91755, 39.305086 ], [ -76.918421, 39.305259 ], [ -76.91925, 39.305374 ], [ -76.92018, 39.305484 ], [ -76.921195, 39.305587 ], [ -76.922207, 39.305692 ], [ -76.923102, 39.305786 ], [ -76.924538, 39.305961 ], [ -76.924915, 39.30602 ], [ -76.926091, 39.306156 ], [ -76.926522, 39.306188 ], [ -76.927019, 39.306238 ], [ -76.927648, 39.306306 ], [ -76.928368, 39.306378 ], [ -76.929088, 39.30644 ], [ -76.930238, 39.306561 ], [ -76.930549, 39.306607 ], [ -76.930535, 39.306729 ], [ -76.930526, 39.307072 ], [ -76.930519, 39.307566 ], [ -76.930535, 39.307857 ], [ -76.930539, 39.307937 ], [ -76.930553, 39.308275 ], [ -76.930595, 39.309257 ], [ -76.930601, 39.30963 ], [ -76.930591, 39.310062 ], [ -76.93056, 39.310217 ], [ -76.930483, 39.310587 ], [ -76.930415, 39.31095 ], [ -76.930341, 39.311308 ], [ -76.930292, 39.311526 ], [ -76.930258, 39.311636 ], [ -76.930229, 39.311728 ], [ -76.930146, 39.311954 ], [ -76.929887, 39.312549 ], [ -76.929794, 39.312786 ], [ -76.929737, 39.312927 ], [ -76.929583, 39.313305 ], [ -76.929268, 39.314032 ], [ -76.929029, 39.314601 ], [ -76.928809, 39.315147 ], [ -76.928499, 39.315842 ], [ -76.928413, 39.316045 ], [ -76.928361, 39.316195 ], [ -76.928337, 39.316321 ], [ -76.928311, 39.31656 ], [ -76.928284, 39.316942 ], [ -76.928279, 39.317337 ], [ -76.928254, 39.317768 ], [ -76.928223, 39.318269 ], [ -76.928162, 39.318787 ], [ -76.928096, 39.31918 ], [ -76.928011, 39.319769 ], [ -76.927953, 39.320359 ], [ -76.927924, 39.320547 ], [ -76.927867, 39.320936 ], [ -76.927788, 39.321346 ], [ -76.926352, 39.321251 ], [ -76.926313, 39.321621 ], [ -76.926302, 39.32197 ], [ -76.926265, 39.322309 ], [ -76.926165, 39.322982 ], [ -76.926111, 39.323312 ], [ -76.926009, 39.323639 ], [ -76.925954, 39.323801 ], [ -76.925888, 39.323962 ], [ -76.925785, 39.324114 ], [ -76.92563, 39.324277 ], [ -76.925547, 39.324351 ], [ -76.925256, 39.324586 ], [ -76.924725, 39.325048 ], [ -76.924413, 39.325351 ], [ -76.924251, 39.325539 ], [ -76.924059, 39.325837 ], [ -76.923994, 39.326007 ], [ -76.923969, 39.326073 ], [ -76.923963, 39.32609 ], [ -76.923909, 39.326342 ], [ -76.923862, 39.326648 ], [ -76.923883, 39.32755 ], [ -76.923927, 39.328314 ], [ -76.92394, 39.328751 ], [ -76.923958, 39.328973 ], [ -76.924035, 39.329549 ], [ -76.92412, 39.329726 ], [ -76.924191, 39.329854 ], [ -76.924338, 39.33001 ], [ -76.924512, 39.330152 ], [ -76.924707, 39.33027 ], [ -76.924948, 39.330405 ], [ -76.925602, 39.330662 ], [ -76.926222, 39.330947 ], [ -76.927075, 39.331419 ], [ -76.927572, 39.331818 ], [ -76.927905, 39.332139 ], [ -76.92797, 39.332272 ], [ -76.927985, 39.332349 ], [ -76.928005, 39.332452 ], [ -76.927995, 39.332613 ], [ -76.927937, 39.332863 ], [ -76.927826, 39.333071 ], [ -76.927629, 39.333368 ], [ -76.927298, 39.333685 ], [ -76.926394, 39.334291 ], [ -76.926129, 39.334443 ], [ -76.926098, 39.334468 ], [ -76.925796, 39.334709 ], [ -76.92563, 39.334897 ], [ -76.925289, 39.335288 ], [ -76.925137, 39.335566 ], [ -76.924607, 39.336458 ], [ -76.924299, 39.337003 ], [ -76.924068, 39.337451 ], [ -76.9238, 39.337803 ], [ -76.92349, 39.338243 ], [ -76.923402, 39.338704 ], [ -76.923333, 39.338933 ], [ -76.923199, 39.339264 ], [ -76.923047, 39.339489 ], [ -76.922875, 39.339707 ], [ -76.92251, 39.340156 ], [ -76.921944, 39.340866 ], [ -76.921396, 39.341609 ], [ -76.921027, 39.342104 ], [ -76.920854, 39.34238 ], [ -76.920674, 39.342667 ], [ -76.920588, 39.342874 ], [ -76.920352, 39.343252 ], [ -76.91994, 39.343774 ], [ -76.919767, 39.343977 ], [ -76.919544, 39.344219 ], [ -76.919433, 39.344297 ], [ -76.919269, 39.344389 ], [ -76.919115, 39.344481 ], [ -76.918874, 39.344617 ], [ -76.918663, 39.344776 ], [ -76.918434, 39.345015 ], [ -76.918306, 39.345161 ], [ -76.918151, 39.34534 ], [ -76.917781, 39.345762 ], [ -76.917206, 39.346373 ], [ -76.917035, 39.346509 ], [ -76.916874, 39.346675 ], [ -76.916561, 39.346969 ], [ -76.916237, 39.347204 ], [ -76.91608, 39.347281 ], [ -76.916029, 39.347391 ], [ -76.916019, 39.347548 ], [ -76.915974, 39.347711 ], [ -76.915919, 39.347828 ], [ -76.915842, 39.347943 ], [ -76.91577, 39.348021 ], [ -76.915637, 39.348144 ], [ -76.915507, 39.348289 ], [ -76.915349, 39.348389 ], [ -76.915119, 39.348484 ], [ -76.914788, 39.348612 ], [ -76.914566, 39.348732 ], [ -76.914436, 39.348857 ], [ -76.9144, 39.348985 ], [ -76.914385, 39.349119 ], [ -76.914421, 39.349247 ], [ -76.914501, 39.34937 ], [ -76.91467, 39.349481 ], [ -76.914746, 39.349679 ], [ -76.914774, 39.349789 ], [ -76.914775, 39.349884 ], [ -76.914759, 39.349971 ], [ -76.914711, 39.350049 ], [ -76.914658, 39.350115 ], [ -76.914582, 39.350177 ], [ -76.914491, 39.350238 ], [ -76.914362, 39.3503 ], [ -76.91421, 39.350352 ], [ -76.914112, 39.350404 ], [ -76.914072, 39.350481 ], [ -76.91397, 39.350893 ], [ -76.913927, 39.35089 ], [ -76.913618, 39.35093 ], [ -76.913586, 39.350937 ], [ -76.913404, 39.350981 ], [ -76.912915, 39.350968 ], [ -76.912461, 39.350796 ], [ -76.912287, 39.35073 ], [ -76.912119, 39.35062 ], [ -76.911949, 39.350509 ], [ -76.911792, 39.350256 ], [ -76.911733, 39.349817 ], [ -76.911608, 39.349589 ], [ -76.911169, 39.349299 ], [ -76.910721, 39.349003 ], [ -76.910154, 39.348656 ], [ -76.909577, 39.348463 ], [ -76.909262, 39.3485 ], [ -76.909031, 39.348598 ], [ -76.908677, 39.34881 ], [ -76.908417, 39.349004 ], [ -76.908001, 39.349382 ], [ -76.907981, 39.34963 ], [ -76.908048, 39.349846 ], [ -76.908259, 39.349998 ], [ -76.908525, 39.350175 ], [ -76.908811, 39.350376 ], [ -76.90885, 39.350473 ], [ -76.908909, 39.35062 ], [ -76.908925, 39.351083 ], [ -76.908904, 39.351977 ], [ -76.908896, 39.352191 ], [ -76.90888, 39.352653 ], [ -76.908672, 39.352891 ], [ -76.908241, 39.353096 ], [ -76.907715, 39.353202 ], [ -76.907421, 39.35331 ], [ -76.907261, 39.35337 ], [ -76.90701, 39.35353 ], [ -76.906414, 39.353764 ], [ -76.905975, 39.353992 ], [ -76.905803, 39.354145 ], [ -76.905571, 39.35422 ], [ -76.905106, 39.354317 ], [ -76.904421, 39.354323 ], [ -76.903802, 39.354236 ], [ -76.903586, 39.354274 ], [ -76.903337, 39.354381 ], [ -76.903019, 39.354407 ], [ -76.902777, 39.354377 ], [ -76.902227, 39.354206 ], [ -76.901996, 39.354197 ], [ -76.901668, 39.354245 ], [ -76.901411, 39.354199 ], [ -76.901323, 39.354184 ], [ -76.901095, 39.35403 ], [ -76.900541, 39.353575 ], [ -76.90021, 39.353264 ], [ -76.899956, 39.35291 ], [ -76.899903, 39.352787 ], [ -76.899813, 39.35258 ], [ -76.899795, 39.352538 ], [ -76.899595, 39.35233 ], [ -76.899396, 39.352236 ], [ -76.899282, 39.352199 ], [ -76.89916, 39.352161 ], [ -76.899068, 39.352133 ], [ -76.898873, 39.352075 ], [ -76.898846, 39.352067 ], [ -76.898313, 39.351838 ], [ -76.898215, 39.351796 ], [ -76.89813, 39.351751 ], [ -76.897901, 39.35163 ], [ -76.897629, 39.351624 ], [ -76.89757, 39.351623 ], [ -76.897045, 39.351793 ], [ -76.896269, 39.352036 ], [ -76.896115, 39.352098 ], [ -76.895951, 39.352165 ], [ -76.895602, 39.352218 ], [ -76.895061, 39.352159 ], [ -76.894621, 39.352203 ], [ -76.894232, 39.352326 ], [ -76.894166, 39.352348 ], [ -76.893652, 39.352546 ], [ -76.893188, 39.352704 ], [ -76.891643, 39.352903 ], [ -76.891132, 39.353077 ], [ -76.89083, 39.353106 ], [ -76.890514, 39.353161 ], [ -76.890188, 39.353287 ], [ -76.890181, 39.35329 ], [ -76.889354, 39.353704 ], [ -76.889029, 39.353805 ], [ -76.888912, 39.353775 ], [ -76.888831, 39.353755 ], [ -76.888536, 39.353554 ], [ -76.888105, 39.353153 ], [ -76.888055, 39.35294 ], [ -76.88813, 39.352778 ], [ -76.888365, 39.352435 ], [ -76.888562, 39.352151 ], [ -76.888592, 39.352024 ], [ -76.888406, 39.351743 ], [ -76.887606, 39.351154 ], [ -76.886714, 39.350613 ], [ -76.886526, 39.350563 ], [ -76.886421, 39.350588 ], [ -76.886324, 39.350636 ], [ -76.886126, 39.350788 ], [ -76.886142, 39.351397 ], [ -76.886175, 39.352237 ], [ -76.886097, 39.352552 ], [ -76.88586, 39.352604 ], [ -76.885753, 39.352629 ], [ -76.884656, 39.352399 ], [ -76.884252, 39.352258 ], [ -76.884092, 39.352168 ], [ -76.884069, 39.352156 ], [ -76.884049, 39.352139 ], [ -76.884001, 39.3521 ], [ -76.883939, 39.352045 ], [ -76.883888, 39.351995 ], [ -76.883837, 39.35195 ], [ -76.883775, 39.351882 ], [ -76.883721, 39.351823 ], [ -76.883629, 39.35173 ], [ -76.883557, 39.351661 ], [ -76.883501, 39.351617 ], [ -76.883448, 39.35157 ], [ -76.883388, 39.351527 ], [ -76.883334, 39.351486 ], [ -76.883316, 39.351466 ], [ -76.883301, 39.351441 ], [ -76.883299, 39.351424 ], [ -76.8833, 39.351404 ], [ -76.883304, 39.351384 ], [ -76.883297, 39.351361 ], [ -76.883291, 39.351336 ], [ -76.883216, 39.351249 ], [ -76.88288, 39.350932 ], [ -76.882763, 39.350829 ], [ -76.882684, 39.350756 ], [ -76.882615, 39.350696 ], [ -76.882554, 39.35064 ], [ -76.882508, 39.350593 ], [ -76.882432, 39.3505 ], [ -76.882356, 39.350401 ], [ -76.882281, 39.350307 ], [ -76.882263, 39.350282 ], [ -76.882239, 39.350239 ], [ -76.882274, 39.350185 ], [ -76.882202, 39.349881 ], [ -76.882107, 39.349588 ], [ -76.882067, 39.349371 ], [ -76.882032, 39.349072 ], [ -76.881959, 39.348743 ], [ -76.881906, 39.34855 ], [ -76.881829, 39.348402 ], [ -76.88171, 39.348296 ], [ -76.881513, 39.348204 ], [ -76.881376, 39.348081 ], [ -76.88114, 39.347778 ], [ -76.880966, 39.347517 ], [ -76.880747, 39.347199 ], [ -76.88055, 39.34682 ], [ -76.880395, 39.346634 ], [ -76.88027, 39.346507 ], [ -76.880145, 39.346425 ], [ -76.879986, 39.346367 ], [ -76.879878, 39.346268 ], [ -76.879814, 39.346183 ], [ -76.879656, 39.345981 ], [ -76.879488, 39.345771 ], [ -76.879326, 39.345482 ], [ -76.879224, 39.345281 ], [ -76.879165, 39.345048 ], [ -76.879153, 39.344838 ], [ -76.879075, 39.344545 ], [ -76.878956, 39.344293 ], [ -76.878827, 39.343941 ], [ -76.878699, 39.343492 ], [ -76.878552, 39.343064 ], [ -76.878405, 39.342695 ], [ -76.878253, 39.34242 ], [ -76.878105, 39.342267 ], [ -76.877762, 39.342072 ], [ -76.87738, 39.341919 ], [ -76.876911, 39.341626 ], [ -76.876518, 39.341342 ], [ -76.876322, 39.341219 ], [ -76.876098, 39.340973 ], [ -76.875662, 39.340527 ], [ -76.875438, 39.34032 ], [ -76.875297, 39.340108 ], [ -76.875134, 39.339747 ], [ -76.875069, 39.339451 ], [ -76.875031, 39.339107 ], [ -76.875026, 39.338777 ], [ -76.875032, 39.338476 ], [ -76.875109, 39.338226 ], [ -76.875148, 39.33804 ], [ -76.875121, 39.337858 ], [ -76.875148, 39.337718 ], [ -76.875197, 39.337646 ], [ -76.875274, 39.33757 ], [ -76.875378, 39.337472 ], [ -76.875487, 39.337379 ], [ -76.875602, 39.337282 ], [ -76.875728, 39.33721 ], [ -76.875821, 39.337164 ], [ -76.875908, 39.337143 ], [ -76.876012, 39.33713 ], [ -76.876121, 39.337189 ], [ -76.87623, 39.337283 ], [ -76.876279, 39.337304 ], [ -76.876368, 39.337311 ], [ -76.876647, 39.337317 ], [ -76.877075, 39.33724 ], [ -76.877361, 39.337151 ], [ -76.877776, 39.33693 ], [ -76.878119, 39.336714 ], [ -76.878276, 39.336592 ], [ -76.87837, 39.336454 ], [ -76.878363, 39.336288 ], [ -76.878085, 39.335916 ], [ -76.877671, 39.335506 ], [ -76.877165, 39.335189 ], [ -76.876986, 39.335062 ], [ -76.876822, 39.334868 ], [ -76.876502, 39.334546 ], [ -76.876288, 39.334363 ], [ -76.875981, 39.334168 ], [ -76.875867, 39.333991 ], [ -76.875689, 39.333586 ], [ -76.87554, 39.333065 ], [ -76.875419, 39.33276 ], [ -76.875327, 39.332583 ], [ -76.875041, 39.332154 ], [ -76.874791, 39.331954 ], [ -76.874477, 39.331776 ], [ -76.874285, 39.331693 ], [ -76.874106, 39.331693 ], [ -76.873828, 39.331709 ], [ -76.873485, 39.331825 ], [ -76.87332, 39.331858 ], [ -76.873013, 39.331886 ], [ -76.872684, 39.331957 ], [ -76.87237, 39.33199 ], [ -76.872013, 39.331984 ], [ -76.871728, 39.331945 ], [ -76.871356, 39.331878 ], [ -76.870985, 39.331778 ], [ -76.870614, 39.331678 ], [ -76.870227, 39.331611 ], [ -76.869932, 39.331573 ], [ -76.869628, 39.331475 ], [ -76.869391, 39.331385 ], [ -76.869251, 39.331351 ], [ -76.869053, 39.331351 ], [ -76.868889, 39.331392 ], [ -76.868647, 39.331436 ], [ -76.868337, 39.331522 ], [ -76.868076, 39.331586 ], [ -76.867743, 39.331619 ], [ -76.867312, 39.331686 ], [ -76.867017, 39.331705 ], [ -76.866607, 39.331708 ], [ -76.866191, 39.331629 ], [ -76.86578, 39.331501 ], [ -76.865375, 39.331403 ], [ -76.865123, 39.331305 ], [ -76.864993, 39.331252 ], [ -76.864027, 39.330794 ], [ -76.86338, 39.330451 ], [ -76.862796, 39.330079 ], [ -76.862444, 39.329813 ], [ -76.861995, 39.329415 ], [ -76.861561, 39.328979 ], [ -76.861126, 39.3286 ], [ -76.860905, 39.328344 ], [ -76.860833, 39.328134 ], [ -76.860693, 39.327898 ], [ -76.860399, 39.327541 ], [ -76.860093, 39.327325 ], [ -76.86008, 39.327316 ], [ -76.859593, 39.327004 ], [ -76.859279, 39.326865 ], [ -76.858989, 39.326703 ], [ -76.858608, 39.32632 ], [ -76.858323, 39.326001 ], [ -76.85774, 39.325464 ], [ -76.857498, 39.325201 ], [ -76.856862, 39.324683 ], [ -76.85663, 39.324427 ], [ -76.856414, 39.324091 ], [ -76.856331, 39.324016 ], [ -76.856606, 39.323823 ], [ -76.856653, 39.323775 ], [ -76.858475, 39.322622 ], [ -76.861097, 39.320404 ], [ -76.861878, 39.319552 ], [ -76.863169, 39.318198 ], [ -76.863791, 39.317575 ], [ -76.863447, 39.316311 ], [ -76.863365, 39.316098 ], [ -76.863322, 39.315985 ], [ -76.863199, 39.315573 ], [ -76.863131, 39.315303 ], [ -76.863078, 39.315008 ] ] ] } },
{ "type": "Feature", "properties": { "STATEFP10": "24", "COUNTYFP10": "027", "TRACTCE10": "602201", "GEOID10_TRACT": "24027602201", "NAME10": "6022.01", "NAMELSAD10": "Census Tract 6022.01", "MTFCC10": "G5020", "FUNCSTAT10": "S", "ALAND10": 4611549, "AWATER10": 6125, "INTPTLAT10": "+39.2900228", "INTPTLON10": "-076.8721238" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -76.877496, 39.302901 ], [ -76.877473, 39.302921 ], [ -76.877444, 39.302953 ], [ -76.877412, 39.302971 ], [ -76.877377, 39.302975 ], [ -76.877342, 39.302995 ], [ -76.877237, 39.303065 ], [ -76.877074, 39.303153 ], [ -76.876993, 39.303189 ], [ -76.876877, 39.303292 ], [ -76.876703, 39.303485 ], [ -76.876493, 39.303717 ], [ -76.876392, 39.303677 ], [ -76.875803, 39.303442 ], [ -76.875485, 39.303304 ], [ -76.874962, 39.303044 ], [ -76.874166, 39.302697 ], [ -76.87337, 39.302359 ], [ -76.87273, 39.302082 ], [ -76.870822, 39.301262 ], [ -76.869593, 39.300737 ], [ -76.869016, 39.300494 ], [ -76.868661, 39.300336 ], [ -76.86793, 39.300013 ], [ -76.867603, 39.299888 ], [ -76.86639, 39.299345 ], [ -76.865139, 39.298813 ], [ -76.864048, 39.298387 ], [ -76.862788, 39.29796 ], [ -76.861513, 39.297574 ], [ -76.8603, 39.297254 ], [ -76.859642, 39.297082 ], [ -76.85898, 39.296931 ], [ -76.857948, 39.296713 ], [ -76.856944, 39.296531 ], [ -76.855857, 39.29638 ], [ -76.855908, 39.296094 ], [ -76.855981, 39.295678 ], [ -76.856063, 39.29522 ], [ -76.856189, 39.294589 ], [ -76.856387, 39.293907 ], [ -76.856418, 39.293731 ], [ -76.856645, 39.292447 ], [ -76.856869, 39.291341 ], [ -76.857125, 39.290075 ], [ -76.857304, 39.289352 ], [ -76.857405, 39.289047 ], [ -76.857549, 39.288533 ], [ -76.857606, 39.28822 ], [ -76.858093, 39.286203 ], [ -76.858132, 39.286042 ], [ -76.858565, 39.284547 ], [ -76.858697, 39.284104 ], [ -76.85882, 39.283107 ], [ -76.858877, 39.282786 ], [ -76.858997, 39.282204 ], [ -76.85905, 39.282088 ], [ -76.860231, 39.279532 ], [ -76.861319, 39.279613 ], [ -76.862262, 39.279682 ], [ -76.862409, 39.279695 ], [ -76.862832, 39.279734 ], [ -76.863218, 39.279769 ], [ -76.863616, 39.279806 ], [ -76.863834, 39.279826 ], [ -76.86472, 39.27992 ], [ -76.865352, 39.280007 ], [ -76.866008, 39.28009 ], [ -76.86667, 39.280177 ], [ -76.867262, 39.280267 ], [ -76.8679, 39.280363 ], [ -76.868465, 39.280437 ], [ -76.869799, 39.280679 ], [ -76.870132, 39.28075 ], [ -76.870703, 39.280897 ], [ -76.871374, 39.281081 ], [ -76.871936, 39.281275 ], [ -76.872155, 39.28135 ], [ -76.872481, 39.281469 ], [ -76.873267, 39.281885 ], [ -76.873448, 39.281984 ], [ -76.874056, 39.282319 ], [ -76.874382, 39.282527 ], [ -76.874609, 39.282655 ], [ -76.875409, 39.283105 ], [ -76.87634, 39.283634 ], [ -76.876647, 39.283789 ], [ -76.876769, 39.283851 ], [ -76.878118, 39.284545 ], [ -76.879398, 39.285165 ], [ -76.880399, 39.285636 ], [ -76.881729, 39.286274 ], [ -76.883128, 39.28694 ], [ -76.883825, 39.287277 ], [ -76.884595, 39.287649 ], [ -76.886098, 39.288336 ], [ -76.887661, 39.289074 ], [ -76.887773, 39.289128 ], [ -76.888796, 39.289621 ], [ -76.88911, 39.289772 ], [ -76.889613, 39.29001 ], [ -76.889729, 39.290065 ], [ -76.889806, 39.290103 ], [ -76.887026, 39.291856 ], [ -76.886833, 39.292029 ], [ -76.886718, 39.292148 ], [ -76.886589, 39.292308 ], [ -76.886311, 39.292658 ], [ -76.886129, 39.292856 ], [ -76.885965, 39.292988 ], [ -76.885804, 39.293124 ], [ -76.885588, 39.29327 ], [ -76.885241, 39.293487 ], [ -76.885133, 39.293576 ], [ -76.885056, 39.293646 ], [ -76.885004, 39.293736 ], [ -76.884951, 39.293858 ], [ -76.884903, 39.294 ], [ -76.884767, 39.294293 ], [ -76.884609, 39.294636 ], [ -76.884513, 39.294809 ], [ -76.884379, 39.295033 ], [ -76.884199, 39.295296 ], [ -76.884069, 39.29544 ], [ -76.883456, 39.296145 ], [ -76.883223, 39.296424 ], [ -76.882924, 39.296817 ], [ -76.882747, 39.29707 ], [ -76.882608, 39.297264 ], [ -76.882446, 39.297462 ], [ -76.88216, 39.297661 ], [ -76.881785, 39.297911 ], [ -76.881371, 39.298108 ], [ -76.881123, 39.298204 ], [ -76.880867, 39.29833 ], [ -76.880121, 39.298805 ], [ -76.879848, 39.29899 ], [ -76.879562, 39.299174 ], [ -76.879091, 39.299501 ], [ -76.878869, 39.299664 ], [ -76.878723, 39.299756 ], [ -76.877999, 39.300256 ], [ -76.877619, 39.300517 ], [ -76.87747, 39.300602 ], [ -76.877474, 39.300815 ], [ -76.877409, 39.301012 ], [ -76.877597, 39.301217 ], [ -76.877798, 39.301377 ], [ -76.877768, 39.301814 ], [ -76.878, 39.302105 ], [ -76.877992, 39.302313 ], [ -76.877842, 39.302501 ], [ -76.877693, 39.302711 ], [ -76.877569, 39.3028 ], [ -76.877496, 39.302901 ] ] ] } }
{ "type": "Feature", "properties": { "STATEFP10": "24", "COUNTYFP10": "027", "TRACTCE10": "602100", "GEOID10": "24027602100", "NAME10": "6021", "NAMELSAD10": "Census Tract 6021", "MTFCC10": "G5020", "FUNCSTAT10": "S", "ALAND10": 13769934, "AWATER10": 3674, "INTPTLAT10": "+39.3076905", "INTPTLON10": "-076.8349752" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -76.863049, 39.31484 ], [ -76.863078, 39.315008 ], [ -76.863131, 39.315303 ], [ -76.863199, 39.315573 ], [ -76.863322, 39.315985 ], [ -76.863365, 39.316098 ], [ -76.863447, 39.316311 ], [ -76.863791, 39.317575 ], [ -76.863169, 39.318198 ], [ -76.861878, 39.319552 ], [ -76.861097, 39.320404 ], [ -76.858475, 39.322622 ], [ -76.856653, 39.323775 ], [ -76.856606, 39.323823 ], [ -76.856331, 39.324016 ], [ -76.855603, 39.323367 ], [ -76.855439, 39.323224 ], [ -76.855382, 39.323082 ], [ -76.85531, 39.322804 ], [ -76.85531, 39.322407 ], [ -76.855263, 39.321945 ], [ -76.855201, 39.321529 ], [ -76.855193, 39.320992 ], [ -76.855232, 39.320651 ], [ -76.855252, 39.320449 ], [ -76.855141, 39.320282 ], [ -76.855093, 39.320199 ], [ -76.855069, 39.320086 ], [ -76.855014, 39.320018 ], [ -76.854927, 39.319798 ], [ -76.854836, 39.319444 ], [ -76.854786, 39.319234 ], [ -76.854686, 39.318939 ], [ -76.854222, 39.318135 ], [ -76.85408, 39.317851 ], [ -76.853915, 39.317662 ], [ -76.853701, 39.317489 ], [ -76.853443, 39.317383 ], [ -76.853135, 39.317255 ], [ -76.852777, 39.317166 ], [ -76.852591, 39.317093 ], [ -76.852426, 39.316959 ], [ -76.852334, 39.316848 ], [ -76.852191, 39.316648 ], [ -76.852098, 39.316509 ], [ -76.85164, 39.316174 ], [ -76.851168, 39.315935 ], [ -76.850924, 39.315862 ], [ -76.850766, 39.315848 ], [ -76.850609, 39.315834 ], [ -76.850193, 39.315872 ], [ -76.849362, 39.315894 ], [ -76.848975, 39.316004 ], [ -76.848495, 39.316176 ], [ -76.847999, 39.316665 ], [ -76.847237, 39.31787 ], [ -76.846922, 39.318115 ], [ -76.846889, 39.318124 ], [ -76.846642, 39.318192 ], [ -76.846291, 39.318219 ], [ -76.846047, 39.31828 ], [ -76.845567, 39.318319 ], [ -76.844908, 39.318345 ], [ -76.844277, 39.318333 ], [ -76.844013, 39.318177 ], [ -76.843719, 39.31796 ], [ -76.843512, 39.317788 ], [ -76.843134, 39.317214 ], [ -76.842891, 39.316919 ], [ -76.84264, 39.316736 ], [ -76.84246, 39.31647 ], [ -76.842324, 39.316342 ], [ -76.842195, 39.316309 ], [ -76.842088, 39.31632 ], [ -76.841923, 39.316303 ], [ -76.841708, 39.316269 ], [ -76.841579, 39.316197 ], [ -76.841493, 39.316113 ], [ -76.841394, 39.315952 ], [ -76.841215, 39.315746 ], [ -76.840993, 39.31564 ], [ -76.840871, 39.315606 ], [ -76.840456, 39.315478 ], [ -76.839796, 39.315288 ], [ -76.839737, 39.315274 ], [ -76.839667, 39.315272 ], [ -76.839563, 39.315275 ], [ -76.839423, 39.315294 ], [ -76.83878, 39.315346 ], [ -76.83836, 39.315372 ], [ -76.838004, 39.315401 ], [ -76.837677, 39.315438 ], [ -76.837564, 39.315461 ], [ -76.837457, 39.315507 ], [ -76.837338, 39.315586 ], [ -76.837258, 39.31563 ], [ -76.837179, 39.315662 ], [ -76.837072, 39.31569 ], [ -76.837, 39.315709 ], [ -76.836168, 39.315782 ], [ -76.835962, 39.315804 ], [ -76.835779, 39.315838 ], [ -76.83565, 39.315845 ], [ -76.835563, 39.315837 ], [ -76.835472, 39.315804 ], [ -76.835342, 39.315725 ], [ -76.835211, 39.315602 ], [ -76.835163, 39.315542 ], [ -76.835134, 39.315509 ], [ -76.83511, 39.315427 ], [ -76.83509, 39.314909 ], [ -76.835081, 39.314763 ], [ -76.835076, 39.314692 ], [ -76.835095, 39.31461 ], [ -76.835144, 39.314521 ], [ -76.835416, 39.314201 ], [ -76.835493, 39.314081 ], [ -76.835507, 39.313973 ], [ -76.835498, 39.313921 ], [ -76.835479, 39.313862 ], [ -76.835421, 39.313783 ], [ -76.835398, 39.313716 ], [ -76.835407, 39.313664 ], [ -76.835482, 39.313504 ], [ -76.83555, 39.313161 ], [ -76.835574, 39.313101 ], [ -76.835608, 39.313049 ], [ -76.835613, 39.313004 ], [ -76.83558, 39.312911 ], [ -76.835565, 39.312814 ], [ -76.835633, 39.312717 ], [ -76.835657, 39.312605 ], [ -76.83566, 39.312419 ], [ -76.835579, 39.31208 ], [ -76.835522, 39.311972 ], [ -76.835387, 39.311848 ], [ -76.835253, 39.311777 ], [ -76.835025, 39.311695 ], [ -76.834785, 39.311613 ], [ -76.834756, 39.311605 ], [ -76.834454, 39.311526 ], [ -76.834089, 39.311496 ], [ -76.833674, 39.311507 ], [ -76.833626, 39.311507 ], [ -76.833568, 39.311514 ], [ -76.833501, 39.311555 ], [ -76.833467, 39.311588 ], [ -76.833404, 39.311622 ], [ -76.833251, 39.311692 ], [ -76.833092, 39.311767 ], [ -76.832948, 39.311796 ], [ -76.832864, 39.311808 ], [ -76.832748, 39.311848 ], [ -76.832691, 39.311882 ], [ -76.832563, 39.312001 ], [ -76.832515, 39.312042 ], [ -76.832409, 39.312124 ], [ -76.832356, 39.312172 ], [ -76.832332, 39.312217 ], [ -76.832284, 39.31231 ], [ -76.832236, 39.312373 ], [ -76.832183, 39.312407 ], [ -76.83213, 39.312422 ], [ -76.832072, 39.312436 ], [ -76.832029, 39.312481 ], [ -76.831947, 39.312563 ], [ -76.831904, 39.312645 ], [ -76.83185, 39.312749 ], [ -76.831788, 39.312913 ], [ -76.831739, 39.313032 ], [ -76.831706, 39.313066 ], [ -76.831532, 39.313144 ], [ -76.831446, 39.313177 ], [ -76.831417, 39.3132 ], [ -76.831311, 39.313393 ], [ -76.831258, 39.313542 ], [ -76.831233, 39.313684 ], [ -76.831204, 39.313967 ], [ -76.831185, 39.314019 ], [ -76.831141, 39.314049 ], [ -76.831108, 39.314075 ], [ -76.831009, 39.314303 ], [ -76.830741, 39.314899 ], [ -76.83062, 39.31513 ], [ -76.830456, 39.315476 ], [ -76.830318, 39.31577 ], [ -76.830198, 39.315983 ], [ -76.830044, 39.31618 ], [ -76.830014, 39.316266 ], [ -76.830014, 39.316359 ], [ -76.83, 39.316411 ], [ -76.82999, 39.316437 ], [ -76.829947, 39.316452 ], [ -76.82986, 39.316456 ], [ -76.829798, 39.316467 ], [ -76.829747, 39.316564 ], [ -76.829554, 39.316847 ], [ -76.829453, 39.317025 ], [ -76.829395, 39.317122 ], [ -76.829333, 39.317204 ], [ -76.829265, 39.317245 ], [ -76.829184, 39.317278 ], [ -76.829107, 39.317308 ], [ -76.829022, 39.317356 ], [ -76.828455, 39.317781 ], [ -76.827793, 39.318261 ], [ -76.827172, 39.318685 ], [ -76.826735, 39.3189 ], [ -76.826415, 39.319049 ], [ -76.825713, 39.319271 ], [ -76.825526, 39.319312 ], [ -76.825206, 39.319349 ], [ -76.82487, 39.319349 ], [ -76.824493, 39.319311 ], [ -76.824099, 39.319236 ], [ -76.823806, 39.319172 ], [ -76.823538, 39.319089 ], [ -76.823326, 39.319011 ], [ -76.822937, 39.318834 ], [ -76.822809, 39.318634 ], [ -76.822688, 39.318473 ], [ -76.822465, 39.318243 ], [ -76.822332, 39.318117 ], [ -76.822102, 39.317878 ], [ -76.821843, 39.317462 ], [ -76.82171, 39.317307 ], [ -76.821648, 39.317252 ], [ -76.821582, 39.317216 ], [ -76.821536, 39.317174 ], [ -76.821507, 39.317139 ], [ -76.821478, 39.317042 ], [ -76.821458, 39.316951 ], [ -76.821425, 39.316903 ], [ -76.821391, 39.31688 ], [ -76.821354, 39.316858 ], [ -76.821327, 39.316813 ], [ -76.821307, 39.316751 ], [ -76.82129, 39.316654 ], [ -76.821274, 39.316625 ], [ -76.82122, 39.31659 ], [ -76.821174, 39.316561 ], [ -76.821133, 39.316538 ], [ -76.821103, 39.316509 ], [ -76.821079, 39.316464 ], [ -76.820982, 39.316173 ], [ -76.820957, 39.316102 ], [ -76.820899, 39.316015 ], [ -76.820857, 39.315986 ], [ -76.820824, 39.31597 ], [ -76.820808, 39.315947 ], [ -76.820779, 39.315896 ], [ -76.820771, 39.315834 ], [ -76.820767, 39.315783 ], [ -76.820763, 39.315718 ], [ -76.820729, 39.315673 ], [ -76.820688, 39.315647 ], [ -76.820638, 39.315624 ], [ -76.820574, 39.31555 ], [ -76.820504, 39.31544 ], [ -76.82047, 39.315356 ], [ -76.820433, 39.315272 ], [ -76.820409, 39.315179 ], [ -76.820388, 39.315147 ], [ -76.820346, 39.315101 ], [ -76.820263, 39.315027 ], [ -76.820125, 39.314856 ], [ -76.820062, 39.314791 ], [ -76.820038, 39.314746 ], [ -76.81998, 39.314656 ], [ -76.819943, 39.314568 ], [ -76.819918, 39.314491 ], [ -76.819885, 39.314426 ], [ -76.819847, 39.314365 ], [ -76.819802, 39.314336 ], [ -76.819752, 39.314323 ], [ -76.819686, 39.314303 ], [ -76.819621, 39.314249 ], [ -76.819584, 39.314207 ], [ -76.819555, 39.31411 ], [ -76.819543, 39.314071 ], [ -76.819472, 39.314013 ], [ -76.819422, 39.313997 ], [ -76.819182, 39.313893 ], [ -76.819111, 39.313851 ], [ -76.819053, 39.313786 ], [ -76.818968, 39.313654 ], [ -76.818922, 39.313618 ], [ -76.818844, 39.313534 ], [ -76.818715, 39.313473 ], [ -76.818674, 39.31346 ], [ -76.818545, 39.313444 ], [ -76.81847, 39.313437 ], [ -76.818408, 39.31343 ], [ -76.81837, 39.313408 ], [ -76.818358, 39.313369 ], [ -76.818341, 39.313347 ], [ -76.8183, 39.313324 ], [ -76.818213, 39.313311 ], [ -76.818113, 39.313275 ], [ -76.818005, 39.313243 ], [ -76.817843, 39.313201 ], [ -76.817434, 39.313129 ], [ -76.817043, 39.313086 ], [ -76.816862, 39.313086 ], [ -76.816721, 39.313109 ], [ -76.816451, 39.313176 ], [ -76.816288, 39.31325 ], [ -76.816171, 39.313331 ], [ -76.815997, 39.313485 ], [ -76.815951, 39.313559 ], [ -76.815925, 39.31363 ], [ -76.815938, 39.313708 ], [ -76.815985, 39.313889 ], [ -76.816022, 39.314005 ], [ -76.81603, 39.314085 ], [ -76.816021, 39.314343 ], [ -76.815998, 39.314482 ], [ -76.815986, 39.314514 ], [ -76.815956, 39.314537 ], [ -76.815948, 39.314563 ], [ -76.815965, 39.314585 ], [ -76.815998, 39.314598 ], [ -76.816068, 39.314605 ], [ -76.816106, 39.314615 ], [ -76.816122, 39.314644 ], [ -76.81611, 39.314682 ], [ -76.816093, 39.314737 ], [ -76.816072, 39.314808 ], [ -76.816076, 39.314869 ], [ -76.816088, 39.314921 ], [ -76.816113, 39.314966 ], [ -76.816185, 39.315044 ], [ -76.816211, 39.315073 ], [ -76.816248, 39.315118 ], [ -76.81626, 39.31516 ], [ -76.816239, 39.315289 ], [ -76.816218, 39.315357 ], [ -76.816197, 39.315399 ], [ -76.815974, 39.315689 ], [ -76.81587, 39.315866 ], [ -76.815832, 39.315914 ], [ -76.815799, 39.315959 ], [ -76.815678, 39.316117 ], [ -76.815553, 39.316291 ], [ -76.815453, 39.316407 ], [ -76.815349, 39.316497 ], [ -76.815307, 39.316536 ], [ -76.815278, 39.316584 ], [ -76.815245, 39.316659 ], [ -76.815193, 39.316756 ], [ -76.815204, 39.316837 ], [ -76.815196, 39.3169 ], [ -76.81516, 39.316982 ], [ -76.815086, 39.317151 ], [ -76.815045, 39.317383 ], [ -76.815009, 39.317496 ], [ -76.814968, 39.317555 ], [ -76.814928, 39.31758 ], [ -76.814901, 39.317612 ], [ -76.814828, 39.31774 ], [ -76.814763, 39.317834 ], [ -76.814686, 39.317884 ], [ -76.814502, 39.317953 ], [ -76.814361, 39.317978 ], [ -76.814268, 39.317994 ], [ -76.814054, 39.318006 ], [ -76.813696, 39.31799 ], [ -76.813356, 39.317992 ], [ -76.812859, 39.317985 ], [ -76.81254, 39.31795 ], [ -76.812342, 39.317903 ], [ -76.812271, 39.317859 ], [ -76.812215, 39.317768 ], [ -76.812151, 39.317589 ], [ -76.812075, 39.317168 ], [ -76.812039, 39.316962 ], [ -76.812015, 39.316868 ], [ -76.811911, 39.316711 ], [ -76.811776, 39.316482 ], [ -76.811748, 39.316404 ], [ -76.811756, 39.316341 ], [ -76.811772, 39.31625 ], [ -76.811756, 39.316193 ], [ -76.81168, 39.316102 ], [ -76.811629, 39.316045 ], [ -76.811571, 39.31598 ], [ -76.811414, 39.315851 ], [ -76.811212, 39.315706 ], [ -76.811024, 39.315602 ], [ -76.810578, 39.31541 ], [ -76.810251, 39.315272 ], [ -76.81013, 39.315237 ], [ -76.810009, 39.315221 ], [ -76.809688, 39.315186 ], [ -76.809293, 39.31514 ], [ -76.808952, 39.315157 ], [ -76.808786, 39.315182 ], [ -76.808677, 39.3152 ], [ -76.808616, 39.315235 ], [ -76.808588, 39.315257 ], [ -76.808572, 39.315272 ], [ -76.808543, 39.315326 ], [ -76.808511, 39.315373 ], [ -76.808434, 39.315448 ], [ -76.808308, 39.315526 ], [ -76.808078, 39.31566 ], [ -76.808029, 39.315689 ], [ -76.80794, 39.31571 ], [ -76.807855, 39.31571 ], [ -76.807787, 39.315716 ], [ -76.807746, 39.315729 ], [ -76.807659, 39.315757 ], [ -76.807498, 39.315842 ], [ -76.807405, 39.315876 ], [ -76.80729, 39.315889 ], [ -76.807096, 39.315882 ], [ -76.807031, 39.315888 ], [ -76.806966, 39.31591 ], [ -76.806914, 39.315954 ], [ -76.806877, 39.315995 ], [ -76.806839, 39.316036 ], [ -76.806764, 39.316086 ], [ -76.806562, 39.316167 ], [ -76.806383, 39.316257 ], [ -76.806157, 39.316348 ], [ -76.806052, 39.316398 ], [ -76.805991, 39.316426 ], [ -76.805926, 39.316442 ], [ -76.805777, 39.316451 ], [ -76.805243, 39.316618 ], [ -76.805037, 39.316673 ], [ -76.804858, 39.316703 ], [ -76.804518, 39.316733 ], [ -76.804396, 39.316604 ], [ -76.804234, 39.316702 ], [ -76.803967, 39.316658 ], [ -76.803789, 39.31661 ], [ -76.803683, 39.316576 ], [ -76.803527, 39.316502 ], [ -76.803272, 39.316333 ], [ -76.80306, 39.316216 ], [ -76.802854, 39.316164 ], [ -76.802654, 39.316142 ], [ -76.802526, 39.316154 ], [ -76.802389, 39.316176 ], [ -76.802283, 39.316184 ], [ -76.802024, 39.316149 ], [ -76.801852, 39.316088 ], [ -76.801574, 39.315976 ], [ -76.801496, 39.315898 ], [ -76.801435, 39.315837 ], [ -76.801385, 39.315811 ], [ -76.801324, 39.315785 ], [ -76.801257, 39.31578 ], [ -76.801151, 39.315741 ], [ -76.800742, 39.315563 ], [ -76.800314, 39.315334 ], [ -76.800197, 39.315286 ], [ -76.800064, 39.315255 ], [ -76.799799, 39.315225 ], [ -76.799404, 39.31512 ], [ -76.799187, 39.315042 ], [ -76.799109, 39.315007 ], [ -76.79897, 39.314994 ], [ -76.798769, 39.315011 ], [ -76.798636, 39.315011 ], [ -76.79817, 39.315062 ], [ -76.79797, 39.315126 ], [ -76.797908, 39.315152 ], [ -76.797719, 39.315208 ], [ -76.797602, 39.315208 ], [ -76.797429, 39.315177 ], [ -76.797257, 39.315121 ], [ -76.79708, 39.315055 ], [ -76.796788, 39.314981 ], [ -76.796398, 39.314894 ], [ -76.795875, 39.314746 ], [ -76.795741, 39.314729 ], [ -76.795652, 39.314733 ], [ -76.795618, 39.314728 ], [ -76.795596, 39.314718 ], [ -76.795391, 39.314607 ], [ -76.795118, 39.314451 ], [ -76.794901, 39.314355 ], [ -76.794718, 39.314277 ], [ -76.7946, 39.314232 ], [ -76.794498, 39.314153 ], [ -76.794453, 39.314073 ], [ -76.794407, 39.313936 ], [ -76.794325, 39.313831 ], [ -76.794202, 39.313747 ], [ -76.794141, 39.313723 ], [ -76.794102, 39.313723 ], [ -76.794016, 39.313716 ], [ -76.793886, 39.313709 ], [ -76.793626, 39.313655 ], [ -76.793474, 39.313588 ], [ -76.793388, 39.31351 ], [ -76.793349, 39.313446 ], [ -76.793308, 39.313298 ], [ -76.793265, 39.31321 ], [ -76.793166, 39.312985 ], [ -76.793088, 39.312809 ], [ -76.792769, 39.312159 ], [ -76.792709, 39.312065 ], [ -76.792622, 39.311961 ], [ -76.792575, 39.31187 ], [ -76.792479, 39.311483 ], [ -76.792484, 39.311136 ], [ -76.792502, 39.311008 ], [ -76.792528, 39.3109 ], [ -76.792621, 39.310777 ], [ -76.792871, 39.31035 ], [ -76.793066, 39.310013 ], [ -76.793182, 39.309904 ], [ -76.79328, 39.309823 ], [ -76.79334, 39.30975 ], [ -76.793439, 39.309561 ], [ -76.793458, 39.309465 ], [ -76.79348, 39.309296 ], [ -76.793423, 39.30842 ], [ -76.793417, 39.307887 ], [ -76.793414, 39.307801 ], [ -76.793433, 39.307715 ], [ -76.793628, 39.307378 ], [ -76.793797, 39.307045 ], [ -76.793946, 39.306834 ], [ -76.794031, 39.306798 ], [ -76.794191, 39.306785 ], [ -76.794466, 39.306797 ], [ -76.794799, 39.306784 ], [ -76.795125, 39.306758 ], [ -76.795374, 39.306682 ], [ -76.795537, 39.306617 ], [ -76.795724, 39.306508 ], [ -76.796009, 39.306236 ], [ -76.796228, 39.306067 ], [ -76.796342, 39.305994 ], [ -76.796457, 39.305885 ], [ -76.796597, 39.305659 ], [ -76.796632, 39.305571 ], [ -76.79663, 39.305509 ], [ -76.79661, 39.305363 ], [ -76.796511, 39.305045 ], [ -76.796813, 39.304922 ], [ -76.797816, 39.304469 ], [ -76.798116, 39.304336 ], [ -76.798508, 39.304148 ], [ -76.799366, 39.30368 ], [ -76.79965, 39.30351 ], [ -76.800132, 39.303201 ], [ -76.800334, 39.30305 ], [ -76.800733, 39.302713 ], [ -76.800925, 39.302541 ], [ -76.801301, 39.302162 ], [ -76.801466, 39.301987 ], [ -76.801671, 39.301754 ], [ -76.801858, 39.301536 ], [ -76.80232, 39.300924 ], [ -76.802529, 39.300667 ], [ -76.802903, 39.300245 ], [ -76.803197, 39.299922 ], [ -76.803516, 39.299612 ], [ -76.803887, 39.299305 ], [ -76.80437, 39.298958 ], [ -76.804845, 39.29867 ], [ -76.805352, 39.298397 ], [ -76.805996, 39.29812 ], [ -76.806617, 39.297886 ], [ -76.807251, 39.297667 ], [ -76.807798, 39.29751 ], [ -76.808441, 39.297349 ], [ -76.809147, 39.297208 ], [ -76.809798, 39.297097 ], [ -76.810484, 39.29699 ], [ -76.811238, 39.296891 ], [ -76.811748, 39.296846 ], [ -76.812737, 39.296736 ], [ -76.813301, 39.29669 ], [ -76.814143, 39.296617 ], [ -76.815314, 39.296609 ], [ -76.816029, 39.29661 ], [ -76.816749, 39.29665 ], [ -76.817691, 39.296753 ], [ -76.818141, 39.296779 ], [ -76.818386, 39.296794 ], [ -76.818628, 39.296804 ], [ -76.818861, 39.296805 ], [ -76.81962, 39.296781 ], [ -76.820341, 39.29674 ], [ -76.821557, 39.296627 ], [ -76.822439, 39.296584 ], [ -76.823306, 39.296569 ], [ -76.824645, 39.296599 ], [ -76.824856, 39.296598 ], [ -76.825503, 39.296619 ], [ -76.82605, 39.296617 ], [ -76.826506, 39.296623 ], [ -76.833032, 39.296569 ], [ -76.834454, 39.296513 ], [ -76.835779, 39.296463 ], [ -76.837182, 39.296414 ], [ -76.840925, 39.296269 ], [ -76.846458, 39.296053 ], [ -76.847385, 39.296009 ], [ -76.848616, 39.295953 ], [ -76.85006, 39.295947 ], [ -76.851894, 39.295995 ], [ -76.853487, 39.296105 ], [ -76.854745, 39.296225 ], [ -76.855258, 39.29629 ], [ -76.855857, 39.29638 ], [ -76.856944, 39.296531 ], [ -76.857948, 39.296713 ], [ -76.85898, 39.296931 ], [ -76.859642, 39.297082 ], [ -76.8603, 39.297254 ], [ -76.861513, 39.297574 ], [ -76.862788, 39.29796 ], [ -76.864048, 39.298387 ], [ -76.865139, 39.298813 ], [ -76.86639, 39.299345 ], [ -76.867603, 39.299888 ], [ -76.86793, 39.300013 ], [ -76.868661, 39.300336 ], [ -76.869016, 39.300494 ], [ -76.869593, 39.300737 ], [ -76.870822, 39.301262 ], [ -76.87273, 39.302082 ], [ -76.87337, 39.302359 ], [ -76.874166, 39.302697 ], [ -76.874962, 39.303044 ], [ -76.875485, 39.303304 ], [ -76.875803, 39.303442 ], [ -76.876392, 39.303677 ], [ -76.876493, 39.303717 ], [ -76.876886, 39.303853 ], [ -76.877627, 39.304125 ], [ -76.878326, 39.304351 ], [ -76.878916, 39.304525 ], [ -76.879667, 39.304732 ], [ -76.880261, 39.304878 ], [ -76.880578, 39.304954 ], [ -76.88072, 39.304984 ], [ -76.880733, 39.305174 ], [ -76.880735, 39.305263 ], [ -76.880547, 39.305504 ], [ -76.879848, 39.305738 ], [ -76.87922, 39.305965 ], [ -76.877891, 39.306433 ], [ -76.877241, 39.306642 ], [ -76.87623, 39.306966 ], [ -76.875149, 39.307313 ], [ -76.874586, 39.3075 ], [ -76.870653, 39.308758 ], [ -76.87045, 39.308843 ], [ -76.870392, 39.30884 ], [ -76.869161, 39.308786 ], [ -76.869153, 39.308799 ], [ -76.869122, 39.308816 ], [ -76.869013, 39.308862 ], [ -76.868485, 39.309055 ], [ -76.867978, 39.309239 ], [ -76.867705, 39.309347 ], [ -76.867261, 39.309502 ], [ -76.866102, 39.309894 ], [ -76.866101, 39.309894 ], [ -76.865669, 39.310066 ], [ -76.864234, 39.310568 ], [ -76.863039, 39.310937 ], [ -76.862618, 39.311062 ], [ -76.86255, 39.311114 ], [ -76.862538, 39.311172 ], [ -76.862581, 39.311225 ], [ -76.862677, 39.311297 ], [ -76.862787, 39.311386 ], [ -76.862929, 39.311549 ], [ -76.863046, 39.311741 ], [ -76.863144, 39.311933 ], [ -76.863206, 39.312082 ], [ -76.863267, 39.312264 ], [ -76.86331, 39.31248 ], [ -76.86334, 39.312713 ], [ -76.863359, 39.313026 ], [ -76.863314, 39.313502 ], [ -76.863203, 39.314109 ], [ -76.863106, 39.314569 ], [ -76.863049, 39.31484 ] ] ] } },
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: all I changed here is renaming the field GEOID10_TRACT as GEOID10. This is more realistic. And also, it will otherwise yell at us now that I set errors="raise" in

tract_data = tract_data.rename(
        columns={"GEOID10": "GEOID10_TRACT"}, errors="raise"
    )

Copy link
Contributor

@mattbowen-usds mattbowen-usds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this is quite nice. I stepped through the ETL and made sure I understood why it was going what it was doing, and I do have one legit question about the suppressed warning, but overall this is great.

def add_tracts_for_geometries(
df: gpd.GeoDataFrame, _tract_data_path: Optional[Path] = None
df: gpd.GeoDataFrame, tract_data: Optional[gpd.GeoDataFrame] = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haha I did not expect this to end up used this way, but now I'm glad it existed and could be easily adapted to this new use case.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was awesome! loved reusable code!

@@ -106,6 +106,8 @@ def etl_runner(dataset_to_run: str = None) -> None:
# Otherwise, the exceptions are silently ignored.
fut.result()

# Note: these high-memory datasets also usually require the Census geojson to be
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Helpful, thank you.


# Create a measure for the entire census tract area
with warnings.catch_warnings():
# Note: geopandas will (helpfully) warn that area is not a useful metric
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran the line and got this warning:

UserWarning: keep_geom_type=Truein overlay resulted in 348 dropped geometries of different geometry types than df1 has. Setkeep_geom_type=False to retain all geometries

That was not the warning I expected (I thought it would complain about projected vs geographic CRS. Both DFs have CRSes (they're both in WSG 84/EPSG:4326), so there wouldn't be a mismatch. Any idea what that warning is about? Also I feel like the comment suggests something else is going on.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh shoot! That is an error I missed. I built this using a subset file of the tracts to improve speed of development, it must not have been present in the subset I used.

Overlay requires the same geometry types, but it treats MultiPolygon and Polygon as compatible.

Because we drop the points in line 101 to create tribal_gdf_without_points, I wasn't expecting warnings. It turns out that there are some Tribal areas with a "none" geography type. I'm updating them now to fix!

I'm also more aggressively restricting the filter so it doesn't suppress other helpful warnings like this in the future.

Nice catch @mattbowen-usds !!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mattbowen-usds -- I honestly have no idea what's going on here. I pushed some new code that removes both the Points and the None from tribal_gdf.

But, the warning is still there, even though it should be polygon/multipolygon to polygon/multipolygon, which should be fine.

Further, it says 348 dropped geometries -- which is more than the rows in tribal_gdf_without_points!

If this is urgent to get in Monday, do you mind investigating a little bit while I'm out?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From my commit

I looked into this a bit, and in general the geometry type mismatch
changes very little about the calculation; we have a mix of
multipolygons and polygons. The fastest thing to do is just not keep
geom type; I did some runs with it set to both True and False, and
they're the same within 9 digits of precision. Logically we just want to
overlaps, regardless of how the actual geometries are encoded between
the frames, so we can in this case ignore the geom types and feel OKAY.

I changed it to ignore the geometry types because that is what makes sense to me after really digging into it, and also it basically doesn't matter; whatever was dropping before is a TINY (< .00000001%) amount of actual area.

Copy link
Contributor

@esfoobar-usds esfoobar-usds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍏 with some small comments

as `poetry run tox`.

Each run can take a while to build the whole environment. If you'd like to save time,
you can use the previously built environment by running `poetry run tox -e lint`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't know this one!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a @sverchdotgov discovery!

return tract_data


@lru_cache()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am curious about the usage of lru_cache here. Is this function called multiple times?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am guessing he was following the convention get_tract_geojson, and i was like "well, it won't hurt, since it is expensive. I believe at this time it isn't, so I'm good to drop the cache untel we need ot/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@esfoobar-usds @mattbowen-usds yes exactly I was just following conventions. Do we want to delete @lru_cache from both functions, or keep it on both?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is actually useful on get_tract_geojson, so I vote keep it. And I'm about to merge so it's stayin'

Comment on lines +64 to +65
"LARID": field_names.TRIBAL_ID,
"LARName": field_names.TRIBAL_LAND_AREA_NAME,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

Comment on lines +95 to +96
"OBJECTID": field_names.TRIBAL_ID,
"Land_Area_": field_names.TRIBAL_LAND_AREA_NAME,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto!

Comment on lines 26 to 39
"10",
"11",
"13",
"15",
"17",
"18",
"21",
"24",
"33",
"34",
"39",
"50",
"51",
"54",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we document why this is?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lol I honestly have no idea either, so I'll give that to @lucasmbrown-usds --- my best guess is those states have no tribal lands in them.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes exactly. I'll add a comment though, awesome point @esfoobar-usds that we should be commenting these.

lucasmbrown-usds and others added 9 commits September 19, 2022 16:27
I looked into this a bit, and in general the geometry type mismatch
changes very little about the calculation; we have a mix of
multipolygons and polygons. The fastest thing to do is just not keep
geom type; I did some runs with it set to both True and False, and
they're the same within 9 digits of precision. Logically we just want to
overlaps, regardless of how the actual geometries are encoded between
the frames, so we can in this case ignore the geom types and feel OKAY.

I also moved to projected CRSes, since we are actually trying to do area
calculations and so like, we should. Again, the change is small in
magnitude but logically more sound.
@mattbowen-usds mattbowen-usds force-pushed the issue-1900-tribal-overlap branch from f8f05aa to 52446b1 Compare September 19, 2022 20:37
@mattbowen-usds mattbowen-usds merged commit aca2261 into emma-nechamkin/release/score-narwhal Sep 20, 2022
@mattbowen-usds mattbowen-usds deleted the issue-1900-tribal-overlap branch September 20, 2022 18:53
mattbowen-usds added a commit that referenced this pull request Dec 2, 2022
* Create deploy_be_staging.yml (#1575)

* Imputing income using geographic neighbors (#1559)

Imputes income field with a light refactor. Needs more refactor and more tests (I spotchecked). Next ticket will check and address but a lot of "narwhal" architecture is here.

* Adding HOLC indicator (#1579)

Added HOLC indicator (Historic Redlining Score) from NCRC work; included 3.25 cutoff and low income as part of the housing burden category.

* Update backend for Puerto Rico (#1686)

* Update PR threshold count to 10

We now show 10 indicators for PR. See the discussion on the github issue for more info: #1621

* Do not use linguistic iso for Puerto Rico

Closes 1350.

Co-authored-by: Shelby Switzer <shelbyswitzer@gmail.com>

* updating

* Do not drop Guam and USVI from ETL (#1681)

* Remove code that drops Guam and USVI from ETL

* Add back code for dropping rows by FIPS code

We may want this functionality, so let's keep it and just make the constant currently be an empty array.

Co-authored-by: Shelby Switzer <shelbyswitzer@gmail.com>

* Emma nechamkin/holc patch (#1742)

Removing HOLC calculation from score narwhal.

* updating ejscreen data, try two (#1747)

* Rescaling linguistic isolation  (#1750)

Rescales linguistic isolation to drop puerto rico

* adds UST indicator (#1786)

adds leaky underground storage tanks

* Changing LHE in tiles to a boolean (#1767)

also includes merging / clean up of the release

* added indoor plumbing to chas

* added indoor plumbing to score housing burden

* added indoor plumbing to score housing burden

* first run through

* Refactor DOE Energy Burden and COI to use YAML (#1796)

* added tribalId for Supplemental dataset (#1804)

* Setting zoom levels for tribal map (#1810)

* NRI dataset and initial score YAML configuration (#1534)

* update be staging gha

* NRI dataset and initial score YAML configuration

* checkpoint

* adding data checks for release branch

* passing tests

* adding INPUT_EXTRACTED_FILE_NAME to base class

* lint

* columns to keep and tests

* update be staging gha

* checkpoint

* update be staging gha

* NRI dataset and initial score YAML configuration

* checkpoint

* adding data checks for release branch

* passing tests

* adding INPUT_EXTRACTED_FILE_NAME to base class

* lint

* columns to keep and tests

* checkpoint

* PR Review

* renoving source url

* tests

* stop execution of ETL if there's a YAML schema issue

* update be staging gha

* adding source url as class var again

* clean up

* force cache bust

* gha cache bust

* dynamically set score vars from YAML

* docsctrings

* removing last updated year - optional reverse percentile

* passing tests

* sort order

* column ordening

* PR review

* class level vars

* Updating DatasetsConfig

* fix pylint errors

* moving metadata hint back to code

Co-authored-by: lucasmbrown-usds <lucas.m.brown@omb.eop.gov>

* Correct copy typo (#1809)

* Add basic test suite for COI (#1518)

* Update COI to use new yaml (#1518)

* Add tests for DOE energy budren (1518

* Add dataset config for energy budren (1518)

* Refactor ETL to use datasets.yml (#1518)

* Add fake GEOIDs to COI tests (#1518)

* Refactor _setup_etl_instance_and_run_extract to base (#1518)

For the three classes we've done so far, a generic
_setup_etl_instance_and_run_extract will work fine, for the moment we
can reuse the same setup method until we decide future classes need more
flexibility --- but they can also always subclass so...

* Add output-path tests (#1518)

* Update YAML to match constant (#1518)

* Don't blindly set float format (#1518)

* Add defaults for extract (#1518)

* Run YAML load on all subclasses (#1518)

* Update description fields (#1518)

* Update YAML per final format (#1518)

* Update fixture tract IDs (#1518)

* Update base class refactor (#1518)

Now that NRI is final I needed to make a small number of updates to my
refactored code.

* Remove old comment (#1518)

* Fix type signature and return (#1518)

* Update per code review (#1518)

Co-authored-by: Jorge Escobar <83969469+esfoobar-usds@users.noreply.github.com>
Co-authored-by: lucasmbrown-usds <lucas.m.brown@omb.eop.gov>
Co-authored-by: Vim <86254807+vim-usds@users.noreply.github.com>

* Update etl_score_geo.py

Yikes! Fixing merge messup!

* Create deploy_be_staging.yml (#1575)

* Imputing income using geographic neighbors (#1559)

Imputes income field with a light refactor. Needs more refactor and more tests (I spotchecked). Next ticket will check and address but a lot of "narwhal" architecture is here.

* Adding HOLC indicator (#1579)

Added HOLC indicator (Historic Redlining Score) from NCRC work; included 3.25 cutoff and low income as part of the housing burden category.

* Update backend for Puerto Rico (#1686)

* Update PR threshold count to 10

We now show 10 indicators for PR. See the discussion on the github issue for more info: #1621

* Do not use linguistic iso for Puerto Rico

Closes 1350.

Co-authored-by: Shelby Switzer <shelbyswitzer@gmail.com>

* updating

* Do not drop Guam and USVI from ETL (#1681)

* Remove code that drops Guam and USVI from ETL

* Add back code for dropping rows by FIPS code

We may want this functionality, so let's keep it and just make the constant currently be an empty array.

Co-authored-by: Shelby Switzer <shelbyswitzer@gmail.com>

* Emma nechamkin/holc patch (#1742)

Removing HOLC calculation from score narwhal.

* updating ejscreen data, try two (#1747)

* Rescaling linguistic isolation  (#1750)

Rescales linguistic isolation to drop puerto rico

* adds UST indicator (#1786)

adds leaky underground storage tanks

* Changing LHE in tiles to a boolean (#1767)

also includes merging / clean up of the release

* added indoor plumbing to chas

* added indoor plumbing to score housing burden

* added indoor plumbing to score housing burden

* first run through

* Refactor DOE Energy Burden and COI to use YAML (#1796)

* added tribalId for Supplemental dataset (#1804)

* Setting zoom levels for tribal map (#1810)

* NRI dataset and initial score YAML configuration (#1534)

* update be staging gha

* NRI dataset and initial score YAML configuration

* checkpoint

* adding data checks for release branch

* passing tests

* adding INPUT_EXTRACTED_FILE_NAME to base class

* lint

* columns to keep and tests

* update be staging gha

* checkpoint

* update be staging gha

* NRI dataset and initial score YAML configuration

* checkpoint

* adding data checks for release branch

* passing tests

* adding INPUT_EXTRACTED_FILE_NAME to base class

* lint

* columns to keep and tests

* checkpoint

* PR Review

* renoving source url

* tests

* stop execution of ETL if there's a YAML schema issue

* update be staging gha

* adding source url as class var again

* clean up

* force cache bust

* gha cache bust

* dynamically set score vars from YAML

* docsctrings

* removing last updated year - optional reverse percentile

* passing tests

* sort order

* column ordening

* PR review

* class level vars

* Updating DatasetsConfig

* fix pylint errors

* moving metadata hint back to code

Co-authored-by: lucasmbrown-usds <lucas.m.brown@omb.eop.gov>

* Correct copy typo (#1809)

* Add basic test suite for COI (#1518)

* Update COI to use new yaml (#1518)

* Add tests for DOE energy budren (1518

* Add dataset config for energy budren (1518)

* Refactor ETL to use datasets.yml (#1518)

* Add fake GEOIDs to COI tests (#1518)

* Refactor _setup_etl_instance_and_run_extract to base (#1518)

For the three classes we've done so far, a generic
_setup_etl_instance_and_run_extract will work fine, for the moment we
can reuse the same setup method until we decide future classes need more
flexibility --- but they can also always subclass so...

* Add output-path tests (#1518)

* Update YAML to match constant (#1518)

* Don't blindly set float format (#1518)

* Add defaults for extract (#1518)

* Run YAML load on all subclasses (#1518)

* Update description fields (#1518)

* Update YAML per final format (#1518)

* Update fixture tract IDs (#1518)

* Update base class refactor (#1518)

Now that NRI is final I needed to make a small number of updates to my
refactored code.

* Remove old comment (#1518)

* Fix type signature and return (#1518)

* Update per code review (#1518)

Co-authored-by: Jorge Escobar <83969469+esfoobar-usds@users.noreply.github.com>
Co-authored-by: lucasmbrown-usds <lucas.m.brown@omb.eop.gov>
Co-authored-by: Vim <86254807+vim-usds@users.noreply.github.com>

* Update etl_score_geo.py

Yikes! Fixing merge messup!

* updated to fix linting errors (#1818)

Cleans and updates base branch

* Adding back MapComparison video

* Add FUDS ETL (#1817)

* Add spatial join method (#1871)

Since we'll need to figure out the tracts for a large number of points
in future tickets, add a utility to handle grabbing the tract geometries
and adding tract data to a point dataset.

* Add FUDS, also jupyter lab (#1871)

* Add YAML configs for FUDS (#1871)

* Allow input geoid to be optional (#1871)

* Add FUDS ETL, tests, test-datae noteobook (#1871)

This adds the ETL class for Formerly Used Defense Sites (FUDS). This is
different from most other ETLs since these FUDS are not provided by
tract, but instead by geographic point, so we need to assign FUDS to
tracts and then do calculations from there.

* Floats -> Ints, as I intended (#1871)

* Floats -> Ints, as I intended (#1871)

* Formatting fixes (#1871)

* Add test false positive GEOIDs (#1871)

* Add gdal binaries (#1871)

* Refactor pandas code to be more idiomatic (#1871)

Per Emma, the more pandas-y way of doing my counts is using np.where to
add the values i need, then groupby and size. It is definitely more
compact, and also I think more correct!

* Update configs per Emma suggestions (#1871)

* Type fixed! (#1871)

* Remove spurious import from vscode (#1871)

* Snapshot update after changing col name (#1871)

* Move up GDAL (#1871)

* Adjust geojson strategy (#1871)

* Try running census separately first (#1871)

* Fix import order (#1871)

* Cleanup cache strategy (#1871)

* Download census data from S3 instead of re-calculating (#1871)

* Clarify pandas code per Emma (#1871)

* Disable markdown check for link

* Adding DOT composite to travel score (#1820)

This adds the DOT dataset to the ETL and to the score. Note that currently we take a percentile of an average of percentiles.

* Adding first street foundation data (#1823)

Adding FSF flood and wildfire risk datasets to the score.

* first run -- adding NCLD data to the ETL, but not yet to the score

* Add abandoned mine lands data (#1824)

* Add notebook to generate test data (#1780)

* Add Abandoned Mine Land data (#1780)

Using a similar structure but simpler apporach compared to FUDs, add an
indicator for whether a tract has an abandonded mine.

* Adding some detail to dataset readmes

Just a thought!

* Apply feedback from revieiw (#1780)

* Fixup bad string that broke test (#1780)

* Update a string that I should have renamed (#1780)

* Reduce number of threads to reduce memory pressure (#1780)

* Try not running geo data (#1780)

* Run the high-memory sets separately (#1780)

* Actually deduplicate (#1780)

* Add flag for memory intensive ETLs (#1780)

* Document new flag for datasets (#1780)

* Add flag for new datasets fro rebase (#1780)

Co-authored-by: Emma Nechamkin <97977170+emma-nechamkin@users.noreply.github.com>

* Adding NLCD data (#1826)

Adding NLCD's natural space indicator end to end to the score.

* Add donut hole calculation to score (#1828)

Adds adjacency index to the pipeline. Requires thorough QA

* Adding eamlis and fuds data to legacy pollution in score (#1832)

Update to add EAMLIS and FUDS data to score

* Update to use new FSF files (#1838)

backend is partially done!

* Quick fix to kitchen or plumbing indicator

Yikes! I think I messed something up and dropped the pctile field suffix from when the KP score gets calculated. Fixing right quick.

* Fast flag update (#1844)

Added additional flags for the front end based on our conversation in stand up this morning.

* Tiles fix (#1845)

Fixes score-geo and adds flags

* Update etl_score_geo.py

* Issue 1827: Add demographics to tiles and download files (#1833)

* Adding demographics for use in sidebar and download files

* Updates backend constants to N (#1854)

* updated to show T/F/null vs T/F for AML and FUDS (#1866)

* fix markdown

* just testing that the boolean is preserved on gha

* checking drop tracts works

* OOPS!

Old changes persisted

* adding a check to the agvalue calculation for nri

* updated with error messages

* updated error message

* tuple type

* Score tests (#1847)

* update Python version on README; tuple typing fix

* Alaska tribal points fix (#1821)

* Bump mistune from 0.8.4 to 2.0.3 in /data/data-pipeline (#1777)

Bumps [mistune](https://github.com/lepture/mistune) from 0.8.4 to 2.0.3.
- [Release notes](https://github.com/lepture/mistune/releases)
- [Changelog](https://github.com/lepture/mistune/blob/master/docs/changes.rst)
- [Commits](lepture/mistune@v0.8.4...v2.0.3)

---
updated-dependencies:
- dependency-name: mistune
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* poetry update

* initial pass of score tests

* add threshold tests

* added ses threshold (not donut, not island)

* testing suite -- stopping for the day

* added test for lead proxy indicator

* Refactor score tests to make them less verbose and more direct (#1865)

* Cleanup tests slightly before refactor (#1846)

* Refactor score calculations tests

* Feedback from review

* Refactor output tests like calculatoin tests (#1846) (#1870)

* Reorganize files (#1846)

* Switch from lru_cache to fixture scorpes (#1846)

* Add tests for all factors (#1846)

* Mark smoketests and run as part of be deply (#1846)

* Update renamed var (#1846)

* Switch from named tuple to dataclass (#1846)

This is annoying, but pylint in python3.8 was crashing parsing the named
tuple. We weren't using any namedtuple-specific features, so I made the
type a dataclass just to get pylint to behave.

* Add default timout to requests (#1846)

* Fix type (#1846)

* Fix merge mistake on poetry.lock (#1846)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Jorge Escobar <jorge.e.escobar@omb.eop.gov>
Co-authored-by: Jorge Escobar <83969469+esfoobar-usds@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matt Bowen <83967628+mattbowen-usds@users.noreply.github.com>
Co-authored-by: matt bowen <matthew.r.bowen@omb.eop.gov>

* just testing that the boolean is preserved on gha (#1867)

* updated with hopefully a fix; coercing aml, fuds, hrs to booleans for the raw value to preserve null character.

* Adding tests to ensure proper calculations (#1871)

* just testing that the boolean is preserved on gha
* checking drop tracts works
* adding a check to the agvalue calculation for nri
* updated with error messages

* tribal tiles fix (#1874)

* Alaska tribal points fix (#1821)

* tribal tiles fix

* disabling child opportunity

* lint

* removing COI

* removing commented out code

* Pipeline tile tests (#1864)

* temp update

* updating with fips check

* adding check on pfs

* updating with pfs test

* Update test_tiles_smoketests.py

* Fix lint errors (#1848)

* Add column names test (#1848)

* Mark tests as smoketests (#1848)

* Move to other score-related tests (#1848)

* Recast Total threshold criteria exceeded to int (#1848)

In writing tests to verify the output of the tiles csv matches the final
score CSV, I noticed TC/Total threshold criteria exceeded was getting
cast from an int64 to a float64 in the process of PostScoreETL. I
tracked it down to the line where we merge the score dataframe with
constants.DATA_CENSUS_CSV_FILE_PATH --- there where > 100 tracts in the
national census CSV that don't exist in the score, so those ended up
with a Total threshhold count of np.nan, which is a float, and thereby
cast those columns to float. For the moment I just cast it back.

* No need for low memeory (#1848)

* Add additional tests of tiles.csv (#1848)

* Drop pre-2010 rows before computing score (#1848)

Note this is probably NOT the optimal place for this change; it might
make more sense for each source to filter its own tracts down to the
acceptable tract list. However, that would be a pretty invasive change,
where this is central and plenty of other things are happening in score
transform that could be moved to sources, so for today, here's where the
change will live.

* Fix typo (#1848)

* Switch from filter to inner join (#1848)

* Remove no-op lines from tiles (#1848)

* Apply feedback from review, linter (#1848)

* Check the values oeverything in the frame (#1848)

* Refactor checker class (#1848)

* Add test for state names (#1848)

* cleanup from reviewing my own code (#1848)

* Fix lint error (#1858)

* Apply Emma's feedback from review (#1848)

* Remove refs to national_df (#1848)

* Account for new, fake nullable bools in tiles (#1848)

To handle a geojson limitation, Emma converted some nullable boolean
colunms to float64 in the tiles export with the values {0.0, 1.0, nan},
giving us the same expressiveness. Sadly, this broke my assumption that
all columns between the score and tiles csvs would have the same dtypes,
so I need to account for these new, fake bools in my test.

* Use equals instead of my worse version (#1848)

* Missed a spot where we called _create_score_data (#1848)

* Update per safety (#1848)

Co-authored-by: matt bowen <matthew.r.bowen@omb.eop.gov>

* Add tests to make sure each source makes it to the score correctly (#1878)

* Remove unused persistent poverty from score (#1835)

* Test a few datasets for overlap in the final score (#1835)

* Add remaining data sources (#1853)

* Apply code-review feedback (#1835)

* Rearrange a little for readabililty (#1835)

* Add tract test (#1835)

* Add test for score values (#1835)

* Check for unmatched source tracts (#1835)

* Cleanup numeric code to plaintext (#1835)

* Make import more obvious (#1835)

* Updating traffic barriers to include low pop threshold (#1889)

Changing the traffic barriers to only be included for places with recorded population

* Remove no land tracts from map (#1894)

remove from map

* Issue 1831: missing life expectancy data from Maine and Wisconsin (#1887)

* Fixing missing states and adding tests for states to all classes

* Removing low pop tracts from FEMA population loss (#1898)

dropping 0 population from FEMA

* 1831 Follow up (#1902)

This code causes no functional change to the code. It does two things:

1. Uses difference instead of - to improve code style for working with sets.

2. Removes the line EXPECTED_MISSING_STATES = ["02", "15"], which is now redundant because of the line I added (in a previous pull request) of ALASKA_AND_HAWAII_EXPECTED_IN_DATA = False.

* Add tests for all non-census sources (#1899)

* Refactor CDC life-expectancy (1554)

* Update to new tract list (#1554)

* Adjust for tests (#1848)

* Add tests for cdc_places (#1848)

* Add EJScreen tests (#1848)

* Add tests for HUD housing (#1848)

* Add tests for GeoCorr (#1848)

* Add persistent poverty tests (#1848)

* Update for sources without zips, for new validation (#1848)

* Update tests for new multi-CSV but (#1848)

Lucas updated the CDC life expectancy data to handle a bug where two
states are missing from the US Overall download. Since virtually none of
our other ETL classes download multiple CSVs directly like this, it
required a pretty invasive new mocking strategy.

* Add basic tests for nature deprived (#1848)

* Add wildfire tests (#1848)

* Add flood risk tests (#1848)

* Add DOT travel tests (#1848)

* Add historic redlining tests (#1848)

* Add tests for ME and WI (#1848)

* Update now that validation exists (#1848)

* Adjust for validation (#1848)

* Add health insurance back to cdc places (#1848)

Ooops

* Update tests with new field (#1848)

* Test for blank tract removal (#1848)

* Add tracts for clipping behavior

* Test clipping and zfill behavior (#1848)

* Fix bad test assumption (#1848)

* Simplify class, add test for tract padding (#1848)

* Fix percentage inversion, update tests (#1848)

Looking through the transformations, I noticed that we were subtracting
a percentage that is usually between 0-100 from 1 instead of 100, and so
were endind up with some surprising results. Confirmed with lucasmbrown-usds

* Add note about first street data (#1848)

* Issue 1900: Tribal overlap with Census tracts (#1903)

* working notebook

* updating notebook

* wip

* fixing broken tests

* adding tribal overlap files

* WIP

* WIP

* WIP, calculated count and names

* working

* partial cleanup

* partial cleanup

* updating field names

* fixing bug

* removing pyogrio

* removing unused imports

* updating test fixtures to be more realistic

* cleaning up notebook

* fixing black

* fixing flake8 errors

* adding tox instructions

* updating etl_score

* suppressing warning

* Use projected CRSes, ignore geom types (#1900)

I looked into this a bit, and in general the geometry type mismatch
changes very little about the calculation; we have a mix of
multipolygons and polygons. The fastest thing to do is just not keep
geom type; I did some runs with it set to both True and False, and
they're the same within 9 digits of precision. Logically we just want to
overlaps, regardless of how the actual geometries are encoded between
the frames, so we can in this case ignore the geom types and feel OKAY.

I also moved to projected CRSes, since we are actually trying to do area
calculations and so like, we should. Again, the change is small in
magnitude but logically more sound.

* Readd CDC dataset config (#1900)

* adding comments to fips code

* delete unnecessary loggers

Co-authored-by: matt bowen <matthew.r.bowen@omb.eop.gov>

* Improve score test documentation based on Lucas's feedback (#1835) (#1914)

* Better document base on Lucas's feedback (#1835)

* Fix typo (#1835)

* Add test to verify GEOJSON matches tiles (#1835)

* Remove NOOP line (#1835)

* Move GEOJSON generation up for new smoketest (#1835)

* Fixup code format (#1835)

* Update readme for new somketest (#1835)

* Cleanup source tests (#1912)

* Move test to base for broader coverage (#1848)

* Remove duplicate line (#1848)

* FUDS needed an extra mock (#1848)

* Add tribal count notebook (#1917) (#1919)

* Add tribal count notebook (#1917)

* test without caching

* added comment

Co-authored-by: lucasmbrown-usds <lucas.m.brown@omb.eop.gov>

* Add tribal overlap to downloads (#1907)

* Add tribal data to downloads (#1904)

* Update test pickle with current cols (#1904)

* Remove text of tribe names from GeoJSON (#1904)

* Update test data (#1904)

* Add tribal overlap to smoketests (#1904)

* Issue 1910: Do not impute income for 0 population tracts (#1918)

* should be working, has unnecessary loggers

* removing loggers and cleaning up

* updating ejscreen tests

* adding tests and responding to PR feedback

* fixing broken smoke test

* delete smoketest docs

* updating click

* updating click

* Bump just jupyterlab (#1930)

* Fixing link checker (#1929)

* Update deps safety says are vulnerable (#1937) (#1938)

Co-authored-by: matt bowen <matt@mattbowen.net>

* Add demos for island areas (#1932)

* Backfill population in island areas (#1882)

* Update smoketest to account for backfills (#1882)

As I wrote in the commend:
We backfill island areas with data from the 2010 census, so if THOSE tracts
have data beyond the data source, that's to be expected and is fine to pass.
If some other state or territory does though, this should fail

This ends up being a nice way of documenting that behavior i guess!

* Fixup lint issues (#1882)

* Add in race demos to 2010 census pull (#1851)

* Add backfill data to score (#1851)

* Change column name (#1851)

* Fill demos after the score (#1851)

* Add income back, adjust test (#1882)

* Apply code-review feedback (#1851)

* Add test for island area backfill (#1851)

* Fix bad rename (#1851)

* Reorder download fields, add plumbing back (#1942)

* Add back lack of plumbing fields (#1920)

* Reorder fields for excel (#1921)

* Reorder excel fields (#1921)

* Fix formating, lint errors, pickes (#1921)

* Add missing plumbing col, fix order again (#1921)

* Update that pickle (#1921)

* refactoring tribal (#1960)

* updated with scoring comparison

* updated for narhwal -- leaving commented code in for now

* pydantic upgrade

* produce a string for the front end to ingest (#1963)

* wip

* i believe this works -- let's see the pipeline

* updated fixtures

* Adding ADJLI_ET (#1976)

* updated tile data

* ensuring adjli_et in

* Add back income percentile (#1977)

* Add missing field to download (#1964)

* Remove pydantic since it's unused (#1964)

* Add percentile to CSV (#1964)

* Update downloadable pickle (#1964)

* Issue 105: Configure and run `black` and other pre-commit hooks (clean branch) (#1962)

* Configure and run `black` and other pre-commit hooks

Co-authored-by: matt bowen <matthew.r.bowen@omb.eop.gov>

* Removing fixed python version for black (#1985)

* Fixup TA_COUNT and TA_PERC (#1991)

* Change TA_PERC, change TA_COUNT (#1988, #1989)

- Make TA_PERC_STR back into a nullable float following the rules
  requestsed in #1989
- Move TA_COUNT to be TA_COUNT_AK, also add a null TA_COUNT_C for CONUS
  that we can fill in later.

* Fix typo comment (#1988)

* Issue 1992: Do not impute income for null population tracts (#1993)

* Hotfix for DOT data source DNS issue (#1999)

* Make tribal overlap set score N (#2004)

* Add "Is a Tribal DAC" field (#1998)

* Add tribal DACs to score N final (#1998)

* Add new fields to downloads (#1998)

* Make a int a float (#1998)

* Update field names, apply feedback (#1998)

* Add assertions around codebook (#2014)

* Add assertion around codebook (#1505)

* Assert csv and excel have same cols (#1505)

* Remove suffixes from tribal lands (#1974) (#2008)

* Data source location (#2015)

* data source location

* toml

* cdc_places

* cdc_svi_index

* url updates

* child oppy and dot travel

* up to hud_recap

* completed ticket

* cache bust

* hud_recap

* us_army_fuds

* Remove vars the frontend doesn't use (#2020) (#2022)

I did a pretty rough and simple analysis of the variables we put in the
tiles and grepped the frontend code to see if (1) they're ever accessed
and (2) if they're used, even if they're read once. I removed everything
I noticed was not accessed.

* Disable file size limits on tiles (#2031)

* Disable file size limits on tiles

* Remove print debugs

I know.

* Update file name pattern (#2037) (#2038)

* Update file name pattern (#2037)

* Remove ETL from generation (2037)

I looked more carefully, and this ETL step isn't used in the score, so
there's no need to run it every time. Per previous steps, I removed it
from constants so the code is there it won't run by default.

* Round ALL the float fields for the tiles (#2040)

* Round ALL the float fields for the tiles (#2033)

* Floor in a simpler way (#2033)

Emma pointed out that all teh stuff we're doing in floor_series is
probably unnecessary for this case, so just use the built-in floor.

* Update pickle I missed (#2033)

* Clean commit of just aggregate burden notebook (#1819)

added a burden notebook

* Update the dockerfile (#2045)

* Update so the image builds (#2026)

* Fix bad dict (2026)

* Rename census tract field in downloads (#2068)

* Change tract ID field name (2060)

* Update lockfile (#2061)

* Bump safety, jupyter, wheel (#2061)

* DOn't depend directly on wheel (2061)

* Bring narwhal reqs in line with main

* Update tribal area counts (#2071)

* Rename tribal area field (2062)

* Add missing file (#2062)

* Add checks to create version (#2047) (#2052)

* Fix failing safety (#2114)

* Ignore vuln that doesn't affect us 2113

https://nvd.nist.gov/vuln/detail/CVE-2022-42969 landed recently and
there's no fix in py (which is maintenance mode). From my analysis, that
CVE cannot hurt us (famous last words), so we'll ignore the vuln for
now.

* 2113 Update our gdal ppa

* that didn't work (2113)

* Don't add the PPA, the package exists (#2113)

* Fix type (#2113)

* Force an update of wheel 2113

* Also remove PPA line from create-score-versions

* Drop 3.8 because of wheel 2113

* Put back 3.8, use newer actions

* Try another way of upgrading wheel 2113

* Upgrade wheel in tox too 2113

* Typo fix 2113

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Emma Nechamkin <97977170+emma-nechamkin@users.noreply.github.com>
Co-authored-by: Shelby Switzer <shelby.c.switzer@omb.eop.gov>
Co-authored-by: Shelby Switzer <shelbyswitzer@gmail.com>
Co-authored-by: Emma Nechamkin <Emma.J.Nechamkin@omb.eop.gov>
Co-authored-by: Matt Bowen <83967628+mattbowen-usds@users.noreply.github.com>
Co-authored-by: Jorge Escobar <83969469+esfoobar-usds@users.noreply.github.com>
Co-authored-by: lucasmbrown-usds <lucas.m.brown@omb.eop.gov>
Co-authored-by: Jorge Escobar <jorge.e.escobar@omb.eop.gov>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: matt bowen <matthew.r.bowen@omb.eop.gov>
Co-authored-by: matt bowen <matt@mattbowen.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants