数据预处理

ICDE 24

初始轨迹数据

转换为节点

First trajectory: {'m_geo': [[104.073372091009, 30.6881461729445], [104.07319289973, 30.6881485545542], [104.073372091009, 30.6881461729445], [104.073387213446, 30.6902857837831], [104.07329306067, 30.6902871693334], [104.073224148554, 30.6902877851368], [104.07319289973, 30.6881485545542], [104.073372091009, 30.6881461729445], [104.07319289973, 30.6881485545542], [104.073236995834, 30.6864931433841], [104.073252007268, 30.6862089306213], [104.073252900151, 30.686021645312], [104.073240875087, 30.6859016752304], [104.073374390323, 30.6858644214481], [104.073377200799, 30.6859937845419], [104.07335709199, 30.6865140000435], [104.073372091009, 30.6881461729445], [104.073387213446, 30.6902857837831], [104.076728347389, 30.6902104827947], [104.076706819739, 30.6881082847128], [104.073372091009, 30.6881461729445], [104.073387213446, 30.6902857837831], [104.07329306067, 30.6902871693334], [104.073224148554, 30.6902877851368], [104.07319289973, 30.6881485545542], [104.073372091009, 30.6881461729445], [104.073387213446, 30.6902857837831], [104.07341084928, 30.6924168045995], [104.073231558205, 30.6924199867679], [104.073224148554, 30.6902877851368], [104.07319289973, 30.6881485545542], [104.073372091009, 30.6881461729445], [104.073387213446, 30.6902857837831], [104.07329306067, 30.6902871693334], [104.073224148554, 30.6902877851368], [104.07319289973, 30.6881485545542], [104.073372091009, 30.6881461729445], [104.073387213446, 30.6902857837831], [104.07341084928, 30.6924168045995], [104.073231558205, 30.6924199867679], [104.073224148554, 30.6902877851368], [104.07319289973, 30.6881485545542], [104.073372091009, 30.6881461729445], [104.073387213446, 30.6902857837831], [104.07341084928, 30.6924168045995], [104.073231558205, 30.6924199867679], [104.073224148554, 30.6902877851368], [104.07319289973, 30.6881485545542], [104.073372091009, 30.6881461729445], [104.073387213446, 30.6902857837831], [104.07329306067, 30.6902871693334], [104.073224148554, 30.6902877851368], [104.07319289973, 30.6881485545542], [104.073372091009, 30.6881461729445], [104.073387213446, 30.6902857837831], [104.07341084928, 30.6924168045995], [104.073231558205, 30.6924199867679], [104.073224148554, 30.6902877851368], [104.07319289973, 30.6881485545542], [104.073372091009, 30.6881461729445], [104.073387213446, 30.6902857837831], [104.07341084928, 30.6924168045995], [104.073231558205, 30.6924199867679], [104.073224148554, 30.6902877851368], [104.07319289973, 30.6881485545542], [104.073372091009, 30.6881461729445], [104.073387213446, 30.6902857837831], [104.07341084928, 30.6924168045995], [104.073231558205, 30.6924199867679], [104.073224148554, 30.6902877851368], [104.07329306067, 30.6902871693334], [104.073387213446, 30.6902857837831], [104.07329306067, 30.6902871693334], [104.073224148554, 30.6902877851368], [104.07319289973, 30.6881485545542], [104.073372091009, 30.6881461729445], [104.07319289973, 30.6881485545542], [104.073236995834, 30.6864931433841], [104.073252007268, 30.6862089306213], [104.073252900151, 30.686021645312], [104.073240875087, 30.6859016752304], [104.073374390323, 30.6858644214481], [104.073377200799, 30.6859937845419], [104.07335709199, 30.6865140000435], [104.073372091009, 30.6881461729445], [104.073387213446, 30.6902857837831], [104.07329306067, 30.6902871693334], [104.073224148554, 30.6902877851368], [104.07319289973, 30.6881485545542], [104.073236995834, 30.6864931433841], [104.073252007268, 30.6862089306213], [104.073252900151, 30.686021645312], [104.073240875087, 30.6859016752304], [104.073374390323, 30.6858644214481], [104.073377200799, 30.6859937845419], [104.07335709199, 30.6865140000435], [104.073372091009, 30.6881461729445], [104.076706819739, 30.6881082847128], [104.076709396737, 30.6875245173686], [104.076709588874, 30.6873468354136], [104.076701672124, 30.687232674125], [104.076682941314, 30.6871553182179], [104.076304644898, 30.6862389847328], [104.07583800096, 30.6851448655334], [104.073715542799, 30.6859120574104], [104.073377200799, 30.6859937845419], [104.073252900151, 30.686021645312], [104.073240875087, 30.6859016752304], [104.07287609966, 30.6841918375007], [104.072520226382, 30.6823484463392], [104.07208308802, 30.6800224284435], [104.071983696928, 30.6795117683479], [104.071874576888, 30.6787392762627], [104.071757447998, 30.6780839270942], [104.071712760433, 30.6778325550526], [104.07167438766, 30.6776713321242], [104.071630105719, 30.6775318113568], [104.07161407665, 30.6774947737436], [104.071576910818, 30.67744430258], [104.070193412131, 30.6755656129359], [104.069093959911, 30.6740714188298], [104.068065484825, 30.672619897505], [104.067953467797, 30.6724872753446], [104.065552350195, 30.6691694781517], [104.065474988521, 30.6690205913131], [104.065535120892, 30.6670879216163], [104.065538423554, 30.6670012881263], [104.06558205856, 30.6658541450726], [104.065606081728, 30.6653089399516], [104.065597541035, 30.6625949239025], [104.065364840637, 30.6618445305246], [104.065151396208, 30.6615250556273], [104.064784326913, 30.6609757347941], [104.06451766574, 30.6606127510757], [104.064268237827, 30.660273202541], [104.06419597837, 30.6600434853879], [104.064187058671, 30.6600151585839], [104.064148573573, 30.6598915422909], [104.064222357075, 30.6583797971299], [104.064243993978, 30.658210357605], [104.064306150924, 30.6566481736351], [104.064335507749, 30.6565693862618], [104.064402842699, 30.6564933608399], [104.064477293277, 30.6564447585774], [104.06462669617, 30.6563802684651], [104.065130720427, 30.6563853670551], [104.065578322073, 30.656434987196], [104.065939541236, 30.6564401470985], [104.066273601095, 30.6564506626105], [104.066706446467, 30.6564260069609], [104.067242081823, 30.6564300086129], [104.069540670577, 30.6564897307498], [104.070981426705, 30.6564922837543], [104.070986326701, 30.6563056087027], [104.0709722855, 30.6559380296409], [104.070914978454, 30.6557783840141], [104.071153090713, 30.6557525874878], [104.073001367007, 30.6549190842665], [104.075413480251, 30.6537371024571]], 'n_geo': [[104.07337, 30.68815], [104.07319, 30.68815], [104.07337, 30.68815], [104.07339, 30.69029], [104.07329, 30.69029], [104.07322, 30.69029], [104.07319, 30.68815], [104.07337, 30.68815], [104.07319, 30.68815], [104.07325, 30.68602], [104.07324, 30.6859], [104.07337, 30.68586], [104.07338, 30.68599], [104.07337, 30.68815], [104.07339, 30.69029], [104.07673, 30.69021], [104.07671, 30.68811], [104.07337, 30.68815], [104.07339, 30.69029], [104.07329, 30.69029], [104.07322, 30.69029], [104.07319, 30.68815], [104.07337, 30.68815], [104.07339, 30.69029], [104.07341, 30.69242], [104.07323, 30.69242], [104.07322, 30.69029], [104.07319, 30.68815], [104.07337, 30.68815], [104.07339, 30.69029], [104.07329, 30.69029], [104.07322, 30.69029], [104.07319, 30.68815], [104.07337, 30.68815], [104.07339, 30.69029], [104.07341, 30.69242], [104.07323, 30.69242], [104.07322, 30.69029], [104.07319, 30.68815], [104.07337, 30.68815], [104.07339, 30.69029], [104.07341, 30.69242], [104.07323, 30.69242], [104.07322, 30.69029], [104.07319, 30.68815], [104.07337, 30.68815], [104.07339, 30.69029], [104.07329, 30.69029], [104.07322, 30.69029], [104.07319, 30.68815], [104.07337, 30.68815], [104.07339, 30.69029], [104.07341, 30.69242], [104.07323, 30.69242], [104.07322, 30.69029], [104.07319, 30.68815], [104.07337, 30.68815], [104.07339, 30.69029], [104.07341, 30.69242], [104.07323, 30.69242], [104.07322, 30.69029], [104.07319, 30.68815], [104.07337, 30.68815], [104.07339, 30.69029], [104.07341, 30.69242], [104.07323, 30.69242], [104.07322, 30.69029], [104.07329, 30.69029], [104.07339, 30.69029], [104.07329, 30.69029], [104.07322, 30.69029], [104.07319, 30.68815], [104.07337, 30.68815], [104.07319, 30.68815], [104.07325, 30.68602], [104.07324, 30.6859], [104.07337, 30.68586], [104.07338, 30.68599], [104.07337, 30.68815], [104.07339, 30.69029], [104.07329, 30.69029], [104.07322, 30.69029], [104.07319, 30.68815], [104.07325, 30.68602], [104.07324, 30.6859], [104.07337, 30.68586], [104.07338, 30.68599], [104.07337, 30.68815], [104.07671, 30.68811], [104.07671, 30.68752], [104.07671, 30.68735], [104.0767, 30.68723], [104.07668, 30.68716], [104.0763, 30.68624], [104.07584, 30.68514], [104.07338, 30.68599], [104.07325, 30.68602], [104.07324, 30.6859], [104.07252, 30.68235], [104.07198, 30.67951], [104.07163, 30.67753], [104.07161, 30.67749], [104.07158, 30.67744], [104.07019, 30.67557], [104.06909, 30.67407], [104.06807, 30.67262], [104.06795, 30.67249], [104.06555, 30.66917], [104.06547, 30.66902], [104.06554, 30.66709], [104.06554, 30.667], [104.06561, 30.66531], [104.0656, 30.66259], [104.06515, 30.66153], [104.0642, 30.66004], [104.06419, 30.66002], [104.06422, 30.65838], [104.06424, 30.65821], [104.06431, 30.65665], [104.06434, 30.65657], [104.06463, 30.65638], [104.06513, 30.65639], [104.06627, 30.65645], [104.06671, 30.65643], [104.06724, 30.65643], [104.06954, 30.65649], [104.07098, 30.65649], [104.07097, 30.65594], [104.07091, 30.65578], [104.07115, 30.65575], [104.073, 30.65492]], 'npath': [['[104.07337, 30.68815]', '[104.07319, 30.68815]'], ['[104.07319, 30.68815]', '[104.07337, 30.68815]'], ['[104.07337, 30.68815]', '[104.07339, 30.69029]'], ['[104.07339, 30.69029]', '[104.07329, 30.69029]'], ['[104.07329, 30.69029]', '[104.07322, 30.69029]'], ['[104.07322, 30.69029]', '[104.07319, 30.68815]'], ['[104.07319, 30.68815]', '[104.07337, 30.68815]'], ['[104.07337, 30.68815]', '[104.07319, 30.68815]'], ['[104.07319, 30.68815]', '[104.07325, 30.68602]'], ['[104.07325, 30.68602]', '[104.07324, 30.6859]'], ['[104.07324, 30.6859]', '[104.07337, 30.68586]'], ['[104.07337, 30.68586]', '[104.07338, 30.68599]'], ['[104.07338, 30.68599]', '[104.07337, 30.68815]'], ['[104.07337, 30.68815]', '[104.07339, 30.69029]'], ['[104.07339, 30.69029]', '[104.07673, 30.69021]'], ['[104.07673, 30.69021]', '[104.07671, 30.68811]'], ['[104.07671, 30.68811]', '[104.07337, 30.68815]'], ['[104.07337, 30.68815]', '[104.07339, 30.69029]'], ['[104.07339, 30.69029]', '[104.07329, 30.69029]'], ['[104.07329, 30.69029]', '[104.07322, 30.69029]'], ['[104.07322, 30.69029]', '[104.07319, 30.68815]'], ['[104.07319, 30.68815]', '[104.07337, 30.68815]'], ['[104.07337, 30.68815]', '[104.07339, 30.69029]'], ['[104.07339, 30.69029]', '[104.07341, 30.69242]'], ['[104.07341, 30.69242]', '[104.07323, 30.69242]'], ['[104.07323, 30.69242]', '[104.07322, 30.69029]'], ['[104.07322, 30.69029]', '[104.07319, 30.68815]'], ['[104.07319, 30.68815]', '[104.07337, 30.68815]'], ['[104.07337, 30.68815]', '[104.07339, 30.69029]'], ['[104.07339, 30.69029]', '[104.07329, 30.69029]'], ['[104.07329, 30.69029]', '[104.07322, 30.69029]'], ['[104.07322, 30.69029]', '[104.07319, 30.68815]'], ['[104.07319, 30.68815]', '[104.07337, 30.68815]'], ['[104.07337, 30.68815]', '[104.07339, 30.69029]'], ['[104.07339, 30.69029]', '[104.07341, 30.69242]'], ['[104.07341, 30.69242]', '[104.07323, 30.69242]'], ['[104.07323, 30.69242]', '[104.07322, 30.69029]'], ['[104.07322, 30.69029]', '[104.07319, 30.68815]'], ['[104.07319, 30.68815]', '[104.07337, 30.68815]'], ['[104.07337, 30.68815]', '[104.07339, 30.69029]'], ['[104.07339, 30.69029]', '[104.07341, 30.69242]'], ['[104.07341, 30.69242]', '[104.07323, 30.69242]'], ['[104.07323, 30.69242]', '[104.07322, 30.69029]'], ['[104.07322, 30.69029]', '[104.07319, 30.68815]'], ['[104.07319, 30.68815]', '[104.07337, 30.68815]'], ['[104.07337, 30.68815]', '[104.07339, 30.69029]'], ['[104.07339, 30.69029]', '[104.07329, 30.69029]'], ['[104.07329, 30.69029]', '[104.07322, 30.69029]'], ['[104.07322, 30.69029]', '[104.07319, 30.68815]'], ['[104.07319, 30.68815]', '[104.07337, 30.68815]'], ['[104.07337, 30.68815]', '[104.07339, 30.69029]'], ['[104.07339, 30.69029]', '[104.07341, 30.69242]'], ['[104.07341, 30.69242]', '[104.07323, 30.69242]'], ['[104.07323, 30.69242]', '[104.07322, 30.69029]'], ['[104.07322, 30.69029]', '[104.07319, 30.68815]'], ['[104.07319, 30.68815]', '[104.07337, 30.68815]'], ['[104.07337, 30.68815]', '[104.07339, 30.69029]'], ['[104.07339, 30.69029]', '[104.07341, 30.69242]'], ['[104.07341, 30.69242]', '[104.07323, 30.69242]'], ['[104.07323, 30.69242]', '[104.07322, 30.69029]'], ['[104.07322, 30.69029]', '[104.07319, 30.68815]'], ['[104.07319, 30.68815]', '[104.07337, 30.68815]'], ['[104.07337, 30.68815]', '[104.07339, 30.69029]'], ['[104.07339, 30.69029]', '[104.07341, 30.69242]'], ['[104.07341, 30.69242]', '[104.07323, 30.69242]'], ['[104.07323, 30.69242]', '[104.07322, 30.69029]'], ['[104.07322, 30.69029]', '[104.07329, 30.69029]'], ['[104.07329, 30.69029]', '[104.07339, 30.69029]'], ['[104.07339, 30.69029]', '[104.07329, 30.69029]'], ['[104.07329, 30.69029]', '[104.07322, 30.69029]'], ['[104.07322, 30.69029]', '[104.07319, 30.68815]'], ['[104.07319, 30.68815]', '[104.07337, 30.68815]'], ['[104.07337, 30.68815]', '[104.07319, 30.68815]'], ['[104.07319, 30.68815]', '[104.07325, 30.68602]'], ['[104.07325, 30.68602]', '[104.07324, 30.6859]'], ['[104.07324, 30.6859]', '[104.07337, 30.68586]'], ['[104.07337, 30.68586]', '[104.07338, 30.68599]'], ['[104.07338, 30.68599]', '[104.07337, 30.68815]'], ['[104.07337, 30.68815]', '[104.07339, 30.69029]'], ['[104.07339, 30.69029]', '[104.07329, 30.69029]'], ['[104.07329, 30.69029]', '[104.07322, 30.69029]'], ['[104.07322, 30.69029]', '[104.07319, 30.68815]'], ['[104.07319, 30.68815]', '[104.07325, 30.68602]'], ['[104.07325, 30.68602]', '[104.07324, 30.6859]'], ['[104.07324, 30.6859]', '[104.07337, 30.68586]'], ['[104.07337, 30.68586]', '[104.07338, 30.68599]'], ['[104.07338, 30.68599]', '[104.07337, 30.68815]'], ['[104.07337, 30.68815]', '[104.07671, 30.68811]'], ['[104.07671, 30.68811]', '[104.07671, 30.68752]'], ['[104.07671, 30.68752]', '[104.07671, 30.68735]'], ['[104.07671, 30.68735]', '[104.0767, 30.68723]'], ['[104.0767, 30.68723]', '[104.07668, 30.68716]'], ['[104.07668, 30.68716]', '[104.0763, 30.68624]'], ['[104.0763, 30.68624]', '[104.07584, 30.68514]'], ['[104.07584, 30.68514]', '[104.07338, 30.68599]'], ['[104.07338, 30.68599]', '[104.07325, 30.68602]'], ['[104.07325, 30.68602]', '[104.07324, 30.6859]'], ['[104.07324, 30.6859]', '[104.07252, 30.68235]'], ['[104.07252, 30.68235]', '[104.07198, 30.67951]'], ['[104.07198, 30.67951]', '[104.07163, 30.67753]'], ['[104.07163, 30.67753]', '[104.07161, 30.67749]'], ['[104.07161, 30.67749]', '[104.07158, 30.67744]'], ['[104.07158, 30.67744]', '[104.07019, 30.67557]'], ['[104.07019, 30.67557]', '[104.06909, 30.67407]'], ['[104.06909, 30.67407]', '[104.06807, 30.67262]'], ['[104.06807, 30.67262]', '[104.06795, 30.67249]'], ['[104.06795, 30.67249]', '[104.06555, 30.66917]'], ['[104.06555, 30.66917]', '[104.06547, 30.66902]'], ['[104.06547, 30.66902]', '[104.06554, 30.66709]'], ['[104.06554, 30.66709]', '[104.06554, 30.667]'], ['[104.06554, 30.667]', '[104.06561, 30.66531]'], ['[104.06561, 30.66531]', '[104.0656, 30.66259]'], ['[104.0656, 30.66259]', '[104.06515, 30.66153]'], ['[104.06515, 30.66153]', '[104.0642, 30.66004]'], ['[104.0642, 30.66004]', '[104.06419, 30.66002]'], ['[104.06419, 30.66002]', '[104.06422, 30.65838]'], ['[104.06422, 30.65838]', '[104.06424, 30.65821]'], ['[104.06424, 30.65821]', '[104.06431, 30.65665]'], ['[104.06431, 30.65665]', '[104.06434, 30.65657]'], ['[104.06434, 30.65657]', '[104.06463, 30.65638]'], ['[104.06463, 30.65638]', '[104.06513, 30.65639]'], ['[104.06513, 30.65639]', '[104.06627, 30.65645]'], ['[104.06627, 30.65645]', '[104.06671, 30.65643]'], ['[104.06671, 30.65643]', '[104.06724, 30.65643]'], ['[104.06724, 30.65643]', '[104.06954, 30.65649]'], ['[104.06954, 30.65649]', '[104.07098, 30.65649]'], ['[104.07098, 30.65649]', '[104.07097, 30.65594]'], ['[104.07097, 30.65594]', '[104.07091, 30.65578]'], ['[104.07091, 30.65578]', '[104.07115, 30.65575]'], ['[104.07115, 30.65575]', '[104.073, 30.65492]']]}

ICDE 23的数据处理格式

(12501, {'o_path': [657, 3138, 3138, 3138, 3138, 3138, 3138, 3138, 3138, 3138, 3138, 3138, 3138], 'dist': [0.0, 0.000163444, 0.000108052, 0.000155917, 8.60152e-05, 0.000186011, 4.19408e-05, 0.0, 1.39803e-05, 0.0, 8.05693e-06, 0.0, 0.0], 'cpath': [657, 3138], 'tpath': [[657, 3138], [3138], [3138], [3138], [3138], [3138], [3138], [3138], [3138], [3138], [3138], [3138]], 'tms': array([1.47799085e+09, 1.47799086e+09, 1.47799086e+09, 1.47799086e+09,
       1.47799086e+09, 1.47799087e+09, 1.47799087e+09, 1.47799088e+09,
       1.47799088e+09, 1.47799088e+09, 1.47799088e+09, 1.47799089e+09,
       1.47799089e+09]), 'devid': '98f757d97737c429cfb4be673a1ee70c', 'path': [[657, 3138], [3138], [3138], [3138], [3138], [3138], [3138], [3138], [3138], [3138], [3138], [3138]], 'match': True, 'speed': [0.0, 21.574608, 14.262864, 20.581044, 11.354006400000001, 12.276726000000002, 5.5361856, 0.0, 2.7680994, 0.0, 1.5952721399999998, 0.0, 0.0]})
posted @ 2024-12-04 10:22  GraphL  阅读(1)  评论(0编辑  收藏  举报