-- 2205001 : календарь берётся из оператора (время начала, время окончания, интервал)
-- 2205002 : точные расписания с пересечением по датам и дням недели (аналог примера #1 из README.md)
-- 2205003 : точные расписания с пересечением по датам и наличием альтернативных (аналог примера #2 из README.md)
-- 2205004 : совмещённые точное и интервальное расписания
-- 2205005 : точные расписания с переходом через Новый год
-- 2205006 : интервальное расписание длиной в 1 день со временем окончания в следующий день (05:30 - 01:00)
-- 2205007 : 2 круглогодичных интервальных расписания
-- 2205008 : 5 точных расписаний (https://n.maps.yandex.ru/#!/objects/2037273732)

-- ft
INSERT INTO ft VALUES (631000, NULL, 631, 5);
INSERT INTO ft VALUES (671001, NULL, 671, NULL, NULL, 5);
INSERT INTO ft VALUES (671002, NULL, 671, NULL, NULL, 5);
INSERT INTO ft VALUES (671003, NULL, 671, NULL, NULL, 5);
INSERT INTO ft VALUES (2201001, 631000, 2201, NULL, NULL, 5);
INSERT INTO ft VALUES (2205001, 2201001, 2205, NULL, NULL, 5);
INSERT INTO ft VALUES (2205002, 2201001, 2205, NULL, NULL, 5);
INSERT INTO ft VALUES (2205003, 2201001, 2205, NULL, NULL, 5);
INSERT INTO ft VALUES (2205004, 2201001, 2205, NULL, NULL, 5);
INSERT INTO ft VALUES (2205005, 2201001, 2205, NULL, NULL, 5);
INSERT INTO ft VALUES (2205006, 2201001, 2205, NULL, NULL, 5);
INSERT INTO ft VALUES (2205007, 2201001, 2205, NULL, NULL, 5);
INSERT INTO ft VALUES (2205008, 2201001, 2205, NULL, NULL, 5);
INSERT INTO ft VALUES (2206011, 2205001, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206012, 2205001, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206013, 2205001, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206014, 2205001, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206021, 2205002, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206022, 2205002, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206023, 2205002, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206024, 2205002, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206031, 2205003, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206032, 2205003, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206033, 2205003, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206034, 2205003, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206041, 2205004, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206042, 2205004, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206043, 2205004, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206044, 2205004, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206051, 2205005, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206052, 2205005, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206053, 2205005, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206054, 2205005, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206061, 2205006, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206062, 2205006, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206063, 2205006, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206064, 2205006, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206071, 2205007, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206072, 2205007, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206073, 2205007, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206074, 2205007, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206081, 2205008, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206082, 2205008, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206083, 2205008, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206084, 2205008, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2207001, 631000, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207021, 2205002, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207022, 2205002, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207023, 2205002, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207024, 2205002, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207031, 2205003, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207032, 2205003, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207033, 2205003, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207034, 2205003, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207041, 2205004, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207042, 2205004, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207043, 2205004, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207051, 2205005, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207061, 2205006, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207071, 2205007, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207072, 2205007, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207081, 2205008, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207082, 2205008, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207083, 2205008, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207084, 2205008, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2207085, 2205008, 2207, NULL, NULL, 5);
INSERT INTO ft VALUES (2211000, NULL, 2211, NULL, NULL, 5, 0, 5, 0, NULL, NULL, NULL);

-- ft_attr
INSERT INTO ft_attr VALUES (671003, 'waypoint', '1');
INSERT INTO ft_attr VALUES (2205001, 'type', 'linear');
INSERT INTO ft_attr VALUES (2205002, 'type', 'linear');
INSERT INTO ft_attr VALUES (2205003, 'type', 'linear');
INSERT INTO ft_attr VALUES (2205004, 'type', 'linear');
INSERT INTO ft_attr VALUES (2205005, 'type', 'linear');
INSERT INTO ft_attr VALUES (2205006, 'type', 'linear');
INSERT INTO ft_attr VALUES (2205007, 'type', 'linear');
INSERT INTO ft_attr VALUES (2205008, 'type', 'linear');
INSERT INTO ft_attr VALUES (2206011, 'travel_time', '0');
INSERT INTO ft_attr VALUES (2206011, 'wait_time', '1');
INSERT INTO ft_attr VALUES (2206012, 'travel_time', '2');
INSERT INTO ft_attr VALUES (2206012, 'wait_time', '0');
INSERT INTO ft_attr VALUES (2206013, 'travel_time', '2');
INSERT INTO ft_attr VALUES (2206013, 'wait_time', '0');
INSERT INTO ft_attr VALUES (2206014, 'travel_time', '2');
INSERT INTO ft_attr VALUES (2206014, 'wait_time', '0');
INSERT INTO ft_attr VALUES (2206021, 'travel_time', '0');
INSERT INTO ft_attr VALUES (2206021, 'wait_time', '1');
INSERT INTO ft_attr VALUES (2206022, 'travel_time', '3');
INSERT INTO ft_attr VALUES (2206022, 'wait_time', '0');
INSERT INTO ft_attr VALUES (2206023, 'travel_time', '3');
INSERT INTO ft_attr VALUES (2206023, 'wait_time', '0');
INSERT INTO ft_attr VALUES (2206024, 'travel_time', '3');
INSERT INTO ft_attr VALUES (2206024, 'wait_time', '0');
INSERT INTO ft_attr VALUES (2206031, 'travel_time', '0');
INSERT INTO ft_attr VALUES (2206031, 'wait_time', '1');
INSERT INTO ft_attr VALUES (2206032, 'travel_time', '3');
INSERT INTO ft_attr VALUES (2206032, 'wait_time', '0');
INSERT INTO ft_attr VALUES (2206033, 'travel_time', '3');
INSERT INTO ft_attr VALUES (2206033, 'wait_time', '0');
INSERT INTO ft_attr VALUES (2206034, 'travel_time', '3');
INSERT INTO ft_attr VALUES (2206034, 'wait_time', '0');
INSERT INTO ft_attr VALUES (2207001, 'date_start', '0204');
INSERT INTO ft_attr VALUES (2207001, 'date_end', '0408');
INSERT INTO ft_attr VALUES (2207001, 'day', '31');
INSERT INTO ft_attr VALUES (2207001, 'time_start', '0530');
INSERT INTO ft_attr VALUES (2207001, 'time_end', '2500');
INSERT INTO ft_attr VALUES (2207001, 'freq', '360');
INSERT INTO ft_attr VALUES (2207001, 'operator_assigned', '1');
INSERT INTO ft_attr VALUES (2207021, 'date_start', '0101');
INSERT INTO ft_attr VALUES (2207021, 'date_end', '0930');
INSERT INTO ft_attr VALUES (2207021, 'day', '19');
INSERT INTO ft_attr VALUES (2207021, 'departure_time', '0100');
INSERT INTO ft_attr VALUES (2207022, 'date_start', '0101');
INSERT INTO ft_attr VALUES (2207022, 'date_end', '0930');
INSERT INTO ft_attr VALUES (2207022, 'day', '19');
INSERT INTO ft_attr VALUES (2207022, 'departure_time', '0300');
INSERT INTO ft_attr VALUES (2207023, 'date_start', '0401');
INSERT INTO ft_attr VALUES (2207023, 'date_end', '1231');
INSERT INTO ft_attr VALUES (2207023, 'day', '81');
INSERT INTO ft_attr VALUES (2207023, 'departure_time', '0300');
INSERT INTO ft_attr VALUES (2207024, 'date_start', '0401');
INSERT INTO ft_attr VALUES (2207024, 'date_end', '1231');
INSERT INTO ft_attr VALUES (2207024, 'day', '81');
INSERT INTO ft_attr VALUES (2207024, 'departure_time', '1100');
INSERT INTO ft_attr VALUES (2207031, 'date_start', '0101');
INSERT INTO ft_attr VALUES (2207031, 'date_end', '1230');
INSERT INTO ft_attr VALUES (2207031, 'day', '127');
INSERT INTO ft_attr VALUES (2207031, 'departure_time', '0800');
INSERT INTO ft_attr VALUES (2207032, 'date_start', '0421');
INSERT INTO ft_attr VALUES (2207032, 'date_end', '0430');
INSERT INTO ft_attr VALUES (2207032, 'day', '127');
INSERT INTO ft_attr VALUES (2207032, 'departure_time', '0700');
INSERT INTO ft_attr VALUES (2207033, 'date_start', '0405');
INSERT INTO ft_attr VALUES (2207033, 'date_end', '0410');
INSERT INTO ft_attr VALUES (2207033, 'day', '127');
INSERT INTO ft_attr VALUES (2207033, 'departure_time', '0900');
INSERT INTO ft_attr VALUES (2207033, 'alternative', '1');
INSERT INTO ft_attr VALUES (2207034, 'date_start', '0405');
INSERT INTO ft_attr VALUES (2207034, 'date_end', '0410');
INSERT INTO ft_attr VALUES (2207034, 'day', '127');
INSERT INTO ft_attr VALUES (2207034, 'departure_time', '0915');
INSERT INTO ft_attr VALUES (2207034, 'alternative', '1');
INSERT INTO ft_attr VALUES (2207041, 'date_start', '0401');
INSERT INTO ft_attr VALUES (2207041, 'date_end', '0403');
INSERT INTO ft_attr VALUES (2207041, 'day', '31');
INSERT INTO ft_attr VALUES (2207041, 'time_start', '0800');
INSERT INTO ft_attr VALUES (2207041, 'time_end', '2100');
INSERT INTO ft_attr VALUES (2207041, 'freq', '127');
INSERT INTO ft_attr VALUES (2207042, 'date_start', '0401');
INSERT INTO ft_attr VALUES (2207042, 'date_end', '0403');
INSERT INTO ft_attr VALUES (2207042, 'day', '31');
INSERT INTO ft_attr VALUES (2207042, 'departure_time', '0600');
INSERT INTO ft_attr VALUES (2207043, 'date_start', '0401');
INSERT INTO ft_attr VALUES (2207043, 'date_end', '0403');
INSERT INTO ft_attr VALUES (2207043, 'day', '31');
INSERT INTO ft_attr VALUES (2207043, 'departure_time', '2300');
INSERT INTO ft_attr VALUES (2207051, 'date_start', '1116');
INSERT INTO ft_attr VALUES (2207051, 'date_end', '0419');
INSERT INTO ft_attr VALUES (2207051, 'day', '31');
INSERT INTO ft_attr VALUES (2207051, 'departure_time', '1345');
INSERT INTO ft_attr VALUES (2207061, 'date_start', '0410');
INSERT INTO ft_attr VALUES (2207061, 'date_end', '0410');
INSERT INTO ft_attr VALUES (2207061, 'day', '127');
INSERT INTO ft_attr VALUES (2207071, 'date_start', '0101');
INSERT INTO ft_attr VALUES (2207071, 'date_end', '1231');
INSERT INTO ft_attr VALUES (2207071, 'day', '127');
INSERT INTO ft_attr VALUES (2207071, 'time_start', '1000');
INSERT INTO ft_attr VALUES (2207071, 'time_end', '1300');
INSERT INTO ft_attr VALUES (2207071, 'freq', '4');
INSERT INTO ft_attr VALUES (2207072, 'date_start', '0101');
INSERT INTO ft_attr VALUES (2207072, 'date_end', '1231');
INSERT INTO ft_attr VALUES (2207072, 'day', '127');
INSERT INTO ft_attr VALUES (2207072, 'time_start', '1300');
INSERT INTO ft_attr VALUES (2207072, 'time_end', '1700');
INSERT INTO ft_attr VALUES (2207072, 'freq', '6');
INSERT INTO ft_attr VALUES (2207081, 'date_start', '0101');
INSERT INTO ft_attr VALUES (2207081, 'date_end', '1231');
INSERT INTO ft_attr VALUES (2207081, 'day', '63');
INSERT INTO ft_attr VALUES (2207081, 'departure_time', '0855');
INSERT INTO ft_attr VALUES (2207082, 'date_start', '0102');
INSERT INTO ft_attr VALUES (2207082, 'date_end', '0108');
INSERT INTO ft_attr VALUES (2207082, 'day', '127');
INSERT INTO ft_attr VALUES (2207082, 'departure_time', '1555');
INSERT INTO ft_attr VALUES (2207083, 'date_start', '0102');
INSERT INTO ft_attr VALUES (2207083, 'date_end', '1231');
INSERT INTO ft_attr VALUES (2207083, 'day', '127');
INSERT INTO ft_attr VALUES (2207083, 'departure_time', '0455');
INSERT INTO ft_attr VALUES (2207084, 'date_start', '0102');
INSERT INTO ft_attr VALUES (2207084, 'date_end', '1231');
INSERT INTO ft_attr VALUES (2207084, 'day', '127');
INSERT INTO ft_attr VALUES (2207084, 'departure_time', '0755');
INSERT INTO ft_attr VALUES (2207085, 'date_start', '0109');
INSERT INTO ft_attr VALUES (2207085, 'date_end', '1231');
INSERT INTO ft_attr VALUES (2207085, 'day', '80');
INSERT INTO ft_attr VALUES (2207085, 'departure_time', '1555');
INSERT INTO ft_attr VALUES (671002, 'closure', '1');
INSERT INTO ft_attr VALUES (671003, 'closure', '1');
INSERT INTO ft_attr VALUES (2205002, 'closure', '1');
INSERT INTO ft_attr VALUES (2211000, 'ft_type_id', '2201');
INSERT INTO ft_attr VALUES (2211000, 'name', '100Э');
INSERT INTO ft_attr VALUES (2211000, 'priority', NULL);

-- ft_center
INSERT INTO ft_center VALUES (631000, 631000);
INSERT INTO ft_center VALUES (671001, 671001);
INSERT INTO ft_center VALUES (671002, 671002);
INSERT INTO ft_center VALUES (671003, 671003);

-- ft_ft
INSERT INTO ft_ft VALUES (631000, 2201001, 'assigned_bus');
INSERT INTO ft_ft VALUES (2201001, 671001, 'assigned');
INSERT INTO ft_ft VALUES (2201001, 671002, 'assigned');
INSERT INTO ft_ft VALUES (2201001, 671003, 'assigned');
INSERT INTO ft_ft VALUES (2201001, 2205001, 'assigned_thread');
INSERT INTO ft_ft VALUES (2201001, 2205002, 'assigned_thread');
INSERT INTO ft_ft VALUES (2201001, 2205003, 'assigned_thread');
INSERT INTO ft_ft VALUES (2201001, 2205004, 'assigned_thread');
INSERT INTO ft_ft VALUES (2201001, 2205005, 'assigned_thread');
INSERT INTO ft_ft VALUES (2201001, 2205006, 'assigned_thread');
INSERT INTO ft_ft VALUES (2201001, 2205007, 'assigned_thread');
INSERT INTO ft_ft VALUES (2201001, 2205008, 'assigned_thread');
INSERT INTO ft_ft VALUES (2201001, 2211000, 'alias');
INSERT INTO ft_ft VALUES (671001, 2206011, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671002, 2206012, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671003, 2206013, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671001, 2206014, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671001, 2206021, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671002, 2206022, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671003, 2206023, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671001, 2206024, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671001, 2206031, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671002, 2206032, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671003, 2206033, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671001, 2206034, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671001, 2206041, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671002, 2206042, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671003, 2206043, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671001, 2206044, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671001, 2206051, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671002, 2206052, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671003, 2206053, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671001, 2206054, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671001, 2206061, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671002, 2206062, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671003, 2206063, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671001, 2206064, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671001, 2206071, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671002, 2206072, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671003, 2206073, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671001, 2206074, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671001, 2206081, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671002, 2206082, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671003, 2206083, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (671001, 2206084, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (2205001, 2206011, 'part');
INSERT INTO ft_ft VALUES (2205001, 2206012, 'part');
INSERT INTO ft_ft VALUES (2205001, 2206013, 'part');
INSERT INTO ft_ft VALUES (2205001, 2206014, 'part');
INSERT INTO ft_ft VALUES (2205002, 2206021, 'part');
INSERT INTO ft_ft VALUES (2205002, 2206022, 'part');
INSERT INTO ft_ft VALUES (2205002, 2206023, 'part');
INSERT INTO ft_ft VALUES (2205002, 2206024, 'part');
INSERT INTO ft_ft VALUES (2205003, 2206031, 'part');
INSERT INTO ft_ft VALUES (2205003, 2206032, 'part');
INSERT INTO ft_ft VALUES (2205003, 2206033, 'part');
INSERT INTO ft_ft VALUES (2205003, 2206034, 'part');
INSERT INTO ft_ft VALUES (2205004, 2206041, 'part');
INSERT INTO ft_ft VALUES (2205004, 2206042, 'part');
INSERT INTO ft_ft VALUES (2205004, 2206043, 'part');
INSERT INTO ft_ft VALUES (2205004, 2206044, 'part');
INSERT INTO ft_ft VALUES (2205005, 2206051, 'part');
INSERT INTO ft_ft VALUES (2205005, 2206052, 'part');
INSERT INTO ft_ft VALUES (2205005, 2206053, 'part');
INSERT INTO ft_ft VALUES (2205005, 2206054, 'part');
INSERT INTO ft_ft VALUES (2205006, 2206061, 'part');
INSERT INTO ft_ft VALUES (2205006, 2206062, 'part');
INSERT INTO ft_ft VALUES (2205006, 2206063, 'part');
INSERT INTO ft_ft VALUES (2205006, 2206064, 'part');
INSERT INTO ft_ft VALUES (2205007, 2206071, 'part');
INSERT INTO ft_ft VALUES (2205007, 2206072, 'part');
INSERT INTO ft_ft VALUES (2205007, 2206073, 'part');
INSERT INTO ft_ft VALUES (2205007, 2206074, 'part');
INSERT INTO ft_ft VALUES (2205008, 2206081, 'part');
INSERT INTO ft_ft VALUES (2205008, 2206082, 'part');
INSERT INTO ft_ft VALUES (2205008, 2206083, 'part');
INSERT INTO ft_ft VALUES (2205008, 2206084, 'part');
INSERT INTO ft_ft VALUES (2206012, 2206011, 'previous');
INSERT INTO ft_ft VALUES (2206013, 2206012, 'previous');
INSERT INTO ft_ft VALUES (2206014, 2206013, 'previous');
INSERT INTO ft_ft VALUES (2206022, 2206021, 'previous');
INSERT INTO ft_ft VALUES (2206023, 2206022, 'previous');
INSERT INTO ft_ft VALUES (2206024, 2206023, 'previous');
INSERT INTO ft_ft VALUES (2206032, 2206031, 'previous');
INSERT INTO ft_ft VALUES (2206033, 2206032, 'previous');
INSERT INTO ft_ft VALUES (2206034, 2206033, 'previous');
INSERT INTO ft_ft VALUES (2206042, 2206041, 'previous');
INSERT INTO ft_ft VALUES (2206043, 2206042, 'previous');
INSERT INTO ft_ft VALUES (2206044, 2206043, 'previous');
INSERT INTO ft_ft VALUES (2206052, 2206051, 'previous');
INSERT INTO ft_ft VALUES (2206053, 2206052, 'previous');
INSERT INTO ft_ft VALUES (2206054, 2206053, 'previous');
INSERT INTO ft_ft VALUES (2206062, 2206061, 'previous');
INSERT INTO ft_ft VALUES (2206063, 2206062, 'previous');
INSERT INTO ft_ft VALUES (2206064, 2206063, 'previous');
INSERT INTO ft_ft VALUES (2206072, 2206071, 'previous');
INSERT INTO ft_ft VALUES (2206073, 2206072, 'previous');
INSERT INTO ft_ft VALUES (2206074, 2206073, 'previous');
INSERT INTO ft_ft VALUES (2206082, 2206081, 'previous');
INSERT INTO ft_ft VALUES (2206083, 2206082, 'previous');
INSERT INTO ft_ft VALUES (2206084, 2206083, 'previous');
INSERT INTO ft_ft VALUES (631000, 2207001, 'applied_to');
INSERT INTO ft_ft VALUES (2205002, 2207021, 'applied_to');
INSERT INTO ft_ft VALUES (2205002, 2207022, 'applied_to');
INSERT INTO ft_ft VALUES (2205002, 2207023, 'applied_to');
INSERT INTO ft_ft VALUES (2205002, 2207024, 'applied_to');
INSERT INTO ft_ft VALUES (2205003, 2207031, 'applied_to');
INSERT INTO ft_ft VALUES (2205003, 2207032, 'applied_to');
INSERT INTO ft_ft VALUES (2205003, 2207033, 'applied_to');
INSERT INTO ft_ft VALUES (2205003, 2207034, 'applied_to');
INSERT INTO ft_ft VALUES (2205004, 2207041, 'applied_to');
INSERT INTO ft_ft VALUES (2205004, 2207042, 'applied_to');
INSERT INTO ft_ft VALUES (2205004, 2207043, 'applied_to');
INSERT INTO ft_ft VALUES (2205005, 2207051, 'applied_to');
INSERT INTO ft_ft VALUES (2205006, 2207061, 'applied_to');
INSERT INTO ft_ft VALUES (2205007, 2207071, 'applied_to');
INSERT INTO ft_ft VALUES (2205007, 2207072, 'applied_to');
INSERT INTO ft_ft VALUES (2205008, 2207081, 'applied_to');
INSERT INTO ft_ft VALUES (2205008, 2207082, 'applied_to');
INSERT INTO ft_ft VALUES (2205008, 2207083, 'applied_to');
INSERT INTO ft_ft VALUES (2205008, 2207084, 'applied_to');
INSERT INTO ft_ft VALUES (2205008, 2207085, 'applied_to');

-- ft_nm
INSERT INTO ft_nm VALUES (6710010, 671001, 'ru', NULL, NULL, NULL, NULL, TRUE, FALSE, 'Остановка 1', 0);
INSERT INTO ft_nm VALUES (6710020, 671002, 'ru', NULL, NULL, NULL, NULL, TRUE, FALSE, 'Остановка 2', 0);
INSERT INTO ft_nm VALUES (6710030, 671003, 'ru', NULL, NULL, NULL, NULL, TRUE, FALSE, 'Виртуальная', 0);
INSERT INTO ft_nm VALUES (22010010, 2201001, 'ru', NULL, NULL, NULL, NULL, TRUE, FALSE, '11', 0);

-- ft_rd_el
INSERT INTO ft_rd_el VALUES (2205001, 20000001);
INSERT INTO ft_rd_el VALUES (2205001, 20000002);
INSERT INTO ft_rd_el VALUES (2205001, 20000003);
INSERT INTO ft_rd_el VALUES (2205001, 20000004);
INSERT INTO ft_rd_el VALUES (2205001, 20000005);
INSERT INTO ft_rd_el VALUES (2205002, 20000001);
INSERT INTO ft_rd_el VALUES (2205002, 20000002);
INSERT INTO ft_rd_el VALUES (2205002, 20000003);
INSERT INTO ft_rd_el VALUES (2205002, 20000004);
INSERT INTO ft_rd_el VALUES (2205002, 20000005);
INSERT INTO ft_rd_el VALUES (2205003, 20000001);
INSERT INTO ft_rd_el VALUES (2205003, 20000002);
INSERT INTO ft_rd_el VALUES (2205003, 20000003);
INSERT INTO ft_rd_el VALUES (2205003, 20000004);
INSERT INTO ft_rd_el VALUES (2205003, 20000005);
INSERT INTO ft_rd_el VALUES (2205004, 20000001);
INSERT INTO ft_rd_el VALUES (2205004, 20000002);
INSERT INTO ft_rd_el VALUES (2205004, 20000003);
INSERT INTO ft_rd_el VALUES (2205004, 20000004);
INSERT INTO ft_rd_el VALUES (2205004, 20000005);
INSERT INTO ft_rd_el VALUES (2205005, 20000001);
INSERT INTO ft_rd_el VALUES (2205005, 20000002);
INSERT INTO ft_rd_el VALUES (2205005, 20000003);
INSERT INTO ft_rd_el VALUES (2205005, 20000004);
INSERT INTO ft_rd_el VALUES (2205005, 20000005);
INSERT INTO ft_rd_el VALUES (2205006, 20000001);
INSERT INTO ft_rd_el VALUES (2205006, 20000002);
INSERT INTO ft_rd_el VALUES (2205006, 20000003);
INSERT INTO ft_rd_el VALUES (2205006, 20000004);
INSERT INTO ft_rd_el VALUES (2205006, 20000005);
INSERT INTO ft_rd_el VALUES (2205007, 20000001);
INSERT INTO ft_rd_el VALUES (2205007, 20000002);
INSERT INTO ft_rd_el VALUES (2205007, 20000003);
INSERT INTO ft_rd_el VALUES (2205007, 20000004);
INSERT INTO ft_rd_el VALUES (2205007, 20000005);
INSERT INTO ft_rd_el VALUES (2205008, 20000001);
INSERT INTO ft_rd_el VALUES (2205008, 20000002);
INSERT INTO ft_rd_el VALUES (2205008, 20000003);
INSERT INTO ft_rd_el VALUES (2205008, 20000004);
INSERT INTO ft_rd_el VALUES (2205008, 20000005);

-- ft_source
INSERT INTO ft_source VALUES (671001, 3, 'mtr_671001');
INSERT INTO ft_source VALUES (671002, 3, 'mtr_671002');
INSERT INTO ft_source VALUES (671003, 3, 'mtr_671003');
INSERT INTO ft_source VALUES (2201001, 3, 'mtr_2201001');

-- node
INSERT INTO node VALUES (631000, 'SRID=4326;POINT(33.0002000 69.0002000)');
INSERT INTO node VALUES (671001, 'SRID=4326;POINT(33.0001000 69.0001000)');
INSERT INTO node VALUES (671002, 'SRID=4326;POINT(33.0001000 69.0003000)');
INSERT INTO node VALUES (671003, 'SRID=4326;POINT(33.0003000 69.0001000)');

-- rd_el
INSERT INTO rd_el VALUES (20000001, 10000001, 10000002, 7, 0, 73, 60, 0, 0, 'B', 31, 0, 0, 0, 0, 0, 1, 0, 0, 0, 'N', 0, 0, 0, 0, 0, 0, NULL, NULL, 'SRID=4326;LINESTRING(33.0001000 69.0001000, 33.0001000 69.0002000)');
INSERT INTO rd_el VALUES (20000002, 10000002, 10000003, 7, 0, 73, 60, 0, 0, 'B', 31, 0, 0, 0, 0, 0, 1, 0, 0, 0, 'N', 0, 0, 0, 0, 0, 0, NULL, NULL, 'SRID=4326;LINESTRING(33.0001000 69.0002000, 33.0001000 69.0003000)');
INSERT INTO rd_el VALUES (20000003, 10000003, 10000004, 7, 0, 73, 60, 0, 0, 'B', 31, 0, 0, 0, 0, 0, 1, 0, 0, 0, 'N', 0, 0, 0, 0, 0, 0, NULL, NULL, 'SRID=4326;LINESTRING(33.0001000 69.0003000, 33.0003000 69.0001000)');
INSERT INTO rd_el VALUES (20000004, 10000004, 10000005, 7, 0, 73, 60, 0, 0, 'B', 31, 0, 0, 0, 0, 0, 1, 0, 0, 0, 'N', 0, 0, 0, 0, 0, 0, NULL, NULL, 'SRID=4326;LINESTRING(33.0003000 69.0001000, 33.0002000 69.0001000)');
INSERT INTO rd_el VALUES (20000005, 10000005, 10000001, 7, 0, 73, 60, 0, 0, 'B', 31, 0, 0, 0, 0, 0, 1, 0, 0, 0, 'N', 0, 0, 0, 0, 0, 0, NULL, NULL, 'SRID=4326;LINESTRING(33.0002000 69.0001000, 33.0001000 69.0001000)');

-- rd_jc
INSERT INTO rd_jc VALUES (10000001, 'SRID=4326;POINT(33.0001000 69.0001000)');
INSERT INTO rd_jc VALUES (10000002, 'SRID=4326;POINT(33.0001000 69.0002000)');
INSERT INTO rd_jc VALUES (10000003, 'SRID=4326;POINT(33.0001000 69.0003000)');
INSERT INTO rd_jc VALUES (10000004, 'SRID=4326;POINT(33.0003000 69.0001000)');
INSERT INTO rd_jc VALUES (10000005, 'SRID=4326;POINT(33.0002000 69.0001000)');
