Update client to request & display data
kellyi opened this issue ยท 9 comments
Set up the client to send shapes to the API endpoints, then render the data in the form of tiles on the map and charts using Victory.
TODO: update this task with more specifics once #3 is done.
Sample json data from the nlcd count endpoint:
{"0":5876,"11":1104326,"21":1939861,"22":925405,"23":446453,"24":201308,"31":44370,"41":3577365,"42":95673,"43":170741,"52":379237,"71":46700,"81":2452825,"82":3405198,"90":373180,"95":103976}
nlcd mapping from MMW
Sample json from the slope count endpoint:
{"0":4811315,"1":1905811,"3":566044,"5":302435,"6":168394,"8":114064,"10":74646,"12":51267,"14":36049,"15":26683,"17":18958,"19":14051,"21":10008,"23":7145,"24":5227,"26":3756,"28":2689,"30":1884,"32":1397,"34":974,"36":695,"38":489,"40":357,"42":260,"44":206,"46":171,"48":90,"50":74,"53":62,"55":51,"57":38,"60":38,"62":32,"64":29,"67":17,"70":27,"72":24,"75":11,"78":14,"80":11,"83":8,"86":2,"93":2}
keys will be variable & represent percentages
Sample json from soil group count endpoint:
{"1":1206694,"2":2516124,"3":901281,"4":279565,"6":551377,"7":494882,"-2147483648":2830387}
soil mapping from mmw https://github.com/WikiWatershed/model-my-watershed/blob/49a319212abc8a16681ce5e5d1c8b5213d7e5060/src/mmw/mmw/settings/tr55_settings.py#L30
sample soil slope count data
{"List(1, 24)":817,"List(2, 28)":3282,"List(2, 44)":250,"List(1, 10)":15259,"List(2, 75)":13,"List(1, 26)":596,"List(-2147483648, 19)":3496,"List(-2147483648, 0)":908122,"List(7, 24)":505,"List(4, 17)":990,"List(1, 8)":22182,"List(4, 30)":58,"List(3, 38)":140,"List(6, 90)":1,"List(3, 17)":5021,"List(6, 19)":1481,"List(2, 50)":81,"List(6, 62)":1,"List(6, 14)":3983,"List(1, 57)":12,"List(1, 53)":31,"List(7, 53)":4,"List(3, 15)":6841,"List(6, 24)":557,"List(4, 46)":12,"List(1, 21)":1822,"List(7, 34)":76,"List(6, 0)":296723,"List(7, 3)":51128,"List(-2147483648, 62)":14,"List(6, 119)":1,"List(6, 21)":1078,"List(1, 14)":7653,"List(-2147483648, 28)":782,"List(7, 78)":1,"List(7, 0)":213890,"List(4, 34)":26,"List(1, 17)":3809,"List(-2147483648, 96)":1,"List(7, 12)":5932,"List(7, 86)":1,"List(3, 44)":66,"List(7, 23)":703,"List(-2147483648, 103)":2,"List(-2147483648, 72)":12,"List(1, 44)":38,"List(1, 50)":24,"List(4, 1)":58178,"List(-2147483648, 36)":261,"List(3, 32)":393,"List(7, 10)":8712,"List(-2147483648, 23)":1823,"List(2, 15)":30909,"List(4, 12)":3249,"List(2, 1)":694588,"List(2, 62)":22,"List(6, 50)":1,"List(-2147483648, 44)":69,"List(2, 19)":16850,"List(3, 1)":234817,"List(1, 0)":403379,"List(6, 46)":10,"List(4, 62)":2,"List(2, 80)":13,"List(2, 12)":56179,"List(-2147483648, 115)":2,"List(2, 72)":14,"List(7, 17)":1948,"List(7, 32)":128,"List(-2147483648, 57)":20,"List(-2147483648, 40)":158,"List(2, 127)":1,"List(4, 6)":13324,"List(-2147483648, 30)":543,"List(4, 38)":13,"List(3, 19)":3701,"List(2, 6)":161192,"List(6, 55)":2,"List(2, 10)":79229,"List(6, 15)":2958,"List(1, 6)":30517,"List(4, 60)":1,"List(2, 67)":22,"List(4, 8)":8400,"List(-2147483648, 38)":195,"List(4, 53)":1,"List(7, 60)":6,"List(-2147483648, 67)":6,"List(4, 0)":62294,"List(6, 17)":2001,"List(6, 34)":106,"List(4, 26)":123,"List(6, 10)":7989,"List(6, 42)":22,"List(3, 42)":89,"List(7, 40)":22,"List(3, 55)":9,"List(2, 46)":168,"List(6, 5)":28713,"List(2, 32)":1746,"List(7, 48)":2,"List(7, 19)":1445,"List(2, 96)":2,"List(3, 46)":55,"List(7, 5)":35218,"List(7, 70)":2,"List(7, 36)":53,"List(1, 67)":2,"List(3, 24)":1381,"List(3, 70)":1,"List(-2147483648, 26)":956,"List(2, 115)":2,"List(6, 1)":109755,"List(-2147483648, 12)":13559,"List(3, 8)":31256,"List(4, 32)":35,"List(-2147483648, 60)":16,"List(6, 8)":11786,"List(6, 57)":1,"List(4, 10)":5081,"List(7, 8)":13617,"List(2, 83)":8,"List(3, 64)":2,"List(7, 14)":3985,"List(3, 34)":262,"List(3, 48)":34,"List(2, 24)":6345,"List(4, 72)":1,"List(6, 38)":51,"List(3, 6)":47485,"List(1, 1)":238847,"List(6, 30)":201,"List(1, 34)":119,"List(4, 40)":12,"List(1, 46)":36,"List(-2147483648, 75)":8,"List(7, 44)":13,"List(-2147483648, 53)":26,"List(3, 28)":769,"List(4, 48)":10,"List(-2147483648, 32)":439,"List(-2147483648, 5)":78727,"List(6, 28)":282,"List(7, 57)":3,"List(6, 48)":5,"List(-2147483648, 48)":45,"List(-2147483648, 17)":4640,"List(3, 12)":13318,"List(2, 38)":631,"List(2, 86)":2,"List(4, 57)":1,"List(4, 28)":65,"List(3, 72)":1,"List(2, 119)":2,"List(-2147483648, 3)":118597,"List(4, 3)":36946,"List(3, 30)":568,"List(2, 17)":22576,"List(2, 3)":350274,"List(1, 62)":5,"List(3, 36)":201,"List(7, 30)":181,"List(7, 38)":29,"List(2, 8)":117131,"List(3, 10)":19306,"List(1, 5)":50114,"List(-2147483648, 64)":13,"List(7, 67)":1,"List(1, 3)":81187,"List(7, 42)":16,"List(-2147483648, 123)":1,"List(3, 75)":1,"List(6, 32)":134,"List(7, 15)":2912,"List(3, 26)":1030,"List(4, 44)":13,"List(4, 14)":2150,"List(2, 42)":289,"List(3, 0)":348715,"List(4, 55)":3,"List(-2147483648, 70)":9,"List(1, 55)":19,"List(7, 64)":3,"List(2, 14)":40673,"List(4, 24)":192,"List(3, 3)":123677,"List(-2147483648, 6)":47693,"List(4, 50)":3,"List(6, 72)":1,"List(7, 6)":20691,"List(3, 14)":9041,"List(-2147483648, 55)":22,"List(2, 93)":2,"List(2, 40)":427,"List(4, 42)":6,"List(2, 55)":49,"List(3, 21)":2594,"List(7, 83)":1,"List(7, 50)":4,"List(1, 38)":45,"List(1, 12)":11008,"List(2, 60)":27,"List(4, 36)":11,"List(-2147483648, 34)":321,"List(2, 23)":8722,"List(1, 32)":196,"List(6, 64)":1,"List(6, 67)":1,"List(7, 26)":354,"List(4, 19)":678,"List(1, 42)":45,"List(7, 21)":949,"List(2, 26)":4568,"List(6, 26)":378,"List(2, 90)":2,"List(1, 19)":2910,"List(2, 53)":61,"List(6, 53)":7,"List(2, 57)":34,"List(2, 48)":98,"List(3, 40)":124,"List(3, 5)":82291,"List(3, 62)":5,"List(3, 80)":1,"List(2, 0)":928771,"List(-2147483648, 46)":73,"List(-2147483648, 15)":6743,"List(6, 23)":715,"List(1, 36)":85,"List(2, 34)":1180,"List(6, 44)":14,"List(2, 78)":10,"List(-2147483648, 50)":39,"List(-2147483648, 10)":20244,"List(-2147483648, 42)":116,"List(4, 23)":298,"List(1, 30)":278,"List(2, 70)":22,"List(4, 15)":1549,"List(1, 60)":6,"List(3, 53)":14,"List(3, 60)":7,"List(6, 6)":17220,"List(1, 15)":5608,"List(1, 28)":426,"List(-2147483648, 78)":6,"List(3, 50)":25,"List(4, 21)":426,"List(1, 48)":29,"List(1, 23)":1295,"List(-2147483648, 8)":31857,"List(7, 62)":4,"List(7, 28)":240,"List(-2147483648, 24)":1305,"List(1, 64)":5,"List(3, 57)":7,"List(3, 23)":1890,"List(1, 40)":52,"List(6, 96)":1,"List(-2147483648, 80)":3,"List(7, 72)":1,"List(2, 5)":252793,"List(6, 12)":5540,"List(2, 30)":2324,"List(7, 55)":6,"List(2, 103)":3,"List(4, 5)":23901,"List(7, 1)":103749,"List(-2147483648, 21)":2554,"List(2, 64)":23,"List(6, 60)":1,"List(7, 46)":14,"List(6, 3)":45189,"List(6, 36)":62,"List(-2147483648, 14)":9021,"List(2, 36)":859,"List(-2147483648, 1)":254203,"List(6, 40)":40,"List(2, 21)":12173}
sample nlcd soil count data
{"List(90, 1)":37966,"List(31, 3)":7292,"List(0, 4)":115,"List(24, 6)":1479,"List(81, 7)":65060,"List(52, 7)":18836,"List(43, 7)":2962,"List(21, 3)":210497,"List(42, 7)":1204,"List(43, 2)":25188,"List(0, -2147483648)":501,"List(23, 2)":77207,"List(24, 1)":18361,"List(23, 1)":33240,"List(23, 7)":7753,"List(41, 1)":274007,"List(21, 6)":43389,"List(21, -2147483648)":238469,"List(81, 3)":177320,"List(31, 2)":4611,"List(71, 4)":1741,"List(42, 3)":5413,"List(52, 1)":46510,"List(43, 4)":4796,"List(31, 4)":813,"List(71, -2147483648)":2106,"List(22, 7)":20307,"List(22, -2147483648)":165351,"List(11, 3)":3095,"List(31, 7)":145,"List(24, 7)":2486,"List(22, 1)":54954,"List(81, 6)":24121,"List(43, 6)":2706,"List(95, 6)":168322,"List(82, 4)":76569,"List(41, 4)":88609,"List(95, 1)":4756,"List(82, -2147483648)":22197,"List(71, 1)":5571,"List(22, 2)":199074,"List(21, 1)":142872,"List(81, 2)":630701,"List(90, 6)":133816,"List(41, 2)":735302,"List(41, 7)":140131,"List(81, 1)":130827,"List(95, 3)":39053,"List(23, 6)":5456,"List(82, 3)":423253,"List(42, 2)":15598,"List(21, 4)":63348,"List(31, 6)":490,"List(43, -2147483648)":6260,"List(0, 6)":128,"List(52, 4)":15898,"List(43, 1)":12089,"List(82, 7)":104768,"List(90, 4)":18124,"List(95, 4)":8651,"List(21, 7)":71673,"List(81, -2147483648)":20332,"List(52, -2147483648)":14968,"List(71, 6)":1148,"List(11, 1)":2253,"List(71, 2)":12313,"List(90, -2147483648)":79710,"List(11, -2147483648)":750200,"List(41, 3)":260648,"List(24, 3)":19697,"List(42, 4)":2245,"List(11, 4)":1187,"List(95, 7)":52869,"List(22, 4)":20998,"List(90, 7)":113933,"List(24, 4)":3838,"List(41, -2147483648)":59247,"List(42, 1)":6604,"List(82, 2)":871506,"List(52, 3)":33801,"List(42, -2147483648)":2540,"List(95, 2)":11449,"List(90, 3)":50128,"List(0, 3)":511,"List(52, 2)":112343,"List(22, 6)":12983,"List(11, 7)":4101,"List(11, 2)":5310,"List(11, 6)":8146,"List(31, -2147483648)":6498,"List(95, -2147483648)":121012,"List(0, 7)":71,"List(23, 3)":58996,"List(0, 1)":515,"List(42, 6)":740,"List(23, -2147483648)":124166,"List(41, 6)":95457,"List(82, 6)":47996,"List(24, -2147483648)":74331,"List(24, 2)":22536,"List(21, 2)":525783,"List(22, 3)":117609,"List(52, 6)":9954,"List(90, 2)":83145,"List(43, 3)":11578,"List(31, 1)":2085,"List(71, 7)":1993,"List(81, 4)":59175,"List(71, 3)":8772,"List(0, 2)":1278,"List(23, 4)":8721,"List(82, 1)":178715}
Sample nlcd slope count data
{"List(81, 12)":24766,"List(22, 14)":2122,"List(23, 67)":2,"List(81, 26)":1710,"List(11, 80)":7,"List(52, 42)":56,"List(0, 34)":4,"List(95, 26)":63,"List(90, 1)":52579,"List(82, 36)":557,"List(11, 28)":794,"List(31, 3)":1909,"List(90, 103)":2,"List(52, 62)":14,"List(42, 24)":156,"List(95, 5)":3561,"List(52, 44)":51,"List(82, 72)":8,"List(82, 86)":1,"List(23, 103)":1,"List(24, 14)":196,"List(52, 36)":101,"List(95, 44)":12,"List(41, 40)":1020,"List(95, 80)":1,"List(41, 42)":831,"List(52, 19)":1293,"List(0, 8)":117,"List(41, 48)":474,"List(24, 6)":1403,"List(21, 17)":5071,"List(23, 50)":6,"List(21, 23)":1850,"List(90, 44)":17,"List(42, 60)":9,"List(41, 50)":415,"List(21, 40)":108,"List(11, 26)":900,"List(42, 75)":4,"List(71, 26)":29,"List(21, 70)":12,"List(42, 10)":1372,"List(41, 64)":160,"List(24, 30)":14,"List(43, 86)":5,"List(42, 23)":190,"List(22, 96)":1,"List(81, 14)":17412,"List(22, 0)":52801,"List(21, 3)":84405,"List(90, 42)":18,"List(11, 50)":324,"List(24, 0)":9148,"List(81, 17)":9122,"List(42, 78)":1,"List(81, 93)":3,"List(81, 48)":99,"List(22, 46)":14,"List(22, 100)":2,"List(90, 8)":5912,"List(11, 57)":194,"List(22, 42)":16,"List(71, 30)":6,"List(11, 60)":181,"List(11, 93)":1,"List(82, 23)":3449,"List(24, 24)":32,"List(41, 83)":46,"List(81, 42)":161,"List(90, 14)":1783,"List(81, 67)":12,"List(22, 80)":1,"List(23, 70)":1,"List(23, 80)":1,"List(71, 12)":498,"List(90, 28)":133,"List(81, 70)":9,"List(11, 12)":3475,"List(41, 26)":3867,"List(0, 48)":2,"List(11, 44)":462,"List(11, 19)":1663,"List(23, 34)":19,"List(21, 78)":2,"List(52, 32)":176,"List(43, 10)":2854,"List(90, 23)":293,"List(52, 48)":28,"List(95, 48)":10,"List(52, 26)":369,"List(82, 78)":8,"List(41, 96)":14,"List(43, 14)":1630,"List(42, 15)":613,"List(0, 12)":87,"List(90, 32)":64,"List(81, 34)":547,"List(11, 72)":47,"List(52, 57)":16,"List(52, 14)":3179,"List(24, 1)":6642,"List(22, 36)":37,"List(52, 67)":3,"List(22, 64)":2,"List(52, 10)":5840,"List(52, 17)":1676,"List(43, 78)":7,"List(71, 32)":11,"List(23, 1)":18871,"List(42, 28)":112,"List(52, 80)":2,"List(0, 21)":19,"List(23, 10)":1717,"List(42, 36)":40,"List(23, 48)":8,"List(24, 44)":12,"List(81, 90)":1,"List(90, 72)":1,"List(95, 83)":1,"List(21, 32)":423,"List(81, 21)":4585,"List(21, 107)":1,"List(22, 55)":5,"List(82, 5)":117528,"List(21, 36)":234,"List(42, 53)":11,"List(52, 23)":734,"List(11, 14)":2864,"List(41, 1)":176049,"List(23, 42)":9,"List(23, 26)":49,"List(22, 50)":6,"List(43, 90)":5,"List(21, 6)":46073,"List(0, 17)":33,"List(41, 21)":8805,"List(11, 21)":1312,"List(31, 14)":369,"List(95, 55)":5,"List(90, 57)":5,"List(82, 44)":211,"List(71, 40)":3,"List(82, 0)":330513,"List(31, 17)":179,"List(81, 3)":127141,"List(42, 44)":26,"List(11, 107)":1,"List(90, 60)":3,"List(43, 32)":130,"List(82, 90)":4,"List(21, 0)":118705,"List(43, 100)":3,"List(24, 36)":8,"List(41, 10)":53294,"List(81, 32)":690,"List(31, 53)":8,"List(0, 5)":200,"List(42, 3)":3385,"List(43, 23)":442,"List(23, 55)":3,"List(43, 57)":28,"List(22, 30)":76,"List(22, 21)":499,"List(52, 1)":17723,"List(31, 5)":1811,"List(31, 36)":19,"List(23, 19)":251,"List(11, 36)":523,"List(82, 8)":52573,"List(21, 10)":20418,"List(22, 34)":46,"List(11, 86)":3,"List(82, 103)":3,"List(31, 67)":1,"List(41, 78)":53,"List(81, 72)":13,"List(82, 15)":12425,"List(82, 48)":135,"List(41, 34)":1554,"List(22, 72)":3,"List(31, 0)":2543,"List(23, 14)":735,"List(81, 36)":362,"List(21, 28)":661,"List(81, 55)":51,"List(42, 19)":313,"List(22, 23)":315,"List(43, 64)":22,"List(41, 55)":253,"List(0, 30)":3,"List(43, 15)":1308,"List(82, 30)":1146,"List(23, 115)":1,"List(31, 70)":1,"List(0, 26)":7,"List(22, 17)":1062,"List(52, 55)":12,"List(82, 17)":8581,"List(31, 26)":47,"List(21, 44)":93,"List(43, 30)":162,"List(24, 15)":149,"List(11, 111)":3,"List(95, 15)":322,"List(24, 55)":1,"List(43, 80)":2,"List(43, 46)":49,"List(11, 3)":17571,"List(82, 24)":2526,"List(42, 64)":8,"List(81, 75)":6,"List(22, 38)":26,"List(52, 64)":4,"List(22, 78)":1,"List(90, 0)":127758,"List(22, 1)":43142,"List(95, 28)":40,"List(90, 64)":2,"List(81, 6)":73221,"List(42, 46)":17,"List(82, 53)":79,"List(43, 6)":4911,"List(0, 15)":57,"List(11, 53)":282,"List(11, 67)":74,"List(90, 5)":13553,"List(23, 72)":1,"List(23, 62)":4,"List(95, 6)":2256,"List(24, 8)":855,"List(43, 36)":100,"List(24, 28)":23,"List(42, 12)":1003,"List(23, 38)":7,"List(31, 32)":17,"List(11, 40)":514,"List(43, 28)":202,"List(95, 64)":3,"List(11, 38)":566,"List(81, 53)":67,"List(81, 44)":167,"List(41, 23)":6787,"List(95, 1)":9113,"List(24, 42)":11,"List(21, 86)":1,"List(95, 36)":14,"List(71, 5)":2056,"List(71, 1)":2784,"List(95, 14)":463,"List(81, 40)":255,"List(71, 38)":3,"List(21, 60)":21,"List(71, 34)":5,"List(52, 0)":15403,"List(11, 48)":335,"List(24, 70)":1,"List(21, 1)":108400,"List(31, 62)":4,"List(90, 6)":8785,"List(24, 10)":562,"List(11, 32)":682,"List(82, 80)":9,"List(82, 21)":4548,"List(43, 50)":30,"List(71, 17)":190,"List(71, 42)":4,"List(82, 62)":40,"List(82, 14)":16720,"List(24, 57)":1,"List(24, 23)":50,"List(31, 48)":6,"List(52, 40)":76,"List(81, 1)":139984,"List(81, 62)":22,"List(82, 64)":35,"List(41, 14)":27845,"List(95, 3)":4723,"List(0, 60)":1,"List(24, 48)":6,"List(24, 19)":78,"List(41, 46)":555,"List(31, 10)":666,"List(23, 6)":4445,"List(82, 3)":155164,"List(43, 48)":28,"List(42, 72)":1,"List(41, 86)":29,"List(11, 115)":1,"List(24, 60)":1,"List(95, 30)":37,"List(22, 103)":1,"List(43, 24)":371,"List(71, 0)":3693,"List(81, 80)":10,"List(71, 10)":681,"List(23, 0)":25748,"List(22, 5)":20474,"List(95, 42)":8,"List(42, 50)":20,"List(24, 107)":1,"List(41, 17)":15966,"List(11, 123)":1,"List(90, 86)":2,"List(21, 53)":32,"List(24, 32)":13,"List(41, 90)":7,"List(22, 48)":5,"List(52, 50)":19,"List(95, 60)":6,"List(23, 100)":1,"List(11, 24)":1072,"List(22, 67)":7,"List(23, 32)":24,"List(90, 10)":3864,"List(43, 42)":51,"List(41, 62)":189,"List(41, 70)":83,"List(43, 93)":4,"List(95, 67)":2,"List(90, 50)":9,"List(43, 19)":793,"List(95, 32)":31,"List(22, 26)":148,"List(31, 6)":1248,"List(11, 15)":2351,"List(21, 62)":25,"List(0, 6)":182,"List(41, 36)":1455,"List(95, 10)":994,"List(95, 23)":112,"List(11, 55)":255,"List(71, 55)":1,"List(0, 28)":4,"List(82, 55)":56,"List(24, 21)":52,"List(82, 38)":392,"List(22, 40)":17,"List(52, 38)":88,"List(24, 12)":313,"List(41, 75)":59,"List(22, 44)":10,"List(0, 14)":56,"List(71, 24)":47,"List(24, 50)":5,"List(81, 5)":107819,"List(82, 34)":641,"List(22, 60)":2,"List(43, 75)":6,"List(42, 21)":210,"List(31, 42)":6,"List(23, 28)":27,"List(42, 34)":67,"List(11, 17)":1928,"List(31, 8)":934,"List(11, 119)":1,"List(21, 67)":10,"List(43, 26)":249,"List(23, 53)":7,"List(41, 24)":5260,"List(41, 119)":1,"List(43, 34)":97,"List(11, 10)":4929,"List(11, 8)":6648,"List(43, 1)":7358,"List(95, 8)":1610,"List(21, 48)":52,"List(22, 19)":752,"List(90, 12)":2604,"List(42, 55)":13,"List(31, 50)":2,"List(90, 46)":20,"List(31, 75)":1,"List(81, 19)":6633,"List(43, 60)":22,"List(23, 24)":77,"List(0, 0)":154,"List(21, 57)":30,"List(0, 36)":3,"List(81, 23)":3290,"List(11, 103)":6,"List(43, 62)":12,"List(82, 70)":29,"List(24, 34)":16,"List(24, 38)":21,"List(42, 40)":24,"List(95, 46)":8,"List(21, 123)":1,"List(81, 10)":36067,"List(81, 78)":4,"List(21, 38)":179,"List(81, 46)":148,"List(82, 96)":3,"List(90, 55)":3,"List(81, 0)":104727,"List(22, 8)":8129,"List(0, 32)":2,"List(90, 34)":40,"List(52, 72)":3,"List(22, 24)":191,"List(23, 44)":9,"List(42, 5)":3229,"List(21, 72)":6,"List(42, 30)":85,"List(41, 32)":2101,"List(81, 83)":5,"List(41, 19)":12241,"List(11, 5)":12758,"List(43, 5)":6411,"List(90, 78)":1,"List(41, 67)":142,"List(82, 75)":13,"List(81, 30)":905,"List(21, 90)":6,"List(21, 12)":13991,"List(22, 57)":5,"List(41, 8)":76746,"List(71, 6)":1439,"List(23, 75)":1,"List(23, 15)":487,"List(11, 1)":31833,"List(90, 70)":2,"List(21, 30)":536,"List(22, 53)":7,"List(81, 96)":3,"List(23, 40)":15,"List(21, 34)":284,"List(24, 26)":25,"List(82, 119)":2,"List(95, 90)":1,"List(0, 40)":2,"List(11, 75)":23,"List(21, 5)":70604,"List(31, 46)":6,"List(41, 15)":21369,"List(23, 23)":126,"List(52, 78)":4,"List(31, 64)":3,"List(11, 78)":19,"List(23, 12)":1114,"List(0, 23)":17,"List(95, 57)":1,"List(43, 12)":2180,"List(95, 24)":80,"List(81, 38)":316,"List(41, 5)":138014,"List(95, 40)":14,"List(21, 19)":3623,"List(21, 15)":6962,"List(41, 28)":3172,"List(23, 46)":10,"List(21, 21)":2510,"List(31, 19)":154,"List(82, 50)":116,"List(31, 12)":453,"List(41, 60)":216,"List(41, 44)":707,"List(41, 3)":152611,"List(43, 38)":74,"List(21, 96)":3,"List(21, 103)":2,"List(11, 62)":117,"List(21, 50)":33,"List(43, 21)":591,"List(24, 3)":3244,"List(43, 72)":10,"List(41, 57)":248,"List(81, 60)":49,"List(71, 8)":1059,"List(81, 57)":43,"List(11, 0)":580934,"List(82, 10)":34687,"List(41, 107)":1,"List(81, 28)":1228,"List(82, 42)":281,"List(90, 21)":450,"List(90, 38)":26,"List(81, 86)":3,"List(11, 83)":9,"List(81, 24)":2331,"List(95, 0)":47918,"List(41, 103)":9,"List(52, 28)":289,"List(42, 42)":23,"List(42, 67)":4,"List(31, 28)":29,"List(81, 8)":53658,"List(22, 32)":56,"List(43, 83)":6,"List(11, 23)":1114,"List(11, 42)":443,"List(11, 70)":56,"List(81, 100)":1,"List(82, 26)":1874,"List(90, 30)":89,"List(82, 46)":178,"List(31, 55)":4,"List(43, 55)":20,"List(11, 46)":376,"List(82, 67)":33,"List(23, 60)":6,"List(42, 1)":3449,"List(90, 17)":894,"List(95, 12)":647,"List(95, 72)":2,"List(52, 3)":17262,"List(23, 5)":7562,"List(90, 36)":34,"List(95, 53)":5,"List(21, 75)":8,"List(90, 3)":20453,"List(43, 0)":8437,"List(0, 3)":241,"List(23, 21)":150,"List(90, 83)":1,"List(43, 96)":2,"List(90, 80)":1,"List(43, 8)":3784,"List(22, 6)":12473,"List(41, 80)":46,"List(31, 60)":4,"List(21, 26)":967,"List(24, 5)":2214,"List(11, 30)":729,"List(0, 38)":2,"List(11, 34)":620,"List(11, 90)":9,"List(11, 6)":8652,"List(31, 30)":21,"List(81, 50)":76,"List(52, 75)":3,"List(43, 44)":42,"List(71, 23)":71,"List(82, 28)":1382,"List(90, 19)":628,"List(23, 3)":10537,"List(82, 32)":824,"List(0, 1)":150,"List(0, 46)":1,"List(52, 53)":19,"List(71, 15)":282,"List(42, 32)":82,"List(81, 15)":12831,"List(23, 57)":6,"List(24, 75)":1,"List(22, 15)":1471,"List(31, 38)":10,"List(95, 34)":26,"List(42, 0)":3155,"List(42, 26)":119,"List(31, 40)":11,"List(31, 23)":76,"List(11, 100)":6,"List(81, 64)":19,"List(42, 6)":2255,"List(42, 57)":12,"List(71, 14)":332,"List(43, 53)":29,"List(21, 55)":26,"List(41, 111)":1,"List(90, 53)":5,"List(42, 70)":1,"List(90, 62)":4,"List(82, 83)":8,"List(42, 17)":425,"List(42, 8)":1778,"List(95, 50)":7,"List(22, 28)":84,"List(24, 53)":3,"List(23, 17)":306,"List(41, 6)":98732,"List(41, 30)":2533,"List(11, 64)":74,"List(31, 21)":109,"List(24, 67)":1,"List(24, 62)":1,"List(41, 38)":1168,"List(0, 10)":100,"List(41, 12)":38807,"List(23, 30)":28,"List(95, 70)":4,"List(41, 93)":14,"List(82, 6)":75033,"List(24, 46)":6,"List(41, 100)":5,"List(21, 24)":1297,"List(31, 57)":7,"List(52, 5)":15490,"List(52, 34)":133,"List(43, 70)":14,"List(41, 0)":193720,"List(71, 19)":128,"List(90, 40)":31,"List(22, 3)":27127,"List(52, 70)":5,"List(71, 28)":21,"List(22, 12)":3283,"List(22, 62)":2,"List(43, 103)":2,"List(52, 6)":10794,"List(52, 46)":50,"List(90, 67)":3,"List(43, 67)":15,"List(43, 3)":6579,"List(90, 15)":1288,"List(31, 15)":304,"List(95, 38)":16,"List(71, 36)":4,"List(90, 48)":7,"List(41, 115)":3,"List(95, 96)":1,"List(42, 14)":765,"List(31, 34)":17,"List(95, 62)":7,"List(95, 19)":182,"List(42, 38)":39,"List(21, 115)":1,"List(0, 24)":9,"List(21, 83)":3,"List(90, 26)":182,"List(24, 17)":87,"List(71, 21)":100,"List(31, 1)":1924,"List(52, 12)":4108,"List(22, 10)":5110,"List(82, 60)":55,"List(41, 53)":355,"List(52, 60)":17,"List(21, 14)":9485,"List(82, 12)":23861,"List(22, 107)":1,"List(0, 19)":20,"List(90, 93)":1,"List(31, 44)":5,"List(82, 57)":73,"List(52, 24)":500,"List(42, 48)":11,"List(95, 17)":265,"List(52, 15)":2330,"List(42, 62)":12,"List(31, 24)":53,"List(21, 93)":2,"List(71, 3)":2281,"List(52, 21)":928,"List(43, 17)":916,"List(21, 42)":117,"List(95, 21)":125,"List(21, 8)":31778,"List(52, 30)":227,"List(52, 8)":8289,"List(21, 64)":16,"List(21, 46)":67,"List(23, 36)":17,"List(82, 40)":331,"List(71, 44)":1,"List(31, 72)":1,"List(82, 19)":6457,"List(90, 24)":221,"List(24, 40)":17,"List(43, 40)":53,"List(23, 8)":2793,"List(82, 1)":268293,"List(21, 127)":1,"List(41, 72)":66}
sample soil-slope-kfactor data
{"List(1, 24)":0.18283823817310965,"List(2, 28)":0.20547978534783412,"List(2, 44)":0.14814156677041734,"List(1, 10)":0.20958243853338165,"List(1, 26)":0.17239500172436237,"List(-2147483648, 19)":0.17636364350499845,"List(-2147483648, 0)":0.036643585173263875,"List(7, 24)":0.28140555487738717,"List(4, 17)":0.34673529600395875,"List(1, 8)":0.2129654505336071,"List(4, 30)":0.19140000268816948,"List(3, 38)":0.2071000039577484,"List(3, 17)":0.294905800793371,"List(6, 19)":0.24174462220761725,"List(2, 50)":0.13911904323668706,"List(6, 14)":0.25199057751972426,"List(3, 15)":0.2962559380420092,"List(6, 24)":0.23459937365259975,"List(1, 21)":0.18166140486535273,"List(7, 34)":0.2113500013947487,"List(6, 0)":0.16772184408441246,"List(7, 3)":0.1717023727696839,"List(-2147483648, 62)":0.1524999976158142,"List(6, 21)":0.24126164381734178,"List(1, 14)":0.18271433492747385,"List(-2147483648, 28)":0.17681571604176002,"List(7, 0)":0.15020438472585929,"List(1, 17)":0.20177795365452766,"List(7, 12)":0.21251310929428877,"List(3, 44)":0.18250000476837158,"List(7, 23)":0.2731956650813421,"List(4, 1)":0.19531968190848373,"List(-2147483648, 36)":0.1648577147682241,"List(3, 32)":0.2398199995454305,"List(7, 10)":0.19612653484967138,"List(-2147483648, 23)":0.1866858814560598,"List(2, 15)":0.21802675568290777,"List(4, 12)":0.2201436163580164,"List(2, 1)":0.17025732465554344,"List(2, 62)":0,"List(-2147483648, 44)":0.19609356692859103,"List(2, 19)":0.23169161316633843,"List(3, 1)":0.17901889775908889,"List(1, 0)":0.14908259067846236,"List(2, 12)":0.20770844485026443,"List(7, 17)":0.2834589049452916,"List(7, 32)":0.21726666887601218,"List(-2147483648, 57)":0.18361363085833463,"List(-2147483648, 40)":0.17152310242351976,"List(4, 6)":0.23046774133559197,"List(-2147483648, 30)":0.17248815922614405,"List(3, 19)":0.28118207598186806,"List(2, 6)":0.18812013038902442,"List(2, 10)":0.2047291263028715,"List(6, 15)":0.24645213273664315,"List(1, 6)":0.21528787478316477,"List(4, 8)":0.2198324175039818,"List(-2147483648, 38)":0.19526345706903017,"List(-2147483648, 67)":0.13133333126703897,"List(4, 0)":0.198582342313064,"List(6, 17)":0.25122393034080154,"List(6, 34)":0.18525714174445188,"List(4, 26)":0.32465000450611115,"List(6, 10)":0.2523144587014,"List(6, 42)":0.2818000018596649,"List(3, 42)":0.2090000038345655,"List(3, 55)":0.18250000476837158,"List(2, 46)":0.16713090376420456,"List(6, 5)":0.19954487103596166,"List(2, 32)":0.1876485672380243,"List(7, 19)":0.2716869564888918,"List(3, 46)":0.20537500083446503,"List(7, 5)":0.18838396410601266,"List(7, 36)":0.2818000018596649,"List(3, 24)":0.2660898787421202,"List(-2147483648, 26)":0.18601140278959627,"List(6, 1)":0.17423520493652295,"List(-2147483648, 12)":0.14392604868297443,"List(3, 8)":0.30092443371610494,"List(-2147483648, 60)":0.20928124338388443,"List(6, 8)":0.23743272904634385,"List(4, 10)":0.2007275644976359,"List(7, 8)":0.20375035634635213,"List(7, 14)":0.24374804896400953,"List(3, 34)":0.2064400017261505,"List(3, 48)":0.18250000476837158,"List(2, 24)":0.2062158786839129,"List(6, 38)":0.27399998903274536,"List(3, 6)":0.28864665376829396,"List(1, 1)":0.17922374315941153,"List(6, 30)":0.1786799967288971,"List(1, 34)":0.2542000040411949,"List(-2147483648, 75)":0.16124999523162842,"List(-2147483648, 53)":0.18830749541521072,"List(3, 28)":0.27209904736706186,"List(-2147483648, 32)":0.17041010795919984,"List(-2147483648, 5)":0.1003572655669384,"List(6, 28)":0.2453500004830184,"List(7, 57)":0.27399998903274536,"List(-2147483648, 48)":0.1995671819895506,"List(-2147483648, 17)":0.16551810970006883,"List(3, 12)":0.30276413058220425,"List(2, 38)":0.19683673025833237,"List(4, 28)":0.16126666963100433,"List(-2147483648, 3)":0.08346270683674392,"List(4, 3)":0.20478724375325771,"List(3, 30)":0.22116407916243924,"List(2, 17)":0.22508689910958976,"List(2, 3)":0.17318708324298707,"List(3, 36)":0.19605333606402078,"List(7, 30)":0.31747499853372574,"List(7, 38)":0.2822500020265579,"List(2, 8)":0.1944214430423026,"List(3, 10)":0.3132664753955979,"List(1, 5)":0.2007242506921998,"List(-2147483648, 64)":0.08062499761581421,"List(1, 3)":0.1911176793786562,"List(6, 32)":0.20972649650648237,"List(7, 15)":0.2644216499108936,"List(3, 26)":0.29083604450777983,"List(4, 14)":0.20748157789440533,"List(2, 42)":0.1979649328155282,"List(3, 0)":0.15522936700760298,"List(-2147483648, 70)":0.16124999523162842,"List(2, 14)":0.22026315823434361,"List(4, 24)":0.2843249998986721,"List(3, 3)":0.23316530592082868,"List(-2147483648, 6)":0.11124478034726931,"List(7, 6)":0.19658594155162806,"List(3, 14)":0.29650209697805613,"List(-2147483648, 55)":0.19527499377727509,"List(2, 40)":0.1937160361558199,"List(2, 55)":0.1512999951839447,"List(3, 21)":0.2883858834039656,"List(1, 38)":0.18600000347942114,"List(1, 12)":0.19151961110790314,"List(2, 60)":0.27399998903274536,"List(-2147483648, 34)":0.17946461614618447,"List(2, 23)":0.21136840100633994,"List(1, 32)":0.04375714303127357,"List(7, 26)":0.2626181813803586,"List(4, 19)":0.2101333286613226,"List(1, 42)":0.3675000071525574,"List(7, 21)":0.25223359882831575,"List(2, 26)":0.19403644364425227,"List(6, 26)":0.2010778563895396,"List(1, 19)":0.2097415942698717,"List(2, 53)":0.11282352489583633,"List(2, 57)":0.13699999451637268,"List(2, 48)":0.15386551310276164,"List(3, 40)":0.17112500220537186,"List(3, 5)":0.2706376256028514,"List(2, 0)":0.17209321110880854,"List(-2147483648, 46)":0.20167999523026603,"List(-2147483648, 15)":0.1633402450766311,"List(6, 23)":0.2215404332331989,"List(1, 36)":0.004999999888241291,"List(2, 34)":0.20734294697576683,"List(-2147483648, 50)":0.15473225424366613,"List(-2147483648, 10)":0.1329923469777255,"List(-2147483648, 42)":0.19288426503706513,"List(4, 23)":0.27656666686137515,"List(1, 30)":0.2660285745348249,"List(4, 15)":0.268360977083808,"List(6, 6)":0.21801023459002145,"List(1, 15)":0.19308037570216388,"List(1, 28)":0.2438300022855401,"List(3, 50)":0.22824999690055847,"List(4, 21)":0.1984833300424119,"List(1, 23)":0.19580833633275083,"List(-2147483648, 8)":0.11991461372624747,"List(7, 28)":0.3024749979376793,"List(-2147483648, 24)":0.1763727604253832,"List(3, 23)":0.28983438384245364,"List(1, 40)":0.0044999998062849045,"List(2, 5)":0.1783857277038349,"List(6, 12)":0.2472303172387512,"List(2, 30)":0.19273475474914553,"List(4, 5)":0.2077615259896953,"List(7, 1)":0.15316446661170133,"List(-2147483648, 21)":0.18303092459062917,"List(6, 3)":0.18560714553051527,"List(6, 36)":0.2349499985575676,"List(-2147483648, 14)":0.15516964600070932,"List(2, 36)":0.19534724737916673,"List(-2147483648, 1)":0.05703000152276876,"List(6, 40)":0.2818000018596649,"List(2, 21)":0.22399880201419312}
Decided to adjust the scope on this one as a step toward closing out the project:
In order to enable users to build the project & have access to an RDD, I added an ingest job here https://github.com/azavea/geotrellis-collections-api-research/blob/master/ingest/src/main/scala/PennsylvaniaLandCover.scala which creates an RDD from a 1992 PA NLCD geotiff.
I also reduced the number of data endpoints down to one which takes a geometry and returns NLCD cell counts.