select DropTopology('test_topo');
select CreateTopology('test_topo', 3346, 1, false);
select AddEdge('test_topo', st_geomfromtext('LINESTRING(585425.8616 6057708.2865,585952.595 6057488.6568,586183.8188 6057407.8023,586276.0288 6057363.5534,586896.7273 6057116.8633,587238.8018 6056986.2795,587269.5925 6057019.7784,587429.4894 6056922.6571,587679.743 6056826.8108,587889.6963 6056763.5788,587970.7266 6056759.3119,587971.1063 6057054.3945,588029.2355 6057193.9421,588129.9965 6057305.9503,588284.8404 6057443.2423,588453.9473 6057623.4669,588832.7668 6058328.965,589013.7269 6058656.3238,589054.4924 6058755.6321)', 3346));
select edge_id, st_distance(geom,       st_geomfromtext('POINT(585543.521727776 6057659.22627605)', 3346)) from test_topo.edge;
select st_newedgessplit('test_topo', 1, st_geomfromtext('POINT(585543.521727776 6057659.22627605)', 3346));
