diff --git a/gldcore/geodata/geodata_vegetation.py b/gldcore/geodata/geodata_vegetation.py index 18ca1d48e..83370dab3 100644 --- a/gldcore/geodata/geodata_vegetation.py +++ b/gldcore/geodata/geodata_vegetation.py @@ -79,7 +79,7 @@ def process_height(data): "height" : process_height, } -def apply(data, options=default_options, config=default_config, warning=print): +def apply(data, options=default_options, config=default_config, warning=lambda x:print(x,file=sys.stderr)): """Get the vegetation at the locations specified in data ARGUMENTS: diff --git a/gldcore/scripts/autotest/path_example.csv b/gldcore/scripts/autotest/path_example.csv index 867205dfb..caa49c543 100644 --- a/gldcore/scripts/autotest/path_example.csv +++ b/gldcore/scripts/autotest/path_example.csv @@ -1,38 +1,38 @@ latitude,longitude,configuration,pole_height -37.415045141688054,-122.2056472090359,flat3,18.0 -37.414698020593065,-122.20848749028133,sideT,20.0 -37.414454093051745,-122.21044282065421,sideT,21.0 -37.4142229470058,-122.21231366144505,sideT,18.0 -37.41398114830695,-122.21427167402398,sideT,20.0 -37.41369674090812,-122.21656764493814,sideT,18.0 -37.413484766152116,-122.21826816545857,sideT,21.0 -37.413211008919944,-122.22048098789332,sideT,18.0 -37.41297559820373,-122.22232366549139,sideT,16.0 -37.41270503474598,-122.22456062781153,sideT,21.0 -37.41235883992205,-122.22736085401982,sideT,18.0 -37.41211277432232,-122.2294046972871,sideT,19.0 -37.41181238145044,-122.2318401430745,3pole,15.0 -37.40995247538199,-122.23541150437455,3pole,16.0 -37.40912057241348,-122.2377130888813,2pole,15.0 -37.40789338104315,-122.24107380619942,2pole,17.0 -37.407149938388855,-122.24310961753775,2pole,15.0 -37.406444430121574,-122.24502537152217,3pole,17.0 -37.40562303785719,-122.24443024849117,vert3,17.0 -37.40455757305511,-122.24417593344417,vert3,20.0 -37.403388518198085,-122.24428886555295,vert3,20.0 -37.4024888290699,-122.24467711530833,vert3,20.0 -37.401360606833215,-122.24566416822258,vert3,22.0 -37.39986734896868,-122.24926604404577,3pole,16.0 -37.39966304364653,-122.25113326423049,2pole,18.0 -37.39937036342071,-122.25627439962648,2pole,22.0 -37.39927723765627,-122.25794544805741,3pole,15.0 -37.39881734255347,-122.26448590652335,3pole,18.0 -37.3987093390758,-122.26609958926933,2pole,15.0 -37.39860603125615,-122.26756943948794,3pole,18.0 -37.39448377651167,-122.27062538813342,3pole,21.0 -37.393064766804834,-122.27180166237235,3pole,21.0 -37.39248478874903,-122.27445763837264,2pole,17.0 -37.39189776185741,-122.27717370878581,2pole,21.0 -37.391605029396494,-122.27859725674931,2pole,23.0 -37.39170991228087,-122.28138524342816,3pole,16.0 -37.388063971857704,-122.28844288884694,tower,23.0 +37.41504514,-122.2056472,flat3,54 +37.41469802,-122.2084875,sideT,60 +37.41445409,-122.2104428,sideT,63 +37.41422295,-122.2123137,sideT,54 +37.41398115,-122.2142717,sideT,60 +37.41369674,-122.2165676,sideT,54 +37.41348477,-122.2182682,sideT,63 +37.41321101,-122.220481,sideT,54 +37.4129756,-122.2223237,sideT,48 +37.41270503,-122.2245606,sideT,63 +37.41235884,-122.2273609,sideT,54 +37.41211277,-122.2294047,sideT,57 +37.41181238,-122.2318401,3pole,45 +37.40995248,-122.2354115,3pole,48 +37.40912057,-122.2377131,2pole,45 +37.40789338,-122.2410738,2pole,51 +37.40714994,-122.2431096,2pole,45 +37.40644443,-122.2450254,3pole,51 +37.40562304,-122.2444302,vert3,51 +37.40455757,-122.2441759,vert3,60 +37.40338852,-122.2442889,vert3,60 +37.40248883,-122.2446771,vert3,60 +37.40136061,-122.2456642,vert3,66 +37.39986735,-122.249266,3pole,48 +37.39966304,-122.2511333,2pole,54 +37.39937036,-122.2562744,2pole,66 +37.39927724,-122.2579454,3pole,45 +37.39881734,-122.2644859,3pole,54 +37.39870934,-122.2660996,2pole,45 +37.39860603,-122.2675694,3pole,54 +37.39448378,-122.2706254,3pole,63 +37.39306477,-122.2718017,3pole,63 +37.39248479,-122.2744576,2pole,51 +37.39189776,-122.2771737,2pole,63 +37.39160503,-122.2785973,2pole,69 +37.39170991,-122.2813852,3pole,48 +37.38806397,-122.2884429,tower,69 \ No newline at end of file diff --git a/gldcore/scripts/autotest/test_geodata.txt b/gldcore/scripts/autotest/test_geodata.txt index d5bad178d..c6e4dfff5 100644 --- a/gldcore/scripts/autotest/test_geodata.txt +++ b/gldcore/scripts/autotest/test_geodata.txt @@ -103,142 +103,142 @@ latitude,longitude,id,distance 37.5205,-122.3046,1,14196.0 # geodata merge -D distance ../path_example.csv id,latitude,longitude,configuration,pole_height,distance -0,37.41505,-122.20565,flat3,18.0,0.0 -1,37.4147,-122.20849,sideT,20.0,254.0 -2,37.41445,-122.21044,sideT,21.0,429.0 -3,37.41422,-122.21231,sideT,18.0,596.0 -4,37.41398,-122.21427,sideT,20.0,771.0 -5,37.4137,-122.21657,sideT,18.0,976.0 -6,37.41348,-122.21827,sideT,21.0,1128.0 -7,37.41321,-122.22048,sideT,18.0,1326.0 -8,37.41298,-122.22232,sideT,16.0,1491.0 -9,37.41271,-122.22456,sideT,21.0,1691.0 -10,37.41236,-122.22736,sideT,18.0,1941.0 -11,37.41211,-122.2294,sideT,19.0,2123.0 -12,37.41181,-122.23184,3pole,15.0,2341.0 -13,37.40995,-122.23541,3pole,16.0,2718.0 -14,37.40912,-122.23771,2pole,15.0,2942.0 -15,37.40789,-122.24107,2pole,17.0,3268.0 -16,37.40715,-122.24311,2pole,15.0,3466.0 -17,37.40644,-122.24503,3pole,17.0,3653.0 -18,37.40562,-122.24443,vert3,17.0,3758.0 -19,37.40456,-122.24418,vert3,20.0,3879.0 -20,37.40339,-122.24429,vert3,20.0,4009.0 -21,37.40249,-122.24468,vert3,20.0,4115.0 -22,37.40136,-122.24566,vert3,22.0,4268.0 -23,37.39987,-122.24927,3pole,16.0,4627.0 -24,37.39966,-122.25113,2pole,18.0,4793.0 -25,37.39937,-122.25627,2pole,22.0,5248.0 -26,37.39928,-122.25795,3pole,15.0,5396.0 -27,37.39882,-122.26449,3pole,18.0,5976.0 -28,37.39871,-122.2661,2pole,15.0,6119.0 -29,37.39861,-122.26757,3pole,18.0,6250.0 -30,37.39448,-122.27063,3pole,21.0,6782.0 -31,37.39306,-122.2718,3pole,21.0,6971.0 -32,37.39248,-122.27446,2pole,17.0,7214.0 -33,37.3919,-122.27717,2pole,21.0,7463.0 -34,37.39161,-122.2786,2pole,23.0,7593.0 -35,37.39171,-122.28139,3pole,16.0,7839.0 -36,37.38806,-122.28844,tower,23.0,8583.0 +0,37.41505,-122.20565,flat3,54,0.0 +1,37.4147,-122.20849,sideT,60,254.0 +2,37.41445,-122.21044,sideT,63,429.0 +3,37.41422,-122.21231,sideT,54,596.0 +4,37.41398,-122.21427,sideT,60,771.0 +5,37.4137,-122.21657,sideT,54,976.0 +6,37.41348,-122.21827,sideT,63,1128.0 +7,37.41321,-122.22048,sideT,54,1326.0 +8,37.41298,-122.22232,sideT,48,1491.0 +9,37.41271,-122.22456,sideT,63,1691.0 +10,37.41236,-122.22736,sideT,54,1941.0 +11,37.41211,-122.2294,sideT,57,2123.0 +12,37.41181,-122.23184,3pole,45,2341.0 +13,37.40995,-122.23541,3pole,48,2718.0 +14,37.40912,-122.23771,2pole,45,2942.0 +15,37.40789,-122.24107,2pole,51,3268.0 +16,37.40715,-122.24311,2pole,45,3466.0 +17,37.40644,-122.24503,3pole,51,3653.0 +18,37.40562,-122.24443,vert3,51,3758.0 +19,37.40456,-122.24418,vert3,60,3879.0 +20,37.40339,-122.24429,vert3,60,4009.0 +21,37.40249,-122.24468,vert3,60,4115.0 +22,37.40136,-122.24566,vert3,66,4268.0 +23,37.39987,-122.24927,3pole,48,4627.0 +24,37.39966,-122.25113,2pole,54,4793.0 +25,37.39937,-122.25627,2pole,66,5248.0 +26,37.39928,-122.25795,3pole,45,5396.0 +27,37.39882,-122.26449,3pole,54,5976.0 +28,37.39871,-122.2661,2pole,45,6119.0 +29,37.39861,-122.26757,3pole,54,6250.0 +30,37.39448,-122.27063,3pole,63,6782.0 +31,37.39306,-122.2718,3pole,63,6971.0 +32,37.39248,-122.27446,2pole,51,7214.0 +33,37.3919,-122.27717,2pole,63,7463.0 +34,37.39161,-122.2786,2pole,69,7593.0 +35,37.39171,-122.28139,3pole,48,7839.0 +36,37.38806,-122.28844,tower,69,8583.0 # geodata merge -D distance ../path_example.csv -r 100 position,latitude,longitude,configuration,pole_height,id,distance,heading -0,37.41505,-122.20565,flat3,18.0,0.0,0.0,0.0 +0,37.41505,-122.20565,flat3,54.0,0.0,0.0,0.0 100,37.41491,-122.20677,,,,100.0,263.0 200,37.41477,-122.20789,,,,200.0,263.0 -254,37.4147,-122.20849,sideT,20.0,1.0,254.0,263.0 +254,37.4147,-122.20849,sideT,60.0,1.0,254.0,263.0 354,37.41456,-122.20961,,,,354.0,262.7 -428,37.41445,-122.21044,sideT,21.0,2.0,428.0,262.7 +428,37.41445,-122.21044,sideT,63.0,2.0,428.0,262.7 528,37.41431,-122.21156,,,,528.0,263.0 -595,37.41422,-122.21231,sideT,18.0,3.0,595.0,263.0 +595,37.41422,-122.21231,sideT,54.0,3.0,595.0,263.0 695,37.41408,-122.21343,,,,695.0,263.0 -771,37.41398,-122.21427,sideT,20.0,4.0,771.0,263.0 +771,37.41398,-122.21427,sideT,60.0,4.0,771.0,263.0 871,37.41384,-122.21539,,,,871.0,263.1 971,37.41371,-122.21651,,,,971.0,263.1 -976,37.4137,-122.21657,sideT,18.0,5.0,976.0,263.1 +976,37.4137,-122.21657,sideT,54.0,5.0,976.0,263.1 1076,37.41356,-122.21769,,,,1076.0,262.6 -1128,37.41348,-122.21827,sideT,21.0,6.0,1128.0,262.6 +1128,37.41348,-122.21827,sideT,63.0,6.0,1128.0,262.6 1228,37.41334,-122.21939,,,,1228.0,263.0 -1326,37.41321,-122.22048,sideT,18.0,7.0,1326.0,263.0 +1326,37.41321,-122.22048,sideT,54.0,7.0,1326.0,263.0 1426,37.41307,-122.2216,,,,1426.0,262.9 -1490,37.41298,-122.22232,sideT,16.0,8.0,1490.0,262.9 +1490,37.41298,-122.22232,sideT,48.0,8.0,1490.0,262.9 1590,37.41285,-122.22344,,,,1590.0,263.1 -1690,37.41271,-122.22456,sideT,21.0,9.0,1690.0,263.1 +1690,37.41271,-122.22456,sideT,63.0,9.0,1690.0,263.1 1690,37.41271,-122.22456,,,,1690.0,263.1 1790,37.41257,-122.22568,,,,1790.0,262.9 1890,37.41243,-122.2268,,,,1890.0,262.9 -1941,37.41236,-122.22736,sideT,18.0,10.0,1941.0,262.9 +1941,37.41236,-122.22736,sideT,54.0,10.0,1941.0,262.9 2041,37.41222,-122.22848,,,,2041.0,263.0 -2123,37.41211,-122.2294,sideT,19.0,11.0,2123.0,263.0 +2123,37.41211,-122.2294,sideT,57.0,11.0,2123.0,263.0 2223,37.41197,-122.23052,,,,2223.0,263.0 2323,37.41183,-122.23164,,,,2323.0,263.0 -2341,37.41181,-122.23184,3pole,15.0,12.0,2341.0,263.0 +2341,37.41181,-122.23184,3pole,45.0,12.0,2341.0,263.0 2441,37.41132,-122.23279,,,,2441.0,242.5 2541,37.41082,-122.23373,,,,2541.0,242.5 2641,37.41033,-122.23468,,,,2641.0,242.5 -2718,37.40995,-122.23541,3pole,16.0,13.0,2718.0,242.5 +2718,37.40995,-122.23541,3pole,48.0,13.0,2718.0,242.5 2818,37.40958,-122.23644,,,,2818.0,250.2 2918,37.40921,-122.23747,,,,2918.0,250.2 -2941,37.40912,-122.23771,2pole,15.0,14.0,2941.0,250.2 +2941,37.40912,-122.23771,2pole,45.0,14.0,2941.0,250.2 3041,37.40874,-122.23874,,,,3041.0,249.9 3141,37.40837,-122.23977,,,,3141.0,249.9 3241,37.40799,-122.24079,,,,3241.0,249.9 -3268,37.40789,-122.24107,2pole,17.0,15.0,3268.0,249.9 +3268,37.40789,-122.24107,2pole,51.0,15.0,3268.0,249.9 3368,37.40752,-122.2421,,,,3368.0,250.1 -3466,37.40715,-122.24311,2pole,15.0,16.0,3466.0,250.1 +3466,37.40715,-122.24311,2pole,45.0,16.0,3466.0,250.1 3566,37.40677,-122.24414,,,,3566.0,249.7 -3653,37.40644,-122.24503,3pole,17.0,17.0,3653.0,249.7 +3653,37.40644,-122.24503,3pole,51.0,17.0,3653.0,249.7 3753,37.40566,-122.24446,,,,3753.0,143.8 -3759,37.40562,-122.24443,vert3,17.0,18.0,3759.0,143.8 +3759,37.40562,-122.24443,vert3,51.0,18.0,3759.0,143.8 3859,37.40474,-122.24422,,,,3859.0,166.7 -3878,37.40456,-122.24418,vert3,20.0,19.0,3879.0,166.7 +3878,37.40456,-122.24418,vert3,60.0,19.0,3879.0,166.7 3978,37.40366,-122.24426,,,,3979.0,185.4 -4009,37.40339,-122.24429,vert3,20.0,20.0,4009.0,185.4 +4009,37.40339,-122.24429,vert3,60.0,20.0,4009.0,185.4 4109,37.40254,-122.24466,,,,4109.0,203.4 -4115,37.40249,-122.24468,vert3,20.0,21.0,4115.0,203.4 +4115,37.40249,-122.24468,vert3,60.0,21.0,4115.0,203.4 4215,37.40175,-122.24532,,,,4215.0,220.9 -4267,37.40136,-122.24566,vert3,22.0,22.0,4268.0,220.9 +4267,37.40136,-122.24566,vert3,66.0,22.0,4268.0,220.9 4367,37.40095,-122.24666,,,,4368.0,247.6 4467,37.40053,-122.24767,,,,4468.0,247.6 4567,37.40012,-122.24867,,,,4568.0,247.6 -4627,37.39987,-122.24927,3pole,16.0,23.0,4627.0,247.6 +4627,37.39987,-122.24927,3pole,48.0,23.0,4627.0,247.6 4727,37.39974,-122.25039,,,,4727.0,263.6 -4793,37.39966,-122.25113,2pole,18.0,24.0,4793.0,263.6 +4793,37.39966,-122.25113,2pole,54.0,24.0,4793.0,263.6 4893,37.3996,-122.25226,,,,4893.0,266.8 4993,37.39953,-122.25339,,,,4993.0,266.8 5093,37.39947,-122.25452,,,,5093.0,266.8 5193,37.39941,-122.25565,,,,5193.0,266.8 -5248,37.39937,-122.25627,2pole,22.0,25.0,5248.0,266.8 +5248,37.39937,-122.25627,2pole,66.0,25.0,5248.0,266.8 5348,37.39931,-122.2574,,,,5348.0,266.9 -5397,37.39928,-122.25795,3pole,15.0,26.0,5397.0,266.9 +5397,37.39928,-122.25795,3pole,45.0,26.0,5397.0,266.9 5497,37.3992,-122.25908,,,,5497.0,266.0 5597,37.39912,-122.26021,,,,5597.0,266.0 5697,37.39904,-122.26133,,,,5697.0,266.0 5797,37.39896,-122.26246,,,,5797.0,266.0 5897,37.39888,-122.26359,,,,5897.0,266.0 -5977,37.39882,-122.26449,3pole,18.0,27.0,5977.0,266.0 +5977,37.39882,-122.26449,3pole,54.0,27.0,5977.0,266.0 6077,37.39874,-122.26562,,,,6077.0,266.1 -6119,37.39871,-122.2661,2pole,15.0,28.0,6120.0,266.1 +6119,37.39871,-122.2661,2pole,45.0,28.0,6120.0,266.1 6219,37.39863,-122.26723,,,,6220.0,266.1 -6250,37.39861,-122.26757,3pole,18.0,29.0,6250.0,266.1 +6250,37.39861,-122.26757,3pole,54.0,29.0,6250.0,266.1 6350,37.39783,-122.26814,,,,6350.0,216.5 6450,37.39706,-122.26872,,,,6450.0,216.5 6550,37.39628,-122.26929,,,,6550.0,216.5 6650,37.39551,-122.26987,,,,6650.0,216.5 6750,37.39473,-122.27044,,,,6750.0,216.5 -6783,37.39448,-122.27063,3pole,21.0,30.0,6783.0,216.5 +6783,37.39448,-122.27063,3pole,63.0,30.0,6783.0,216.5 6883,37.39373,-122.27125,,,,6883.0,219.5 -6971,37.39306,-122.2718,3pole,21.0,31.0,6971.0,219.5 +6971,37.39306,-122.2718,3pole,63.0,31.0,6971.0,219.5 7071,37.39282,-122.27289,,,,7071.0,257.7 7171,37.39258,-122.27398,,,,7171.0,257.7 -7215,37.39248,-122.27446,2pole,17.0,32.0,7215.0,257.7 +7215,37.39248,-122.27446,2pole,51.0,32.0,7215.0,257.7 7315,37.39225,-122.27555,,,,7315.0,257.9 7415,37.39201,-122.27665,,,,7415.0,257.9 -7463,37.3919,-122.27717,2pole,21.0,33.0,7463.0,257.9 +7463,37.3919,-122.27717,2pole,63.0,33.0,7463.0,257.9 7563,37.39168,-122.27827,,,,7563.0,258.5 -7593,37.39161,-122.2786,2pole,23.0,34.0,7593.0,258.5 +7593,37.39161,-122.2786,2pole,69.0,34.0,7593.0,258.5 7693,37.39165,-122.27973,,,,7693.0,272.1 7793,37.39169,-122.28086,,,,7793.0,272.1 -7840,37.39171,-122.28139,3pole,16.0,35.0,7840.0,272.1 +7840,37.39171,-122.28139,3pole,48.0,35.0,7840.0,272.1 7940,37.39122,-122.28234,,,,7940.0,242.6 8040,37.39073,-122.28329,,,,8040.0,242.6 8140,37.39024,-122.28423,,,,8140.0,242.6 @@ -246,121 +246,121 @@ position,latitude,longitude,configuration,pole_height,id,distance,heading 8340,37.38926,-122.28613,,,,8340.0,242.6 8440,37.38876,-122.28708,,,,8440.0,242.6 8540,37.38827,-122.28803,,,,8540.0,242.6 -8583,37.38806,-122.28844,tower,23.0,36.0,8584.0,242.6 +8583,37.38806,-122.28844,tower,69.0,36.0,8584.0,242.6 # geodata merge -D distance ../path_example.csv -k position position,latitude,longitude,configuration,pole_height,id,distance,heading -0,37.41505,-122.20565,flat3,18.0,0,0.0,0.0 -254,37.4147,-122.20849,sideT,20.0,1,254.0,263.0 -428,37.41445,-122.21044,sideT,21.0,2,428.0,262.7 -595,37.41422,-122.21231,sideT,18.0,3,595.0,263.0 -771,37.41398,-122.21427,sideT,20.0,4,771.0,263.0 -976,37.4137,-122.21657,sideT,18.0,5,976.0,263.1 -1128,37.41348,-122.21827,sideT,21.0,6,1128.0,262.6 -1326,37.41321,-122.22048,sideT,18.0,7,1326.0,263.0 -1490,37.41298,-122.22232,sideT,16.0,8,1490.0,262.9 -1690,37.41271,-122.22456,sideT,21.0,9,1690.0,263.1 -1941,37.41236,-122.22736,sideT,18.0,10,1941.0,262.9 -2123,37.41211,-122.2294,sideT,19.0,11,2123.0,263.0 -2341,37.41181,-122.23184,3pole,15.0,12,2341.0,263.0 -2718,37.40995,-122.23541,3pole,16.0,13,2718.0,242.5 -2941,37.40912,-122.23771,2pole,15.0,14,2941.0,250.2 -3268,37.40789,-122.24107,2pole,17.0,15,3268.0,249.9 -3466,37.40715,-122.24311,2pole,15.0,16,3466.0,250.1 -3653,37.40644,-122.24503,3pole,17.0,17,3653.0,249.7 -3759,37.40562,-122.24443,vert3,17.0,18,3759.0,143.8 -3878,37.40456,-122.24418,vert3,20.0,19,3878.0,166.7 -4009,37.40339,-122.24429,vert3,20.0,20,4009.0,185.4 -4115,37.40249,-122.24468,vert3,20.0,21,4115.0,203.4 -4267,37.40136,-122.24566,vert3,22.0,22,4267.0,220.9 -4627,37.39987,-122.24927,3pole,16.0,23,4627.0,247.6 -4793,37.39966,-122.25113,2pole,18.0,24,4793.0,263.6 -5248,37.39937,-122.25627,2pole,22.0,25,5248.0,266.8 -5397,37.39928,-122.25795,3pole,15.0,26,5397.0,266.9 -5977,37.39882,-122.26449,3pole,18.0,27,5977.0,266.0 -6119,37.39871,-122.2661,2pole,15.0,28,6119.0,266.1 -6250,37.39861,-122.26757,3pole,18.0,29,6250.0,266.1 -6783,37.39448,-122.27063,3pole,21.0,30,6783.0,216.5 -6971,37.39306,-122.2718,3pole,21.0,31,6971.0,219.5 -7215,37.39248,-122.27446,2pole,17.0,32,7215.0,257.7 -7463,37.3919,-122.27717,2pole,21.0,33,7463.0,257.9 -7593,37.39161,-122.2786,2pole,23.0,34,7593.0,258.5 -7840,37.39171,-122.28139,3pole,16.0,35,7840.0,272.1 -8583,37.38806,-122.28844,tower,23.0,36,8583.0,242.6 +0,37.41505,-122.20565,flat3,54,0,0.0,0.0 +254,37.4147,-122.20849,sideT,60,1,254.0,263.0 +428,37.41445,-122.21044,sideT,63,2,428.0,262.7 +595,37.41422,-122.21231,sideT,54,3,595.0,263.0 +771,37.41398,-122.21427,sideT,60,4,771.0,263.0 +976,37.4137,-122.21657,sideT,54,5,976.0,263.1 +1128,37.41348,-122.21827,sideT,63,6,1128.0,262.6 +1326,37.41321,-122.22048,sideT,54,7,1326.0,263.0 +1490,37.41298,-122.22232,sideT,48,8,1490.0,262.9 +1690,37.41271,-122.22456,sideT,63,9,1690.0,263.1 +1941,37.41236,-122.22736,sideT,54,10,1941.0,262.9 +2123,37.41211,-122.2294,sideT,57,11,2123.0,263.0 +2341,37.41181,-122.23184,3pole,45,12,2341.0,263.0 +2718,37.40995,-122.23541,3pole,48,13,2718.0,242.5 +2941,37.40912,-122.23771,2pole,45,14,2941.0,250.2 +3268,37.40789,-122.24107,2pole,51,15,3268.0,249.9 +3466,37.40715,-122.24311,2pole,45,16,3466.0,250.1 +3653,37.40644,-122.24503,3pole,51,17,3653.0,249.7 +3759,37.40562,-122.24443,vert3,51,18,3759.0,143.8 +3878,37.40456,-122.24418,vert3,60,19,3878.0,166.7 +4009,37.40339,-122.24429,vert3,60,20,4009.0,185.4 +4115,37.40249,-122.24468,vert3,60,21,4115.0,203.4 +4267,37.40136,-122.24566,vert3,66,22,4267.0,220.9 +4627,37.39987,-122.24927,3pole,48,23,4627.0,247.6 +4793,37.39966,-122.25113,2pole,54,24,4793.0,263.6 +5248,37.39937,-122.25627,2pole,66,25,5248.0,266.8 +5397,37.39928,-122.25795,3pole,45,26,5397.0,266.9 +5977,37.39882,-122.26449,3pole,54,27,5977.0,266.0 +6119,37.39871,-122.2661,2pole,45,28,6119.0,266.1 +6250,37.39861,-122.26757,3pole,54,29,6250.0,266.1 +6783,37.39448,-122.27063,3pole,63,30,6783.0,216.5 +6971,37.39306,-122.2718,3pole,63,31,6971.0,219.5 +7215,37.39248,-122.27446,2pole,51,32,7215.0,257.7 +7463,37.3919,-122.27717,2pole,63,33,7463.0,257.9 +7593,37.39161,-122.2786,2pole,69,34,7593.0,258.5 +7840,37.39171,-122.28139,3pole,48,35,7840.0,272.1 +8583,37.38806,-122.28844,tower,69,36,8583.0,242.6 # geodata merge -D distance ../path_example.csv -k location location,latitude,longitude,configuration,pole_height,id,distance -9q9hg5hw3yyf,37.41505,-122.20565,flat3,18.0,0,0.0 -9q9hg54krv95,37.4147,-122.20849,sideT,20.0,1,254.0 -9q9hg514fqgp,37.41445,-122.21044,sideT,21.0,2,428.0 -9q9hfgp9wu0g,37.41422,-122.21231,sideT,18.0,3,595.0 -9q9hfgn21p7k,37.41398,-122.21427,sideT,20.0,4,771.0 -9q9hffuwee0m,37.4137,-122.21657,sideT,18.0,5,976.0 -9q9hffgm7fht,37.41348,-122.21827,sideT,21.0,6,1128.0 -9q9hffcg8ruf,37.41321,-122.22048,sideT,18.0,7,1326.0 -9q9hffb6msby,37.41298,-122.22232,sideT,16.0,8,1490.0 -9q9hfdybc6ds,37.41271,-122.22456,sideT,21.0,9,1690.0 -9q9hfdsyb16s,37.41236,-122.22736,sideT,18.0,10,1941.0 -9q9hfdem2dc9,37.41211,-122.2294,sideT,19.0,11,2123.0 -9q9hfd97xdy5,37.41181,-122.23184,3pole,15.0,12,2341.0 -9q9hf6qbu80h,37.40995,-122.23541,3pole,16.0,13,2718.0 -9q9hf6j5yvmj,37.40912,-122.23771,2pole,15.0,14,2941.0 -9q9hf3fub85g,37.40789,-122.24107,2pole,17.0,15,3268.0 -9q9hf3c23n4t,37.40715,-122.24311,2pole,15.0,16,3466.0 -9q9hf1xuk3ff,37.40644,-122.24503,3pole,17.0,17,3653.0 -9q9hf32rd2fq,37.40562,-122.24443,vert3,17.0,18,3759.0 -9q9hf32925kg,37.40456,-122.24418,vert3,20.0,19,3878.0 -9q9hf306t96b,37.40339,-122.24429,vert3,20.0,20,4009.0 -9q9hf2bjk3rz,37.40249,-122.24468,vert3,20.0,21,4115.0 -9q9hf0xqtwv4,37.40136,-122.24566,vert3,22.0,22,4267.0 -9q9hf0ky1916,37.39987,-122.24927,3pole,16.0,23,4627.0 -9q9hf07ky1ym,37.39966,-122.25113,2pole,18.0,24,4793.0 -9q9hcbren7vu,37.39937,-122.25627,2pole,22.0,25,5248.0 -9q9hcbq6x715,37.39928,-122.25795,3pole,15.0,26,5397.0 -9q9hcb1xyvke,37.39882,-122.26449,3pole,18.0,27,5977.0 -9q9hcb0x32u4,37.39871,-122.2661,2pole,15.0,28,6119.0 -9q9hc8pqxn5y,37.39861,-122.26757,3pole,18.0,29,6250.0 -9q9h9xmnxu64,37.39448,-122.27063,3pole,21.0,30,6783.0 -9q9h9xhqke9g,37.39306,-122.2718,3pole,21.0,31,6971.0 -9q9h9x46yx6r,37.39248,-122.27446,2pole,17.0,32,7215.0 -9q9h9wbrx7me,37.3919,-122.27717,2pole,21.0,33,7463.0 -9q9h9qzmyj73,37.39161,-122.2786,2pole,23.0,34,7593.0 -9q9h9qvqmpfy,37.39171,-122.28139,3pole,16.0,35,7840.0 -9q9h9q230zd1,37.38806,-122.28844,tower,23.0,36,8583.0 +9q9hg5hw3yyf,37.41505,-122.20565,flat3,54,0,0.0 +9q9hg54krv95,37.4147,-122.20849,sideT,60,1,254.0 +9q9hg514fqgp,37.41445,-122.21044,sideT,63,2,428.0 +9q9hfgp9wu0g,37.41422,-122.21231,sideT,54,3,595.0 +9q9hfgn21p7k,37.41398,-122.21427,sideT,60,4,771.0 +9q9hffuwee0m,37.4137,-122.21657,sideT,54,5,976.0 +9q9hffgm7fht,37.41348,-122.21827,sideT,63,6,1128.0 +9q9hffcg8ruf,37.41321,-122.22048,sideT,54,7,1326.0 +9q9hffb6msby,37.41298,-122.22232,sideT,48,8,1490.0 +9q9hfdybc6ds,37.41271,-122.22456,sideT,63,9,1690.0 +9q9hfdsyb16s,37.41236,-122.22736,sideT,54,10,1941.0 +9q9hfdem2dc9,37.41211,-122.2294,sideT,57,11,2123.0 +9q9hfd97xdy5,37.41181,-122.23184,3pole,45,12,2341.0 +9q9hf6qbu80h,37.40995,-122.23541,3pole,48,13,2718.0 +9q9hf6j5yvmj,37.40912,-122.23771,2pole,45,14,2941.0 +9q9hf3fub85g,37.40789,-122.24107,2pole,51,15,3268.0 +9q9hf3c23n4t,37.40715,-122.24311,2pole,45,16,3466.0 +9q9hf1xuk3ff,37.40644,-122.24503,3pole,51,17,3653.0 +9q9hf32rd2fq,37.40562,-122.24443,vert3,51,18,3759.0 +9q9hf32925kg,37.40456,-122.24418,vert3,60,19,3878.0 +9q9hf306t96b,37.40339,-122.24429,vert3,60,20,4009.0 +9q9hf2bjk3rz,37.40249,-122.24468,vert3,60,21,4115.0 +9q9hf0xqtwv4,37.40136,-122.24566,vert3,66,22,4267.0 +9q9hf0ky1916,37.39987,-122.24927,3pole,48,23,4627.0 +9q9hf07ky1ym,37.39966,-122.25113,2pole,54,24,4793.0 +9q9hcbren7vu,37.39937,-122.25627,2pole,66,25,5248.0 +9q9hcbq6x715,37.39928,-122.25795,3pole,45,26,5397.0 +9q9hcb1xyvke,37.39882,-122.26449,3pole,54,27,5977.0 +9q9hcb0x32u4,37.39871,-122.2661,2pole,45,28,6119.0 +9q9hc8pqxn5y,37.39861,-122.26757,3pole,54,29,6250.0 +9q9h9xmnxu64,37.39448,-122.27063,3pole,63,30,6783.0 +9q9h9xhqke9g,37.39306,-122.2718,3pole,63,31,6971.0 +9q9h9x46yx6r,37.39248,-122.27446,2pole,51,32,7215.0 +9q9h9wbrx7me,37.3919,-122.27717,2pole,63,33,7463.0 +9q9h9qzmyj73,37.39161,-122.2786,2pole,69,34,7593.0 +9q9h9qvqmpfy,37.39171,-122.28139,3pole,48,35,7840.0 +9q9h9q230zd1,37.38806,-122.28844,tower,69,36,8583.0 # geodata merge -D distance ../path_example.csv -k latitude,longitude latitude,longitude,configuration,pole_height,id,distance -37.41505,-122.20565,flat3,18.0,0,0.0 -37.4147,-122.20849,sideT,20.0,1,254.0 -37.41445,-122.21044,sideT,21.0,2,429.0 -37.41422,-122.21231,sideT,18.0,3,596.0 -37.41398,-122.21427,sideT,20.0,4,771.0 -37.4137,-122.21657,sideT,18.0,5,976.0 -37.41348,-122.21827,sideT,21.0,6,1128.0 -37.41321,-122.22048,sideT,18.0,7,1326.0 -37.41298,-122.22232,sideT,16.0,8,1491.0 -37.41271,-122.22456,sideT,21.0,9,1691.0 -37.41236,-122.22736,sideT,18.0,10,1941.0 -37.41211,-122.2294,sideT,19.0,11,2123.0 -37.41181,-122.23184,3pole,15.0,12,2341.0 -37.40995,-122.23541,3pole,16.0,13,2718.0 -37.40912,-122.23771,2pole,15.0,14,2942.0 -37.40789,-122.24107,2pole,17.0,15,3268.0 -37.40715,-122.24311,2pole,15.0,16,3466.0 -37.40644,-122.24503,3pole,17.0,17,3653.0 -37.40562,-122.24443,vert3,17.0,18,3758.0 -37.40456,-122.24418,vert3,20.0,19,3879.0 -37.40339,-122.24429,vert3,20.0,20,4009.0 -37.40249,-122.24468,vert3,20.0,21,4115.0 -37.40136,-122.24566,vert3,22.0,22,4268.0 -37.39987,-122.24927,3pole,16.0,23,4627.0 -37.39966,-122.25113,2pole,18.0,24,4793.0 -37.39937,-122.25627,2pole,22.0,25,5248.0 -37.39928,-122.25795,3pole,15.0,26,5396.0 -37.39882,-122.26449,3pole,18.0,27,5976.0 -37.39871,-122.2661,2pole,15.0,28,6119.0 -37.39861,-122.26757,3pole,18.0,29,6250.0 -37.39448,-122.27063,3pole,21.0,30,6782.0 -37.39306,-122.2718,3pole,21.0,31,6971.0 -37.39248,-122.27446,2pole,17.0,32,7214.0 -37.3919,-122.27717,2pole,21.0,33,7463.0 -37.39161,-122.2786,2pole,23.0,34,7593.0 -37.39171,-122.28139,3pole,16.0,35,7839.0 -37.38806,-122.28844,tower,23.0,36,8583.0 +37.41505,-122.20565,flat3,54,0,0.0 +37.4147,-122.20849,sideT,60,1,254.0 +37.41445,-122.21044,sideT,63,2,429.0 +37.41422,-122.21231,sideT,54,3,596.0 +37.41398,-122.21427,sideT,60,4,771.0 +37.4137,-122.21657,sideT,54,5,976.0 +37.41348,-122.21827,sideT,63,6,1128.0 +37.41321,-122.22048,sideT,54,7,1326.0 +37.41298,-122.22232,sideT,48,8,1491.0 +37.41271,-122.22456,sideT,63,9,1691.0 +37.41236,-122.22736,sideT,54,10,1941.0 +37.41211,-122.2294,sideT,57,11,2123.0 +37.41181,-122.23184,3pole,45,12,2341.0 +37.40995,-122.23541,3pole,48,13,2718.0 +37.40912,-122.23771,2pole,45,14,2942.0 +37.40789,-122.24107,2pole,51,15,3268.0 +37.40715,-122.24311,2pole,45,16,3466.0 +37.40644,-122.24503,3pole,51,17,3653.0 +37.40562,-122.24443,vert3,51,18,3758.0 +37.40456,-122.24418,vert3,60,19,3879.0 +37.40339,-122.24429,vert3,60,20,4009.0 +37.40249,-122.24468,vert3,60,21,4115.0 +37.40136,-122.24566,vert3,66,22,4268.0 +37.39987,-122.24927,3pole,48,23,4627.0 +37.39966,-122.25113,2pole,54,24,4793.0 +37.39937,-122.25627,2pole,66,25,5248.0 +37.39928,-122.25795,3pole,45,26,5396.0 +37.39882,-122.26449,3pole,54,27,5976.0 +37.39871,-122.2661,2pole,45,28,6119.0 +37.39861,-122.26757,3pole,54,29,6250.0 +37.39448,-122.27063,3pole,63,30,6782.0 +37.39306,-122.2718,3pole,63,31,6971.0 +37.39248,-122.27446,2pole,51,32,7214.0 +37.3919,-122.27717,2pole,63,33,7463.0 +37.39161,-122.2786,2pole,69,34,7593.0 +37.39171,-122.28139,3pole,48,35,7839.0 +37.38806,-122.28844,tower,69,36,8583.0