 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.682535 -2.827645)', '2026-06-18 09:40:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682582 -2.827792)'), GeomFromEWKT('SRID=4674;POINT (-39.682535 -2.827645)'))) / (select extract(epoch from '2026-06-18 09:40:32'::timestamp) - extract(epoch from '2026-06-18 09:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682582 -2.827792)'), GeomFromEWKT('SRID=4674;POINT (-39.682535 -2.827645)'))) / (select extract(epoch from '2026-06-18 09:40:32'::timestamp) - extract(epoch from '2026-06-18 09:40: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'), 46821, 'SRID=4674;POINT (-39.682502 -2.827511)', '2026-06-18 09:40:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682535 -2.827645)'), GeomFromEWKT('SRID=4674;POINT (-39.682502 -2.827511)'))) / (select extract(epoch from '2026-06-18 09:40:38'::timestamp) - extract(epoch from '2026-06-18 09:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682535 -2.827645)'), GeomFromEWKT('SRID=4674;POINT (-39.682502 -2.827511)'))) / (select extract(epoch from '2026-06-18 09:40:38'::timestamp) - extract(epoch from '2026-06-18 09:40: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'), 46821, 'SRID=4674;POINT (-39.682473 -2.827375)', '2026-06-18 09:40:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682502 -2.827511)'), GeomFromEWKT('SRID=4674;POINT (-39.682473 -2.827375)'))) / (select extract(epoch from '2026-06-18 09:40:44'::timestamp) - extract(epoch from '2026-06-18 09:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682502 -2.827511)'), GeomFromEWKT('SRID=4674;POINT (-39.682473 -2.827375)'))) / (select extract(epoch from '2026-06-18 09:40:44'::timestamp) - extract(epoch from '2026-06-18 09:40: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'), 46821, 'SRID=4674;POINT (-39.682445 -2.827215)', '2026-06-18 09:40:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682473 -2.827375)'), GeomFromEWKT('SRID=4674;POINT (-39.682445 -2.827215)'))) / (select extract(epoch from '2026-06-18 09:40:51'::timestamp) - extract(epoch from '2026-06-18 09:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682473 -2.827375)'), GeomFromEWKT('SRID=4674;POINT (-39.682445 -2.827215)'))) / (select extract(epoch from '2026-06-18 09:40:51'::timestamp) - extract(epoch from '2026-06-18 09:40: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'), 46821, 'SRID=4674;POINT (-39.682414 -2.827051)', '2026-06-18 09:40:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682445 -2.827215)'), GeomFromEWKT('SRID=4674;POINT (-39.682414 -2.827051)'))) / (select extract(epoch from '2026-06-18 09:40:58'::timestamp) - extract(epoch from '2026-06-18 09:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682445 -2.827215)'), GeomFromEWKT('SRID=4674;POINT (-39.682414 -2.827051)'))) / (select extract(epoch from '2026-06-18 09:40:58'::timestamp) - extract(epoch from '2026-06-18 09:40: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'), 46821, 'SRID=4674;POINT (-39.682376 -2.826895)', '2026-06-18 09:41:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682414 -2.827051)'), GeomFromEWKT('SRID=4674;POINT (-39.682376 -2.826895)'))) / (select extract(epoch from '2026-06-18 09:41:05'::timestamp) - extract(epoch from '2026-06-18 09:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682414 -2.827051)'), GeomFromEWKT('SRID=4674;POINT (-39.682376 -2.826895)'))) / (select extract(epoch from '2026-06-18 09:41:05'::timestamp) - extract(epoch from '2026-06-18 09:40: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'), 46821, 'SRID=4674;POINT (-39.682335 -2.826731)', '2026-06-18 09:41:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682376 -2.826895)'), GeomFromEWKT('SRID=4674;POINT (-39.682335 -2.826731)'))) / (select extract(epoch from '2026-06-18 09:41:12'::timestamp) - extract(epoch from '2026-06-18 09:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682376 -2.826895)'), GeomFromEWKT('SRID=4674;POINT (-39.682335 -2.826731)'))) / (select extract(epoch from '2026-06-18 09:41:12'::timestamp) - extract(epoch from '2026-06-18 09:41: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'), 46821, 'SRID=4674;POINT (-39.682297 -2.826591)', '2026-06-18 09:41:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682335 -2.826731)'), GeomFromEWKT('SRID=4674;POINT (-39.682297 -2.826591)'))) / (select extract(epoch from '2026-06-18 09:41:18'::timestamp) - extract(epoch from '2026-06-18 09:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682335 -2.826731)'), GeomFromEWKT('SRID=4674;POINT (-39.682297 -2.826591)'))) / (select extract(epoch from '2026-06-18 09:41:18'::timestamp) - extract(epoch from '2026-06-18 09:41: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'), 46821, 'SRID=4674;POINT (-39.682251 -2.826437)', '2026-06-18 09:41:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682297 -2.826591)'), GeomFromEWKT('SRID=4674;POINT (-39.682251 -2.826437)'))) / (select extract(epoch from '2026-06-18 09:41:25'::timestamp) - extract(epoch from '2026-06-18 09:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682297 -2.826591)'), GeomFromEWKT('SRID=4674;POINT (-39.682251 -2.826437)'))) / (select extract(epoch from '2026-06-18 09:41:25'::timestamp) - extract(epoch from '2026-06-18 09:41: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'), 46821, 'SRID=4674;POINT (-39.682197 -2.826284)', '2026-06-18 09:41:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682251 -2.826437)'), GeomFromEWKT('SRID=4674;POINT (-39.682197 -2.826284)'))) / (select extract(epoch from '2026-06-18 09:41:32'::timestamp) - extract(epoch from '2026-06-18 09:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682251 -2.826437)'), GeomFromEWKT('SRID=4674;POINT (-39.682197 -2.826284)'))) / (select extract(epoch from '2026-06-18 09:41:32'::timestamp) - extract(epoch from '2026-06-18 09:41: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'), 46821, 'SRID=4674;POINT (-39.682155 -2.826151)', '2026-06-18 09:41:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682197 -2.826284)'), GeomFromEWKT('SRID=4674;POINT (-39.682155 -2.826151)'))) / (select extract(epoch from '2026-06-18 09:41:38'::timestamp) - extract(epoch from '2026-06-18 09:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682197 -2.826284)'), GeomFromEWKT('SRID=4674;POINT (-39.682155 -2.826151)'))) / (select extract(epoch from '2026-06-18 09:41:38'::timestamp) - extract(epoch from '2026-06-18 09:41: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'), 46821, 'SRID=4674;POINT (-39.682151 -2.826128)', '2026-06-18 09:41:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682155 -2.826151)'), GeomFromEWKT('SRID=4674;POINT (-39.682151 -2.826128)'))) / (select extract(epoch from '2026-06-18 09:41:39'::timestamp) - extract(epoch from '2026-06-18 09:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682155 -2.826151)'), GeomFromEWKT('SRID=4674;POINT (-39.682151 -2.826128)'))) / (select extract(epoch from '2026-06-18 09:41:39'::timestamp) - extract(epoch from '2026-06-18 09:41: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'), 46821, 'SRID=4674;POINT (-39.682135 -2.826066)', '2026-06-18 09:41:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682151 -2.826128)'), GeomFromEWKT('SRID=4674;POINT (-39.682135 -2.826066)'))) / (select extract(epoch from '2026-06-18 09:41:42'::timestamp) - extract(epoch from '2026-06-18 09:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682151 -2.826128)'), GeomFromEWKT('SRID=4674;POINT (-39.682135 -2.826066)'))) / (select extract(epoch from '2026-06-18 09:41:42'::timestamp) - extract(epoch from '2026-06-18 09:41: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'), 46821, 'SRID=4674;POINT (-39.682093 -2.82592)', '2026-06-18 09:41:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682135 -2.826066)'), GeomFromEWKT('SRID=4674;POINT (-39.682093 -2.82592)'))) / (select extract(epoch from '2026-06-18 09:41:49'::timestamp) - extract(epoch from '2026-06-18 09:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682135 -2.826066)'), GeomFromEWKT('SRID=4674;POINT (-39.682093 -2.82592)'))) / (select extract(epoch from '2026-06-18 09:41:49'::timestamp) - extract(epoch from '2026-06-18 09:41: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'), 46821, 'SRID=4674;POINT (-39.682053 -2.825798)', '2026-06-18 09:41:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682093 -2.82592)'), GeomFromEWKT('SRID=4674;POINT (-39.682053 -2.825798)'))) / (select extract(epoch from '2026-06-18 09:41:55'::timestamp) - extract(epoch from '2026-06-18 09:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682093 -2.82592)'), GeomFromEWKT('SRID=4674;POINT (-39.682053 -2.825798)'))) / (select extract(epoch from '2026-06-18 09:41:55'::timestamp) - extract(epoch from '2026-06-18 09:41: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'), 46821, 'SRID=4674;POINT (-39.682004 -2.825649)', '2026-06-18 09:42:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682053 -2.825798)'), GeomFromEWKT('SRID=4674;POINT (-39.682004 -2.825649)'))) / (select extract(epoch from '2026-06-18 09:42:02'::timestamp) - extract(epoch from '2026-06-18 09:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682053 -2.825798)'), GeomFromEWKT('SRID=4674;POINT (-39.682004 -2.825649)'))) / (select extract(epoch from '2026-06-18 09:42:02'::timestamp) - extract(epoch from '2026-06-18 09:41: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'), 46821, 'SRID=4674;POINT (-39.681958 -2.825529)', '2026-06-18 09:42:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682004 -2.825649)'), GeomFromEWKT('SRID=4674;POINT (-39.681958 -2.825529)'))) / (select extract(epoch from '2026-06-18 09:42:08'::timestamp) - extract(epoch from '2026-06-18 09:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682004 -2.825649)'), GeomFromEWKT('SRID=4674;POINT (-39.681958 -2.825529)'))) / (select extract(epoch from '2026-06-18 09:42:08'::timestamp) - extract(epoch from '2026-06-18 09:42: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'), 46821, 'SRID=4674;POINT (-39.681908 -2.825377)', '2026-06-18 09:42:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681958 -2.825529)'), GeomFromEWKT('SRID=4674;POINT (-39.681908 -2.825377)'))) / (select extract(epoch from '2026-06-18 09:42:15'::timestamp) - extract(epoch from '2026-06-18 09:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681958 -2.825529)'), GeomFromEWKT('SRID=4674;POINT (-39.681908 -2.825377)'))) / (select extract(epoch from '2026-06-18 09:42:15'::timestamp) - extract(epoch from '2026-06-18 09:42: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'), 46821, 'SRID=4674;POINT (-39.681878 -2.825268)', '2026-06-18 09:42:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681908 -2.825377)'), GeomFromEWKT('SRID=4674;POINT (-39.681878 -2.825268)'))) / (select extract(epoch from '2026-06-18 09:42:20'::timestamp) - extract(epoch from '2026-06-18 09:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681908 -2.825377)'), GeomFromEWKT('SRID=4674;POINT (-39.681878 -2.825268)'))) / (select extract(epoch from '2026-06-18 09:42:20'::timestamp) - extract(epoch from '2026-06-18 09:42: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'), 46821, 'SRID=4674;POINT (-39.681833 -2.825142)', '2026-06-18 09:42:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681878 -2.825268)'), GeomFromEWKT('SRID=4674;POINT (-39.681833 -2.825142)'))) / (select extract(epoch from '2026-06-18 09:42:26'::timestamp) - extract(epoch from '2026-06-18 09:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681878 -2.825268)'), GeomFromEWKT('SRID=4674;POINT (-39.681833 -2.825142)'))) / (select extract(epoch from '2026-06-18 09:42:26'::timestamp) - extract(epoch from '2026-06-18 09:42: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'), 46821, 'SRID=4674;POINT (-39.681816 -2.825101)', '2026-06-18 09:42:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681833 -2.825142)'), GeomFromEWKT('SRID=4674;POINT (-39.681816 -2.825101)'))) / (select extract(epoch from '2026-06-18 09:42:28'::timestamp) - extract(epoch from '2026-06-18 09:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681833 -2.825142)'), GeomFromEWKT('SRID=4674;POINT (-39.681816 -2.825101)'))) / (select extract(epoch from '2026-06-18 09:42:28'::timestamp) - extract(epoch from '2026-06-18 09:42: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'), 46821, 'SRID=4674;POINT (-39.681802 -2.825064)', '2026-06-18 09:42:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681816 -2.825101)'), GeomFromEWKT('SRID=4674;POINT (-39.681802 -2.825064)'))) / (select extract(epoch from '2026-06-18 09:42:30'::timestamp) - extract(epoch from '2026-06-18 09:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681816 -2.825101)'), GeomFromEWKT('SRID=4674;POINT (-39.681802 -2.825064)'))) / (select extract(epoch from '2026-06-18 09:42:30'::timestamp) - extract(epoch from '2026-06-18 09:42: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'), 46821, 'SRID=4674;POINT (-39.681761 -2.82495)', '2026-06-18 09:42:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681802 -2.825064)'), GeomFromEWKT('SRID=4674;POINT (-39.681761 -2.82495)'))) / (select extract(epoch from '2026-06-18 09:42:36'::timestamp) - extract(epoch from '2026-06-18 09:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681802 -2.825064)'), GeomFromEWKT('SRID=4674;POINT (-39.681761 -2.82495)'))) / (select extract(epoch from '2026-06-18 09:42:36'::timestamp) - extract(epoch from '2026-06-18 09:42: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'), 46821, 'SRID=4674;POINT (-39.681702 -2.824787)', '2026-06-18 09:42:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681761 -2.82495)'), GeomFromEWKT('SRID=4674;POINT (-39.681702 -2.824787)'))) / (select extract(epoch from '2026-06-18 09:42:44'::timestamp) - extract(epoch from '2026-06-18 09:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681761 -2.82495)'), GeomFromEWKT('SRID=4674;POINT (-39.681702 -2.824787)'))) / (select extract(epoch from '2026-06-18 09:42:44'::timestamp) - extract(epoch from '2026-06-18 09:42: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'), 46821, 'SRID=4674;POINT (-39.681645 -2.824651)', '2026-06-18 09:42:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681702 -2.824787)'), GeomFromEWKT('SRID=4674;POINT (-39.681645 -2.824651)'))) / (select extract(epoch from '2026-06-18 09:42:51'::timestamp) - extract(epoch from '2026-06-18 09:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681702 -2.824787)'), GeomFromEWKT('SRID=4674;POINT (-39.681645 -2.824651)'))) / (select extract(epoch from '2026-06-18 09:42:51'::timestamp) - extract(epoch from '2026-06-18 09:42: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'), 46821, 'SRID=4674;POINT (-39.681596 -2.824528)', '2026-06-18 09:42:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681645 -2.824651)'), GeomFromEWKT('SRID=4674;POINT (-39.681596 -2.824528)'))) / (select extract(epoch from '2026-06-18 09:42:57'::timestamp) - extract(epoch from '2026-06-18 09:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681645 -2.824651)'), GeomFromEWKT('SRID=4674;POINT (-39.681596 -2.824528)'))) / (select extract(epoch from '2026-06-18 09:42:57'::timestamp) - extract(epoch from '2026-06-18 09:42: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'), 46821, 'SRID=4674;POINT (-39.681554 -2.824431)', '2026-06-18 09:43:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681596 -2.824528)'), GeomFromEWKT('SRID=4674;POINT (-39.681554 -2.824431)'))) / (select extract(epoch from '2026-06-18 09:43:02'::timestamp) - extract(epoch from '2026-06-18 09:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681596 -2.824528)'), GeomFromEWKT('SRID=4674;POINT (-39.681554 -2.824431)'))) / (select extract(epoch from '2026-06-18 09:43:02'::timestamp) - extract(epoch from '2026-06-18 09:42: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'), 46821, 'SRID=4674;POINT (-39.68149 -2.824269)', '2026-06-18 09:43:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681554 -2.824431)'), GeomFromEWKT('SRID=4674;POINT (-39.68149 -2.824269)'))) / (select extract(epoch from '2026-06-18 09:43:10'::timestamp) - extract(epoch from '2026-06-18 09:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681554 -2.824431)'), GeomFromEWKT('SRID=4674;POINT (-39.68149 -2.824269)'))) / (select extract(epoch from '2026-06-18 09:43:10'::timestamp) - extract(epoch from '2026-06-18 09:43: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'), 46821, 'SRID=4674;POINT (-39.681421 -2.824106)', '2026-06-18 09:43:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68149 -2.824269)'), GeomFromEWKT('SRID=4674;POINT (-39.681421 -2.824106)'))) / (select extract(epoch from '2026-06-18 09:43:18'::timestamp) - extract(epoch from '2026-06-18 09:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68149 -2.824269)'), GeomFromEWKT('SRID=4674;POINT (-39.681421 -2.824106)'))) / (select extract(epoch from '2026-06-18 09:43:18'::timestamp) - extract(epoch from '2026-06-18 09:43: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'), 46821, 'SRID=4674;POINT (-39.681366 -2.823985)', '2026-06-18 09:43:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681421 -2.824106)'), GeomFromEWKT('SRID=4674;POINT (-39.681366 -2.823985)'))) / (select extract(epoch from '2026-06-18 09:43:24'::timestamp) - extract(epoch from '2026-06-18 09:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681421 -2.824106)'), GeomFromEWKT('SRID=4674;POINT (-39.681366 -2.823985)'))) / (select extract(epoch from '2026-06-18 09:43:24'::timestamp) - extract(epoch from '2026-06-18 09:43: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'), 46821, 'SRID=4674;POINT (-39.681322 -2.823884)', '2026-06-18 09:43:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681366 -2.823985)'), GeomFromEWKT('SRID=4674;POINT (-39.681322 -2.823884)'))) / (select extract(epoch from '2026-06-18 09:43:29'::timestamp) - extract(epoch from '2026-06-18 09:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681366 -2.823985)'), GeomFromEWKT('SRID=4674;POINT (-39.681322 -2.823884)'))) / (select extract(epoch from '2026-06-18 09:43:29'::timestamp) - extract(epoch from '2026-06-18 09:43: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'), 46821, 'SRID=4674;POINT (-39.681256 -2.823743)', '2026-06-18 09:43:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681322 -2.823884)'), GeomFromEWKT('SRID=4674;POINT (-39.681256 -2.823743)'))) / (select extract(epoch from '2026-06-18 09:43:36'::timestamp) - extract(epoch from '2026-06-18 09:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681322 -2.823884)'), GeomFromEWKT('SRID=4674;POINT (-39.681256 -2.823743)'))) / (select extract(epoch from '2026-06-18 09:43:36'::timestamp) - extract(epoch from '2026-06-18 09:43: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'), 46821, 'SRID=4674;POINT (-39.681207 -2.82362)', '2026-06-18 09:43:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681256 -2.823743)'), GeomFromEWKT('SRID=4674;POINT (-39.681207 -2.82362)'))) / (select extract(epoch from '2026-06-18 09:43:42'::timestamp) - extract(epoch from '2026-06-18 09:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681256 -2.823743)'), GeomFromEWKT('SRID=4674;POINT (-39.681207 -2.82362)'))) / (select extract(epoch from '2026-06-18 09:43:42'::timestamp) - extract(epoch from '2026-06-18 09:43: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'), 46821, 'SRID=4674;POINT (-39.68116 -2.82352)', '2026-06-18 09:43:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681207 -2.82362)'), GeomFromEWKT('SRID=4674;POINT (-39.68116 -2.82352)'))) / (select extract(epoch from '2026-06-18 09:43:47'::timestamp) - extract(epoch from '2026-06-18 09:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681207 -2.82362)'), GeomFromEWKT('SRID=4674;POINT (-39.68116 -2.82352)'))) / (select extract(epoch from '2026-06-18 09:43:47'::timestamp) - extract(epoch from '2026-06-18 09:43: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'), 46821, 'SRID=4674;POINT (-39.681107 -2.823395)', '2026-06-18 09:43:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68116 -2.82352)'), GeomFromEWKT('SRID=4674;POINT (-39.681107 -2.823395)'))) / (select extract(epoch from '2026-06-18 09:43:53'::timestamp) - extract(epoch from '2026-06-18 09:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68116 -2.82352)'), GeomFromEWKT('SRID=4674;POINT (-39.681107 -2.823395)'))) / (select extract(epoch from '2026-06-18 09:43:53'::timestamp) - extract(epoch from '2026-06-18 09:43: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'), 46821, 'SRID=4674;POINT (-39.681069 -2.82329)', '2026-06-18 09:43:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681107 -2.823395)'), GeomFromEWKT('SRID=4674;POINT (-39.681069 -2.82329)'))) / (select extract(epoch from '2026-06-18 09:43:58'::timestamp) - extract(epoch from '2026-06-18 09:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681107 -2.823395)'), GeomFromEWKT('SRID=4674;POINT (-39.681069 -2.82329)'))) / (select extract(epoch from '2026-06-18 09:43:58'::timestamp) - extract(epoch from '2026-06-18 09:43: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'), 46821, 'SRID=4674;POINT (-39.681009 -2.823149)', '2026-06-18 09:44:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681069 -2.82329)'), GeomFromEWKT('SRID=4674;POINT (-39.681009 -2.823149)'))) / (select extract(epoch from '2026-06-18 09:44:05'::timestamp) - extract(epoch from '2026-06-18 09:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681069 -2.82329)'), GeomFromEWKT('SRID=4674;POINT (-39.681009 -2.823149)'))) / (select extract(epoch from '2026-06-18 09:44:05'::timestamp) - extract(epoch from '2026-06-18 09:43: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'), 46821, 'SRID=4674;POINT (-39.680958 -2.823029)', '2026-06-18 09:44:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681009 -2.823149)'), GeomFromEWKT('SRID=4674;POINT (-39.680958 -2.823029)'))) / (select extract(epoch from '2026-06-18 09:44:11'::timestamp) - extract(epoch from '2026-06-18 09:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.681009 -2.823149)'), GeomFromEWKT('SRID=4674;POINT (-39.680958 -2.823029)'))) / (select extract(epoch from '2026-06-18 09:44:11'::timestamp) - extract(epoch from '2026-06-18 09:44: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'), 46821, 'SRID=4674;POINT (-39.68092 -2.82293)', '2026-06-18 09:44:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680958 -2.823029)'), GeomFromEWKT('SRID=4674;POINT (-39.68092 -2.82293)'))) / (select extract(epoch from '2026-06-18 09:44:16'::timestamp) - extract(epoch from '2026-06-18 09:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680958 -2.823029)'), GeomFromEWKT('SRID=4674;POINT (-39.68092 -2.82293)'))) / (select extract(epoch from '2026-06-18 09:44:16'::timestamp) - extract(epoch from '2026-06-18 09:44: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'), 46821, 'SRID=4674;POINT (-39.680876 -2.822812)', '2026-06-18 09:44:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68092 -2.82293)'), GeomFromEWKT('SRID=4674;POINT (-39.680876 -2.822812)'))) / (select extract(epoch from '2026-06-18 09:44:22'::timestamp) - extract(epoch from '2026-06-18 09:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68092 -2.82293)'), GeomFromEWKT('SRID=4674;POINT (-39.680876 -2.822812)'))) / (select extract(epoch from '2026-06-18 09:44:22'::timestamp) - extract(epoch from '2026-06-18 09:44: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'), 46821, 'SRID=4674;POINT (-39.680808 -2.822653)', '2026-06-18 09:44:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680876 -2.822812)'), GeomFromEWKT('SRID=4674;POINT (-39.680808 -2.822653)'))) / (select extract(epoch from '2026-06-18 09:44:30'::timestamp) - extract(epoch from '2026-06-18 09:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680876 -2.822812)'), GeomFromEWKT('SRID=4674;POINT (-39.680808 -2.822653)'))) / (select extract(epoch from '2026-06-18 09:44:30'::timestamp) - extract(epoch from '2026-06-18 09:44: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'), 46821, 'SRID=4674;POINT (-39.680767 -2.822556)', '2026-06-18 09:44:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680808 -2.822653)'), GeomFromEWKT('SRID=4674;POINT (-39.680767 -2.822556)'))) / (select extract(epoch from '2026-06-18 09:44:35'::timestamp) - extract(epoch from '2026-06-18 09:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680808 -2.822653)'), GeomFromEWKT('SRID=4674;POINT (-39.680767 -2.822556)'))) / (select extract(epoch from '2026-06-18 09:44:35'::timestamp) - extract(epoch from '2026-06-18 09:44: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'), 46821, 'SRID=4674;POINT (-39.680718 -2.822443)', '2026-06-18 09:44:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680767 -2.822556)'), GeomFromEWKT('SRID=4674;POINT (-39.680718 -2.822443)'))) / (select extract(epoch from '2026-06-18 09:44:41'::timestamp) - extract(epoch from '2026-06-18 09:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680767 -2.822556)'), GeomFromEWKT('SRID=4674;POINT (-39.680718 -2.822443)'))) / (select extract(epoch from '2026-06-18 09:44:41'::timestamp) - extract(epoch from '2026-06-18 09:44: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'), 46821, 'SRID=4674;POINT (-39.68071 -2.822424)', '2026-06-18 09:44:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680718 -2.822443)'), GeomFromEWKT('SRID=4674;POINT (-39.68071 -2.822424)'))) / (select extract(epoch from '2026-06-18 09:44:42'::timestamp) - extract(epoch from '2026-06-18 09:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680718 -2.822443)'), GeomFromEWKT('SRID=4674;POINT (-39.68071 -2.822424)'))) / (select extract(epoch from '2026-06-18 09:44:42'::timestamp) - extract(epoch from '2026-06-18 09:44: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'), 46821, 'SRID=4674;POINT (-39.680689 -2.822364)', '2026-06-18 09:44:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68071 -2.822424)'), GeomFromEWKT('SRID=4674;POINT (-39.680689 -2.822364)'))) / (select extract(epoch from '2026-06-18 09:44:45'::timestamp) - extract(epoch from '2026-06-18 09:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68071 -2.822424)'), GeomFromEWKT('SRID=4674;POINT (-39.680689 -2.822364)'))) / (select extract(epoch from '2026-06-18 09:44:45'::timestamp) - extract(epoch from '2026-06-18 09:44: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'), 46821, 'SRID=4674;POINT (-39.680647 -2.822242)', '2026-06-18 09:44:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680689 -2.822364)'), GeomFromEWKT('SRID=4674;POINT (-39.680647 -2.822242)'))) / (select extract(epoch from '2026-06-18 09:44:51'::timestamp) - extract(epoch from '2026-06-18 09:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680689 -2.822364)'), GeomFromEWKT('SRID=4674;POINT (-39.680647 -2.822242)'))) / (select extract(epoch from '2026-06-18 09:44:51'::timestamp) - extract(epoch from '2026-06-18 09:44: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'), 46821, 'SRID=4674;POINT (-39.680598 -2.82207)', '2026-06-18 09:44:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680647 -2.822242)'), GeomFromEWKT('SRID=4674;POINT (-39.680598 -2.82207)'))) / (select extract(epoch from '2026-06-18 09:44:59'::timestamp) - extract(epoch from '2026-06-18 09:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680647 -2.822242)'), GeomFromEWKT('SRID=4674;POINT (-39.680598 -2.82207)'))) / (select extract(epoch from '2026-06-18 09:44:59'::timestamp) - extract(epoch from '2026-06-18 09:44: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'), 46821, 'SRID=4674;POINT (-39.680563 -2.821938)', '2026-06-18 09:45:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680598 -2.82207)'), GeomFromEWKT('SRID=4674;POINT (-39.680563 -2.821938)'))) / (select extract(epoch from '2026-06-18 09:45:05'::timestamp) - extract(epoch from '2026-06-18 09:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680598 -2.82207)'), GeomFromEWKT('SRID=4674;POINT (-39.680563 -2.821938)'))) / (select extract(epoch from '2026-06-18 09:45:05'::timestamp) - extract(epoch from '2026-06-18 09:44: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'), 46821, 'SRID=4674;POINT (-39.680543 -2.821822)', '2026-06-18 09:45:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680563 -2.821938)'), GeomFromEWKT('SRID=4674;POINT (-39.680543 -2.821822)'))) / (select extract(epoch from '2026-06-18 09:45:10'::timestamp) - extract(epoch from '2026-06-18 09:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680563 -2.821938)'), GeomFromEWKT('SRID=4674;POINT (-39.680543 -2.821822)'))) / (select extract(epoch from '2026-06-18 09:45:10'::timestamp) - extract(epoch from '2026-06-18 09:45: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'), 46821, 'SRID=4674;POINT (-39.680519 -2.821686)', '2026-06-18 09:45:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680543 -2.821822)'), GeomFromEWKT('SRID=4674;POINT (-39.680519 -2.821686)'))) / (select extract(epoch from '2026-06-18 09:45:16'::timestamp) - extract(epoch from '2026-06-18 09:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680543 -2.821822)'), GeomFromEWKT('SRID=4674;POINT (-39.680519 -2.821686)'))) / (select extract(epoch from '2026-06-18 09:45:16'::timestamp) - extract(epoch from '2026-06-18 09:45: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'), 46821, 'SRID=4674;POINT (-39.680492 -2.821572)', '2026-06-18 09:45:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680519 -2.821686)'), GeomFromEWKT('SRID=4674;POINT (-39.680492 -2.821572)'))) / (select extract(epoch from '2026-06-18 09:45:21'::timestamp) - extract(epoch from '2026-06-18 09:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680519 -2.821686)'), GeomFromEWKT('SRID=4674;POINT (-39.680492 -2.821572)'))) / (select extract(epoch from '2026-06-18 09:45:21'::timestamp) - extract(epoch from '2026-06-18 09:45: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'), 46821, 'SRID=4674;POINT (-39.680452 -2.821391)', '2026-06-18 09:45:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680492 -2.821572)'), GeomFromEWKT('SRID=4674;POINT (-39.680452 -2.821391)'))) / (select extract(epoch from '2026-06-18 09:45:29'::timestamp) - extract(epoch from '2026-06-18 09:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680492 -2.821572)'), GeomFromEWKT('SRID=4674;POINT (-39.680452 -2.821391)'))) / (select extract(epoch from '2026-06-18 09:45:29'::timestamp) - extract(epoch from '2026-06-18 09:45: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'), 46821, 'SRID=4674;POINT (-39.680424 -2.821225)', '2026-06-18 09:45:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680452 -2.821391)'), GeomFromEWKT('SRID=4674;POINT (-39.680424 -2.821225)'))) / (select extract(epoch from '2026-06-18 09:45:36'::timestamp) - extract(epoch from '2026-06-18 09:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680452 -2.821391)'), GeomFromEWKT('SRID=4674;POINT (-39.680424 -2.821225)'))) / (select extract(epoch from '2026-06-18 09:45:36'::timestamp) - extract(epoch from '2026-06-18 09:45: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'), 46821, 'SRID=4674;POINT (-39.680394 -2.821091)', '2026-06-18 09:45:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680424 -2.821225)'), GeomFromEWKT('SRID=4674;POINT (-39.680394 -2.821091)'))) / (select extract(epoch from '2026-06-18 09:45:42'::timestamp) - extract(epoch from '2026-06-18 09:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680424 -2.821225)'), GeomFromEWKT('SRID=4674;POINT (-39.680394 -2.821091)'))) / (select extract(epoch from '2026-06-18 09:45:42'::timestamp) - extract(epoch from '2026-06-18 09:45: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'), 46821, 'SRID=4674;POINT (-39.680358 -2.820963)', '2026-06-18 09:45:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680394 -2.821091)'), GeomFromEWKT('SRID=4674;POINT (-39.680358 -2.820963)'))) / (select extract(epoch from '2026-06-18 09:45:48'::timestamp) - extract(epoch from '2026-06-18 09:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680394 -2.821091)'), GeomFromEWKT('SRID=4674;POINT (-39.680358 -2.820963)'))) / (select extract(epoch from '2026-06-18 09:45:48'::timestamp) - extract(epoch from '2026-06-18 09:45: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'), 46821, 'SRID=4674;POINT (-39.680345 -2.820852)', '2026-06-18 09:45:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680358 -2.820963)'), GeomFromEWKT('SRID=4674;POINT (-39.680345 -2.820852)'))) / (select extract(epoch from '2026-06-18 09:45:53'::timestamp) - extract(epoch from '2026-06-18 09:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680358 -2.820963)'), GeomFromEWKT('SRID=4674;POINT (-39.680345 -2.820852)'))) / (select extract(epoch from '2026-06-18 09:45:53'::timestamp) - extract(epoch from '2026-06-18 09:45: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'), 46821, 'SRID=4674;POINT (-39.680324 -2.820748)', '2026-06-18 09:45:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680345 -2.820852)'), GeomFromEWKT('SRID=4674;POINT (-39.680324 -2.820748)'))) / (select extract(epoch from '2026-06-18 09:45:58'::timestamp) - extract(epoch from '2026-06-18 09:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680345 -2.820852)'), GeomFromEWKT('SRID=4674;POINT (-39.680324 -2.820748)'))) / (select extract(epoch from '2026-06-18 09:45:58'::timestamp) - extract(epoch from '2026-06-18 09:45: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'), 46821, 'SRID=4674;POINT (-39.680284 -2.820625)', '2026-06-18 09:46:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680324 -2.820748)'), GeomFromEWKT('SRID=4674;POINT (-39.680284 -2.820625)'))) / (select extract(epoch from '2026-06-18 09:46:04'::timestamp) - extract(epoch from '2026-06-18 09:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680324 -2.820748)'), GeomFromEWKT('SRID=4674;POINT (-39.680284 -2.820625)'))) / (select extract(epoch from '2026-06-18 09:46:04'::timestamp) - extract(epoch from '2026-06-18 09:45: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'), 46821, 'SRID=4674;POINT (-39.680251 -2.820517)', '2026-06-18 09:46:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680284 -2.820625)'), GeomFromEWKT('SRID=4674;POINT (-39.680251 -2.820517)'))) / (select extract(epoch from '2026-06-18 09:46:09'::timestamp) - extract(epoch from '2026-06-18 09:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680284 -2.820625)'), GeomFromEWKT('SRID=4674;POINT (-39.680251 -2.820517)'))) / (select extract(epoch from '2026-06-18 09:46:09'::timestamp) - extract(epoch from '2026-06-18 09:46: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'), 46821, 'SRID=4674;POINT (-39.680209 -2.820379)', '2026-06-18 09:46:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680251 -2.820517)'), GeomFromEWKT('SRID=4674;POINT (-39.680209 -2.820379)'))) / (select extract(epoch from '2026-06-18 09:46:15'::timestamp) - extract(epoch from '2026-06-18 09:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680251 -2.820517)'), GeomFromEWKT('SRID=4674;POINT (-39.680209 -2.820379)'))) / (select extract(epoch from '2026-06-18 09:46:15'::timestamp) - extract(epoch from '2026-06-18 09:46: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'), 46821, 'SRID=4674;POINT (-39.680194 -2.820337)', '2026-06-18 09:46:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680209 -2.820379)'), GeomFromEWKT('SRID=4674;POINT (-39.680194 -2.820337)'))) / (select extract(epoch from '2026-06-18 09:46:17'::timestamp) - extract(epoch from '2026-06-18 09:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680209 -2.820379)'), GeomFromEWKT('SRID=4674;POINT (-39.680194 -2.820337)'))) / (select extract(epoch from '2026-06-18 09:46:17'::timestamp) - extract(epoch from '2026-06-18 09:46: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'), 46821, 'SRID=4674;POINT (-39.680184 -2.820293)', '2026-06-18 09:46:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680194 -2.820337)'), GeomFromEWKT('SRID=4674;POINT (-39.680184 -2.820293)'))) / (select extract(epoch from '2026-06-18 09:46:19'::timestamp) - extract(epoch from '2026-06-18 09:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680194 -2.820337)'), GeomFromEWKT('SRID=4674;POINT (-39.680184 -2.820293)'))) / (select extract(epoch from '2026-06-18 09:46:19'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.680144 -2.820162)', '2026-06-18 09:46:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680184 -2.820293)'), GeomFromEWKT('SRID=4674;POINT (-39.680144 -2.820162)'))) / (select extract(epoch from '2026-06-18 09:46:25'::timestamp) - extract(epoch from '2026-06-18 09:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680184 -2.820293)'), GeomFromEWKT('SRID=4674;POINT (-39.680144 -2.820162)'))) / (select extract(epoch from '2026-06-18 09:46:25'::timestamp) - extract(epoch from '2026-06-18 09:46: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'), 46821, 'SRID=4674;POINT (-39.680122 -2.820051)', '2026-06-18 09:46:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680144 -2.820162)'), GeomFromEWKT('SRID=4674;POINT (-39.680122 -2.820051)'))) / (select extract(epoch from '2026-06-18 09:46:30'::timestamp) - extract(epoch from '2026-06-18 09:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680144 -2.820162)'), GeomFromEWKT('SRID=4674;POINT (-39.680122 -2.820051)'))) / (select extract(epoch from '2026-06-18 09:46:30'::timestamp) - extract(epoch from '2026-06-18 09:46: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'), 46821, 'SRID=4674;POINT (-39.680086 -2.81992)', '2026-06-18 09:46:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680122 -2.820051)'), GeomFromEWKT('SRID=4674;POINT (-39.680086 -2.81992)'))) / (select extract(epoch from '2026-06-18 09:46:36'::timestamp) - extract(epoch from '2026-06-18 09:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680122 -2.820051)'), GeomFromEWKT('SRID=4674;POINT (-39.680086 -2.81992)'))) / (select extract(epoch from '2026-06-18 09:46:36'::timestamp) - extract(epoch from '2026-06-18 09:46: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'), 46821, 'SRID=4674;POINT (-39.680048 -2.819817)', '2026-06-18 09:46:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680086 -2.81992)'), GeomFromEWKT('SRID=4674;POINT (-39.680048 -2.819817)'))) / (select extract(epoch from '2026-06-18 09:46:41'::timestamp) - extract(epoch from '2026-06-18 09:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680086 -2.81992)'), GeomFromEWKT('SRID=4674;POINT (-39.680048 -2.819817)'))) / (select extract(epoch from '2026-06-18 09:46:41'::timestamp) - extract(epoch from '2026-06-18 09:46: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'), 46821, 'SRID=4674;POINT (-39.680006 -2.819717)', '2026-06-18 09:46:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680048 -2.819817)'), GeomFromEWKT('SRID=4674;POINT (-39.680006 -2.819717)'))) / (select extract(epoch from '2026-06-18 09:46:46'::timestamp) - extract(epoch from '2026-06-18 09:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680048 -2.819817)'), GeomFromEWKT('SRID=4674;POINT (-39.680006 -2.819717)'))) / (select extract(epoch from '2026-06-18 09:46:46'::timestamp) - extract(epoch from '2026-06-18 09:46: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'), 46821, 'SRID=4674;POINT (-39.679968 -2.819612)', '2026-06-18 09:46:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680006 -2.819717)'), GeomFromEWKT('SRID=4674;POINT (-39.679968 -2.819612)'))) / (select extract(epoch from '2026-06-18 09:46:51'::timestamp) - extract(epoch from '2026-06-18 09:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.680006 -2.819717)'), GeomFromEWKT('SRID=4674;POINT (-39.679968 -2.819612)'))) / (select extract(epoch from '2026-06-18 09:46:51'::timestamp) - extract(epoch from '2026-06-18 09:46: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'), 46821, 'SRID=4674;POINT (-39.679964 -2.819591)', '2026-06-18 09:46:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679968 -2.819612)'), GeomFromEWKT('SRID=4674;POINT (-39.679964 -2.819591)'))) / (select extract(epoch from '2026-06-18 09:46:52'::timestamp) - extract(epoch from '2026-06-18 09:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679968 -2.819612)'), GeomFromEWKT('SRID=4674;POINT (-39.679964 -2.819591)'))) / (select extract(epoch from '2026-06-18 09:46:52'::timestamp) - extract(epoch from '2026-06-18 09:46: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'), 46821, 'SRID=4674;POINT (-39.679898 -2.819429)', '2026-06-18 09:47:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679964 -2.819591)'), GeomFromEWKT('SRID=4674;POINT (-39.679898 -2.819429)'))) / (select extract(epoch from '2026-06-18 09:47:00'::timestamp) - extract(epoch from '2026-06-18 09:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679964 -2.819591)'), GeomFromEWKT('SRID=4674;POINT (-39.679898 -2.819429)'))) / (select extract(epoch from '2026-06-18 09:47:00'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.679852 -2.81931)', '2026-06-18 09:47:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679898 -2.819429)'), GeomFromEWKT('SRID=4674;POINT (-39.679852 -2.81931)'))) / (select extract(epoch from '2026-06-18 09:47:06'::timestamp) - extract(epoch from '2026-06-18 09:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679898 -2.819429)'), GeomFromEWKT('SRID=4674;POINT (-39.679852 -2.81931)'))) / (select extract(epoch from '2026-06-18 09:47:06'::timestamp) - extract(epoch from '2026-06-18 09:47: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'), 46821, 'SRID=4674;POINT (-39.679816 -2.819209)', '2026-06-18 09:47:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679852 -2.81931)'), GeomFromEWKT('SRID=4674;POINT (-39.679816 -2.819209)'))) / (select extract(epoch from '2026-06-18 09:47:11'::timestamp) - extract(epoch from '2026-06-18 09:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679852 -2.81931)'), GeomFromEWKT('SRID=4674;POINT (-39.679816 -2.819209)'))) / (select extract(epoch from '2026-06-18 09:47:11'::timestamp) - extract(epoch from '2026-06-18 09:47: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'), 46821, 'SRID=4674;POINT (-39.679779 -2.819103)', '2026-06-18 09:47:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679816 -2.819209)'), GeomFromEWKT('SRID=4674;POINT (-39.679779 -2.819103)'))) / (select extract(epoch from '2026-06-18 09:47:16'::timestamp) - extract(epoch from '2026-06-18 09:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679816 -2.819209)'), GeomFromEWKT('SRID=4674;POINT (-39.679779 -2.819103)'))) / (select extract(epoch from '2026-06-18 09:47:16'::timestamp) - extract(epoch from '2026-06-18 09:47: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'), 46821, 'SRID=4674;POINT (-39.679735 -2.818973)', '2026-06-18 09:47:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679779 -2.819103)'), GeomFromEWKT('SRID=4674;POINT (-39.679735 -2.818973)'))) / (select extract(epoch from '2026-06-18 09:47:22'::timestamp) - extract(epoch from '2026-06-18 09:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679779 -2.819103)'), GeomFromEWKT('SRID=4674;POINT (-39.679735 -2.818973)'))) / (select extract(epoch from '2026-06-18 09:47:22'::timestamp) - extract(epoch from '2026-06-18 09:47: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'), 46821, 'SRID=4674;POINT (-39.679681 -2.818827)', '2026-06-18 09:47:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679735 -2.818973)'), GeomFromEWKT('SRID=4674;POINT (-39.679681 -2.818827)'))) / (select extract(epoch from '2026-06-18 09:47:29'::timestamp) - extract(epoch from '2026-06-18 09:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679735 -2.818973)'), GeomFromEWKT('SRID=4674;POINT (-39.679681 -2.818827)'))) / (select extract(epoch from '2026-06-18 09:47:29'::timestamp) - extract(epoch from '2026-06-18 09:47: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'), 46821, 'SRID=4674;POINT (-39.679653 -2.818721)', '2026-06-18 09:47:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679681 -2.818827)'), GeomFromEWKT('SRID=4674;POINT (-39.679653 -2.818721)'))) / (select extract(epoch from '2026-06-18 09:47:34'::timestamp) - extract(epoch from '2026-06-18 09:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679681 -2.818827)'), GeomFromEWKT('SRID=4674;POINT (-39.679653 -2.818721)'))) / (select extract(epoch from '2026-06-18 09:47:34'::timestamp) - extract(epoch from '2026-06-18 09:47: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'), 46821, 'SRID=4674;POINT (-39.679637 -2.818681)', '2026-06-18 09:47:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679653 -2.818721)'), GeomFromEWKT('SRID=4674;POINT (-39.679637 -2.818681)'))) / (select extract(epoch from '2026-06-18 09:47:36'::timestamp) - extract(epoch from '2026-06-18 09:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679653 -2.818721)'), GeomFromEWKT('SRID=4674;POINT (-39.679637 -2.818681)'))) / (select extract(epoch from '2026-06-18 09:47:36'::timestamp) - extract(epoch from '2026-06-18 09:47: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'), 46821, 'SRID=4674;POINT (-39.67963 -2.818638)', '2026-06-18 09:47:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679637 -2.818681)'), GeomFromEWKT('SRID=4674;POINT (-39.67963 -2.818638)'))) / (select extract(epoch from '2026-06-18 09:47:38'::timestamp) - extract(epoch from '2026-06-18 09:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679637 -2.818681)'), GeomFromEWKT('SRID=4674;POINT (-39.67963 -2.818638)'))) / (select extract(epoch from '2026-06-18 09:47:38'::timestamp) - extract(epoch from '2026-06-18 09:47: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'), 46821, 'SRID=4674;POINT (-39.679621 -2.818617)', '2026-06-18 09:47:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67963 -2.818638)'), GeomFromEWKT('SRID=4674;POINT (-39.679621 -2.818617)'))) / (select extract(epoch from '2026-06-18 09:47:39'::timestamp) - extract(epoch from '2026-06-18 09:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67963 -2.818638)'), GeomFromEWKT('SRID=4674;POINT (-39.679621 -2.818617)'))) / (select extract(epoch from '2026-06-18 09:47:39'::timestamp) - extract(epoch from '2026-06-18 09:47: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'), 46821, 'SRID=4674;POINT (-39.679586 -2.818491)', '2026-06-18 09:47:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679621 -2.818617)'), GeomFromEWKT('SRID=4674;POINT (-39.679586 -2.818491)'))) / (select extract(epoch from '2026-06-18 09:47:45'::timestamp) - extract(epoch from '2026-06-18 09:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679621 -2.818617)'), GeomFromEWKT('SRID=4674;POINT (-39.679586 -2.818491)'))) / (select extract(epoch from '2026-06-18 09:47:45'::timestamp) - extract(epoch from '2026-06-18 09:47: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'), 46821, 'SRID=4674;POINT (-39.679554 -2.818389)', '2026-06-18 09:47:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679586 -2.818491)'), GeomFromEWKT('SRID=4674;POINT (-39.679554 -2.818389)'))) / (select extract(epoch from '2026-06-18 09:47:50'::timestamp) - extract(epoch from '2026-06-18 09:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679586 -2.818491)'), GeomFromEWKT('SRID=4674;POINT (-39.679554 -2.818389)'))) / (select extract(epoch from '2026-06-18 09:47:50'::timestamp) - extract(epoch from '2026-06-18 09:47: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'), 46821, 'SRID=4674;POINT (-39.679506 -2.818238)', '2026-06-18 09:47:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679554 -2.818389)'), GeomFromEWKT('SRID=4674;POINT (-39.679506 -2.818238)'))) / (select extract(epoch from '2026-06-18 09:47:57'::timestamp) - extract(epoch from '2026-06-18 09:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679554 -2.818389)'), GeomFromEWKT('SRID=4674;POINT (-39.679506 -2.818238)'))) / (select extract(epoch from '2026-06-18 09:47:57'::timestamp) - extract(epoch from '2026-06-18 09:47: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'), 46821, 'SRID=4674;POINT (-39.679446 -2.818074)', '2026-06-18 09:48:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679506 -2.818238)'), GeomFromEWKT('SRID=4674;POINT (-39.679446 -2.818074)'))) / (select extract(epoch from '2026-06-18 09:48:05'::timestamp) - extract(epoch from '2026-06-18 09:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679506 -2.818238)'), GeomFromEWKT('SRID=4674;POINT (-39.679446 -2.818074)'))) / (select extract(epoch from '2026-06-18 09:48:05'::timestamp) - extract(epoch from '2026-06-18 09:47: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'), 46821, 'SRID=4674;POINT (-39.6794 -2.81796)', '2026-06-18 09:48:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679446 -2.818074)'), GeomFromEWKT('SRID=4674;POINT (-39.6794 -2.81796)'))) / (select extract(epoch from '2026-06-18 09:48:11'::timestamp) - extract(epoch from '2026-06-18 09:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679446 -2.818074)'), GeomFromEWKT('SRID=4674;POINT (-39.6794 -2.81796)'))) / (select extract(epoch from '2026-06-18 09:48:11'::timestamp) - extract(epoch from '2026-06-18 09:48: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'), 46821, 'SRID=4674;POINT (-39.679356 -2.817842)', '2026-06-18 09:48:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6794 -2.81796)'), GeomFromEWKT('SRID=4674;POINT (-39.679356 -2.817842)'))) / (select extract(epoch from '2026-06-18 09:48:17'::timestamp) - extract(epoch from '2026-06-18 09:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6794 -2.81796)'), GeomFromEWKT('SRID=4674;POINT (-39.679356 -2.817842)'))) / (select extract(epoch from '2026-06-18 09:48:17'::timestamp) - extract(epoch from '2026-06-18 09:48: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'), 46821, 'SRID=4674;POINT (-39.679305 -2.817699)', '2026-06-18 09:48:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679356 -2.817842)'), GeomFromEWKT('SRID=4674;POINT (-39.679305 -2.817699)'))) / (select extract(epoch from '2026-06-18 09:48:24'::timestamp) - extract(epoch from '2026-06-18 09:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679356 -2.817842)'), GeomFromEWKT('SRID=4674;POINT (-39.679305 -2.817699)'))) / (select extract(epoch from '2026-06-18 09:48:24'::timestamp) - extract(epoch from '2026-06-18 09:48: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'), 46821, 'SRID=4674;POINT (-39.679262 -2.817573)', '2026-06-18 09:48:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679305 -2.817699)'), GeomFromEWKT('SRID=4674;POINT (-39.679262 -2.817573)'))) / (select extract(epoch from '2026-06-18 09:48:30'::timestamp) - extract(epoch from '2026-06-18 09:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679305 -2.817699)'), GeomFromEWKT('SRID=4674;POINT (-39.679262 -2.817573)'))) / (select extract(epoch from '2026-06-18 09:48:30'::timestamp) - extract(epoch from '2026-06-18 09:48: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'), 46821, 'SRID=4674;POINT (-39.679208 -2.817423)', '2026-06-18 09:48:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679262 -2.817573)'), GeomFromEWKT('SRID=4674;POINT (-39.679208 -2.817423)'))) / (select extract(epoch from '2026-06-18 09:48:37'::timestamp) - extract(epoch from '2026-06-18 09:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679262 -2.817573)'), GeomFromEWKT('SRID=4674;POINT (-39.679208 -2.817423)'))) / (select extract(epoch from '2026-06-18 09:48:37'::timestamp) - extract(epoch from '2026-06-18 09:48: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'), 46821, 'SRID=4674;POINT (-39.679171 -2.817294)', '2026-06-18 09:48:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679208 -2.817423)'), GeomFromEWKT('SRID=4674;POINT (-39.679171 -2.817294)'))) / (select extract(epoch from '2026-06-18 09:48:43'::timestamp) - extract(epoch from '2026-06-18 09:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679208 -2.817423)'), GeomFromEWKT('SRID=4674;POINT (-39.679171 -2.817294)'))) / (select extract(epoch from '2026-06-18 09:48:43'::timestamp) - extract(epoch from '2026-06-18 09:48: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'), 46821, 'SRID=4674;POINT (-39.679128 -2.817166)', '2026-06-18 09:48:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679171 -2.817294)'), GeomFromEWKT('SRID=4674;POINT (-39.679128 -2.817166)'))) / (select extract(epoch from '2026-06-18 09:48:49'::timestamp) - extract(epoch from '2026-06-18 09:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679171 -2.817294)'), GeomFromEWKT('SRID=4674;POINT (-39.679128 -2.817166)'))) / (select extract(epoch from '2026-06-18 09:48:49'::timestamp) - extract(epoch from '2026-06-18 09:48: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'), 46821, 'SRID=4674;POINT (-39.679083 -2.817019)', '2026-06-18 09:48:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679128 -2.817166)'), GeomFromEWKT('SRID=4674;POINT (-39.679083 -2.817019)'))) / (select extract(epoch from '2026-06-18 09:48:56'::timestamp) - extract(epoch from '2026-06-18 09:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679128 -2.817166)'), GeomFromEWKT('SRID=4674;POINT (-39.679083 -2.817019)'))) / (select extract(epoch from '2026-06-18 09:48:56'::timestamp) - extract(epoch from '2026-06-18 09:48: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'), 46821, 'SRID=4674;POINT (-39.679047 -2.816916)', '2026-06-18 09:49:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679083 -2.817019)'), GeomFromEWKT('SRID=4674;POINT (-39.679047 -2.816916)'))) / (select extract(epoch from '2026-06-18 09:49:01'::timestamp) - extract(epoch from '2026-06-18 09:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679083 -2.817019)'), GeomFromEWKT('SRID=4674;POINT (-39.679047 -2.816916)'))) / (select extract(epoch from '2026-06-18 09:49:01'::timestamp) - extract(epoch from '2026-06-18 09:48: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'), 46821, 'SRID=4674;POINT (-39.679026 -2.816826)', '2026-06-18 09:49:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679047 -2.816916)'), GeomFromEWKT('SRID=4674;POINT (-39.679026 -2.816826)'))) / (select extract(epoch from '2026-06-18 09:49:05'::timestamp) - extract(epoch from '2026-06-18 09:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679047 -2.816916)'), GeomFromEWKT('SRID=4674;POINT (-39.679026 -2.816826)'))) / (select extract(epoch from '2026-06-18 09:49:05'::timestamp) - extract(epoch from '2026-06-18 09:49: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'), 46821, 'SRID=4674;POINT (-39.679018 -2.816802)', '2026-06-18 09:49:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679026 -2.816826)'), GeomFromEWKT('SRID=4674;POINT (-39.679018 -2.816802)'))) / (select extract(epoch from '2026-06-18 09:49:06'::timestamp) - extract(epoch from '2026-06-18 09:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679026 -2.816826)'), GeomFromEWKT('SRID=4674;POINT (-39.679018 -2.816802)'))) / (select extract(epoch from '2026-06-18 09:49:06'::timestamp) - extract(epoch from '2026-06-18 09:49: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'), 46821, 'SRID=4674;POINT (-39.678985 -2.816689)', '2026-06-18 09:49:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679018 -2.816802)'), GeomFromEWKT('SRID=4674;POINT (-39.678985 -2.816689)'))) / (select extract(epoch from '2026-06-18 09:49:11'::timestamp) - extract(epoch from '2026-06-18 09:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.679018 -2.816802)'), GeomFromEWKT('SRID=4674;POINT (-39.678985 -2.816689)'))) / (select extract(epoch from '2026-06-18 09:49:11'::timestamp) - extract(epoch from '2026-06-18 09:49: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'), 46821, 'SRID=4674;POINT (-39.678943 -2.816536)', '2026-06-18 09:49:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678985 -2.816689)'), GeomFromEWKT('SRID=4674;POINT (-39.678943 -2.816536)'))) / (select extract(epoch from '2026-06-18 09:49:18'::timestamp) - extract(epoch from '2026-06-18 09:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678985 -2.816689)'), GeomFromEWKT('SRID=4674;POINT (-39.678943 -2.816536)'))) / (select extract(epoch from '2026-06-18 09:49:18'::timestamp) - extract(epoch from '2026-06-18 09:49: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'), 46821, 'SRID=4674;POINT (-39.678906 -2.816406)', '2026-06-18 09:49:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678943 -2.816536)'), GeomFromEWKT('SRID=4674;POINT (-39.678906 -2.816406)'))) / (select extract(epoch from '2026-06-18 09:49:24'::timestamp) - extract(epoch from '2026-06-18 09:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678943 -2.816536)'), GeomFromEWKT('SRID=4674;POINT (-39.678906 -2.816406)'))) / (select extract(epoch from '2026-06-18 09:49:24'::timestamp) - extract(epoch from '2026-06-18 09:49: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'), 46821, 'SRID=4674;POINT (-39.678882 -2.816297)', '2026-06-18 09:49:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678906 -2.816406)'), GeomFromEWKT('SRID=4674;POINT (-39.678882 -2.816297)'))) / (select extract(epoch from '2026-06-18 09:49:29'::timestamp) - extract(epoch from '2026-06-18 09:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678906 -2.816406)'), GeomFromEWKT('SRID=4674;POINT (-39.678882 -2.816297)'))) / (select extract(epoch from '2026-06-18 09:49:29'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.678847 -2.816165)', '2026-06-18 09:49:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678882 -2.816297)'), GeomFromEWKT('SRID=4674;POINT (-39.678847 -2.816165)'))) / (select extract(epoch from '2026-06-18 09:49:35'::timestamp) - extract(epoch from '2026-06-18 09:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678882 -2.816297)'), GeomFromEWKT('SRID=4674;POINT (-39.678847 -2.816165)'))) / (select extract(epoch from '2026-06-18 09:49:35'::timestamp) - extract(epoch from '2026-06-18 09:49: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'), 46821, 'SRID=4674;POINT (-39.678816 -2.816058)', '2026-06-18 09:49:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678847 -2.816165)'), GeomFromEWKT('SRID=4674;POINT (-39.678816 -2.816058)'))) / (select extract(epoch from '2026-06-18 09:49:40'::timestamp) - extract(epoch from '2026-06-18 09:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678847 -2.816165)'), GeomFromEWKT('SRID=4674;POINT (-39.678816 -2.816058)'))) / (select extract(epoch from '2026-06-18 09:49:40'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.678776 -2.815901)', '2026-06-18 09:49:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678816 -2.816058)'), GeomFromEWKT('SRID=4674;POINT (-39.678776 -2.815901)'))) / (select extract(epoch from '2026-06-18 09:49:47'::timestamp) - extract(epoch from '2026-06-18 09:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678816 -2.816058)'), GeomFromEWKT('SRID=4674;POINT (-39.678776 -2.815901)'))) / (select extract(epoch from '2026-06-18 09:49:47'::timestamp) - extract(epoch from '2026-06-18 09:49: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'), 46821, 'SRID=4674;POINT (-39.678739 -2.815771)', '2026-06-18 09:49:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678776 -2.815901)'), GeomFromEWKT('SRID=4674;POINT (-39.678739 -2.815771)'))) / (select extract(epoch from '2026-06-18 09:49:53'::timestamp) - extract(epoch from '2026-06-18 09:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678776 -2.815901)'), GeomFromEWKT('SRID=4674;POINT (-39.678739 -2.815771)'))) / (select extract(epoch from '2026-06-18 09:49:53'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.678711 -2.815672)', '2026-06-18 09:49:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678739 -2.815771)'), GeomFromEWKT('SRID=4674;POINT (-39.678711 -2.815672)'))) / (select extract(epoch from '2026-06-18 09:49:58'::timestamp) - extract(epoch from '2026-06-18 09:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678739 -2.815771)'), GeomFromEWKT('SRID=4674;POINT (-39.678711 -2.815672)'))) / (select extract(epoch from '2026-06-18 09:49:58'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.678661 -2.815525)', '2026-06-18 09:50:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678711 -2.815672)'), GeomFromEWKT('SRID=4674;POINT (-39.678661 -2.815525)'))) / (select extract(epoch from '2026-06-18 09:50:05'::timestamp) - extract(epoch from '2026-06-18 09:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678711 -2.815672)'), GeomFromEWKT('SRID=4674;POINT (-39.678661 -2.815525)'))) / (select extract(epoch from '2026-06-18 09:50:05'::timestamp) - extract(epoch from '2026-06-18 09:49: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'), 46821, 'SRID=4674;POINT (-39.678633 -2.815423)', '2026-06-18 09:50:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678661 -2.815525)'), GeomFromEWKT('SRID=4674;POINT (-39.678633 -2.815423)'))) / (select extract(epoch from '2026-06-18 09:50:10'::timestamp) - extract(epoch from '2026-06-18 09:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678661 -2.815525)'), GeomFromEWKT('SRID=4674;POINT (-39.678633 -2.815423)'))) / (select extract(epoch from '2026-06-18 09:50:10'::timestamp) - extract(epoch from '2026-06-18 09:50: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'), 46821, 'SRID=4674;POINT (-39.678605 -2.815321)', '2026-06-18 09:50:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678633 -2.815423)'), GeomFromEWKT('SRID=4674;POINT (-39.678605 -2.815321)'))) / (select extract(epoch from '2026-06-18 09:50:15'::timestamp) - extract(epoch from '2026-06-18 09:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678633 -2.815423)'), GeomFromEWKT('SRID=4674;POINT (-39.678605 -2.815321)'))) / (select extract(epoch from '2026-06-18 09:50:15'::timestamp) - extract(epoch from '2026-06-18 09:50: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'), 46821, 'SRID=4674;POINT (-39.678567 -2.815198)', '2026-06-18 09:50:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678605 -2.815321)'), GeomFromEWKT('SRID=4674;POINT (-39.678567 -2.815198)'))) / (select extract(epoch from '2026-06-18 09:50:21'::timestamp) - extract(epoch from '2026-06-18 09:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678605 -2.815321)'), GeomFromEWKT('SRID=4674;POINT (-39.678567 -2.815198)'))) / (select extract(epoch from '2026-06-18 09:50:21'::timestamp) - extract(epoch from '2026-06-18 09:50: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'), 46821, 'SRID=4674;POINT (-39.678524 -2.815054)', '2026-06-18 09:50:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678567 -2.815198)'), GeomFromEWKT('SRID=4674;POINT (-39.678524 -2.815054)'))) / (select extract(epoch from '2026-06-18 09:50:28'::timestamp) - extract(epoch from '2026-06-18 09:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678567 -2.815198)'), GeomFromEWKT('SRID=4674;POINT (-39.678524 -2.815054)'))) / (select extract(epoch from '2026-06-18 09:50:28'::timestamp) - extract(epoch from '2026-06-18 09:50: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'), 46821, 'SRID=4674;POINT (-39.678483 -2.814928)', '2026-06-18 09:50:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678524 -2.815054)'), GeomFromEWKT('SRID=4674;POINT (-39.678483 -2.814928)'))) / (select extract(epoch from '2026-06-18 09:50:34'::timestamp) - extract(epoch from '2026-06-18 09:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678524 -2.815054)'), GeomFromEWKT('SRID=4674;POINT (-39.678483 -2.814928)'))) / (select extract(epoch from '2026-06-18 09:50:34'::timestamp) - extract(epoch from '2026-06-18 09:50: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'), 46821, 'SRID=4674;POINT (-39.678457 -2.814821)', '2026-06-18 09:50:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678483 -2.814928)'), GeomFromEWKT('SRID=4674;POINT (-39.678457 -2.814821)'))) / (select extract(epoch from '2026-06-18 09:50:39'::timestamp) - extract(epoch from '2026-06-18 09:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678483 -2.814928)'), GeomFromEWKT('SRID=4674;POINT (-39.678457 -2.814821)'))) / (select extract(epoch from '2026-06-18 09:50:39'::timestamp) - extract(epoch from '2026-06-18 09:50: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'), 46821, 'SRID=4674;POINT (-39.678414 -2.814693)', '2026-06-18 09:50:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678457 -2.814821)'), GeomFromEWKT('SRID=4674;POINT (-39.678414 -2.814693)'))) / (select extract(epoch from '2026-06-18 09:50:45'::timestamp) - extract(epoch from '2026-06-18 09:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678457 -2.814821)'), GeomFromEWKT('SRID=4674;POINT (-39.678414 -2.814693)'))) / (select extract(epoch from '2026-06-18 09:50:45'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.678376 -2.814584)', '2026-06-18 09:50:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678414 -2.814693)'), GeomFromEWKT('SRID=4674;POINT (-39.678376 -2.814584)'))) / (select extract(epoch from '2026-06-18 09:50:50'::timestamp) - extract(epoch from '2026-06-18 09:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678414 -2.814693)'), GeomFromEWKT('SRID=4674;POINT (-39.678376 -2.814584)'))) / (select extract(epoch from '2026-06-18 09:50:50'::timestamp) - extract(epoch from '2026-06-18 09:50: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'), 46821, 'SRID=4674;POINT (-39.678338 -2.814464)', '2026-06-18 09:50:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678376 -2.814584)'), GeomFromEWKT('SRID=4674;POINT (-39.678338 -2.814464)'))) / (select extract(epoch from '2026-06-18 09:50:56'::timestamp) - extract(epoch from '2026-06-18 09:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678376 -2.814584)'), GeomFromEWKT('SRID=4674;POINT (-39.678338 -2.814464)'))) / (select extract(epoch from '2026-06-18 09:50:56'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.678307 -2.814362)', '2026-06-18 09:51:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678338 -2.814464)'), GeomFromEWKT('SRID=4674;POINT (-39.678307 -2.814362)'))) / (select extract(epoch from '2026-06-18 09:51:01'::timestamp) - extract(epoch from '2026-06-18 09:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678338 -2.814464)'), GeomFromEWKT('SRID=4674;POINT (-39.678307 -2.814362)'))) / (select extract(epoch from '2026-06-18 09:51:01'::timestamp) - extract(epoch from '2026-06-18 09:50: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'), 46821, 'SRID=4674;POINT (-39.678255 -2.814213)', '2026-06-18 09:51:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678307 -2.814362)'), GeomFromEWKT('SRID=4674;POINT (-39.678255 -2.814213)'))) / (select extract(epoch from '2026-06-18 09:51:08'::timestamp) - extract(epoch from '2026-06-18 09:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678307 -2.814362)'), GeomFromEWKT('SRID=4674;POINT (-39.678255 -2.814213)'))) / (select extract(epoch from '2026-06-18 09:51:08'::timestamp) - extract(epoch from '2026-06-18 09:51: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'), 46821, 'SRID=4674;POINT (-39.678225 -2.814073)', '2026-06-18 09:51:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678255 -2.814213)'), GeomFromEWKT('SRID=4674;POINT (-39.678225 -2.814073)'))) / (select extract(epoch from '2026-06-18 09:51:14'::timestamp) - extract(epoch from '2026-06-18 09:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678255 -2.814213)'), GeomFromEWKT('SRID=4674;POINT (-39.678225 -2.814073)'))) / (select extract(epoch from '2026-06-18 09:51:14'::timestamp) - extract(epoch from '2026-06-18 09:51: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'), 46821, 'SRID=4674;POINT (-39.678195 -2.813932)', '2026-06-18 09:51:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678225 -2.814073)'), GeomFromEWKT('SRID=4674;POINT (-39.678195 -2.813932)'))) / (select extract(epoch from '2026-06-18 09:51:20'::timestamp) - extract(epoch from '2026-06-18 09:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678225 -2.814073)'), GeomFromEWKT('SRID=4674;POINT (-39.678195 -2.813932)'))) / (select extract(epoch from '2026-06-18 09:51:20'::timestamp) - extract(epoch from '2026-06-18 09:51: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'), 46821, 'SRID=4674;POINT (-39.678172 -2.813794)', '2026-06-18 09:51:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678195 -2.813932)'), GeomFromEWKT('SRID=4674;POINT (-39.678172 -2.813794)'))) / (select extract(epoch from '2026-06-18 09:51:26'::timestamp) - extract(epoch from '2026-06-18 09:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678195 -2.813932)'), GeomFromEWKT('SRID=4674;POINT (-39.678172 -2.813794)'))) / (select extract(epoch from '2026-06-18 09:51:26'::timestamp) - extract(epoch from '2026-06-18 09:51: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'), 46821, 'SRID=4674;POINT (-39.678148 -2.813655)', '2026-06-18 09:51:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678172 -2.813794)'), GeomFromEWKT('SRID=4674;POINT (-39.678148 -2.813655)'))) / (select extract(epoch from '2026-06-18 09:51:32'::timestamp) - extract(epoch from '2026-06-18 09:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678172 -2.813794)'), GeomFromEWKT('SRID=4674;POINT (-39.678148 -2.813655)'))) / (select extract(epoch from '2026-06-18 09:51:32'::timestamp) - extract(epoch from '2026-06-18 09:51: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'), 46821, 'SRID=4674;POINT (-39.678128 -2.813543)', '2026-06-18 09:51:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678148 -2.813655)'), GeomFromEWKT('SRID=4674;POINT (-39.678128 -2.813543)'))) / (select extract(epoch from '2026-06-18 09:51:37'::timestamp) - extract(epoch from '2026-06-18 09:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678148 -2.813655)'), GeomFromEWKT('SRID=4674;POINT (-39.678128 -2.813543)'))) / (select extract(epoch from '2026-06-18 09:51:37'::timestamp) - extract(epoch from '2026-06-18 09:51: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'), 46821, 'SRID=4674;POINT (-39.678093 -2.813388)', '2026-06-18 09:51:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678128 -2.813543)'), GeomFromEWKT('SRID=4674;POINT (-39.678093 -2.813388)'))) / (select extract(epoch from '2026-06-18 09:51:44'::timestamp) - extract(epoch from '2026-06-18 09:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678128 -2.813543)'), GeomFromEWKT('SRID=4674;POINT (-39.678093 -2.813388)'))) / (select extract(epoch from '2026-06-18 09:51:44'::timestamp) - extract(epoch from '2026-06-18 09:51: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'), 46821, 'SRID=4674;POINT (-39.678054 -2.813252)', '2026-06-18 09:51:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678093 -2.813388)'), GeomFromEWKT('SRID=4674;POINT (-39.678054 -2.813252)'))) / (select extract(epoch from '2026-06-18 09:51:50'::timestamp) - extract(epoch from '2026-06-18 09:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678093 -2.813388)'), GeomFromEWKT('SRID=4674;POINT (-39.678054 -2.813252)'))) / (select extract(epoch from '2026-06-18 09:51:50'::timestamp) - extract(epoch from '2026-06-18 09:51: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'), 46821, 'SRID=4674;POINT (-39.678014 -2.813124)', '2026-06-18 09:51:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678054 -2.813252)'), GeomFromEWKT('SRID=4674;POINT (-39.678014 -2.813124)'))) / (select extract(epoch from '2026-06-18 09:51:56'::timestamp) - extract(epoch from '2026-06-18 09:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678054 -2.813252)'), GeomFromEWKT('SRID=4674;POINT (-39.678014 -2.813124)'))) / (select extract(epoch from '2026-06-18 09:51:56'::timestamp) - extract(epoch from '2026-06-18 09:51: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'), 46821, 'SRID=4674;POINT (-39.677968 -2.812969)', '2026-06-18 09:52:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678014 -2.813124)'), GeomFromEWKT('SRID=4674;POINT (-39.677968 -2.812969)'))) / (select extract(epoch from '2026-06-18 09:52:03'::timestamp) - extract(epoch from '2026-06-18 09:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.678014 -2.813124)'), GeomFromEWKT('SRID=4674;POINT (-39.677968 -2.812969)'))) / (select extract(epoch from '2026-06-18 09:52:03'::timestamp) - extract(epoch from '2026-06-18 09:51: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'), 46821, 'SRID=4674;POINT (-39.677922 -2.812834)', '2026-06-18 09:52:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677968 -2.812969)'), GeomFromEWKT('SRID=4674;POINT (-39.677922 -2.812834)'))) / (select extract(epoch from '2026-06-18 09:52:09'::timestamp) - extract(epoch from '2026-06-18 09:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677968 -2.812969)'), GeomFromEWKT('SRID=4674;POINT (-39.677922 -2.812834)'))) / (select extract(epoch from '2026-06-18 09:52:09'::timestamp) - extract(epoch from '2026-06-18 09:52: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'), 46821, 'SRID=4674;POINT (-39.677885 -2.812722)', '2026-06-18 09:52:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677922 -2.812834)'), GeomFromEWKT('SRID=4674;POINT (-39.677885 -2.812722)'))) / (select extract(epoch from '2026-06-18 09:52:14'::timestamp) - extract(epoch from '2026-06-18 09:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677922 -2.812834)'), GeomFromEWKT('SRID=4674;POINT (-39.677885 -2.812722)'))) / (select extract(epoch from '2026-06-18 09:52:14'::timestamp) - extract(epoch from '2026-06-18 09:52: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'), 46821, 'SRID=4674;POINT (-39.677843 -2.812591)', '2026-06-18 09:52:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677885 -2.812722)'), GeomFromEWKT('SRID=4674;POINT (-39.677843 -2.812591)'))) / (select extract(epoch from '2026-06-18 09:52:20'::timestamp) - extract(epoch from '2026-06-18 09:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677885 -2.812722)'), GeomFromEWKT('SRID=4674;POINT (-39.677843 -2.812591)'))) / (select extract(epoch from '2026-06-18 09:52:20'::timestamp) - extract(epoch from '2026-06-18 09:52: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'), 46821, 'SRID=4674;POINT (-39.677812 -2.812505)', '2026-06-18 09:52:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677843 -2.812591)'), GeomFromEWKT('SRID=4674;POINT (-39.677812 -2.812505)'))) / (select extract(epoch from '2026-06-18 09:52:24'::timestamp) - extract(epoch from '2026-06-18 09:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677843 -2.812591)'), GeomFromEWKT('SRID=4674;POINT (-39.677812 -2.812505)'))) / (select extract(epoch from '2026-06-18 09:52:24'::timestamp) - extract(epoch from '2026-06-18 09:52: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'), 46821, 'SRID=4674;POINT (-39.677795 -2.812463)', '2026-06-18 09:52:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677812 -2.812505)'), GeomFromEWKT('SRID=4674;POINT (-39.677795 -2.812463)'))) / (select extract(epoch from '2026-06-18 09:52:26'::timestamp) - extract(epoch from '2026-06-18 09:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677812 -2.812505)'), GeomFromEWKT('SRID=4674;POINT (-39.677795 -2.812463)'))) / (select extract(epoch from '2026-06-18 09:52:26'::timestamp) - extract(epoch from '2026-06-18 09:52: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'), 46821, 'SRID=4674;POINT (-39.677743 -2.812307)', '2026-06-18 09:52:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677795 -2.812463)'), GeomFromEWKT('SRID=4674;POINT (-39.677743 -2.812307)'))) / (select extract(epoch from '2026-06-18 09:52:33'::timestamp) - extract(epoch from '2026-06-18 09:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677795 -2.812463)'), GeomFromEWKT('SRID=4674;POINT (-39.677743 -2.812307)'))) / (select extract(epoch from '2026-06-18 09:52:33'::timestamp) - extract(epoch from '2026-06-18 09:52: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'), 46821, 'SRID=4674;POINT (-39.677702 -2.812167)', '2026-06-18 09:52:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677743 -2.812307)'), GeomFromEWKT('SRID=4674;POINT (-39.677702 -2.812167)'))) / (select extract(epoch from '2026-06-18 09:52:39'::timestamp) - extract(epoch from '2026-06-18 09:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677743 -2.812307)'), GeomFromEWKT('SRID=4674;POINT (-39.677702 -2.812167)'))) / (select extract(epoch from '2026-06-18 09:52:39'::timestamp) - extract(epoch from '2026-06-18 09:52: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'), 46821, 'SRID=4674;POINT (-39.677664 -2.812025)', '2026-06-18 09:52:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677702 -2.812167)'), GeomFromEWKT('SRID=4674;POINT (-39.677664 -2.812025)'))) / (select extract(epoch from '2026-06-18 09:52:45'::timestamp) - extract(epoch from '2026-06-18 09:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677702 -2.812167)'), GeomFromEWKT('SRID=4674;POINT (-39.677664 -2.812025)'))) / (select extract(epoch from '2026-06-18 09:52:45'::timestamp) - extract(epoch from '2026-06-18 09:52: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'), 46821, 'SRID=4674;POINT (-39.677618 -2.811861)', '2026-06-18 09:52:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677664 -2.812025)'), GeomFromEWKT('SRID=4674;POINT (-39.677618 -2.811861)'))) / (select extract(epoch from '2026-06-18 09:52:52'::timestamp) - extract(epoch from '2026-06-18 09:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677664 -2.812025)'), GeomFromEWKT('SRID=4674;POINT (-39.677618 -2.811861)'))) / (select extract(epoch from '2026-06-18 09:52:52'::timestamp) - extract(epoch from '2026-06-18 09:52: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'), 46821, 'SRID=4674;POINT (-39.677584 -2.811746)', '2026-06-18 09:52:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677618 -2.811861)'), GeomFromEWKT('SRID=4674;POINT (-39.677584 -2.811746)'))) / (select extract(epoch from '2026-06-18 09:52:57'::timestamp) - extract(epoch from '2026-06-18 09:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677618 -2.811861)'), GeomFromEWKT('SRID=4674;POINT (-39.677584 -2.811746)'))) / (select extract(epoch from '2026-06-18 09:52:57'::timestamp) - extract(epoch from '2026-06-18 09:52: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'), 46821, 'SRID=4674;POINT (-39.677529 -2.811592)', '2026-06-18 09:53:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677584 -2.811746)'), GeomFromEWKT('SRID=4674;POINT (-39.677529 -2.811592)'))) / (select extract(epoch from '2026-06-18 09:53:04'::timestamp) - extract(epoch from '2026-06-18 09:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677584 -2.811746)'), GeomFromEWKT('SRID=4674;POINT (-39.677529 -2.811592)'))) / (select extract(epoch from '2026-06-18 09:53:04'::timestamp) - extract(epoch from '2026-06-18 09:52: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'), 46821, 'SRID=4674;POINT (-39.677492 -2.811461)', '2026-06-18 09:53:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677529 -2.811592)'), GeomFromEWKT('SRID=4674;POINT (-39.677492 -2.811461)'))) / (select extract(epoch from '2026-06-18 09:53:10'::timestamp) - extract(epoch from '2026-06-18 09:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677529 -2.811592)'), GeomFromEWKT('SRID=4674;POINT (-39.677492 -2.811461)'))) / (select extract(epoch from '2026-06-18 09:53:10'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.677464 -2.811346)', '2026-06-18 09:53:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677492 -2.811461)'), GeomFromEWKT('SRID=4674;POINT (-39.677464 -2.811346)'))) / (select extract(epoch from '2026-06-18 09:53:15'::timestamp) - extract(epoch from '2026-06-18 09:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677492 -2.811461)'), GeomFromEWKT('SRID=4674;POINT (-39.677464 -2.811346)'))) / (select extract(epoch from '2026-06-18 09:53:15'::timestamp) - extract(epoch from '2026-06-18 09:53: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'), 46821, 'SRID=4674;POINT (-39.677422 -2.811213)', '2026-06-18 09:53:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677464 -2.811346)'), GeomFromEWKT('SRID=4674;POINT (-39.677422 -2.811213)'))) / (select extract(epoch from '2026-06-18 09:53:21'::timestamp) - extract(epoch from '2026-06-18 09:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677464 -2.811346)'), GeomFromEWKT('SRID=4674;POINT (-39.677422 -2.811213)'))) / (select extract(epoch from '2026-06-18 09:53:21'::timestamp) - extract(epoch from '2026-06-18 09:53: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'), 46821, 'SRID=4674;POINT (-39.677373 -2.811058)', '2026-06-18 09:53:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677422 -2.811213)'), GeomFromEWKT('SRID=4674;POINT (-39.677373 -2.811058)'))) / (select extract(epoch from '2026-06-18 09:53:28'::timestamp) - extract(epoch from '2026-06-18 09:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677422 -2.811213)'), GeomFromEWKT('SRID=4674;POINT (-39.677373 -2.811058)'))) / (select extract(epoch from '2026-06-18 09:53:28'::timestamp) - extract(epoch from '2026-06-18 09:53: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'), 46821, 'SRID=4674;POINT (-39.677338 -2.810922)', '2026-06-18 09:53:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677373 -2.811058)'), GeomFromEWKT('SRID=4674;POINT (-39.677338 -2.810922)'))) / (select extract(epoch from '2026-06-18 09:53:34'::timestamp) - extract(epoch from '2026-06-18 09:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677373 -2.811058)'), GeomFromEWKT('SRID=4674;POINT (-39.677338 -2.810922)'))) / (select extract(epoch from '2026-06-18 09:53:34'::timestamp) - extract(epoch from '2026-06-18 09:53: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'), 46821, 'SRID=4674;POINT (-39.677298 -2.810767)', '2026-06-18 09:53:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677338 -2.810922)'), GeomFromEWKT('SRID=4674;POINT (-39.677298 -2.810767)'))) / (select extract(epoch from '2026-06-18 09:53:41'::timestamp) - extract(epoch from '2026-06-18 09:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677338 -2.810922)'), GeomFromEWKT('SRID=4674;POINT (-39.677298 -2.810767)'))) / (select extract(epoch from '2026-06-18 09:53:41'::timestamp) - extract(epoch from '2026-06-18 09:53: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'), 46821, 'SRID=4674;POINT (-39.677263 -2.810629)', '2026-06-18 09:53:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677298 -2.810767)'), GeomFromEWKT('SRID=4674;POINT (-39.677263 -2.810629)'))) / (select extract(epoch from '2026-06-18 09:53:47'::timestamp) - extract(epoch from '2026-06-18 09:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677298 -2.810767)'), GeomFromEWKT('SRID=4674;POINT (-39.677263 -2.810629)'))) / (select extract(epoch from '2026-06-18 09:53:47'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.67722 -2.81047)', '2026-06-18 09:53:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677263 -2.810629)'), GeomFromEWKT('SRID=4674;POINT (-39.67722 -2.81047)'))) / (select extract(epoch from '2026-06-18 09:53:54'::timestamp) - extract(epoch from '2026-06-18 09:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677263 -2.810629)'), GeomFromEWKT('SRID=4674;POINT (-39.67722 -2.81047)'))) / (select extract(epoch from '2026-06-18 09:53:54'::timestamp) - extract(epoch from '2026-06-18 09:53: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'), 46821, 'SRID=4674;POINT (-39.677186 -2.810331)', '2026-06-18 09:54:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67722 -2.81047)'), GeomFromEWKT('SRID=4674;POINT (-39.677186 -2.810331)'))) / (select extract(epoch from '2026-06-18 09:54:00'::timestamp) - extract(epoch from '2026-06-18 09:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67722 -2.81047)'), GeomFromEWKT('SRID=4674;POINT (-39.677186 -2.810331)'))) / (select extract(epoch from '2026-06-18 09:54:00'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.677144 -2.810178)', '2026-06-18 09:54:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677186 -2.810331)'), GeomFromEWKT('SRID=4674;POINT (-39.677144 -2.810178)'))) / (select extract(epoch from '2026-06-18 09:54:07'::timestamp) - extract(epoch from '2026-06-18 09:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677186 -2.810331)'), GeomFromEWKT('SRID=4674;POINT (-39.677144 -2.810178)'))) / (select extract(epoch from '2026-06-18 09:54:07'::timestamp) - extract(epoch from '2026-06-18 09:54: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'), 46821, 'SRID=4674;POINT (-39.677108 -2.810015)', '2026-06-18 09:54:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677144 -2.810178)'), GeomFromEWKT('SRID=4674;POINT (-39.677108 -2.810015)'))) / (select extract(epoch from '2026-06-18 09:54:14'::timestamp) - extract(epoch from '2026-06-18 09:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677144 -2.810178)'), GeomFromEWKT('SRID=4674;POINT (-39.677108 -2.810015)'))) / (select extract(epoch from '2026-06-18 09:54:14'::timestamp) - extract(epoch from '2026-06-18 09:54: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'), 46821, 'SRID=4674;POINT (-39.677082 -2.809901)', '2026-06-18 09:54:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677108 -2.810015)'), GeomFromEWKT('SRID=4674;POINT (-39.677082 -2.809901)'))) / (select extract(epoch from '2026-06-18 09:54:19'::timestamp) - extract(epoch from '2026-06-18 09:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677108 -2.810015)'), GeomFromEWKT('SRID=4674;POINT (-39.677082 -2.809901)'))) / (select extract(epoch from '2026-06-18 09:54:19'::timestamp) - extract(epoch from '2026-06-18 09:54: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'), 46821, 'SRID=4674;POINT (-39.677036 -2.809769)', '2026-06-18 09:54:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677082 -2.809901)'), GeomFromEWKT('SRID=4674;POINT (-39.677036 -2.809769)'))) / (select extract(epoch from '2026-06-18 09:54:25'::timestamp) - extract(epoch from '2026-06-18 09:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677082 -2.809901)'), GeomFromEWKT('SRID=4674;POINT (-39.677036 -2.809769)'))) / (select extract(epoch from '2026-06-18 09:54:25'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.677004 -2.809681)', '2026-06-18 09:54:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677036 -2.809769)'), GeomFromEWKT('SRID=4674;POINT (-39.677004 -2.809681)'))) / (select extract(epoch from '2026-06-18 09:54:29'::timestamp) - extract(epoch from '2026-06-18 09:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677036 -2.809769)'), GeomFromEWKT('SRID=4674;POINT (-39.677004 -2.809681)'))) / (select extract(epoch from '2026-06-18 09:54:29'::timestamp) - extract(epoch from '2026-06-18 09:54: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'), 46821, 'SRID=4674;POINT (-39.676994 -2.809658)', '2026-06-18 09:54:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677004 -2.809681)'), GeomFromEWKT('SRID=4674;POINT (-39.676994 -2.809658)'))) / (select extract(epoch from '2026-06-18 09:54:30'::timestamp) - extract(epoch from '2026-06-18 09:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.677004 -2.809681)'), GeomFromEWKT('SRID=4674;POINT (-39.676994 -2.809658)'))) / (select extract(epoch from '2026-06-18 09:54:30'::timestamp) - extract(epoch from '2026-06-18 09:54: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'), 46821, 'SRID=4674;POINT (-39.676936 -2.809495)', '2026-06-18 09:54:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676994 -2.809658)'), GeomFromEWKT('SRID=4674;POINT (-39.676936 -2.809495)'))) / (select extract(epoch from '2026-06-18 09:54:37'::timestamp) - extract(epoch from '2026-06-18 09:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676994 -2.809658)'), GeomFromEWKT('SRID=4674;POINT (-39.676936 -2.809495)'))) / (select extract(epoch from '2026-06-18 09:54:37'::timestamp) - extract(epoch from '2026-06-18 09:54: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'), 46821, 'SRID=4674;POINT (-39.67689 -2.809335)', '2026-06-18 09:54:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676936 -2.809495)'), GeomFromEWKT('SRID=4674;POINT (-39.67689 -2.809335)'))) / (select extract(epoch from '2026-06-18 09:54:44'::timestamp) - extract(epoch from '2026-06-18 09:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676936 -2.809495)'), GeomFromEWKT('SRID=4674;POINT (-39.67689 -2.809335)'))) / (select extract(epoch from '2026-06-18 09:54:44'::timestamp) - extract(epoch from '2026-06-18 09:54: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'), 46821, 'SRID=4674;POINT (-39.676845 -2.809202)', '2026-06-18 09:54:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67689 -2.809335)'), GeomFromEWKT('SRID=4674;POINT (-39.676845 -2.809202)'))) / (select extract(epoch from '2026-06-18 09:54:50'::timestamp) - extract(epoch from '2026-06-18 09:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67689 -2.809335)'), GeomFromEWKT('SRID=4674;POINT (-39.676845 -2.809202)'))) / (select extract(epoch from '2026-06-18 09:54:50'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.676791 -2.809027)', '2026-06-18 09:54:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676845 -2.809202)'), GeomFromEWKT('SRID=4674;POINT (-39.676791 -2.809027)'))) / (select extract(epoch from '2026-06-18 09:54:58'::timestamp) - extract(epoch from '2026-06-18 09:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676845 -2.809202)'), GeomFromEWKT('SRID=4674;POINT (-39.676791 -2.809027)'))) / (select extract(epoch from '2026-06-18 09:54:58'::timestamp) - extract(epoch from '2026-06-18 09:54: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'), 46821, 'SRID=4674;POINT (-39.676747 -2.808896)', '2026-06-18 09:55:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676791 -2.809027)'), GeomFromEWKT('SRID=4674;POINT (-39.676747 -2.808896)'))) / (select extract(epoch from '2026-06-18 09:55:04'::timestamp) - extract(epoch from '2026-06-18 09:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676791 -2.809027)'), GeomFromEWKT('SRID=4674;POINT (-39.676747 -2.808896)'))) / (select extract(epoch from '2026-06-18 09:55:04'::timestamp) - extract(epoch from '2026-06-18 09:54: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'), 46821, 'SRID=4674;POINT (-39.676722 -2.808786)', '2026-06-18 09:55:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676747 -2.808896)'), GeomFromEWKT('SRID=4674;POINT (-39.676722 -2.808786)'))) / (select extract(epoch from '2026-06-18 09:55:09'::timestamp) - extract(epoch from '2026-06-18 09:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676747 -2.808896)'), GeomFromEWKT('SRID=4674;POINT (-39.676722 -2.808786)'))) / (select extract(epoch from '2026-06-18 09:55:09'::timestamp) - extract(epoch from '2026-06-18 09:55: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'), 46821, 'SRID=4674;POINT (-39.676665 -2.808595)', '2026-06-18 09:55:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676722 -2.808786)'), GeomFromEWKT('SRID=4674;POINT (-39.676665 -2.808595)'))) / (select extract(epoch from '2026-06-18 09:55:18'::timestamp) - extract(epoch from '2026-06-18 09:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676722 -2.808786)'), GeomFromEWKT('SRID=4674;POINT (-39.676665 -2.808595)'))) / (select extract(epoch from '2026-06-18 09:55:18'::timestamp) - extract(epoch from '2026-06-18 09:55: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'), 46821, 'SRID=4674;POINT (-39.676616 -2.808441)', '2026-06-18 09:55:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676665 -2.808595)'), GeomFromEWKT('SRID=4674;POINT (-39.676616 -2.808441)'))) / (select extract(epoch from '2026-06-18 09:55:25'::timestamp) - extract(epoch from '2026-06-18 09:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676665 -2.808595)'), GeomFromEWKT('SRID=4674;POINT (-39.676616 -2.808441)'))) / (select extract(epoch from '2026-06-18 09:55:25'::timestamp) - extract(epoch from '2026-06-18 09:55: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'), 46821, 'SRID=4674;POINT (-39.67657 -2.80831)', '2026-06-18 09:55:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676616 -2.808441)'), GeomFromEWKT('SRID=4674;POINT (-39.67657 -2.80831)'))) / (select extract(epoch from '2026-06-18 09:55:31'::timestamp) - extract(epoch from '2026-06-18 09:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676616 -2.808441)'), GeomFromEWKT('SRID=4674;POINT (-39.67657 -2.80831)'))) / (select extract(epoch from '2026-06-18 09:55:31'::timestamp) - extract(epoch from '2026-06-18 09:55: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'), 46821, 'SRID=4674;POINT (-39.676532 -2.8082)', '2026-06-18 09:55:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67657 -2.80831)'), GeomFromEWKT('SRID=4674;POINT (-39.676532 -2.8082)'))) / (select extract(epoch from '2026-06-18 09:55:36'::timestamp) - extract(epoch from '2026-06-18 09:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67657 -2.80831)'), GeomFromEWKT('SRID=4674;POINT (-39.676532 -2.8082)'))) / (select extract(epoch from '2026-06-18 09:55:36'::timestamp) - extract(epoch from '2026-06-18 09:55: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'), 46821, 'SRID=4674;POINT (-39.676495 -2.808088)', '2026-06-18 09:55:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676532 -2.8082)'), GeomFromEWKT('SRID=4674;POINT (-39.676495 -2.808088)'))) / (select extract(epoch from '2026-06-18 09:55:41'::timestamp) - extract(epoch from '2026-06-18 09:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676532 -2.8082)'), GeomFromEWKT('SRID=4674;POINT (-39.676495 -2.808088)'))) / (select extract(epoch from '2026-06-18 09:55:41'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.676452 -2.807953)', '2026-06-18 09:55:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676495 -2.808088)'), GeomFromEWKT('SRID=4674;POINT (-39.676452 -2.807953)'))) / (select extract(epoch from '2026-06-18 09:55:47'::timestamp) - extract(epoch from '2026-06-18 09:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676495 -2.808088)'), GeomFromEWKT('SRID=4674;POINT (-39.676452 -2.807953)'))) / (select extract(epoch from '2026-06-18 09:55:47'::timestamp) - extract(epoch from '2026-06-18 09:55: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'), 46821, 'SRID=4674;POINT (-39.676428 -2.807833)', '2026-06-18 09:55:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676452 -2.807953)'), GeomFromEWKT('SRID=4674;POINT (-39.676428 -2.807833)'))) / (select extract(epoch from '2026-06-18 09:55:52'::timestamp) - extract(epoch from '2026-06-18 09:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676452 -2.807953)'), GeomFromEWKT('SRID=4674;POINT (-39.676428 -2.807833)'))) / (select extract(epoch from '2026-06-18 09:55:52'::timestamp) - extract(epoch from '2026-06-18 09:55: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'), 46821, 'SRID=4674;POINT (-39.676392 -2.807676)', '2026-06-18 09:55:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676428 -2.807833)'), GeomFromEWKT('SRID=4674;POINT (-39.676392 -2.807676)'))) / (select extract(epoch from '2026-06-18 09:55:59'::timestamp) - extract(epoch from '2026-06-18 09:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676428 -2.807833)'), GeomFromEWKT('SRID=4674;POINT (-39.676392 -2.807676)'))) / (select extract(epoch from '2026-06-18 09:55:59'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.676362 -2.807563)', '2026-06-18 09:56:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676392 -2.807676)'), GeomFromEWKT('SRID=4674;POINT (-39.676362 -2.807563)'))) / (select extract(epoch from '2026-06-18 09:56:04'::timestamp) - extract(epoch from '2026-06-18 09:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676392 -2.807676)'), GeomFromEWKT('SRID=4674;POINT (-39.676362 -2.807563)'))) / (select extract(epoch from '2026-06-18 09:56:04'::timestamp) - extract(epoch from '2026-06-18 09:55: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'), 46821, 'SRID=4674;POINT (-39.676303 -2.807393)', '2026-06-18 09:56:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676362 -2.807563)'), GeomFromEWKT('SRID=4674;POINT (-39.676303 -2.807393)'))) / (select extract(epoch from '2026-06-18 09:56:12'::timestamp) - extract(epoch from '2026-06-18 09:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676362 -2.807563)'), GeomFromEWKT('SRID=4674;POINT (-39.676303 -2.807393)'))) / (select extract(epoch from '2026-06-18 09:56:12'::timestamp) - extract(epoch from '2026-06-18 09:56: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'), 46821, 'SRID=4674;POINT (-39.676262 -2.807257)', '2026-06-18 09:56:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676303 -2.807393)'), GeomFromEWKT('SRID=4674;POINT (-39.676262 -2.807257)'))) / (select extract(epoch from '2026-06-18 09:56:18'::timestamp) - extract(epoch from '2026-06-18 09:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676303 -2.807393)'), GeomFromEWKT('SRID=4674;POINT (-39.676262 -2.807257)'))) / (select extract(epoch from '2026-06-18 09:56:18'::timestamp) - extract(epoch from '2026-06-18 09:56: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'), 46821, 'SRID=4674;POINT (-39.676215 -2.807116)', '2026-06-18 09:56:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676262 -2.807257)'), GeomFromEWKT('SRID=4674;POINT (-39.676215 -2.807116)'))) / (select extract(epoch from '2026-06-18 09:56:24'::timestamp) - extract(epoch from '2026-06-18 09:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676262 -2.807257)'), GeomFromEWKT('SRID=4674;POINT (-39.676215 -2.807116)'))) / (select extract(epoch from '2026-06-18 09:56:24'::timestamp) - extract(epoch from '2026-06-18 09:56: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'), 46821, 'SRID=4674;POINT (-39.676173 -2.806973)', '2026-06-18 09:56:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676215 -2.807116)'), GeomFromEWKT('SRID=4674;POINT (-39.676173 -2.806973)'))) / (select extract(epoch from '2026-06-18 09:56:30'::timestamp) - extract(epoch from '2026-06-18 09:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676215 -2.807116)'), GeomFromEWKT('SRID=4674;POINT (-39.676173 -2.806973)'))) / (select extract(epoch from '2026-06-18 09:56:30'::timestamp) - extract(epoch from '2026-06-18 09:56: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'), 46821, 'SRID=4674;POINT (-39.676134 -2.806827)', '2026-06-18 09:56:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676173 -2.806973)'), GeomFromEWKT('SRID=4674;POINT (-39.676134 -2.806827)'))) / (select extract(epoch from '2026-06-18 09:56:36'::timestamp) - extract(epoch from '2026-06-18 09:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676173 -2.806973)'), GeomFromEWKT('SRID=4674;POINT (-39.676134 -2.806827)'))) / (select extract(epoch from '2026-06-18 09:56:36'::timestamp) - extract(epoch from '2026-06-18 09:56: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'), 46821, 'SRID=4674;POINT (-39.676095 -2.806685)', '2026-06-18 09:56:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676134 -2.806827)'), GeomFromEWKT('SRID=4674;POINT (-39.676095 -2.806685)'))) / (select extract(epoch from '2026-06-18 09:56:42'::timestamp) - extract(epoch from '2026-06-18 09:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676134 -2.806827)'), GeomFromEWKT('SRID=4674;POINT (-39.676095 -2.806685)'))) / (select extract(epoch from '2026-06-18 09:56:42'::timestamp) - extract(epoch from '2026-06-18 09:56: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'), 46821, 'SRID=4674;POINT (-39.676051 -2.806523)', '2026-06-18 09:56:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676095 -2.806685)'), GeomFromEWKT('SRID=4674;POINT (-39.676051 -2.806523)'))) / (select extract(epoch from '2026-06-18 09:56:49'::timestamp) - extract(epoch from '2026-06-18 09:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676095 -2.806685)'), GeomFromEWKT('SRID=4674;POINT (-39.676051 -2.806523)'))) / (select extract(epoch from '2026-06-18 09:56:49'::timestamp) - extract(epoch from '2026-06-18 09:56: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'), 46821, 'SRID=4674;POINT (-39.676012 -2.80638)', '2026-06-18 09:56:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676051 -2.806523)'), GeomFromEWKT('SRID=4674;POINT (-39.676012 -2.80638)'))) / (select extract(epoch from '2026-06-18 09:56:55'::timestamp) - extract(epoch from '2026-06-18 09:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676051 -2.806523)'), GeomFromEWKT('SRID=4674;POINT (-39.676012 -2.80638)'))) / (select extract(epoch from '2026-06-18 09:56:55'::timestamp) - extract(epoch from '2026-06-18 09:56: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'), 46821, 'SRID=4674;POINT (-39.675976 -2.806239)', '2026-06-18 09:57:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676012 -2.80638)'), GeomFromEWKT('SRID=4674;POINT (-39.675976 -2.806239)'))) / (select extract(epoch from '2026-06-18 09:57:01'::timestamp) - extract(epoch from '2026-06-18 09:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676012 -2.80638)'), GeomFromEWKT('SRID=4674;POINT (-39.675976 -2.806239)'))) / (select extract(epoch from '2026-06-18 09:57:01'::timestamp) - extract(epoch from '2026-06-18 09:56: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'), 46821, 'SRID=4674;POINT (-39.675943 -2.806128)', '2026-06-18 09:57:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675976 -2.806239)'), GeomFromEWKT('SRID=4674;POINT (-39.675943 -2.806128)'))) / (select extract(epoch from '2026-06-18 09:57:06'::timestamp) - extract(epoch from '2026-06-18 09:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675976 -2.806239)'), GeomFromEWKT('SRID=4674;POINT (-39.675943 -2.806128)'))) / (select extract(epoch from '2026-06-18 09:57:06'::timestamp) - extract(epoch from '2026-06-18 09:57: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'), 46821, 'SRID=4674;POINT (-39.675904 -2.805994)', '2026-06-18 09:57:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675943 -2.806128)'), GeomFromEWKT('SRID=4674;POINT (-39.675904 -2.805994)'))) / (select extract(epoch from '2026-06-18 09:57:12'::timestamp) - extract(epoch from '2026-06-18 09:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675943 -2.806128)'), GeomFromEWKT('SRID=4674;POINT (-39.675904 -2.805994)'))) / (select extract(epoch from '2026-06-18 09:57:12'::timestamp) - extract(epoch from '2026-06-18 09:57: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'), 46821, 'SRID=4674;POINT (-39.675871 -2.805883)', '2026-06-18 09:57:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675904 -2.805994)'), GeomFromEWKT('SRID=4674;POINT (-39.675871 -2.805883)'))) / (select extract(epoch from '2026-06-18 09:57:17'::timestamp) - extract(epoch from '2026-06-18 09:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675904 -2.805994)'), GeomFromEWKT('SRID=4674;POINT (-39.675871 -2.805883)'))) / (select extract(epoch from '2026-06-18 09:57:17'::timestamp) - extract(epoch from '2026-06-18 09:57: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'), 46821, 'SRID=4674;POINT (-39.675828 -2.805717)', '2026-06-18 09:57:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675871 -2.805883)'), GeomFromEWKT('SRID=4674;POINT (-39.675828 -2.805717)'))) / (select extract(epoch from '2026-06-18 09:57:24'::timestamp) - extract(epoch from '2026-06-18 09:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675871 -2.805883)'), GeomFromEWKT('SRID=4674;POINT (-39.675828 -2.805717)'))) / (select extract(epoch from '2026-06-18 09:57:24'::timestamp) - extract(epoch from '2026-06-18 09:57: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'), 46821, 'SRID=4674;POINT (-39.675777 -2.805556)', '2026-06-18 09:57:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675828 -2.805717)'), GeomFromEWKT('SRID=4674;POINT (-39.675777 -2.805556)'))) / (select extract(epoch from '2026-06-18 09:57:31'::timestamp) - extract(epoch from '2026-06-18 09:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675828 -2.805717)'), GeomFromEWKT('SRID=4674;POINT (-39.675777 -2.805556)'))) / (select extract(epoch from '2026-06-18 09:57:31'::timestamp) - extract(epoch from '2026-06-18 09:57: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'), 46821, 'SRID=4674;POINT (-39.675735 -2.805416)', '2026-06-18 09:57:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675777 -2.805556)'), GeomFromEWKT('SRID=4674;POINT (-39.675735 -2.805416)'))) / (select extract(epoch from '2026-06-18 09:57:37'::timestamp) - extract(epoch from '2026-06-18 09:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675777 -2.805556)'), GeomFromEWKT('SRID=4674;POINT (-39.675735 -2.805416)'))) / (select extract(epoch from '2026-06-18 09:57:37'::timestamp) - extract(epoch from '2026-06-18 09:57: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'), 46821, 'SRID=4674;POINT (-39.675671 -2.805229)', '2026-06-18 09:57:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675735 -2.805416)'), GeomFromEWKT('SRID=4674;POINT (-39.675671 -2.805229)'))) / (select extract(epoch from '2026-06-18 09:57:45'::timestamp) - extract(epoch from '2026-06-18 09:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675735 -2.805416)'), GeomFromEWKT('SRID=4674;POINT (-39.675671 -2.805229)'))) / (select extract(epoch from '2026-06-18 09:57:45'::timestamp) - extract(epoch from '2026-06-18 09:57: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'), 46821, 'SRID=4674;POINT (-39.675609 -2.805018)', '2026-06-18 09:57:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675671 -2.805229)'), GeomFromEWKT('SRID=4674;POINT (-39.675609 -2.805018)'))) / (select extract(epoch from '2026-06-18 09:57:54'::timestamp) - extract(epoch from '2026-06-18 09:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675671 -2.805229)'), GeomFromEWKT('SRID=4674;POINT (-39.675609 -2.805018)'))) / (select extract(epoch from '2026-06-18 09:57:54'::timestamp) - extract(epoch from '2026-06-18 09:57: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'), 46821, 'SRID=4674;POINT (-39.675549 -2.804834)', '2026-06-18 09:58:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675609 -2.805018)'), GeomFromEWKT('SRID=4674;POINT (-39.675549 -2.804834)'))) / (select extract(epoch from '2026-06-18 09:58:02'::timestamp) - extract(epoch from '2026-06-18 09:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675609 -2.805018)'), GeomFromEWKT('SRID=4674;POINT (-39.675549 -2.804834)'))) / (select extract(epoch from '2026-06-18 09:58:02'::timestamp) - extract(epoch from '2026-06-18 09:57: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'), 46821, 'SRID=4674;POINT (-39.675518 -2.804725)', '2026-06-18 09:58:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675549 -2.804834)'), GeomFromEWKT('SRID=4674;POINT (-39.675518 -2.804725)'))) / (select extract(epoch from '2026-06-18 09:58:07'::timestamp) - extract(epoch from '2026-06-18 09:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675549 -2.804834)'), GeomFromEWKT('SRID=4674;POINT (-39.675518 -2.804725)'))) / (select extract(epoch from '2026-06-18 09:58:07'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.67549 -2.804616)', '2026-06-18 09:58:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675518 -2.804725)'), GeomFromEWKT('SRID=4674;POINT (-39.67549 -2.804616)'))) / (select extract(epoch from '2026-06-18 09:58:12'::timestamp) - extract(epoch from '2026-06-18 09:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675518 -2.804725)'), GeomFromEWKT('SRID=4674;POINT (-39.67549 -2.804616)'))) / (select extract(epoch from '2026-06-18 09:58:12'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.675452 -2.804484)', '2026-06-18 09:58:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67549 -2.804616)'), GeomFromEWKT('SRID=4674;POINT (-39.675452 -2.804484)'))) / (select extract(epoch from '2026-06-18 09:58:18'::timestamp) - extract(epoch from '2026-06-18 09:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67549 -2.804616)'), GeomFromEWKT('SRID=4674;POINT (-39.675452 -2.804484)'))) / (select extract(epoch from '2026-06-18 09:58:18'::timestamp) - extract(epoch from '2026-06-18 09:58: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'), 46821, 'SRID=4674;POINT (-39.67541 -2.804334)', '2026-06-18 09:58:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675452 -2.804484)'), GeomFromEWKT('SRID=4674;POINT (-39.67541 -2.804334)'))) / (select extract(epoch from '2026-06-18 09:58:25'::timestamp) - extract(epoch from '2026-06-18 09:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675452 -2.804484)'), GeomFromEWKT('SRID=4674;POINT (-39.67541 -2.804334)'))) / (select extract(epoch from '2026-06-18 09:58:25'::timestamp) - extract(epoch from '2026-06-18 09:58: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'), 46821, 'SRID=4674;POINT (-39.675377 -2.8042)', '2026-06-18 09:58:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67541 -2.804334)'), GeomFromEWKT('SRID=4674;POINT (-39.675377 -2.8042)'))) / (select extract(epoch from '2026-06-18 09:58:31'::timestamp) - extract(epoch from '2026-06-18 09:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67541 -2.804334)'), GeomFromEWKT('SRID=4674;POINT (-39.675377 -2.8042)'))) / (select extract(epoch from '2026-06-18 09:58:31'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.675341 -2.804065)', '2026-06-18 09:58:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675377 -2.8042)'), GeomFromEWKT('SRID=4674;POINT (-39.675341 -2.804065)'))) / (select extract(epoch from '2026-06-18 09:58:37'::timestamp) - extract(epoch from '2026-06-18 09:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675377 -2.8042)'), GeomFromEWKT('SRID=4674;POINT (-39.675341 -2.804065)'))) / (select extract(epoch from '2026-06-18 09:58:37'::timestamp) - extract(epoch from '2026-06-18 09:58: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'), 46821, 'SRID=4674;POINT (-39.675316 -2.803975)', '2026-06-18 09:58:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675341 -2.804065)'), GeomFromEWKT('SRID=4674;POINT (-39.675316 -2.803975)'))) / (select extract(epoch from '2026-06-18 09:58:41'::timestamp) - extract(epoch from '2026-06-18 09:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675341 -2.804065)'), GeomFromEWKT('SRID=4674;POINT (-39.675316 -2.803975)'))) / (select extract(epoch from '2026-06-18 09:58:41'::timestamp) - extract(epoch from '2026-06-18 09:58: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'), 46821, 'SRID=4674;POINT (-39.675278 -2.803842)', '2026-06-18 09:58:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675316 -2.803975)'), GeomFromEWKT('SRID=4674;POINT (-39.675278 -2.803842)'))) / (select extract(epoch from '2026-06-18 09:58:47'::timestamp) - extract(epoch from '2026-06-18 09:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675316 -2.803975)'), GeomFromEWKT('SRID=4674;POINT (-39.675278 -2.803842)'))) / (select extract(epoch from '2026-06-18 09:58:47'::timestamp) - extract(epoch from '2026-06-18 09:58: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'), 46821, 'SRID=4674;POINT (-39.675237 -2.803715)', '2026-06-18 09:58:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675278 -2.803842)'), GeomFromEWKT('SRID=4674;POINT (-39.675237 -2.803715)'))) / (select extract(epoch from '2026-06-18 09:58:53'::timestamp) - extract(epoch from '2026-06-18 09:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675278 -2.803842)'), GeomFromEWKT('SRID=4674;POINT (-39.675237 -2.803715)'))) / (select extract(epoch from '2026-06-18 09:58:53'::timestamp) - extract(epoch from '2026-06-18 09:58: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'), 46821, 'SRID=4674;POINT (-39.675197 -2.803582)', '2026-06-18 09:58:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675237 -2.803715)'), GeomFromEWKT('SRID=4674;POINT (-39.675197 -2.803582)'))) / (select extract(epoch from '2026-06-18 09:58:59'::timestamp) - extract(epoch from '2026-06-18 09:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675237 -2.803715)'), GeomFromEWKT('SRID=4674;POINT (-39.675197 -2.803582)'))) / (select extract(epoch from '2026-06-18 09:58:59'::timestamp) - extract(epoch from '2026-06-18 09:58: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'), 46821, 'SRID=4674;POINT (-39.675145 -2.803419)', '2026-06-18 09:59:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675197 -2.803582)'), GeomFromEWKT('SRID=4674;POINT (-39.675145 -2.803419)'))) / (select extract(epoch from '2026-06-18 09:59:06'::timestamp) - extract(epoch from '2026-06-18 09:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675197 -2.803582)'), GeomFromEWKT('SRID=4674;POINT (-39.675145 -2.803419)'))) / (select extract(epoch from '2026-06-18 09:59:06'::timestamp) - extract(epoch from '2026-06-18 09:58: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'), 46821, 'SRID=4674;POINT (-39.675102 -2.803251)', '2026-06-18 09:59:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675145 -2.803419)'), GeomFromEWKT('SRID=4674;POINT (-39.675102 -2.803251)'))) / (select extract(epoch from '2026-06-18 09:59:13'::timestamp) - extract(epoch from '2026-06-18 09:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675145 -2.803419)'), GeomFromEWKT('SRID=4674;POINT (-39.675102 -2.803251)'))) / (select extract(epoch from '2026-06-18 09:59:13'::timestamp) - extract(epoch from '2026-06-18 09:59: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'), 46821, 'SRID=4674;POINT (-39.675059 -2.803113)', '2026-06-18 09:59:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675102 -2.803251)'), GeomFromEWKT('SRID=4674;POINT (-39.675059 -2.803113)'))) / (select extract(epoch from '2026-06-18 09:59:19'::timestamp) - extract(epoch from '2026-06-18 09:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675102 -2.803251)'), GeomFromEWKT('SRID=4674;POINT (-39.675059 -2.803113)'))) / (select extract(epoch from '2026-06-18 09:59:19'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.675019 -2.802996)', '2026-06-18 09:59:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675059 -2.803113)'), GeomFromEWKT('SRID=4674;POINT (-39.675019 -2.802996)'))) / (select extract(epoch from '2026-06-18 09:59:24'::timestamp) - extract(epoch from '2026-06-18 09:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675059 -2.803113)'), GeomFromEWKT('SRID=4674;POINT (-39.675019 -2.802996)'))) / (select extract(epoch from '2026-06-18 09:59:24'::timestamp) - extract(epoch from '2026-06-18 09:59: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'), 46821, 'SRID=4674;POINT (-39.674961 -2.802807)', '2026-06-18 09:59:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675019 -2.802996)'), GeomFromEWKT('SRID=4674;POINT (-39.674961 -2.802807)'))) / (select extract(epoch from '2026-06-18 09:59:32'::timestamp) - extract(epoch from '2026-06-18 09:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675019 -2.802996)'), GeomFromEWKT('SRID=4674;POINT (-39.674961 -2.802807)'))) / (select extract(epoch from '2026-06-18 09:59:32'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.674919 -2.802668)', '2026-06-18 09:59:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674961 -2.802807)'), GeomFromEWKT('SRID=4674;POINT (-39.674919 -2.802668)'))) / (select extract(epoch from '2026-06-18 09:59:38'::timestamp) - extract(epoch from '2026-06-18 09:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674961 -2.802807)'), GeomFromEWKT('SRID=4674;POINT (-39.674919 -2.802668)'))) / (select extract(epoch from '2026-06-18 09:59:38'::timestamp) - extract(epoch from '2026-06-18 09:59: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'), 46821, 'SRID=4674;POINT (-39.674887 -2.802547)', '2026-06-18 09:59:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674919 -2.802668)'), GeomFromEWKT('SRID=4674;POINT (-39.674887 -2.802547)'))) / (select extract(epoch from '2026-06-18 09:59:43'::timestamp) - extract(epoch from '2026-06-18 09:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674919 -2.802668)'), GeomFromEWKT('SRID=4674;POINT (-39.674887 -2.802547)'))) / (select extract(epoch from '2026-06-18 09:59:43'::timestamp) - extract(epoch from '2026-06-18 09:59: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'), 46821, 'SRID=4674;POINT (-39.67484 -2.802383)', '2026-06-18 09:59:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674887 -2.802547)'), GeomFromEWKT('SRID=4674;POINT (-39.67484 -2.802383)'))) / (select extract(epoch from '2026-06-18 09:59:50'::timestamp) - extract(epoch from '2026-06-18 09:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674887 -2.802547)'), GeomFromEWKT('SRID=4674;POINT (-39.67484 -2.802383)'))) / (select extract(epoch from '2026-06-18 09:59:50'::timestamp) - extract(epoch from '2026-06-18 09:59: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'), 46821, 'SRID=4674;POINT (-39.674785 -2.802216)', '2026-06-18 09:59:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67484 -2.802383)'), GeomFromEWKT('SRID=4674;POINT (-39.674785 -2.802216)'))) / (select extract(epoch from '2026-06-18 09:59:57'::timestamp) - extract(epoch from '2026-06-18 09:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67484 -2.802383)'), GeomFromEWKT('SRID=4674;POINT (-39.674785 -2.802216)'))) / (select extract(epoch from '2026-06-18 09:59:57'::timestamp) - extract(epoch from '2026-06-18 09:59: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'), 46821, 'SRID=4674;POINT (-39.674771 -2.802165)', '2026-06-18 09:59:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674785 -2.802216)'), GeomFromEWKT('SRID=4674;POINT (-39.674771 -2.802165)'))) / (select extract(epoch from '2026-06-18 09:59:59'::timestamp) - extract(epoch from '2026-06-18 09:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674785 -2.802216)'), GeomFromEWKT('SRID=4674;POINT (-39.674771 -2.802165)'))) / (select extract(epoch from '2026-06-18 09:59:59'::timestamp) - extract(epoch from '2026-06-18 09:59: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'), 46821, 'SRID=4674;POINT (-39.674753 -2.802119)', '2026-06-18 10:00:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674771 -2.802165)'), GeomFromEWKT('SRID=4674;POINT (-39.674753 -2.802119)'))) / (select extract(epoch from '2026-06-18 10:00:01'::timestamp) - extract(epoch from '2026-06-18 09:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674771 -2.802165)'), GeomFromEWKT('SRID=4674;POINT (-39.674753 -2.802119)'))) / (select extract(epoch from '2026-06-18 10:00:01'::timestamp) - extract(epoch from '2026-06-18 09:59: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'), 46821, 'SRID=4674;POINT (-39.674698 -2.801933)', '2026-06-18 10:00:09', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674753 -2.802119)'), GeomFromEWKT('SRID=4674;POINT (-39.674698 -2.801933)'))) / (select extract(epoch from '2026-06-18 10:00:09'::timestamp) - extract(epoch from '2026-06-18 10:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674753 -2.802119)'), GeomFromEWKT('SRID=4674;POINT (-39.674698 -2.801933)'))) / (select extract(epoch from '2026-06-18 10:00:09'::timestamp) - extract(epoch from '2026-06-18 10:00: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'), 46821, 'SRID=4674;POINT (-39.674655 -2.801764)', '2026-06-18 10:00:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674698 -2.801933)'), GeomFromEWKT('SRID=4674;POINT (-39.674655 -2.801764)'))) / (select extract(epoch from '2026-06-18 10:00:16'::timestamp) - extract(epoch from '2026-06-18 10:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674698 -2.801933)'), GeomFromEWKT('SRID=4674;POINT (-39.674655 -2.801764)'))) / (select extract(epoch from '2026-06-18 10:00:16'::timestamp) - extract(epoch from '2026-06-18 10:00: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'), 46821, 'SRID=4674;POINT (-39.674624 -2.80162)', '2026-06-18 10:00:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674655 -2.801764)'), GeomFromEWKT('SRID=4674;POINT (-39.674624 -2.80162)'))) / (select extract(epoch from '2026-06-18 10:00:22'::timestamp) - extract(epoch from '2026-06-18 10:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674655 -2.801764)'), GeomFromEWKT('SRID=4674;POINT (-39.674624 -2.80162)'))) / (select extract(epoch from '2026-06-18 10:00:22'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674595 -2.801504)', '2026-06-18 10:00:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674624 -2.80162)'), GeomFromEWKT('SRID=4674;POINT (-39.674595 -2.801504)'))) / (select extract(epoch from '2026-06-18 10:00:27'::timestamp) - extract(epoch from '2026-06-18 10:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674624 -2.80162)'), GeomFromEWKT('SRID=4674;POINT (-39.674595 -2.801504)'))) / (select extract(epoch from '2026-06-18 10:00:27'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674586 -2.80148)', '2026-06-18 10:00:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674595 -2.801504)'), GeomFromEWKT('SRID=4674;POINT (-39.674586 -2.80148)'))) / (select extract(epoch from '2026-06-18 10:00:28'::timestamp) - extract(epoch from '2026-06-18 10:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674595 -2.801504)'), GeomFromEWKT('SRID=4674;POINT (-39.674586 -2.80148)'))) / (select extract(epoch from '2026-06-18 10:00:28'::timestamp) - extract(epoch from '2026-06-18 10:00: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'), 46821, 'SRID=4674;POINT (-39.674563 -2.801367)', '2026-06-18 10:00:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674586 -2.80148)'), GeomFromEWKT('SRID=4674;POINT (-39.674563 -2.801367)'))) / (select extract(epoch from '2026-06-18 10:00:33'::timestamp) - extract(epoch from '2026-06-18 10:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674586 -2.80148)'), GeomFromEWKT('SRID=4674;POINT (-39.674563 -2.801367)'))) / (select extract(epoch from '2026-06-18 10:00:33'::timestamp) - extract(epoch from '2026-06-18 10:00: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'), 46821, 'SRID=4674;POINT (-39.674525 -2.801212)', '2026-06-18 10:00:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674563 -2.801367)'), GeomFromEWKT('SRID=4674;POINT (-39.674525 -2.801212)'))) / (select extract(epoch from '2026-06-18 10:00:40'::timestamp) - extract(epoch from '2026-06-18 10:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674563 -2.801367)'), GeomFromEWKT('SRID=4674;POINT (-39.674525 -2.801212)'))) / (select extract(epoch from '2026-06-18 10:00:40'::timestamp) - extract(epoch from '2026-06-18 10:00: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'), 46821, 'SRID=4674;POINT (-39.674477 -2.801029)', '2026-06-18 10:00:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674525 -2.801212)'), GeomFromEWKT('SRID=4674;POINT (-39.674477 -2.801029)'))) / (select extract(epoch from '2026-06-18 10:00:48'::timestamp) - extract(epoch from '2026-06-18 10:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674525 -2.801212)'), GeomFromEWKT('SRID=4674;POINT (-39.674477 -2.801029)'))) / (select extract(epoch from '2026-06-18 10:00:48'::timestamp) - extract(epoch from '2026-06-18 10:00: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'), 46821, 'SRID=4674;POINT (-39.674435 -2.800893)', '2026-06-18 10:00:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674477 -2.801029)'), GeomFromEWKT('SRID=4674;POINT (-39.674435 -2.800893)'))) / (select extract(epoch from '2026-06-18 10:00:54'::timestamp) - extract(epoch from '2026-06-18 10:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674477 -2.801029)'), GeomFromEWKT('SRID=4674;POINT (-39.674435 -2.800893)'))) / (select extract(epoch from '2026-06-18 10:00:54'::timestamp) - extract(epoch from '2026-06-18 10:00: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'), 46821, 'SRID=4674;POINT (-39.674379 -2.800704)', '2026-06-18 10:01:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674435 -2.800893)'), GeomFromEWKT('SRID=4674;POINT (-39.674379 -2.800704)'))) / (select extract(epoch from '2026-06-18 10:01:02'::timestamp) - extract(epoch from '2026-06-18 10:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674435 -2.800893)'), GeomFromEWKT('SRID=4674;POINT (-39.674379 -2.800704)'))) / (select extract(epoch from '2026-06-18 10:01:02'::timestamp) - extract(epoch from '2026-06-18 10:00: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'), 46821, 'SRID=4674;POINT (-39.674339 -2.80056)', '2026-06-18 10:01:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674379 -2.800704)'), GeomFromEWKT('SRID=4674;POINT (-39.674339 -2.80056)'))) / (select extract(epoch from '2026-06-18 10:01:08'::timestamp) - extract(epoch from '2026-06-18 10:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674379 -2.800704)'), GeomFromEWKT('SRID=4674;POINT (-39.674339 -2.80056)'))) / (select extract(epoch from '2026-06-18 10:01:08'::timestamp) - extract(epoch from '2026-06-18 10:01: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'), 46821, 'SRID=4674;POINT (-39.674279 -2.800366)', '2026-06-18 10:01:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674339 -2.80056)'), GeomFromEWKT('SRID=4674;POINT (-39.674279 -2.800366)'))) / (select extract(epoch from '2026-06-18 10:01:16'::timestamp) - extract(epoch from '2026-06-18 10:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674339 -2.80056)'), GeomFromEWKT('SRID=4674;POINT (-39.674279 -2.800366)'))) / (select extract(epoch from '2026-06-18 10:01:16'::timestamp) - extract(epoch from '2026-06-18 10:01: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'), 46821, 'SRID=4674;POINT (-39.674242 -2.800221)', '2026-06-18 10:01:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674279 -2.800366)'), GeomFromEWKT('SRID=4674;POINT (-39.674242 -2.800221)'))) / (select extract(epoch from '2026-06-18 10:01:22'::timestamp) - extract(epoch from '2026-06-18 10:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674279 -2.800366)'), GeomFromEWKT('SRID=4674;POINT (-39.674242 -2.800221)'))) / (select extract(epoch from '2026-06-18 10:01:22'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674206 -2.800073)', '2026-06-18 10:01:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674242 -2.800221)'), GeomFromEWKT('SRID=4674;POINT (-39.674206 -2.800073)'))) / (select extract(epoch from '2026-06-18 10:01:28'::timestamp) - extract(epoch from '2026-06-18 10:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674242 -2.800221)'), GeomFromEWKT('SRID=4674;POINT (-39.674206 -2.800073)'))) / (select extract(epoch from '2026-06-18 10:01:28'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674154 -2.799895)', '2026-06-18 10:01:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674206 -2.800073)'), GeomFromEWKT('SRID=4674;POINT (-39.674154 -2.799895)'))) / (select extract(epoch from '2026-06-18 10:01:35'::timestamp) - extract(epoch from '2026-06-18 10:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674206 -2.800073)'), GeomFromEWKT('SRID=4674;POINT (-39.674154 -2.799895)'))) / (select extract(epoch from '2026-06-18 10:01:35'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674114 -2.799771)', '2026-06-18 10:01:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674154 -2.799895)'), GeomFromEWKT('SRID=4674;POINT (-39.674114 -2.799771)'))) / (select extract(epoch from '2026-06-18 10:01:40'::timestamp) - extract(epoch from '2026-06-18 10:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674154 -2.799895)'), GeomFromEWKT('SRID=4674;POINT (-39.674114 -2.799771)'))) / (select extract(epoch from '2026-06-18 10:01:40'::timestamp) - extract(epoch from '2026-06-18 10:01: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'), 46821, 'SRID=4674;POINT (-39.674047 -2.799571)', '2026-06-18 10:01:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674114 -2.799771)'), GeomFromEWKT('SRID=4674;POINT (-39.674047 -2.799571)'))) / (select extract(epoch from '2026-06-18 10:01:48'::timestamp) - extract(epoch from '2026-06-18 10:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674114 -2.799771)'), GeomFromEWKT('SRID=4674;POINT (-39.674047 -2.799571)'))) / (select extract(epoch from '2026-06-18 10:01:48'::timestamp) - extract(epoch from '2026-06-18 10:01: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'), 46821, 'SRID=4674;POINT (-39.673981 -2.799371)', '2026-06-18 10:01:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674047 -2.799571)'), GeomFromEWKT('SRID=4674;POINT (-39.673981 -2.799371)'))) / (select extract(epoch from '2026-06-18 10:01:56'::timestamp) - extract(epoch from '2026-06-18 10:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674047 -2.799571)'), GeomFromEWKT('SRID=4674;POINT (-39.673981 -2.799371)'))) / (select extract(epoch from '2026-06-18 10:01:56'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.673908 -2.799143)', '2026-06-18 10:02:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673981 -2.799371)'), GeomFromEWKT('SRID=4674;POINT (-39.673908 -2.799143)'))) / (select extract(epoch from '2026-06-18 10:02:05'::timestamp) - extract(epoch from '2026-06-18 10:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673981 -2.799371)'), GeomFromEWKT('SRID=4674;POINT (-39.673908 -2.799143)'))) / (select extract(epoch from '2026-06-18 10:02:05'::timestamp) - extract(epoch from '2026-06-18 10:01: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'), 46821, 'SRID=4674;POINT (-39.673857 -2.798971)', '2026-06-18 10:02:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673908 -2.799143)'), GeomFromEWKT('SRID=4674;POINT (-39.673857 -2.798971)'))) / (select extract(epoch from '2026-06-18 10:02:12'::timestamp) - extract(epoch from '2026-06-18 10:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673908 -2.799143)'), GeomFromEWKT('SRID=4674;POINT (-39.673857 -2.798971)'))) / (select extract(epoch from '2026-06-18 10:02:12'::timestamp) - extract(epoch from '2026-06-18 10:02: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'), 46821, 'SRID=4674;POINT (-39.673828 -2.798882)', '2026-06-18 10:02:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673857 -2.798971)'), GeomFromEWKT('SRID=4674;POINT (-39.673828 -2.798882)'))) / (select extract(epoch from '2026-06-18 10:02:16'::timestamp) - extract(epoch from '2026-06-18 10:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673857 -2.798971)'), GeomFromEWKT('SRID=4674;POINT (-39.673828 -2.798882)'))) / (select extract(epoch from '2026-06-18 10:02:16'::timestamp) - extract(epoch from '2026-06-18 10:02: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'), 46821, 'SRID=4674;POINT (-39.673775 -2.798722)', '2026-06-18 10:02:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673828 -2.798882)'), GeomFromEWKT('SRID=4674;POINT (-39.673775 -2.798722)'))) / (select extract(epoch from '2026-06-18 10:02:23'::timestamp) - extract(epoch from '2026-06-18 10:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673828 -2.798882)'), GeomFromEWKT('SRID=4674;POINT (-39.673775 -2.798722)'))) / (select extract(epoch from '2026-06-18 10:02:23'::timestamp) - extract(epoch from '2026-06-18 10:02: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'), 46821, 'SRID=4674;POINT (-39.673721 -2.798585)', '2026-06-18 10:02:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673775 -2.798722)'), GeomFromEWKT('SRID=4674;POINT (-39.673721 -2.798585)'))) / (select extract(epoch from '2026-06-18 10:02:29'::timestamp) - extract(epoch from '2026-06-18 10:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673775 -2.798722)'), GeomFromEWKT('SRID=4674;POINT (-39.673721 -2.798585)'))) / (select extract(epoch from '2026-06-18 10:02:29'::timestamp) - extract(epoch from '2026-06-18 10:02: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'), 46821, 'SRID=4674;POINT (-39.673664 -2.798445)', '2026-06-18 10:02:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673721 -2.798585)'), GeomFromEWKT('SRID=4674;POINT (-39.673664 -2.798445)'))) / (select extract(epoch from '2026-06-18 10:02:35'::timestamp) - extract(epoch from '2026-06-18 10:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673721 -2.798585)'), GeomFromEWKT('SRID=4674;POINT (-39.673664 -2.798445)'))) / (select extract(epoch from '2026-06-18 10:02:35'::timestamp) - extract(epoch from '2026-06-18 10:02: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'), 46821, 'SRID=4674;POINT (-39.673619 -2.798302)', '2026-06-18 10:02:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673664 -2.798445)'), GeomFromEWKT('SRID=4674;POINT (-39.673619 -2.798302)'))) / (select extract(epoch from '2026-06-18 10:02:41'::timestamp) - extract(epoch from '2026-06-18 10:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673664 -2.798445)'), GeomFromEWKT('SRID=4674;POINT (-39.673619 -2.798302)'))) / (select extract(epoch from '2026-06-18 10:02:41'::timestamp) - extract(epoch from '2026-06-18 10:02: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'), 46821, 'SRID=4674;POINT (-39.673575 -2.798184)', '2026-06-18 10:02:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673619 -2.798302)'), GeomFromEWKT('SRID=4674;POINT (-39.673575 -2.798184)'))) / (select extract(epoch from '2026-06-18 10:02:46'::timestamp) - extract(epoch from '2026-06-18 10:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673619 -2.798302)'), GeomFromEWKT('SRID=4674;POINT (-39.673575 -2.798184)'))) / (select extract(epoch from '2026-06-18 10:02:46'::timestamp) - extract(epoch from '2026-06-18 10:02: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'), 46821, 'SRID=4674;POINT (-39.673533 -2.798009)', '2026-06-18 10:02:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673575 -2.798184)'), GeomFromEWKT('SRID=4674;POINT (-39.673533 -2.798009)'))) / (select extract(epoch from '2026-06-18 10:02:53'::timestamp) - extract(epoch from '2026-06-18 10:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673575 -2.798184)'), GeomFromEWKT('SRID=4674;POINT (-39.673533 -2.798009)'))) / (select extract(epoch from '2026-06-18 10:02:53'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.673524 -2.797856)', '2026-06-18 10:02:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673533 -2.798009)'), GeomFromEWKT('SRID=4674;POINT (-39.673524 -2.797856)'))) / (select extract(epoch from '2026-06-18 10:02:59'::timestamp) - extract(epoch from '2026-06-18 10:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673533 -2.798009)'), GeomFromEWKT('SRID=4674;POINT (-39.673524 -2.797856)'))) / (select extract(epoch from '2026-06-18 10:02:59'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.673485 -2.797657)', '2026-06-18 10:03:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673524 -2.797856)'), GeomFromEWKT('SRID=4674;POINT (-39.673485 -2.797657)'))) / (select extract(epoch from '2026-06-18 10:03:07'::timestamp) - extract(epoch from '2026-06-18 10:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673524 -2.797856)'), GeomFromEWKT('SRID=4674;POINT (-39.673485 -2.797657)'))) / (select extract(epoch from '2026-06-18 10:03:07'::timestamp) - extract(epoch from '2026-06-18 10:02: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'), 46821, 'SRID=4674;POINT (-39.673462 -2.797523)', '2026-06-18 10:03:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673485 -2.797657)'), GeomFromEWKT('SRID=4674;POINT (-39.673462 -2.797523)'))) / (select extract(epoch from '2026-06-18 10:03:12'::timestamp) - extract(epoch from '2026-06-18 10:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673485 -2.797657)'), GeomFromEWKT('SRID=4674;POINT (-39.673462 -2.797523)'))) / (select extract(epoch from '2026-06-18 10:03:12'::timestamp) - extract(epoch from '2026-06-18 10:03: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'), 46821, 'SRID=4674;POINT (-39.673454 -2.797335)', '2026-06-18 10:03:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673462 -2.797523)'), GeomFromEWKT('SRID=4674;POINT (-39.673454 -2.797335)'))) / (select extract(epoch from '2026-06-18 10:03:19'::timestamp) - extract(epoch from '2026-06-18 10:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673462 -2.797523)'), GeomFromEWKT('SRID=4674;POINT (-39.673454 -2.797335)'))) / (select extract(epoch from '2026-06-18 10:03:19'::timestamp) - extract(epoch from '2026-06-18 10:03: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'), 46821, 'SRID=4674;POINT (-39.673467 -2.797208)', '2026-06-18 10:03:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673454 -2.797335)'), GeomFromEWKT('SRID=4674;POINT (-39.673467 -2.797208)'))) / (select extract(epoch from '2026-06-18 10:03:24'::timestamp) - extract(epoch from '2026-06-18 10:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673454 -2.797335)'), GeomFromEWKT('SRID=4674;POINT (-39.673467 -2.797208)'))) / (select extract(epoch from '2026-06-18 10:03:24'::timestamp) - extract(epoch from '2026-06-18 10:03: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'), 46821, 'SRID=4674;POINT (-39.673501 -2.797051)', '2026-06-18 10:03:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673467 -2.797208)'), GeomFromEWKT('SRID=4674;POINT (-39.673501 -2.797051)'))) / (select extract(epoch from '2026-06-18 10:03:30'::timestamp) - extract(epoch from '2026-06-18 10:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673467 -2.797208)'), GeomFromEWKT('SRID=4674;POINT (-39.673501 -2.797051)'))) / (select extract(epoch from '2026-06-18 10:03:30'::timestamp) - extract(epoch from '2026-06-18 10:03: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'), 46821, 'SRID=4674;POINT (-39.673539 -2.79693)', '2026-06-18 10:03:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673501 -2.797051)'), GeomFromEWKT('SRID=4674;POINT (-39.673539 -2.79693)'))) / (select extract(epoch from '2026-06-18 10:03:35'::timestamp) - extract(epoch from '2026-06-18 10:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673501 -2.797051)'), GeomFromEWKT('SRID=4674;POINT (-39.673539 -2.79693)'))) / (select extract(epoch from '2026-06-18 10:03:35'::timestamp) - extract(epoch from '2026-06-18 10:03: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'), 46821, 'SRID=4674;POINT (-39.673588 -2.796762)', '2026-06-18 10:03:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673539 -2.79693)'), GeomFromEWKT('SRID=4674;POINT (-39.673588 -2.796762)'))) / (select extract(epoch from '2026-06-18 10:03:42'::timestamp) - extract(epoch from '2026-06-18 10:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673539 -2.79693)'), GeomFromEWKT('SRID=4674;POINT (-39.673588 -2.796762)'))) / (select extract(epoch from '2026-06-18 10:03:42'::timestamp) - extract(epoch from '2026-06-18 10:03: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'), 46821, 'SRID=4674;POINT (-39.673643 -2.796569)', '2026-06-18 10:03:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673588 -2.796762)'), GeomFromEWKT('SRID=4674;POINT (-39.673643 -2.796569)'))) / (select extract(epoch from '2026-06-18 10:03:50'::timestamp) - extract(epoch from '2026-06-18 10:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673588 -2.796762)'), GeomFromEWKT('SRID=4674;POINT (-39.673643 -2.796569)'))) / (select extract(epoch from '2026-06-18 10:03:50'::timestamp) - extract(epoch from '2026-06-18 10:03: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'), 46821, 'SRID=4674;POINT (-39.673677 -2.796427)', '2026-06-18 10:03:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673643 -2.796569)'), GeomFromEWKT('SRID=4674;POINT (-39.673677 -2.796427)'))) / (select extract(epoch from '2026-06-18 10:03:56'::timestamp) - extract(epoch from '2026-06-18 10:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673643 -2.796569)'), GeomFromEWKT('SRID=4674;POINT (-39.673677 -2.796427)'))) / (select extract(epoch from '2026-06-18 10:03:56'::timestamp) - extract(epoch from '2026-06-18 10:03: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'), 46821, 'SRID=4674;POINT (-39.673715 -2.79628)', '2026-06-18 10:04:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673677 -2.796427)'), GeomFromEWKT('SRID=4674;POINT (-39.673715 -2.79628)'))) / (select extract(epoch from '2026-06-18 10:04:02'::timestamp) - extract(epoch from '2026-06-18 10:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673677 -2.796427)'), GeomFromEWKT('SRID=4674;POINT (-39.673715 -2.79628)'))) / (select extract(epoch from '2026-06-18 10:04:02'::timestamp) - extract(epoch from '2026-06-18 10:03: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'), 46821, 'SRID=4674;POINT (-39.673745 -2.796131)', '2026-06-18 10:04:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673715 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-39.673745 -2.796131)'))) / (select extract(epoch from '2026-06-18 10:04:08'::timestamp) - extract(epoch from '2026-06-18 10:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673715 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-39.673745 -2.796131)'))) / (select extract(epoch from '2026-06-18 10:04:08'::timestamp) - extract(epoch from '2026-06-18 10:04: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'), 46821, 'SRID=4674;POINT (-39.673769 -2.796014)', '2026-06-18 10:04:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673745 -2.796131)'), GeomFromEWKT('SRID=4674;POINT (-39.673769 -2.796014)'))) / (select extract(epoch from '2026-06-18 10:04:13'::timestamp) - extract(epoch from '2026-06-18 10:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673745 -2.796131)'), GeomFromEWKT('SRID=4674;POINT (-39.673769 -2.796014)'))) / (select extract(epoch from '2026-06-18 10:04:13'::timestamp) - extract(epoch from '2026-06-18 10:04: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'), 46821, 'SRID=4674;POINT (-39.673805 -2.795874)', '2026-06-18 10:04:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673769 -2.796014)'), GeomFromEWKT('SRID=4674;POINT (-39.673805 -2.795874)'))) / (select extract(epoch from '2026-06-18 10:04:19'::timestamp) - extract(epoch from '2026-06-18 10:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673769 -2.796014)'), GeomFromEWKT('SRID=4674;POINT (-39.673805 -2.795874)'))) / (select extract(epoch from '2026-06-18 10:04:19'::timestamp) - extract(epoch from '2026-06-18 10:04: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'), 46821, 'SRID=4674;POINT (-39.673832 -2.795782)', '2026-06-18 10:04:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673805 -2.795874)'), GeomFromEWKT('SRID=4674;POINT (-39.673832 -2.795782)'))) / (select extract(epoch from '2026-06-18 10:04:23'::timestamp) - extract(epoch from '2026-06-18 10:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673805 -2.795874)'), GeomFromEWKT('SRID=4674;POINT (-39.673832 -2.795782)'))) / (select extract(epoch from '2026-06-18 10:04:23'::timestamp) - extract(epoch from '2026-06-18 10:04: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'), 46821, 'SRID=4674;POINT (-39.673861 -2.795637)', '2026-06-18 10:04:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673832 -2.795782)'), GeomFromEWKT('SRID=4674;POINT (-39.673861 -2.795637)'))) / (select extract(epoch from '2026-06-18 10:04:29'::timestamp) - extract(epoch from '2026-06-18 10:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673832 -2.795782)'), GeomFromEWKT('SRID=4674;POINT (-39.673861 -2.795637)'))) / (select extract(epoch from '2026-06-18 10:04:29'::timestamp) - extract(epoch from '2026-06-18 10:04: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'), 46821, 'SRID=4674;POINT (-39.673889 -2.795514)', '2026-06-18 10:04:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673861 -2.795637)'), GeomFromEWKT('SRID=4674;POINT (-39.673889 -2.795514)'))) / (select extract(epoch from '2026-06-18 10:04:34'::timestamp) - extract(epoch from '2026-06-18 10:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673861 -2.795637)'), GeomFromEWKT('SRID=4674;POINT (-39.673889 -2.795514)'))) / (select extract(epoch from '2026-06-18 10:04:34'::timestamp) - extract(epoch from '2026-06-18 10:04: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'), 46821, 'SRID=4674;POINT (-39.673922 -2.795338)', '2026-06-18 10:04:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673889 -2.795514)'), GeomFromEWKT('SRID=4674;POINT (-39.673922 -2.795338)'))) / (select extract(epoch from '2026-06-18 10:04:41'::timestamp) - extract(epoch from '2026-06-18 10:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673889 -2.795514)'), GeomFromEWKT('SRID=4674;POINT (-39.673922 -2.795338)'))) / (select extract(epoch from '2026-06-18 10:04:41'::timestamp) - extract(epoch from '2026-06-18 10:04: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'), 46821, 'SRID=4674;POINT (-39.673964 -2.795137)', '2026-06-18 10:04:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673922 -2.795338)'), GeomFromEWKT('SRID=4674;POINT (-39.673964 -2.795137)'))) / (select extract(epoch from '2026-06-18 10:04:49'::timestamp) - extract(epoch from '2026-06-18 10:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673922 -2.795338)'), GeomFromEWKT('SRID=4674;POINT (-39.673964 -2.795137)'))) / (select extract(epoch from '2026-06-18 10:04:49'::timestamp) - extract(epoch from '2026-06-18 10:04: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'), 46821, 'SRID=4674;POINT (-39.67402 -2.794969)', '2026-06-18 10:04:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673964 -2.795137)'), GeomFromEWKT('SRID=4674;POINT (-39.67402 -2.794969)'))) / (select extract(epoch from '2026-06-18 10:04:56'::timestamp) - extract(epoch from '2026-06-18 10:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673964 -2.795137)'), GeomFromEWKT('SRID=4674;POINT (-39.67402 -2.794969)'))) / (select extract(epoch from '2026-06-18 10:04:56'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674066 -2.794772)', '2026-06-18 10:05:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67402 -2.794969)'), GeomFromEWKT('SRID=4674;POINT (-39.674066 -2.794772)'))) / (select extract(epoch from '2026-06-18 10:05:04'::timestamp) - extract(epoch from '2026-06-18 10:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67402 -2.794969)'), GeomFromEWKT('SRID=4674;POINT (-39.674066 -2.794772)'))) / (select extract(epoch from '2026-06-18 10:05:04'::timestamp) - extract(epoch from '2026-06-18 10:04: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'), 46821, 'SRID=4674;POINT (-39.674111 -2.794606)', '2026-06-18 10:05:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674066 -2.794772)'), GeomFromEWKT('SRID=4674;POINT (-39.674111 -2.794606)'))) / (select extract(epoch from '2026-06-18 10:05:11'::timestamp) - extract(epoch from '2026-06-18 10:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674066 -2.794772)'), GeomFromEWKT('SRID=4674;POINT (-39.674111 -2.794606)'))) / (select extract(epoch from '2026-06-18 10:05:11'::timestamp) - extract(epoch from '2026-06-18 10:05: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'), 46821, 'SRID=4674;POINT (-39.674167 -2.794366)', '2026-06-18 10:05:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674111 -2.794606)'), GeomFromEWKT('SRID=4674;POINT (-39.674167 -2.794366)'))) / (select extract(epoch from '2026-06-18 10:05:21'::timestamp) - extract(epoch from '2026-06-18 10:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674111 -2.794606)'), GeomFromEWKT('SRID=4674;POINT (-39.674167 -2.794366)'))) / (select extract(epoch from '2026-06-18 10:05:21'::timestamp) - extract(epoch from '2026-06-18 10:05: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'), 46821, 'SRID=4674;POINT (-39.674188 -2.794243)', '2026-06-18 10:05:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674167 -2.794366)'), GeomFromEWKT('SRID=4674;POINT (-39.674188 -2.794243)'))) / (select extract(epoch from '2026-06-18 10:05:26'::timestamp) - extract(epoch from '2026-06-18 10:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674167 -2.794366)'), GeomFromEWKT('SRID=4674;POINT (-39.674188 -2.794243)'))) / (select extract(epoch from '2026-06-18 10:05:26'::timestamp) - extract(epoch from '2026-06-18 10:05: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'), 46821, 'SRID=4674;POINT (-39.674208 -2.794119)', '2026-06-18 10:05:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674188 -2.794243)'), GeomFromEWKT('SRID=4674;POINT (-39.674208 -2.794119)'))) / (select extract(epoch from '2026-06-18 10:05:31'::timestamp) - extract(epoch from '2026-06-18 10:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674188 -2.794243)'), GeomFromEWKT('SRID=4674;POINT (-39.674208 -2.794119)'))) / (select extract(epoch from '2026-06-18 10:05:31'::timestamp) - extract(epoch from '2026-06-18 10:05: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'), 46821, 'SRID=4674;POINT (-39.674226 -2.793995)', '2026-06-18 10:05:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674208 -2.794119)'), GeomFromEWKT('SRID=4674;POINT (-39.674226 -2.793995)'))) / (select extract(epoch from '2026-06-18 10:05:36'::timestamp) - extract(epoch from '2026-06-18 10:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674208 -2.794119)'), GeomFromEWKT('SRID=4674;POINT (-39.674226 -2.793995)'))) / (select extract(epoch from '2026-06-18 10:05:36'::timestamp) - extract(epoch from '2026-06-18 10:05: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'), 46821, 'SRID=4674;POINT (-39.674274 -2.793852)', '2026-06-18 10:05:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674226 -2.793995)'), GeomFromEWKT('SRID=4674;POINT (-39.674274 -2.793852)'))) / (select extract(epoch from '2026-06-18 10:05:42'::timestamp) - extract(epoch from '2026-06-18 10:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674226 -2.793995)'), GeomFromEWKT('SRID=4674;POINT (-39.674274 -2.793852)'))) / (select extract(epoch from '2026-06-18 10:05:42'::timestamp) - extract(epoch from '2026-06-18 10:05: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'), 46821, 'SRID=4674;POINT (-39.674323 -2.793717)', '2026-06-18 10:05:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674274 -2.793852)'), GeomFromEWKT('SRID=4674;POINT (-39.674323 -2.793717)'))) / (select extract(epoch from '2026-06-18 10:05:48'::timestamp) - extract(epoch from '2026-06-18 10:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674274 -2.793852)'), GeomFromEWKT('SRID=4674;POINT (-39.674323 -2.793717)'))) / (select extract(epoch from '2026-06-18 10:05:48'::timestamp) - extract(epoch from '2026-06-18 10:05: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'), 46821, 'SRID=4674;POINT (-39.674355 -2.7936)', '2026-06-18 10:05:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674323 -2.793717)'), GeomFromEWKT('SRID=4674;POINT (-39.674355 -2.7936)'))) / (select extract(epoch from '2026-06-18 10:05:53'::timestamp) - extract(epoch from '2026-06-18 10:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674323 -2.793717)'), GeomFromEWKT('SRID=4674;POINT (-39.674355 -2.7936)'))) / (select extract(epoch from '2026-06-18 10:05:53'::timestamp) - extract(epoch from '2026-06-18 10:05: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'), 46821, 'SRID=4674;POINT (-39.674391 -2.793434)', '2026-06-18 10:06:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674355 -2.7936)'), GeomFromEWKT('SRID=4674;POINT (-39.674391 -2.793434)'))) / (select extract(epoch from '2026-06-18 10:06:00'::timestamp) - extract(epoch from '2026-06-18 10:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674355 -2.7936)'), GeomFromEWKT('SRID=4674;POINT (-39.674391 -2.793434)'))) / (select extract(epoch from '2026-06-18 10:06:00'::timestamp) - extract(epoch from '2026-06-18 10:05: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'), 46821, 'SRID=4674;POINT (-39.674407 -2.793265)', '2026-06-18 10:06:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674391 -2.793434)'), GeomFromEWKT('SRID=4674;POINT (-39.674407 -2.793265)'))) / (select extract(epoch from '2026-06-18 10:06:07'::timestamp) - extract(epoch from '2026-06-18 10:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674391 -2.793434)'), GeomFromEWKT('SRID=4674;POINT (-39.674407 -2.793265)'))) / (select extract(epoch from '2026-06-18 10:06:07'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674413 -2.793117)', '2026-06-18 10:06:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674407 -2.793265)'), GeomFromEWKT('SRID=4674;POINT (-39.674413 -2.793117)'))) / (select extract(epoch from '2026-06-18 10:06:13'::timestamp) - extract(epoch from '2026-06-18 10:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674407 -2.793265)'), GeomFromEWKT('SRID=4674;POINT (-39.674413 -2.793117)'))) / (select extract(epoch from '2026-06-18 10:06:13'::timestamp) - extract(epoch from '2026-06-18 10:06: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'), 46821, 'SRID=4674;POINT (-39.674415 -2.792964)', '2026-06-18 10:06:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674413 -2.793117)'), GeomFromEWKT('SRID=4674;POINT (-39.674415 -2.792964)'))) / (select extract(epoch from '2026-06-18 10:06:19'::timestamp) - extract(epoch from '2026-06-18 10:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674413 -2.793117)'), GeomFromEWKT('SRID=4674;POINT (-39.674415 -2.792964)'))) / (select extract(epoch from '2026-06-18 10:06:19'::timestamp) - extract(epoch from '2026-06-18 10:06: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'), 46821, 'SRID=4674;POINT (-39.674422 -2.792841)', '2026-06-18 10:06:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674415 -2.792964)'), GeomFromEWKT('SRID=4674;POINT (-39.674422 -2.792841)'))) / (select extract(epoch from '2026-06-18 10:06:24'::timestamp) - extract(epoch from '2026-06-18 10:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674415 -2.792964)'), GeomFromEWKT('SRID=4674;POINT (-39.674422 -2.792841)'))) / (select extract(epoch from '2026-06-18 10:06:24'::timestamp) - extract(epoch from '2026-06-18 10:06: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'), 46821, 'SRID=4674;POINT (-39.674443 -2.792664)', '2026-06-18 10:06:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674422 -2.792841)'), GeomFromEWKT('SRID=4674;POINT (-39.674443 -2.792664)'))) / (select extract(epoch from '2026-06-18 10:06:31'::timestamp) - extract(epoch from '2026-06-18 10:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674422 -2.792841)'), GeomFromEWKT('SRID=4674;POINT (-39.674443 -2.792664)'))) / (select extract(epoch from '2026-06-18 10:06:31'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674471 -2.792517)', '2026-06-18 10:06:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674443 -2.792664)'), GeomFromEWKT('SRID=4674;POINT (-39.674471 -2.792517)'))) / (select extract(epoch from '2026-06-18 10:06:37'::timestamp) - extract(epoch from '2026-06-18 10:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674443 -2.792664)'), GeomFromEWKT('SRID=4674;POINT (-39.674471 -2.792517)'))) / (select extract(epoch from '2026-06-18 10:06:37'::timestamp) - extract(epoch from '2026-06-18 10:06: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'), 46821, 'SRID=4674;POINT (-39.674506 -2.792394)', '2026-06-18 10:06:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674471 -2.792517)'), GeomFromEWKT('SRID=4674;POINT (-39.674506 -2.792394)'))) / (select extract(epoch from '2026-06-18 10:06:42'::timestamp) - extract(epoch from '2026-06-18 10:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674471 -2.792517)'), GeomFromEWKT('SRID=4674;POINT (-39.674506 -2.792394)'))) / (select extract(epoch from '2026-06-18 10:06:42'::timestamp) - extract(epoch from '2026-06-18 10:06: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'), 46821, 'SRID=4674;POINT (-39.674547 -2.792246)', '2026-06-18 10:06:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674506 -2.792394)'), GeomFromEWKT('SRID=4674;POINT (-39.674547 -2.792246)'))) / (select extract(epoch from '2026-06-18 10:06:48'::timestamp) - extract(epoch from '2026-06-18 10:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674506 -2.792394)'), GeomFromEWKT('SRID=4674;POINT (-39.674547 -2.792246)'))) / (select extract(epoch from '2026-06-18 10:06:48'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674562 -2.792194)', '2026-06-18 10:06:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674547 -2.792246)'), GeomFromEWKT('SRID=4674;POINT (-39.674562 -2.792194)'))) / (select extract(epoch from '2026-06-18 10:06:50'::timestamp) - extract(epoch from '2026-06-18 10:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674547 -2.792246)'), GeomFromEWKT('SRID=4674;POINT (-39.674562 -2.792194)'))) / (select extract(epoch from '2026-06-18 10:06:50'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674569 -2.792144)', '2026-06-18 10:06:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674562 -2.792194)'), GeomFromEWKT('SRID=4674;POINT (-39.674569 -2.792144)'))) / (select extract(epoch from '2026-06-18 10:06:52'::timestamp) - extract(epoch from '2026-06-18 10:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674562 -2.792194)'), GeomFromEWKT('SRID=4674;POINT (-39.674569 -2.792144)'))) / (select extract(epoch from '2026-06-18 10:06:52'::timestamp) - extract(epoch from '2026-06-18 10:06: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'), 46821, 'SRID=4674;POINT (-39.674581 -2.792017)', '2026-06-18 10:06:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674569 -2.792144)'), GeomFromEWKT('SRID=4674;POINT (-39.674581 -2.792017)'))) / (select extract(epoch from '2026-06-18 10:06:57'::timestamp) - extract(epoch from '2026-06-18 10:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674569 -2.792144)'), GeomFromEWKT('SRID=4674;POINT (-39.674581 -2.792017)'))) / (select extract(epoch from '2026-06-18 10:06:57'::timestamp) - extract(epoch from '2026-06-18 10:06: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'), 46821, 'SRID=4674;POINT (-39.6746 -2.791863)', '2026-06-18 10:07:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674581 -2.792017)'), GeomFromEWKT('SRID=4674;POINT (-39.6746 -2.791863)'))) / (select extract(epoch from '2026-06-18 10:07:03'::timestamp) - extract(epoch from '2026-06-18 10:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674581 -2.792017)'), GeomFromEWKT('SRID=4674;POINT (-39.6746 -2.791863)'))) / (select extract(epoch from '2026-06-18 10:07:03'::timestamp) - extract(epoch from '2026-06-18 10:06: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'), 46821, 'SRID=4674;POINT (-39.674637 -2.791711)', '2026-06-18 10:07:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6746 -2.791863)'), GeomFromEWKT('SRID=4674;POINT (-39.674637 -2.791711)'))) / (select extract(epoch from '2026-06-18 10:07:09'::timestamp) - extract(epoch from '2026-06-18 10:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6746 -2.791863)'), GeomFromEWKT('SRID=4674;POINT (-39.674637 -2.791711)'))) / (select extract(epoch from '2026-06-18 10:07:09'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674674 -2.79159)', '2026-06-18 10:07:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674637 -2.791711)'), GeomFromEWKT('SRID=4674;POINT (-39.674674 -2.79159)'))) / (select extract(epoch from '2026-06-18 10:07:14'::timestamp) - extract(epoch from '2026-06-18 10:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674637 -2.791711)'), GeomFromEWKT('SRID=4674;POINT (-39.674674 -2.79159)'))) / (select extract(epoch from '2026-06-18 10:07:14'::timestamp) - extract(epoch from '2026-06-18 10:07: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'), 46821, 'SRID=4674;POINT (-39.674716 -2.791469)', '2026-06-18 10:07:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674674 -2.79159)'), GeomFromEWKT('SRID=4674;POINT (-39.674716 -2.791469)'))) / (select extract(epoch from '2026-06-18 10:07:19'::timestamp) - extract(epoch from '2026-06-18 10:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674674 -2.79159)'), GeomFromEWKT('SRID=4674;POINT (-39.674716 -2.791469)'))) / (select extract(epoch from '2026-06-18 10:07:19'::timestamp) - extract(epoch from '2026-06-18 10:07: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'), 46821, 'SRID=4674;POINT (-39.674749 -2.791299)', '2026-06-18 10:07:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674716 -2.791469)'), GeomFromEWKT('SRID=4674;POINT (-39.674749 -2.791299)'))) / (select extract(epoch from '2026-06-18 10:07:26'::timestamp) - extract(epoch from '2026-06-18 10:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674716 -2.791469)'), GeomFromEWKT('SRID=4674;POINT (-39.674749 -2.791299)'))) / (select extract(epoch from '2026-06-18 10:07:26'::timestamp) - extract(epoch from '2026-06-18 10:07: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'), 46821, 'SRID=4674;POINT (-39.67478 -2.791097)', '2026-06-18 10:07:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674749 -2.791299)'), GeomFromEWKT('SRID=4674;POINT (-39.67478 -2.791097)'))) / (select extract(epoch from '2026-06-18 10:07:34'::timestamp) - extract(epoch from '2026-06-18 10:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674749 -2.791299)'), GeomFromEWKT('SRID=4674;POINT (-39.67478 -2.791097)'))) / (select extract(epoch from '2026-06-18 10:07:34'::timestamp) - extract(epoch from '2026-06-18 10:07: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'), 46821, 'SRID=4674;POINT (-39.67483 -2.790929)', '2026-06-18 10:07:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67478 -2.791097)'), GeomFromEWKT('SRID=4674;POINT (-39.67483 -2.790929)'))) / (select extract(epoch from '2026-06-18 10:07:41'::timestamp) - extract(epoch from '2026-06-18 10:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67478 -2.791097)'), GeomFromEWKT('SRID=4674;POINT (-39.67483 -2.790929)'))) / (select extract(epoch from '2026-06-18 10:07:41'::timestamp) - extract(epoch from '2026-06-18 10:07: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'), 46821, 'SRID=4674;POINT (-39.674867 -2.790784)', '2026-06-18 10:07:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67483 -2.790929)'), GeomFromEWKT('SRID=4674;POINT (-39.674867 -2.790784)'))) / (select extract(epoch from '2026-06-18 10:07:47'::timestamp) - extract(epoch from '2026-06-18 10:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67483 -2.790929)'), GeomFromEWKT('SRID=4674;POINT (-39.674867 -2.790784)'))) / (select extract(epoch from '2026-06-18 10:07:47'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674914 -2.790642)', '2026-06-18 10:07:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674867 -2.790784)'), GeomFromEWKT('SRID=4674;POINT (-39.674914 -2.790642)'))) / (select extract(epoch from '2026-06-18 10:07:53'::timestamp) - extract(epoch from '2026-06-18 10:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674867 -2.790784)'), GeomFromEWKT('SRID=4674;POINT (-39.674914 -2.790642)'))) / (select extract(epoch from '2026-06-18 10:07:53'::timestamp) - extract(epoch from '2026-06-18 10:07: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'), 46821, 'SRID=4674;POINT (-39.674966 -2.790483)', '2026-06-18 10:08:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674914 -2.790642)'), GeomFromEWKT('SRID=4674;POINT (-39.674966 -2.790483)'))) / (select extract(epoch from '2026-06-18 10:08:00'::timestamp) - extract(epoch from '2026-06-18 10:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674914 -2.790642)'), GeomFromEWKT('SRID=4674;POINT (-39.674966 -2.790483)'))) / (select extract(epoch from '2026-06-18 10:08:00'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.675005 -2.790347)', '2026-06-18 10:08:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674966 -2.790483)'), GeomFromEWKT('SRID=4674;POINT (-39.675005 -2.790347)'))) / (select extract(epoch from '2026-06-18 10:08:06'::timestamp) - extract(epoch from '2026-06-18 10:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674966 -2.790483)'), GeomFromEWKT('SRID=4674;POINT (-39.675005 -2.790347)'))) / (select extract(epoch from '2026-06-18 10:08:06'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.675035 -2.790229)', '2026-06-18 10:08:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675005 -2.790347)'), GeomFromEWKT('SRID=4674;POINT (-39.675035 -2.790229)'))) / (select extract(epoch from '2026-06-18 10:08:11'::timestamp) - extract(epoch from '2026-06-18 10:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675005 -2.790347)'), GeomFromEWKT('SRID=4674;POINT (-39.675035 -2.790229)'))) / (select extract(epoch from '2026-06-18 10:08:11'::timestamp) - extract(epoch from '2026-06-18 10:08: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'), 46821, 'SRID=4674;POINT (-39.675097 -2.79004)', '2026-06-18 10:08:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675035 -2.790229)'), GeomFromEWKT('SRID=4674;POINT (-39.675097 -2.79004)'))) / (select extract(epoch from '2026-06-18 10:08:19'::timestamp) - extract(epoch from '2026-06-18 10:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675035 -2.790229)'), GeomFromEWKT('SRID=4674;POINT (-39.675097 -2.79004)'))) / (select extract(epoch from '2026-06-18 10:08:19'::timestamp) - extract(epoch from '2026-06-18 10:08: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'), 46821, 'SRID=4674;POINT (-39.67513 -2.789869)', '2026-06-18 10:08:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675097 -2.79004)'), GeomFromEWKT('SRID=4674;POINT (-39.67513 -2.789869)'))) / (select extract(epoch from '2026-06-18 10:08:26'::timestamp) - extract(epoch from '2026-06-18 10:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675097 -2.79004)'), GeomFromEWKT('SRID=4674;POINT (-39.67513 -2.789869)'))) / (select extract(epoch from '2026-06-18 10:08:26'::timestamp) - extract(epoch from '2026-06-18 10:08: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'), 46821, 'SRID=4674;POINT (-39.675158 -2.789747)', '2026-06-18 10:08:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67513 -2.789869)'), GeomFromEWKT('SRID=4674;POINT (-39.675158 -2.789747)'))) / (select extract(epoch from '2026-06-18 10:08:31'::timestamp) - extract(epoch from '2026-06-18 10:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67513 -2.789869)'), GeomFromEWKT('SRID=4674;POINT (-39.675158 -2.789747)'))) / (select extract(epoch from '2026-06-18 10:08:31'::timestamp) - extract(epoch from '2026-06-18 10:08: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'), 46821, 'SRID=4674;POINT (-39.675185 -2.789627)', '2026-06-18 10:08:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675158 -2.789747)'), GeomFromEWKT('SRID=4674;POINT (-39.675185 -2.789627)'))) / (select extract(epoch from '2026-06-18 10:08:36'::timestamp) - extract(epoch from '2026-06-18 10:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675158 -2.789747)'), GeomFromEWKT('SRID=4674;POINT (-39.675185 -2.789627)'))) / (select extract(epoch from '2026-06-18 10:08:36'::timestamp) - extract(epoch from '2026-06-18 10:08: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'), 46821, 'SRID=4674;POINT (-39.675202 -2.789479)', '2026-06-18 10:08:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675185 -2.789627)'), GeomFromEWKT('SRID=4674;POINT (-39.675202 -2.789479)'))) / (select extract(epoch from '2026-06-18 10:08:42'::timestamp) - extract(epoch from '2026-06-18 10:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675185 -2.789627)'), GeomFromEWKT('SRID=4674;POINT (-39.675202 -2.789479)'))) / (select extract(epoch from '2026-06-18 10:08:42'::timestamp) - extract(epoch from '2026-06-18 10:08: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'), 46821, 'SRID=4674;POINT (-39.675227 -2.789307)', '2026-06-18 10:08:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675202 -2.789479)'), GeomFromEWKT('SRID=4674;POINT (-39.675227 -2.789307)'))) / (select extract(epoch from '2026-06-18 10:08:49'::timestamp) - extract(epoch from '2026-06-18 10:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675202 -2.789479)'), GeomFromEWKT('SRID=4674;POINT (-39.675227 -2.789307)'))) / (select extract(epoch from '2026-06-18 10:08:49'::timestamp) - extract(epoch from '2026-06-18 10:08: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'), 46821, 'SRID=4674;POINT (-39.675257 -2.789155)', '2026-06-18 10:08:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675227 -2.789307)'), GeomFromEWKT('SRID=4674;POINT (-39.675257 -2.789155)'))) / (select extract(epoch from '2026-06-18 10:08:55'::timestamp) - extract(epoch from '2026-06-18 10:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675227 -2.789307)'), GeomFromEWKT('SRID=4674;POINT (-39.675257 -2.789155)'))) / (select extract(epoch from '2026-06-18 10:08:55'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.675288 -2.78903)', '2026-06-18 10:09:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675257 -2.789155)'), GeomFromEWKT('SRID=4674;POINT (-39.675288 -2.78903)'))) / (select extract(epoch from '2026-06-18 10:09:00'::timestamp) - extract(epoch from '2026-06-18 10:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675257 -2.789155)'), GeomFromEWKT('SRID=4674;POINT (-39.675288 -2.78903)'))) / (select extract(epoch from '2026-06-18 10:09:00'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.675346 -2.788868)', '2026-06-18 10:09:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675288 -2.78903)'), GeomFromEWKT('SRID=4674;POINT (-39.675346 -2.788868)'))) / (select extract(epoch from '2026-06-18 10:09:07'::timestamp) - extract(epoch from '2026-06-18 10:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675288 -2.78903)'), GeomFromEWKT('SRID=4674;POINT (-39.675346 -2.788868)'))) / (select extract(epoch from '2026-06-18 10:09:07'::timestamp) - extract(epoch from '2026-06-18 10:09: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'), 46821, 'SRID=4674;POINT (-39.675398 -2.78868)', '2026-06-18 10:09:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675346 -2.788868)'), GeomFromEWKT('SRID=4674;POINT (-39.675398 -2.78868)'))) / (select extract(epoch from '2026-06-18 10:09:15'::timestamp) - extract(epoch from '2026-06-18 10:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675346 -2.788868)'), GeomFromEWKT('SRID=4674;POINT (-39.675398 -2.78868)'))) / (select extract(epoch from '2026-06-18 10:09:15'::timestamp) - extract(epoch from '2026-06-18 10:09: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'), 46821, 'SRID=4674;POINT (-39.675431 -2.788564)', '2026-06-18 10:09:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675398 -2.78868)'), GeomFromEWKT('SRID=4674;POINT (-39.675431 -2.788564)'))) / (select extract(epoch from '2026-06-18 10:09:20'::timestamp) - extract(epoch from '2026-06-18 10:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675398 -2.78868)'), GeomFromEWKT('SRID=4674;POINT (-39.675431 -2.788564)'))) / (select extract(epoch from '2026-06-18 10:09:20'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.675483 -2.788401)', '2026-06-18 10:09:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675431 -2.788564)'), GeomFromEWKT('SRID=4674;POINT (-39.675483 -2.788401)'))) / (select extract(epoch from '2026-06-18 10:09:27'::timestamp) - extract(epoch from '2026-06-18 10:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675431 -2.788564)'), GeomFromEWKT('SRID=4674;POINT (-39.675483 -2.788401)'))) / (select extract(epoch from '2026-06-18 10:09:27'::timestamp) - extract(epoch from '2026-06-18 10:09: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'), 46821, 'SRID=4674;POINT (-39.675538 -2.788239)', '2026-06-18 10:09:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675483 -2.788401)'), GeomFromEWKT('SRID=4674;POINT (-39.675538 -2.788239)'))) / (select extract(epoch from '2026-06-18 10:09:34'::timestamp) - extract(epoch from '2026-06-18 10:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675483 -2.788401)'), GeomFromEWKT('SRID=4674;POINT (-39.675538 -2.788239)'))) / (select extract(epoch from '2026-06-18 10:09:34'::timestamp) - extract(epoch from '2026-06-18 10:09: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'), 46821, 'SRID=4674;POINT (-39.675553 -2.788065)', '2026-06-18 10:09:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675538 -2.788239)'), GeomFromEWKT('SRID=4674;POINT (-39.675553 -2.788065)'))) / (select extract(epoch from '2026-06-18 10:09:41'::timestamp) - extract(epoch from '2026-06-18 10:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675538 -2.788239)'), GeomFromEWKT('SRID=4674;POINT (-39.675553 -2.788065)'))) / (select extract(epoch from '2026-06-18 10:09:41'::timestamp) - extract(epoch from '2026-06-18 10:09: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'), 46821, 'SRID=4674;POINT (-39.675551 -2.787914)', '2026-06-18 10:09:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675553 -2.788065)'), GeomFromEWKT('SRID=4674;POINT (-39.675551 -2.787914)'))) / (select extract(epoch from '2026-06-18 10:09:47'::timestamp) - extract(epoch from '2026-06-18 10:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675553 -2.788065)'), GeomFromEWKT('SRID=4674;POINT (-39.675551 -2.787914)'))) / (select extract(epoch from '2026-06-18 10:09:47'::timestamp) - extract(epoch from '2026-06-18 10:09: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'), 46821, 'SRID=4674;POINT (-39.675504 -2.787762)', '2026-06-18 10:09:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675551 -2.787914)'), GeomFromEWKT('SRID=4674;POINT (-39.675504 -2.787762)'))) / (select extract(epoch from '2026-06-18 10:09:54'::timestamp) - extract(epoch from '2026-06-18 10:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675551 -2.787914)'), GeomFromEWKT('SRID=4674;POINT (-39.675504 -2.787762)'))) / (select extract(epoch from '2026-06-18 10:09:54'::timestamp) - extract(epoch from '2026-06-18 10:09: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'), 46821, 'SRID=4674;POINT (-39.675483 -2.787726)', '2026-06-18 10:09:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675504 -2.787762)'), GeomFromEWKT('SRID=4674;POINT (-39.675483 -2.787726)'))) / (select extract(epoch from '2026-06-18 10:09:56'::timestamp) - extract(epoch from '2026-06-18 10:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675504 -2.787762)'), GeomFromEWKT('SRID=4674;POINT (-39.675483 -2.787726)'))) / (select extract(epoch from '2026-06-18 10:09:56'::timestamp) - extract(epoch from '2026-06-18 10:09: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'), 46821, 'SRID=4674;POINT (-39.675444 -2.787686)', '2026-06-18 10:09:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675483 -2.787726)'), GeomFromEWKT('SRID=4674;POINT (-39.675444 -2.787686)'))) / (select extract(epoch from '2026-06-18 10:09:59'::timestamp) - extract(epoch from '2026-06-18 10:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675483 -2.787726)'), GeomFromEWKT('SRID=4674;POINT (-39.675444 -2.787686)'))) / (select extract(epoch from '2026-06-18 10:09:59'::timestamp) - extract(epoch from '2026-06-18 10:09: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'), 46821, 'SRID=4674;POINT (-39.675371 -2.787631)', '2026-06-18 10:10:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675444 -2.787686)'), GeomFromEWKT('SRID=4674;POINT (-39.675371 -2.787631)'))) / (select extract(epoch from '2026-06-18 10:10:05'::timestamp) - extract(epoch from '2026-06-18 10:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675444 -2.787686)'), GeomFromEWKT('SRID=4674;POINT (-39.675371 -2.787631)'))) / (select extract(epoch from '2026-06-18 10:10:05'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.675358 -2.787621)', '2026-06-18 10:10:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675371 -2.787631)'), GeomFromEWKT('SRID=4674;POINT (-39.675358 -2.787621)'))) / (select extract(epoch from '2026-06-18 10:10:06'::timestamp) - extract(epoch from '2026-06-18 10:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675371 -2.787631)'), GeomFromEWKT('SRID=4674;POINT (-39.675358 -2.787621)'))) / (select extract(epoch from '2026-06-18 10:10:06'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.67528 -2.787532)', '2026-06-18 10:10:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675358 -2.787621)'), GeomFromEWKT('SRID=4674;POINT (-39.67528 -2.787532)'))) / (select extract(epoch from '2026-06-18 10:10:14'::timestamp) - extract(epoch from '2026-06-18 10:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675358 -2.787621)'), GeomFromEWKT('SRID=4674;POINT (-39.67528 -2.787532)'))) / (select extract(epoch from '2026-06-18 10:10:14'::timestamp) - extract(epoch from '2026-06-18 10:10: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'), 46821, 'SRID=4674;POINT (-39.675248 -2.787487)', '2026-06-18 10:10:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67528 -2.787532)'), GeomFromEWKT('SRID=4674;POINT (-39.675248 -2.787487)'))) / (select extract(epoch from '2026-06-18 10:10:18'::timestamp) - extract(epoch from '2026-06-18 10:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67528 -2.787532)'), GeomFromEWKT('SRID=4674;POINT (-39.675248 -2.787487)'))) / (select extract(epoch from '2026-06-18 10:10:18'::timestamp) - extract(epoch from '2026-06-18 10:10: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'), 46821, 'SRID=4674;POINT (-39.675232 -2.787466)', '2026-06-18 10:10:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675248 -2.787487)'), GeomFromEWKT('SRID=4674;POINT (-39.675232 -2.787466)'))) / (select extract(epoch from '2026-06-18 10:10:20'::timestamp) - extract(epoch from '2026-06-18 10:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675248 -2.787487)'), GeomFromEWKT('SRID=4674;POINT (-39.675232 -2.787466)'))) / (select extract(epoch from '2026-06-18 10:10:20'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.675147 -2.787381)', '2026-06-18 10:10:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675232 -2.787466)'), GeomFromEWKT('SRID=4674;POINT (-39.675147 -2.787381)'))) / (select extract(epoch from '2026-06-18 10:10:30'::timestamp) - extract(epoch from '2026-06-18 10:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675232 -2.787466)'), GeomFromEWKT('SRID=4674;POINT (-39.675147 -2.787381)'))) / (select extract(epoch from '2026-06-18 10:10:30'::timestamp) - extract(epoch from '2026-06-18 10:10: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'), 46821, 'SRID=4674;POINT (-39.675087 -2.787334)', '2026-06-18 10:10:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675147 -2.787381)'), GeomFromEWKT('SRID=4674;POINT (-39.675087 -2.787334)'))) / (select extract(epoch from '2026-06-18 10:10:37'::timestamp) - extract(epoch from '2026-06-18 10:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675147 -2.787381)'), GeomFromEWKT('SRID=4674;POINT (-39.675087 -2.787334)'))) / (select extract(epoch from '2026-06-18 10:10:37'::timestamp) - extract(epoch from '2026-06-18 10:10: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'), 46821, 'SRID=4674;POINT (-39.675005 -2.787274)', '2026-06-18 10:10:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675087 -2.787334)'), GeomFromEWKT('SRID=4674;POINT (-39.675005 -2.787274)'))) / (select extract(epoch from '2026-06-18 10:10:47'::timestamp) - extract(epoch from '2026-06-18 10:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675087 -2.787334)'), GeomFromEWKT('SRID=4674;POINT (-39.675005 -2.787274)'))) / (select extract(epoch from '2026-06-18 10:10:47'::timestamp) - extract(epoch from '2026-06-18 10:10: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'), 46821, 'SRID=4674;POINT (-39.674951 -2.787178)', '2026-06-18 10:10:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675005 -2.787274)'), GeomFromEWKT('SRID=4674;POINT (-39.674951 -2.787178)'))) / (select extract(epoch from '2026-06-18 10:10:56'::timestamp) - extract(epoch from '2026-06-18 10:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675005 -2.787274)'), GeomFromEWKT('SRID=4674;POINT (-39.674951 -2.787178)'))) / (select extract(epoch from '2026-06-18 10:10:56'::timestamp) - extract(epoch from '2026-06-18 10:10: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'), 46821, 'SRID=4674;POINT (-39.674935 -2.787136)', '2026-06-18 10:10:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674951 -2.787178)'), GeomFromEWKT('SRID=4674;POINT (-39.674935 -2.787136)'))) / (select extract(epoch from '2026-06-18 10:10:59'::timestamp) - extract(epoch from '2026-06-18 10:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674951 -2.787178)'), GeomFromEWKT('SRID=4674;POINT (-39.674935 -2.787136)'))) / (select extract(epoch from '2026-06-18 10:10:59'::timestamp) - extract(epoch from '2026-06-18 10:10: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'), 46821, 'SRID=4674;POINT (-39.67492 -2.787109)', '2026-06-18 10:11:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674935 -2.787136)'), GeomFromEWKT('SRID=4674;POINT (-39.67492 -2.787109)'))) / (select extract(epoch from '2026-06-18 10:11:01'::timestamp) - extract(epoch from '2026-06-18 10:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674935 -2.787136)'), GeomFromEWKT('SRID=4674;POINT (-39.67492 -2.787109)'))) / (select extract(epoch from '2026-06-18 10:11:01'::timestamp) - extract(epoch from '2026-06-18 10:10: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'), 46821, 'SRID=4674;POINT (-39.674845 -2.786961)', '2026-06-18 10:11:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67492 -2.787109)'), GeomFromEWKT('SRID=4674;POINT (-39.674845 -2.786961)'))) / (select extract(epoch from '2026-06-18 10:11:14'::timestamp) - extract(epoch from '2026-06-18 10:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67492 -2.787109)'), GeomFromEWKT('SRID=4674;POINT (-39.674845 -2.786961)'))) / (select extract(epoch from '2026-06-18 10:11:14'::timestamp) - extract(epoch from '2026-06-18 10:11: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'), 46821, 'SRID=4674;POINT (-39.674803 -2.786852)', '2026-06-18 10:11:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674845 -2.786961)'), GeomFromEWKT('SRID=4674;POINT (-39.674803 -2.786852)'))) / (select extract(epoch from '2026-06-18 10:11:24'::timestamp) - extract(epoch from '2026-06-18 10:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674845 -2.786961)'), GeomFromEWKT('SRID=4674;POINT (-39.674803 -2.786852)'))) / (select extract(epoch from '2026-06-18 10:11:24'::timestamp) - extract(epoch from '2026-06-18 10:11: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'), 46821, 'SRID=4674;POINT (-39.674771 -2.786756)', '2026-06-18 10:11:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674803 -2.786852)'), GeomFromEWKT('SRID=4674;POINT (-39.674771 -2.786756)'))) / (select extract(epoch from '2026-06-18 10:11:32'::timestamp) - extract(epoch from '2026-06-18 10:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674803 -2.786852)'), GeomFromEWKT('SRID=4674;POINT (-39.674771 -2.786756)'))) / (select extract(epoch from '2026-06-18 10:11:32'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674744 -2.786649)', '2026-06-18 10:11:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674771 -2.786756)'), GeomFromEWKT('SRID=4674;POINT (-39.674744 -2.786649)'))) / (select extract(epoch from '2026-06-18 10:11:40'::timestamp) - extract(epoch from '2026-06-18 10:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674771 -2.786756)'), GeomFromEWKT('SRID=4674;POINT (-39.674744 -2.786649)'))) / (select extract(epoch from '2026-06-18 10:11:40'::timestamp) - extract(epoch from '2026-06-18 10:11: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'), 46821, 'SRID=4674;POINT (-39.67474 -2.786635)', '2026-06-18 10:11:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674744 -2.786649)'), GeomFromEWKT('SRID=4674;POINT (-39.67474 -2.786635)'))) / (select extract(epoch from '2026-06-18 10:11:41'::timestamp) - extract(epoch from '2026-06-18 10:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674744 -2.786649)'), GeomFromEWKT('SRID=4674;POINT (-39.67474 -2.786635)'))) / (select extract(epoch from '2026-06-18 10:11:41'::timestamp) - extract(epoch from '2026-06-18 10:11: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'), 46821, 'SRID=4674;POINT (-39.674734 -2.78659)', '2026-06-18 10:11:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67474 -2.786635)'), GeomFromEWKT('SRID=4674;POINT (-39.674734 -2.78659)'))) / (select extract(epoch from '2026-06-18 10:11:44'::timestamp) - extract(epoch from '2026-06-18 10:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67474 -2.786635)'), GeomFromEWKT('SRID=4674;POINT (-39.674734 -2.78659)'))) / (select extract(epoch from '2026-06-18 10:11:44'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674729 -2.786498)', '2026-06-18 10:11:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674734 -2.78659)'), GeomFromEWKT('SRID=4674;POINT (-39.674729 -2.786498)'))) / (select extract(epoch from '2026-06-18 10:11:50'::timestamp) - extract(epoch from '2026-06-18 10:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674734 -2.78659)'), GeomFromEWKT('SRID=4674;POINT (-39.674729 -2.786498)'))) / (select extract(epoch from '2026-06-18 10:11:50'::timestamp) - extract(epoch from '2026-06-18 10:11: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'), 46821, 'SRID=4674;POINT (-39.674728 -2.786482)', '2026-06-18 10:11:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674729 -2.786498)'), GeomFromEWKT('SRID=4674;POINT (-39.674728 -2.786482)'))) / (select extract(epoch from '2026-06-18 10:11:51'::timestamp) - extract(epoch from '2026-06-18 10:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674729 -2.786498)'), GeomFromEWKT('SRID=4674;POINT (-39.674728 -2.786482)'))) / (select extract(epoch from '2026-06-18 10:11:51'::timestamp) - extract(epoch from '2026-06-18 10:11: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'), 46821, 'SRID=4674;POINT (-39.674735 -2.786387)', '2026-06-18 10:11:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674728 -2.786482)'), GeomFromEWKT('SRID=4674;POINT (-39.674735 -2.786387)'))) / (select extract(epoch from '2026-06-18 10:11:57'::timestamp) - extract(epoch from '2026-06-18 10:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674728 -2.786482)'), GeomFromEWKT('SRID=4674;POINT (-39.674735 -2.786387)'))) / (select extract(epoch from '2026-06-18 10:11:57'::timestamp) - extract(epoch from '2026-06-18 10:11: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'), 46821, 'SRID=4674;POINT (-39.674735 -2.786292)', '2026-06-18 10:12:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674735 -2.786387)'), GeomFromEWKT('SRID=4674;POINT (-39.674735 -2.786292)'))) / (select extract(epoch from '2026-06-18 10:12:03'::timestamp) - extract(epoch from '2026-06-18 10:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674735 -2.786387)'), GeomFromEWKT('SRID=4674;POINT (-39.674735 -2.786292)'))) / (select extract(epoch from '2026-06-18 10:12:03'::timestamp) - extract(epoch from '2026-06-18 10:11: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'), 46821, 'SRID=4674;POINT (-39.674707 -2.786192)', '2026-06-18 10:12:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674735 -2.786292)'), GeomFromEWKT('SRID=4674;POINT (-39.674707 -2.786192)'))) / (select extract(epoch from '2026-06-18 10:12:10'::timestamp) - extract(epoch from '2026-06-18 10:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674735 -2.786292)'), GeomFromEWKT('SRID=4674;POINT (-39.674707 -2.786192)'))) / (select extract(epoch from '2026-06-18 10:12:10'::timestamp) - extract(epoch from '2026-06-18 10:12: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'), 46821, 'SRID=4674;POINT (-39.674694 -2.786151)', '2026-06-18 10:12:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674707 -2.786192)'), GeomFromEWKT('SRID=4674;POINT (-39.674694 -2.786151)'))) / (select extract(epoch from '2026-06-18 10:12:13'::timestamp) - extract(epoch from '2026-06-18 10:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674707 -2.786192)'), GeomFromEWKT('SRID=4674;POINT (-39.674694 -2.786151)'))) / (select extract(epoch from '2026-06-18 10:12:13'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674688 -2.786138)', '2026-06-18 10:12:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674694 -2.786151)'), GeomFromEWKT('SRID=4674;POINT (-39.674688 -2.786138)'))) / (select extract(epoch from '2026-06-18 10:12:14'::timestamp) - extract(epoch from '2026-06-18 10:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674694 -2.786151)'), GeomFromEWKT('SRID=4674;POINT (-39.674688 -2.786138)'))) / (select extract(epoch from '2026-06-18 10:12:14'::timestamp) - extract(epoch from '2026-06-18 10:12: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'), 46821, 'SRID=4674;POINT (-39.674641 -2.786057)', '2026-06-18 10:12:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674688 -2.786138)'), GeomFromEWKT('SRID=4674;POINT (-39.674641 -2.786057)'))) / (select extract(epoch from '2026-06-18 10:12:22'::timestamp) - extract(epoch from '2026-06-18 10:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674688 -2.786138)'), GeomFromEWKT('SRID=4674;POINT (-39.674641 -2.786057)'))) / (select extract(epoch from '2026-06-18 10:12:22'::timestamp) - extract(epoch from '2026-06-18 10:12: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'), 46821, 'SRID=4674;POINT (-39.674573 -2.785949)', '2026-06-18 10:12:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674641 -2.786057)'), GeomFromEWKT('SRID=4674;POINT (-39.674573 -2.785949)'))) / (select extract(epoch from '2026-06-18 10:12:33'::timestamp) - extract(epoch from '2026-06-18 10:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674641 -2.786057)'), GeomFromEWKT('SRID=4674;POINT (-39.674573 -2.785949)'))) / (select extract(epoch from '2026-06-18 10:12:33'::timestamp) - extract(epoch from '2026-06-18 10:12: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'), 46821, 'SRID=4674;POINT (-39.674537 -2.78589)', '2026-06-18 10:12:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674573 -2.785949)'), GeomFromEWKT('SRID=4674;POINT (-39.674537 -2.78589)'))) / (select extract(epoch from '2026-06-18 10:12:39'::timestamp) - extract(epoch from '2026-06-18 10:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674573 -2.785949)'), GeomFromEWKT('SRID=4674;POINT (-39.674537 -2.78589)'))) / (select extract(epoch from '2026-06-18 10:12:39'::timestamp) - extract(epoch from '2026-06-18 10:12: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'), 46821, 'SRID=4674;POINT (-39.67449 -2.785843)', '2026-06-18 10:12:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674537 -2.78589)'), GeomFromEWKT('SRID=4674;POINT (-39.67449 -2.785843)'))) / (select extract(epoch from '2026-06-18 10:12:47'::timestamp) - extract(epoch from '2026-06-18 10:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674537 -2.78589)'), GeomFromEWKT('SRID=4674;POINT (-39.67449 -2.785843)'))) / (select extract(epoch from '2026-06-18 10:12:47'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674469 -2.785827)', '2026-06-18 10:12:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67449 -2.785843)'), GeomFromEWKT('SRID=4674;POINT (-39.674469 -2.785827)'))) / (select extract(epoch from '2026-06-18 10:12:51'::timestamp) - extract(epoch from '2026-06-18 10:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67449 -2.785843)'), GeomFromEWKT('SRID=4674;POINT (-39.674469 -2.785827)'))) / (select extract(epoch from '2026-06-18 10:12:51'::timestamp) - extract(epoch from '2026-06-18 10:12: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'), 46821, 'SRID=4674;POINT (-39.67446 -2.785816)', '2026-06-18 10:12:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674469 -2.785827)'), GeomFromEWKT('SRID=4674;POINT (-39.67446 -2.785816)'))) / (select extract(epoch from '2026-06-18 10:12:53'::timestamp) - extract(epoch from '2026-06-18 10:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674469 -2.785827)'), GeomFromEWKT('SRID=4674;POINT (-39.67446 -2.785816)'))) / (select extract(epoch from '2026-06-18 10:12:53'::timestamp) - extract(epoch from '2026-06-18 10:12: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'), 46821, 'SRID=4674;POINT (-39.674425 -2.785782)', '2026-06-18 10:12:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67446 -2.785816)'), GeomFromEWKT('SRID=4674;POINT (-39.674425 -2.785782)'))) / (select extract(epoch from '2026-06-18 10:12:59'::timestamp) - extract(epoch from '2026-06-18 10:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67446 -2.785816)'), GeomFromEWKT('SRID=4674;POINT (-39.674425 -2.785782)'))) / (select extract(epoch from '2026-06-18 10:12:59'::timestamp) - extract(epoch from '2026-06-18 10:12: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'), 46821, 'SRID=4674;POINT (-39.674403 -2.785732)', '2026-06-18 10:13:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674425 -2.785782)'), GeomFromEWKT('SRID=4674;POINT (-39.674403 -2.785732)'))) / (select extract(epoch from '2026-06-18 10:13:07'::timestamp) - extract(epoch from '2026-06-18 10:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674425 -2.785782)'), GeomFromEWKT('SRID=4674;POINT (-39.674403 -2.785732)'))) / (select extract(epoch from '2026-06-18 10:13:07'::timestamp) - extract(epoch from '2026-06-18 10:12: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'), 46821, 'SRID=4674;POINT (-39.674394 -2.785695)', '2026-06-18 10:13:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674403 -2.785732)'), GeomFromEWKT('SRID=4674;POINT (-39.674394 -2.785695)'))) / (select extract(epoch from '2026-06-18 10:13:11'::timestamp) - extract(epoch from '2026-06-18 10:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674403 -2.785732)'), GeomFromEWKT('SRID=4674;POINT (-39.674394 -2.785695)'))) / (select extract(epoch from '2026-06-18 10:13:11'::timestamp) - extract(epoch from '2026-06-18 10:13: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'), 46821, 'SRID=4674;POINT (-39.674385 -2.785667)', '2026-06-18 10:13:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674394 -2.785695)'), GeomFromEWKT('SRID=4674;POINT (-39.674385 -2.785667)'))) / (select extract(epoch from '2026-06-18 10:13:14'::timestamp) - extract(epoch from '2026-06-18 10:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674394 -2.785695)'), GeomFromEWKT('SRID=4674;POINT (-39.674385 -2.785667)'))) / (select extract(epoch from '2026-06-18 10:13:14'::timestamp) - extract(epoch from '2026-06-18 10:13: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'), 46821, 'SRID=4674;POINT (-39.674366 -2.785588)', '2026-06-18 10:13:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674385 -2.785667)'), GeomFromEWKT('SRID=4674;POINT (-39.674366 -2.785588)'))) / (select extract(epoch from '2026-06-18 10:13:21'::timestamp) - extract(epoch from '2026-06-18 10:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674385 -2.785667)'), GeomFromEWKT('SRID=4674;POINT (-39.674366 -2.785588)'))) / (select extract(epoch from '2026-06-18 10:13:21'::timestamp) - extract(epoch from '2026-06-18 10:13: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'), 46821, 'SRID=4674;POINT (-39.674341 -2.785518)', '2026-06-18 10:13:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674366 -2.785588)'), GeomFromEWKT('SRID=4674;POINT (-39.674341 -2.785518)'))) / (select extract(epoch from '2026-06-18 10:13:27'::timestamp) - extract(epoch from '2026-06-18 10:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674366 -2.785588)'), GeomFromEWKT('SRID=4674;POINT (-39.674341 -2.785518)'))) / (select extract(epoch from '2026-06-18 10:13:27'::timestamp) - extract(epoch from '2026-06-18 10:13: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'), 46821, 'SRID=4674;POINT (-39.674338 -2.785508)', '2026-06-18 10:13:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674341 -2.785518)'), GeomFromEWKT('SRID=4674;POINT (-39.674338 -2.785508)'))) / (select extract(epoch from '2026-06-18 10:13:28'::timestamp) - extract(epoch from '2026-06-18 10:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674341 -2.785518)'), GeomFromEWKT('SRID=4674;POINT (-39.674338 -2.785508)'))) / (select extract(epoch from '2026-06-18 10:13:28'::timestamp) - extract(epoch from '2026-06-18 10:13: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'), 46821, 'SRID=4674;POINT (-39.674318 -2.785463)', '2026-06-18 10:13:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674338 -2.785508)'), GeomFromEWKT('SRID=4674;POINT (-39.674318 -2.785463)'))) / (select extract(epoch from '2026-06-18 10:13:32'::timestamp) - extract(epoch from '2026-06-18 10:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674338 -2.785508)'), GeomFromEWKT('SRID=4674;POINT (-39.674318 -2.785463)'))) / (select extract(epoch from '2026-06-18 10:13:32'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674297 -2.785419)', '2026-06-18 10:13:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674318 -2.785463)'), GeomFromEWKT('SRID=4674;POINT (-39.674297 -2.785419)'))) / (select extract(epoch from '2026-06-18 10:13:36'::timestamp) - extract(epoch from '2026-06-18 10:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674318 -2.785463)'), GeomFromEWKT('SRID=4674;POINT (-39.674297 -2.785419)'))) / (select extract(epoch from '2026-06-18 10:13:36'::timestamp) - extract(epoch from '2026-06-18 10:13: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'), 46821, 'SRID=4674;POINT (-39.674282 -2.785399)', '2026-06-18 10:13:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674297 -2.785419)'), GeomFromEWKT('SRID=4674;POINT (-39.674282 -2.785399)'))) / (select extract(epoch from '2026-06-18 10:13:38'::timestamp) - extract(epoch from '2026-06-18 10:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674297 -2.785419)'), GeomFromEWKT('SRID=4674;POINT (-39.674282 -2.785399)'))) / (select extract(epoch from '2026-06-18 10:13:38'::timestamp) - extract(epoch from '2026-06-18 10:13: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'), 46821, 'SRID=4674;POINT (-39.674243 -2.785332)', '2026-06-18 10:13:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674282 -2.785399)'), GeomFromEWKT('SRID=4674;POINT (-39.674243 -2.785332)'))) / (select extract(epoch from '2026-06-18 10:13:45'::timestamp) - extract(epoch from '2026-06-18 10:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674282 -2.785399)'), GeomFromEWKT('SRID=4674;POINT (-39.674243 -2.785332)'))) / (select extract(epoch from '2026-06-18 10:13:45'::timestamp) - extract(epoch from '2026-06-18 10:13: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'), 46821, 'SRID=4674;POINT (-39.674229 -2.785313)', '2026-06-18 10:13:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674243 -2.785332)'), GeomFromEWKT('SRID=4674;POINT (-39.674229 -2.785313)'))) / (select extract(epoch from '2026-06-18 10:13:47'::timestamp) - extract(epoch from '2026-06-18 10:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674243 -2.785332)'), GeomFromEWKT('SRID=4674;POINT (-39.674229 -2.785313)'))) / (select extract(epoch from '2026-06-18 10:13:47'::timestamp) - extract(epoch from '2026-06-18 10:13: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'), 46821, 'SRID=4674;POINT (-39.674216 -2.785283)', '2026-06-18 10:13:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674229 -2.785313)'), GeomFromEWKT('SRID=4674;POINT (-39.674216 -2.785283)'))) / (select extract(epoch from '2026-06-18 10:13:50'::timestamp) - extract(epoch from '2026-06-18 10:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674229 -2.785313)'), GeomFromEWKT('SRID=4674;POINT (-39.674216 -2.785283)'))) / (select extract(epoch from '2026-06-18 10:13:50'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674205 -2.785266)', '2026-06-18 10:13:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674216 -2.785283)'), GeomFromEWKT('SRID=4674;POINT (-39.674205 -2.785266)'))) / (select extract(epoch from '2026-06-18 10:13:52'::timestamp) - extract(epoch from '2026-06-18 10:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674216 -2.785283)'), GeomFromEWKT('SRID=4674;POINT (-39.674205 -2.785266)'))) / (select extract(epoch from '2026-06-18 10:13:52'::timestamp) - extract(epoch from '2026-06-18 10:13: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'), 46821, 'SRID=4674;POINT (-39.674185 -2.785231)', '2026-06-18 10:13:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674205 -2.785266)'), GeomFromEWKT('SRID=4674;POINT (-39.674185 -2.785231)'))) / (select extract(epoch from '2026-06-18 10:13:56'::timestamp) - extract(epoch from '2026-06-18 10:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674205 -2.785266)'), GeomFromEWKT('SRID=4674;POINT (-39.674185 -2.785231)'))) / (select extract(epoch from '2026-06-18 10:13:56'::timestamp) - extract(epoch from '2026-06-18 10:13: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'), 46821, 'SRID=4674;POINT (-39.674177 -2.785222)', '2026-06-18 10:13:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674185 -2.785231)'), GeomFromEWKT('SRID=4674;POINT (-39.674177 -2.785222)'))) / (select extract(epoch from '2026-06-18 10:13:57'::timestamp) - extract(epoch from '2026-06-18 10:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674185 -2.785231)'), GeomFromEWKT('SRID=4674;POINT (-39.674177 -2.785222)'))) / (select extract(epoch from '2026-06-18 10:13:57'::timestamp) - extract(epoch from '2026-06-18 10:13: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'), 46821, 'SRID=4674;POINT (-39.674157 -2.785188)', '2026-06-18 10:14:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674177 -2.785222)'), GeomFromEWKT('SRID=4674;POINT (-39.674157 -2.785188)'))) / (select extract(epoch from '2026-06-18 10:14:01'::timestamp) - extract(epoch from '2026-06-18 10:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674177 -2.785222)'), GeomFromEWKT('SRID=4674;POINT (-39.674157 -2.785188)'))) / (select extract(epoch from '2026-06-18 10:14:01'::timestamp) - extract(epoch from '2026-06-18 10:13: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'), 46821, 'SRID=4674;POINT (-39.674116 -2.785115)', '2026-06-18 10:14:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674157 -2.785188)'), GeomFromEWKT('SRID=4674;POINT (-39.674116 -2.785115)'))) / (select extract(epoch from '2026-06-18 10:14:09'::timestamp) - extract(epoch from '2026-06-18 10:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674157 -2.785188)'), GeomFromEWKT('SRID=4674;POINT (-39.674116 -2.785115)'))) / (select extract(epoch from '2026-06-18 10:14:09'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674089 -2.785063)', '2026-06-18 10:14:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674116 -2.785115)'), GeomFromEWKT('SRID=4674;POINT (-39.674089 -2.785063)'))) / (select extract(epoch from '2026-06-18 10:14:16'::timestamp) - extract(epoch from '2026-06-18 10:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674116 -2.785115)'), GeomFromEWKT('SRID=4674;POINT (-39.674089 -2.785063)'))) / (select extract(epoch from '2026-06-18 10:14:16'::timestamp) - extract(epoch from '2026-06-18 10:14: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'), 46821, 'SRID=4674;POINT (-39.674056 -2.785025)', '2026-06-18 10:14:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674089 -2.785063)'), GeomFromEWKT('SRID=4674;POINT (-39.674056 -2.785025)'))) / (select extract(epoch from '2026-06-18 10:14:22'::timestamp) - extract(epoch from '2026-06-18 10:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674089 -2.785063)'), GeomFromEWKT('SRID=4674;POINT (-39.674056 -2.785025)'))) / (select extract(epoch from '2026-06-18 10:14:22'::timestamp) - extract(epoch from '2026-06-18 10:14: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'), 46821, 'SRID=4674;POINT (-39.674051 -2.785017)', '2026-06-18 10:14:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674056 -2.785025)'), GeomFromEWKT('SRID=4674;POINT (-39.674051 -2.785017)'))) / (select extract(epoch from '2026-06-18 10:14:23'::timestamp) - extract(epoch from '2026-06-18 10:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674056 -2.785025)'), GeomFromEWKT('SRID=4674;POINT (-39.674051 -2.785017)'))) / (select extract(epoch from '2026-06-18 10:14:23'::timestamp) - extract(epoch from '2026-06-18 10:14: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'), 46821, 'SRID=4674;POINT (-39.674032 -2.784985)', '2026-06-18 10:14:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674051 -2.785017)'), GeomFromEWKT('SRID=4674;POINT (-39.674032 -2.784985)'))) / (select extract(epoch from '2026-06-18 10:14:27'::timestamp) - extract(epoch from '2026-06-18 10:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674051 -2.785017)'), GeomFromEWKT('SRID=4674;POINT (-39.674032 -2.784985)'))) / (select extract(epoch from '2026-06-18 10:14:27'::timestamp) - extract(epoch from '2026-06-18 10:14: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'), 46821, 'SRID=4674;POINT (-39.674023 -2.784967)', '2026-06-18 10:14:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674032 -2.784985)'), GeomFromEWKT('SRID=4674;POINT (-39.674023 -2.784967)'))) / (select extract(epoch from '2026-06-18 10:14:29'::timestamp) - extract(epoch from '2026-06-18 10:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674032 -2.784985)'), GeomFromEWKT('SRID=4674;POINT (-39.674023 -2.784967)'))) / (select extract(epoch from '2026-06-18 10:14:29'::timestamp) - extract(epoch from '2026-06-18 10:14: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'), 46821, 'SRID=4674;POINT (-39.674016 -2.784947)', '2026-06-18 10:14:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674023 -2.784967)'), GeomFromEWKT('SRID=4674;POINT (-39.674016 -2.784947)'))) / (select extract(epoch from '2026-06-18 10:14:31'::timestamp) - extract(epoch from '2026-06-18 10:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674023 -2.784967)'), GeomFromEWKT('SRID=4674;POINT (-39.674016 -2.784947)'))) / (select extract(epoch from '2026-06-18 10:14:31'::timestamp) - extract(epoch from '2026-06-18 10:14: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'), 46821, 'SRID=4674;POINT (-39.674005 -2.784918)', '2026-06-18 10:14:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674016 -2.784947)'), GeomFromEWKT('SRID=4674;POINT (-39.674005 -2.784918)'))) / (select extract(epoch from '2026-06-18 10:14:34'::timestamp) - extract(epoch from '2026-06-18 10:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674016 -2.784947)'), GeomFromEWKT('SRID=4674;POINT (-39.674005 -2.784918)'))) / (select extract(epoch from '2026-06-18 10:14:34'::timestamp) - extract(epoch from '2026-06-18 10:14: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'), 46821, 'SRID=4674;POINT (-39.674 -2.784909)', '2026-06-18 10:14:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674005 -2.784918)'), GeomFromEWKT('SRID=4674;POINT (-39.674 -2.784909)'))) / (select extract(epoch from '2026-06-18 10:14:35'::timestamp) - extract(epoch from '2026-06-18 10:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674005 -2.784918)'), GeomFromEWKT('SRID=4674;POINT (-39.674 -2.784909)'))) / (select extract(epoch from '2026-06-18 10:14:35'::timestamp) - extract(epoch from '2026-06-18 10:14: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'), 46821, 'SRID=4674;POINT (-39.673981 -2.784869)', '2026-06-18 10:14:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674 -2.784909)'), GeomFromEWKT('SRID=4674;POINT (-39.673981 -2.784869)'))) / (select extract(epoch from '2026-06-18 10:14:39'::timestamp) - extract(epoch from '2026-06-18 10:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674 -2.784909)'), GeomFromEWKT('SRID=4674;POINT (-39.673981 -2.784869)'))) / (select extract(epoch from '2026-06-18 10:14:39'::timestamp) - extract(epoch from '2026-06-18 10:14: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'), 46821, 'SRID=4674;POINT (-39.673962 -2.784839)', '2026-06-18 10:14:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673981 -2.784869)'), GeomFromEWKT('SRID=4674;POINT (-39.673962 -2.784839)'))) / (select extract(epoch from '2026-06-18 10:14:42'::timestamp) - extract(epoch from '2026-06-18 10:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673981 -2.784869)'), GeomFromEWKT('SRID=4674;POINT (-39.673962 -2.784839)'))) / (select extract(epoch from '2026-06-18 10:14:42'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.673952 -2.784819)', '2026-06-18 10:14:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673962 -2.784839)'), GeomFromEWKT('SRID=4674;POINT (-39.673952 -2.784819)'))) / (select extract(epoch from '2026-06-18 10:14:44'::timestamp) - extract(epoch from '2026-06-18 10:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673962 -2.784839)'), GeomFromEWKT('SRID=4674;POINT (-39.673952 -2.784819)'))) / (select extract(epoch from '2026-06-18 10:14:44'::timestamp) - extract(epoch from '2026-06-18 10:14: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'), 46821, 'SRID=4674;POINT (-39.673913 -2.78474)', '2026-06-18 10:14:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673952 -2.784819)'), GeomFromEWKT('SRID=4674;POINT (-39.673913 -2.78474)'))) / (select extract(epoch from '2026-06-18 10:14:51'::timestamp) - extract(epoch from '2026-06-18 10:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673952 -2.784819)'), GeomFromEWKT('SRID=4674;POINT (-39.673913 -2.78474)'))) / (select extract(epoch from '2026-06-18 10:14:51'::timestamp) - extract(epoch from '2026-06-18 10:14: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'), 46821, 'SRID=4674;POINT (-39.673903 -2.784676)', '2026-06-18 10:14:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673913 -2.78474)'), GeomFromEWKT('SRID=4674;POINT (-39.673903 -2.784676)'))) / (select extract(epoch from '2026-06-18 10:14:56'::timestamp) - extract(epoch from '2026-06-18 10:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673913 -2.78474)'), GeomFromEWKT('SRID=4674;POINT (-39.673903 -2.784676)'))) / (select extract(epoch from '2026-06-18 10:14:56'::timestamp) - extract(epoch from '2026-06-18 10:14: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'), 46821, 'SRID=4674;POINT (-39.673905 -2.784663)', '2026-06-18 10:14:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673903 -2.784676)'), GeomFromEWKT('SRID=4674;POINT (-39.673905 -2.784663)'))) / (select extract(epoch from '2026-06-18 10:14:57'::timestamp) - extract(epoch from '2026-06-18 10:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673903 -2.784676)'), GeomFromEWKT('SRID=4674;POINT (-39.673905 -2.784663)'))) / (select extract(epoch from '2026-06-18 10:14:57'::timestamp) - extract(epoch from '2026-06-18 10:14: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'), 46821, 'SRID=4674;POINT (-39.673905 -2.784636)', '2026-06-18 10:14:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673905 -2.784663)'), GeomFromEWKT('SRID=4674;POINT (-39.673905 -2.784636)'))) / (select extract(epoch from '2026-06-18 10:14:59'::timestamp) - extract(epoch from '2026-06-18 10:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673905 -2.784663)'), GeomFromEWKT('SRID=4674;POINT (-39.673905 -2.784636)'))) / (select extract(epoch from '2026-06-18 10:14:59'::timestamp) - extract(epoch from '2026-06-18 10:14: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'), 46821, 'SRID=4674;POINT (-39.673919 -2.784576)', '2026-06-18 10:15:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673905 -2.784636)'), GeomFromEWKT('SRID=4674;POINT (-39.673919 -2.784576)'))) / (select extract(epoch from '2026-06-18 10:15:03'::timestamp) - extract(epoch from '2026-06-18 10:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673905 -2.784636)'), GeomFromEWKT('SRID=4674;POINT (-39.673919 -2.784576)'))) / (select extract(epoch from '2026-06-18 10:15:03'::timestamp) - extract(epoch from '2026-06-18 10:14: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'), 46821, 'SRID=4674;POINT (-39.673939 -2.784532)', '2026-06-18 10:15:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673919 -2.784576)'), GeomFromEWKT('SRID=4674;POINT (-39.673939 -2.784532)'))) / (select extract(epoch from '2026-06-18 10:15:06'::timestamp) - extract(epoch from '2026-06-18 10:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673919 -2.784576)'), GeomFromEWKT('SRID=4674;POINT (-39.673939 -2.784532)'))) / (select extract(epoch from '2026-06-18 10:15:06'::timestamp) - extract(epoch from '2026-06-18 10:15: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'), 46821, 'SRID=4674;POINT (-39.673944 -2.784501)', '2026-06-18 10:15:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673939 -2.784532)'), GeomFromEWKT('SRID=4674;POINT (-39.673944 -2.784501)'))) / (select extract(epoch from '2026-06-18 10:15:08'::timestamp) - extract(epoch from '2026-06-18 10:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673939 -2.784532)'), GeomFromEWKT('SRID=4674;POINT (-39.673944 -2.784501)'))) / (select extract(epoch from '2026-06-18 10:15:08'::timestamp) - extract(epoch from '2026-06-18 10:15: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'), 46821, 'SRID=4674;POINT (-39.673972 -2.784427)', '2026-06-18 10:15:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673944 -2.784501)'), GeomFromEWKT('SRID=4674;POINT (-39.673972 -2.784427)'))) / (select extract(epoch from '2026-06-18 10:15:13'::timestamp) - extract(epoch from '2026-06-18 10:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673944 -2.784501)'), GeomFromEWKT('SRID=4674;POINT (-39.673972 -2.784427)'))) / (select extract(epoch from '2026-06-18 10:15:13'::timestamp) - extract(epoch from '2026-06-18 10:15: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'), 46821, 'SRID=4674;POINT (-39.673975 -2.784409)', '2026-06-18 10:15:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673972 -2.784427)'), GeomFromEWKT('SRID=4674;POINT (-39.673975 -2.784409)'))) / (select extract(epoch from '2026-06-18 10:15:14'::timestamp) - extract(epoch from '2026-06-18 10:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673972 -2.784427)'), GeomFromEWKT('SRID=4674;POINT (-39.673975 -2.784409)'))) / (select extract(epoch from '2026-06-18 10:15:14'::timestamp) - extract(epoch from '2026-06-18 10:15: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'), 46821, 'SRID=4674;POINT (-39.674003 -2.784314)', '2026-06-18 10:15:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673975 -2.784409)'), GeomFromEWKT('SRID=4674;POINT (-39.674003 -2.784314)'))) / (select extract(epoch from '2026-06-18 10:15:20'::timestamp) - extract(epoch from '2026-06-18 10:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.673975 -2.784409)'), GeomFromEWKT('SRID=4674;POINT (-39.674003 -2.784314)'))) / (select extract(epoch from '2026-06-18 10:15:20'::timestamp) - extract(epoch from '2026-06-18 10:15: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'), 46821, 'SRID=4674;POINT (-39.674021 -2.784193)', '2026-06-18 10:15:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674003 -2.784314)'), GeomFromEWKT('SRID=4674;POINT (-39.674021 -2.784193)'))) / (select extract(epoch from '2026-06-18 10:15:27'::timestamp) - extract(epoch from '2026-06-18 10:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674003 -2.784314)'), GeomFromEWKT('SRID=4674;POINT (-39.674021 -2.784193)'))) / (select extract(epoch from '2026-06-18 10:15:27'::timestamp) - extract(epoch from '2026-06-18 10:15: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'), 46821, 'SRID=4674;POINT (-39.674015 -2.784089)', '2026-06-18 10:15:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674021 -2.784193)'), GeomFromEWKT('SRID=4674;POINT (-39.674015 -2.784089)'))) / (select extract(epoch from '2026-06-18 10:15:33'::timestamp) - extract(epoch from '2026-06-18 10:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674021 -2.784193)'), GeomFromEWKT('SRID=4674;POINT (-39.674015 -2.784089)'))) / (select extract(epoch from '2026-06-18 10:15:33'::timestamp) - extract(epoch from '2026-06-18 10:15: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'), 46821, 'SRID=4674;POINT (-39.674011 -2.783985)', '2026-06-18 10:15:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674015 -2.784089)'), GeomFromEWKT('SRID=4674;POINT (-39.674011 -2.783985)'))) / (select extract(epoch from '2026-06-18 10:15:39'::timestamp) - extract(epoch from '2026-06-18 10:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674015 -2.784089)'), GeomFromEWKT('SRID=4674;POINT (-39.674011 -2.783985)'))) / (select extract(epoch from '2026-06-18 10:15:39'::timestamp) - extract(epoch from '2026-06-18 10:15: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'), 46821, 'SRID=4674;POINT (-39.674021 -2.783882)', '2026-06-18 10:15:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674011 -2.783985)'), GeomFromEWKT('SRID=4674;POINT (-39.674021 -2.783882)'))) / (select extract(epoch from '2026-06-18 10:15:45'::timestamp) - extract(epoch from '2026-06-18 10:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674011 -2.783985)'), GeomFromEWKT('SRID=4674;POINT (-39.674021 -2.783882)'))) / (select extract(epoch from '2026-06-18 10:15:45'::timestamp) - extract(epoch from '2026-06-18 10:15: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'), 46821, 'SRID=4674;POINT (-39.674029 -2.783865)', '2026-06-18 10:15:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674021 -2.783882)'), GeomFromEWKT('SRID=4674;POINT (-39.674029 -2.783865)'))) / (select extract(epoch from '2026-06-18 10:15:46'::timestamp) - extract(epoch from '2026-06-18 10:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674021 -2.783882)'), GeomFromEWKT('SRID=4674;POINT (-39.674029 -2.783865)'))) / (select extract(epoch from '2026-06-18 10:15:46'::timestamp) - extract(epoch from '2026-06-18 10:15: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'), 46821, 'SRID=4674;POINT (-39.674033 -2.783848)', '2026-06-18 10:15:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674029 -2.783865)'), GeomFromEWKT('SRID=4674;POINT (-39.674033 -2.783848)'))) / (select extract(epoch from '2026-06-18 10:15:47'::timestamp) - extract(epoch from '2026-06-18 10:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674029 -2.783865)'), GeomFromEWKT('SRID=4674;POINT (-39.674033 -2.783848)'))) / (select extract(epoch from '2026-06-18 10:15:47'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674044 -2.783778)', '2026-06-18 10:15:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674033 -2.783848)'), GeomFromEWKT('SRID=4674;POINT (-39.674044 -2.783778)'))) / (select extract(epoch from '2026-06-18 10:15:51'::timestamp) - extract(epoch from '2026-06-18 10:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674033 -2.783848)'), GeomFromEWKT('SRID=4674;POINT (-39.674044 -2.783778)'))) / (select extract(epoch from '2026-06-18 10:15:51'::timestamp) - extract(epoch from '2026-06-18 10:15: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'), 46821, 'SRID=4674;POINT (-39.674074 -2.783679)', '2026-06-18 10:15:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674044 -2.783778)'), GeomFromEWKT('SRID=4674;POINT (-39.674074 -2.783679)'))) / (select extract(epoch from '2026-06-18 10:15:57'::timestamp) - extract(epoch from '2026-06-18 10:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674044 -2.783778)'), GeomFromEWKT('SRID=4674;POINT (-39.674074 -2.783679)'))) / (select extract(epoch from '2026-06-18 10:15:57'::timestamp) - extract(epoch from '2026-06-18 10:15: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'), 46821, 'SRID=4674;POINT (-39.674082 -2.783663)', '2026-06-18 10:15:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674074 -2.783679)'), GeomFromEWKT('SRID=4674;POINT (-39.674082 -2.783663)'))) / (select extract(epoch from '2026-06-18 10:15:58'::timestamp) - extract(epoch from '2026-06-18 10:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674074 -2.783679)'), GeomFromEWKT('SRID=4674;POINT (-39.674082 -2.783663)'))) / (select extract(epoch from '2026-06-18 10:15:58'::timestamp) - extract(epoch from '2026-06-18 10:15: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'), 46821, 'SRID=4674;POINT (-39.674111 -2.783613)', '2026-06-18 10:16:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674082 -2.783663)'), GeomFromEWKT('SRID=4674;POINT (-39.674111 -2.783613)'))) / (select extract(epoch from '2026-06-18 10:16:01'::timestamp) - extract(epoch from '2026-06-18 10:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674082 -2.783663)'), GeomFromEWKT('SRID=4674;POINT (-39.674111 -2.783613)'))) / (select extract(epoch from '2026-06-18 10:16:01'::timestamp) - extract(epoch from '2026-06-18 10:15: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'), 46821, 'SRID=4674;POINT (-39.674159 -2.783535)', '2026-06-18 10:16:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674111 -2.783613)'), GeomFromEWKT('SRID=4674;POINT (-39.674159 -2.783535)'))) / (select extract(epoch from '2026-06-18 10:16:06'::timestamp) - extract(epoch from '2026-06-18 10:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674111 -2.783613)'), GeomFromEWKT('SRID=4674;POINT (-39.674159 -2.783535)'))) / (select extract(epoch from '2026-06-18 10:16:06'::timestamp) - extract(epoch from '2026-06-18 10:16: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'), 46821, 'SRID=4674;POINT (-39.674221 -2.783426)', '2026-06-18 10:16:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674159 -2.783535)'), GeomFromEWKT('SRID=4674;POINT (-39.674221 -2.783426)'))) / (select extract(epoch from '2026-06-18 10:16:13'::timestamp) - extract(epoch from '2026-06-18 10:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674159 -2.783535)'), GeomFromEWKT('SRID=4674;POINT (-39.674221 -2.783426)'))) / (select extract(epoch from '2026-06-18 10:16:13'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674269 -2.783304)', '2026-06-18 10:16:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674221 -2.783426)'), GeomFromEWKT('SRID=4674;POINT (-39.674269 -2.783304)'))) / (select extract(epoch from '2026-06-18 10:16:20'::timestamp) - extract(epoch from '2026-06-18 10:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674221 -2.783426)'), GeomFromEWKT('SRID=4674;POINT (-39.674269 -2.783304)'))) / (select extract(epoch from '2026-06-18 10:16:20'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674273 -2.783286)', '2026-06-18 10:16:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674269 -2.783304)'), GeomFromEWKT('SRID=4674;POINT (-39.674273 -2.783286)'))) / (select extract(epoch from '2026-06-18 10:16:21'::timestamp) - extract(epoch from '2026-06-18 10:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674269 -2.783304)'), GeomFromEWKT('SRID=4674;POINT (-39.674273 -2.783286)'))) / (select extract(epoch from '2026-06-18 10:16:21'::timestamp) - extract(epoch from '2026-06-18 10:16: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'), 46821, 'SRID=4674;POINT (-39.674288 -2.783213)', '2026-06-18 10:16:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674273 -2.783286)'), GeomFromEWKT('SRID=4674;POINT (-39.674288 -2.783213)'))) / (select extract(epoch from '2026-06-18 10:16:25'::timestamp) - extract(epoch from '2026-06-18 10:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674273 -2.783286)'), GeomFromEWKT('SRID=4674;POINT (-39.674288 -2.783213)'))) / (select extract(epoch from '2026-06-18 10:16:25'::timestamp) - extract(epoch from '2026-06-18 10:16: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'), 46821, 'SRID=4674;POINT (-39.674323 -2.783054)', '2026-06-18 10:16:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674288 -2.783213)'), GeomFromEWKT('SRID=4674;POINT (-39.674323 -2.783054)'))) / (select extract(epoch from '2026-06-18 10:16:34'::timestamp) - extract(epoch from '2026-06-18 10:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674288 -2.783213)'), GeomFromEWKT('SRID=4674;POINT (-39.674323 -2.783054)'))) / (select extract(epoch from '2026-06-18 10:16:34'::timestamp) - extract(epoch from '2026-06-18 10:16: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'), 46821, 'SRID=4674;POINT (-39.674351 -2.782951)', '2026-06-18 10:16:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674323 -2.783054)'), GeomFromEWKT('SRID=4674;POINT (-39.674351 -2.782951)'))) / (select extract(epoch from '2026-06-18 10:16:40'::timestamp) - extract(epoch from '2026-06-18 10:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674323 -2.783054)'), GeomFromEWKT('SRID=4674;POINT (-39.674351 -2.782951)'))) / (select extract(epoch from '2026-06-18 10:16:40'::timestamp) - extract(epoch from '2026-06-18 10:16: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'), 46821, 'SRID=4674;POINT (-39.674372 -2.782869)', '2026-06-18 10:16:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674351 -2.782951)'), GeomFromEWKT('SRID=4674;POINT (-39.674372 -2.782869)'))) / (select extract(epoch from '2026-06-18 10:16:45'::timestamp) - extract(epoch from '2026-06-18 10:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674351 -2.782951)'), GeomFromEWKT('SRID=4674;POINT (-39.674372 -2.782869)'))) / (select extract(epoch from '2026-06-18 10:16:45'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674411 -2.782761)', '2026-06-18 10:16:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674372 -2.782869)'), GeomFromEWKT('SRID=4674;POINT (-39.674411 -2.782761)'))) / (select extract(epoch from '2026-06-18 10:16:52'::timestamp) - extract(epoch from '2026-06-18 10:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674372 -2.782869)'), GeomFromEWKT('SRID=4674;POINT (-39.674411 -2.782761)'))) / (select extract(epoch from '2026-06-18 10:16:52'::timestamp) - extract(epoch from '2026-06-18 10:16: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'), 46821, 'SRID=4674;POINT (-39.674424 -2.782733)', '2026-06-18 10:16:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674411 -2.782761)'), GeomFromEWKT('SRID=4674;POINT (-39.674424 -2.782733)'))) / (select extract(epoch from '2026-06-18 10:16:54'::timestamp) - extract(epoch from '2026-06-18 10:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674411 -2.782761)'), GeomFromEWKT('SRID=4674;POINT (-39.674424 -2.782733)'))) / (select extract(epoch from '2026-06-18 10:16:54'::timestamp) - extract(epoch from '2026-06-18 10:16: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'), 46821, 'SRID=4674;POINT (-39.674434 -2.7827)', '2026-06-18 10:16:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674424 -2.782733)'), GeomFromEWKT('SRID=4674;POINT (-39.674434 -2.7827)'))) / (select extract(epoch from '2026-06-18 10:16:56'::timestamp) - extract(epoch from '2026-06-18 10:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674424 -2.782733)'), GeomFromEWKT('SRID=4674;POINT (-39.674434 -2.7827)'))) / (select extract(epoch from '2026-06-18 10:16:56'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674435 -2.782685)', '2026-06-18 10:16:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674434 -2.7827)'), GeomFromEWKT('SRID=4674;POINT (-39.674435 -2.782685)'))) / (select extract(epoch from '2026-06-18 10:16:57'::timestamp) - extract(epoch from '2026-06-18 10:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674434 -2.7827)'), GeomFromEWKT('SRID=4674;POINT (-39.674435 -2.782685)'))) / (select extract(epoch from '2026-06-18 10:16:57'::timestamp) - extract(epoch from '2026-06-18 10:16: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'), 46821, 'SRID=4674;POINT (-39.674442 -2.782643)', '2026-06-18 10:17:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674435 -2.782685)'), GeomFromEWKT('SRID=4674;POINT (-39.674442 -2.782643)'))) / (select extract(epoch from '2026-06-18 10:17:00'::timestamp) - extract(epoch from '2026-06-18 10:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674435 -2.782685)'), GeomFromEWKT('SRID=4674;POINT (-39.674442 -2.782643)'))) / (select extract(epoch from '2026-06-18 10:17:00'::timestamp) - extract(epoch from '2026-06-18 10:16: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'), 46821, 'SRID=4674;POINT (-39.674446 -2.782613)', '2026-06-18 10:17:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674442 -2.782643)'), GeomFromEWKT('SRID=4674;POINT (-39.674446 -2.782613)'))) / (select extract(epoch from '2026-06-18 10:17:02'::timestamp) - extract(epoch from '2026-06-18 10:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674442 -2.782643)'), GeomFromEWKT('SRID=4674;POINT (-39.674446 -2.782613)'))) / (select extract(epoch from '2026-06-18 10:17:02'::timestamp) - extract(epoch from '2026-06-18 10:17: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'), 46821, 'SRID=4674;POINT (-39.674448 -2.782513)', '2026-06-18 10:17:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674446 -2.782613)'), GeomFromEWKT('SRID=4674;POINT (-39.674448 -2.782513)'))) / (select extract(epoch from '2026-06-18 10:17:09'::timestamp) - extract(epoch from '2026-06-18 10:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674446 -2.782613)'), GeomFromEWKT('SRID=4674;POINT (-39.674448 -2.782513)'))) / (select extract(epoch from '2026-06-18 10:17:09'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674441 -2.782473)', '2026-06-18 10:17:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674448 -2.782513)'), GeomFromEWKT('SRID=4674;POINT (-39.674441 -2.782473)'))) / (select extract(epoch from '2026-06-18 10:17:12'::timestamp) - extract(epoch from '2026-06-18 10:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674448 -2.782513)'), GeomFromEWKT('SRID=4674;POINT (-39.674441 -2.782473)'))) / (select extract(epoch from '2026-06-18 10:17:12'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674431 -2.782435)', '2026-06-18 10:17:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674441 -2.782473)'), GeomFromEWKT('SRID=4674;POINT (-39.674431 -2.782435)'))) / (select extract(epoch from '2026-06-18 10:17:15'::timestamp) - extract(epoch from '2026-06-18 10:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674441 -2.782473)'), GeomFromEWKT('SRID=4674;POINT (-39.674431 -2.782435)'))) / (select extract(epoch from '2026-06-18 10:17:15'::timestamp) - extract(epoch from '2026-06-18 10:17: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'), 46821, 'SRID=4674;POINT (-39.674418 -2.782353)', '2026-06-18 10:17:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674431 -2.782435)'), GeomFromEWKT('SRID=4674;POINT (-39.674418 -2.782353)'))) / (select extract(epoch from '2026-06-18 10:17:21'::timestamp) - extract(epoch from '2026-06-18 10:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674431 -2.782435)'), GeomFromEWKT('SRID=4674;POINT (-39.674418 -2.782353)'))) / (select extract(epoch from '2026-06-18 10:17:21'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674418 -2.782302)', '2026-06-18 10:17:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674418 -2.782353)'), GeomFromEWKT('SRID=4674;POINT (-39.674418 -2.782302)'))) / (select extract(epoch from '2026-06-18 10:17:25'::timestamp) - extract(epoch from '2026-06-18 10:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674418 -2.782353)'), GeomFromEWKT('SRID=4674;POINT (-39.674418 -2.782302)'))) / (select extract(epoch from '2026-06-18 10:17:25'::timestamp) - extract(epoch from '2026-06-18 10:17: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'), 46821, 'SRID=4674;POINT (-39.674423 -2.782277)', '2026-06-18 10:17:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674418 -2.782302)'), GeomFromEWKT('SRID=4674;POINT (-39.674423 -2.782277)'))) / (select extract(epoch from '2026-06-18 10:17:27'::timestamp) - extract(epoch from '2026-06-18 10:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674418 -2.782302)'), GeomFromEWKT('SRID=4674;POINT (-39.674423 -2.782277)'))) / (select extract(epoch from '2026-06-18 10:17:27'::timestamp) - extract(epoch from '2026-06-18 10:17: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'), 46821, 'SRID=4674;POINT (-39.674425 -2.782188)', '2026-06-18 10:17:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674423 -2.782277)'), GeomFromEWKT('SRID=4674;POINT (-39.674425 -2.782188)'))) / (select extract(epoch from '2026-06-18 10:17:34'::timestamp) - extract(epoch from '2026-06-18 10:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674423 -2.782277)'), GeomFromEWKT('SRID=4674;POINT (-39.674425 -2.782188)'))) / (select extract(epoch from '2026-06-18 10:17:34'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674413 -2.782082)', '2026-06-18 10:17:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674425 -2.782188)'), GeomFromEWKT('SRID=4674;POINT (-39.674413 -2.782082)'))) / (select extract(epoch from '2026-06-18 10:17:42'::timestamp) - extract(epoch from '2026-06-18 10:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674425 -2.782188)'), GeomFromEWKT('SRID=4674;POINT (-39.674413 -2.782082)'))) / (select extract(epoch from '2026-06-18 10:17:42'::timestamp) - extract(epoch from '2026-06-18 10:17: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'), 46821, 'SRID=4674;POINT (-39.674406 -2.781987)', '2026-06-18 10:17:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674413 -2.782082)'), GeomFromEWKT('SRID=4674;POINT (-39.674406 -2.781987)'))) / (select extract(epoch from '2026-06-18 10:17:49'::timestamp) - extract(epoch from '2026-06-18 10:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674413 -2.782082)'), GeomFromEWKT('SRID=4674;POINT (-39.674406 -2.781987)'))) / (select extract(epoch from '2026-06-18 10:17:49'::timestamp) - extract(epoch from '2026-06-18 10:17: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'), 46821, 'SRID=4674;POINT (-39.674389 -2.781897)', '2026-06-18 10:17:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674406 -2.781987)'), GeomFromEWKT('SRID=4674;POINT (-39.674389 -2.781897)'))) / (select extract(epoch from '2026-06-18 10:17:56'::timestamp) - extract(epoch from '2026-06-18 10:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674406 -2.781987)'), GeomFromEWKT('SRID=4674;POINT (-39.674389 -2.781897)'))) / (select extract(epoch from '2026-06-18 10:17:56'::timestamp) - extract(epoch from '2026-06-18 10:17: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'), 46821, 'SRID=4674;POINT (-39.674364 -2.781815)', '2026-06-18 10:18:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674389 -2.781897)'), GeomFromEWKT('SRID=4674;POINT (-39.674364 -2.781815)'))) / (select extract(epoch from '2026-06-18 10:18:03'::timestamp) - extract(epoch from '2026-06-18 10:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674389 -2.781897)'), GeomFromEWKT('SRID=4674;POINT (-39.674364 -2.781815)'))) / (select extract(epoch from '2026-06-18 10:18:03'::timestamp) - extract(epoch from '2026-06-18 10:17: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'), 46821, 'SRID=4674;POINT (-39.674348 -2.781741)', '2026-06-18 10:18:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674364 -2.781815)'), GeomFromEWKT('SRID=4674;POINT (-39.674348 -2.781741)'))) / (select extract(epoch from '2026-06-18 10:18:09'::timestamp) - extract(epoch from '2026-06-18 10:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674364 -2.781815)'), GeomFromEWKT('SRID=4674;POINT (-39.674348 -2.781741)'))) / (select extract(epoch from '2026-06-18 10:18:09'::timestamp) - extract(epoch from '2026-06-18 10:18: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'), 46821, 'SRID=4674;POINT (-39.674348 -2.781713)', '2026-06-18 10:18:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674348 -2.781741)'), GeomFromEWKT('SRID=4674;POINT (-39.674348 -2.781713)'))) / (select extract(epoch from '2026-06-18 10:18:11'::timestamp) - extract(epoch from '2026-06-18 10:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674348 -2.781741)'), GeomFromEWKT('SRID=4674;POINT (-39.674348 -2.781713)'))) / (select extract(epoch from '2026-06-18 10:18:11'::timestamp) - extract(epoch from '2026-06-18 10:18: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'), 46821, 'SRID=4674;POINT (-39.67433 -2.781658)', '2026-06-18 10:18:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674348 -2.781713)'), GeomFromEWKT('SRID=4674;POINT (-39.67433 -2.781658)'))) / (select extract(epoch from '2026-06-18 10:18:16'::timestamp) - extract(epoch from '2026-06-18 10:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674348 -2.781713)'), GeomFromEWKT('SRID=4674;POINT (-39.67433 -2.781658)'))) / (select extract(epoch from '2026-06-18 10:18:16'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674323 -2.781636)', '2026-06-18 10:18:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67433 -2.781658)'), GeomFromEWKT('SRID=4674;POINT (-39.674323 -2.781636)'))) / (select extract(epoch from '2026-06-18 10:18:18'::timestamp) - extract(epoch from '2026-06-18 10:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67433 -2.781658)'), GeomFromEWKT('SRID=4674;POINT (-39.674323 -2.781636)'))) / (select extract(epoch from '2026-06-18 10:18:18'::timestamp) - extract(epoch from '2026-06-18 10:18: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'), 46821, 'SRID=4674;POINT (-39.674311 -2.781603)', '2026-06-18 10:18:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674323 -2.781636)'), GeomFromEWKT('SRID=4674;POINT (-39.674311 -2.781603)'))) / (select extract(epoch from '2026-06-18 10:18:21'::timestamp) - extract(epoch from '2026-06-18 10:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674323 -2.781636)'), GeomFromEWKT('SRID=4674;POINT (-39.674311 -2.781603)'))) / (select extract(epoch from '2026-06-18 10:18:21'::timestamp) - extract(epoch from '2026-06-18 10:18: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'), 46821, 'SRID=4674;POINT (-39.674308 -2.781594)', '2026-06-18 10:18:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674311 -2.781603)'), GeomFromEWKT('SRID=4674;POINT (-39.674308 -2.781594)'))) / (select extract(epoch from '2026-06-18 10:18:22'::timestamp) - extract(epoch from '2026-06-18 10:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674311 -2.781603)'), GeomFromEWKT('SRID=4674;POINT (-39.674308 -2.781594)'))) / (select extract(epoch from '2026-06-18 10:18:22'::timestamp) - extract(epoch from '2026-06-18 10:18: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'), 46821, 'SRID=4674;POINT (-39.674294 -2.78156)', '2026-06-18 10:18:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674308 -2.781594)'), GeomFromEWKT('SRID=4674;POINT (-39.674294 -2.78156)'))) / (select extract(epoch from '2026-06-18 10:18:25'::timestamp) - extract(epoch from '2026-06-18 10:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674308 -2.781594)'), GeomFromEWKT('SRID=4674;POINT (-39.674294 -2.78156)'))) / (select extract(epoch from '2026-06-18 10:18:25'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674287 -2.781537)', '2026-06-18 10:18:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674294 -2.78156)'), GeomFromEWKT('SRID=4674;POINT (-39.674287 -2.781537)'))) / (select extract(epoch from '2026-06-18 10:18:27'::timestamp) - extract(epoch from '2026-06-18 10:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674294 -2.78156)'), GeomFromEWKT('SRID=4674;POINT (-39.674287 -2.781537)'))) / (select extract(epoch from '2026-06-18 10:18:27'::timestamp) - extract(epoch from '2026-06-18 10:18: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'), 46821, 'SRID=4674;POINT (-39.674282 -2.781526)', '2026-06-18 10:18:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674287 -2.781537)'), GeomFromEWKT('SRID=4674;POINT (-39.674282 -2.781526)'))) / (select extract(epoch from '2026-06-18 10:18:28'::timestamp) - extract(epoch from '2026-06-18 10:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674287 -2.781537)'), GeomFromEWKT('SRID=4674;POINT (-39.674282 -2.781526)'))) / (select extract(epoch from '2026-06-18 10:18:28'::timestamp) - extract(epoch from '2026-06-18 10:18: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'), 46821, 'SRID=4674;POINT (-39.67427 -2.781486)', '2026-06-18 10:18:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674282 -2.781526)'), GeomFromEWKT('SRID=4674;POINT (-39.67427 -2.781486)'))) / (select extract(epoch from '2026-06-18 10:18:31'::timestamp) - extract(epoch from '2026-06-18 10:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674282 -2.781526)'), GeomFromEWKT('SRID=4674;POINT (-39.67427 -2.781486)'))) / (select extract(epoch from '2026-06-18 10:18:31'::timestamp) - extract(epoch from '2026-06-18 10:18: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'), 46821, 'SRID=4674;POINT (-39.674263 -2.781413)', '2026-06-18 10:18:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67427 -2.781486)'), GeomFromEWKT('SRID=4674;POINT (-39.674263 -2.781413)'))) / (select extract(epoch from '2026-06-18 10:18:37'::timestamp) - extract(epoch from '2026-06-18 10:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67427 -2.781486)'), GeomFromEWKT('SRID=4674;POINT (-39.674263 -2.781413)'))) / (select extract(epoch from '2026-06-18 10:18:37'::timestamp) - extract(epoch from '2026-06-18 10:18: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'), 46821, 'SRID=4674;POINT (-39.67428 -2.781309)', '2026-06-18 10:18:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674263 -2.781413)'), GeomFromEWKT('SRID=4674;POINT (-39.67428 -2.781309)'))) / (select extract(epoch from '2026-06-18 10:18:45'::timestamp) - extract(epoch from '2026-06-18 10:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674263 -2.781413)'), GeomFromEWKT('SRID=4674;POINT (-39.67428 -2.781309)'))) / (select extract(epoch from '2026-06-18 10:18:45'::timestamp) - extract(epoch from '2026-06-18 10:18: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'), 46821, 'SRID=4674;POINT (-39.674325 -2.781226)', '2026-06-18 10:18:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67428 -2.781309)'), GeomFromEWKT('SRID=4674;POINT (-39.674325 -2.781226)'))) / (select extract(epoch from '2026-06-18 10:18:52'::timestamp) - extract(epoch from '2026-06-18 10:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67428 -2.781309)'), GeomFromEWKT('SRID=4674;POINT (-39.674325 -2.781226)'))) / (select extract(epoch from '2026-06-18 10:18:52'::timestamp) - extract(epoch from '2026-06-18 10:18: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'), 46821, 'SRID=4674;POINT (-39.674372 -2.78118)', '2026-06-18 10:18:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674325 -2.781226)'), GeomFromEWKT('SRID=4674;POINT (-39.674372 -2.78118)'))) / (select extract(epoch from '2026-06-18 10:18:57'::timestamp) - extract(epoch from '2026-06-18 10:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674325 -2.781226)'), GeomFromEWKT('SRID=4674;POINT (-39.674372 -2.78118)'))) / (select extract(epoch from '2026-06-18 10:18:57'::timestamp) - extract(epoch from '2026-06-18 10:18: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'), 46821, 'SRID=4674;POINT (-39.674422 -2.781131)', '2026-06-18 10:19:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674372 -2.78118)'), GeomFromEWKT('SRID=4674;POINT (-39.674422 -2.781131)'))) / (select extract(epoch from '2026-06-18 10:19:02'::timestamp) - extract(epoch from '2026-06-18 10:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674372 -2.78118)'), GeomFromEWKT('SRID=4674;POINT (-39.674422 -2.781131)'))) / (select extract(epoch from '2026-06-18 10:19:02'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.67449 -2.781077)', '2026-06-18 10:19:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674422 -2.781131)'), GeomFromEWKT('SRID=4674;POINT (-39.67449 -2.781077)'))) / (select extract(epoch from '2026-06-18 10:19:08'::timestamp) - extract(epoch from '2026-06-18 10:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674422 -2.781131)'), GeomFromEWKT('SRID=4674;POINT (-39.67449 -2.781077)'))) / (select extract(epoch from '2026-06-18 10:19:08'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674579 -2.781027)', '2026-06-18 10:19:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67449 -2.781077)'), GeomFromEWKT('SRID=4674;POINT (-39.674579 -2.781027)'))) / (select extract(epoch from '2026-06-18 10:19:15'::timestamp) - extract(epoch from '2026-06-18 10:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67449 -2.781077)'), GeomFromEWKT('SRID=4674;POINT (-39.674579 -2.781027)'))) / (select extract(epoch from '2026-06-18 10:19:15'::timestamp) - extract(epoch from '2026-06-18 10:19: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'), 46821, 'SRID=4674;POINT (-39.674669 -2.781007)', '2026-06-18 10:19:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674579 -2.781027)'), GeomFromEWKT('SRID=4674;POINT (-39.674669 -2.781007)'))) / (select extract(epoch from '2026-06-18 10:19:22'::timestamp) - extract(epoch from '2026-06-18 10:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674579 -2.781027)'), GeomFromEWKT('SRID=4674;POINT (-39.674669 -2.781007)'))) / (select extract(epoch from '2026-06-18 10:19:22'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674691 -2.781002)', '2026-06-18 10:19:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674669 -2.781007)'), GeomFromEWKT('SRID=4674;POINT (-39.674691 -2.781002)'))) / (select extract(epoch from '2026-06-18 10:19:24'::timestamp) - extract(epoch from '2026-06-18 10:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674669 -2.781007)'), GeomFromEWKT('SRID=4674;POINT (-39.674691 -2.781002)'))) / (select extract(epoch from '2026-06-18 10:19:24'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.674734 -2.780996)', '2026-06-18 10:19:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674691 -2.781002)'), GeomFromEWKT('SRID=4674;POINT (-39.674734 -2.780996)'))) / (select extract(epoch from '2026-06-18 10:19:27'::timestamp) - extract(epoch from '2026-06-18 10:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674691 -2.781002)'), GeomFromEWKT('SRID=4674;POINT (-39.674734 -2.780996)'))) / (select extract(epoch from '2026-06-18 10:19:27'::timestamp) - extract(epoch from '2026-06-18 10:19: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'), 46821, 'SRID=4674;POINT (-39.674786 -2.78099)', '2026-06-18 10:19:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674734 -2.780996)'), GeomFromEWKT('SRID=4674;POINT (-39.674786 -2.78099)'))) / (select extract(epoch from '2026-06-18 10:19:31'::timestamp) - extract(epoch from '2026-06-18 10:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674734 -2.780996)'), GeomFromEWKT('SRID=4674;POINT (-39.674786 -2.78099)'))) / (select extract(epoch from '2026-06-18 10:19:31'::timestamp) - extract(epoch from '2026-06-18 10:19: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'), 46821, 'SRID=4674;POINT (-39.67481 -2.780988)', '2026-06-18 10:19:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674786 -2.78099)'), GeomFromEWKT('SRID=4674;POINT (-39.67481 -2.780988)'))) / (select extract(epoch from '2026-06-18 10:19:33'::timestamp) - extract(epoch from '2026-06-18 10:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674786 -2.78099)'), GeomFromEWKT('SRID=4674;POINT (-39.67481 -2.780988)'))) / (select extract(epoch from '2026-06-18 10:19:33'::timestamp) - extract(epoch from '2026-06-18 10:19: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'), 46821, 'SRID=4674;POINT (-39.674887 -2.780987)', '2026-06-18 10:19:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67481 -2.780988)'), GeomFromEWKT('SRID=4674;POINT (-39.674887 -2.780987)'))) / (select extract(epoch from '2026-06-18 10:19:39'::timestamp) - extract(epoch from '2026-06-18 10:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67481 -2.780988)'), GeomFromEWKT('SRID=4674;POINT (-39.674887 -2.780987)'))) / (select extract(epoch from '2026-06-18 10:19:39'::timestamp) - extract(epoch from '2026-06-18 10:19: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'), 46821, 'SRID=4674;POINT (-39.67495 -2.780993)', '2026-06-18 10:19:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674887 -2.780987)'), GeomFromEWKT('SRID=4674;POINT (-39.67495 -2.780993)'))) / (select extract(epoch from '2026-06-18 10:19:44'::timestamp) - extract(epoch from '2026-06-18 10:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674887 -2.780987)'), GeomFromEWKT('SRID=4674;POINT (-39.67495 -2.780993)'))) / (select extract(epoch from '2026-06-18 10:19:44'::timestamp) - extract(epoch from '2026-06-18 10:19: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'), 46821, 'SRID=4674;POINT (-39.674961 -2.780995)', '2026-06-18 10:19:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67495 -2.780993)'), GeomFromEWKT('SRID=4674;POINT (-39.674961 -2.780995)'))) / (select extract(epoch from '2026-06-18 10:19:45'::timestamp) - extract(epoch from '2026-06-18 10:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67495 -2.780993)'), GeomFromEWKT('SRID=4674;POINT (-39.674961 -2.780995)'))) / (select extract(epoch from '2026-06-18 10:19:45'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.675002 -2.781012)', '2026-06-18 10:19:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674961 -2.780995)'), GeomFromEWKT('SRID=4674;POINT (-39.675002 -2.781012)'))) / (select extract(epoch from '2026-06-18 10:19:49'::timestamp) - extract(epoch from '2026-06-18 10:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.674961 -2.780995)'), GeomFromEWKT('SRID=4674;POINT (-39.675002 -2.781012)'))) / (select extract(epoch from '2026-06-18 10:19:49'::timestamp) - extract(epoch from '2026-06-18 10:19: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'), 46821, 'SRID=4674;POINT (-39.675065 -2.781029)', '2026-06-18 10:19:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675002 -2.781012)'), GeomFromEWKT('SRID=4674;POINT (-39.675065 -2.781029)'))) / (select extract(epoch from '2026-06-18 10:19:55'::timestamp) - extract(epoch from '2026-06-18 10:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675002 -2.781012)'), GeomFromEWKT('SRID=4674;POINT (-39.675065 -2.781029)'))) / (select extract(epoch from '2026-06-18 10:19:55'::timestamp) - extract(epoch from '2026-06-18 10:19: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'), 46821, 'SRID=4674;POINT (-39.675096 -2.781041)', '2026-06-18 10:19:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675065 -2.781029)'), GeomFromEWKT('SRID=4674;POINT (-39.675096 -2.781041)'))) / (select extract(epoch from '2026-06-18 10:19:58'::timestamp) - extract(epoch from '2026-06-18 10:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675065 -2.781029)'), GeomFromEWKT('SRID=4674;POINT (-39.675096 -2.781041)'))) / (select extract(epoch from '2026-06-18 10:19:58'::timestamp) - extract(epoch from '2026-06-18 10:19: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'), 46821, 'SRID=4674;POINT (-39.675128 -2.781048)', '2026-06-18 10:20:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675096 -2.781041)'), GeomFromEWKT('SRID=4674;POINT (-39.675128 -2.781048)'))) / (select extract(epoch from '2026-06-18 10:20:01'::timestamp) - extract(epoch from '2026-06-18 10:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675096 -2.781041)'), GeomFromEWKT('SRID=4674;POINT (-39.675128 -2.781048)'))) / (select extract(epoch from '2026-06-18 10:20:01'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.675186 -2.781057)', '2026-06-18 10:20:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675128 -2.781048)'), GeomFromEWKT('SRID=4674;POINT (-39.675186 -2.781057)'))) / (select extract(epoch from '2026-06-18 10:20:06'::timestamp) - extract(epoch from '2026-06-18 10:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675128 -2.781048)'), GeomFromEWKT('SRID=4674;POINT (-39.675186 -2.781057)'))) / (select extract(epoch from '2026-06-18 10:20:06'::timestamp) - extract(epoch from '2026-06-18 10:20: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'), 46821, 'SRID=4674;POINT (-39.675196 -2.781059)', '2026-06-18 10:20:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675186 -2.781057)'), GeomFromEWKT('SRID=4674;POINT (-39.675196 -2.781059)'))) / (select extract(epoch from '2026-06-18 10:20:07'::timestamp) - extract(epoch from '2026-06-18 10:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675186 -2.781057)'), GeomFromEWKT('SRID=4674;POINT (-39.675196 -2.781059)'))) / (select extract(epoch from '2026-06-18 10:20:07'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.675207 -2.781061)', '2026-06-18 10:20:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675196 -2.781059)'), GeomFromEWKT('SRID=4674;POINT (-39.675207 -2.781061)'))) / (select extract(epoch from '2026-06-18 10:20:08'::timestamp) - extract(epoch from '2026-06-18 10:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675196 -2.781059)'), GeomFromEWKT('SRID=4674;POINT (-39.675207 -2.781061)'))) / (select extract(epoch from '2026-06-18 10:20:08'::timestamp) - extract(epoch from '2026-06-18 10:20: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'), 46821, 'SRID=4674;POINT (-39.675243 -2.781062)', '2026-06-18 10:20:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675207 -2.781061)'), GeomFromEWKT('SRID=4674;POINT (-39.675243 -2.781062)'))) / (select extract(epoch from '2026-06-18 10:20:11'::timestamp) - extract(epoch from '2026-06-18 10:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675207 -2.781061)'), GeomFromEWKT('SRID=4674;POINT (-39.675243 -2.781062)'))) / (select extract(epoch from '2026-06-18 10:20:11'::timestamp) - extract(epoch from '2026-06-18 10:20: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'), 46821, 'SRID=4674;POINT (-39.675254 -2.781062)', '2026-06-18 10:20:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675243 -2.781062)'), GeomFromEWKT('SRID=4674;POINT (-39.675254 -2.781062)'))) / (select extract(epoch from '2026-06-18 10:20:12'::timestamp) - extract(epoch from '2026-06-18 10:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675243 -2.781062)'), GeomFromEWKT('SRID=4674;POINT (-39.675254 -2.781062)'))) / (select extract(epoch from '2026-06-18 10:20:12'::timestamp) - extract(epoch from '2026-06-18 10:20: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'), 46821, 'SRID=4674;POINT (-39.675341 -2.781057)', '2026-06-18 10:20:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675254 -2.781062)'), GeomFromEWKT('SRID=4674;POINT (-39.675341 -2.781057)'))) / (select extract(epoch from '2026-06-18 10:20:19'::timestamp) - extract(epoch from '2026-06-18 10:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675254 -2.781062)'), GeomFromEWKT('SRID=4674;POINT (-39.675341 -2.781057)'))) / (select extract(epoch from '2026-06-18 10:20:19'::timestamp) - extract(epoch from '2026-06-18 10:20: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'), 46821, 'SRID=4674;POINT (-39.675429 -2.781046)', '2026-06-18 10:20:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675341 -2.781057)'), GeomFromEWKT('SRID=4674;POINT (-39.675429 -2.781046)'))) / (select extract(epoch from '2026-06-18 10:20:26'::timestamp) - extract(epoch from '2026-06-18 10:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675341 -2.781057)'), GeomFromEWKT('SRID=4674;POINT (-39.675429 -2.781046)'))) / (select extract(epoch from '2026-06-18 10:20:26'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.675502 -2.781045)', '2026-06-18 10:20:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675429 -2.781046)'), GeomFromEWKT('SRID=4674;POINT (-39.675502 -2.781045)'))) / (select extract(epoch from '2026-06-18 10:20:32'::timestamp) - extract(epoch from '2026-06-18 10:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675429 -2.781046)'), GeomFromEWKT('SRID=4674;POINT (-39.675502 -2.781045)'))) / (select extract(epoch from '2026-06-18 10:20:32'::timestamp) - extract(epoch from '2026-06-18 10:20: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'), 46821, 'SRID=4674;POINT (-39.675529 -2.781049)', '2026-06-18 10:20:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675502 -2.781045)'), GeomFromEWKT('SRID=4674;POINT (-39.675529 -2.781049)'))) / (select extract(epoch from '2026-06-18 10:20:34'::timestamp) - extract(epoch from '2026-06-18 10:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675502 -2.781045)'), GeomFromEWKT('SRID=4674;POINT (-39.675529 -2.781049)'))) / (select extract(epoch from '2026-06-18 10:20:34'::timestamp) - extract(epoch from '2026-06-18 10:20: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'), 46821, 'SRID=4674;POINT (-39.675576 -2.781053)', '2026-06-18 10:20:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675529 -2.781049)'), GeomFromEWKT('SRID=4674;POINT (-39.675576 -2.781053)'))) / (select extract(epoch from '2026-06-18 10:20:38'::timestamp) - extract(epoch from '2026-06-18 10:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675529 -2.781049)'), GeomFromEWKT('SRID=4674;POINT (-39.675576 -2.781053)'))) / (select extract(epoch from '2026-06-18 10:20:38'::timestamp) - extract(epoch from '2026-06-18 10:20: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'), 46821, 'SRID=4674;POINT (-39.675651 -2.78105)', '2026-06-18 10:20:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675576 -2.781053)'), GeomFromEWKT('SRID=4674;POINT (-39.675651 -2.78105)'))) / (select extract(epoch from '2026-06-18 10:20:44'::timestamp) - extract(epoch from '2026-06-18 10:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675576 -2.781053)'), GeomFromEWKT('SRID=4674;POINT (-39.675651 -2.78105)'))) / (select extract(epoch from '2026-06-18 10:20:44'::timestamp) - extract(epoch from '2026-06-18 10:20: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'), 46821, 'SRID=4674;POINT (-39.675729 -2.781045)', '2026-06-18 10:20:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675651 -2.78105)'), GeomFromEWKT('SRID=4674;POINT (-39.675729 -2.781045)'))) / (select extract(epoch from '2026-06-18 10:20:50'::timestamp) - extract(epoch from '2026-06-18 10:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675651 -2.78105)'), GeomFromEWKT('SRID=4674;POINT (-39.675729 -2.781045)'))) / (select extract(epoch from '2026-06-18 10:20:50'::timestamp) - extract(epoch from '2026-06-18 10:20: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'), 46821, 'SRID=4674;POINT (-39.675741 -2.781044)', '2026-06-18 10:20:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675729 -2.781045)'), GeomFromEWKT('SRID=4674;POINT (-39.675741 -2.781044)'))) / (select extract(epoch from '2026-06-18 10:20:51'::timestamp) - extract(epoch from '2026-06-18 10:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675729 -2.781045)'), GeomFromEWKT('SRID=4674;POINT (-39.675741 -2.781044)'))) / (select extract(epoch from '2026-06-18 10:20:51'::timestamp) - extract(epoch from '2026-06-18 10:20: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'), 46821, 'SRID=4674;POINT (-39.675776 -2.781046)', '2026-06-18 10:20:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675741 -2.781044)'), GeomFromEWKT('SRID=4674;POINT (-39.675776 -2.781046)'))) / (select extract(epoch from '2026-06-18 10:20:54'::timestamp) - extract(epoch from '2026-06-18 10:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675741 -2.781044)'), GeomFromEWKT('SRID=4674;POINT (-39.675776 -2.781046)'))) / (select extract(epoch from '2026-06-18 10:20:54'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.675788 -2.78105)', '2026-06-18 10:20:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675776 -2.781046)'), GeomFromEWKT('SRID=4674;POINT (-39.675788 -2.78105)'))) / (select extract(epoch from '2026-06-18 10:20:55'::timestamp) - extract(epoch from '2026-06-18 10:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675776 -2.781046)'), GeomFromEWKT('SRID=4674;POINT (-39.675788 -2.78105)'))) / (select extract(epoch from '2026-06-18 10:20:55'::timestamp) - extract(epoch from '2026-06-18 10:20: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'), 46821, 'SRID=4674;POINT (-39.675826 -2.781057)', '2026-06-18 10:20:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675788 -2.78105)'), GeomFromEWKT('SRID=4674;POINT (-39.675826 -2.781057)'))) / (select extract(epoch from '2026-06-18 10:20:59'::timestamp) - extract(epoch from '2026-06-18 10:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675788 -2.78105)'), GeomFromEWKT('SRID=4674;POINT (-39.675826 -2.781057)'))) / (select extract(epoch from '2026-06-18 10:20:59'::timestamp) - extract(epoch from '2026-06-18 10:20: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'), 46821, 'SRID=4674;POINT (-39.675888 -2.781072)', '2026-06-18 10:21:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675826 -2.781057)'), GeomFromEWKT('SRID=4674;POINT (-39.675888 -2.781072)'))) / (select extract(epoch from '2026-06-18 10:21:05'::timestamp) - extract(epoch from '2026-06-18 10:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675826 -2.781057)'), GeomFromEWKT('SRID=4674;POINT (-39.675888 -2.781072)'))) / (select extract(epoch from '2026-06-18 10:21:05'::timestamp) - extract(epoch from '2026-06-18 10:20: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'), 46821, 'SRID=4674;POINT (-39.6759 -2.781075)', '2026-06-18 10:21:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675888 -2.781072)'), GeomFromEWKT('SRID=4674;POINT (-39.6759 -2.781075)'))) / (select extract(epoch from '2026-06-18 10:21:06'::timestamp) - extract(epoch from '2026-06-18 10:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675888 -2.781072)'), GeomFromEWKT('SRID=4674;POINT (-39.6759 -2.781075)'))) / (select extract(epoch from '2026-06-18 10:21:06'::timestamp) - extract(epoch from '2026-06-18 10:21: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'), 46821, 'SRID=4674;POINT (-39.675921 -2.781079)', '2026-06-18 10:21:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6759 -2.781075)'), GeomFromEWKT('SRID=4674;POINT (-39.675921 -2.781079)'))) / (select extract(epoch from '2026-06-18 10:21:08'::timestamp) - extract(epoch from '2026-06-18 10:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6759 -2.781075)'), GeomFromEWKT('SRID=4674;POINT (-39.675921 -2.781079)'))) / (select extract(epoch from '2026-06-18 10:21:08'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.675938 -2.781087)', '2026-06-18 10:21:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675921 -2.781079)'), GeomFromEWKT('SRID=4674;POINT (-39.675938 -2.781087)'))) / (select extract(epoch from '2026-06-18 10:21:10'::timestamp) - extract(epoch from '2026-06-18 10:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675921 -2.781079)'), GeomFromEWKT('SRID=4674;POINT (-39.675938 -2.781087)'))) / (select extract(epoch from '2026-06-18 10:21:10'::timestamp) - extract(epoch from '2026-06-18 10:21: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'), 46821, 'SRID=4674;POINT (-39.675984 -2.781101)', '2026-06-18 10:21:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675938 -2.781087)'), GeomFromEWKT('SRID=4674;POINT (-39.675984 -2.781101)'))) / (select extract(epoch from '2026-06-18 10:21:15'::timestamp) - extract(epoch from '2026-06-18 10:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675938 -2.781087)'), GeomFromEWKT('SRID=4674;POINT (-39.675984 -2.781101)'))) / (select extract(epoch from '2026-06-18 10:21:15'::timestamp) - extract(epoch from '2026-06-18 10:21: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'), 46821, 'SRID=4674;POINT (-39.676012 -2.781114)', '2026-06-18 10:21:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675984 -2.781101)'), GeomFromEWKT('SRID=4674;POINT (-39.676012 -2.781114)'))) / (select extract(epoch from '2026-06-18 10:21:18'::timestamp) - extract(epoch from '2026-06-18 10:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.675984 -2.781101)'), GeomFromEWKT('SRID=4674;POINT (-39.676012 -2.781114)'))) / (select extract(epoch from '2026-06-18 10:21:18'::timestamp) - extract(epoch from '2026-06-18 10:21: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'), 46821, 'SRID=4674;POINT (-39.676028 -2.781115)', '2026-06-18 10:21:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676012 -2.781114)'), GeomFromEWKT('SRID=4674;POINT (-39.676028 -2.781115)'))) / (select extract(epoch from '2026-06-18 10:21:20'::timestamp) - extract(epoch from '2026-06-18 10:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676012 -2.781114)'), GeomFromEWKT('SRID=4674;POINT (-39.676028 -2.781115)'))) / (select extract(epoch from '2026-06-18 10:21:20'::timestamp) - extract(epoch from '2026-06-18 10:21: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'), 46821, 'SRID=4674;POINT (-39.676044 -2.781122)', '2026-06-18 10:21:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676028 -2.781115)'), GeomFromEWKT('SRID=4674;POINT (-39.676044 -2.781122)'))) / (select extract(epoch from '2026-06-18 10:21:22'::timestamp) - extract(epoch from '2026-06-18 10:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676028 -2.781115)'), GeomFromEWKT('SRID=4674;POINT (-39.676044 -2.781122)'))) / (select extract(epoch from '2026-06-18 10:21:22'::timestamp) - extract(epoch from '2026-06-18 10:21: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'), 46821, 'SRID=4674;POINT (-39.676063 -2.78113)', '2026-06-18 10:21:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676044 -2.781122)'), GeomFromEWKT('SRID=4674;POINT (-39.676063 -2.78113)'))) / (select extract(epoch from '2026-06-18 10:21:24'::timestamp) - extract(epoch from '2026-06-18 10:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676044 -2.781122)'), GeomFromEWKT('SRID=4674;POINT (-39.676063 -2.78113)'))) / (select extract(epoch from '2026-06-18 10:21:24'::timestamp) - extract(epoch from '2026-06-18 10:21: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'), 46821, 'SRID=4674;POINT (-39.676118 -2.781149)', '2026-06-18 10:21:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676063 -2.78113)'), GeomFromEWKT('SRID=4674;POINT (-39.676118 -2.781149)'))) / (select extract(epoch from '2026-06-18 10:21:30'::timestamp) - extract(epoch from '2026-06-18 10:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676063 -2.78113)'), GeomFromEWKT('SRID=4674;POINT (-39.676118 -2.781149)'))) / (select extract(epoch from '2026-06-18 10:21:30'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.67617 -2.781165)', '2026-06-18 10:21:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676118 -2.781149)'), GeomFromEWKT('SRID=4674;POINT (-39.67617 -2.781165)'))) / (select extract(epoch from '2026-06-18 10:21:35'::timestamp) - extract(epoch from '2026-06-18 10:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676118 -2.781149)'), GeomFromEWKT('SRID=4674;POINT (-39.67617 -2.781165)'))) / (select extract(epoch from '2026-06-18 10:21:35'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.676202 -2.781181)', '2026-06-18 10:21:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67617 -2.781165)'), GeomFromEWKT('SRID=4674;POINT (-39.676202 -2.781181)'))) / (select extract(epoch from '2026-06-18 10:21:38'::timestamp) - extract(epoch from '2026-06-18 10:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67617 -2.781165)'), GeomFromEWKT('SRID=4674;POINT (-39.676202 -2.781181)'))) / (select extract(epoch from '2026-06-18 10:21:38'::timestamp) - extract(epoch from '2026-06-18 10:21: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'), 46821, 'SRID=4674;POINT (-39.676218 -2.78119)', '2026-06-18 10:21:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676202 -2.781181)'), GeomFromEWKT('SRID=4674;POINT (-39.676218 -2.78119)'))) / (select extract(epoch from '2026-06-18 10:21:40'::timestamp) - extract(epoch from '2026-06-18 10:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676202 -2.781181)'), GeomFromEWKT('SRID=4674;POINT (-39.676218 -2.78119)'))) / (select extract(epoch from '2026-06-18 10:21:40'::timestamp) - extract(epoch from '2026-06-18 10:21: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'), 46821, 'SRID=4674;POINT (-39.676257 -2.781216)', '2026-06-18 10:21:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676218 -2.78119)'), GeomFromEWKT('SRID=4674;POINT (-39.676257 -2.781216)'))) / (select extract(epoch from '2026-06-18 10:21:44'::timestamp) - extract(epoch from '2026-06-18 10:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676218 -2.78119)'), GeomFromEWKT('SRID=4674;POINT (-39.676257 -2.781216)'))) / (select extract(epoch from '2026-06-18 10:21:44'::timestamp) - extract(epoch from '2026-06-18 10:21: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'), 46821, 'SRID=4674;POINT (-39.676274 -2.781228)', '2026-06-18 10:21:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676257 -2.781216)'), GeomFromEWKT('SRID=4674;POINT (-39.676274 -2.781228)'))) / (select extract(epoch from '2026-06-18 10:21:46'::timestamp) - extract(epoch from '2026-06-18 10:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676257 -2.781216)'), GeomFromEWKT('SRID=4674;POINT (-39.676274 -2.781228)'))) / (select extract(epoch from '2026-06-18 10:21:46'::timestamp) - extract(epoch from '2026-06-18 10:21: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'), 46821, 'SRID=4674;POINT (-39.676303 -2.781249)', '2026-06-18 10:21:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676274 -2.781228)'), GeomFromEWKT('SRID=4674;POINT (-39.676303 -2.781249)'))) / (select extract(epoch from '2026-06-18 10:21:49'::timestamp) - extract(epoch from '2026-06-18 10:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676274 -2.781228)'), GeomFromEWKT('SRID=4674;POINT (-39.676303 -2.781249)'))) / (select extract(epoch from '2026-06-18 10:21:49'::timestamp) - extract(epoch from '2026-06-18 10: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'), 46821, 'SRID=4674;POINT (-39.67633 -2.781273)', '2026-06-18 10:21:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676303 -2.781249)'), GeomFromEWKT('SRID=4674;POINT (-39.67633 -2.781273)'))) / (select extract(epoch from '2026-06-18 10:21:52'::timestamp) - extract(epoch from '2026-06-18 10:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676303 -2.781249)'), GeomFromEWKT('SRID=4674;POINT (-39.67633 -2.781273)'))) / (select extract(epoch from '2026-06-18 10:21:52'::timestamp) - extract(epoch from '2026-06-18 10:21: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'), 46821, 'SRID=4674;POINT (-39.676372 -2.781319)', '2026-06-18 10:21:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67633 -2.781273)'), GeomFromEWKT('SRID=4674;POINT (-39.676372 -2.781319)'))) / (select extract(epoch from '2026-06-18 10:21:58'::timestamp) - extract(epoch from '2026-06-18 10:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.67633 -2.781273)'), GeomFromEWKT('SRID=4674;POINT (-39.676372 -2.781319)'))) / (select extract(epoch from '2026-06-18 10:21:58'::timestamp) - extract(epoch from '2026-06-18 10:21: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'), 46821, 'SRID=4674;POINT (-39.676402 -2.781354)', '2026-06-18 10:22:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676372 -2.781319)'), GeomFromEWKT('SRID=4674;POINT (-39.676402 -2.781354)'))) / (select extract(epoch from '2026-06-18 10:22:02'::timestamp) - extract(epoch from '2026-06-18 10:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676372 -2.781319)'), GeomFromEWKT('SRID=4674;POINT (-39.676402 -2.781354)'))) / (select extract(epoch from '2026-06-18 10:22:02'::timestamp) - extract(epoch from '2026-06-18 10:21: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'), 46821, 'SRID=4674;POINT (-39.676416 -2.781368)', '2026-06-18 10:22:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676402 -2.781354)'), GeomFromEWKT('SRID=4674;POINT (-39.676416 -2.781368)'))) / (select extract(epoch from '2026-06-18 10:22:04'::timestamp) - extract(epoch from '2026-06-18 10:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676402 -2.781354)'), GeomFromEWKT('SRID=4674;POINT (-39.676416 -2.781368)'))) / (select extract(epoch from '2026-06-18 10:22:04'::timestamp) - extract(epoch from '2026-06-18 10:22: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'), 46821, 'SRID=4674;POINT (-39.676478 -2.781421)', '2026-06-18 10:22:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676416 -2.781368)'), GeomFromEWKT('SRID=4674;POINT (-39.676478 -2.781421)'))) / (select extract(epoch from '2026-06-18 10:22:11'::timestamp) - extract(epoch from '2026-06-18 10:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.676416 -2.781368)'), GeomFromEWKT('SRID=4674;POINT (-39.676478 -2.781421)'))) / (select extract(epoch from '2026-06-18 10:22:11'::timestamp) - extract(epoch from '2026-06-18 10:22:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
