 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.410084 -2.998669)', '2026-06-27 07:45:27', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410134 -2.998773)'), GeomFromEWKT('SRID=4674;POINT (-39.410084 -2.998669)'))) / (select extract(epoch from '2026-06-27 07:45:27'::timestamp) - extract(epoch from '2026-06-27 07:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410134 -2.998773)'), GeomFromEWKT('SRID=4674;POINT (-39.410084 -2.998669)'))) / (select extract(epoch from '2026-06-27 07:45:27'::timestamp) - extract(epoch from '2026-06-27 07:45:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.41006 -2.998557)', '2026-06-27 07:45:33', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410084 -2.998669)'), GeomFromEWKT('SRID=4674;POINT (-39.41006 -2.998557)'))) / (select extract(epoch from '2026-06-27 07:45:33'::timestamp) - extract(epoch from '2026-06-27 07:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410084 -2.998669)'), GeomFromEWKT('SRID=4674;POINT (-39.41006 -2.998557)'))) / (select extract(epoch from '2026-06-27 07:45:33'::timestamp) - extract(epoch from '2026-06-27 07:45:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.410037 -2.998446)', '2026-06-27 07:45:39', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41006 -2.998557)'), GeomFromEWKT('SRID=4674;POINT (-39.410037 -2.998446)'))) / (select extract(epoch from '2026-06-27 07:45:39'::timestamp) - extract(epoch from '2026-06-27 07:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41006 -2.998557)'), GeomFromEWKT('SRID=4674;POINT (-39.410037 -2.998446)'))) / (select extract(epoch from '2026-06-27 07:45:39'::timestamp) - extract(epoch from '2026-06-27 07:45:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.410003 -2.998335)', '2026-06-27 07:45:45', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410037 -2.998446)'), GeomFromEWKT('SRID=4674;POINT (-39.410003 -2.998335)'))) / (select extract(epoch from '2026-06-27 07:45:45'::timestamp) - extract(epoch from '2026-06-27 07:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410037 -2.998446)'), GeomFromEWKT('SRID=4674;POINT (-39.410003 -2.998335)'))) / (select extract(epoch from '2026-06-27 07:45:45'::timestamp) - extract(epoch from '2026-06-27 07:45:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409978 -2.998218)', '2026-06-27 07:45:51', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410003 -2.998335)'), GeomFromEWKT('SRID=4674;POINT (-39.409978 -2.998218)'))) / (select extract(epoch from '2026-06-27 07:45:51'::timestamp) - extract(epoch from '2026-06-27 07:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410003 -2.998335)'), GeomFromEWKT('SRID=4674;POINT (-39.409978 -2.998218)'))) / (select extract(epoch from '2026-06-27 07:45:51'::timestamp) - extract(epoch from '2026-06-27 07:45:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409953 -2.998128)', '2026-06-27 07:45:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409978 -2.998218)'), GeomFromEWKT('SRID=4674;POINT (-39.409953 -2.998128)'))) / (select extract(epoch from '2026-06-27 07:45:56'::timestamp) - extract(epoch from '2026-06-27 07:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409978 -2.998218)'), GeomFromEWKT('SRID=4674;POINT (-39.409953 -2.998128)'))) / (select extract(epoch from '2026-06-27 07:45:56'::timestamp) - extract(epoch from '2026-06-27 07:45:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409947 -2.998118)', '2026-06-27 07:45:57', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409953 -2.998128)'), GeomFromEWKT('SRID=4674;POINT (-39.409947 -2.998118)'))) / (select extract(epoch from '2026-06-27 07:45:57'::timestamp) - extract(epoch from '2026-06-27 07:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409953 -2.998128)'), GeomFromEWKT('SRID=4674;POINT (-39.409947 -2.998118)'))) / (select extract(epoch from '2026-06-27 07:45:57'::timestamp) - extract(epoch from '2026-06-27 07:45:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409929 -2.998086)', '2026-06-27 07:46:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409947 -2.998118)'), GeomFromEWKT('SRID=4674;POINT (-39.409929 -2.998086)'))) / (select extract(epoch from '2026-06-27 07:46:02'::timestamp) - extract(epoch from '2026-06-27 07:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409947 -2.998118)'), GeomFromEWKT('SRID=4674;POINT (-39.409929 -2.998086)'))) / (select extract(epoch from '2026-06-27 07:46:02'::timestamp) - extract(epoch from '2026-06-27 07:45:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409916 -2.998138)', '2026-06-27 07:46:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409929 -2.998086)'), GeomFromEWKT('SRID=4674;POINT (-39.409916 -2.998138)'))) / (select extract(epoch from '2026-06-27 07:46:11'::timestamp) - extract(epoch from '2026-06-27 07:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409929 -2.998086)'), GeomFromEWKT('SRID=4674;POINT (-39.409916 -2.998138)'))) / (select extract(epoch from '2026-06-27 07:46:11'::timestamp) - extract(epoch from '2026-06-27 07:46:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.4099 -2.998213)', '2026-06-27 07:46:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409916 -2.998138)'), GeomFromEWKT('SRID=4674;POINT (-39.4099 -2.998213)'))) / (select extract(epoch from '2026-06-27 07:46:17'::timestamp) - extract(epoch from '2026-06-27 07:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409916 -2.998138)'), GeomFromEWKT('SRID=4674;POINT (-39.4099 -2.998213)'))) / (select extract(epoch from '2026-06-27 07:46:17'::timestamp) - extract(epoch from '2026-06-27 07:46:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409882 -2.998262)', '2026-06-27 07:46:23', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4099 -2.998213)'), GeomFromEWKT('SRID=4674;POINT (-39.409882 -2.998262)'))) / (select extract(epoch from '2026-06-27 07:46:23'::timestamp) - extract(epoch from '2026-06-27 07:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4099 -2.998213)'), GeomFromEWKT('SRID=4674;POINT (-39.409882 -2.998262)'))) / (select extract(epoch from '2026-06-27 07:46:23'::timestamp) - extract(epoch from '2026-06-27 07:46:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409881 -2.998274)', '2026-06-27 07:46:24', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409882 -2.998262)'), GeomFromEWKT('SRID=4674;POINT (-39.409881 -2.998274)'))) / (select extract(epoch from '2026-06-27 07:46:24'::timestamp) - extract(epoch from '2026-06-27 07:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409882 -2.998262)'), GeomFromEWKT('SRID=4674;POINT (-39.409881 -2.998274)'))) / (select extract(epoch from '2026-06-27 07:46:24'::timestamp) - extract(epoch from '2026-06-27 07:46:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409872 -2.998341)', '2026-06-27 07:46:32', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409881 -2.998274)'), GeomFromEWKT('SRID=4674;POINT (-39.409872 -2.998341)'))) / (select extract(epoch from '2026-06-27 07:46:32'::timestamp) - extract(epoch from '2026-06-27 07:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409881 -2.998274)'), GeomFromEWKT('SRID=4674;POINT (-39.409872 -2.998341)'))) / (select extract(epoch from '2026-06-27 07:46:32'::timestamp) - extract(epoch from '2026-06-27 07:46:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409869 -2.99841)', '2026-06-27 07:46:44', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409872 -2.998341)'), GeomFromEWKT('SRID=4674;POINT (-39.409869 -2.99841)'))) / (select extract(epoch from '2026-06-27 07:46:44'::timestamp) - extract(epoch from '2026-06-27 07:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409872 -2.998341)'), GeomFromEWKT('SRID=4674;POINT (-39.409869 -2.99841)'))) / (select extract(epoch from '2026-06-27 07:46:44'::timestamp) - extract(epoch from '2026-06-27 07:46:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409872 -2.998428)', '2026-06-27 07:46:52', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409869 -2.99841)'), GeomFromEWKT('SRID=4674;POINT (-39.409872 -2.998428)'))) / (select extract(epoch from '2026-06-27 07:46:52'::timestamp) - extract(epoch from '2026-06-27 07:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409869 -2.99841)'), GeomFromEWKT('SRID=4674;POINT (-39.409872 -2.998428)'))) / (select extract(epoch from '2026-06-27 07:46:52'::timestamp) - extract(epoch from '2026-06-27 07:46:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409877 -2.998405)', '2026-06-27 07:47:05', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409872 -2.998428)'), GeomFromEWKT('SRID=4674;POINT (-39.409877 -2.998405)'))) / (select extract(epoch from '2026-06-27 07:47:05'::timestamp) - extract(epoch from '2026-06-27 07:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409872 -2.998428)'), GeomFromEWKT('SRID=4674;POINT (-39.409877 -2.998405)'))) / (select extract(epoch from '2026-06-27 07:47:05'::timestamp) - extract(epoch from '2026-06-27 07:46:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409897 -2.998388)', '2026-06-27 07:47:13', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409877 -2.998405)'), GeomFromEWKT('SRID=4674;POINT (-39.409897 -2.998388)'))) / (select extract(epoch from '2026-06-27 07:47:13'::timestamp) - extract(epoch from '2026-06-27 07:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409877 -2.998405)'), GeomFromEWKT('SRID=4674;POINT (-39.409897 -2.998388)'))) / (select extract(epoch from '2026-06-27 07:47:13'::timestamp) - extract(epoch from '2026-06-27 07:47:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409921 -2.99842)', '2026-06-27 07:47:20', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409897 -2.998388)'), GeomFromEWKT('SRID=4674;POINT (-39.409921 -2.99842)'))) / (select extract(epoch from '2026-06-27 07:47:20'::timestamp) - extract(epoch from '2026-06-27 07:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409897 -2.998388)'), GeomFromEWKT('SRID=4674;POINT (-39.409921 -2.99842)'))) / (select extract(epoch from '2026-06-27 07:47:20'::timestamp) - extract(epoch from '2026-06-27 07:47:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409918 -2.998429)', '2026-06-27 07:47:28', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409921 -2.99842)'), GeomFromEWKT('SRID=4674;POINT (-39.409918 -2.998429)'))) / (select extract(epoch from '2026-06-27 07:47:28'::timestamp) - extract(epoch from '2026-06-27 07:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409921 -2.99842)'), GeomFromEWKT('SRID=4674;POINT (-39.409918 -2.998429)'))) / (select extract(epoch from '2026-06-27 07:47:28'::timestamp) - extract(epoch from '2026-06-27 07:47:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409875 -2.998388)', '2026-06-27 07:47:35', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409918 -2.998429)'), GeomFromEWKT('SRID=4674;POINT (-39.409875 -2.998388)'))) / (select extract(epoch from '2026-06-27 07:47:35'::timestamp) - extract(epoch from '2026-06-27 07:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409918 -2.998429)'), GeomFromEWKT('SRID=4674;POINT (-39.409875 -2.998388)'))) / (select extract(epoch from '2026-06-27 07:47:35'::timestamp) - extract(epoch from '2026-06-27 07:47:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40984 -2.998303)', '2026-06-27 07:47:41', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409875 -2.998388)'), GeomFromEWKT('SRID=4674;POINT (-39.40984 -2.998303)'))) / (select extract(epoch from '2026-06-27 07:47:41'::timestamp) - extract(epoch from '2026-06-27 07:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409875 -2.998388)'), GeomFromEWKT('SRID=4674;POINT (-39.40984 -2.998303)'))) / (select extract(epoch from '2026-06-27 07:47:41'::timestamp) - extract(epoch from '2026-06-27 07:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409837 -2.998268)', '2026-06-27 07:47:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40984 -2.998303)'), GeomFromEWKT('SRID=4674;POINT (-39.409837 -2.998268)'))) / (select extract(epoch from '2026-06-27 07:47:43'::timestamp) - extract(epoch from '2026-06-27 07:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40984 -2.998303)'), GeomFromEWKT('SRID=4674;POINT (-39.409837 -2.998268)'))) / (select extract(epoch from '2026-06-27 07:47:43'::timestamp) - extract(epoch from '2026-06-27 07:47:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409845 -2.998195)', '2026-06-27 07:47:47', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409837 -2.998268)'), GeomFromEWKT('SRID=4674;POINT (-39.409845 -2.998195)'))) / (select extract(epoch from '2026-06-27 07:47:47'::timestamp) - extract(epoch from '2026-06-27 07:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409837 -2.998268)'), GeomFromEWKT('SRID=4674;POINT (-39.409845 -2.998195)'))) / (select extract(epoch from '2026-06-27 07:47:47'::timestamp) - extract(epoch from '2026-06-27 07:47:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409833 -2.998057)', '2026-06-27 07:47:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409845 -2.998195)'), GeomFromEWKT('SRID=4674;POINT (-39.409833 -2.998057)'))) / (select extract(epoch from '2026-06-27 07:47:54'::timestamp) - extract(epoch from '2026-06-27 07:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409845 -2.998195)'), GeomFromEWKT('SRID=4674;POINT (-39.409833 -2.998057)'))) / (select extract(epoch from '2026-06-27 07:47:54'::timestamp) - extract(epoch from '2026-06-27 07:47:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409796 -2.997872)', '2026-06-27 07:48:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409833 -2.998057)'), GeomFromEWKT('SRID=4674;POINT (-39.409796 -2.997872)'))) / (select extract(epoch from '2026-06-27 07:48:03'::timestamp) - extract(epoch from '2026-06-27 07:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409833 -2.998057)'), GeomFromEWKT('SRID=4674;POINT (-39.409796 -2.997872)'))) / (select extract(epoch from '2026-06-27 07:48:03'::timestamp) - extract(epoch from '2026-06-27 07:47:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40977 -2.997749)', '2026-06-27 07:48:09', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409796 -2.997872)'), GeomFromEWKT('SRID=4674;POINT (-39.40977 -2.997749)'))) / (select extract(epoch from '2026-06-27 07:48:09'::timestamp) - extract(epoch from '2026-06-27 07:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409796 -2.997872)'), GeomFromEWKT('SRID=4674;POINT (-39.40977 -2.997749)'))) / (select extract(epoch from '2026-06-27 07:48:09'::timestamp) - extract(epoch from '2026-06-27 07:48:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409729 -2.997679)', '2026-06-27 07:48:14', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40977 -2.997749)'), GeomFromEWKT('SRID=4674;POINT (-39.409729 -2.997679)'))) / (select extract(epoch from '2026-06-27 07:48:14'::timestamp) - extract(epoch from '2026-06-27 07:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40977 -2.997749)'), GeomFromEWKT('SRID=4674;POINT (-39.409729 -2.997679)'))) / (select extract(epoch from '2026-06-27 07:48:14'::timestamp) - extract(epoch from '2026-06-27 07:48:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409707 -2.997654)', '2026-06-27 07:48:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409729 -2.997679)'), GeomFromEWKT('SRID=4674;POINT (-39.409707 -2.997654)'))) / (select extract(epoch from '2026-06-27 07:48:19'::timestamp) - extract(epoch from '2026-06-27 07:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409729 -2.997679)'), GeomFromEWKT('SRID=4674;POINT (-39.409707 -2.997654)'))) / (select extract(epoch from '2026-06-27 07:48:19'::timestamp) - extract(epoch from '2026-06-27 07:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409683 -2.997685)', '2026-06-27 07:48:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409707 -2.997654)'), GeomFromEWKT('SRID=4674;POINT (-39.409683 -2.997685)'))) / (select extract(epoch from '2026-06-27 07:48:26'::timestamp) - extract(epoch from '2026-06-27 07:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409707 -2.997654)'), GeomFromEWKT('SRID=4674;POINT (-39.409683 -2.997685)'))) / (select extract(epoch from '2026-06-27 07:48:26'::timestamp) - extract(epoch from '2026-06-27 07:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409666 -2.997768)', '2026-06-27 07:48:33', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409683 -2.997685)'), GeomFromEWKT('SRID=4674;POINT (-39.409666 -2.997768)'))) / (select extract(epoch from '2026-06-27 07:48:33'::timestamp) - extract(epoch from '2026-06-27 07:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409683 -2.997685)'), GeomFromEWKT('SRID=4674;POINT (-39.409666 -2.997768)'))) / (select extract(epoch from '2026-06-27 07:48:33'::timestamp) - extract(epoch from '2026-06-27 07:48:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40966 -2.997785)', '2026-06-27 07:48:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409666 -2.997768)'), GeomFromEWKT('SRID=4674;POINT (-39.40966 -2.997785)'))) / (select extract(epoch from '2026-06-27 07:48:35'::timestamp) - extract(epoch from '2026-06-27 07:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409666 -2.997768)'), GeomFromEWKT('SRID=4674;POINT (-39.40966 -2.997785)'))) / (select extract(epoch from '2026-06-27 07:48:35'::timestamp) - extract(epoch from '2026-06-27 07:48:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409665 -2.99781)', '2026-06-27 07:48:38', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40966 -2.997785)'), GeomFromEWKT('SRID=4674;POINT (-39.409665 -2.99781)'))) / (select extract(epoch from '2026-06-27 07:48:38'::timestamp) - extract(epoch from '2026-06-27 07:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40966 -2.997785)'), GeomFromEWKT('SRID=4674;POINT (-39.409665 -2.99781)'))) / (select extract(epoch from '2026-06-27 07:48:38'::timestamp) - extract(epoch from '2026-06-27 07:48:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409663 -2.997818)', '2026-06-27 07:48:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409665 -2.99781)'), GeomFromEWKT('SRID=4674;POINT (-39.409663 -2.997818)'))) / (select extract(epoch from '2026-06-27 07:48:39'::timestamp) - extract(epoch from '2026-06-27 07:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409665 -2.99781)'), GeomFromEWKT('SRID=4674;POINT (-39.409663 -2.997818)'))) / (select extract(epoch from '2026-06-27 07:48:39'::timestamp) - extract(epoch from '2026-06-27 07:48:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409647 -2.997875)', '2026-06-27 07:48:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409663 -2.997818)'), GeomFromEWKT('SRID=4674;POINT (-39.409647 -2.997875)'))) / (select extract(epoch from '2026-06-27 07:48:46'::timestamp) - extract(epoch from '2026-06-27 07:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409663 -2.997818)'), GeomFromEWKT('SRID=4674;POINT (-39.409647 -2.997875)'))) / (select extract(epoch from '2026-06-27 07:48:46'::timestamp) - extract(epoch from '2026-06-27 07:48:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409639 -2.997918)', '2026-06-27 07:48:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409647 -2.997875)'), GeomFromEWKT('SRID=4674;POINT (-39.409639 -2.997918)'))) / (select extract(epoch from '2026-06-27 07:48:55'::timestamp) - extract(epoch from '2026-06-27 07:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409647 -2.997875)'), GeomFromEWKT('SRID=4674;POINT (-39.409639 -2.997918)'))) / (select extract(epoch from '2026-06-27 07:48:55'::timestamp) - extract(epoch from '2026-06-27 07:48:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409644 -2.997928)', '2026-06-27 07:49:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409639 -2.997918)'), GeomFromEWKT('SRID=4674;POINT (-39.409644 -2.997928)'))) / (select extract(epoch from '2026-06-27 07:49:03'::timestamp) - extract(epoch from '2026-06-27 07:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409639 -2.997918)'), GeomFromEWKT('SRID=4674;POINT (-39.409644 -2.997928)'))) / (select extract(epoch from '2026-06-27 07:49:03'::timestamp) - extract(epoch from '2026-06-27 07:48:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409658 -2.997899)', '2026-06-27 07:49:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409644 -2.997928)'), GeomFromEWKT('SRID=4674;POINT (-39.409658 -2.997899)'))) / (select extract(epoch from '2026-06-27 07:49:24'::timestamp) - extract(epoch from '2026-06-27 07:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409644 -2.997928)'), GeomFromEWKT('SRID=4674;POINT (-39.409658 -2.997899)'))) / (select extract(epoch from '2026-06-27 07:49:24'::timestamp) - extract(epoch from '2026-06-27 07:49:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409697 -2.99789)', '2026-06-27 07:49:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409658 -2.997899)'), GeomFromEWKT('SRID=4674;POINT (-39.409697 -2.99789)'))) / (select extract(epoch from '2026-06-27 07:49:32'::timestamp) - extract(epoch from '2026-06-27 07:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409658 -2.997899)'), GeomFromEWKT('SRID=4674;POINT (-39.409697 -2.99789)'))) / (select extract(epoch from '2026-06-27 07:49:32'::timestamp) - extract(epoch from '2026-06-27 07:49:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409719 -2.997893)', '2026-06-27 07:49:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409697 -2.99789)'), GeomFromEWKT('SRID=4674;POINT (-39.409719 -2.997893)'))) / (select extract(epoch from '2026-06-27 07:49:34'::timestamp) - extract(epoch from '2026-06-27 07:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409697 -2.99789)'), GeomFromEWKT('SRID=4674;POINT (-39.409719 -2.997893)'))) / (select extract(epoch from '2026-06-27 07:49:34'::timestamp) - extract(epoch from '2026-06-27 07:49:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409724 -2.99789)', '2026-06-27 07:49:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409719 -2.997893)'), GeomFromEWKT('SRID=4674;POINT (-39.409724 -2.99789)'))) / (select extract(epoch from '2026-06-27 07:49:35'::timestamp) - extract(epoch from '2026-06-27 07:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409719 -2.997893)'), GeomFromEWKT('SRID=4674;POINT (-39.409724 -2.99789)'))) / (select extract(epoch from '2026-06-27 07:49:35'::timestamp) - extract(epoch from '2026-06-27 07:49:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409748 -2.997855)', '2026-06-27 07:49:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409724 -2.99789)'), GeomFromEWKT('SRID=4674;POINT (-39.409748 -2.997855)'))) / (select extract(epoch from '2026-06-27 07:49:41'::timestamp) - extract(epoch from '2026-06-27 07:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409724 -2.99789)'), GeomFromEWKT('SRID=4674;POINT (-39.409748 -2.997855)'))) / (select extract(epoch from '2026-06-27 07:49:41'::timestamp) - extract(epoch from '2026-06-27 07:49:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409712 -2.997792)', '2026-06-27 07:49:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409748 -2.997855)'), GeomFromEWKT('SRID=4674;POINT (-39.409712 -2.997792)'))) / (select extract(epoch from '2026-06-27 07:49:47'::timestamp) - extract(epoch from '2026-06-27 07:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409748 -2.997855)'), GeomFromEWKT('SRID=4674;POINT (-39.409712 -2.997792)'))) / (select extract(epoch from '2026-06-27 07:49:47'::timestamp) - extract(epoch from '2026-06-27 07:49:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40965 -2.997714)', '2026-06-27 07:49:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409712 -2.997792)'), GeomFromEWKT('SRID=4674;POINT (-39.40965 -2.997714)'))) / (select extract(epoch from '2026-06-27 07:49:53'::timestamp) - extract(epoch from '2026-06-27 07:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409712 -2.997792)'), GeomFromEWKT('SRID=4674;POINT (-39.40965 -2.997714)'))) / (select extract(epoch from '2026-06-27 07:49:53'::timestamp) - extract(epoch from '2026-06-27 07:49:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409599 -2.997614)', '2026-06-27 07:49:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40965 -2.997714)'), GeomFromEWKT('SRID=4674;POINT (-39.409599 -2.997614)'))) / (select extract(epoch from '2026-06-27 07:49:59'::timestamp) - extract(epoch from '2026-06-27 07:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40965 -2.997714)'), GeomFromEWKT('SRID=4674;POINT (-39.409599 -2.997614)'))) / (select extract(epoch from '2026-06-27 07:49:59'::timestamp) - extract(epoch from '2026-06-27 07:49:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409536 -2.997488)', '2026-06-27 07:50:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409599 -2.997614)'), GeomFromEWKT('SRID=4674;POINT (-39.409536 -2.997488)'))) / (select extract(epoch from '2026-06-27 07:50:06'::timestamp) - extract(epoch from '2026-06-27 07:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409599 -2.997614)'), GeomFromEWKT('SRID=4674;POINT (-39.409536 -2.997488)'))) / (select extract(epoch from '2026-06-27 07:50:06'::timestamp) - extract(epoch from '2026-06-27 07:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409503 -2.997348)', '2026-06-27 07:50:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409536 -2.997488)'), GeomFromEWKT('SRID=4674;POINT (-39.409503 -2.997348)'))) / (select extract(epoch from '2026-06-27 07:50:13'::timestamp) - extract(epoch from '2026-06-27 07:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409536 -2.997488)'), GeomFromEWKT('SRID=4674;POINT (-39.409503 -2.997348)'))) / (select extract(epoch from '2026-06-27 07:50:13'::timestamp) - extract(epoch from '2026-06-27 07:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409472 -2.99729)', '2026-06-27 07:50:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409503 -2.997348)'), GeomFromEWKT('SRID=4674;POINT (-39.409472 -2.99729)'))) / (select extract(epoch from '2026-06-27 07:50:18'::timestamp) - extract(epoch from '2026-06-27 07:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409503 -2.997348)'), GeomFromEWKT('SRID=4674;POINT (-39.409472 -2.99729)'))) / (select extract(epoch from '2026-06-27 07:50:18'::timestamp) - extract(epoch from '2026-06-27 07:50:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409447 -2.997287)', '2026-06-27 07:50:24', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409472 -2.99729)'), GeomFromEWKT('SRID=4674;POINT (-39.409447 -2.997287)'))) / (select extract(epoch from '2026-06-27 07:50:24'::timestamp) - extract(epoch from '2026-06-27 07:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409472 -2.99729)'), GeomFromEWKT('SRID=4674;POINT (-39.409447 -2.997287)'))) / (select extract(epoch from '2026-06-27 07:50:24'::timestamp) - extract(epoch from '2026-06-27 07:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409421 -2.99733)', '2026-06-27 07:50:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409447 -2.997287)'), GeomFromEWKT('SRID=4674;POINT (-39.409421 -2.99733)'))) / (select extract(epoch from '2026-06-27 07:50:30'::timestamp) - extract(epoch from '2026-06-27 07:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409447 -2.997287)'), GeomFromEWKT('SRID=4674;POINT (-39.409421 -2.99733)'))) / (select extract(epoch from '2026-06-27 07:50:30'::timestamp) - extract(epoch from '2026-06-27 07:50:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409391 -2.997391)', '2026-06-27 07:50:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409421 -2.99733)'), GeomFromEWKT('SRID=4674;POINT (-39.409391 -2.997391)'))) / (select extract(epoch from '2026-06-27 07:50:37'::timestamp) - extract(epoch from '2026-06-27 07:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409421 -2.99733)'), GeomFromEWKT('SRID=4674;POINT (-39.409391 -2.997391)'))) / (select extract(epoch from '2026-06-27 07:50:37'::timestamp) - extract(epoch from '2026-06-27 07:50:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40938 -2.997416)', '2026-06-27 07:50:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409391 -2.997391)'), GeomFromEWKT('SRID=4674;POINT (-39.40938 -2.997416)'))) / (select extract(epoch from '2026-06-27 07:50:39'::timestamp) - extract(epoch from '2026-06-27 07:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409391 -2.997391)'), GeomFromEWKT('SRID=4674;POINT (-39.40938 -2.997416)'))) / (select extract(epoch from '2026-06-27 07:50:39'::timestamp) - extract(epoch from '2026-06-27 07:50:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409379 -2.997436)', '2026-06-27 07:50:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40938 -2.997416)'), GeomFromEWKT('SRID=4674;POINT (-39.409379 -2.997436)'))) / (select extract(epoch from '2026-06-27 07:50:41'::timestamp) - extract(epoch from '2026-06-27 07:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40938 -2.997416)'), GeomFromEWKT('SRID=4674;POINT (-39.409379 -2.997436)'))) / (select extract(epoch from '2026-06-27 07:50:41'::timestamp) - extract(epoch from '2026-06-27 07:50:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409377 -2.997444)', '2026-06-27 07:50:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409379 -2.997436)'), GeomFromEWKT('SRID=4674;POINT (-39.409377 -2.997444)'))) / (select extract(epoch from '2026-06-27 07:50:42'::timestamp) - extract(epoch from '2026-06-27 07:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409379 -2.997436)'), GeomFromEWKT('SRID=4674;POINT (-39.409377 -2.997444)'))) / (select extract(epoch from '2026-06-27 07:50:42'::timestamp) - extract(epoch from '2026-06-27 07:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40936 -2.997485)', '2026-06-27 07:50:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409377 -2.997444)'), GeomFromEWKT('SRID=4674;POINT (-39.40936 -2.997485)'))) / (select extract(epoch from '2026-06-27 07:50:50'::timestamp) - extract(epoch from '2026-06-27 07:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409377 -2.997444)'), GeomFromEWKT('SRID=4674;POINT (-39.40936 -2.997485)'))) / (select extract(epoch from '2026-06-27 07:50:50'::timestamp) - extract(epoch from '2026-06-27 07:50:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409342 -2.997529)', '2026-06-27 07:50:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40936 -2.997485)'), GeomFromEWKT('SRID=4674;POINT (-39.409342 -2.997529)'))) / (select extract(epoch from '2026-06-27 07:50:59'::timestamp) - extract(epoch from '2026-06-27 07:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40936 -2.997485)'), GeomFromEWKT('SRID=4674;POINT (-39.409342 -2.997529)'))) / (select extract(epoch from '2026-06-27 07:50:59'::timestamp) - extract(epoch from '2026-06-27 07:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409344 -2.997535)', '2026-06-27 07:51:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409342 -2.997529)'), GeomFromEWKT('SRID=4674;POINT (-39.409344 -2.997535)'))) / (select extract(epoch from '2026-06-27 07:51:09'::timestamp) - extract(epoch from '2026-06-27 07:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409342 -2.997529)'), GeomFromEWKT('SRID=4674;POINT (-39.409344 -2.997535)'))) / (select extract(epoch from '2026-06-27 07:51:09'::timestamp) - extract(epoch from '2026-06-27 07:50:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409382 -2.997511)', '2026-06-27 07:51:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409344 -2.997535)'), GeomFromEWKT('SRID=4674;POINT (-39.409382 -2.997511)'))) / (select extract(epoch from '2026-06-27 07:51:33'::timestamp) - extract(epoch from '2026-06-27 07:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409344 -2.997535)'), GeomFromEWKT('SRID=4674;POINT (-39.409382 -2.997511)'))) / (select extract(epoch from '2026-06-27 07:51:33'::timestamp) - extract(epoch from '2026-06-27 07:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409416 -2.997532)', '2026-06-27 07:51:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409382 -2.997511)'), GeomFromEWKT('SRID=4674;POINT (-39.409416 -2.997532)'))) / (select extract(epoch from '2026-06-27 07:51:38'::timestamp) - extract(epoch from '2026-06-27 07:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409382 -2.997511)'), GeomFromEWKT('SRID=4674;POINT (-39.409416 -2.997532)'))) / (select extract(epoch from '2026-06-27 07:51:38'::timestamp) - extract(epoch from '2026-06-27 07:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409427 -2.997534)', '2026-06-27 07:51:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409416 -2.997532)'), GeomFromEWKT('SRID=4674;POINT (-39.409427 -2.997534)'))) / (select extract(epoch from '2026-06-27 07:51:39'::timestamp) - extract(epoch from '2026-06-27 07:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409416 -2.997532)'), GeomFromEWKT('SRID=4674;POINT (-39.409427 -2.997534)'))) / (select extract(epoch from '2026-06-27 07:51:39'::timestamp) - extract(epoch from '2026-06-27 07:51:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409477 -2.997513)', '2026-06-27 07:51:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409427 -2.997534)'), GeomFromEWKT('SRID=4674;POINT (-39.409477 -2.997513)'))) / (select extract(epoch from '2026-06-27 07:51:46'::timestamp) - extract(epoch from '2026-06-27 07:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409427 -2.997534)'), GeomFromEWKT('SRID=4674;POINT (-39.409477 -2.997513)'))) / (select extract(epoch from '2026-06-27 07:51:46'::timestamp) - extract(epoch from '2026-06-27 07:51:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409494 -2.997463)', '2026-06-27 07:51:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409477 -2.997513)'), GeomFromEWKT('SRID=4674;POINT (-39.409494 -2.997463)'))) / (select extract(epoch from '2026-06-27 07:51:52'::timestamp) - extract(epoch from '2026-06-27 07:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409477 -2.997513)'), GeomFromEWKT('SRID=4674;POINT (-39.409494 -2.997463)'))) / (select extract(epoch from '2026-06-27 07:51:52'::timestamp) - extract(epoch from '2026-06-27 07:51:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409451 -2.997394)', '2026-06-27 07:51:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409494 -2.997463)'), GeomFromEWKT('SRID=4674;POINT (-39.409451 -2.997394)'))) / (select extract(epoch from '2026-06-27 07:51:59'::timestamp) - extract(epoch from '2026-06-27 07:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409494 -2.997463)'), GeomFromEWKT('SRID=4674;POINT (-39.409451 -2.997394)'))) / (select extract(epoch from '2026-06-27 07:51:59'::timestamp) - extract(epoch from '2026-06-27 07:51:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409384 -2.99729)', '2026-06-27 07:52:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409451 -2.997394)'), GeomFromEWKT('SRID=4674;POINT (-39.409384 -2.99729)'))) / (select extract(epoch from '2026-06-27 07:52:06'::timestamp) - extract(epoch from '2026-06-27 07:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409451 -2.997394)'), GeomFromEWKT('SRID=4674;POINT (-39.409384 -2.99729)'))) / (select extract(epoch from '2026-06-27 07:52:06'::timestamp) - extract(epoch from '2026-06-27 07:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409324 -2.997164)', '2026-06-27 07:52:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409384 -2.99729)'), GeomFromEWKT('SRID=4674;POINT (-39.409324 -2.997164)'))) / (select extract(epoch from '2026-06-27 07:52:13'::timestamp) - extract(epoch from '2026-06-27 07:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409384 -2.99729)'), GeomFromEWKT('SRID=4674;POINT (-39.409324 -2.997164)'))) / (select extract(epoch from '2026-06-27 07:52:13'::timestamp) - extract(epoch from '2026-06-27 07:52:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409283 -2.997042)', '2026-06-27 07:52:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409324 -2.997164)'), GeomFromEWKT('SRID=4674;POINT (-39.409283 -2.997042)'))) / (select extract(epoch from '2026-06-27 07:52:19'::timestamp) - extract(epoch from '2026-06-27 07:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409324 -2.997164)'), GeomFromEWKT('SRID=4674;POINT (-39.409283 -2.997042)'))) / (select extract(epoch from '2026-06-27 07:52:19'::timestamp) - extract(epoch from '2026-06-27 07:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409225 -2.996937)', '2026-06-27 07:52:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409283 -2.997042)'), GeomFromEWKT('SRID=4674;POINT (-39.409225 -2.996937)'))) / (select extract(epoch from '2026-06-27 07:52:25'::timestamp) - extract(epoch from '2026-06-27 07:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409283 -2.997042)'), GeomFromEWKT('SRID=4674;POINT (-39.409225 -2.996937)'))) / (select extract(epoch from '2026-06-27 07:52:25'::timestamp) - extract(epoch from '2026-06-27 07:52:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409183 -2.996901)', '2026-06-27 07:52:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409225 -2.996937)'), GeomFromEWKT('SRID=4674;POINT (-39.409183 -2.996901)'))) / (select extract(epoch from '2026-06-27 07:52:30'::timestamp) - extract(epoch from '2026-06-27 07:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409225 -2.996937)'), GeomFromEWKT('SRID=4674;POINT (-39.409183 -2.996901)'))) / (select extract(epoch from '2026-06-27 07:52:30'::timestamp) - extract(epoch from '2026-06-27 07:52:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409159 -2.996911)', '2026-06-27 07:52:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409183 -2.996901)'), GeomFromEWKT('SRID=4674;POINT (-39.409159 -2.996911)'))) / (select extract(epoch from '2026-06-27 07:52:37'::timestamp) - extract(epoch from '2026-06-27 07:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409183 -2.996901)'), GeomFromEWKT('SRID=4674;POINT (-39.409159 -2.996911)'))) / (select extract(epoch from '2026-06-27 07:52:37'::timestamp) - extract(epoch from '2026-06-27 07:52:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409158 -2.996986)', '2026-06-27 07:52:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409159 -2.996911)'), GeomFromEWKT('SRID=4674;POINT (-39.409158 -2.996986)'))) / (select extract(epoch from '2026-06-27 07:52:44'::timestamp) - extract(epoch from '2026-06-27 07:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409159 -2.996911)'), GeomFromEWKT('SRID=4674;POINT (-39.409158 -2.996986)'))) / (select extract(epoch from '2026-06-27 07:52:44'::timestamp) - extract(epoch from '2026-06-27 07:52:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40916 -2.99703)', '2026-06-27 07:52:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409158 -2.996986)'), GeomFromEWKT('SRID=4674;POINT (-39.40916 -2.99703)'))) / (select extract(epoch from '2026-06-27 07:52:48'::timestamp) - extract(epoch from '2026-06-27 07:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409158 -2.996986)'), GeomFromEWKT('SRID=4674;POINT (-39.40916 -2.99703)'))) / (select extract(epoch from '2026-06-27 07:52:48'::timestamp) - extract(epoch from '2026-06-27 07:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409157 -2.997045)', '2026-06-27 07:52:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40916 -2.99703)'), GeomFromEWKT('SRID=4674;POINT (-39.409157 -2.997045)'))) / (select extract(epoch from '2026-06-27 07:52:50'::timestamp) - extract(epoch from '2026-06-27 07:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40916 -2.99703)'), GeomFromEWKT('SRID=4674;POINT (-39.409157 -2.997045)'))) / (select extract(epoch from '2026-06-27 07:52:50'::timestamp) - extract(epoch from '2026-06-27 07:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409117 -2.997076)', '2026-06-27 07:52:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409157 -2.997045)'), GeomFromEWKT('SRID=4674;POINT (-39.409117 -2.997076)'))) / (select extract(epoch from '2026-06-27 07:52:58'::timestamp) - extract(epoch from '2026-06-27 07:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409157 -2.997045)'), GeomFromEWKT('SRID=4674;POINT (-39.409117 -2.997076)'))) / (select extract(epoch from '2026-06-27 07:52:58'::timestamp) - extract(epoch from '2026-06-27 07:52:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409098 -2.997097)', '2026-06-27 07:53:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409117 -2.997076)'), GeomFromEWKT('SRID=4674;POINT (-39.409098 -2.997097)'))) / (select extract(epoch from '2026-06-27 07:53:01'::timestamp) - extract(epoch from '2026-06-27 07:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409117 -2.997076)'), GeomFromEWKT('SRID=4674;POINT (-39.409098 -2.997097)'))) / (select extract(epoch from '2026-06-27 07:53:01'::timestamp) - extract(epoch from '2026-06-27 07:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409091 -2.997115)', '2026-06-27 07:53:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409098 -2.997097)'), GeomFromEWKT('SRID=4674;POINT (-39.409091 -2.997115)'))) / (select extract(epoch from '2026-06-27 07:53:04'::timestamp) - extract(epoch from '2026-06-27 07:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409098 -2.997097)'), GeomFromEWKT('SRID=4674;POINT (-39.409091 -2.997115)'))) / (select extract(epoch from '2026-06-27 07:53:04'::timestamp) - extract(epoch from '2026-06-27 07:53:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409102 -2.997128)', '2026-06-27 07:53:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409091 -2.997115)'), GeomFromEWKT('SRID=4674;POINT (-39.409102 -2.997128)'))) / (select extract(epoch from '2026-06-27 07:53:12'::timestamp) - extract(epoch from '2026-06-27 07:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409091 -2.997115)'), GeomFromEWKT('SRID=4674;POINT (-39.409102 -2.997128)'))) / (select extract(epoch from '2026-06-27 07:53:12'::timestamp) - extract(epoch from '2026-06-27 07:53:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409145 -2.997081)', '2026-06-27 07:53:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409102 -2.997128)'), GeomFromEWKT('SRID=4674;POINT (-39.409145 -2.997081)'))) / (select extract(epoch from '2026-06-27 07:53:35'::timestamp) - extract(epoch from '2026-06-27 07:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409102 -2.997128)'), GeomFromEWKT('SRID=4674;POINT (-39.409145 -2.997081)'))) / (select extract(epoch from '2026-06-27 07:53:35'::timestamp) - extract(epoch from '2026-06-27 07:53:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409158 -2.997062)', '2026-06-27 07:53:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409145 -2.997081)'), GeomFromEWKT('SRID=4674;POINT (-39.409158 -2.997062)'))) / (select extract(epoch from '2026-06-27 07:53:41'::timestamp) - extract(epoch from '2026-06-27 07:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409145 -2.997081)'), GeomFromEWKT('SRID=4674;POINT (-39.409158 -2.997062)'))) / (select extract(epoch from '2026-06-27 07:53:41'::timestamp) - extract(epoch from '2026-06-27 07:53:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409174 -2.99707)', '2026-06-27 07:53:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409158 -2.997062)'), GeomFromEWKT('SRID=4674;POINT (-39.409174 -2.99707)'))) / (select extract(epoch from '2026-06-27 07:53:45'::timestamp) - extract(epoch from '2026-06-27 07:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409158 -2.997062)'), GeomFromEWKT('SRID=4674;POINT (-39.409174 -2.99707)'))) / (select extract(epoch from '2026-06-27 07:53:45'::timestamp) - extract(epoch from '2026-06-27 07:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409214 -2.997071)', '2026-06-27 07:53:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409174 -2.99707)'), GeomFromEWKT('SRID=4674;POINT (-39.409214 -2.997071)'))) / (select extract(epoch from '2026-06-27 07:53:48'::timestamp) - extract(epoch from '2026-06-27 07:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409174 -2.99707)'), GeomFromEWKT('SRID=4674;POINT (-39.409214 -2.997071)'))) / (select extract(epoch from '2026-06-27 07:53:48'::timestamp) - extract(epoch from '2026-06-27 07:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409249 -2.997042)', '2026-06-27 07:53:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409214 -2.997071)'), GeomFromEWKT('SRID=4674;POINT (-39.409249 -2.997042)'))) / (select extract(epoch from '2026-06-27 07:53:54'::timestamp) - extract(epoch from '2026-06-27 07:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409214 -2.997071)'), GeomFromEWKT('SRID=4674;POINT (-39.409249 -2.997042)'))) / (select extract(epoch from '2026-06-27 07:53:54'::timestamp) - extract(epoch from '2026-06-27 07:53:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409224 -2.996979)', '2026-06-27 07:54:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409249 -2.997042)'), GeomFromEWKT('SRID=4674;POINT (-39.409224 -2.996979)'))) / (select extract(epoch from '2026-06-27 07:54:01'::timestamp) - extract(epoch from '2026-06-27 07:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409249 -2.997042)'), GeomFromEWKT('SRID=4674;POINT (-39.409224 -2.996979)'))) / (select extract(epoch from '2026-06-27 07:54:01'::timestamp) - extract(epoch from '2026-06-27 07:53:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409152 -2.996914)', '2026-06-27 07:54:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409224 -2.996979)'), GeomFromEWKT('SRID=4674;POINT (-39.409152 -2.996914)'))) / (select extract(epoch from '2026-06-27 07:54:08'::timestamp) - extract(epoch from '2026-06-27 07:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409224 -2.996979)'), GeomFromEWKT('SRID=4674;POINT (-39.409152 -2.996914)'))) / (select extract(epoch from '2026-06-27 07:54:08'::timestamp) - extract(epoch from '2026-06-27 07:54:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40914 -2.996904)', '2026-06-27 07:54:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409152 -2.996914)'), GeomFromEWKT('SRID=4674;POINT (-39.40914 -2.996904)'))) / (select extract(epoch from '2026-06-27 07:54:09'::timestamp) - extract(epoch from '2026-06-27 07:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409152 -2.996914)'), GeomFromEWKT('SRID=4674;POINT (-39.40914 -2.996904)'))) / (select extract(epoch from '2026-06-27 07:54:09'::timestamp) - extract(epoch from '2026-06-27 07:54:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40909 -2.99686)', '2026-06-27 07:54:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40914 -2.996904)'), GeomFromEWKT('SRID=4674;POINT (-39.40909 -2.99686)'))) / (select extract(epoch from '2026-06-27 07:54:13'::timestamp) - extract(epoch from '2026-06-27 07:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40914 -2.996904)'), GeomFromEWKT('SRID=4674;POINT (-39.40909 -2.99686)'))) / (select extract(epoch from '2026-06-27 07:54:13'::timestamp) - extract(epoch from '2026-06-27 07:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.409034 -2.996777)', '2026-06-27 07:54:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40909 -2.99686)'), GeomFromEWKT('SRID=4674;POINT (-39.409034 -2.996777)'))) / (select extract(epoch from '2026-06-27 07:54:19'::timestamp) - extract(epoch from '2026-06-27 07:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40909 -2.99686)'), GeomFromEWKT('SRID=4674;POINT (-39.409034 -2.996777)'))) / (select extract(epoch from '2026-06-27 07:54:19'::timestamp) - extract(epoch from '2026-06-27 07:54:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408987 -2.996655)', '2026-06-27 07:54:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409034 -2.996777)'), GeomFromEWKT('SRID=4674;POINT (-39.408987 -2.996655)'))) / (select extract(epoch from '2026-06-27 07:54:26'::timestamp) - extract(epoch from '2026-06-27 07:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409034 -2.996777)'), GeomFromEWKT('SRID=4674;POINT (-39.408987 -2.996655)'))) / (select extract(epoch from '2026-06-27 07:54:26'::timestamp) - extract(epoch from '2026-06-27 07:54:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408945 -2.996588)', '2026-06-27 07:54:32', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408987 -2.996655)'), GeomFromEWKT('SRID=4674;POINT (-39.408945 -2.996588)'))) / (select extract(epoch from '2026-06-27 07:54:32'::timestamp) - extract(epoch from '2026-06-27 07:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408987 -2.996655)'), GeomFromEWKT('SRID=4674;POINT (-39.408945 -2.996588)'))) / (select extract(epoch from '2026-06-27 07:54:32'::timestamp) - extract(epoch from '2026-06-27 07:54:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408918 -2.996565)', '2026-06-27 07:54:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408945 -2.996588)'), GeomFromEWKT('SRID=4674;POINT (-39.408918 -2.996565)'))) / (select extract(epoch from '2026-06-27 07:54:38'::timestamp) - extract(epoch from '2026-06-27 07:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408945 -2.996588)'), GeomFromEWKT('SRID=4674;POINT (-39.408918 -2.996565)'))) / (select extract(epoch from '2026-06-27 07:54:38'::timestamp) - extract(epoch from '2026-06-27 07:54:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408891 -2.996578)', '2026-06-27 07:54:42', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408918 -2.996565)'), GeomFromEWKT('SRID=4674;POINT (-39.408891 -2.996578)'))) / (select extract(epoch from '2026-06-27 07:54:42'::timestamp) - extract(epoch from '2026-06-27 07:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408918 -2.996565)'), GeomFromEWKT('SRID=4674;POINT (-39.408891 -2.996578)'))) / (select extract(epoch from '2026-06-27 07:54:42'::timestamp) - extract(epoch from '2026-06-27 07:54:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408885 -2.996587)', '2026-06-27 07:54:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408891 -2.996578)'), GeomFromEWKT('SRID=4674;POINT (-39.408885 -2.996587)'))) / (select extract(epoch from '2026-06-27 07:54:43'::timestamp) - extract(epoch from '2026-06-27 07:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408891 -2.996578)'), GeomFromEWKT('SRID=4674;POINT (-39.408885 -2.996587)'))) / (select extract(epoch from '2026-06-27 07:54:43'::timestamp) - extract(epoch from '2026-06-27 07:54:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408883 -2.996597)', '2026-06-27 07:54:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408885 -2.996587)'), GeomFromEWKT('SRID=4674;POINT (-39.408883 -2.996597)'))) / (select extract(epoch from '2026-06-27 07:54:44'::timestamp) - extract(epoch from '2026-06-27 07:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408885 -2.996587)'), GeomFromEWKT('SRID=4674;POINT (-39.408883 -2.996597)'))) / (select extract(epoch from '2026-06-27 07:54:44'::timestamp) - extract(epoch from '2026-06-27 07:54:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408876 -2.996628)', '2026-06-27 07:54:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408883 -2.996597)'), GeomFromEWKT('SRID=4674;POINT (-39.408876 -2.996628)'))) / (select extract(epoch from '2026-06-27 07:54:47'::timestamp) - extract(epoch from '2026-06-27 07:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408883 -2.996597)'), GeomFromEWKT('SRID=4674;POINT (-39.408876 -2.996628)'))) / (select extract(epoch from '2026-06-27 07:54:47'::timestamp) - extract(epoch from '2026-06-27 07:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408875 -2.996647)', '2026-06-27 07:54:49', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408876 -2.996628)'), GeomFromEWKT('SRID=4674;POINT (-39.408875 -2.996647)'))) / (select extract(epoch from '2026-06-27 07:54:49'::timestamp) - extract(epoch from '2026-06-27 07:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408876 -2.996628)'), GeomFromEWKT('SRID=4674;POINT (-39.408875 -2.996647)'))) / (select extract(epoch from '2026-06-27 07:54:49'::timestamp) - extract(epoch from '2026-06-27 07:54:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408876 -2.996699)', '2026-06-27 07:54:56', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408875 -2.996647)'), GeomFromEWKT('SRID=4674;POINT (-39.408876 -2.996699)'))) / (select extract(epoch from '2026-06-27 07:54:56'::timestamp) - extract(epoch from '2026-06-27 07:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408875 -2.996647)'), GeomFromEWKT('SRID=4674;POINT (-39.408876 -2.996699)'))) / (select extract(epoch from '2026-06-27 07:54:56'::timestamp) - extract(epoch from '2026-06-27 07:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408885 -2.996767)', '2026-06-27 07:55:06', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408876 -2.996699)'), GeomFromEWKT('SRID=4674;POINT (-39.408885 -2.996767)'))) / (select extract(epoch from '2026-06-27 07:55:06'::timestamp) - extract(epoch from '2026-06-27 07:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408876 -2.996699)'), GeomFromEWKT('SRID=4674;POINT (-39.408885 -2.996767)'))) / (select extract(epoch from '2026-06-27 07:55:06'::timestamp) - extract(epoch from '2026-06-27 07:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408884 -2.996815)', '2026-06-27 07:55:15', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408885 -2.996767)'), GeomFromEWKT('SRID=4674;POINT (-39.408884 -2.996815)'))) / (select extract(epoch from '2026-06-27 07:55:15'::timestamp) - extract(epoch from '2026-06-27 07:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408885 -2.996767)'), GeomFromEWKT('SRID=4674;POINT (-39.408884 -2.996815)'))) / (select extract(epoch from '2026-06-27 07:55:15'::timestamp) - extract(epoch from '2026-06-27 07:55:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408882 -2.996841)', '2026-06-27 07:55:24', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408884 -2.996815)'), GeomFromEWKT('SRID=4674;POINT (-39.408882 -2.996841)'))) / (select extract(epoch from '2026-06-27 07:55:24'::timestamp) - extract(epoch from '2026-06-27 07:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408884 -2.996815)'), GeomFromEWKT('SRID=4674;POINT (-39.408882 -2.996841)'))) / (select extract(epoch from '2026-06-27 07:55:24'::timestamp) - extract(epoch from '2026-06-27 07:55:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40891 -2.996815)', '2026-06-27 07:55:36', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408882 -2.996841)'), GeomFromEWKT('SRID=4674;POINT (-39.40891 -2.996815)'))) / (select extract(epoch from '2026-06-27 07:55:36'::timestamp) - extract(epoch from '2026-06-27 07:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408882 -2.996841)'), GeomFromEWKT('SRID=4674;POINT (-39.40891 -2.996815)'))) / (select extract(epoch from '2026-06-27 07:55:36'::timestamp) - extract(epoch from '2026-06-27 07:55:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408944 -2.996797)', '2026-06-27 07:55:44', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40891 -2.996815)'), GeomFromEWKT('SRID=4674;POINT (-39.408944 -2.996797)'))) / (select extract(epoch from '2026-06-27 07:55:44'::timestamp) - extract(epoch from '2026-06-27 07:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40891 -2.996815)'), GeomFromEWKT('SRID=4674;POINT (-39.408944 -2.996797)'))) / (select extract(epoch from '2026-06-27 07:55:44'::timestamp) - extract(epoch from '2026-06-27 07:55:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408969 -2.996834)', '2026-06-27 07:55:52', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408944 -2.996797)'), GeomFromEWKT('SRID=4674;POINT (-39.408969 -2.996834)'))) / (select extract(epoch from '2026-06-27 07:55:52'::timestamp) - extract(epoch from '2026-06-27 07:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408944 -2.996797)'), GeomFromEWKT('SRID=4674;POINT (-39.408969 -2.996834)'))) / (select extract(epoch from '2026-06-27 07:55:52'::timestamp) - extract(epoch from '2026-06-27 07:55:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408951 -2.996842)', '2026-06-27 07:56:03', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408969 -2.996834)'), GeomFromEWKT('SRID=4674;POINT (-39.408951 -2.996842)'))) / (select extract(epoch from '2026-06-27 07:56:03'::timestamp) - extract(epoch from '2026-06-27 07:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408969 -2.996834)'), GeomFromEWKT('SRID=4674;POINT (-39.408951 -2.996842)'))) / (select extract(epoch from '2026-06-27 07:56:03'::timestamp) - extract(epoch from '2026-06-27 07:55:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408905 -2.996786)', '2026-06-27 07:56:09', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408951 -2.996842)'), GeomFromEWKT('SRID=4674;POINT (-39.408905 -2.996786)'))) / (select extract(epoch from '2026-06-27 07:56:09'::timestamp) - extract(epoch from '2026-06-27 07:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408951 -2.996842)'), GeomFromEWKT('SRID=4674;POINT (-39.408905 -2.996786)'))) / (select extract(epoch from '2026-06-27 07:56:09'::timestamp) - extract(epoch from '2026-06-27 07:56:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408871 -2.996707)', '2026-06-27 07:56:14', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408905 -2.996786)'), GeomFromEWKT('SRID=4674;POINT (-39.408871 -2.996707)'))) / (select extract(epoch from '2026-06-27 07:56:14'::timestamp) - extract(epoch from '2026-06-27 07:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408905 -2.996786)'), GeomFromEWKT('SRID=4674;POINT (-39.408871 -2.996707)'))) / (select extract(epoch from '2026-06-27 07:56:14'::timestamp) - extract(epoch from '2026-06-27 07:56:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408845 -2.996572)', '2026-06-27 07:56:21', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408871 -2.996707)'), GeomFromEWKT('SRID=4674;POINT (-39.408845 -2.996572)'))) / (select extract(epoch from '2026-06-27 07:56:21'::timestamp) - extract(epoch from '2026-06-27 07:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408871 -2.996707)'), GeomFromEWKT('SRID=4674;POINT (-39.408845 -2.996572)'))) / (select extract(epoch from '2026-06-27 07:56:21'::timestamp) - extract(epoch from '2026-06-27 07:56:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408818 -2.996435)', '2026-06-27 07:56:28', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408845 -2.996572)'), GeomFromEWKT('SRID=4674;POINT (-39.408818 -2.996435)'))) / (select extract(epoch from '2026-06-27 07:56:28'::timestamp) - extract(epoch from '2026-06-27 07:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408845 -2.996572)'), GeomFromEWKT('SRID=4674;POINT (-39.408818 -2.996435)'))) / (select extract(epoch from '2026-06-27 07:56:28'::timestamp) - extract(epoch from '2026-06-27 07:56:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408773 -2.99632)', '2026-06-27 07:56:35', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408818 -2.996435)'), GeomFromEWKT('SRID=4674;POINT (-39.408773 -2.99632)'))) / (select extract(epoch from '2026-06-27 07:56:35'::timestamp) - extract(epoch from '2026-06-27 07:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408818 -2.996435)'), GeomFromEWKT('SRID=4674;POINT (-39.408773 -2.99632)'))) / (select extract(epoch from '2026-06-27 07:56:35'::timestamp) - extract(epoch from '2026-06-27 07:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408717 -2.996258)', '2026-06-27 07:56:41', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408773 -2.99632)'), GeomFromEWKT('SRID=4674;POINT (-39.408717 -2.996258)'))) / (select extract(epoch from '2026-06-27 07:56:41'::timestamp) - extract(epoch from '2026-06-27 07:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408773 -2.99632)'), GeomFromEWKT('SRID=4674;POINT (-39.408717 -2.996258)'))) / (select extract(epoch from '2026-06-27 07:56:41'::timestamp) - extract(epoch from '2026-06-27 07:56:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408698 -2.996245)', '2026-06-27 07:56:43', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408717 -2.996258)'), GeomFromEWKT('SRID=4674;POINT (-39.408698 -2.996245)'))) / (select extract(epoch from '2026-06-27 07:56:43'::timestamp) - extract(epoch from '2026-06-27 07:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408717 -2.996258)'), GeomFromEWKT('SRID=4674;POINT (-39.408698 -2.996245)'))) / (select extract(epoch from '2026-06-27 07:56:43'::timestamp) - extract(epoch from '2026-06-27 07:56:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408674 -2.996237)', '2026-06-27 07:56:47', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408698 -2.996245)'), GeomFromEWKT('SRID=4674;POINT (-39.408674 -2.996237)'))) / (select extract(epoch from '2026-06-27 07:56:47'::timestamp) - extract(epoch from '2026-06-27 07:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408698 -2.996245)'), GeomFromEWKT('SRID=4674;POINT (-39.408674 -2.996237)'))) / (select extract(epoch from '2026-06-27 07:56:47'::timestamp) - extract(epoch from '2026-06-27 07:56:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408657 -2.996279)', '2026-06-27 07:56:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408674 -2.996237)'), GeomFromEWKT('SRID=4674;POINT (-39.408657 -2.996279)'))) / (select extract(epoch from '2026-06-27 07:56:54'::timestamp) - extract(epoch from '2026-06-27 07:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408674 -2.996237)'), GeomFromEWKT('SRID=4674;POINT (-39.408657 -2.996279)'))) / (select extract(epoch from '2026-06-27 07:56:54'::timestamp) - extract(epoch from '2026-06-27 07:56:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408656 -2.996316)', '2026-06-27 07:56:57', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408657 -2.996279)'), GeomFromEWKT('SRID=4674;POINT (-39.408656 -2.996316)'))) / (select extract(epoch from '2026-06-27 07:56:57'::timestamp) - extract(epoch from '2026-06-27 07:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408657 -2.996279)'), GeomFromEWKT('SRID=4674;POINT (-39.408656 -2.996316)'))) / (select extract(epoch from '2026-06-27 07:56:57'::timestamp) - extract(epoch from '2026-06-27 07:56:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408655 -2.996338)', '2026-06-27 07:56:59', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408656 -2.996316)'), GeomFromEWKT('SRID=4674;POINT (-39.408655 -2.996338)'))) / (select extract(epoch from '2026-06-27 07:56:59'::timestamp) - extract(epoch from '2026-06-27 07:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408656 -2.996316)'), GeomFromEWKT('SRID=4674;POINT (-39.408655 -2.996338)'))) / (select extract(epoch from '2026-06-27 07:56:59'::timestamp) - extract(epoch from '2026-06-27 07:56:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408648 -2.996373)', '2026-06-27 07:57:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408655 -2.996338)'), GeomFromEWKT('SRID=4674;POINT (-39.408648 -2.996373)'))) / (select extract(epoch from '2026-06-27 07:57:03'::timestamp) - extract(epoch from '2026-06-27 07:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408655 -2.996338)'), GeomFromEWKT('SRID=4674;POINT (-39.408648 -2.996373)'))) / (select extract(epoch from '2026-06-27 07:57:03'::timestamp) - extract(epoch from '2026-06-27 07:56:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408641 -2.996386)', '2026-06-27 07:57:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408648 -2.996373)'), GeomFromEWKT('SRID=4674;POINT (-39.408641 -2.996386)'))) / (select extract(epoch from '2026-06-27 07:57:05'::timestamp) - extract(epoch from '2026-06-27 07:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408648 -2.996373)'), GeomFromEWKT('SRID=4674;POINT (-39.408641 -2.996386)'))) / (select extract(epoch from '2026-06-27 07:57:05'::timestamp) - extract(epoch from '2026-06-27 07:57:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408628 -2.996423)', '2026-06-27 07:57:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408641 -2.996386)'), GeomFromEWKT('SRID=4674;POINT (-39.408628 -2.996423)'))) / (select extract(epoch from '2026-06-27 07:57:13'::timestamp) - extract(epoch from '2026-06-27 07:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408641 -2.996386)'), GeomFromEWKT('SRID=4674;POINT (-39.408628 -2.996423)'))) / (select extract(epoch from '2026-06-27 07:57:13'::timestamp) - extract(epoch from '2026-06-27 07:57:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408623 -2.996465)', '2026-06-27 07:57:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408628 -2.996423)'), GeomFromEWKT('SRID=4674;POINT (-39.408623 -2.996465)'))) / (select extract(epoch from '2026-06-27 07:57:20'::timestamp) - extract(epoch from '2026-06-27 07:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408628 -2.996423)'), GeomFromEWKT('SRID=4674;POINT (-39.408623 -2.996465)'))) / (select extract(epoch from '2026-06-27 07:57:20'::timestamp) - extract(epoch from '2026-06-27 07:57:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408628 -2.996475)', '2026-06-27 07:57:21', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408623 -2.996465)'), GeomFromEWKT('SRID=4674;POINT (-39.408628 -2.996475)'))) / (select extract(epoch from '2026-06-27 07:57:21'::timestamp) - extract(epoch from '2026-06-27 07:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408623 -2.996465)'), GeomFromEWKT('SRID=4674;POINT (-39.408628 -2.996475)'))) / (select extract(epoch from '2026-06-27 07:57:21'::timestamp) - extract(epoch from '2026-06-27 07:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408629 -2.996491)', '2026-06-27 07:57:25', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408628 -2.996475)'), GeomFromEWKT('SRID=4674;POINT (-39.408629 -2.996491)'))) / (select extract(epoch from '2026-06-27 07:57:25'::timestamp) - extract(epoch from '2026-06-27 07:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408628 -2.996475)'), GeomFromEWKT('SRID=4674;POINT (-39.408629 -2.996491)'))) / (select extract(epoch from '2026-06-27 07:57:25'::timestamp) - extract(epoch from '2026-06-27 07:57:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408642 -2.9965)', '2026-06-27 07:57:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408629 -2.996491)'), GeomFromEWKT('SRID=4674;POINT (-39.408642 -2.9965)'))) / (select extract(epoch from '2026-06-27 07:57:32'::timestamp) - extract(epoch from '2026-06-27 07:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408629 -2.996491)'), GeomFromEWKT('SRID=4674;POINT (-39.408642 -2.9965)'))) / (select extract(epoch from '2026-06-27 07:57:32'::timestamp) - extract(epoch from '2026-06-27 07:57:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408676 -2.996451)', '2026-06-27 07:57:46', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408642 -2.9965)'), GeomFromEWKT('SRID=4674;POINT (-39.408676 -2.996451)'))) / (select extract(epoch from '2026-06-27 07:57:46'::timestamp) - extract(epoch from '2026-06-27 07:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408642 -2.9965)'), GeomFromEWKT('SRID=4674;POINT (-39.408676 -2.996451)'))) / (select extract(epoch from '2026-06-27 07:57:46'::timestamp) - extract(epoch from '2026-06-27 07:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408692 -2.996465)', '2026-06-27 07:57:49', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408676 -2.996451)'), GeomFromEWKT('SRID=4674;POINT (-39.408692 -2.996465)'))) / (select extract(epoch from '2026-06-27 07:57:49'::timestamp) - extract(epoch from '2026-06-27 07:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408676 -2.996451)'), GeomFromEWKT('SRID=4674;POINT (-39.408692 -2.996465)'))) / (select extract(epoch from '2026-06-27 07:57:49'::timestamp) - extract(epoch from '2026-06-27 07:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408709 -2.996479)', '2026-06-27 07:57:53', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408692 -2.996465)'), GeomFromEWKT('SRID=4674;POINT (-39.408709 -2.996479)'))) / (select extract(epoch from '2026-06-27 07:57:53'::timestamp) - extract(epoch from '2026-06-27 07:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408692 -2.996465)'), GeomFromEWKT('SRID=4674;POINT (-39.408709 -2.996479)'))) / (select extract(epoch from '2026-06-27 07:57:53'::timestamp) - extract(epoch from '2026-06-27 07:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408713 -2.996508)', '2026-06-27 07:58:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408709 -2.996479)'), GeomFromEWKT('SRID=4674;POINT (-39.408713 -2.996508)'))) / (select extract(epoch from '2026-06-27 07:58:02'::timestamp) - extract(epoch from '2026-06-27 07:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408709 -2.996479)'), GeomFromEWKT('SRID=4674;POINT (-39.408713 -2.996508)'))) / (select extract(epoch from '2026-06-27 07:58:02'::timestamp) - extract(epoch from '2026-06-27 07:57:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40867 -2.996496)', '2026-06-27 07:58:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408713 -2.996508)'), GeomFromEWKT('SRID=4674;POINT (-39.40867 -2.996496)'))) / (select extract(epoch from '2026-06-27 07:58:07'::timestamp) - extract(epoch from '2026-06-27 07:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408713 -2.996508)'), GeomFromEWKT('SRID=4674;POINT (-39.40867 -2.996496)'))) / (select extract(epoch from '2026-06-27 07:58:07'::timestamp) - extract(epoch from '2026-06-27 07:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408661 -2.996489)', '2026-06-27 07:58:08', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40867 -2.996496)'), GeomFromEWKT('SRID=4674;POINT (-39.408661 -2.996489)'))) / (select extract(epoch from '2026-06-27 07:58:08'::timestamp) - extract(epoch from '2026-06-27 07:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40867 -2.996496)'), GeomFromEWKT('SRID=4674;POINT (-39.408661 -2.996489)'))) / (select extract(epoch from '2026-06-27 07:58:08'::timestamp) - extract(epoch from '2026-06-27 07:58:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408609 -2.996406)', '2026-06-27 07:58:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408661 -2.996489)'), GeomFromEWKT('SRID=4674;POINT (-39.408609 -2.996406)'))) / (select extract(epoch from '2026-06-27 07:58:14'::timestamp) - extract(epoch from '2026-06-27 07:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408661 -2.996489)'), GeomFromEWKT('SRID=4674;POINT (-39.408609 -2.996406)'))) / (select extract(epoch from '2026-06-27 07:58:14'::timestamp) - extract(epoch from '2026-06-27 07:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408569 -2.996303)', '2026-06-27 07:58:20', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408609 -2.996406)'), GeomFromEWKT('SRID=4674;POINT (-39.408569 -2.996303)'))) / (select extract(epoch from '2026-06-27 07:58:20'::timestamp) - extract(epoch from '2026-06-27 07:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408609 -2.996406)'), GeomFromEWKT('SRID=4674;POINT (-39.408569 -2.996303)'))) / (select extract(epoch from '2026-06-27 07:58:20'::timestamp) - extract(epoch from '2026-06-27 07:58:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408545 -2.996213)', '2026-06-27 07:58:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408569 -2.996303)'), GeomFromEWKT('SRID=4674;POINT (-39.408545 -2.996213)'))) / (select extract(epoch from '2026-06-27 07:58:25'::timestamp) - extract(epoch from '2026-06-27 07:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408569 -2.996303)'), GeomFromEWKT('SRID=4674;POINT (-39.408545 -2.996213)'))) / (select extract(epoch from '2026-06-27 07:58:25'::timestamp) - extract(epoch from '2026-06-27 07:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408521 -2.996124)', '2026-06-27 07:58:30', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408545 -2.996213)'), GeomFromEWKT('SRID=4674;POINT (-39.408521 -2.996124)'))) / (select extract(epoch from '2026-06-27 07:58:30'::timestamp) - extract(epoch from '2026-06-27 07:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408545 -2.996213)'), GeomFromEWKT('SRID=4674;POINT (-39.408521 -2.996124)'))) / (select extract(epoch from '2026-06-27 07:58:30'::timestamp) - extract(epoch from '2026-06-27 07:58:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408465 -2.996042)', '2026-06-27 07:58:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408521 -2.996124)'), GeomFromEWKT('SRID=4674;POINT (-39.408465 -2.996042)'))) / (select extract(epoch from '2026-06-27 07:58:36'::timestamp) - extract(epoch from '2026-06-27 07:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408521 -2.996124)'), GeomFromEWKT('SRID=4674;POINT (-39.408465 -2.996042)'))) / (select extract(epoch from '2026-06-27 07:58:36'::timestamp) - extract(epoch from '2026-06-27 07:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408419 -2.99598)', '2026-06-27 07:58:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408465 -2.996042)'), GeomFromEWKT('SRID=4674;POINT (-39.408419 -2.99598)'))) / (select extract(epoch from '2026-06-27 07:58:42'::timestamp) - extract(epoch from '2026-06-27 07:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408465 -2.996042)'), GeomFromEWKT('SRID=4674;POINT (-39.408419 -2.99598)'))) / (select extract(epoch from '2026-06-27 07:58:42'::timestamp) - extract(epoch from '2026-06-27 07:58:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408399 -2.995931)', '2026-06-27 07:58:48', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408419 -2.99598)'), GeomFromEWKT('SRID=4674;POINT (-39.408399 -2.995931)'))) / (select extract(epoch from '2026-06-27 07:58:48'::timestamp) - extract(epoch from '2026-06-27 07:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408419 -2.99598)'), GeomFromEWKT('SRID=4674;POINT (-39.408399 -2.995931)'))) / (select extract(epoch from '2026-06-27 07:58:48'::timestamp) - extract(epoch from '2026-06-27 07:58:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408378 -2.995912)', '2026-06-27 07:58:55', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408399 -2.995931)'), GeomFromEWKT('SRID=4674;POINT (-39.408378 -2.995912)'))) / (select extract(epoch from '2026-06-27 07:58:55'::timestamp) - extract(epoch from '2026-06-27 07:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408399 -2.995931)'), GeomFromEWKT('SRID=4674;POINT (-39.408378 -2.995912)'))) / (select extract(epoch from '2026-06-27 07:58:55'::timestamp) - extract(epoch from '2026-06-27 07:58:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408349 -2.995868)', '2026-06-27 07:59:05', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408378 -2.995912)'), GeomFromEWKT('SRID=4674;POINT (-39.408349 -2.995868)'))) / (select extract(epoch from '2026-06-27 07:59:05'::timestamp) - extract(epoch from '2026-06-27 07:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408378 -2.995912)'), GeomFromEWKT('SRID=4674;POINT (-39.408349 -2.995868)'))) / (select extract(epoch from '2026-06-27 07:59:05'::timestamp) - extract(epoch from '2026-06-27 07:58:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40833 -2.995871)', '2026-06-27 07:59:07', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408349 -2.995868)'), GeomFromEWKT('SRID=4674;POINT (-39.40833 -2.995871)'))) / (select extract(epoch from '2026-06-27 07:59:07'::timestamp) - extract(epoch from '2026-06-27 07:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408349 -2.995868)'), GeomFromEWKT('SRID=4674;POINT (-39.40833 -2.995871)'))) / (select extract(epoch from '2026-06-27 07:59:07'::timestamp) - extract(epoch from '2026-06-27 07:59:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408313 -2.995885)', '2026-06-27 07:59:10', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40833 -2.995871)'), GeomFromEWKT('SRID=4674;POINT (-39.408313 -2.995885)'))) / (select extract(epoch from '2026-06-27 07:59:10'::timestamp) - extract(epoch from '2026-06-27 07:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40833 -2.995871)'), GeomFromEWKT('SRID=4674;POINT (-39.408313 -2.995885)'))) / (select extract(epoch from '2026-06-27 07:59:10'::timestamp) - extract(epoch from '2026-06-27 07:59:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408308 -2.99591)', '2026-06-27 07:59:13', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408313 -2.995885)'), GeomFromEWKT('SRID=4674;POINT (-39.408308 -2.99591)'))) / (select extract(epoch from '2026-06-27 07:59:13'::timestamp) - extract(epoch from '2026-06-27 07:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408313 -2.995885)'), GeomFromEWKT('SRID=4674;POINT (-39.408308 -2.99591)'))) / (select extract(epoch from '2026-06-27 07:59:13'::timestamp) - extract(epoch from '2026-06-27 07:59:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408311 -2.995929)', '2026-06-27 07:59:15', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408308 -2.99591)'), GeomFromEWKT('SRID=4674;POINT (-39.408311 -2.995929)'))) / (select extract(epoch from '2026-06-27 07:59:15'::timestamp) - extract(epoch from '2026-06-27 07:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408308 -2.99591)'), GeomFromEWKT('SRID=4674;POINT (-39.408311 -2.995929)'))) / (select extract(epoch from '2026-06-27 07:59:15'::timestamp) - extract(epoch from '2026-06-27 07:59:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408312 -2.995939)', '2026-06-27 07:59:16', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408311 -2.995929)'), GeomFromEWKT('SRID=4674;POINT (-39.408312 -2.995939)'))) / (select extract(epoch from '2026-06-27 07:59:16'::timestamp) - extract(epoch from '2026-06-27 07:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408311 -2.995929)'), GeomFromEWKT('SRID=4674;POINT (-39.408312 -2.995939)'))) / (select extract(epoch from '2026-06-27 07:59:16'::timestamp) - extract(epoch from '2026-06-27 07:59:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408321 -2.996008)', '2026-06-27 07:59:24', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408312 -2.995939)'), GeomFromEWKT('SRID=4674;POINT (-39.408321 -2.996008)'))) / (select extract(epoch from '2026-06-27 07:59:24'::timestamp) - extract(epoch from '2026-06-27 07:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408312 -2.995939)'), GeomFromEWKT('SRID=4674;POINT (-39.408321 -2.996008)'))) / (select extract(epoch from '2026-06-27 07:59:24'::timestamp) - extract(epoch from '2026-06-27 07:59:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408321 -2.996082)', '2026-06-27 07:59:34', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408321 -2.996008)'), GeomFromEWKT('SRID=4674;POINT (-39.408321 -2.996082)'))) / (select extract(epoch from '2026-06-27 07:59:34'::timestamp) - extract(epoch from '2026-06-27 07:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408321 -2.996008)'), GeomFromEWKT('SRID=4674;POINT (-39.408321 -2.996082)'))) / (select extract(epoch from '2026-06-27 07:59:34'::timestamp) - extract(epoch from '2026-06-27 07:59:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408331 -2.99611)', '2026-06-27 07:59:42', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408321 -2.996082)'), GeomFromEWKT('SRID=4674;POINT (-39.408331 -2.99611)'))) / (select extract(epoch from '2026-06-27 07:59:42'::timestamp) - extract(epoch from '2026-06-27 07:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408321 -2.996082)'), GeomFromEWKT('SRID=4674;POINT (-39.408331 -2.99611)'))) / (select extract(epoch from '2026-06-27 07:59:42'::timestamp) - extract(epoch from '2026-06-27 07:59:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408321 -2.996139)', '2026-06-27 07:59:49', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408331 -2.99611)'), GeomFromEWKT('SRID=4674;POINT (-39.408321 -2.996139)'))) / (select extract(epoch from '2026-06-27 07:59:49'::timestamp) - extract(epoch from '2026-06-27 07:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408331 -2.99611)'), GeomFromEWKT('SRID=4674;POINT (-39.408321 -2.996139)'))) / (select extract(epoch from '2026-06-27 07:59:49'::timestamp) - extract(epoch from '2026-06-27 07:59:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408311 -2.996156)', '2026-06-27 07:59:56', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408321 -2.996139)'), GeomFromEWKT('SRID=4674;POINT (-39.408311 -2.996156)'))) / (select extract(epoch from '2026-06-27 07:59:56'::timestamp) - extract(epoch from '2026-06-27 07:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408321 -2.996139)'), GeomFromEWKT('SRID=4674;POINT (-39.408311 -2.996156)'))) / (select extract(epoch from '2026-06-27 07:59:56'::timestamp) - extract(epoch from '2026-06-27 07:59:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408309 -2.99614)', '2026-06-27 08:00:05', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408311 -2.996156)'), GeomFromEWKT('SRID=4674;POINT (-39.408309 -2.99614)'))) / (select extract(epoch from '2026-06-27 08:00:05'::timestamp) - extract(epoch from '2026-06-27 07:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408311 -2.996156)'), GeomFromEWKT('SRID=4674;POINT (-39.408309 -2.99614)'))) / (select extract(epoch from '2026-06-27 08:00:05'::timestamp) - extract(epoch from '2026-06-27 07:59:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408357 -2.996121)', '2026-06-27 08:00:15', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408309 -2.99614)'), GeomFromEWKT('SRID=4674;POINT (-39.408357 -2.996121)'))) / (select extract(epoch from '2026-06-27 08:00:15'::timestamp) - extract(epoch from '2026-06-27 08:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408309 -2.99614)'), GeomFromEWKT('SRID=4674;POINT (-39.408357 -2.996121)'))) / (select extract(epoch from '2026-06-27 08:00:15'::timestamp) - extract(epoch from '2026-06-27 08:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408369 -2.996123)', '2026-06-27 08:00:16', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408357 -2.996121)'), GeomFromEWKT('SRID=4674;POINT (-39.408369 -2.996123)'))) / (select extract(epoch from '2026-06-27 08:00:16'::timestamp) - extract(epoch from '2026-06-27 08:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408357 -2.996121)'), GeomFromEWKT('SRID=4674;POINT (-39.408369 -2.996123)'))) / (select extract(epoch from '2026-06-27 08:00:16'::timestamp) - extract(epoch from '2026-06-27 08:00:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408417 -2.996114)', '2026-06-27 08:00:21', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408369 -2.996123)'), GeomFromEWKT('SRID=4674;POINT (-39.408417 -2.996114)'))) / (select extract(epoch from '2026-06-27 08:00:21'::timestamp) - extract(epoch from '2026-06-27 08:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408369 -2.996123)'), GeomFromEWKT('SRID=4674;POINT (-39.408417 -2.996114)'))) / (select extract(epoch from '2026-06-27 08:00:21'::timestamp) - extract(epoch from '2026-06-27 08:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408418 -2.996108)', '2026-06-27 08:00:22', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408417 -2.996114)'), GeomFromEWKT('SRID=4674;POINT (-39.408418 -2.996108)'))) / (select extract(epoch from '2026-06-27 08:00:22'::timestamp) - extract(epoch from '2026-06-27 08:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408417 -2.996114)'), GeomFromEWKT('SRID=4674;POINT (-39.408418 -2.996108)'))) / (select extract(epoch from '2026-06-27 08:00:22'::timestamp) - extract(epoch from '2026-06-27 08:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408421 -2.996037)', '2026-06-27 08:00:31', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408418 -2.996108)'), GeomFromEWKT('SRID=4674;POINT (-39.408421 -2.996037)'))) / (select extract(epoch from '2026-06-27 08:00:31'::timestamp) - extract(epoch from '2026-06-27 08:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408418 -2.996108)'), GeomFromEWKT('SRID=4674;POINT (-39.408421 -2.996037)'))) / (select extract(epoch from '2026-06-27 08:00:31'::timestamp) - extract(epoch from '2026-06-27 08:00:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40836 -2.995972)', '2026-06-27 08:00:38', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408421 -2.996037)'), GeomFromEWKT('SRID=4674;POINT (-39.40836 -2.995972)'))) / (select extract(epoch from '2026-06-27 08:00:38'::timestamp) - extract(epoch from '2026-06-27 08:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408421 -2.996037)'), GeomFromEWKT('SRID=4674;POINT (-39.40836 -2.995972)'))) / (select extract(epoch from '2026-06-27 08:00:38'::timestamp) - extract(epoch from '2026-06-27 08:00:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408269 -2.995885)', '2026-06-27 08:00:46', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40836 -2.995972)'), GeomFromEWKT('SRID=4674;POINT (-39.408269 -2.995885)'))) / (select extract(epoch from '2026-06-27 08:00:46'::timestamp) - extract(epoch from '2026-06-27 08:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40836 -2.995972)'), GeomFromEWKT('SRID=4674;POINT (-39.408269 -2.995885)'))) / (select extract(epoch from '2026-06-27 08:00:46'::timestamp) - extract(epoch from '2026-06-27 08:00:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408224 -2.995783)', '2026-06-27 08:00:52', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408269 -2.995885)'), GeomFromEWKT('SRID=4674;POINT (-39.408224 -2.995783)'))) / (select extract(epoch from '2026-06-27 08:00:52'::timestamp) - extract(epoch from '2026-06-27 08:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408269 -2.995885)'), GeomFromEWKT('SRID=4674;POINT (-39.408224 -2.995783)'))) / (select extract(epoch from '2026-06-27 08:00:52'::timestamp) - extract(epoch from '2026-06-27 08:00:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408184 -2.995655)', '2026-06-27 08:00:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408224 -2.995783)'), GeomFromEWKT('SRID=4674;POINT (-39.408184 -2.995655)'))) / (select extract(epoch from '2026-06-27 08:00:59'::timestamp) - extract(epoch from '2026-06-27 08:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408224 -2.995783)'), GeomFromEWKT('SRID=4674;POINT (-39.408184 -2.995655)'))) / (select extract(epoch from '2026-06-27 08:00:59'::timestamp) - extract(epoch from '2026-06-27 08:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408136 -2.995546)', '2026-06-27 08:01:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408184 -2.995655)'), GeomFromEWKT('SRID=4674;POINT (-39.408136 -2.995546)'))) / (select extract(epoch from '2026-06-27 08:01:05'::timestamp) - extract(epoch from '2026-06-27 08:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408184 -2.995655)'), GeomFromEWKT('SRID=4674;POINT (-39.408136 -2.995546)'))) / (select extract(epoch from '2026-06-27 08:01:05'::timestamp) - extract(epoch from '2026-06-27 08:00:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408127 -2.995534)', '2026-06-27 08:01:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408136 -2.995546)'), GeomFromEWKT('SRID=4674;POINT (-39.408127 -2.995534)'))) / (select extract(epoch from '2026-06-27 08:01:06'::timestamp) - extract(epoch from '2026-06-27 08:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408136 -2.995546)'), GeomFromEWKT('SRID=4674;POINT (-39.408127 -2.995534)'))) / (select extract(epoch from '2026-06-27 08:01:06'::timestamp) - extract(epoch from '2026-06-27 08:01:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408107 -2.995519)', '2026-06-27 08:01:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408127 -2.995534)'), GeomFromEWKT('SRID=4674;POINT (-39.408107 -2.995519)'))) / (select extract(epoch from '2026-06-27 08:01:09'::timestamp) - extract(epoch from '2026-06-27 08:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408127 -2.995534)'), GeomFromEWKT('SRID=4674;POINT (-39.408107 -2.995519)'))) / (select extract(epoch from '2026-06-27 08:01:09'::timestamp) - extract(epoch from '2026-06-27 08:01:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408101 -2.995509)', '2026-06-27 08:01:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408107 -2.995519)'), GeomFromEWKT('SRID=4674;POINT (-39.408101 -2.995509)'))) / (select extract(epoch from '2026-06-27 08:01:10'::timestamp) - extract(epoch from '2026-06-27 08:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408107 -2.995519)'), GeomFromEWKT('SRID=4674;POINT (-39.408101 -2.995509)'))) / (select extract(epoch from '2026-06-27 08:01:10'::timestamp) - extract(epoch from '2026-06-27 08:01:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408091 -2.995514)', '2026-06-27 08:01:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408101 -2.995509)'), GeomFromEWKT('SRID=4674;POINT (-39.408091 -2.995514)'))) / (select extract(epoch from '2026-06-27 08:01:16'::timestamp) - extract(epoch from '2026-06-27 08:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408101 -2.995509)'), GeomFromEWKT('SRID=4674;POINT (-39.408091 -2.995514)'))) / (select extract(epoch from '2026-06-27 08:01:16'::timestamp) - extract(epoch from '2026-06-27 08:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408097 -2.99556)', '2026-06-27 08:01:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408091 -2.995514)'), GeomFromEWKT('SRID=4674;POINT (-39.408097 -2.99556)'))) / (select extract(epoch from '2026-06-27 08:01:22'::timestamp) - extract(epoch from '2026-06-27 08:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408091 -2.995514)'), GeomFromEWKT('SRID=4674;POINT (-39.408097 -2.99556)'))) / (select extract(epoch from '2026-06-27 08:01:22'::timestamp) - extract(epoch from '2026-06-27 08:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.4081 -2.995612)', '2026-06-27 08:01:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408097 -2.99556)'), GeomFromEWKT('SRID=4674;POINT (-39.4081 -2.995612)'))) / (select extract(epoch from '2026-06-27 08:01:27'::timestamp) - extract(epoch from '2026-06-27 08:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408097 -2.99556)'), GeomFromEWKT('SRID=4674;POINT (-39.4081 -2.995612)'))) / (select extract(epoch from '2026-06-27 08:01:27'::timestamp) - extract(epoch from '2026-06-27 08:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408095 -2.995619)', '2026-06-27 08:01:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4081 -2.995612)'), GeomFromEWKT('SRID=4674;POINT (-39.408095 -2.995619)'))) / (select extract(epoch from '2026-06-27 08:01:28'::timestamp) - extract(epoch from '2026-06-27 08:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4081 -2.995612)'), GeomFromEWKT('SRID=4674;POINT (-39.408095 -2.995619)'))) / (select extract(epoch from '2026-06-27 08:01:28'::timestamp) - extract(epoch from '2026-06-27 08:01:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408078 -2.99566)', '2026-06-27 08:01:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408095 -2.995619)'), GeomFromEWKT('SRID=4674;POINT (-39.408078 -2.99566)'))) / (select extract(epoch from '2026-06-27 08:01:33'::timestamp) - extract(epoch from '2026-06-27 08:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408095 -2.995619)'), GeomFromEWKT('SRID=4674;POINT (-39.408078 -2.99566)'))) / (select extract(epoch from '2026-06-27 08:01:33'::timestamp) - extract(epoch from '2026-06-27 08:01:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408061 -2.995689)', '2026-06-27 08:01:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408078 -2.99566)'), GeomFromEWKT('SRID=4674;POINT (-39.408061 -2.995689)'))) / (select extract(epoch from '2026-06-27 08:01:38'::timestamp) - extract(epoch from '2026-06-27 08:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408078 -2.99566)'), GeomFromEWKT('SRID=4674;POINT (-39.408061 -2.995689)'))) / (select extract(epoch from '2026-06-27 08:01:38'::timestamp) - extract(epoch from '2026-06-27 08:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408047 -2.995714)', '2026-06-27 08:01:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408061 -2.995689)'), GeomFromEWKT('SRID=4674;POINT (-39.408047 -2.995714)'))) / (select extract(epoch from '2026-06-27 08:01:41'::timestamp) - extract(epoch from '2026-06-27 08:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408061 -2.995689)'), GeomFromEWKT('SRID=4674;POINT (-39.408047 -2.995714)'))) / (select extract(epoch from '2026-06-27 08:01:41'::timestamp) - extract(epoch from '2026-06-27 08:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408024 -2.995752)', '2026-06-27 08:01:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408047 -2.995714)'), GeomFromEWKT('SRID=4674;POINT (-39.408024 -2.995752)'))) / (select extract(epoch from '2026-06-27 08:01:48'::timestamp) - extract(epoch from '2026-06-27 08:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408047 -2.995714)'), GeomFromEWKT('SRID=4674;POINT (-39.408024 -2.995752)'))) / (select extract(epoch from '2026-06-27 08:01:48'::timestamp) - extract(epoch from '2026-06-27 08:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408019 -2.995757)', '2026-06-27 08:02:04', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408024 -2.995752)'), GeomFromEWKT('SRID=4674;POINT (-39.408019 -2.995757)'))) / (select extract(epoch from '2026-06-27 08:02:04'::timestamp) - extract(epoch from '2026-06-27 08:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408024 -2.995752)'), GeomFromEWKT('SRID=4674;POINT (-39.408019 -2.995757)'))) / (select extract(epoch from '2026-06-27 08:02:04'::timestamp) - extract(epoch from '2026-06-27 08:01:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408043 -2.995714)', '2026-06-27 08:02:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408019 -2.995757)'), GeomFromEWKT('SRID=4674;POINT (-39.408043 -2.995714)'))) / (select extract(epoch from '2026-06-27 08:02:20'::timestamp) - extract(epoch from '2026-06-27 08:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408019 -2.995757)'), GeomFromEWKT('SRID=4674;POINT (-39.408043 -2.995714)'))) / (select extract(epoch from '2026-06-27 08:02:20'::timestamp) - extract(epoch from '2026-06-27 08:02:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408105 -2.995704)', '2026-06-27 08:02:27', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408043 -2.995714)'), GeomFromEWKT('SRID=4674;POINT (-39.408105 -2.995704)'))) / (select extract(epoch from '2026-06-27 08:02:27'::timestamp) - extract(epoch from '2026-06-27 08:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408043 -2.995714)'), GeomFromEWKT('SRID=4674;POINT (-39.408105 -2.995704)'))) / (select extract(epoch from '2026-06-27 08:02:27'::timestamp) - extract(epoch from '2026-06-27 08:02:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408139 -2.995671)', '2026-06-27 08:02:32', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408105 -2.995704)'), GeomFromEWKT('SRID=4674;POINT (-39.408139 -2.995671)'))) / (select extract(epoch from '2026-06-27 08:02:32'::timestamp) - extract(epoch from '2026-06-27 08:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408105 -2.995704)'), GeomFromEWKT('SRID=4674;POINT (-39.408139 -2.995671)'))) / (select extract(epoch from '2026-06-27 08:02:32'::timestamp) - extract(epoch from '2026-06-27 08:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408121 -2.995603)', '2026-06-27 08:02:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408139 -2.995671)'), GeomFromEWKT('SRID=4674;POINT (-39.408121 -2.995603)'))) / (select extract(epoch from '2026-06-27 08:02:39'::timestamp) - extract(epoch from '2026-06-27 08:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408139 -2.995671)'), GeomFromEWKT('SRID=4674;POINT (-39.408121 -2.995603)'))) / (select extract(epoch from '2026-06-27 08:02:39'::timestamp) - extract(epoch from '2026-06-27 08:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408048 -2.995524)', '2026-06-27 08:02:46', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408121 -2.995603)'), GeomFromEWKT('SRID=4674;POINT (-39.408048 -2.995524)'))) / (select extract(epoch from '2026-06-27 08:02:46'::timestamp) - extract(epoch from '2026-06-27 08:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408121 -2.995603)'), GeomFromEWKT('SRID=4674;POINT (-39.408048 -2.995524)'))) / (select extract(epoch from '2026-06-27 08:02:46'::timestamp) - extract(epoch from '2026-06-27 08:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407985 -2.995417)', '2026-06-27 08:02:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408048 -2.995524)'), GeomFromEWKT('SRID=4674;POINT (-39.407985 -2.995417)'))) / (select extract(epoch from '2026-06-27 08:02:53'::timestamp) - extract(epoch from '2026-06-27 08:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408048 -2.995524)'), GeomFromEWKT('SRID=4674;POINT (-39.407985 -2.995417)'))) / (select extract(epoch from '2026-06-27 08:02:53'::timestamp) - extract(epoch from '2026-06-27 08:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407948 -2.995334)', '2026-06-27 08:02:58', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407985 -2.995417)'), GeomFromEWKT('SRID=4674;POINT (-39.407948 -2.995334)'))) / (select extract(epoch from '2026-06-27 08:02:58'::timestamp) - extract(epoch from '2026-06-27 08:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407985 -2.995417)'), GeomFromEWKT('SRID=4674;POINT (-39.407948 -2.995334)'))) / (select extract(epoch from '2026-06-27 08:02:58'::timestamp) - extract(epoch from '2026-06-27 08:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407913 -2.995237)', '2026-06-27 08:03:04', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407948 -2.995334)'), GeomFromEWKT('SRID=4674;POINT (-39.407913 -2.995237)'))) / (select extract(epoch from '2026-06-27 08:03:04'::timestamp) - extract(epoch from '2026-06-27 08:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407948 -2.995334)'), GeomFromEWKT('SRID=4674;POINT (-39.407913 -2.995237)'))) / (select extract(epoch from '2026-06-27 08:03:04'::timestamp) - extract(epoch from '2026-06-27 08:02:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407881 -2.995202)', '2026-06-27 08:03:10', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407913 -2.995237)'), GeomFromEWKT('SRID=4674;POINT (-39.407881 -2.995202)'))) / (select extract(epoch from '2026-06-27 08:03:10'::timestamp) - extract(epoch from '2026-06-27 08:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407913 -2.995237)'), GeomFromEWKT('SRID=4674;POINT (-39.407881 -2.995202)'))) / (select extract(epoch from '2026-06-27 08:03:10'::timestamp) - extract(epoch from '2026-06-27 08:03:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407874 -2.995186)', '2026-06-27 08:03:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407881 -2.995202)'), GeomFromEWKT('SRID=4674;POINT (-39.407874 -2.995186)'))) / (select extract(epoch from '2026-06-27 08:03:18'::timestamp) - extract(epoch from '2026-06-27 08:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407881 -2.995202)'), GeomFromEWKT('SRID=4674;POINT (-39.407874 -2.995186)'))) / (select extract(epoch from '2026-06-27 08:03:18'::timestamp) - extract(epoch from '2026-06-27 08:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407885 -2.995227)', '2026-06-27 08:03:26', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407874 -2.995186)'), GeomFromEWKT('SRID=4674;POINT (-39.407885 -2.995227)'))) / (select extract(epoch from '2026-06-27 08:03:26'::timestamp) - extract(epoch from '2026-06-27 08:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407874 -2.995186)'), GeomFromEWKT('SRID=4674;POINT (-39.407885 -2.995227)'))) / (select extract(epoch from '2026-06-27 08:03:26'::timestamp) - extract(epoch from '2026-06-27 08:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407891 -2.995243)', '2026-06-27 08:03:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407885 -2.995227)'), GeomFromEWKT('SRID=4674;POINT (-39.407891 -2.995243)'))) / (select extract(epoch from '2026-06-27 08:03:28'::timestamp) - extract(epoch from '2026-06-27 08:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407885 -2.995227)'), GeomFromEWKT('SRID=4674;POINT (-39.407891 -2.995243)'))) / (select extract(epoch from '2026-06-27 08:03:28'::timestamp) - extract(epoch from '2026-06-27 08:03:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40789 -2.995276)', '2026-06-27 08:03:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407891 -2.995243)'), GeomFromEWKT('SRID=4674;POINT (-39.40789 -2.995276)'))) / (select extract(epoch from '2026-06-27 08:03:33'::timestamp) - extract(epoch from '2026-06-27 08:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407891 -2.995243)'), GeomFromEWKT('SRID=4674;POINT (-39.40789 -2.995276)'))) / (select extract(epoch from '2026-06-27 08:03:33'::timestamp) - extract(epoch from '2026-06-27 08:03:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40784 -2.995337)', '2026-06-27 08:03:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40789 -2.995276)'), GeomFromEWKT('SRID=4674;POINT (-39.40784 -2.995337)'))) / (select extract(epoch from '2026-06-27 08:03:43'::timestamp) - extract(epoch from '2026-06-27 08:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40789 -2.995276)'), GeomFromEWKT('SRID=4674;POINT (-39.40784 -2.995337)'))) / (select extract(epoch from '2026-06-27 08:03:43'::timestamp) - extract(epoch from '2026-06-27 08:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407783 -2.995381)', '2026-06-27 08:03:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40784 -2.995337)'), GeomFromEWKT('SRID=4674;POINT (-39.407783 -2.995381)'))) / (select extract(epoch from '2026-06-27 08:03:54'::timestamp) - extract(epoch from '2026-06-27 08:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40784 -2.995337)'), GeomFromEWKT('SRID=4674;POINT (-39.407783 -2.995381)'))) / (select extract(epoch from '2026-06-27 08:03:54'::timestamp) - extract(epoch from '2026-06-27 08:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407761 -2.995401)', '2026-06-27 08:04:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407783 -2.995381)'), GeomFromEWKT('SRID=4674;POINT (-39.407761 -2.995401)'))) / (select extract(epoch from '2026-06-27 08:04:04'::timestamp) - extract(epoch from '2026-06-27 08:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407783 -2.995381)'), GeomFromEWKT('SRID=4674;POINT (-39.407761 -2.995401)'))) / (select extract(epoch from '2026-06-27 08:04:04'::timestamp) - extract(epoch from '2026-06-27 08:03:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407771 -2.995364)', '2026-06-27 08:04:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407761 -2.995401)'), GeomFromEWKT('SRID=4674;POINT (-39.407771 -2.995364)'))) / (select extract(epoch from '2026-06-27 08:04:20'::timestamp) - extract(epoch from '2026-06-27 08:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407761 -2.995401)'), GeomFromEWKT('SRID=4674;POINT (-39.407771 -2.995364)'))) / (select extract(epoch from '2026-06-27 08:04:20'::timestamp) - extract(epoch from '2026-06-27 08:04:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407791 -2.99534)', '2026-06-27 08:04:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407771 -2.995364)'), GeomFromEWKT('SRID=4674;POINT (-39.407791 -2.99534)'))) / (select extract(epoch from '2026-06-27 08:04:30'::timestamp) - extract(epoch from '2026-06-27 08:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407771 -2.995364)'), GeomFromEWKT('SRID=4674;POINT (-39.407791 -2.99534)'))) / (select extract(epoch from '2026-06-27 08:04:30'::timestamp) - extract(epoch from '2026-06-27 08:04:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407816 -2.995327)', '2026-06-27 08:04:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407791 -2.99534)'), GeomFromEWKT('SRID=4674;POINT (-39.407816 -2.995327)'))) / (select extract(epoch from '2026-06-27 08:04:36'::timestamp) - extract(epoch from '2026-06-27 08:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407791 -2.99534)'), GeomFromEWKT('SRID=4674;POINT (-39.407816 -2.995327)'))) / (select extract(epoch from '2026-06-27 08:04:36'::timestamp) - extract(epoch from '2026-06-27 08:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407904 -2.995313)', '2026-06-27 08:04:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407816 -2.995327)'), GeomFromEWKT('SRID=4674;POINT (-39.407904 -2.995313)'))) / (select extract(epoch from '2026-06-27 08:04:44'::timestamp) - extract(epoch from '2026-06-27 08:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407816 -2.995327)'), GeomFromEWKT('SRID=4674;POINT (-39.407904 -2.995313)'))) / (select extract(epoch from '2026-06-27 08:04:44'::timestamp) - extract(epoch from '2026-06-27 08:04:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40796 -2.995277)', '2026-06-27 08:04:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407904 -2.995313)'), GeomFromEWKT('SRID=4674;POINT (-39.40796 -2.995277)'))) / (select extract(epoch from '2026-06-27 08:04:48'::timestamp) - extract(epoch from '2026-06-27 08:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407904 -2.995313)'), GeomFromEWKT('SRID=4674;POINT (-39.40796 -2.995277)'))) / (select extract(epoch from '2026-06-27 08:04:48'::timestamp) - extract(epoch from '2026-06-27 08:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407965 -2.995266)', '2026-06-27 08:04:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40796 -2.995277)'), GeomFromEWKT('SRID=4674;POINT (-39.407965 -2.995266)'))) / (select extract(epoch from '2026-06-27 08:04:49'::timestamp) - extract(epoch from '2026-06-27 08:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40796 -2.995277)'), GeomFromEWKT('SRID=4674;POINT (-39.407965 -2.995266)'))) / (select extract(epoch from '2026-06-27 08:04:49'::timestamp) - extract(epoch from '2026-06-27 08:04:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407958 -2.995202)', '2026-06-27 08:04:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407965 -2.995266)'), GeomFromEWKT('SRID=4674;POINT (-39.407958 -2.995202)'))) / (select extract(epoch from '2026-06-27 08:04:57'::timestamp) - extract(epoch from '2026-06-27 08:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407965 -2.995266)'), GeomFromEWKT('SRID=4674;POINT (-39.407958 -2.995202)'))) / (select extract(epoch from '2026-06-27 08:04:57'::timestamp) - extract(epoch from '2026-06-27 08:04:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407905 -2.995121)', '2026-06-27 08:05:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407958 -2.995202)'), GeomFromEWKT('SRID=4674;POINT (-39.407905 -2.995121)'))) / (select extract(epoch from '2026-06-27 08:05:03'::timestamp) - extract(epoch from '2026-06-27 08:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407958 -2.995202)'), GeomFromEWKT('SRID=4674;POINT (-39.407905 -2.995121)'))) / (select extract(epoch from '2026-06-27 08:05:03'::timestamp) - extract(epoch from '2026-06-27 08:04:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407831 -2.995028)', '2026-06-27 08:05:10', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407905 -2.995121)'), GeomFromEWKT('SRID=4674;POINT (-39.407831 -2.995028)'))) / (select extract(epoch from '2026-06-27 08:05:10'::timestamp) - extract(epoch from '2026-06-27 08:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407905 -2.995121)'), GeomFromEWKT('SRID=4674;POINT (-39.407831 -2.995028)'))) / (select extract(epoch from '2026-06-27 08:05:10'::timestamp) - extract(epoch from '2026-06-27 08:05:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407739 -2.994925)', '2026-06-27 08:05:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407831 -2.995028)'), GeomFromEWKT('SRID=4674;POINT (-39.407739 -2.994925)'))) / (select extract(epoch from '2026-06-27 08:05:18'::timestamp) - extract(epoch from '2026-06-27 08:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407831 -2.995028)'), GeomFromEWKT('SRID=4674;POINT (-39.407739 -2.994925)'))) / (select extract(epoch from '2026-06-27 08:05:18'::timestamp) - extract(epoch from '2026-06-27 08:05:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407666 -2.99486)', '2026-06-27 08:05:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407739 -2.994925)'), GeomFromEWKT('SRID=4674;POINT (-39.407666 -2.99486)'))) / (select extract(epoch from '2026-06-27 08:05:24'::timestamp) - extract(epoch from '2026-06-27 08:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407739 -2.994925)'), GeomFromEWKT('SRID=4674;POINT (-39.407666 -2.99486)'))) / (select extract(epoch from '2026-06-27 08:05:24'::timestamp) - extract(epoch from '2026-06-27 08:05:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407583 -2.994745)', '2026-06-27 08:05:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407666 -2.99486)'), GeomFromEWKT('SRID=4674;POINT (-39.407583 -2.994745)'))) / (select extract(epoch from '2026-06-27 08:05:32'::timestamp) - extract(epoch from '2026-06-27 08:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407666 -2.99486)'), GeomFromEWKT('SRID=4674;POINT (-39.407583 -2.994745)'))) / (select extract(epoch from '2026-06-27 08:05:32'::timestamp) - extract(epoch from '2026-06-27 08:05:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407529 -2.994691)', '2026-06-27 08:05:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407583 -2.994745)'), GeomFromEWKT('SRID=4674;POINT (-39.407529 -2.994691)'))) / (select extract(epoch from '2026-06-27 08:05:37'::timestamp) - extract(epoch from '2026-06-27 08:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407583 -2.994745)'), GeomFromEWKT('SRID=4674;POINT (-39.407529 -2.994691)'))) / (select extract(epoch from '2026-06-27 08:05:37'::timestamp) - extract(epoch from '2026-06-27 08:05:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407503 -2.994689)', '2026-06-27 08:05:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407529 -2.994691)'), GeomFromEWKT('SRID=4674;POINT (-39.407503 -2.994689)'))) / (select extract(epoch from '2026-06-27 08:05:43'::timestamp) - extract(epoch from '2026-06-27 08:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407529 -2.994691)'), GeomFromEWKT('SRID=4674;POINT (-39.407503 -2.994689)'))) / (select extract(epoch from '2026-06-27 08:05:43'::timestamp) - extract(epoch from '2026-06-27 08:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407502 -2.994733)', '2026-06-27 08:05:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407503 -2.994689)'), GeomFromEWKT('SRID=4674;POINT (-39.407502 -2.994733)'))) / (select extract(epoch from '2026-06-27 08:05:49'::timestamp) - extract(epoch from '2026-06-27 08:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407503 -2.994689)'), GeomFromEWKT('SRID=4674;POINT (-39.407502 -2.994733)'))) / (select extract(epoch from '2026-06-27 08:05:49'::timestamp) - extract(epoch from '2026-06-27 08:05:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407474 -2.994813)', '2026-06-27 08:06:00', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407502 -2.994733)'), GeomFromEWKT('SRID=4674;POINT (-39.407474 -2.994813)'))) / (select extract(epoch from '2026-06-27 08:06:00'::timestamp) - extract(epoch from '2026-06-27 08:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407502 -2.994733)'), GeomFromEWKT('SRID=4674;POINT (-39.407474 -2.994813)'))) / (select extract(epoch from '2026-06-27 08:06:00'::timestamp) - extract(epoch from '2026-06-27 08:05:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407447 -2.994876)', '2026-06-27 08:06:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407474 -2.994813)'), GeomFromEWKT('SRID=4674;POINT (-39.407447 -2.994876)'))) / (select extract(epoch from '2026-06-27 08:06:10'::timestamp) - extract(epoch from '2026-06-27 08:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407474 -2.994813)'), GeomFromEWKT('SRID=4674;POINT (-39.407447 -2.994876)'))) / (select extract(epoch from '2026-06-27 08:06:10'::timestamp) - extract(epoch from '2026-06-27 08:06:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407416 -2.994941)', '2026-06-27 08:06:24', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407447 -2.994876)'), GeomFromEWKT('SRID=4674;POINT (-39.407416 -2.994941)'))) / (select extract(epoch from '2026-06-27 08:06:24'::timestamp) - extract(epoch from '2026-06-27 08:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407447 -2.994876)'), GeomFromEWKT('SRID=4674;POINT (-39.407416 -2.994941)'))) / (select extract(epoch from '2026-06-27 08:06:24'::timestamp) - extract(epoch from '2026-06-27 08:06:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40743 -2.994914)', '2026-06-27 08:06:42', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407416 -2.994941)'), GeomFromEWKT('SRID=4674;POINT (-39.40743 -2.994914)'))) / (select extract(epoch from '2026-06-27 08:06:42'::timestamp) - extract(epoch from '2026-06-27 08:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407416 -2.994941)'), GeomFromEWKT('SRID=4674;POINT (-39.40743 -2.994914)'))) / (select extract(epoch from '2026-06-27 08:06:42'::timestamp) - extract(epoch from '2026-06-27 08:06:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407448 -2.994893)', '2026-06-27 08:06:48', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40743 -2.994914)'), GeomFromEWKT('SRID=4674;POINT (-39.407448 -2.994893)'))) / (select extract(epoch from '2026-06-27 08:06:48'::timestamp) - extract(epoch from '2026-06-27 08:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40743 -2.994914)'), GeomFromEWKT('SRID=4674;POINT (-39.407448 -2.994893)'))) / (select extract(epoch from '2026-06-27 08:06:48'::timestamp) - extract(epoch from '2026-06-27 08:06:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40749 -2.994875)', '2026-06-27 08:06:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407448 -2.994893)'), GeomFromEWKT('SRID=4674;POINT (-39.40749 -2.994875)'))) / (select extract(epoch from '2026-06-27 08:06:58'::timestamp) - extract(epoch from '2026-06-27 08:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407448 -2.994893)'), GeomFromEWKT('SRID=4674;POINT (-39.40749 -2.994875)'))) / (select extract(epoch from '2026-06-27 08:06:58'::timestamp) - extract(epoch from '2026-06-27 08:06:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407525 -2.994872)', '2026-06-27 08:07:01', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40749 -2.994875)'), GeomFromEWKT('SRID=4674;POINT (-39.407525 -2.994872)'))) / (select extract(epoch from '2026-06-27 08:07:01'::timestamp) - extract(epoch from '2026-06-27 08:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40749 -2.994875)'), GeomFromEWKT('SRID=4674;POINT (-39.407525 -2.994872)'))) / (select extract(epoch from '2026-06-27 08:07:01'::timestamp) - extract(epoch from '2026-06-27 08:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40754 -2.994864)', '2026-06-27 08:07:03', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407525 -2.994872)'), GeomFromEWKT('SRID=4674;POINT (-39.40754 -2.994864)'))) / (select extract(epoch from '2026-06-27 08:07:03'::timestamp) - extract(epoch from '2026-06-27 08:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407525 -2.994872)'), GeomFromEWKT('SRID=4674;POINT (-39.40754 -2.994864)'))) / (select extract(epoch from '2026-06-27 08:07:03'::timestamp) - extract(epoch from '2026-06-27 08:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407544 -2.994856)', '2026-06-27 08:07:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40754 -2.994864)'), GeomFromEWKT('SRID=4674;POINT (-39.407544 -2.994856)'))) / (select extract(epoch from '2026-06-27 08:07:04'::timestamp) - extract(epoch from '2026-06-27 08:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40754 -2.994864)'), GeomFromEWKT('SRID=4674;POINT (-39.407544 -2.994856)'))) / (select extract(epoch from '2026-06-27 08:07:04'::timestamp) - extract(epoch from '2026-06-27 08:07:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407559 -2.994808)', '2026-06-27 08:07:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407544 -2.994856)'), GeomFromEWKT('SRID=4674;POINT (-39.407559 -2.994808)'))) / (select extract(epoch from '2026-06-27 08:07:11'::timestamp) - extract(epoch from '2026-06-27 08:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407544 -2.994856)'), GeomFromEWKT('SRID=4674;POINT (-39.407559 -2.994808)'))) / (select extract(epoch from '2026-06-27 08:07:11'::timestamp) - extract(epoch from '2026-06-27 08:07:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407515 -2.994736)', '2026-06-27 08:07:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407559 -2.994808)'), GeomFromEWKT('SRID=4674;POINT (-39.407515 -2.994736)'))) / (select extract(epoch from '2026-06-27 08:07:17'::timestamp) - extract(epoch from '2026-06-27 08:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407559 -2.994808)'), GeomFromEWKT('SRID=4674;POINT (-39.407515 -2.994736)'))) / (select extract(epoch from '2026-06-27 08:07:17'::timestamp) - extract(epoch from '2026-06-27 08:07:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407434 -2.994652)', '2026-06-27 08:07:24', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407515 -2.994736)'), GeomFromEWKT('SRID=4674;POINT (-39.407434 -2.994652)'))) / (select extract(epoch from '2026-06-27 08:07:24'::timestamp) - extract(epoch from '2026-06-27 08:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407515 -2.994736)'), GeomFromEWKT('SRID=4674;POINT (-39.407434 -2.994652)'))) / (select extract(epoch from '2026-06-27 08:07:24'::timestamp) - extract(epoch from '2026-06-27 08:07:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407361 -2.994569)', '2026-06-27 08:07:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407434 -2.994652)'), GeomFromEWKT('SRID=4674;POINT (-39.407361 -2.994569)'))) / (select extract(epoch from '2026-06-27 08:07:30'::timestamp) - extract(epoch from '2026-06-27 08:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407434 -2.994652)'), GeomFromEWKT('SRID=4674;POINT (-39.407361 -2.994569)'))) / (select extract(epoch from '2026-06-27 08:07:30'::timestamp) - extract(epoch from '2026-06-27 08:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407287 -2.994487)', '2026-06-27 08:07:36', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407361 -2.994569)'), GeomFromEWKT('SRID=4674;POINT (-39.407287 -2.994487)'))) / (select extract(epoch from '2026-06-27 08:07:36'::timestamp) - extract(epoch from '2026-06-27 08:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407361 -2.994569)'), GeomFromEWKT('SRID=4674;POINT (-39.407287 -2.994487)'))) / (select extract(epoch from '2026-06-27 08:07:36'::timestamp) - extract(epoch from '2026-06-27 08:07:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407229 -2.994412)', '2026-06-27 08:07:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407287 -2.994487)'), GeomFromEWKT('SRID=4674;POINT (-39.407229 -2.994412)'))) / (select extract(epoch from '2026-06-27 08:07:41'::timestamp) - extract(epoch from '2026-06-27 08:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407287 -2.994487)'), GeomFromEWKT('SRID=4674;POINT (-39.407229 -2.994412)'))) / (select extract(epoch from '2026-06-27 08:07:41'::timestamp) - extract(epoch from '2026-06-27 08:07:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407174 -2.994356)', '2026-06-27 08:07:46', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407229 -2.994412)'), GeomFromEWKT('SRID=4674;POINT (-39.407174 -2.994356)'))) / (select extract(epoch from '2026-06-27 08:07:46'::timestamp) - extract(epoch from '2026-06-27 08:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407229 -2.994412)'), GeomFromEWKT('SRID=4674;POINT (-39.407174 -2.994356)'))) / (select extract(epoch from '2026-06-27 08:07:46'::timestamp) - extract(epoch from '2026-06-27 08:07:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407155 -2.994365)', '2026-06-27 08:07:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407174 -2.994356)'), GeomFromEWKT('SRID=4674;POINT (-39.407155 -2.994365)'))) / (select extract(epoch from '2026-06-27 08:07:53'::timestamp) - extract(epoch from '2026-06-27 08:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407174 -2.994356)'), GeomFromEWKT('SRID=4674;POINT (-39.407155 -2.994365)'))) / (select extract(epoch from '2026-06-27 08:07:53'::timestamp) - extract(epoch from '2026-06-27 08:07:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407159 -2.99444)', '2026-06-27 08:08:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407155 -2.994365)'), GeomFromEWKT('SRID=4674;POINT (-39.407159 -2.99444)'))) / (select extract(epoch from '2026-06-27 08:08:00'::timestamp) - extract(epoch from '2026-06-27 08:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407155 -2.994365)'), GeomFromEWKT('SRID=4674;POINT (-39.407159 -2.99444)'))) / (select extract(epoch from '2026-06-27 08:08:00'::timestamp) - extract(epoch from '2026-06-27 08:07:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407152 -2.994486)', '2026-06-27 08:08:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407159 -2.99444)'), GeomFromEWKT('SRID=4674;POINT (-39.407152 -2.994486)'))) / (select extract(epoch from '2026-06-27 08:08:07'::timestamp) - extract(epoch from '2026-06-27 08:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407159 -2.99444)'), GeomFromEWKT('SRID=4674;POINT (-39.407152 -2.994486)'))) / (select extract(epoch from '2026-06-27 08:08:07'::timestamp) - extract(epoch from '2026-06-27 08:08:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407107 -2.994541)', '2026-06-27 08:08:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407152 -2.994486)'), GeomFromEWKT('SRID=4674;POINT (-39.407107 -2.994541)'))) / (select extract(epoch from '2026-06-27 08:08:16'::timestamp) - extract(epoch from '2026-06-27 08:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407152 -2.994486)'), GeomFromEWKT('SRID=4674;POINT (-39.407107 -2.994541)'))) / (select extract(epoch from '2026-06-27 08:08:16'::timestamp) - extract(epoch from '2026-06-27 08:08:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407099 -2.994557)', '2026-06-27 08:08:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407107 -2.994541)'), GeomFromEWKT('SRID=4674;POINT (-39.407099 -2.994557)'))) / (select extract(epoch from '2026-06-27 08:08:24'::timestamp) - extract(epoch from '2026-06-27 08:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407107 -2.994541)'), GeomFromEWKT('SRID=4674;POINT (-39.407099 -2.994557)'))) / (select extract(epoch from '2026-06-27 08:08:24'::timestamp) - extract(epoch from '2026-06-27 08:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407141 -2.994571)', '2026-06-27 08:08:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407099 -2.994557)'), GeomFromEWKT('SRID=4674;POINT (-39.407141 -2.994571)'))) / (select extract(epoch from '2026-06-27 08:08:35'::timestamp) - extract(epoch from '2026-06-27 08:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407099 -2.994557)'), GeomFromEWKT('SRID=4674;POINT (-39.407141 -2.994571)'))) / (select extract(epoch from '2026-06-27 08:08:35'::timestamp) - extract(epoch from '2026-06-27 08:08:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407155 -2.994578)', '2026-06-27 08:08:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407141 -2.994571)'), GeomFromEWKT('SRID=4674;POINT (-39.407155 -2.994578)'))) / (select extract(epoch from '2026-06-27 08:08:44'::timestamp) - extract(epoch from '2026-06-27 08:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407141 -2.994571)'), GeomFromEWKT('SRID=4674;POINT (-39.407155 -2.994578)'))) / (select extract(epoch from '2026-06-27 08:08:44'::timestamp) - extract(epoch from '2026-06-27 08:08:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407166 -2.994578)', '2026-06-27 08:08:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407155 -2.994578)'), GeomFromEWKT('SRID=4674;POINT (-39.407166 -2.994578)'))) / (select extract(epoch from '2026-06-27 08:08:49'::timestamp) - extract(epoch from '2026-06-27 08:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407155 -2.994578)'), GeomFromEWKT('SRID=4674;POINT (-39.407166 -2.994578)'))) / (select extract(epoch from '2026-06-27 08:08:49'::timestamp) - extract(epoch from '2026-06-27 08:08:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407165 -2.994582)', '2026-06-27 08:08:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407166 -2.994578)'), GeomFromEWKT('SRID=4674;POINT (-39.407165 -2.994582)'))) / (select extract(epoch from '2026-06-27 08:08:55'::timestamp) - extract(epoch from '2026-06-27 08:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407166 -2.994578)'), GeomFromEWKT('SRID=4674;POINT (-39.407165 -2.994582)'))) / (select extract(epoch from '2026-06-27 08:08:55'::timestamp) - extract(epoch from '2026-06-27 08:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407186 -2.994592)', '2026-06-27 08:09:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407165 -2.994582)'), GeomFromEWKT('SRID=4674;POINT (-39.407186 -2.994592)'))) / (select extract(epoch from '2026-06-27 08:09:05'::timestamp) - extract(epoch from '2026-06-27 08:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407165 -2.994582)'), GeomFromEWKT('SRID=4674;POINT (-39.407186 -2.994592)'))) / (select extract(epoch from '2026-06-27 08:09:05'::timestamp) - extract(epoch from '2026-06-27 08:08:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407197 -2.994586)', '2026-06-27 08:09:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407186 -2.994592)'), GeomFromEWKT('SRID=4674;POINT (-39.407197 -2.994586)'))) / (select extract(epoch from '2026-06-27 08:09:15'::timestamp) - extract(epoch from '2026-06-27 08:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407186 -2.994592)'), GeomFromEWKT('SRID=4674;POINT (-39.407197 -2.994586)'))) / (select extract(epoch from '2026-06-27 08:09:15'::timestamp) - extract(epoch from '2026-06-27 08:09:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407198 -2.994581)', '2026-06-27 08:09:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407197 -2.994586)'), GeomFromEWKT('SRID=4674;POINT (-39.407198 -2.994581)'))) / (select extract(epoch from '2026-06-27 08:09:17'::timestamp) - extract(epoch from '2026-06-27 08:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407197 -2.994586)'), GeomFromEWKT('SRID=4674;POINT (-39.407198 -2.994581)'))) / (select extract(epoch from '2026-06-27 08:09:17'::timestamp) - extract(epoch from '2026-06-27 08:09:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407175 -2.994539)', '2026-06-27 08:09:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407198 -2.994581)'), GeomFromEWKT('SRID=4674;POINT (-39.407175 -2.994539)'))) / (select extract(epoch from '2026-06-27 08:09:21'::timestamp) - extract(epoch from '2026-06-27 08:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407198 -2.994581)'), GeomFromEWKT('SRID=4674;POINT (-39.407175 -2.994539)'))) / (select extract(epoch from '2026-06-27 08:09:21'::timestamp) - extract(epoch from '2026-06-27 08:09:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407119 -2.994418)', '2026-06-27 08:09:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407175 -2.994539)'), GeomFromEWKT('SRID=4674;POINT (-39.407119 -2.994418)'))) / (select extract(epoch from '2026-06-27 08:09:29'::timestamp) - extract(epoch from '2026-06-27 08:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407175 -2.994539)'), GeomFromEWKT('SRID=4674;POINT (-39.407119 -2.994418)'))) / (select extract(epoch from '2026-06-27 08:09:29'::timestamp) - extract(epoch from '2026-06-27 08:09:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407103 -2.994303)', '2026-06-27 08:09:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407119 -2.994418)'), GeomFromEWKT('SRID=4674;POINT (-39.407103 -2.994303)'))) / (select extract(epoch from '2026-06-27 08:09:35'::timestamp) - extract(epoch from '2026-06-27 08:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407119 -2.994418)'), GeomFromEWKT('SRID=4674;POINT (-39.407103 -2.994303)'))) / (select extract(epoch from '2026-06-27 08:09:35'::timestamp) - extract(epoch from '2026-06-27 08:09:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407103 -2.994223)', '2026-06-27 08:09:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407103 -2.994303)'), GeomFromEWKT('SRID=4674;POINT (-39.407103 -2.994223)'))) / (select extract(epoch from '2026-06-27 08:09:39'::timestamp) - extract(epoch from '2026-06-27 08:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407103 -2.994303)'), GeomFromEWKT('SRID=4674;POINT (-39.407103 -2.994223)'))) / (select extract(epoch from '2026-06-27 08:09:39'::timestamp) - extract(epoch from '2026-06-27 08:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407099 -2.994133)', '2026-06-27 08:09:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407103 -2.994223)'), GeomFromEWKT('SRID=4674;POINT (-39.407099 -2.994133)'))) / (select extract(epoch from '2026-06-27 08:09:46'::timestamp) - extract(epoch from '2026-06-27 08:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407103 -2.994223)'), GeomFromEWKT('SRID=4674;POINT (-39.407099 -2.994133)'))) / (select extract(epoch from '2026-06-27 08:09:46'::timestamp) - extract(epoch from '2026-06-27 08:09:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407048 -2.994072)', '2026-06-27 08:09:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407099 -2.994133)'), GeomFromEWKT('SRID=4674;POINT (-39.407048 -2.994072)'))) / (select extract(epoch from '2026-06-27 08:09:53'::timestamp) - extract(epoch from '2026-06-27 08:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407099 -2.994133)'), GeomFromEWKT('SRID=4674;POINT (-39.407048 -2.994072)'))) / (select extract(epoch from '2026-06-27 08:09:53'::timestamp) - extract(epoch from '2026-06-27 08:09:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407001 -2.994002)', '2026-06-27 08:09:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407048 -2.994072)'), GeomFromEWKT('SRID=4674;POINT (-39.407001 -2.994002)'))) / (select extract(epoch from '2026-06-27 08:09:59'::timestamp) - extract(epoch from '2026-06-27 08:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407048 -2.994072)'), GeomFromEWKT('SRID=4674;POINT (-39.407001 -2.994002)'))) / (select extract(epoch from '2026-06-27 08:09:59'::timestamp) - extract(epoch from '2026-06-27 08:09:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406972 -2.993969)', '2026-06-27 08:10:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407001 -2.994002)'), GeomFromEWKT('SRID=4674;POINT (-39.406972 -2.993969)'))) / (select extract(epoch from '2026-06-27 08:10:05'::timestamp) - extract(epoch from '2026-06-27 08:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407001 -2.994002)'), GeomFromEWKT('SRID=4674;POINT (-39.406972 -2.993969)'))) / (select extract(epoch from '2026-06-27 08:10:05'::timestamp) - extract(epoch from '2026-06-27 08:09:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406947 -2.994006)', '2026-06-27 08:10:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406972 -2.993969)'), GeomFromEWKT('SRID=4674;POINT (-39.406947 -2.994006)'))) / (select extract(epoch from '2026-06-27 08:10:13'::timestamp) - extract(epoch from '2026-06-27 08:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406972 -2.993969)'), GeomFromEWKT('SRID=4674;POINT (-39.406947 -2.994006)'))) / (select extract(epoch from '2026-06-27 08:10:13'::timestamp) - extract(epoch from '2026-06-27 08:10:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406938 -2.994049)', '2026-06-27 08:10:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406947 -2.994006)'), GeomFromEWKT('SRID=4674;POINT (-39.406938 -2.994049)'))) / (select extract(epoch from '2026-06-27 08:10:18'::timestamp) - extract(epoch from '2026-06-27 08:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406947 -2.994006)'), GeomFromEWKT('SRID=4674;POINT (-39.406938 -2.994049)'))) / (select extract(epoch from '2026-06-27 08:10:18'::timestamp) - extract(epoch from '2026-06-27 08:10:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406923 -2.994073)', '2026-06-27 08:10:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406938 -2.994049)'), GeomFromEWKT('SRID=4674;POINT (-39.406923 -2.994073)'))) / (select extract(epoch from '2026-06-27 08:10:21'::timestamp) - extract(epoch from '2026-06-27 08:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406938 -2.994049)'), GeomFromEWKT('SRID=4674;POINT (-39.406923 -2.994073)'))) / (select extract(epoch from '2026-06-27 08:10:21'::timestamp) - extract(epoch from '2026-06-27 08:10:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406902 -2.994108)', '2026-06-27 08:10:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406923 -2.994073)'), GeomFromEWKT('SRID=4674;POINT (-39.406902 -2.994108)'))) / (select extract(epoch from '2026-06-27 08:10:28'::timestamp) - extract(epoch from '2026-06-27 08:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406923 -2.994073)'), GeomFromEWKT('SRID=4674;POINT (-39.406902 -2.994108)'))) / (select extract(epoch from '2026-06-27 08:10:28'::timestamp) - extract(epoch from '2026-06-27 08:10:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406897 -2.994143)', '2026-06-27 08:10:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406902 -2.994108)'), GeomFromEWKT('SRID=4674;POINT (-39.406897 -2.994143)'))) / (select extract(epoch from '2026-06-27 08:10:36'::timestamp) - extract(epoch from '2026-06-27 08:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406902 -2.994108)'), GeomFromEWKT('SRID=4674;POINT (-39.406897 -2.994143)'))) / (select extract(epoch from '2026-06-27 08:10:36'::timestamp) - extract(epoch from '2026-06-27 08:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406905 -2.994199)', '2026-06-27 08:10:44', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406897 -2.994143)'), GeomFromEWKT('SRID=4674;POINT (-39.406905 -2.994199)'))) / (select extract(epoch from '2026-06-27 08:10:44'::timestamp) - extract(epoch from '2026-06-27 08:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406897 -2.994143)'), GeomFromEWKT('SRID=4674;POINT (-39.406905 -2.994199)'))) / (select extract(epoch from '2026-06-27 08:10:44'::timestamp) - extract(epoch from '2026-06-27 08:10:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406906 -2.994219)', '2026-06-27 08:10:54', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406905 -2.994199)'), GeomFromEWKT('SRID=4674;POINT (-39.406906 -2.994219)'))) / (select extract(epoch from '2026-06-27 08:10:54'::timestamp) - extract(epoch from '2026-06-27 08:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406905 -2.994199)'), GeomFromEWKT('SRID=4674;POINT (-39.406906 -2.994219)'))) / (select extract(epoch from '2026-06-27 08:10:54'::timestamp) - extract(epoch from '2026-06-27 08:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406924 -2.994204)', '2026-06-27 08:11:16', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406906 -2.994219)'), GeomFromEWKT('SRID=4674;POINT (-39.406924 -2.994204)'))) / (select extract(epoch from '2026-06-27 08:11:16'::timestamp) - extract(epoch from '2026-06-27 08:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406906 -2.994219)'), GeomFromEWKT('SRID=4674;POINT (-39.406924 -2.994204)'))) / (select extract(epoch from '2026-06-27 08:11:16'::timestamp) - extract(epoch from '2026-06-27 08:10:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40696 -2.994219)', '2026-06-27 08:11:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406924 -2.994204)'), GeomFromEWKT('SRID=4674;POINT (-39.40696 -2.994219)'))) / (select extract(epoch from '2026-06-27 08:11:24'::timestamp) - extract(epoch from '2026-06-27 08:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406924 -2.994204)'), GeomFromEWKT('SRID=4674;POINT (-39.40696 -2.994219)'))) / (select extract(epoch from '2026-06-27 08:11:24'::timestamp) - extract(epoch from '2026-06-27 08:11:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406968 -2.994237)', '2026-06-27 08:11:35', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40696 -2.994219)'), GeomFromEWKT('SRID=4674;POINT (-39.406968 -2.994237)'))) / (select extract(epoch from '2026-06-27 08:11:35'::timestamp) - extract(epoch from '2026-06-27 08:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40696 -2.994219)'), GeomFromEWKT('SRID=4674;POINT (-39.406968 -2.994237)'))) / (select extract(epoch from '2026-06-27 08:11:35'::timestamp) - extract(epoch from '2026-06-27 08:11:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406954 -2.994234)', '2026-06-27 08:11:37', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406968 -2.994237)'), GeomFromEWKT('SRID=4674;POINT (-39.406954 -2.994234)'))) / (select extract(epoch from '2026-06-27 08:11:37'::timestamp) - extract(epoch from '2026-06-27 08:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406968 -2.994237)'), GeomFromEWKT('SRID=4674;POINT (-39.406954 -2.994234)'))) / (select extract(epoch from '2026-06-27 08:11:37'::timestamp) - extract(epoch from '2026-06-27 08:11:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406932 -2.994194)', '2026-06-27 08:11:41', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406954 -2.994234)'), GeomFromEWKT('SRID=4674;POINT (-39.406932 -2.994194)'))) / (select extract(epoch from '2026-06-27 08:11:41'::timestamp) - extract(epoch from '2026-06-27 08:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406954 -2.994234)'), GeomFromEWKT('SRID=4674;POINT (-39.406932 -2.994194)'))) / (select extract(epoch from '2026-06-27 08:11:41'::timestamp) - extract(epoch from '2026-06-27 08:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406898 -2.994077)', '2026-06-27 08:11:48', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406932 -2.994194)'), GeomFromEWKT('SRID=4674;POINT (-39.406898 -2.994077)'))) / (select extract(epoch from '2026-06-27 08:11:48'::timestamp) - extract(epoch from '2026-06-27 08:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406932 -2.994194)'), GeomFromEWKT('SRID=4674;POINT (-39.406898 -2.994077)'))) / (select extract(epoch from '2026-06-27 08:11:48'::timestamp) - extract(epoch from '2026-06-27 08:11:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406846 -2.993923)', '2026-06-27 08:11:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406898 -2.994077)'), GeomFromEWKT('SRID=4674;POINT (-39.406846 -2.993923)'))) / (select extract(epoch from '2026-06-27 08:11:56'::timestamp) - extract(epoch from '2026-06-27 08:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406898 -2.994077)'), GeomFromEWKT('SRID=4674;POINT (-39.406846 -2.993923)'))) / (select extract(epoch from '2026-06-27 08:11:56'::timestamp) - extract(epoch from '2026-06-27 08:11:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406807 -2.993814)', '2026-06-27 08:12:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406846 -2.993923)'), GeomFromEWKT('SRID=4674;POINT (-39.406807 -2.993814)'))) / (select extract(epoch from '2026-06-27 08:12:02'::timestamp) - extract(epoch from '2026-06-27 08:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406846 -2.993923)'), GeomFromEWKT('SRID=4674;POINT (-39.406807 -2.993814)'))) / (select extract(epoch from '2026-06-27 08:12:02'::timestamp) - extract(epoch from '2026-06-27 08:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406761 -2.993711)', '2026-06-27 08:12:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406807 -2.993814)'), GeomFromEWKT('SRID=4674;POINT (-39.406761 -2.993711)'))) / (select extract(epoch from '2026-06-27 08:12:08'::timestamp) - extract(epoch from '2026-06-27 08:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406807 -2.993814)'), GeomFromEWKT('SRID=4674;POINT (-39.406761 -2.993711)'))) / (select extract(epoch from '2026-06-27 08:12:08'::timestamp) - extract(epoch from '2026-06-27 08:12:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406746 -2.993681)', '2026-06-27 08:12:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406761 -2.993711)'), GeomFromEWKT('SRID=4674;POINT (-39.406746 -2.993681)'))) / (select extract(epoch from '2026-06-27 08:12:10'::timestamp) - extract(epoch from '2026-06-27 08:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406761 -2.993711)'), GeomFromEWKT('SRID=4674;POINT (-39.406746 -2.993681)'))) / (select extract(epoch from '2026-06-27 08:12:10'::timestamp) - extract(epoch from '2026-06-27 08:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40672 -2.993661)', '2026-06-27 08:12:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406746 -2.993681)'), GeomFromEWKT('SRID=4674;POINT (-39.40672 -2.993661)'))) / (select extract(epoch from '2026-06-27 08:12:12'::timestamp) - extract(epoch from '2026-06-27 08:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406746 -2.993681)'), GeomFromEWKT('SRID=4674;POINT (-39.40672 -2.993661)'))) / (select extract(epoch from '2026-06-27 08:12:12'::timestamp) - extract(epoch from '2026-06-27 08:12:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406678 -2.993648)', '2026-06-27 08:12:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40672 -2.993661)'), GeomFromEWKT('SRID=4674;POINT (-39.406678 -2.993648)'))) / (select extract(epoch from '2026-06-27 08:12:19'::timestamp) - extract(epoch from '2026-06-27 08:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40672 -2.993661)'), GeomFromEWKT('SRID=4674;POINT (-39.406678 -2.993648)'))) / (select extract(epoch from '2026-06-27 08:12:19'::timestamp) - extract(epoch from '2026-06-27 08:12:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406672 -2.993706)', '2026-06-27 08:12:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406678 -2.993648)'), GeomFromEWKT('SRID=4674;POINT (-39.406672 -2.993706)'))) / (select extract(epoch from '2026-06-27 08:12:26'::timestamp) - extract(epoch from '2026-06-27 08:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406678 -2.993648)'), GeomFromEWKT('SRID=4674;POINT (-39.406672 -2.993706)'))) / (select extract(epoch from '2026-06-27 08:12:26'::timestamp) - extract(epoch from '2026-06-27 08:12:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406683 -2.993747)', '2026-06-27 08:12:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406672 -2.993706)'), GeomFromEWKT('SRID=4674;POINT (-39.406683 -2.993747)'))) / (select extract(epoch from '2026-06-27 08:12:30'::timestamp) - extract(epoch from '2026-06-27 08:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406672 -2.993706)'), GeomFromEWKT('SRID=4674;POINT (-39.406683 -2.993747)'))) / (select extract(epoch from '2026-06-27 08:12:30'::timestamp) - extract(epoch from '2026-06-27 08:12:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406684 -2.993755)', '2026-06-27 08:12:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406683 -2.993747)'), GeomFromEWKT('SRID=4674;POINT (-39.406684 -2.993755)'))) / (select extract(epoch from '2026-06-27 08:12:31'::timestamp) - extract(epoch from '2026-06-27 08:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406683 -2.993747)'), GeomFromEWKT('SRID=4674;POINT (-39.406684 -2.993755)'))) / (select extract(epoch from '2026-06-27 08:12:31'::timestamp) - extract(epoch from '2026-06-27 08:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406668 -2.993808)', '2026-06-27 08:12:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406684 -2.993755)'), GeomFromEWKT('SRID=4674;POINT (-39.406668 -2.993808)'))) / (select extract(epoch from '2026-06-27 08:12:39'::timestamp) - extract(epoch from '2026-06-27 08:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406684 -2.993755)'), GeomFromEWKT('SRID=4674;POINT (-39.406668 -2.993808)'))) / (select extract(epoch from '2026-06-27 08:12:39'::timestamp) - extract(epoch from '2026-06-27 08:12:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406634 -2.993856)', '2026-06-27 08:12:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406668 -2.993808)'), GeomFromEWKT('SRID=4674;POINT (-39.406634 -2.993856)'))) / (select extract(epoch from '2026-06-27 08:12:50'::timestamp) - extract(epoch from '2026-06-27 08:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406668 -2.993808)'), GeomFromEWKT('SRID=4674;POINT (-39.406634 -2.993856)'))) / (select extract(epoch from '2026-06-27 08:12:50'::timestamp) - extract(epoch from '2026-06-27 08:12:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40662 -2.993895)', '2026-06-27 08:12:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406634 -2.993856)'), GeomFromEWKT('SRID=4674;POINT (-39.40662 -2.993895)'))) / (select extract(epoch from '2026-06-27 08:12:58'::timestamp) - extract(epoch from '2026-06-27 08:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406634 -2.993856)'), GeomFromEWKT('SRID=4674;POINT (-39.40662 -2.993895)'))) / (select extract(epoch from '2026-06-27 08:12:58'::timestamp) - extract(epoch from '2026-06-27 08:12:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40662 -2.993915)', '2026-06-27 08:13:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40662 -2.993895)'), GeomFromEWKT('SRID=4674;POINT (-39.40662 -2.993915)'))) / (select extract(epoch from '2026-06-27 08:13:04'::timestamp) - extract(epoch from '2026-06-27 08:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40662 -2.993895)'), GeomFromEWKT('SRID=4674;POINT (-39.40662 -2.993915)'))) / (select extract(epoch from '2026-06-27 08:13:04'::timestamp) - extract(epoch from '2026-06-27 08:12:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406644 -2.993897)', '2026-06-27 08:13:28', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40662 -2.993915)'), GeomFromEWKT('SRID=4674;POINT (-39.406644 -2.993897)'))) / (select extract(epoch from '2026-06-27 08:13:28'::timestamp) - extract(epoch from '2026-06-27 08:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40662 -2.993915)'), GeomFromEWKT('SRID=4674;POINT (-39.406644 -2.993897)'))) / (select extract(epoch from '2026-06-27 08:13:28'::timestamp) - extract(epoch from '2026-06-27 08:13:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406672 -2.993867)', '2026-06-27 08:13:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406644 -2.993897)'), GeomFromEWKT('SRID=4674;POINT (-39.406672 -2.993867)'))) / (select extract(epoch from '2026-06-27 08:13:47'::timestamp) - extract(epoch from '2026-06-27 08:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406644 -2.993897)'), GeomFromEWKT('SRID=4674;POINT (-39.406672 -2.993867)'))) / (select extract(epoch from '2026-06-27 08:13:47'::timestamp) - extract(epoch from '2026-06-27 08:13:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406677 -2.993785)', '2026-06-27 08:14:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406672 -2.993867)'), GeomFromEWKT('SRID=4674;POINT (-39.406677 -2.993785)'))) / (select extract(epoch from '2026-06-27 08:14:01'::timestamp) - extract(epoch from '2026-06-27 08:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406672 -2.993867)'), GeomFromEWKT('SRID=4674;POINT (-39.406677 -2.993785)'))) / (select extract(epoch from '2026-06-27 08:14:01'::timestamp) - extract(epoch from '2026-06-27 08:13:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406649 -2.993712)', '2026-06-27 08:14:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406677 -2.993785)'), GeomFromEWKT('SRID=4674;POINT (-39.406649 -2.993712)'))) / (select extract(epoch from '2026-06-27 08:14:06'::timestamp) - extract(epoch from '2026-06-27 08:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406677 -2.993785)'), GeomFromEWKT('SRID=4674;POINT (-39.406649 -2.993712)'))) / (select extract(epoch from '2026-06-27 08:14:06'::timestamp) - extract(epoch from '2026-06-27 08:14:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406613 -2.993579)', '2026-06-27 08:14:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406649 -2.993712)'), GeomFromEWKT('SRID=4674;POINT (-39.406613 -2.993579)'))) / (select extract(epoch from '2026-06-27 08:14:13'::timestamp) - extract(epoch from '2026-06-27 08:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406649 -2.993712)'), GeomFromEWKT('SRID=4674;POINT (-39.406613 -2.993579)'))) / (select extract(epoch from '2026-06-27 08:14:13'::timestamp) - extract(epoch from '2026-06-27 08:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406585 -2.993455)', '2026-06-27 08:14:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406613 -2.993579)'), GeomFromEWKT('SRID=4674;POINT (-39.406585 -2.993455)'))) / (select extract(epoch from '2026-06-27 08:14:19'::timestamp) - extract(epoch from '2026-06-27 08:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406613 -2.993579)'), GeomFromEWKT('SRID=4674;POINT (-39.406585 -2.993455)'))) / (select extract(epoch from '2026-06-27 08:14:19'::timestamp) - extract(epoch from '2026-06-27 08:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406552 -2.993335)', '2026-06-27 08:14:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406585 -2.993455)'), GeomFromEWKT('SRID=4674;POINT (-39.406552 -2.993335)'))) / (select extract(epoch from '2026-06-27 08:14:25'::timestamp) - extract(epoch from '2026-06-27 08:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406585 -2.993455)'), GeomFromEWKT('SRID=4674;POINT (-39.406552 -2.993335)'))) / (select extract(epoch from '2026-06-27 08:14:25'::timestamp) - extract(epoch from '2026-06-27 08:14:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406515 -2.993173)', '2026-06-27 08:14:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406552 -2.993335)'), GeomFromEWKT('SRID=4674;POINT (-39.406515 -2.993173)'))) / (select extract(epoch from '2026-06-27 08:14:33'::timestamp) - extract(epoch from '2026-06-27 08:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406552 -2.993335)'), GeomFromEWKT('SRID=4674;POINT (-39.406515 -2.993173)'))) / (select extract(epoch from '2026-06-27 08:14:33'::timestamp) - extract(epoch from '2026-06-27 08:14:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406493 -2.993063)', '2026-06-27 08:14:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406515 -2.993173)'), GeomFromEWKT('SRID=4674;POINT (-39.406493 -2.993063)'))) / (select extract(epoch from '2026-06-27 08:14:39'::timestamp) - extract(epoch from '2026-06-27 08:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406515 -2.993173)'), GeomFromEWKT('SRID=4674;POINT (-39.406493 -2.993063)'))) / (select extract(epoch from '2026-06-27 08:14:39'::timestamp) - extract(epoch from '2026-06-27 08:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406465 -2.992949)', '2026-06-27 08:14:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406493 -2.993063)'), GeomFromEWKT('SRID=4674;POINT (-39.406465 -2.992949)'))) / (select extract(epoch from '2026-06-27 08:14:45'::timestamp) - extract(epoch from '2026-06-27 08:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406493 -2.993063)'), GeomFromEWKT('SRID=4674;POINT (-39.406465 -2.992949)'))) / (select extract(epoch from '2026-06-27 08:14:45'::timestamp) - extract(epoch from '2026-06-27 08:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406405 -2.992807)', '2026-06-27 08:14:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406465 -2.992949)'), GeomFromEWKT('SRID=4674;POINT (-39.406405 -2.992807)'))) / (select extract(epoch from '2026-06-27 08:14:53'::timestamp) - extract(epoch from '2026-06-27 08:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406465 -2.992949)'), GeomFromEWKT('SRID=4674;POINT (-39.406405 -2.992807)'))) / (select extract(epoch from '2026-06-27 08:14:53'::timestamp) - extract(epoch from '2026-06-27 08:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406369 -2.992745)', '2026-06-27 08:14:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406405 -2.992807)'), GeomFromEWKT('SRID=4674;POINT (-39.406369 -2.992745)'))) / (select extract(epoch from '2026-06-27 08:14:58'::timestamp) - extract(epoch from '2026-06-27 08:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406405 -2.992807)'), GeomFromEWKT('SRID=4674;POINT (-39.406369 -2.992745)'))) / (select extract(epoch from '2026-06-27 08:14:58'::timestamp) - extract(epoch from '2026-06-27 08:14:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40634 -2.992689)', '2026-06-27 08:15:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406369 -2.992745)'), GeomFromEWKT('SRID=4674;POINT (-39.40634 -2.992689)'))) / (select extract(epoch from '2026-06-27 08:15:05'::timestamp) - extract(epoch from '2026-06-27 08:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406369 -2.992745)'), GeomFromEWKT('SRID=4674;POINT (-39.40634 -2.992689)'))) / (select extract(epoch from '2026-06-27 08:15:05'::timestamp) - extract(epoch from '2026-06-27 08:14:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406333 -2.992646)', '2026-06-27 08:15:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40634 -2.992689)'), GeomFromEWKT('SRID=4674;POINT (-39.406333 -2.992646)'))) / (select extract(epoch from '2026-06-27 08:15:15'::timestamp) - extract(epoch from '2026-06-27 08:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40634 -2.992689)'), GeomFromEWKT('SRID=4674;POINT (-39.406333 -2.992646)'))) / (select extract(epoch from '2026-06-27 08:15:15'::timestamp) - extract(epoch from '2026-06-27 08:15:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406308 -2.992632)', '2026-06-27 08:15:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406333 -2.992646)'), GeomFromEWKT('SRID=4674;POINT (-39.406308 -2.992632)'))) / (select extract(epoch from '2026-06-27 08:15:24'::timestamp) - extract(epoch from '2026-06-27 08:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406333 -2.992646)'), GeomFromEWKT('SRID=4674;POINT (-39.406308 -2.992632)'))) / (select extract(epoch from '2026-06-27 08:15:24'::timestamp) - extract(epoch from '2026-06-27 08:15:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406318 -2.992616)', '2026-06-27 08:15:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406308 -2.992632)'), GeomFromEWKT('SRID=4674;POINT (-39.406318 -2.992616)'))) / (select extract(epoch from '2026-06-27 08:15:29'::timestamp) - extract(epoch from '2026-06-27 08:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406308 -2.992632)'), GeomFromEWKT('SRID=4674;POINT (-39.406318 -2.992616)'))) / (select extract(epoch from '2026-06-27 08:15:29'::timestamp) - extract(epoch from '2026-06-27 08:15:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406319 -2.992612)', '2026-06-27 08:15:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406318 -2.992616)'), GeomFromEWKT('SRID=4674;POINT (-39.406319 -2.992612)'))) / (select extract(epoch from '2026-06-27 08:15:32'::timestamp) - extract(epoch from '2026-06-27 08:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406318 -2.992616)'), GeomFromEWKT('SRID=4674;POINT (-39.406319 -2.992612)'))) / (select extract(epoch from '2026-06-27 08:15:32'::timestamp) - extract(epoch from '2026-06-27 08:15:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406374 -2.992613)', '2026-06-27 08:15:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406319 -2.992612)'), GeomFromEWKT('SRID=4674;POINT (-39.406374 -2.992613)'))) / (select extract(epoch from '2026-06-27 08:15:40'::timestamp) - extract(epoch from '2026-06-27 08:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406319 -2.992612)'), GeomFromEWKT('SRID=4674;POINT (-39.406374 -2.992613)'))) / (select extract(epoch from '2026-06-27 08:15:40'::timestamp) - extract(epoch from '2026-06-27 08:15:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406444 -2.992645)', '2026-06-27 08:15:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406374 -2.992613)'), GeomFromEWKT('SRID=4674;POINT (-39.406444 -2.992645)'))) / (select extract(epoch from '2026-06-27 08:15:46'::timestamp) - extract(epoch from '2026-06-27 08:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406374 -2.992613)'), GeomFromEWKT('SRID=4674;POINT (-39.406444 -2.992645)'))) / (select extract(epoch from '2026-06-27 08:15:46'::timestamp) - extract(epoch from '2026-06-27 08:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406489 -2.99273)', '2026-06-27 08:15:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406444 -2.992645)'), GeomFromEWKT('SRID=4674;POINT (-39.406489 -2.99273)'))) / (select extract(epoch from '2026-06-27 08:15:53'::timestamp) - extract(epoch from '2026-06-27 08:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406444 -2.992645)'), GeomFromEWKT('SRID=4674;POINT (-39.406489 -2.99273)'))) / (select extract(epoch from '2026-06-27 08:15:53'::timestamp) - extract(epoch from '2026-06-27 08:15:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406528 -2.992814)', '2026-06-27 08:15:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406489 -2.99273)'), GeomFromEWKT('SRID=4674;POINT (-39.406528 -2.992814)'))) / (select extract(epoch from '2026-06-27 08:15:59'::timestamp) - extract(epoch from '2026-06-27 08:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406489 -2.99273)'), GeomFromEWKT('SRID=4674;POINT (-39.406528 -2.992814)'))) / (select extract(epoch from '2026-06-27 08:15:59'::timestamp) - extract(epoch from '2026-06-27 08:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406571 -2.992926)', '2026-06-27 08:16:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406528 -2.992814)'), GeomFromEWKT('SRID=4674;POINT (-39.406571 -2.992926)'))) / (select extract(epoch from '2026-06-27 08:16:06'::timestamp) - extract(epoch from '2026-06-27 08:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406528 -2.992814)'), GeomFromEWKT('SRID=4674;POINT (-39.406571 -2.992926)'))) / (select extract(epoch from '2026-06-27 08:16:06'::timestamp) - extract(epoch from '2026-06-27 08:15:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406597 -2.99304)', '2026-06-27 08:16:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406571 -2.992926)'), GeomFromEWKT('SRID=4674;POINT (-39.406597 -2.99304)'))) / (select extract(epoch from '2026-06-27 08:16:13'::timestamp) - extract(epoch from '2026-06-27 08:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406571 -2.992926)'), GeomFromEWKT('SRID=4674;POINT (-39.406597 -2.99304)'))) / (select extract(epoch from '2026-06-27 08:16:13'::timestamp) - extract(epoch from '2026-06-27 08:16:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406605 -2.993058)', '2026-06-27 08:16:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406597 -2.99304)'), GeomFromEWKT('SRID=4674;POINT (-39.406605 -2.993058)'))) / (select extract(epoch from '2026-06-27 08:16:14'::timestamp) - extract(epoch from '2026-06-27 08:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406597 -2.99304)'), GeomFromEWKT('SRID=4674;POINT (-39.406605 -2.993058)'))) / (select extract(epoch from '2026-06-27 08:16:14'::timestamp) - extract(epoch from '2026-06-27 08:16:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40663 -2.993118)', '2026-06-27 08:16:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406605 -2.993058)'), GeomFromEWKT('SRID=4674;POINT (-39.40663 -2.993118)'))) / (select extract(epoch from '2026-06-27 08:16:18'::timestamp) - extract(epoch from '2026-06-27 08:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406605 -2.993058)'), GeomFromEWKT('SRID=4674;POINT (-39.40663 -2.993118)'))) / (select extract(epoch from '2026-06-27 08:16:18'::timestamp) - extract(epoch from '2026-06-27 08:16:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40665 -2.993203)', '2026-06-27 08:16:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40663 -2.993118)'), GeomFromEWKT('SRID=4674;POINT (-39.40665 -2.993203)'))) / (select extract(epoch from '2026-06-27 08:16:24'::timestamp) - extract(epoch from '2026-06-27 08:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40663 -2.993118)'), GeomFromEWKT('SRID=4674;POINT (-39.40665 -2.993203)'))) / (select extract(epoch from '2026-06-27 08:16:24'::timestamp) - extract(epoch from '2026-06-27 08:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406699 -2.993347)', '2026-06-27 08:16:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40665 -2.993203)'), GeomFromEWKT('SRID=4674;POINT (-39.406699 -2.993347)'))) / (select extract(epoch from '2026-06-27 08:16:33'::timestamp) - extract(epoch from '2026-06-27 08:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40665 -2.993203)'), GeomFromEWKT('SRID=4674;POINT (-39.406699 -2.993347)'))) / (select extract(epoch from '2026-06-27 08:16:33'::timestamp) - extract(epoch from '2026-06-27 08:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406731 -2.993461)', '2026-06-27 08:16:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406699 -2.993347)'), GeomFromEWKT('SRID=4674;POINT (-39.406731 -2.993461)'))) / (select extract(epoch from '2026-06-27 08:16:40'::timestamp) - extract(epoch from '2026-06-27 08:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406699 -2.993347)'), GeomFromEWKT('SRID=4674;POINT (-39.406731 -2.993461)'))) / (select extract(epoch from '2026-06-27 08:16:40'::timestamp) - extract(epoch from '2026-06-27 08:16:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406762 -2.993562)', '2026-06-27 08:16:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406731 -2.993461)'), GeomFromEWKT('SRID=4674;POINT (-39.406762 -2.993562)'))) / (select extract(epoch from '2026-06-27 08:16:46'::timestamp) - extract(epoch from '2026-06-27 08:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406731 -2.993461)'), GeomFromEWKT('SRID=4674;POINT (-39.406762 -2.993562)'))) / (select extract(epoch from '2026-06-27 08:16:46'::timestamp) - extract(epoch from '2026-06-27 08:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406819 -2.993698)', '2026-06-27 08:16:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406762 -2.993562)'), GeomFromEWKT('SRID=4674;POINT (-39.406819 -2.993698)'))) / (select extract(epoch from '2026-06-27 08:16:54'::timestamp) - extract(epoch from '2026-06-27 08:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406762 -2.993562)'), GeomFromEWKT('SRID=4674;POINT (-39.406819 -2.993698)'))) / (select extract(epoch from '2026-06-27 08:16:54'::timestamp) - extract(epoch from '2026-06-27 08:16:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406853 -2.993831)', '2026-06-27 08:17:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406819 -2.993698)'), GeomFromEWKT('SRID=4674;POINT (-39.406853 -2.993831)'))) / (select extract(epoch from '2026-06-27 08:17:02'::timestamp) - extract(epoch from '2026-06-27 08:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406819 -2.993698)'), GeomFromEWKT('SRID=4674;POINT (-39.406853 -2.993831)'))) / (select extract(epoch from '2026-06-27 08:17:02'::timestamp) - extract(epoch from '2026-06-27 08:16:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406877 -2.993944)', '2026-06-27 08:17:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406853 -2.993831)'), GeomFromEWKT('SRID=4674;POINT (-39.406877 -2.993944)'))) / (select extract(epoch from '2026-06-27 08:17:09'::timestamp) - extract(epoch from '2026-06-27 08:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406853 -2.993831)'), GeomFromEWKT('SRID=4674;POINT (-39.406877 -2.993944)'))) / (select extract(epoch from '2026-06-27 08:17:09'::timestamp) - extract(epoch from '2026-06-27 08:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406902 -2.994034)', '2026-06-27 08:17:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406877 -2.993944)'), GeomFromEWKT('SRID=4674;POINT (-39.406902 -2.994034)'))) / (select extract(epoch from '2026-06-27 08:17:15'::timestamp) - extract(epoch from '2026-06-27 08:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406877 -2.993944)'), GeomFromEWKT('SRID=4674;POINT (-39.406902 -2.994034)'))) / (select extract(epoch from '2026-06-27 08:17:15'::timestamp) - extract(epoch from '2026-06-27 08:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406919 -2.99411)', '2026-06-27 08:17:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406902 -2.994034)'), GeomFromEWKT('SRID=4674;POINT (-39.406919 -2.99411)'))) / (select extract(epoch from '2026-06-27 08:17:20'::timestamp) - extract(epoch from '2026-06-27 08:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406902 -2.994034)'), GeomFromEWKT('SRID=4674;POINT (-39.406919 -2.99411)'))) / (select extract(epoch from '2026-06-27 08:17:20'::timestamp) - extract(epoch from '2026-06-27 08:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406945 -2.994228)', '2026-06-27 08:17:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406919 -2.99411)'), GeomFromEWKT('SRID=4674;POINT (-39.406945 -2.994228)'))) / (select extract(epoch from '2026-06-27 08:17:27'::timestamp) - extract(epoch from '2026-06-27 08:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406919 -2.99411)'), GeomFromEWKT('SRID=4674;POINT (-39.406945 -2.994228)'))) / (select extract(epoch from '2026-06-27 08:17:27'::timestamp) - extract(epoch from '2026-06-27 08:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406961 -2.9943)', '2026-06-27 08:17:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406945 -2.994228)'), GeomFromEWKT('SRID=4674;POINT (-39.406961 -2.9943)'))) / (select extract(epoch from '2026-06-27 08:17:32'::timestamp) - extract(epoch from '2026-06-27 08:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406945 -2.994228)'), GeomFromEWKT('SRID=4674;POINT (-39.406961 -2.9943)'))) / (select extract(epoch from '2026-06-27 08:17:32'::timestamp) - extract(epoch from '2026-06-27 08:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406995 -2.994414)', '2026-06-27 08:17:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406961 -2.9943)'), GeomFromEWKT('SRID=4674;POINT (-39.406995 -2.994414)'))) / (select extract(epoch from '2026-06-27 08:17:39'::timestamp) - extract(epoch from '2026-06-27 08:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406961 -2.9943)'), GeomFromEWKT('SRID=4674;POINT (-39.406995 -2.994414)'))) / (select extract(epoch from '2026-06-27 08:17:39'::timestamp) - extract(epoch from '2026-06-27 08:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.406995 -2.994442)', '2026-06-27 08:17:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406995 -2.994414)'), GeomFromEWKT('SRID=4674;POINT (-39.406995 -2.994442)'))) / (select extract(epoch from '2026-06-27 08:17:41'::timestamp) - extract(epoch from '2026-06-27 08:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406995 -2.994414)'), GeomFromEWKT('SRID=4674;POINT (-39.406995 -2.994442)'))) / (select extract(epoch from '2026-06-27 08:17:41'::timestamp) - extract(epoch from '2026-06-27 08:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40701 -2.994495)', '2026-06-27 08:17:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406995 -2.994442)'), GeomFromEWKT('SRID=4674;POINT (-39.40701 -2.994495)'))) / (select extract(epoch from '2026-06-27 08:17:44'::timestamp) - extract(epoch from '2026-06-27 08:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.406995 -2.994442)'), GeomFromEWKT('SRID=4674;POINT (-39.40701 -2.994495)'))) / (select extract(epoch from '2026-06-27 08:17:44'::timestamp) - extract(epoch from '2026-06-27 08:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407026 -2.994588)', '2026-06-27 08:17:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40701 -2.994495)'), GeomFromEWKT('SRID=4674;POINT (-39.407026 -2.994588)'))) / (select extract(epoch from '2026-06-27 08:17:50'::timestamp) - extract(epoch from '2026-06-27 08:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40701 -2.994495)'), GeomFromEWKT('SRID=4674;POINT (-39.407026 -2.994588)'))) / (select extract(epoch from '2026-06-27 08:17:50'::timestamp) - extract(epoch from '2026-06-27 08:17:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407066 -2.994712)', '2026-06-27 08:17:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407026 -2.994588)'), GeomFromEWKT('SRID=4674;POINT (-39.407066 -2.994712)'))) / (select extract(epoch from '2026-06-27 08:17:58'::timestamp) - extract(epoch from '2026-06-27 08:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407026 -2.994588)'), GeomFromEWKT('SRID=4674;POINT (-39.407066 -2.994712)'))) / (select extract(epoch from '2026-06-27 08:17:58'::timestamp) - extract(epoch from '2026-06-27 08:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407097 -2.994816)', '2026-06-27 08:18:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407066 -2.994712)'), GeomFromEWKT('SRID=4674;POINT (-39.407097 -2.994816)'))) / (select extract(epoch from '2026-06-27 08:18:04'::timestamp) - extract(epoch from '2026-06-27 08:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407066 -2.994712)'), GeomFromEWKT('SRID=4674;POINT (-39.407097 -2.994816)'))) / (select extract(epoch from '2026-06-27 08:18:04'::timestamp) - extract(epoch from '2026-06-27 08:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407135 -2.994933)', '2026-06-27 08:18:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407097 -2.994816)'), GeomFromEWKT('SRID=4674;POINT (-39.407135 -2.994933)'))) / (select extract(epoch from '2026-06-27 08:18:11'::timestamp) - extract(epoch from '2026-06-27 08:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407097 -2.994816)'), GeomFromEWKT('SRID=4674;POINT (-39.407135 -2.994933)'))) / (select extract(epoch from '2026-06-27 08:18:11'::timestamp) - extract(epoch from '2026-06-27 08:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407165 -2.995021)', '2026-06-27 08:18:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407135 -2.994933)'), GeomFromEWKT('SRID=4674;POINT (-39.407165 -2.995021)'))) / (select extract(epoch from '2026-06-27 08:18:17'::timestamp) - extract(epoch from '2026-06-27 08:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407135 -2.994933)'), GeomFromEWKT('SRID=4674;POINT (-39.407165 -2.995021)'))) / (select extract(epoch from '2026-06-27 08:18:17'::timestamp) - extract(epoch from '2026-06-27 08:18:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407198 -2.995101)', '2026-06-27 08:18:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407165 -2.995021)'), GeomFromEWKT('SRID=4674;POINT (-39.407198 -2.995101)'))) / (select extract(epoch from '2026-06-27 08:18:22'::timestamp) - extract(epoch from '2026-06-27 08:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407165 -2.995021)'), GeomFromEWKT('SRID=4674;POINT (-39.407198 -2.995101)'))) / (select extract(epoch from '2026-06-27 08:18:22'::timestamp) - extract(epoch from '2026-06-27 08:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40725 -2.995258)', '2026-06-27 08:18:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407198 -2.995101)'), GeomFromEWKT('SRID=4674;POINT (-39.40725 -2.995258)'))) / (select extract(epoch from '2026-06-27 08:18:32'::timestamp) - extract(epoch from '2026-06-27 08:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407198 -2.995101)'), GeomFromEWKT('SRID=4674;POINT (-39.40725 -2.995258)'))) / (select extract(epoch from '2026-06-27 08:18:32'::timestamp) - extract(epoch from '2026-06-27 08:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407268 -2.995354)', '2026-06-27 08:18:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40725 -2.995258)'), GeomFromEWKT('SRID=4674;POINT (-39.407268 -2.995354)'))) / (select extract(epoch from '2026-06-27 08:18:38'::timestamp) - extract(epoch from '2026-06-27 08:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40725 -2.995258)'), GeomFromEWKT('SRID=4674;POINT (-39.407268 -2.995354)'))) / (select extract(epoch from '2026-06-27 08:18:38'::timestamp) - extract(epoch from '2026-06-27 08:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407297 -2.995461)', '2026-06-27 08:18:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407268 -2.995354)'), GeomFromEWKT('SRID=4674;POINT (-39.407297 -2.995461)'))) / (select extract(epoch from '2026-06-27 08:18:44'::timestamp) - extract(epoch from '2026-06-27 08:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407268 -2.995354)'), GeomFromEWKT('SRID=4674;POINT (-39.407297 -2.995461)'))) / (select extract(epoch from '2026-06-27 08:18:44'::timestamp) - extract(epoch from '2026-06-27 08:18:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407324 -2.99558)', '2026-06-27 08:18:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407297 -2.995461)'), GeomFromEWKT('SRID=4674;POINT (-39.407324 -2.99558)'))) / (select extract(epoch from '2026-06-27 08:18:51'::timestamp) - extract(epoch from '2026-06-27 08:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407297 -2.995461)'), GeomFromEWKT('SRID=4674;POINT (-39.407324 -2.99558)'))) / (select extract(epoch from '2026-06-27 08:18:51'::timestamp) - extract(epoch from '2026-06-27 08:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407349 -2.995676)', '2026-06-27 08:18:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407324 -2.99558)'), GeomFromEWKT('SRID=4674;POINT (-39.407349 -2.995676)'))) / (select extract(epoch from '2026-06-27 08:18:57'::timestamp) - extract(epoch from '2026-06-27 08:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407324 -2.99558)'), GeomFromEWKT('SRID=4674;POINT (-39.407349 -2.995676)'))) / (select extract(epoch from '2026-06-27 08:18:57'::timestamp) - extract(epoch from '2026-06-27 08:18:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407373 -2.99575)', '2026-06-27 08:19:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407349 -2.995676)'), GeomFromEWKT('SRID=4674;POINT (-39.407373 -2.99575)'))) / (select extract(epoch from '2026-06-27 08:19:02'::timestamp) - extract(epoch from '2026-06-27 08:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407349 -2.995676)'), GeomFromEWKT('SRID=4674;POINT (-39.407373 -2.99575)'))) / (select extract(epoch from '2026-06-27 08:19:02'::timestamp) - extract(epoch from '2026-06-27 08:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407404 -2.995858)', '2026-06-27 08:19:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407373 -2.99575)'), GeomFromEWKT('SRID=4674;POINT (-39.407404 -2.995858)'))) / (select extract(epoch from '2026-06-27 08:19:09'::timestamp) - extract(epoch from '2026-06-27 08:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407373 -2.99575)'), GeomFromEWKT('SRID=4674;POINT (-39.407404 -2.995858)'))) / (select extract(epoch from '2026-06-27 08:19:09'::timestamp) - extract(epoch from '2026-06-27 08:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407426 -2.995957)', '2026-06-27 08:19:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407404 -2.995858)'), GeomFromEWKT('SRID=4674;POINT (-39.407426 -2.995957)'))) / (select extract(epoch from '2026-06-27 08:19:15'::timestamp) - extract(epoch from '2026-06-27 08:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407404 -2.995858)'), GeomFromEWKT('SRID=4674;POINT (-39.407426 -2.995957)'))) / (select extract(epoch from '2026-06-27 08:19:15'::timestamp) - extract(epoch from '2026-06-27 08:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407446 -2.996083)', '2026-06-27 08:19:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407426 -2.995957)'), GeomFromEWKT('SRID=4674;POINT (-39.407446 -2.996083)'))) / (select extract(epoch from '2026-06-27 08:19:22'::timestamp) - extract(epoch from '2026-06-27 08:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407426 -2.995957)'), GeomFromEWKT('SRID=4674;POINT (-39.407446 -2.996083)'))) / (select extract(epoch from '2026-06-27 08:19:22'::timestamp) - extract(epoch from '2026-06-27 08:19:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407467 -2.996224)', '2026-06-27 08:19:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407446 -2.996083)'), GeomFromEWKT('SRID=4674;POINT (-39.407467 -2.996224)'))) / (select extract(epoch from '2026-06-27 08:19:30'::timestamp) - extract(epoch from '2026-06-27 08:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407446 -2.996083)'), GeomFromEWKT('SRID=4674;POINT (-39.407467 -2.996224)'))) / (select extract(epoch from '2026-06-27 08:19:30'::timestamp) - extract(epoch from '2026-06-27 08:19:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407486 -2.996321)', '2026-06-27 08:19:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407467 -2.996224)'), GeomFromEWKT('SRID=4674;POINT (-39.407486 -2.996321)'))) / (select extract(epoch from '2026-06-27 08:19:36'::timestamp) - extract(epoch from '2026-06-27 08:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407467 -2.996224)'), GeomFromEWKT('SRID=4674;POINT (-39.407486 -2.996321)'))) / (select extract(epoch from '2026-06-27 08:19:36'::timestamp) - extract(epoch from '2026-06-27 08:19:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407526 -2.99646)', '2026-06-27 08:19:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407486 -2.996321)'), GeomFromEWKT('SRID=4674;POINT (-39.407526 -2.99646)'))) / (select extract(epoch from '2026-06-27 08:19:44'::timestamp) - extract(epoch from '2026-06-27 08:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407486 -2.996321)'), GeomFromEWKT('SRID=4674;POINT (-39.407526 -2.99646)'))) / (select extract(epoch from '2026-06-27 08:19:44'::timestamp) - extract(epoch from '2026-06-27 08:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407561 -2.996576)', '2026-06-27 08:19:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407526 -2.99646)'), GeomFromEWKT('SRID=4674;POINT (-39.407561 -2.996576)'))) / (select extract(epoch from '2026-06-27 08:19:51'::timestamp) - extract(epoch from '2026-06-27 08:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407526 -2.99646)'), GeomFromEWKT('SRID=4674;POINT (-39.407561 -2.996576)'))) / (select extract(epoch from '2026-06-27 08:19:51'::timestamp) - extract(epoch from '2026-06-27 08:19:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407588 -2.996686)', '2026-06-27 08:19:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407561 -2.996576)'), GeomFromEWKT('SRID=4674;POINT (-39.407588 -2.996686)'))) / (select extract(epoch from '2026-06-27 08:19:58'::timestamp) - extract(epoch from '2026-06-27 08:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407561 -2.996576)'), GeomFromEWKT('SRID=4674;POINT (-39.407588 -2.996686)'))) / (select extract(epoch from '2026-06-27 08:19:58'::timestamp) - extract(epoch from '2026-06-27 08:19:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407628 -2.996826)', '2026-06-27 08:20:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407588 -2.996686)'), GeomFromEWKT('SRID=4674;POINT (-39.407628 -2.996826)'))) / (select extract(epoch from '2026-06-27 08:20:06'::timestamp) - extract(epoch from '2026-06-27 08:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407588 -2.996686)'), GeomFromEWKT('SRID=4674;POINT (-39.407628 -2.996826)'))) / (select extract(epoch from '2026-06-27 08:20:06'::timestamp) - extract(epoch from '2026-06-27 08:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407664 -2.996943)', '2026-06-27 08:20:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407628 -2.996826)'), GeomFromEWKT('SRID=4674;POINT (-39.407664 -2.996943)'))) / (select extract(epoch from '2026-06-27 08:20:13'::timestamp) - extract(epoch from '2026-06-27 08:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407628 -2.996826)'), GeomFromEWKT('SRID=4674;POINT (-39.407664 -2.996943)'))) / (select extract(epoch from '2026-06-27 08:20:13'::timestamp) - extract(epoch from '2026-06-27 08:20:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407685 -2.997036)', '2026-06-27 08:20:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407664 -2.996943)'), GeomFromEWKT('SRID=4674;POINT (-39.407685 -2.997036)'))) / (select extract(epoch from '2026-06-27 08:20:19'::timestamp) - extract(epoch from '2026-06-27 08:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407664 -2.996943)'), GeomFromEWKT('SRID=4674;POINT (-39.407685 -2.997036)'))) / (select extract(epoch from '2026-06-27 08:20:19'::timestamp) - extract(epoch from '2026-06-27 08:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407709 -2.997126)', '2026-06-27 08:20:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407685 -2.997036)'), GeomFromEWKT('SRID=4674;POINT (-39.407709 -2.997126)'))) / (select extract(epoch from '2026-06-27 08:20:24'::timestamp) - extract(epoch from '2026-06-27 08:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407685 -2.997036)'), GeomFromEWKT('SRID=4674;POINT (-39.407709 -2.997126)'))) / (select extract(epoch from '2026-06-27 08:20:24'::timestamp) - extract(epoch from '2026-06-27 08:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407743 -2.997232)', '2026-06-27 08:20:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407709 -2.997126)'), GeomFromEWKT('SRID=4674;POINT (-39.407743 -2.997232)'))) / (select extract(epoch from '2026-06-27 08:20:30'::timestamp) - extract(epoch from '2026-06-27 08:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407709 -2.997126)'), GeomFromEWKT('SRID=4674;POINT (-39.407743 -2.997232)'))) / (select extract(epoch from '2026-06-27 08:20:30'::timestamp) - extract(epoch from '2026-06-27 08:20:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407763 -2.997328)', '2026-06-27 08:20:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407743 -2.997232)'), GeomFromEWKT('SRID=4674;POINT (-39.407763 -2.997328)'))) / (select extract(epoch from '2026-06-27 08:20:36'::timestamp) - extract(epoch from '2026-06-27 08:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407743 -2.997232)'), GeomFromEWKT('SRID=4674;POINT (-39.407763 -2.997328)'))) / (select extract(epoch from '2026-06-27 08:20:36'::timestamp) - extract(epoch from '2026-06-27 08:20:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407793 -2.997457)', '2026-06-27 08:20:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407763 -2.997328)'), GeomFromEWKT('SRID=4674;POINT (-39.407793 -2.997457)'))) / (select extract(epoch from '2026-06-27 08:20:43'::timestamp) - extract(epoch from '2026-06-27 08:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407763 -2.997328)'), GeomFromEWKT('SRID=4674;POINT (-39.407793 -2.997457)'))) / (select extract(epoch from '2026-06-27 08:20:43'::timestamp) - extract(epoch from '2026-06-27 08:20:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407841 -2.997588)', '2026-06-27 08:20:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407793 -2.997457)'), GeomFromEWKT('SRID=4674;POINT (-39.407841 -2.997588)'))) / (select extract(epoch from '2026-06-27 08:20:51'::timestamp) - extract(epoch from '2026-06-27 08:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407793 -2.997457)'), GeomFromEWKT('SRID=4674;POINT (-39.407841 -2.997588)'))) / (select extract(epoch from '2026-06-27 08:20:51'::timestamp) - extract(epoch from '2026-06-27 08:20:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407877 -2.997688)', '2026-06-27 08:20:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407841 -2.997588)'), GeomFromEWKT('SRID=4674;POINT (-39.407877 -2.997688)'))) / (select extract(epoch from '2026-06-27 08:20:57'::timestamp) - extract(epoch from '2026-06-27 08:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407841 -2.997588)'), GeomFromEWKT('SRID=4674;POINT (-39.407877 -2.997688)'))) / (select extract(epoch from '2026-06-27 08:20:57'::timestamp) - extract(epoch from '2026-06-27 08:20:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407929 -2.997836)', '2026-06-27 08:21:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407877 -2.997688)'), GeomFromEWKT('SRID=4674;POINT (-39.407929 -2.997836)'))) / (select extract(epoch from '2026-06-27 08:21:06'::timestamp) - extract(epoch from '2026-06-27 08:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407877 -2.997688)'), GeomFromEWKT('SRID=4674;POINT (-39.407929 -2.997836)'))) / (select extract(epoch from '2026-06-27 08:21:06'::timestamp) - extract(epoch from '2026-06-27 08:20:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407969 -2.997954)', '2026-06-27 08:21:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407929 -2.997836)'), GeomFromEWKT('SRID=4674;POINT (-39.407969 -2.997954)'))) / (select extract(epoch from '2026-06-27 08:21:13'::timestamp) - extract(epoch from '2026-06-27 08:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407929 -2.997836)'), GeomFromEWKT('SRID=4674;POINT (-39.407969 -2.997954)'))) / (select extract(epoch from '2026-06-27 08:21:13'::timestamp) - extract(epoch from '2026-06-27 08:21:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408013 -2.998044)', '2026-06-27 08:21:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407969 -2.997954)'), GeomFromEWKT('SRID=4674;POINT (-39.408013 -2.998044)'))) / (select extract(epoch from '2026-06-27 08:21:19'::timestamp) - extract(epoch from '2026-06-27 08:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407969 -2.997954)'), GeomFromEWKT('SRID=4674;POINT (-39.408013 -2.998044)'))) / (select extract(epoch from '2026-06-27 08:21:19'::timestamp) - extract(epoch from '2026-06-27 08:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408056 -2.99813)', '2026-06-27 08:21:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408013 -2.998044)'), GeomFromEWKT('SRID=4674;POINT (-39.408056 -2.99813)'))) / (select extract(epoch from '2026-06-27 08:21:24'::timestamp) - extract(epoch from '2026-06-27 08:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408013 -2.998044)'), GeomFromEWKT('SRID=4674;POINT (-39.408056 -2.99813)'))) / (select extract(epoch from '2026-06-27 08:21:24'::timestamp) - extract(epoch from '2026-06-27 08:21:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408101 -2.998228)', '2026-06-27 08:21:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408056 -2.99813)'), GeomFromEWKT('SRID=4674;POINT (-39.408101 -2.998228)'))) / (select extract(epoch from '2026-06-27 08:21:30'::timestamp) - extract(epoch from '2026-06-27 08:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408056 -2.99813)'), GeomFromEWKT('SRID=4674;POINT (-39.408101 -2.998228)'))) / (select extract(epoch from '2026-06-27 08:21:30'::timestamp) - extract(epoch from '2026-06-27 08:21:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408149 -2.998338)', '2026-06-27 08:21:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408101 -2.998228)'), GeomFromEWKT('SRID=4674;POINT (-39.408149 -2.998338)'))) / (select extract(epoch from '2026-06-27 08:21:37'::timestamp) - extract(epoch from '2026-06-27 08:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408101 -2.998228)'), GeomFromEWKT('SRID=4674;POINT (-39.408149 -2.998338)'))) / (select extract(epoch from '2026-06-27 08:21:37'::timestamp) - extract(epoch from '2026-06-27 08:21:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408185 -2.998428)', '2026-06-27 08:21:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408149 -2.998338)'), GeomFromEWKT('SRID=4674;POINT (-39.408185 -2.998428)'))) / (select extract(epoch from '2026-06-27 08:21:43'::timestamp) - extract(epoch from '2026-06-27 08:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408149 -2.998338)'), GeomFromEWKT('SRID=4674;POINT (-39.408185 -2.998428)'))) / (select extract(epoch from '2026-06-27 08:21:43'::timestamp) - extract(epoch from '2026-06-27 08:21:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408206 -2.998478)', '2026-06-27 08:21:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408185 -2.998428)'), GeomFromEWKT('SRID=4674;POINT (-39.408206 -2.998478)'))) / (select extract(epoch from '2026-06-27 08:21:46'::timestamp) - extract(epoch from '2026-06-27 08:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408185 -2.998428)'), GeomFromEWKT('SRID=4674;POINT (-39.408206 -2.998478)'))) / (select extract(epoch from '2026-06-27 08:21:46'::timestamp) - extract(epoch from '2026-06-27 08:21:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408208 -2.998507)', '2026-06-27 08:21:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408206 -2.998478)'), GeomFromEWKT('SRID=4674;POINT (-39.408208 -2.998507)'))) / (select extract(epoch from '2026-06-27 08:21:48'::timestamp) - extract(epoch from '2026-06-27 08:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408206 -2.998478)'), GeomFromEWKT('SRID=4674;POINT (-39.408208 -2.998507)'))) / (select extract(epoch from '2026-06-27 08:21:48'::timestamp) - extract(epoch from '2026-06-27 08:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40822 -2.998595)', '2026-06-27 08:21:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408208 -2.998507)'), GeomFromEWKT('SRID=4674;POINT (-39.40822 -2.998595)'))) / (select extract(epoch from '2026-06-27 08:21:53'::timestamp) - extract(epoch from '2026-06-27 08:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408208 -2.998507)'), GeomFromEWKT('SRID=4674;POINT (-39.40822 -2.998595)'))) / (select extract(epoch from '2026-06-27 08:21:53'::timestamp) - extract(epoch from '2026-06-27 08:21:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408229 -2.998692)', '2026-06-27 08:21:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40822 -2.998595)'), GeomFromEWKT('SRID=4674;POINT (-39.408229 -2.998692)'))) / (select extract(epoch from '2026-06-27 08:21:59'::timestamp) - extract(epoch from '2026-06-27 08:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40822 -2.998595)'), GeomFromEWKT('SRID=4674;POINT (-39.408229 -2.998692)'))) / (select extract(epoch from '2026-06-27 08:21:59'::timestamp) - extract(epoch from '2026-06-27 08:21:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408215 -2.998804)', '2026-06-27 08:22:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408229 -2.998692)'), GeomFromEWKT('SRID=4674;POINT (-39.408215 -2.998804)'))) / (select extract(epoch from '2026-06-27 08:22:06'::timestamp) - extract(epoch from '2026-06-27 08:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408229 -2.998692)'), GeomFromEWKT('SRID=4674;POINT (-39.408215 -2.998804)'))) / (select extract(epoch from '2026-06-27 08:22:06'::timestamp) - extract(epoch from '2026-06-27 08:21:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408188 -2.998902)', '2026-06-27 08:22:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408215 -2.998804)'), GeomFromEWKT('SRID=4674;POINT (-39.408188 -2.998902)'))) / (select extract(epoch from '2026-06-27 08:22:12'::timestamp) - extract(epoch from '2026-06-27 08:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408215 -2.998804)'), GeomFromEWKT('SRID=4674;POINT (-39.408188 -2.998902)'))) / (select extract(epoch from '2026-06-27 08:22:12'::timestamp) - extract(epoch from '2026-06-27 08:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408148 -2.999028)', '2026-06-27 08:22:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408188 -2.998902)'), GeomFromEWKT('SRID=4674;POINT (-39.408148 -2.999028)'))) / (select extract(epoch from '2026-06-27 08:22:20'::timestamp) - extract(epoch from '2026-06-27 08:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408188 -2.998902)'), GeomFromEWKT('SRID=4674;POINT (-39.408148 -2.999028)'))) / (select extract(epoch from '2026-06-27 08:22:20'::timestamp) - extract(epoch from '2026-06-27 08:22:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408122 -2.999126)', '2026-06-27 08:22:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408148 -2.999028)'), GeomFromEWKT('SRID=4674;POINT (-39.408122 -2.999126)'))) / (select extract(epoch from '2026-06-27 08:22:26'::timestamp) - extract(epoch from '2026-06-27 08:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408148 -2.999028)'), GeomFromEWKT('SRID=4674;POINT (-39.408122 -2.999126)'))) / (select extract(epoch from '2026-06-27 08:22:26'::timestamp) - extract(epoch from '2026-06-27 08:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408091 -2.999228)', '2026-06-27 08:22:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408122 -2.999126)'), GeomFromEWKT('SRID=4674;POINT (-39.408091 -2.999228)'))) / (select extract(epoch from '2026-06-27 08:22:32'::timestamp) - extract(epoch from '2026-06-27 08:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408122 -2.999126)'), GeomFromEWKT('SRID=4674;POINT (-39.408091 -2.999228)'))) / (select extract(epoch from '2026-06-27 08:22:32'::timestamp) - extract(epoch from '2026-06-27 08:22:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408066 -2.999331)', '2026-06-27 08:22:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408091 -2.999228)'), GeomFromEWKT('SRID=4674;POINT (-39.408066 -2.999331)'))) / (select extract(epoch from '2026-06-27 08:22:38'::timestamp) - extract(epoch from '2026-06-27 08:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408091 -2.999228)'), GeomFromEWKT('SRID=4674;POINT (-39.408066 -2.999331)'))) / (select extract(epoch from '2026-06-27 08:22:38'::timestamp) - extract(epoch from '2026-06-27 08:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.408028 -2.999427)', '2026-06-27 08:22:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408066 -2.999331)'), GeomFromEWKT('SRID=4674;POINT (-39.408028 -2.999427)'))) / (select extract(epoch from '2026-06-27 08:22:44'::timestamp) - extract(epoch from '2026-06-27 08:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408066 -2.999331)'), GeomFromEWKT('SRID=4674;POINT (-39.408028 -2.999427)'))) / (select extract(epoch from '2026-06-27 08:22:44'::timestamp) - extract(epoch from '2026-06-27 08:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407999 -2.999529)', '2026-06-27 08:22:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408028 -2.999427)'), GeomFromEWKT('SRID=4674;POINT (-39.407999 -2.999529)'))) / (select extract(epoch from '2026-06-27 08:22:50'::timestamp) - extract(epoch from '2026-06-27 08:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408028 -2.999427)'), GeomFromEWKT('SRID=4674;POINT (-39.407999 -2.999529)'))) / (select extract(epoch from '2026-06-27 08:22:50'::timestamp) - extract(epoch from '2026-06-27 08:22:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407977 -2.999632)', '2026-06-27 08:22:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407999 -2.999529)'), GeomFromEWKT('SRID=4674;POINT (-39.407977 -2.999632)'))) / (select extract(epoch from '2026-06-27 08:22:56'::timestamp) - extract(epoch from '2026-06-27 08:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407999 -2.999529)'), GeomFromEWKT('SRID=4674;POINT (-39.407977 -2.999632)'))) / (select extract(epoch from '2026-06-27 08:22:56'::timestamp) - extract(epoch from '2026-06-27 08:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407968 -2.999758)', '2026-06-27 08:23:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407977 -2.999632)'), GeomFromEWKT('SRID=4674;POINT (-39.407968 -2.999758)'))) / (select extract(epoch from '2026-06-27 08:23:03'::timestamp) - extract(epoch from '2026-06-27 08:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407977 -2.999632)'), GeomFromEWKT('SRID=4674;POINT (-39.407968 -2.999758)'))) / (select extract(epoch from '2026-06-27 08:23:03'::timestamp) - extract(epoch from '2026-06-27 08:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407945 -2.999887)', '2026-06-27 08:23:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407968 -2.999758)'), GeomFromEWKT('SRID=4674;POINT (-39.407945 -2.999887)'))) / (select extract(epoch from '2026-06-27 08:23:10'::timestamp) - extract(epoch from '2026-06-27 08:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407968 -2.999758)'), GeomFromEWKT('SRID=4674;POINT (-39.407945 -2.999887)'))) / (select extract(epoch from '2026-06-27 08:23:10'::timestamp) - extract(epoch from '2026-06-27 08:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407921 -3.000024)', '2026-06-27 08:23:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407945 -2.999887)'), GeomFromEWKT('SRID=4674;POINT (-39.407921 -3.000024)'))) / (select extract(epoch from '2026-06-27 08:23:18'::timestamp) - extract(epoch from '2026-06-27 08:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407945 -2.999887)'), GeomFromEWKT('SRID=4674;POINT (-39.407921 -3.000024)'))) / (select extract(epoch from '2026-06-27 08:23:18'::timestamp) - extract(epoch from '2026-06-27 08:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407893 -3.000152)', '2026-06-27 08:23:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407921 -3.000024)'), GeomFromEWKT('SRID=4674;POINT (-39.407893 -3.000152)'))) / (select extract(epoch from '2026-06-27 08:23:25'::timestamp) - extract(epoch from '2026-06-27 08:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407921 -3.000024)'), GeomFromEWKT('SRID=4674;POINT (-39.407893 -3.000152)'))) / (select extract(epoch from '2026-06-27 08:23:25'::timestamp) - extract(epoch from '2026-06-27 08:23:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407875 -3.000268)', '2026-06-27 08:23:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407893 -3.000152)'), GeomFromEWKT('SRID=4674;POINT (-39.407875 -3.000268)'))) / (select extract(epoch from '2026-06-27 08:23:31'::timestamp) - extract(epoch from '2026-06-27 08:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407893 -3.000152)'), GeomFromEWKT('SRID=4674;POINT (-39.407875 -3.000268)'))) / (select extract(epoch from '2026-06-27 08:23:31'::timestamp) - extract(epoch from '2026-06-27 08:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407863 -3.000355)', '2026-06-27 08:23:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407875 -3.000268)'), GeomFromEWKT('SRID=4674;POINT (-39.407863 -3.000355)'))) / (select extract(epoch from '2026-06-27 08:23:36'::timestamp) - extract(epoch from '2026-06-27 08:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407875 -3.000268)'), GeomFromEWKT('SRID=4674;POINT (-39.407863 -3.000355)'))) / (select extract(epoch from '2026-06-27 08:23:36'::timestamp) - extract(epoch from '2026-06-27 08:23:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40785 -3.000454)', '2026-06-27 08:23:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407863 -3.000355)'), GeomFromEWKT('SRID=4674;POINT (-39.40785 -3.000454)'))) / (select extract(epoch from '2026-06-27 08:23:42'::timestamp) - extract(epoch from '2026-06-27 08:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407863 -3.000355)'), GeomFromEWKT('SRID=4674;POINT (-39.40785 -3.000454)'))) / (select extract(epoch from '2026-06-27 08:23:42'::timestamp) - extract(epoch from '2026-06-27 08:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407833 -3.000533)', '2026-06-27 08:23:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40785 -3.000454)'), GeomFromEWKT('SRID=4674;POINT (-39.407833 -3.000533)'))) / (select extract(epoch from '2026-06-27 08:23:47'::timestamp) - extract(epoch from '2026-06-27 08:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40785 -3.000454)'), GeomFromEWKT('SRID=4674;POINT (-39.407833 -3.000533)'))) / (select extract(epoch from '2026-06-27 08:23:47'::timestamp) - extract(epoch from '2026-06-27 08:23:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407796 -3.000638)', '2026-06-27 08:23:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407833 -3.000533)'), GeomFromEWKT('SRID=4674;POINT (-39.407796 -3.000638)'))) / (select extract(epoch from '2026-06-27 08:23:53'::timestamp) - extract(epoch from '2026-06-27 08:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407833 -3.000533)'), GeomFromEWKT('SRID=4674;POINT (-39.407796 -3.000638)'))) / (select extract(epoch from '2026-06-27 08:23:53'::timestamp) - extract(epoch from '2026-06-27 08:23:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407752 -3.000732)', '2026-06-27 08:23:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407796 -3.000638)'), GeomFromEWKT('SRID=4674;POINT (-39.407752 -3.000732)'))) / (select extract(epoch from '2026-06-27 08:23:59'::timestamp) - extract(epoch from '2026-06-27 08:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407796 -3.000638)'), GeomFromEWKT('SRID=4674;POINT (-39.407752 -3.000732)'))) / (select extract(epoch from '2026-06-27 08:23:59'::timestamp) - extract(epoch from '2026-06-27 08:23:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407724 -3.000822)', '2026-06-27 08:24:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407752 -3.000732)'), GeomFromEWKT('SRID=4674;POINT (-39.407724 -3.000822)'))) / (select extract(epoch from '2026-06-27 08:24:04'::timestamp) - extract(epoch from '2026-06-27 08:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407752 -3.000732)'), GeomFromEWKT('SRID=4674;POINT (-39.407724 -3.000822)'))) / (select extract(epoch from '2026-06-27 08:24:04'::timestamp) - extract(epoch from '2026-06-27 08:23:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407723 -3.000836)', '2026-06-27 08:24:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407724 -3.000822)'), GeomFromEWKT('SRID=4674;POINT (-39.407723 -3.000836)'))) / (select extract(epoch from '2026-06-27 08:24:05'::timestamp) - extract(epoch from '2026-06-27 08:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407724 -3.000822)'), GeomFromEWKT('SRID=4674;POINT (-39.407723 -3.000836)'))) / (select extract(epoch from '2026-06-27 08:24:05'::timestamp) - extract(epoch from '2026-06-27 08:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40772 -3.000851)', '2026-06-27 08:24:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407723 -3.000836)'), GeomFromEWKT('SRID=4674;POINT (-39.40772 -3.000851)'))) / (select extract(epoch from '2026-06-27 08:24:06'::timestamp) - extract(epoch from '2026-06-27 08:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407723 -3.000836)'), GeomFromEWKT('SRID=4674;POINT (-39.40772 -3.000851)'))) / (select extract(epoch from '2026-06-27 08:24:06'::timestamp) - extract(epoch from '2026-06-27 08:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407703 -3.000917)', '2026-06-27 08:24:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40772 -3.000851)'), GeomFromEWKT('SRID=4674;POINT (-39.407703 -3.000917)'))) / (select extract(epoch from '2026-06-27 08:24:10'::timestamp) - extract(epoch from '2026-06-27 08:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40772 -3.000851)'), GeomFromEWKT('SRID=4674;POINT (-39.407703 -3.000917)'))) / (select extract(epoch from '2026-06-27 08:24:10'::timestamp) - extract(epoch from '2026-06-27 08:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407676 -3.001042)', '2026-06-27 08:24:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407703 -3.000917)'), GeomFromEWKT('SRID=4674;POINT (-39.407676 -3.001042)'))) / (select extract(epoch from '2026-06-27 08:24:17'::timestamp) - extract(epoch from '2026-06-27 08:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407703 -3.000917)'), GeomFromEWKT('SRID=4674;POINT (-39.407676 -3.001042)'))) / (select extract(epoch from '2026-06-27 08:24:17'::timestamp) - extract(epoch from '2026-06-27 08:24:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407646 -3.001137)', '2026-06-27 08:24:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407676 -3.001042)'), GeomFromEWKT('SRID=4674;POINT (-39.407646 -3.001137)'))) / (select extract(epoch from '2026-06-27 08:24:23'::timestamp) - extract(epoch from '2026-06-27 08:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407676 -3.001042)'), GeomFromEWKT('SRID=4674;POINT (-39.407646 -3.001137)'))) / (select extract(epoch from '2026-06-27 08:24:23'::timestamp) - extract(epoch from '2026-06-27 08:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407645 -3.001152)', '2026-06-27 08:24:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407646 -3.001137)'), GeomFromEWKT('SRID=4674;POINT (-39.407645 -3.001152)'))) / (select extract(epoch from '2026-06-27 08:24:24'::timestamp) - extract(epoch from '2026-06-27 08:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407646 -3.001137)'), GeomFromEWKT('SRID=4674;POINT (-39.407645 -3.001152)'))) / (select extract(epoch from '2026-06-27 08:24:24'::timestamp) - extract(epoch from '2026-06-27 08:24:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407645 -3.001229)', '2026-06-27 08:24:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407645 -3.001152)'), GeomFromEWKT('SRID=4674;POINT (-39.407645 -3.001229)'))) / (select extract(epoch from '2026-06-27 08:24:28'::timestamp) - extract(epoch from '2026-06-27 08:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407645 -3.001152)'), GeomFromEWKT('SRID=4674;POINT (-39.407645 -3.001229)'))) / (select extract(epoch from '2026-06-27 08:24:28'::timestamp) - extract(epoch from '2026-06-27 08:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40763 -3.00132)', '2026-06-27 08:24:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407645 -3.001229)'), GeomFromEWKT('SRID=4674;POINT (-39.40763 -3.00132)'))) / (select extract(epoch from '2026-06-27 08:24:34'::timestamp) - extract(epoch from '2026-06-27 08:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407645 -3.001229)'), GeomFromEWKT('SRID=4674;POINT (-39.40763 -3.00132)'))) / (select extract(epoch from '2026-06-27 08:24:34'::timestamp) - extract(epoch from '2026-06-27 08:24:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407615 -3.001431)', '2026-06-27 08:24:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40763 -3.00132)'), GeomFromEWKT('SRID=4674;POINT (-39.407615 -3.001431)'))) / (select extract(epoch from '2026-06-27 08:24:40'::timestamp) - extract(epoch from '2026-06-27 08:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40763 -3.00132)'), GeomFromEWKT('SRID=4674;POINT (-39.407615 -3.001431)'))) / (select extract(epoch from '2026-06-27 08:24:40'::timestamp) - extract(epoch from '2026-06-27 08:24:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407577 -3.001548)', '2026-06-27 08:24:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407615 -3.001431)'), GeomFromEWKT('SRID=4674;POINT (-39.407577 -3.001548)'))) / (select extract(epoch from '2026-06-27 08:24:47'::timestamp) - extract(epoch from '2026-06-27 08:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407615 -3.001431)'), GeomFromEWKT('SRID=4674;POINT (-39.407577 -3.001548)'))) / (select extract(epoch from '2026-06-27 08:24:47'::timestamp) - extract(epoch from '2026-06-27 08:24:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407546 -3.001647)', '2026-06-27 08:24:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407577 -3.001548)'), GeomFromEWKT('SRID=4674;POINT (-39.407546 -3.001647)'))) / (select extract(epoch from '2026-06-27 08:24:53'::timestamp) - extract(epoch from '2026-06-27 08:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407577 -3.001548)'), GeomFromEWKT('SRID=4674;POINT (-39.407546 -3.001647)'))) / (select extract(epoch from '2026-06-27 08:24:53'::timestamp) - extract(epoch from '2026-06-27 08:24:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407536 -3.001751)', '2026-06-27 08:24:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407546 -3.001647)'), GeomFromEWKT('SRID=4674;POINT (-39.407536 -3.001751)'))) / (select extract(epoch from '2026-06-27 08:24:59'::timestamp) - extract(epoch from '2026-06-27 08:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407546 -3.001647)'), GeomFromEWKT('SRID=4674;POINT (-39.407536 -3.001751)'))) / (select extract(epoch from '2026-06-27 08:24:59'::timestamp) - extract(epoch from '2026-06-27 08:24:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407511 -3.001829)', '2026-06-27 08:25:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407536 -3.001751)'), GeomFromEWKT('SRID=4674;POINT (-39.407511 -3.001829)'))) / (select extract(epoch from '2026-06-27 08:25:04'::timestamp) - extract(epoch from '2026-06-27 08:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407536 -3.001751)'), GeomFromEWKT('SRID=4674;POINT (-39.407511 -3.001829)'))) / (select extract(epoch from '2026-06-27 08:25:04'::timestamp) - extract(epoch from '2026-06-27 08:24:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407488 -3.001945)', '2026-06-27 08:25:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407511 -3.001829)'), GeomFromEWKT('SRID=4674;POINT (-39.407488 -3.001945)'))) / (select extract(epoch from '2026-06-27 08:25:11'::timestamp) - extract(epoch from '2026-06-27 08:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407511 -3.001829)'), GeomFromEWKT('SRID=4674;POINT (-39.407488 -3.001945)'))) / (select extract(epoch from '2026-06-27 08:25:11'::timestamp) - extract(epoch from '2026-06-27 08:25:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407461 -3.002054)', '2026-06-27 08:25:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407488 -3.001945)'), GeomFromEWKT('SRID=4674;POINT (-39.407461 -3.002054)'))) / (select extract(epoch from '2026-06-27 08:25:18'::timestamp) - extract(epoch from '2026-06-27 08:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407488 -3.001945)'), GeomFromEWKT('SRID=4674;POINT (-39.407461 -3.002054)'))) / (select extract(epoch from '2026-06-27 08:25:18'::timestamp) - extract(epoch from '2026-06-27 08:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407439 -3.002139)', '2026-06-27 08:25:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407461 -3.002054)'), GeomFromEWKT('SRID=4674;POINT (-39.407439 -3.002139)'))) / (select extract(epoch from '2026-06-27 08:25:24'::timestamp) - extract(epoch from '2026-06-27 08:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407461 -3.002054)'), GeomFromEWKT('SRID=4674;POINT (-39.407439 -3.002139)'))) / (select extract(epoch from '2026-06-27 08:25:24'::timestamp) - extract(epoch from '2026-06-27 08:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407421 -3.00225)', '2026-06-27 08:25:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407439 -3.002139)'), GeomFromEWKT('SRID=4674;POINT (-39.407421 -3.00225)'))) / (select extract(epoch from '2026-06-27 08:25:30'::timestamp) - extract(epoch from '2026-06-27 08:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407439 -3.002139)'), GeomFromEWKT('SRID=4674;POINT (-39.407421 -3.00225)'))) / (select extract(epoch from '2026-06-27 08:25:30'::timestamp) - extract(epoch from '2026-06-27 08:25:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407408 -3.002372)', '2026-06-27 08:25:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407421 -3.00225)'), GeomFromEWKT('SRID=4674;POINT (-39.407408 -3.002372)'))) / (select extract(epoch from '2026-06-27 08:25:37'::timestamp) - extract(epoch from '2026-06-27 08:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407421 -3.00225)'), GeomFromEWKT('SRID=4674;POINT (-39.407408 -3.002372)'))) / (select extract(epoch from '2026-06-27 08:25:37'::timestamp) - extract(epoch from '2026-06-27 08:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407406 -3.002498)', '2026-06-27 08:25:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407408 -3.002372)'), GeomFromEWKT('SRID=4674;POINT (-39.407406 -3.002498)'))) / (select extract(epoch from '2026-06-27 08:25:44'::timestamp) - extract(epoch from '2026-06-27 08:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407408 -3.002372)'), GeomFromEWKT('SRID=4674;POINT (-39.407406 -3.002498)'))) / (select extract(epoch from '2026-06-27 08:25:44'::timestamp) - extract(epoch from '2026-06-27 08:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407395 -3.002578)', '2026-06-27 08:25:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407406 -3.002498)'), GeomFromEWKT('SRID=4674;POINT (-39.407395 -3.002578)'))) / (select extract(epoch from '2026-06-27 08:25:49'::timestamp) - extract(epoch from '2026-06-27 08:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407406 -3.002498)'), GeomFromEWKT('SRID=4674;POINT (-39.407395 -3.002578)'))) / (select extract(epoch from '2026-06-27 08:25:49'::timestamp) - extract(epoch from '2026-06-27 08:25:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407377 -3.002685)', '2026-06-27 08:25:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407395 -3.002578)'), GeomFromEWKT('SRID=4674;POINT (-39.407377 -3.002685)'))) / (select extract(epoch from '2026-06-27 08:25:55'::timestamp) - extract(epoch from '2026-06-27 08:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407395 -3.002578)'), GeomFromEWKT('SRID=4674;POINT (-39.407377 -3.002685)'))) / (select extract(epoch from '2026-06-27 08:25:55'::timestamp) - extract(epoch from '2026-06-27 08:25:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407375 -3.00278)', '2026-06-27 08:26:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407377 -3.002685)'), GeomFromEWKT('SRID=4674;POINT (-39.407375 -3.00278)'))) / (select extract(epoch from '2026-06-27 08:26:00'::timestamp) - extract(epoch from '2026-06-27 08:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407377 -3.002685)'), GeomFromEWKT('SRID=4674;POINT (-39.407375 -3.00278)'))) / (select extract(epoch from '2026-06-27 08:26:00'::timestamp) - extract(epoch from '2026-06-27 08:25:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407365 -3.002912)', '2026-06-27 08:26:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407375 -3.00278)'), GeomFromEWKT('SRID=4674;POINT (-39.407365 -3.002912)'))) / (select extract(epoch from '2026-06-27 08:26:07'::timestamp) - extract(epoch from '2026-06-27 08:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407375 -3.00278)'), GeomFromEWKT('SRID=4674;POINT (-39.407365 -3.002912)'))) / (select extract(epoch from '2026-06-27 08:26:07'::timestamp) - extract(epoch from '2026-06-27 08:26:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407356 -3.003016)', '2026-06-27 08:26:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407365 -3.002912)'), GeomFromEWKT('SRID=4674;POINT (-39.407356 -3.003016)'))) / (select extract(epoch from '2026-06-27 08:26:13'::timestamp) - extract(epoch from '2026-06-27 08:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407365 -3.002912)'), GeomFromEWKT('SRID=4674;POINT (-39.407356 -3.003016)'))) / (select extract(epoch from '2026-06-27 08:26:13'::timestamp) - extract(epoch from '2026-06-27 08:26:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407356 -3.003099)', '2026-06-27 08:26:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407356 -3.003016)'), GeomFromEWKT('SRID=4674;POINT (-39.407356 -3.003099)'))) / (select extract(epoch from '2026-06-27 08:26:18'::timestamp) - extract(epoch from '2026-06-27 08:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407356 -3.003016)'), GeomFromEWKT('SRID=4674;POINT (-39.407356 -3.003099)'))) / (select extract(epoch from '2026-06-27 08:26:18'::timestamp) - extract(epoch from '2026-06-27 08:26:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407357 -3.003204)', '2026-06-27 08:26:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407356 -3.003099)'), GeomFromEWKT('SRID=4674;POINT (-39.407357 -3.003204)'))) / (select extract(epoch from '2026-06-27 08:26:24'::timestamp) - extract(epoch from '2026-06-27 08:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407356 -3.003099)'), GeomFromEWKT('SRID=4674;POINT (-39.407357 -3.003204)'))) / (select extract(epoch from '2026-06-27 08:26:24'::timestamp) - extract(epoch from '2026-06-27 08:26:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407359 -3.003368)', '2026-06-27 08:26:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407357 -3.003204)'), GeomFromEWKT('SRID=4674;POINT (-39.407359 -3.003368)'))) / (select extract(epoch from '2026-06-27 08:26:32'::timestamp) - extract(epoch from '2026-06-27 08:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407357 -3.003204)'), GeomFromEWKT('SRID=4674;POINT (-39.407359 -3.003368)'))) / (select extract(epoch from '2026-06-27 08:26:32'::timestamp) - extract(epoch from '2026-06-27 08:26:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407346 -3.00349)', '2026-06-27 08:26:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407359 -3.003368)'), GeomFromEWKT('SRID=4674;POINT (-39.407346 -3.00349)'))) / (select extract(epoch from '2026-06-27 08:26:39'::timestamp) - extract(epoch from '2026-06-27 08:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407359 -3.003368)'), GeomFromEWKT('SRID=4674;POINT (-39.407346 -3.00349)'))) / (select extract(epoch from '2026-06-27 08:26:39'::timestamp) - extract(epoch from '2026-06-27 08:26:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407337 -3.003592)', '2026-06-27 08:26:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407346 -3.00349)'), GeomFromEWKT('SRID=4674;POINT (-39.407337 -3.003592)'))) / (select extract(epoch from '2026-06-27 08:26:45'::timestamp) - extract(epoch from '2026-06-27 08:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407346 -3.00349)'), GeomFromEWKT('SRID=4674;POINT (-39.407337 -3.003592)'))) / (select extract(epoch from '2026-06-27 08:26:45'::timestamp) - extract(epoch from '2026-06-27 08:26:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407334 -3.003695)', '2026-06-27 08:26:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407337 -3.003592)'), GeomFromEWKT('SRID=4674;POINT (-39.407334 -3.003695)'))) / (select extract(epoch from '2026-06-27 08:26:51'::timestamp) - extract(epoch from '2026-06-27 08:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407337 -3.003592)'), GeomFromEWKT('SRID=4674;POINT (-39.407334 -3.003695)'))) / (select extract(epoch from '2026-06-27 08:26:51'::timestamp) - extract(epoch from '2026-06-27 08:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407338 -3.003796)', '2026-06-27 08:26:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407334 -3.003695)'), GeomFromEWKT('SRID=4674;POINT (-39.407338 -3.003796)'))) / (select extract(epoch from '2026-06-27 08:26:57'::timestamp) - extract(epoch from '2026-06-27 08:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407334 -3.003695)'), GeomFromEWKT('SRID=4674;POINT (-39.407338 -3.003796)'))) / (select extract(epoch from '2026-06-27 08:26:57'::timestamp) - extract(epoch from '2026-06-27 08:26:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407336 -3.003909)', '2026-06-27 08:27:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407338 -3.003796)'), GeomFromEWKT('SRID=4674;POINT (-39.407336 -3.003909)'))) / (select extract(epoch from '2026-06-27 08:27:04'::timestamp) - extract(epoch from '2026-06-27 08:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407338 -3.003796)'), GeomFromEWKT('SRID=4674;POINT (-39.407336 -3.003909)'))) / (select extract(epoch from '2026-06-27 08:27:04'::timestamp) - extract(epoch from '2026-06-27 08:26:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407335 -3.004019)', '2026-06-27 08:27:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407336 -3.003909)'), GeomFromEWKT('SRID=4674;POINT (-39.407335 -3.004019)'))) / (select extract(epoch from '2026-06-27 08:27:11'::timestamp) - extract(epoch from '2026-06-27 08:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407336 -3.003909)'), GeomFromEWKT('SRID=4674;POINT (-39.407335 -3.004019)'))) / (select extract(epoch from '2026-06-27 08:27:11'::timestamp) - extract(epoch from '2026-06-27 08:27:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407361 -3.004146)', '2026-06-27 08:27:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407335 -3.004019)'), GeomFromEWKT('SRID=4674;POINT (-39.407361 -3.004146)'))) / (select extract(epoch from '2026-06-27 08:27:18'::timestamp) - extract(epoch from '2026-06-27 08:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407335 -3.004019)'), GeomFromEWKT('SRID=4674;POINT (-39.407361 -3.004146)'))) / (select extract(epoch from '2026-06-27 08:27:18'::timestamp) - extract(epoch from '2026-06-27 08:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407371 -3.004209)', '2026-06-27 08:27:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407361 -3.004146)'), GeomFromEWKT('SRID=4674;POINT (-39.407371 -3.004209)'))) / (select extract(epoch from '2026-06-27 08:27:22'::timestamp) - extract(epoch from '2026-06-27 08:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407361 -3.004146)'), GeomFromEWKT('SRID=4674;POINT (-39.407371 -3.004209)'))) / (select extract(epoch from '2026-06-27 08:27:22'::timestamp) - extract(epoch from '2026-06-27 08:27:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407378 -3.004231)', '2026-06-27 08:27:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407371 -3.004209)'), GeomFromEWKT('SRID=4674;POINT (-39.407378 -3.004231)'))) / (select extract(epoch from '2026-06-27 08:27:23'::timestamp) - extract(epoch from '2026-06-27 08:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407371 -3.004209)'), GeomFromEWKT('SRID=4674;POINT (-39.407378 -3.004231)'))) / (select extract(epoch from '2026-06-27 08:27:23'::timestamp) - extract(epoch from '2026-06-27 08:27:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407396 -3.004326)', '2026-06-27 08:27:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407378 -3.004231)'), GeomFromEWKT('SRID=4674;POINT (-39.407396 -3.004326)'))) / (select extract(epoch from '2026-06-27 08:27:28'::timestamp) - extract(epoch from '2026-06-27 08:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407378 -3.004231)'), GeomFromEWKT('SRID=4674;POINT (-39.407396 -3.004326)'))) / (select extract(epoch from '2026-06-27 08:27:28'::timestamp) - extract(epoch from '2026-06-27 08:27:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407399 -3.004344)', '2026-06-27 08:27:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407396 -3.004326)'), GeomFromEWKT('SRID=4674;POINT (-39.407399 -3.004344)'))) / (select extract(epoch from '2026-06-27 08:27:29'::timestamp) - extract(epoch from '2026-06-27 08:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407396 -3.004326)'), GeomFromEWKT('SRID=4674;POINT (-39.407399 -3.004344)'))) / (select extract(epoch from '2026-06-27 08:27:29'::timestamp) - extract(epoch from '2026-06-27 08:27:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407397 -3.004375)', '2026-06-27 08:27:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407399 -3.004344)'), GeomFromEWKT('SRID=4674;POINT (-39.407397 -3.004375)'))) / (select extract(epoch from '2026-06-27 08:27:31'::timestamp) - extract(epoch from '2026-06-27 08:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407399 -3.004344)'), GeomFromEWKT('SRID=4674;POINT (-39.407397 -3.004375)'))) / (select extract(epoch from '2026-06-27 08:27:31'::timestamp) - extract(epoch from '2026-06-27 08:27:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407401 -3.004393)', '2026-06-27 08:27:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407397 -3.004375)'), GeomFromEWKT('SRID=4674;POINT (-39.407401 -3.004393)'))) / (select extract(epoch from '2026-06-27 08:27:32'::timestamp) - extract(epoch from '2026-06-27 08:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407397 -3.004375)'), GeomFromEWKT('SRID=4674;POINT (-39.407401 -3.004393)'))) / (select extract(epoch from '2026-06-27 08:27:32'::timestamp) - extract(epoch from '2026-06-27 08:27:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407423 -3.004473)', '2026-06-27 08:27:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407401 -3.004393)'), GeomFromEWKT('SRID=4674;POINT (-39.407423 -3.004473)'))) / (select extract(epoch from '2026-06-27 08:27:36'::timestamp) - extract(epoch from '2026-06-27 08:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407401 -3.004393)'), GeomFromEWKT('SRID=4674;POINT (-39.407423 -3.004473)'))) / (select extract(epoch from '2026-06-27 08:27:36'::timestamp) - extract(epoch from '2026-06-27 08:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407423 -3.00449)', '2026-06-27 08:27:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407423 -3.004473)'), GeomFromEWKT('SRID=4674;POINT (-39.407423 -3.00449)'))) / (select extract(epoch from '2026-06-27 08:27:37'::timestamp) - extract(epoch from '2026-06-27 08:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407423 -3.004473)'), GeomFromEWKT('SRID=4674;POINT (-39.407423 -3.00449)'))) / (select extract(epoch from '2026-06-27 08:27:37'::timestamp) - extract(epoch from '2026-06-27 08:27:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407444 -3.004595)', '2026-06-27 08:27:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407423 -3.00449)'), GeomFromEWKT('SRID=4674;POINT (-39.407444 -3.004595)'))) / (select extract(epoch from '2026-06-27 08:27:43'::timestamp) - extract(epoch from '2026-06-27 08:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407423 -3.00449)'), GeomFromEWKT('SRID=4674;POINT (-39.407444 -3.004595)'))) / (select extract(epoch from '2026-06-27 08:27:43'::timestamp) - extract(epoch from '2026-06-27 08:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407463 -3.004698)', '2026-06-27 08:27:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407444 -3.004595)'), GeomFromEWKT('SRID=4674;POINT (-39.407463 -3.004698)'))) / (select extract(epoch from '2026-06-27 08:27:49'::timestamp) - extract(epoch from '2026-06-27 08:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407444 -3.004595)'), GeomFromEWKT('SRID=4674;POINT (-39.407463 -3.004698)'))) / (select extract(epoch from '2026-06-27 08:27:49'::timestamp) - extract(epoch from '2026-06-27 08:27:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407497 -3.004835)', '2026-06-27 08:27:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407463 -3.004698)'), GeomFromEWKT('SRID=4674;POINT (-39.407497 -3.004835)'))) / (select extract(epoch from '2026-06-27 08:27:57'::timestamp) - extract(epoch from '2026-06-27 08:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407463 -3.004698)'), GeomFromEWKT('SRID=4674;POINT (-39.407497 -3.004835)'))) / (select extract(epoch from '2026-06-27 08:27:57'::timestamp) - extract(epoch from '2026-06-27 08:27:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40753 -3.004951)', '2026-06-27 08:28:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407497 -3.004835)'), GeomFromEWKT('SRID=4674;POINT (-39.40753 -3.004951)'))) / (select extract(epoch from '2026-06-27 08:28:03'::timestamp) - extract(epoch from '2026-06-27 08:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407497 -3.004835)'), GeomFromEWKT('SRID=4674;POINT (-39.40753 -3.004951)'))) / (select extract(epoch from '2026-06-27 08:28:03'::timestamp) - extract(epoch from '2026-06-27 08:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407539 -3.005036)', '2026-06-27 08:28:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40753 -3.004951)'), GeomFromEWKT('SRID=4674;POINT (-39.407539 -3.005036)'))) / (select extract(epoch from '2026-06-27 08:28:08'::timestamp) - extract(epoch from '2026-06-27 08:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40753 -3.004951)'), GeomFromEWKT('SRID=4674;POINT (-39.407539 -3.005036)'))) / (select extract(epoch from '2026-06-27 08:28:08'::timestamp) - extract(epoch from '2026-06-27 08:28:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407567 -3.005144)', '2026-06-27 08:28:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407539 -3.005036)'), GeomFromEWKT('SRID=4674;POINT (-39.407567 -3.005144)'))) / (select extract(epoch from '2026-06-27 08:28:14'::timestamp) - extract(epoch from '2026-06-27 08:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407539 -3.005036)'), GeomFromEWKT('SRID=4674;POINT (-39.407567 -3.005144)'))) / (select extract(epoch from '2026-06-27 08:28:14'::timestamp) - extract(epoch from '2026-06-27 08:28:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407597 -3.005272)', '2026-06-27 08:28:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407567 -3.005144)'), GeomFromEWKT('SRID=4674;POINT (-39.407597 -3.005272)'))) / (select extract(epoch from '2026-06-27 08:28:21'::timestamp) - extract(epoch from '2026-06-27 08:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407567 -3.005144)'), GeomFromEWKT('SRID=4674;POINT (-39.407597 -3.005272)'))) / (select extract(epoch from '2026-06-27 08:28:21'::timestamp) - extract(epoch from '2026-06-27 08:28:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.4076 -3.005303)', '2026-06-27 08:28:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407597 -3.005272)'), GeomFromEWKT('SRID=4674;POINT (-39.4076 -3.005303)'))) / (select extract(epoch from '2026-06-27 08:28:23'::timestamp) - extract(epoch from '2026-06-27 08:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407597 -3.005272)'), GeomFromEWKT('SRID=4674;POINT (-39.4076 -3.005303)'))) / (select extract(epoch from '2026-06-27 08:28:23'::timestamp) - extract(epoch from '2026-06-27 08:28:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.4076 -3.005335)', '2026-06-27 08:28:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4076 -3.005303)'), GeomFromEWKT('SRID=4674;POINT (-39.4076 -3.005335)'))) / (select extract(epoch from '2026-06-27 08:28:25'::timestamp) - extract(epoch from '2026-06-27 08:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4076 -3.005303)'), GeomFromEWKT('SRID=4674;POINT (-39.4076 -3.005335)'))) / (select extract(epoch from '2026-06-27 08:28:25'::timestamp) - extract(epoch from '2026-06-27 08:28:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407629 -3.005447)', '2026-06-27 08:28:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4076 -3.005335)'), GeomFromEWKT('SRID=4674;POINT (-39.407629 -3.005447)'))) / (select extract(epoch from '2026-06-27 08:28:31'::timestamp) - extract(epoch from '2026-06-27 08:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4076 -3.005335)'), GeomFromEWKT('SRID=4674;POINT (-39.407629 -3.005447)'))) / (select extract(epoch from '2026-06-27 08:28:31'::timestamp) - extract(epoch from '2026-06-27 08:28:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407658 -3.005548)', '2026-06-27 08:28:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407629 -3.005447)'), GeomFromEWKT('SRID=4674;POINT (-39.407658 -3.005548)'))) / (select extract(epoch from '2026-06-27 08:28:37'::timestamp) - extract(epoch from '2026-06-27 08:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407629 -3.005447)'), GeomFromEWKT('SRID=4674;POINT (-39.407658 -3.005548)'))) / (select extract(epoch from '2026-06-27 08:28:37'::timestamp) - extract(epoch from '2026-06-27 08:28:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407693 -3.005684)', '2026-06-27 08:28:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407658 -3.005548)'), GeomFromEWKT('SRID=4674;POINT (-39.407693 -3.005684)'))) / (select extract(epoch from '2026-06-27 08:28:44'::timestamp) - extract(epoch from '2026-06-27 08:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407658 -3.005548)'), GeomFromEWKT('SRID=4674;POINT (-39.407693 -3.005684)'))) / (select extract(epoch from '2026-06-27 08:28:44'::timestamp) - extract(epoch from '2026-06-27 08:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407726 -3.005792)', '2026-06-27 08:28:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407693 -3.005684)'), GeomFromEWKT('SRID=4674;POINT (-39.407726 -3.005792)'))) / (select extract(epoch from '2026-06-27 08:28:50'::timestamp) - extract(epoch from '2026-06-27 08:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407693 -3.005684)'), GeomFromEWKT('SRID=4674;POINT (-39.407726 -3.005792)'))) / (select extract(epoch from '2026-06-27 08:28:50'::timestamp) - extract(epoch from '2026-06-27 08:28:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407747 -3.005879)', '2026-06-27 08:28:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407726 -3.005792)'), GeomFromEWKT('SRID=4674;POINT (-39.407747 -3.005879)'))) / (select extract(epoch from '2026-06-27 08:28:55'::timestamp) - extract(epoch from '2026-06-27 08:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407726 -3.005792)'), GeomFromEWKT('SRID=4674;POINT (-39.407747 -3.005879)'))) / (select extract(epoch from '2026-06-27 08:28:55'::timestamp) - extract(epoch from '2026-06-27 08:28:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407769 -3.005971)', '2026-06-27 08:29:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407747 -3.005879)'), GeomFromEWKT('SRID=4674;POINT (-39.407769 -3.005971)'))) / (select extract(epoch from '2026-06-27 08:29:01'::timestamp) - extract(epoch from '2026-06-27 08:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407747 -3.005879)'), GeomFromEWKT('SRID=4674;POINT (-39.407769 -3.005971)'))) / (select extract(epoch from '2026-06-27 08:29:01'::timestamp) - extract(epoch from '2026-06-27 08:28:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407777 -3.00609)', '2026-06-27 08:29:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407769 -3.005971)'), GeomFromEWKT('SRID=4674;POINT (-39.407777 -3.00609)'))) / (select extract(epoch from '2026-06-27 08:29:08'::timestamp) - extract(epoch from '2026-06-27 08:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407769 -3.005971)'), GeomFromEWKT('SRID=4674;POINT (-39.407777 -3.00609)'))) / (select extract(epoch from '2026-06-27 08:29:08'::timestamp) - extract(epoch from '2026-06-27 08:29:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407786 -3.006227)', '2026-06-27 08:29:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407777 -3.00609)'), GeomFromEWKT('SRID=4674;POINT (-39.407786 -3.006227)'))) / (select extract(epoch from '2026-06-27 08:29:15'::timestamp) - extract(epoch from '2026-06-27 08:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407777 -3.00609)'), GeomFromEWKT('SRID=4674;POINT (-39.407786 -3.006227)'))) / (select extract(epoch from '2026-06-27 08:29:15'::timestamp) - extract(epoch from '2026-06-27 08:29:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407787 -3.006359)', '2026-06-27 08:29:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407786 -3.006227)'), GeomFromEWKT('SRID=4674;POINT (-39.407787 -3.006359)'))) / (select extract(epoch from '2026-06-27 08:29:22'::timestamp) - extract(epoch from '2026-06-27 08:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407786 -3.006227)'), GeomFromEWKT('SRID=4674;POINT (-39.407787 -3.006359)'))) / (select extract(epoch from '2026-06-27 08:29:22'::timestamp) - extract(epoch from '2026-06-27 08:29:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407776 -3.006455)', '2026-06-27 08:29:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407787 -3.006359)'), GeomFromEWKT('SRID=4674;POINT (-39.407776 -3.006455)'))) / (select extract(epoch from '2026-06-27 08:29:27'::timestamp) - extract(epoch from '2026-06-27 08:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407787 -3.006359)'), GeomFromEWKT('SRID=4674;POINT (-39.407776 -3.006455)'))) / (select extract(epoch from '2026-06-27 08:29:27'::timestamp) - extract(epoch from '2026-06-27 08:29:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407765 -3.006543)', '2026-06-27 08:29:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407776 -3.006455)'), GeomFromEWKT('SRID=4674;POINT (-39.407765 -3.006543)'))) / (select extract(epoch from '2026-06-27 08:29:32'::timestamp) - extract(epoch from '2026-06-27 08:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407776 -3.006455)'), GeomFromEWKT('SRID=4674;POINT (-39.407765 -3.006543)'))) / (select extract(epoch from '2026-06-27 08:29:32'::timestamp) - extract(epoch from '2026-06-27 08:29:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407757 -3.006672)', '2026-06-27 08:29:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407765 -3.006543)'), GeomFromEWKT('SRID=4674;POINT (-39.407757 -3.006672)'))) / (select extract(epoch from '2026-06-27 08:29:39'::timestamp) - extract(epoch from '2026-06-27 08:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407765 -3.006543)'), GeomFromEWKT('SRID=4674;POINT (-39.407757 -3.006672)'))) / (select extract(epoch from '2026-06-27 08:29:39'::timestamp) - extract(epoch from '2026-06-27 08:29:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407742 -3.00678)', '2026-06-27 08:29:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407757 -3.006672)'), GeomFromEWKT('SRID=4674;POINT (-39.407742 -3.00678)'))) / (select extract(epoch from '2026-06-27 08:29:45'::timestamp) - extract(epoch from '2026-06-27 08:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407757 -3.006672)'), GeomFromEWKT('SRID=4674;POINT (-39.407742 -3.00678)'))) / (select extract(epoch from '2026-06-27 08:29:45'::timestamp) - extract(epoch from '2026-06-27 08:29:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407721 -3.006875)', '2026-06-27 08:29:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407742 -3.00678)'), GeomFromEWKT('SRID=4674;POINT (-39.407721 -3.006875)'))) / (select extract(epoch from '2026-06-27 08:29:51'::timestamp) - extract(epoch from '2026-06-27 08:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407742 -3.00678)'), GeomFromEWKT('SRID=4674;POINT (-39.407721 -3.006875)'))) / (select extract(epoch from '2026-06-27 08:29:51'::timestamp) - extract(epoch from '2026-06-27 08:29:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407695 -3.006997)', '2026-06-27 08:29:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407721 -3.006875)'), GeomFromEWKT('SRID=4674;POINT (-39.407695 -3.006997)'))) / (select extract(epoch from '2026-06-27 08:29:58'::timestamp) - extract(epoch from '2026-06-27 08:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407721 -3.006875)'), GeomFromEWKT('SRID=4674;POINT (-39.407695 -3.006997)'))) / (select extract(epoch from '2026-06-27 08:29:58'::timestamp) - extract(epoch from '2026-06-27 08:29:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407675 -3.007126)', '2026-06-27 08:30:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407695 -3.006997)'), GeomFromEWKT('SRID=4674;POINT (-39.407675 -3.007126)'))) / (select extract(epoch from '2026-06-27 08:30:05'::timestamp) - extract(epoch from '2026-06-27 08:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407695 -3.006997)'), GeomFromEWKT('SRID=4674;POINT (-39.407675 -3.007126)'))) / (select extract(epoch from '2026-06-27 08:30:05'::timestamp) - extract(epoch from '2026-06-27 08:29:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407651 -3.007263)', '2026-06-27 08:30:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407675 -3.007126)'), GeomFromEWKT('SRID=4674;POINT (-39.407651 -3.007263)'))) / (select extract(epoch from '2026-06-27 08:30:13'::timestamp) - extract(epoch from '2026-06-27 08:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407675 -3.007126)'), GeomFromEWKT('SRID=4674;POINT (-39.407651 -3.007263)'))) / (select extract(epoch from '2026-06-27 08:30:13'::timestamp) - extract(epoch from '2026-06-27 08:30:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407621 -3.007387)', '2026-06-27 08:30:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407651 -3.007263)'), GeomFromEWKT('SRID=4674;POINT (-39.407621 -3.007387)'))) / (select extract(epoch from '2026-06-27 08:30:20'::timestamp) - extract(epoch from '2026-06-27 08:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407651 -3.007263)'), GeomFromEWKT('SRID=4674;POINT (-39.407621 -3.007387)'))) / (select extract(epoch from '2026-06-27 08:30:20'::timestamp) - extract(epoch from '2026-06-27 08:30:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407592 -3.007522)', '2026-06-27 08:30:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407621 -3.007387)'), GeomFromEWKT('SRID=4674;POINT (-39.407592 -3.007522)'))) / (select extract(epoch from '2026-06-27 08:30:28'::timestamp) - extract(epoch from '2026-06-27 08:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407621 -3.007387)'), GeomFromEWKT('SRID=4674;POINT (-39.407592 -3.007522)'))) / (select extract(epoch from '2026-06-27 08:30:28'::timestamp) - extract(epoch from '2026-06-27 08:30:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407569 -3.007647)', '2026-06-27 08:30:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407592 -3.007522)'), GeomFromEWKT('SRID=4674;POINT (-39.407569 -3.007647)'))) / (select extract(epoch from '2026-06-27 08:30:35'::timestamp) - extract(epoch from '2026-06-27 08:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407592 -3.007522)'), GeomFromEWKT('SRID=4674;POINT (-39.407569 -3.007647)'))) / (select extract(epoch from '2026-06-27 08:30:35'::timestamp) - extract(epoch from '2026-06-27 08:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407563 -3.007785)', '2026-06-27 08:30:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407569 -3.007647)'), GeomFromEWKT('SRID=4674;POINT (-39.407563 -3.007785)'))) / (select extract(epoch from '2026-06-27 08:30:43'::timestamp) - extract(epoch from '2026-06-27 08:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407569 -3.007647)'), GeomFromEWKT('SRID=4674;POINT (-39.407563 -3.007785)'))) / (select extract(epoch from '2026-06-27 08:30:43'::timestamp) - extract(epoch from '2026-06-27 08:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407573 -3.00792)', '2026-06-27 08:30:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407563 -3.007785)'), GeomFromEWKT('SRID=4674;POINT (-39.407573 -3.00792)'))) / (select extract(epoch from '2026-06-27 08:30:51'::timestamp) - extract(epoch from '2026-06-27 08:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407563 -3.007785)'), GeomFromEWKT('SRID=4674;POINT (-39.407573 -3.00792)'))) / (select extract(epoch from '2026-06-27 08:30:51'::timestamp) - extract(epoch from '2026-06-27 08:30:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407568 -3.008051)', '2026-06-27 08:30:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407573 -3.00792)'), GeomFromEWKT('SRID=4674;POINT (-39.407568 -3.008051)'))) / (select extract(epoch from '2026-06-27 08:30:59'::timestamp) - extract(epoch from '2026-06-27 08:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407573 -3.00792)'), GeomFromEWKT('SRID=4674;POINT (-39.407568 -3.008051)'))) / (select extract(epoch from '2026-06-27 08:30:59'::timestamp) - extract(epoch from '2026-06-27 08:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407569 -3.008179)', '2026-06-27 08:31:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407568 -3.008051)'), GeomFromEWKT('SRID=4674;POINT (-39.407569 -3.008179)'))) / (select extract(epoch from '2026-06-27 08:31:06'::timestamp) - extract(epoch from '2026-06-27 08:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407568 -3.008051)'), GeomFromEWKT('SRID=4674;POINT (-39.407569 -3.008179)'))) / (select extract(epoch from '2026-06-27 08:31:06'::timestamp) - extract(epoch from '2026-06-27 08:30:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407574 -3.008291)', '2026-06-27 08:31:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407569 -3.008179)'), GeomFromEWKT('SRID=4674;POINT (-39.407574 -3.008291)'))) / (select extract(epoch from '2026-06-27 08:31:12'::timestamp) - extract(epoch from '2026-06-27 08:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407569 -3.008179)'), GeomFromEWKT('SRID=4674;POINT (-39.407574 -3.008291)'))) / (select extract(epoch from '2026-06-27 08:31:12'::timestamp) - extract(epoch from '2026-06-27 08:31:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407591 -3.008417)', '2026-06-27 08:31:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407574 -3.008291)'), GeomFromEWKT('SRID=4674;POINT (-39.407591 -3.008417)'))) / (select extract(epoch from '2026-06-27 08:31:19'::timestamp) - extract(epoch from '2026-06-27 08:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407574 -3.008291)'), GeomFromEWKT('SRID=4674;POINT (-39.407591 -3.008417)'))) / (select extract(epoch from '2026-06-27 08:31:19'::timestamp) - extract(epoch from '2026-06-27 08:31:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407592 -3.008549)', '2026-06-27 08:31:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407591 -3.008417)'), GeomFromEWKT('SRID=4674;POINT (-39.407592 -3.008549)'))) / (select extract(epoch from '2026-06-27 08:31:26'::timestamp) - extract(epoch from '2026-06-27 08:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407591 -3.008417)'), GeomFromEWKT('SRID=4674;POINT (-39.407592 -3.008549)'))) / (select extract(epoch from '2026-06-27 08:31:26'::timestamp) - extract(epoch from '2026-06-27 08:31:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407585 -3.008695)', '2026-06-27 08:31:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407592 -3.008549)'), GeomFromEWKT('SRID=4674;POINT (-39.407585 -3.008695)'))) / (select extract(epoch from '2026-06-27 08:31:34'::timestamp) - extract(epoch from '2026-06-27 08:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407592 -3.008549)'), GeomFromEWKT('SRID=4674;POINT (-39.407585 -3.008695)'))) / (select extract(epoch from '2026-06-27 08:31:34'::timestamp) - extract(epoch from '2026-06-27 08:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407574 -3.008825)', '2026-06-27 08:31:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407585 -3.008695)'), GeomFromEWKT('SRID=4674;POINT (-39.407574 -3.008825)'))) / (select extract(epoch from '2026-06-27 08:31:41'::timestamp) - extract(epoch from '2026-06-27 08:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407585 -3.008695)'), GeomFromEWKT('SRID=4674;POINT (-39.407574 -3.008825)'))) / (select extract(epoch from '2026-06-27 08:31:41'::timestamp) - extract(epoch from '2026-06-27 08:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407582 -3.008941)', '2026-06-27 08:31:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407574 -3.008825)'), GeomFromEWKT('SRID=4674;POINT (-39.407582 -3.008941)'))) / (select extract(epoch from '2026-06-27 08:31:47'::timestamp) - extract(epoch from '2026-06-27 08:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407574 -3.008825)'), GeomFromEWKT('SRID=4674;POINT (-39.407582 -3.008941)'))) / (select extract(epoch from '2026-06-27 08:31:47'::timestamp) - extract(epoch from '2026-06-27 08:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407587 -3.009035)', '2026-06-27 08:31:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407582 -3.008941)'), GeomFromEWKT('SRID=4674;POINT (-39.407587 -3.009035)'))) / (select extract(epoch from '2026-06-27 08:31:52'::timestamp) - extract(epoch from '2026-06-27 08:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407582 -3.008941)'), GeomFromEWKT('SRID=4674;POINT (-39.407587 -3.009035)'))) / (select extract(epoch from '2026-06-27 08:31:52'::timestamp) - extract(epoch from '2026-06-27 08:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407592 -3.009147)', '2026-06-27 08:31:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407587 -3.009035)'), GeomFromEWKT('SRID=4674;POINT (-39.407592 -3.009147)'))) / (select extract(epoch from '2026-06-27 08:31:58'::timestamp) - extract(epoch from '2026-06-27 08:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407587 -3.009035)'), GeomFromEWKT('SRID=4674;POINT (-39.407592 -3.009147)'))) / (select extract(epoch from '2026-06-27 08:31:58'::timestamp) - extract(epoch from '2026-06-27 08:31:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407608 -3.009309)', '2026-06-27 08:32:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407592 -3.009147)'), GeomFromEWKT('SRID=4674;POINT (-39.407608 -3.009309)'))) / (select extract(epoch from '2026-06-27 08:32:07'::timestamp) - extract(epoch from '2026-06-27 08:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407592 -3.009147)'), GeomFromEWKT('SRID=4674;POINT (-39.407608 -3.009309)'))) / (select extract(epoch from '2026-06-27 08:32:07'::timestamp) - extract(epoch from '2026-06-27 08:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407625 -3.009411)', '2026-06-27 08:32:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407608 -3.009309)'), GeomFromEWKT('SRID=4674;POINT (-39.407625 -3.009411)'))) / (select extract(epoch from '2026-06-27 08:32:13'::timestamp) - extract(epoch from '2026-06-27 08:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407608 -3.009309)'), GeomFromEWKT('SRID=4674;POINT (-39.407625 -3.009411)'))) / (select extract(epoch from '2026-06-27 08:32:13'::timestamp) - extract(epoch from '2026-06-27 08:32:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407645 -3.009528)', '2026-06-27 08:32:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407625 -3.009411)'), GeomFromEWKT('SRID=4674;POINT (-39.407645 -3.009528)'))) / (select extract(epoch from '2026-06-27 08:32:19'::timestamp) - extract(epoch from '2026-06-27 08:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407625 -3.009411)'), GeomFromEWKT('SRID=4674;POINT (-39.407645 -3.009528)'))) / (select extract(epoch from '2026-06-27 08:32:19'::timestamp) - extract(epoch from '2026-06-27 08:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407657 -3.009623)', '2026-06-27 08:32:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407645 -3.009528)'), GeomFromEWKT('SRID=4674;POINT (-39.407657 -3.009623)'))) / (select extract(epoch from '2026-06-27 08:32:25'::timestamp) - extract(epoch from '2026-06-27 08:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407645 -3.009528)'), GeomFromEWKT('SRID=4674;POINT (-39.407657 -3.009623)'))) / (select extract(epoch from '2026-06-27 08:32:25'::timestamp) - extract(epoch from '2026-06-27 08:32:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407669 -3.009753)', '2026-06-27 08:32:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407657 -3.009623)'), GeomFromEWKT('SRID=4674;POINT (-39.407669 -3.009753)'))) / (select extract(epoch from '2026-06-27 08:32:32'::timestamp) - extract(epoch from '2026-06-27 08:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407657 -3.009623)'), GeomFromEWKT('SRID=4674;POINT (-39.407669 -3.009753)'))) / (select extract(epoch from '2026-06-27 08:32:32'::timestamp) - extract(epoch from '2026-06-27 08:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407683 -3.009861)', '2026-06-27 08:32:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407669 -3.009753)'), GeomFromEWKT('SRID=4674;POINT (-39.407683 -3.009861)'))) / (select extract(epoch from '2026-06-27 08:32:38'::timestamp) - extract(epoch from '2026-06-27 08:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407669 -3.009753)'), GeomFromEWKT('SRID=4674;POINT (-39.407683 -3.009861)'))) / (select extract(epoch from '2026-06-27 08:32:38'::timestamp) - extract(epoch from '2026-06-27 08:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407697 -3.009991)', '2026-06-27 08:32:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407683 -3.009861)'), GeomFromEWKT('SRID=4674;POINT (-39.407697 -3.009991)'))) / (select extract(epoch from '2026-06-27 08:32:45'::timestamp) - extract(epoch from '2026-06-27 08:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407683 -3.009861)'), GeomFromEWKT('SRID=4674;POINT (-39.407697 -3.009991)'))) / (select extract(epoch from '2026-06-27 08:32:45'::timestamp) - extract(epoch from '2026-06-27 08:32:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40771 -3.010129)', '2026-06-27 08:32:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407697 -3.009991)'), GeomFromEWKT('SRID=4674;POINT (-39.40771 -3.010129)'))) / (select extract(epoch from '2026-06-27 08:32:53'::timestamp) - extract(epoch from '2026-06-27 08:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407697 -3.009991)'), GeomFromEWKT('SRID=4674;POINT (-39.40771 -3.010129)'))) / (select extract(epoch from '2026-06-27 08:32:53'::timestamp) - extract(epoch from '2026-06-27 08:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407713 -3.010239)', '2026-06-27 08:32:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40771 -3.010129)'), GeomFromEWKT('SRID=4674;POINT (-39.407713 -3.010239)'))) / (select extract(epoch from '2026-06-27 08:32:59'::timestamp) - extract(epoch from '2026-06-27 08:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40771 -3.010129)'), GeomFromEWKT('SRID=4674;POINT (-39.407713 -3.010239)'))) / (select extract(epoch from '2026-06-27 08:32:59'::timestamp) - extract(epoch from '2026-06-27 08:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407724 -3.010351)', '2026-06-27 08:33:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407713 -3.010239)'), GeomFromEWKT('SRID=4674;POINT (-39.407724 -3.010351)'))) / (select extract(epoch from '2026-06-27 08:33:05'::timestamp) - extract(epoch from '2026-06-27 08:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407713 -3.010239)'), GeomFromEWKT('SRID=4674;POINT (-39.407724 -3.010351)'))) / (select extract(epoch from '2026-06-27 08:33:05'::timestamp) - extract(epoch from '2026-06-27 08:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407735 -3.010495)', '2026-06-27 08:33:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407724 -3.010351)'), GeomFromEWKT('SRID=4674;POINT (-39.407735 -3.010495)'))) / (select extract(epoch from '2026-06-27 08:33:13'::timestamp) - extract(epoch from '2026-06-27 08:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407724 -3.010351)'), GeomFromEWKT('SRID=4674;POINT (-39.407735 -3.010495)'))) / (select extract(epoch from '2026-06-27 08:33:13'::timestamp) - extract(epoch from '2026-06-27 08:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407742 -3.01061)', '2026-06-27 08:33:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407735 -3.010495)'), GeomFromEWKT('SRID=4674;POINT (-39.407742 -3.01061)'))) / (select extract(epoch from '2026-06-27 08:33:19'::timestamp) - extract(epoch from '2026-06-27 08:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407735 -3.010495)'), GeomFromEWKT('SRID=4674;POINT (-39.407742 -3.01061)'))) / (select extract(epoch from '2026-06-27 08:33:19'::timestamp) - extract(epoch from '2026-06-27 08:33:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407758 -3.010741)', '2026-06-27 08:33:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407742 -3.01061)'), GeomFromEWKT('SRID=4674;POINT (-39.407758 -3.010741)'))) / (select extract(epoch from '2026-06-27 08:33:26'::timestamp) - extract(epoch from '2026-06-27 08:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407742 -3.01061)'), GeomFromEWKT('SRID=4674;POINT (-39.407758 -3.010741)'))) / (select extract(epoch from '2026-06-27 08:33:26'::timestamp) - extract(epoch from '2026-06-27 08:33:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407779 -3.010847)', '2026-06-27 08:33:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407758 -3.010741)'), GeomFromEWKT('SRID=4674;POINT (-39.407779 -3.010847)'))) / (select extract(epoch from '2026-06-27 08:33:32'::timestamp) - extract(epoch from '2026-06-27 08:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407758 -3.010741)'), GeomFromEWKT('SRID=4674;POINT (-39.407779 -3.010847)'))) / (select extract(epoch from '2026-06-27 08:33:32'::timestamp) - extract(epoch from '2026-06-27 08:33:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.40779 -3.010985)', '2026-06-27 08:33:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407779 -3.010847)'), GeomFromEWKT('SRID=4674;POINT (-39.40779 -3.010985)'))) / (select extract(epoch from '2026-06-27 08:33:39'::timestamp) - extract(epoch from '2026-06-27 08:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407779 -3.010847)'), GeomFromEWKT('SRID=4674;POINT (-39.40779 -3.010985)'))) / (select extract(epoch from '2026-06-27 08:33:39'::timestamp) - extract(epoch from '2026-06-27 08:33:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407793 -3.011087)', '2026-06-27 08:33:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40779 -3.010985)'), GeomFromEWKT('SRID=4674;POINT (-39.407793 -3.011087)'))) / (select extract(epoch from '2026-06-27 08:33:45'::timestamp) - extract(epoch from '2026-06-27 08:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40779 -3.010985)'), GeomFromEWKT('SRID=4674;POINT (-39.407793 -3.011087)'))) / (select extract(epoch from '2026-06-27 08:33:45'::timestamp) - extract(epoch from '2026-06-27 08:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407794 -3.011188)', '2026-06-27 08:33:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407793 -3.011087)'), GeomFromEWKT('SRID=4674;POINT (-39.407794 -3.011188)'))) / (select extract(epoch from '2026-06-27 08:33:50'::timestamp) - extract(epoch from '2026-06-27 08:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407793 -3.011087)'), GeomFromEWKT('SRID=4674;POINT (-39.407794 -3.011188)'))) / (select extract(epoch from '2026-06-27 08:33:50'::timestamp) - extract(epoch from '2026-06-27 08:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407797 -3.011321)', '2026-06-27 08:33:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407794 -3.011188)'), GeomFromEWKT('SRID=4674;POINT (-39.407797 -3.011321)'))) / (select extract(epoch from '2026-06-27 08:33:57'::timestamp) - extract(epoch from '2026-06-27 08:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407794 -3.011188)'), GeomFromEWKT('SRID=4674;POINT (-39.407797 -3.011321)'))) / (select extract(epoch from '2026-06-27 08:33:57'::timestamp) - extract(epoch from '2026-06-27 08:33:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407811 -3.011464)', '2026-06-27 08:34:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407797 -3.011321)'), GeomFromEWKT('SRID=4674;POINT (-39.407811 -3.011464)'))) / (select extract(epoch from '2026-06-27 08:34:04'::timestamp) - extract(epoch from '2026-06-27 08:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407797 -3.011321)'), GeomFromEWKT('SRID=4674;POINT (-39.407811 -3.011464)'))) / (select extract(epoch from '2026-06-27 08:34:04'::timestamp) - extract(epoch from '2026-06-27 08:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407827 -3.011566)', '2026-06-27 08:34:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407811 -3.011464)'), GeomFromEWKT('SRID=4674;POINT (-39.407827 -3.011566)'))) / (select extract(epoch from '2026-06-27 08:34:10'::timestamp) - extract(epoch from '2026-06-27 08:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407811 -3.011464)'), GeomFromEWKT('SRID=4674;POINT (-39.407827 -3.011566)'))) / (select extract(epoch from '2026-06-27 08:34:10'::timestamp) - extract(epoch from '2026-06-27 08:34:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407838 -3.011673)', '2026-06-27 08:34:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407827 -3.011566)'), GeomFromEWKT('SRID=4674;POINT (-39.407838 -3.011673)'))) / (select extract(epoch from '2026-06-27 08:34:16'::timestamp) - extract(epoch from '2026-06-27 08:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407827 -3.011566)'), GeomFromEWKT('SRID=4674;POINT (-39.407838 -3.011673)'))) / (select extract(epoch from '2026-06-27 08:34:16'::timestamp) - extract(epoch from '2026-06-27 08:34:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407849 -3.01177)', '2026-06-27 08:34:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407838 -3.011673)'), GeomFromEWKT('SRID=4674;POINT (-39.407849 -3.01177)'))) / (select extract(epoch from '2026-06-27 08:34:22'::timestamp) - extract(epoch from '2026-06-27 08:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407838 -3.011673)'), GeomFromEWKT('SRID=4674;POINT (-39.407849 -3.01177)'))) / (select extract(epoch from '2026-06-27 08:34:22'::timestamp) - extract(epoch from '2026-06-27 08:34:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407861 -3.011881)', '2026-06-27 08:34:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407849 -3.01177)'), GeomFromEWKT('SRID=4674;POINT (-39.407861 -3.011881)'))) / (select extract(epoch from '2026-06-27 08:34:28'::timestamp) - extract(epoch from '2026-06-27 08:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407849 -3.01177)'), GeomFromEWKT('SRID=4674;POINT (-39.407861 -3.011881)'))) / (select extract(epoch from '2026-06-27 08:34:28'::timestamp) - extract(epoch from '2026-06-27 08:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407878 -3.012024)', '2026-06-27 08:34:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407861 -3.011881)'), GeomFromEWKT('SRID=4674;POINT (-39.407878 -3.012024)'))) / (select extract(epoch from '2026-06-27 08:34:35'::timestamp) - extract(epoch from '2026-06-27 08:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407861 -3.011881)'), GeomFromEWKT('SRID=4674;POINT (-39.407878 -3.012024)'))) / (select extract(epoch from '2026-06-27 08:34:35'::timestamp) - extract(epoch from '2026-06-27 08:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407887 -3.012131)', '2026-06-27 08:34:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407878 -3.012024)'), GeomFromEWKT('SRID=4674;POINT (-39.407887 -3.012131)'))) / (select extract(epoch from '2026-06-27 08:34:41'::timestamp) - extract(epoch from '2026-06-27 08:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407878 -3.012024)'), GeomFromEWKT('SRID=4674;POINT (-39.407887 -3.012131)'))) / (select extract(epoch from '2026-06-27 08:34:41'::timestamp) - extract(epoch from '2026-06-27 08:34:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407895 -3.012265)', '2026-06-27 08:34:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407887 -3.012131)'), GeomFromEWKT('SRID=4674;POINT (-39.407895 -3.012265)'))) / (select extract(epoch from '2026-06-27 08:34:48'::timestamp) - extract(epoch from '2026-06-27 08:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407887 -3.012131)'), GeomFromEWKT('SRID=4674;POINT (-39.407895 -3.012265)'))) / (select extract(epoch from '2026-06-27 08:34:48'::timestamp) - extract(epoch from '2026-06-27 08:34:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407902 -3.012358)', '2026-06-27 08:34:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407895 -3.012265)'), GeomFromEWKT('SRID=4674;POINT (-39.407902 -3.012358)'))) / (select extract(epoch from '2026-06-27 08:34:53'::timestamp) - extract(epoch from '2026-06-27 08:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407895 -3.012265)'), GeomFromEWKT('SRID=4674;POINT (-39.407902 -3.012358)'))) / (select extract(epoch from '2026-06-27 08:34:53'::timestamp) - extract(epoch from '2026-06-27 08:34:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407912 -3.012445)', '2026-06-27 08:34:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407902 -3.012358)'), GeomFromEWKT('SRID=4674;POINT (-39.407912 -3.012445)'))) / (select extract(epoch from '2026-06-27 08:34:58'::timestamp) - extract(epoch from '2026-06-27 08:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407902 -3.012358)'), GeomFromEWKT('SRID=4674;POINT (-39.407912 -3.012445)'))) / (select extract(epoch from '2026-06-27 08:34:58'::timestamp) - extract(epoch from '2026-06-27 08:34:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407922 -3.012556)', '2026-06-27 08:35:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407912 -3.012445)'), GeomFromEWKT('SRID=4674;POINT (-39.407922 -3.012556)'))) / (select extract(epoch from '2026-06-27 08:35:04'::timestamp) - extract(epoch from '2026-06-27 08:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407912 -3.012445)'), GeomFromEWKT('SRID=4674;POINT (-39.407922 -3.012556)'))) / (select extract(epoch from '2026-06-27 08:35:04'::timestamp) - extract(epoch from '2026-06-27 08:34:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46817, 'SRID=4674;POINT (-39.407929 -3.012681)', '2026-06-27 08:35:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407922 -3.012556)'), GeomFromEWKT('SRID=4674;POINT (-39.407929 -3.012681)'))) / (select extract(epoch from '2026-06-27 08:35:11'::timestamp) - extract(epoch from '2026-06-27 08:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407922 -3.012556)'), GeomFromEWKT('SRID=4674;POINT (-39.407929 -3.012681)'))) / (select extract(epoch from '2026-06-27 08:35:11'::timestamp) - extract(epoch from '2026-06-27 08:35:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
