BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.040828 -3.411228)', '2026-06-19 16:36:59', 15.4, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.040852 -3.411206)', '2026-06-19 16:37:05', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040828 -3.411228)'), GeomFromEWKT('SRID=4674;POINT (-39.040852 -3.411206)'))) / (select extract(epoch from '2026-06-19 16:37:05'::timestamp) - extract(epoch from '2026-06-19 16:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040828 -3.411228)'), GeomFromEWKT('SRID=4674;POINT (-39.040852 -3.411206)'))) / (select extract(epoch from '2026-06-19 16:37:05'::timestamp) - extract(epoch from '2026-06-19 16:36: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'), 46591, 'SRID=4674;POINT (-39.040871 -3.411201)', '2026-06-19 16:37:12', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040852 -3.411206)'), GeomFromEWKT('SRID=4674;POINT (-39.040871 -3.411201)'))) / (select extract(epoch from '2026-06-19 16:37:12'::timestamp) - extract(epoch from '2026-06-19 16:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040852 -3.411206)'), GeomFromEWKT('SRID=4674;POINT (-39.040871 -3.411201)'))) / (select extract(epoch from '2026-06-19 16:37:12'::timestamp) - extract(epoch from '2026-06-19 16:37: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'), 46591, 'SRID=4674;POINT (-39.040878 -3.41118)', '2026-06-19 16:37:19', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040871 -3.411201)'), GeomFromEWKT('SRID=4674;POINT (-39.040878 -3.41118)'))) / (select extract(epoch from '2026-06-19 16:37:19'::timestamp) - extract(epoch from '2026-06-19 16:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040871 -3.411201)'), GeomFromEWKT('SRID=4674;POINT (-39.040878 -3.41118)'))) / (select extract(epoch from '2026-06-19 16:37:19'::timestamp) - extract(epoch from '2026-06-19 16:37: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'), 46591, 'SRID=4674;POINT (-39.040899 -3.411139)', '2026-06-19 16:37:26', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040878 -3.41118)'), GeomFromEWKT('SRID=4674;POINT (-39.040899 -3.411139)'))) / (select extract(epoch from '2026-06-19 16:37:26'::timestamp) - extract(epoch from '2026-06-19 16:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040878 -3.41118)'), GeomFromEWKT('SRID=4674;POINT (-39.040899 -3.411139)'))) / (select extract(epoch from '2026-06-19 16:37:26'::timestamp) - extract(epoch from '2026-06-19 16:37: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'), 46591, 'SRID=4674;POINT (-39.040916 -3.411077)', '2026-06-19 16:37:34', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040899 -3.411139)'), GeomFromEWKT('SRID=4674;POINT (-39.040916 -3.411077)'))) / (select extract(epoch from '2026-06-19 16:37:34'::timestamp) - extract(epoch from '2026-06-19 16:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040899 -3.411139)'), GeomFromEWKT('SRID=4674;POINT (-39.040916 -3.411077)'))) / (select extract(epoch from '2026-06-19 16:37:34'::timestamp) - extract(epoch from '2026-06-19 16:37: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'), 46591, 'SRID=4674;POINT (-39.040939 -3.41104)', '2026-06-19 16:37:39', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040916 -3.411077)'), GeomFromEWKT('SRID=4674;POINT (-39.040939 -3.41104)'))) / (select extract(epoch from '2026-06-19 16:37:39'::timestamp) - extract(epoch from '2026-06-19 16:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040916 -3.411077)'), GeomFromEWKT('SRID=4674;POINT (-39.040939 -3.41104)'))) / (select extract(epoch from '2026-06-19 16:37:39'::timestamp) - extract(epoch from '2026-06-19 16:37: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'), 46591, 'SRID=4674;POINT (-39.040969 -3.410996)', '2026-06-19 16:37:45', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040939 -3.41104)'), GeomFromEWKT('SRID=4674;POINT (-39.040969 -3.410996)'))) / (select extract(epoch from '2026-06-19 16:37:45'::timestamp) - extract(epoch from '2026-06-19 16:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040939 -3.41104)'), GeomFromEWKT('SRID=4674;POINT (-39.040969 -3.410996)'))) / (select extract(epoch from '2026-06-19 16:37:45'::timestamp) - extract(epoch from '2026-06-19 16:37: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'), 46591, 'SRID=4674;POINT (-39.040996 -3.410935)', '2026-06-19 16:37:52', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040969 -3.410996)'), GeomFromEWKT('SRID=4674;POINT (-39.040996 -3.410935)'))) / (select extract(epoch from '2026-06-19 16:37:52'::timestamp) - extract(epoch from '2026-06-19 16:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040969 -3.410996)'), GeomFromEWKT('SRID=4674;POINT (-39.040996 -3.410935)'))) / (select extract(epoch from '2026-06-19 16:37:52'::timestamp) - extract(epoch from '2026-06-19 16:37: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'), 46591, 'SRID=4674;POINT (-39.041021 -3.410872)', '2026-06-19 16:38:01', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040996 -3.410935)'), GeomFromEWKT('SRID=4674;POINT (-39.041021 -3.410872)'))) / (select extract(epoch from '2026-06-19 16:38:01'::timestamp) - extract(epoch from '2026-06-19 16:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040996 -3.410935)'), GeomFromEWKT('SRID=4674;POINT (-39.041021 -3.410872)'))) / (select extract(epoch from '2026-06-19 16:38:01'::timestamp) - extract(epoch from '2026-06-19 16:37: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'), 46591, 'SRID=4674;POINT (-39.041056 -3.410804)', '2026-06-19 16:38:11', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041021 -3.410872)'), GeomFromEWKT('SRID=4674;POINT (-39.041056 -3.410804)'))) / (select extract(epoch from '2026-06-19 16:38:11'::timestamp) - extract(epoch from '2026-06-19 16:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041021 -3.410872)'), GeomFromEWKT('SRID=4674;POINT (-39.041056 -3.410804)'))) / (select extract(epoch from '2026-06-19 16:38:11'::timestamp) - extract(epoch from '2026-06-19 16:38: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'), 46591, 'SRID=4674;POINT (-39.041126 -3.410748)', '2026-06-19 16:38:21', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041056 -3.410804)'), GeomFromEWKT('SRID=4674;POINT (-39.041126 -3.410748)'))) / (select extract(epoch from '2026-06-19 16:38:21'::timestamp) - extract(epoch from '2026-06-19 16:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041056 -3.410804)'), GeomFromEWKT('SRID=4674;POINT (-39.041126 -3.410748)'))) / (select extract(epoch from '2026-06-19 16:38:21'::timestamp) - extract(epoch from '2026-06-19 16:38: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'), 46591, 'SRID=4674;POINT (-39.041134 -3.410745)', '2026-06-19 16:38:22', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041126 -3.410748)'), GeomFromEWKT('SRID=4674;POINT (-39.041134 -3.410745)'))) / (select extract(epoch from '2026-06-19 16:38:22'::timestamp) - extract(epoch from '2026-06-19 16:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041126 -3.410748)'), GeomFromEWKT('SRID=4674;POINT (-39.041134 -3.410745)'))) / (select extract(epoch from '2026-06-19 16:38:22'::timestamp) - extract(epoch from '2026-06-19 16:38: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'), 46591, 'SRID=4674;POINT (-39.041157 -3.410731)', '2026-06-19 16:38:25', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041134 -3.410745)'), GeomFromEWKT('SRID=4674;POINT (-39.041157 -3.410731)'))) / (select extract(epoch from '2026-06-19 16:38:25'::timestamp) - extract(epoch from '2026-06-19 16:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041134 -3.410745)'), GeomFromEWKT('SRID=4674;POINT (-39.041157 -3.410731)'))) / (select extract(epoch from '2026-06-19 16:38:25'::timestamp) - extract(epoch from '2026-06-19 16:38: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'), 46591, 'SRID=4674;POINT (-39.041218 -3.410668)', '2026-06-19 16:38:35', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041157 -3.410731)'), GeomFromEWKT('SRID=4674;POINT (-39.041218 -3.410668)'))) / (select extract(epoch from '2026-06-19 16:38:35'::timestamp) - extract(epoch from '2026-06-19 16:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041157 -3.410731)'), GeomFromEWKT('SRID=4674;POINT (-39.041218 -3.410668)'))) / (select extract(epoch from '2026-06-19 16:38:35'::timestamp) - extract(epoch from '2026-06-19 16:38: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'), 46591, 'SRID=4674;POINT (-39.041255 -3.41063)', '2026-06-19 16:38:41', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041218 -3.410668)'), GeomFromEWKT('SRID=4674;POINT (-39.041255 -3.41063)'))) / (select extract(epoch from '2026-06-19 16:38:41'::timestamp) - extract(epoch from '2026-06-19 16:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041218 -3.410668)'), GeomFromEWKT('SRID=4674;POINT (-39.041255 -3.41063)'))) / (select extract(epoch from '2026-06-19 16:38:41'::timestamp) - extract(epoch from '2026-06-19 16:38: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'), 46591, 'SRID=4674;POINT (-39.041282 -3.410612)', '2026-06-19 16:38:47', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041255 -3.41063)'), GeomFromEWKT('SRID=4674;POINT (-39.041282 -3.410612)'))) / (select extract(epoch from '2026-06-19 16:38:47'::timestamp) - extract(epoch from '2026-06-19 16:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041255 -3.41063)'), GeomFromEWKT('SRID=4674;POINT (-39.041282 -3.410612)'))) / (select extract(epoch from '2026-06-19 16:38:47'::timestamp) - extract(epoch from '2026-06-19 16:38: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'), 46591, 'SRID=4674;POINT (-39.041271 -3.410609)', '2026-06-19 16:38:56', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041282 -3.410612)'), GeomFromEWKT('SRID=4674;POINT (-39.041271 -3.410609)'))) / (select extract(epoch from '2026-06-19 16:38:56'::timestamp) - extract(epoch from '2026-06-19 16:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041282 -3.410612)'), GeomFromEWKT('SRID=4674;POINT (-39.041271 -3.410609)'))) / (select extract(epoch from '2026-06-19 16:38:56'::timestamp) - extract(epoch from '2026-06-19 16:38: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'), 46591, 'SRID=4674;POINT (-39.041276 -3.410625)', '2026-06-19 16:39:05', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041271 -3.410609)'), GeomFromEWKT('SRID=4674;POINT (-39.041276 -3.410625)'))) / (select extract(epoch from '2026-06-19 16:39:05'::timestamp) - extract(epoch from '2026-06-19 16:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041271 -3.410609)'), GeomFromEWKT('SRID=4674;POINT (-39.041276 -3.410625)'))) / (select extract(epoch from '2026-06-19 16:39:05'::timestamp) - extract(epoch from '2026-06-19 16:38: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'), 46591, 'SRID=4674;POINT (-39.041243 -3.410649)', '2026-06-19 16:39:13', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041276 -3.410625)'), GeomFromEWKT('SRID=4674;POINT (-39.041243 -3.410649)'))) / (select extract(epoch from '2026-06-19 16:39:13'::timestamp) - extract(epoch from '2026-06-19 16:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041276 -3.410625)'), GeomFromEWKT('SRID=4674;POINT (-39.041243 -3.410649)'))) / (select extract(epoch from '2026-06-19 16:39:13'::timestamp) - extract(epoch from '2026-06-19 16:39: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'), 46591, 'SRID=4674;POINT (-39.041173 -3.410665)', '2026-06-19 16:39:23', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041243 -3.410649)'), GeomFromEWKT('SRID=4674;POINT (-39.041173 -3.410665)'))) / (select extract(epoch from '2026-06-19 16:39:23'::timestamp) - extract(epoch from '2026-06-19 16:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041243 -3.410649)'), GeomFromEWKT('SRID=4674;POINT (-39.041173 -3.410665)'))) / (select extract(epoch from '2026-06-19 16:39:23'::timestamp) - extract(epoch from '2026-06-19 16:39: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'), 46591, 'SRID=4674;POINT (-39.041119 -3.410665)', '2026-06-19 16:39:32', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041173 -3.410665)'), GeomFromEWKT('SRID=4674;POINT (-39.041119 -3.410665)'))) / (select extract(epoch from '2026-06-19 16:39:32'::timestamp) - extract(epoch from '2026-06-19 16:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041173 -3.410665)'), GeomFromEWKT('SRID=4674;POINT (-39.041119 -3.410665)'))) / (select extract(epoch from '2026-06-19 16:39:32'::timestamp) - extract(epoch from '2026-06-19 16:39: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'), 46591, 'SRID=4674;POINT (-39.041087 -3.41067)', '2026-06-19 16:39:42', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041119 -3.410665)'), GeomFromEWKT('SRID=4674;POINT (-39.041087 -3.41067)'))) / (select extract(epoch from '2026-06-19 16:39:42'::timestamp) - extract(epoch from '2026-06-19 16:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041119 -3.410665)'), GeomFromEWKT('SRID=4674;POINT (-39.041087 -3.41067)'))) / (select extract(epoch from '2026-06-19 16:39:42'::timestamp) - extract(epoch from '2026-06-19 16:39: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'), 46591, 'SRID=4674;POINT (-39.041091 -3.410672)', '2026-06-19 16:39:50', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041087 -3.41067)'), GeomFromEWKT('SRID=4674;POINT (-39.041091 -3.410672)'))) / (select extract(epoch from '2026-06-19 16:39:50'::timestamp) - extract(epoch from '2026-06-19 16:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041087 -3.41067)'), GeomFromEWKT('SRID=4674;POINT (-39.041091 -3.410672)'))) / (select extract(epoch from '2026-06-19 16:39:50'::timestamp) - extract(epoch from '2026-06-19 16:39: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'), 46591, 'SRID=4674;POINT (-39.0411 -3.410678)', '2026-06-19 16:39:58', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041091 -3.410672)'), GeomFromEWKT('SRID=4674;POINT (-39.0411 -3.410678)'))) / (select extract(epoch from '2026-06-19 16:39:58'::timestamp) - extract(epoch from '2026-06-19 16:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041091 -3.410672)'), GeomFromEWKT('SRID=4674;POINT (-39.0411 -3.410678)'))) / (select extract(epoch from '2026-06-19 16:39:58'::timestamp) - extract(epoch from '2026-06-19 16:39: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'), 46591, 'SRID=4674;POINT (-39.041123 -3.410691)', '2026-06-19 16:40:06', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0411 -3.410678)'), GeomFromEWKT('SRID=4674;POINT (-39.041123 -3.410691)'))) / (select extract(epoch from '2026-06-19 16:40:06'::timestamp) - extract(epoch from '2026-06-19 16:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0411 -3.410678)'), GeomFromEWKT('SRID=4674;POINT (-39.041123 -3.410691)'))) / (select extract(epoch from '2026-06-19 16:40:06'::timestamp) - extract(epoch from '2026-06-19 16:39: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'), 46591, 'SRID=4674;POINT (-39.041156 -3.410714)', '2026-06-19 16:40:18', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041123 -3.410691)'), GeomFromEWKT('SRID=4674;POINT (-39.041156 -3.410714)'))) / (select extract(epoch from '2026-06-19 16:40:18'::timestamp) - extract(epoch from '2026-06-19 16:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041123 -3.410691)'), GeomFromEWKT('SRID=4674;POINT (-39.041156 -3.410714)'))) / (select extract(epoch from '2026-06-19 16:40:18'::timestamp) - extract(epoch from '2026-06-19 16:40: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'), 46591, 'SRID=4674;POINT (-39.041178 -3.410701)', '2026-06-19 16:40:40', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041156 -3.410714)'), GeomFromEWKT('SRID=4674;POINT (-39.041178 -3.410701)'))) / (select extract(epoch from '2026-06-19 16:40:40'::timestamp) - extract(epoch from '2026-06-19 16:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041156 -3.410714)'), GeomFromEWKT('SRID=4674;POINT (-39.041178 -3.410701)'))) / (select extract(epoch from '2026-06-19 16:40:40'::timestamp) - extract(epoch from '2026-06-19 16:40: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'), 46591, 'SRID=4674;POINT (-39.04119 -3.410667)', '2026-06-19 16:40:59', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041178 -3.410701)'), GeomFromEWKT('SRID=4674;POINT (-39.04119 -3.410667)'))) / (select extract(epoch from '2026-06-19 16:40:59'::timestamp) - extract(epoch from '2026-06-19 16:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041178 -3.410701)'), GeomFromEWKT('SRID=4674;POINT (-39.04119 -3.410667)'))) / (select extract(epoch from '2026-06-19 16:40:59'::timestamp) - extract(epoch from '2026-06-19 16:40: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'), 46591, 'SRID=4674;POINT (-39.041198 -3.41066)', '2026-06-19 16:41:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04119 -3.410667)'), GeomFromEWKT('SRID=4674;POINT (-39.041198 -3.41066)'))) / (select extract(epoch from '2026-06-19 16:41:24'::timestamp) - extract(epoch from '2026-06-19 16:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04119 -3.410667)'), GeomFromEWKT('SRID=4674;POINT (-39.041198 -3.41066)'))) / (select extract(epoch from '2026-06-19 16:41:24'::timestamp) - extract(epoch from '2026-06-19 16:40: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'), 46591, 'SRID=4674;POINT (-39.041249 -3.410661)', '2026-06-19 16:41:47', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041198 -3.41066)'), GeomFromEWKT('SRID=4674;POINT (-39.041249 -3.410661)'))) / (select extract(epoch from '2026-06-19 16:41:47'::timestamp) - extract(epoch from '2026-06-19 16:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041198 -3.41066)'), GeomFromEWKT('SRID=4674;POINT (-39.041249 -3.410661)'))) / (select extract(epoch from '2026-06-19 16:41:47'::timestamp) - extract(epoch from '2026-06-19 16:41: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'), 46591, 'SRID=4674;POINT (-39.041319 -3.410652)', '2026-06-19 16:42:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041249 -3.410661)'), GeomFromEWKT('SRID=4674;POINT (-39.041319 -3.410652)'))) / (select extract(epoch from '2026-06-19 16:42:15'::timestamp) - extract(epoch from '2026-06-19 16:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041249 -3.410661)'), GeomFromEWKT('SRID=4674;POINT (-39.041319 -3.410652)'))) / (select extract(epoch from '2026-06-19 16:42:15'::timestamp) - extract(epoch from '2026-06-19 16:41: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'), 46591, 'SRID=4674;POINT (-39.041389 -3.410644)', '2026-06-19 16:42:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041319 -3.410652)'), GeomFromEWKT('SRID=4674;POINT (-39.041389 -3.410644)'))) / (select extract(epoch from '2026-06-19 16:42:42'::timestamp) - extract(epoch from '2026-06-19 16:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041319 -3.410652)'), GeomFromEWKT('SRID=4674;POINT (-39.041389 -3.410644)'))) / (select extract(epoch from '2026-06-19 16:42:42'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.041429 -3.410644)', '2026-06-19 16:42:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041389 -3.410644)'), GeomFromEWKT('SRID=4674;POINT (-39.041429 -3.410644)'))) / (select extract(epoch from '2026-06-19 16:42:58'::timestamp) - extract(epoch from '2026-06-19 16:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041389 -3.410644)'), GeomFromEWKT('SRID=4674;POINT (-39.041429 -3.410644)'))) / (select extract(epoch from '2026-06-19 16:42:58'::timestamp) - extract(epoch from '2026-06-19 16:42: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'), 46591, 'SRID=4674;POINT (-39.04148 -3.410648)', '2026-06-19 16:43:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041429 -3.410644)'), GeomFromEWKT('SRID=4674;POINT (-39.04148 -3.410648)'))) / (select extract(epoch from '2026-06-19 16:43:18'::timestamp) - extract(epoch from '2026-06-19 16:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041429 -3.410644)'), GeomFromEWKT('SRID=4674;POINT (-39.04148 -3.410648)'))) / (select extract(epoch from '2026-06-19 16:43:18'::timestamp) - extract(epoch from '2026-06-19 16:42: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'), 46591, 'SRID=4674;POINT (-39.041547 -3.410648)', '2026-06-19 16:43:38', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04148 -3.410648)'), GeomFromEWKT('SRID=4674;POINT (-39.041547 -3.410648)'))) / (select extract(epoch from '2026-06-19 16:43:38'::timestamp) - extract(epoch from '2026-06-19 16:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04148 -3.410648)'), GeomFromEWKT('SRID=4674;POINT (-39.041547 -3.410648)'))) / (select extract(epoch from '2026-06-19 16:43:38'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.041584 -3.410656)', '2026-06-19 16:43:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041547 -3.410648)'), GeomFromEWKT('SRID=4674;POINT (-39.041584 -3.410656)'))) / (select extract(epoch from '2026-06-19 16:43:48'::timestamp) - extract(epoch from '2026-06-19 16:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041547 -3.410648)'), GeomFromEWKT('SRID=4674;POINT (-39.041584 -3.410656)'))) / (select extract(epoch from '2026-06-19 16:43:48'::timestamp) - extract(epoch from '2026-06-19 16:43: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'), 46591, 'SRID=4674;POINT (-39.041608 -3.410659)', '2026-06-19 16:43:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041584 -3.410656)'), GeomFromEWKT('SRID=4674;POINT (-39.041608 -3.410659)'))) / (select extract(epoch from '2026-06-19 16:43:55'::timestamp) - extract(epoch from '2026-06-19 16:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041584 -3.410656)'), GeomFromEWKT('SRID=4674;POINT (-39.041608 -3.410659)'))) / (select extract(epoch from '2026-06-19 16:43:55'::timestamp) - extract(epoch from '2026-06-19 16:43: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'), 46591, 'SRID=4674;POINT (-39.041635 -3.410654)', '2026-06-19 16:44:03', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041608 -3.410659)'), GeomFromEWKT('SRID=4674;POINT (-39.041635 -3.410654)'))) / (select extract(epoch from '2026-06-19 16:44:03'::timestamp) - extract(epoch from '2026-06-19 16:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041608 -3.410659)'), GeomFromEWKT('SRID=4674;POINT (-39.041635 -3.410654)'))) / (select extract(epoch from '2026-06-19 16:44:03'::timestamp) - extract(epoch from '2026-06-19 16:43: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'), 46591, 'SRID=4674;POINT (-39.041653 -3.410658)', '2026-06-19 16:44:09', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041635 -3.410654)'), GeomFromEWKT('SRID=4674;POINT (-39.041653 -3.410658)'))) / (select extract(epoch from '2026-06-19 16:44:09'::timestamp) - extract(epoch from '2026-06-19 16:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041635 -3.410654)'), GeomFromEWKT('SRID=4674;POINT (-39.041653 -3.410658)'))) / (select extract(epoch from '2026-06-19 16:44:09'::timestamp) - extract(epoch from '2026-06-19 16:44: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'), 46591, 'SRID=4674;POINT (-39.041669 -3.410663)', '2026-06-19 16:44:14', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041653 -3.410658)'), GeomFromEWKT('SRID=4674;POINT (-39.041669 -3.410663)'))) / (select extract(epoch from '2026-06-19 16:44:14'::timestamp) - extract(epoch from '2026-06-19 16:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041653 -3.410658)'), GeomFromEWKT('SRID=4674;POINT (-39.041669 -3.410663)'))) / (select extract(epoch from '2026-06-19 16:44:14'::timestamp) - extract(epoch from '2026-06-19 16:44: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'), 46591, 'SRID=4674;POINT (-39.04169 -3.410659)', '2026-06-19 16:44:21', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041669 -3.410663)'), GeomFromEWKT('SRID=4674;POINT (-39.04169 -3.410659)'))) / (select extract(epoch from '2026-06-19 16:44:21'::timestamp) - extract(epoch from '2026-06-19 16:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041669 -3.410663)'), GeomFromEWKT('SRID=4674;POINT (-39.04169 -3.410659)'))) / (select extract(epoch from '2026-06-19 16:44:21'::timestamp) - extract(epoch from '2026-06-19 16:44: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'), 46591, 'SRID=4674;POINT (-39.041719 -3.41066)', '2026-06-19 16:44:30', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04169 -3.410659)'), GeomFromEWKT('SRID=4674;POINT (-39.041719 -3.41066)'))) / (select extract(epoch from '2026-06-19 16:44:30'::timestamp) - extract(epoch from '2026-06-19 16:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04169 -3.410659)'), GeomFromEWKT('SRID=4674;POINT (-39.041719 -3.41066)'))) / (select extract(epoch from '2026-06-19 16:44:30'::timestamp) - extract(epoch from '2026-06-19 16:44: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'), 46591, 'SRID=4674;POINT (-39.041748 -3.410665)', '2026-06-19 16:44:42', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041719 -3.41066)'), GeomFromEWKT('SRID=4674;POINT (-39.041748 -3.410665)'))) / (select extract(epoch from '2026-06-19 16:44:42'::timestamp) - extract(epoch from '2026-06-19 16:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041719 -3.41066)'), GeomFromEWKT('SRID=4674;POINT (-39.041748 -3.410665)'))) / (select extract(epoch from '2026-06-19 16:44:42'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.041783 -3.410667)', '2026-06-19 16:44:53', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041748 -3.410665)'), GeomFromEWKT('SRID=4674;POINT (-39.041783 -3.410667)'))) / (select extract(epoch from '2026-06-19 16:44:53'::timestamp) - extract(epoch from '2026-06-19 16:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041748 -3.410665)'), GeomFromEWKT('SRID=4674;POINT (-39.041783 -3.410667)'))) / (select extract(epoch from '2026-06-19 16:44:53'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.041804 -3.410662)', '2026-06-19 16:45:00', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041783 -3.410667)'), GeomFromEWKT('SRID=4674;POINT (-39.041804 -3.410662)'))) / (select extract(epoch from '2026-06-19 16:45:00'::timestamp) - extract(epoch from '2026-06-19 16:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041783 -3.410667)'), GeomFromEWKT('SRID=4674;POINT (-39.041804 -3.410662)'))) / (select extract(epoch from '2026-06-19 16:45:00'::timestamp) - extract(epoch from '2026-06-19 16:44: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'), 46591, 'SRID=4674;POINT (-39.041831 -3.410663)', '2026-06-19 16:45:10', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041804 -3.410662)'), GeomFromEWKT('SRID=4674;POINT (-39.041831 -3.410663)'))) / (select extract(epoch from '2026-06-19 16:45:10'::timestamp) - extract(epoch from '2026-06-19 16:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041804 -3.410662)'), GeomFromEWKT('SRID=4674;POINT (-39.041831 -3.410663)'))) / (select extract(epoch from '2026-06-19 16:45:10'::timestamp) - extract(epoch from '2026-06-19 16:45: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'), 46591, 'SRID=4674;POINT (-39.04186 -3.410666)', '2026-06-19 16:45:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041831 -3.410663)'), GeomFromEWKT('SRID=4674;POINT (-39.04186 -3.410666)'))) / (select extract(epoch from '2026-06-19 16:45:22'::timestamp) - extract(epoch from '2026-06-19 16:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041831 -3.410663)'), GeomFromEWKT('SRID=4674;POINT (-39.04186 -3.410666)'))) / (select extract(epoch from '2026-06-19 16:45:22'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.041884 -3.410665)', '2026-06-19 16:45:30', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04186 -3.410666)'), GeomFromEWKT('SRID=4674;POINT (-39.041884 -3.410665)'))) / (select extract(epoch from '2026-06-19 16:45:30'::timestamp) - extract(epoch from '2026-06-19 16:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04186 -3.410666)'), GeomFromEWKT('SRID=4674;POINT (-39.041884 -3.410665)'))) / (select extract(epoch from '2026-06-19 16:45:30'::timestamp) - extract(epoch from '2026-06-19 16:45: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'), 46591, 'SRID=4674;POINT (-39.041912 -3.410662)', '2026-06-19 16:45:41', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041884 -3.410665)'), GeomFromEWKT('SRID=4674;POINT (-39.041912 -3.410662)'))) / (select extract(epoch from '2026-06-19 16:45:41'::timestamp) - extract(epoch from '2026-06-19 16:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041884 -3.410665)'), GeomFromEWKT('SRID=4674;POINT (-39.041912 -3.410662)'))) / (select extract(epoch from '2026-06-19 16:45:41'::timestamp) - extract(epoch from '2026-06-19 16:45: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'), 46591, 'SRID=4674;POINT (-39.041933 -3.410666)', '2026-06-19 16:45:50', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041912 -3.410662)'), GeomFromEWKT('SRID=4674;POINT (-39.041933 -3.410666)'))) / (select extract(epoch from '2026-06-19 16:45:50'::timestamp) - extract(epoch from '2026-06-19 16:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041912 -3.410662)'), GeomFromEWKT('SRID=4674;POINT (-39.041933 -3.410666)'))) / (select extract(epoch from '2026-06-19 16:45:50'::timestamp) - extract(epoch from '2026-06-19 16:45: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'), 46591, 'SRID=4674;POINT (-39.041951 -3.41067)', '2026-06-19 16:46:01', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041933 -3.410666)'), GeomFromEWKT('SRID=4674;POINT (-39.041951 -3.41067)'))) / (select extract(epoch from '2026-06-19 16:46:01'::timestamp) - extract(epoch from '2026-06-19 16:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041933 -3.410666)'), GeomFromEWKT('SRID=4674;POINT (-39.041951 -3.41067)'))) / (select extract(epoch from '2026-06-19 16:46:01'::timestamp) - extract(epoch from '2026-06-19 16:45: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'), 46591, 'SRID=4674;POINT (-39.041984 -3.410674)', '2026-06-19 16:46:15', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041951 -3.41067)'), GeomFromEWKT('SRID=4674;POINT (-39.041984 -3.410674)'))) / (select extract(epoch from '2026-06-19 16:46:15'::timestamp) - extract(epoch from '2026-06-19 16:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041951 -3.41067)'), GeomFromEWKT('SRID=4674;POINT (-39.041984 -3.410674)'))) / (select extract(epoch from '2026-06-19 16:46:15'::timestamp) - extract(epoch from '2026-06-19 16:46: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'), 46591, 'SRID=4674;POINT (-39.042051 -3.410672)', '2026-06-19 16:46:38', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041984 -3.410674)'), GeomFromEWKT('SRID=4674;POINT (-39.042051 -3.410672)'))) / (select extract(epoch from '2026-06-19 16:46:38'::timestamp) - extract(epoch from '2026-06-19 16:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041984 -3.410674)'), GeomFromEWKT('SRID=4674;POINT (-39.042051 -3.410672)'))) / (select extract(epoch from '2026-06-19 16:46:38'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.042071 -3.410667)', '2026-06-19 16:46:57', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042051 -3.410672)'), GeomFromEWKT('SRID=4674;POINT (-39.042071 -3.410667)'))) / (select extract(epoch from '2026-06-19 16:46:57'::timestamp) - extract(epoch from '2026-06-19 16:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042051 -3.410672)'), GeomFromEWKT('SRID=4674;POINT (-39.042071 -3.410667)'))) / (select extract(epoch from '2026-06-19 16:46:57'::timestamp) - extract(epoch from '2026-06-19 16:46: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'), 46591, 'SRID=4674;POINT (-39.042117 -3.410673)', '2026-06-19 16:47:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042071 -3.410667)'), GeomFromEWKT('SRID=4674;POINT (-39.042117 -3.410673)'))) / (select extract(epoch from '2026-06-19 16:47:22'::timestamp) - extract(epoch from '2026-06-19 16:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042071 -3.410667)'), GeomFromEWKT('SRID=4674;POINT (-39.042117 -3.410673)'))) / (select extract(epoch from '2026-06-19 16:47:22'::timestamp) - extract(epoch from '2026-06-19 16:46: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'), 46591, 'SRID=4674;POINT (-39.042101 -3.410655)', '2026-06-19 16:47:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042117 -3.410673)'), GeomFromEWKT('SRID=4674;POINT (-39.042101 -3.410655)'))) / (select extract(epoch from '2026-06-19 16:47:34'::timestamp) - extract(epoch from '2026-06-19 16:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042117 -3.410673)'), GeomFromEWKT('SRID=4674;POINT (-39.042101 -3.410655)'))) / (select extract(epoch from '2026-06-19 16:47:34'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.042064 -3.410629)', '2026-06-19 16:47:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042101 -3.410655)'), GeomFromEWKT('SRID=4674;POINT (-39.042064 -3.410629)'))) / (select extract(epoch from '2026-06-19 16:47:41'::timestamp) - extract(epoch from '2026-06-19 16:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042101 -3.410655)'), GeomFromEWKT('SRID=4674;POINT (-39.042064 -3.410629)'))) / (select extract(epoch from '2026-06-19 16:47:41'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.041989 -3.410594)', '2026-06-19 16:47:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042064 -3.410629)'), GeomFromEWKT('SRID=4674;POINT (-39.041989 -3.410594)'))) / (select extract(epoch from '2026-06-19 16:47:51'::timestamp) - extract(epoch from '2026-06-19 16:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042064 -3.410629)'), GeomFromEWKT('SRID=4674;POINT (-39.041989 -3.410594)'))) / (select extract(epoch from '2026-06-19 16:47:51'::timestamp) - extract(epoch from '2026-06-19 16:47:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.041928 -3.410574)', '2026-06-19 16:47:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041989 -3.410594)'), GeomFromEWKT('SRID=4674;POINT (-39.041928 -3.410574)'))) / (select extract(epoch from '2026-06-19 16:47:58'::timestamp) - extract(epoch from '2026-06-19 16:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041989 -3.410594)'), GeomFromEWKT('SRID=4674;POINT (-39.041928 -3.410574)'))) / (select extract(epoch from '2026-06-19 16:47:58'::timestamp) - extract(epoch from '2026-06-19 16:47: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'), 46591, 'SRID=4674;POINT (-39.041866 -3.410558)', '2026-06-19 16:48:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041928 -3.410574)'), GeomFromEWKT('SRID=4674;POINT (-39.041866 -3.410558)'))) / (select extract(epoch from '2026-06-19 16:48:06'::timestamp) - extract(epoch from '2026-06-19 16:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041928 -3.410574)'), GeomFromEWKT('SRID=4674;POINT (-39.041866 -3.410558)'))) / (select extract(epoch from '2026-06-19 16:48:06'::timestamp) - extract(epoch from '2026-06-19 16:47: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'), 46591, 'SRID=4674;POINT (-39.0418 -3.410532)', '2026-06-19 16:48:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041866 -3.410558)'), GeomFromEWKT('SRID=4674;POINT (-39.0418 -3.410532)'))) / (select extract(epoch from '2026-06-19 16:48:15'::timestamp) - extract(epoch from '2026-06-19 16:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041866 -3.410558)'), GeomFromEWKT('SRID=4674;POINT (-39.0418 -3.410532)'))) / (select extract(epoch from '2026-06-19 16:48:15'::timestamp) - extract(epoch from '2026-06-19 16:48: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'), 46591, 'SRID=4674;POINT (-39.041768 -3.410515)', '2026-06-19 16:48:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0418 -3.410532)'), GeomFromEWKT('SRID=4674;POINT (-39.041768 -3.410515)'))) / (select extract(epoch from '2026-06-19 16:48:19'::timestamp) - extract(epoch from '2026-06-19 16:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0418 -3.410532)'), GeomFromEWKT('SRID=4674;POINT (-39.041768 -3.410515)'))) / (select extract(epoch from '2026-06-19 16:48:19'::timestamp) - extract(epoch from '2026-06-19 16:48: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'), 46591, 'SRID=4674;POINT (-39.041739 -3.410505)', '2026-06-19 16:48:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041768 -3.410515)'), GeomFromEWKT('SRID=4674;POINT (-39.041739 -3.410505)'))) / (select extract(epoch from '2026-06-19 16:48:23'::timestamp) - extract(epoch from '2026-06-19 16:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041768 -3.410515)'), GeomFromEWKT('SRID=4674;POINT (-39.041739 -3.410505)'))) / (select extract(epoch from '2026-06-19 16:48:23'::timestamp) - extract(epoch from '2026-06-19 16:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.041658 -3.410471)', '2026-06-19 16:48:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041739 -3.410505)'), GeomFromEWKT('SRID=4674;POINT (-39.041658 -3.410471)'))) / (select extract(epoch from '2026-06-19 16:48:34'::timestamp) - extract(epoch from '2026-06-19 16:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041739 -3.410505)'), GeomFromEWKT('SRID=4674;POINT (-39.041658 -3.410471)'))) / (select extract(epoch from '2026-06-19 16:48:34'::timestamp) - extract(epoch from '2026-06-19 16:48: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'), 46591, 'SRID=4674;POINT (-39.041589 -3.410436)', '2026-06-19 16:48:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041658 -3.410471)'), GeomFromEWKT('SRID=4674;POINT (-39.041589 -3.410436)'))) / (select extract(epoch from '2026-06-19 16:48:44'::timestamp) - extract(epoch from '2026-06-19 16:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041658 -3.410471)'), GeomFromEWKT('SRID=4674;POINT (-39.041589 -3.410436)'))) / (select extract(epoch from '2026-06-19 16:48:44'::timestamp) - extract(epoch from '2026-06-19 16:48: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'), 46591, 'SRID=4674;POINT (-39.041571 -3.410419)', '2026-06-19 16:48:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041589 -3.410436)'), GeomFromEWKT('SRID=4674;POINT (-39.041571 -3.410419)'))) / (select extract(epoch from '2026-06-19 16:48:47'::timestamp) - extract(epoch from '2026-06-19 16:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041589 -3.410436)'), GeomFromEWKT('SRID=4674;POINT (-39.041571 -3.410419)'))) / (select extract(epoch from '2026-06-19 16:48:47'::timestamp) - extract(epoch from '2026-06-19 16:48: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'), 46591, 'SRID=4674;POINT (-39.041555 -3.410407)', '2026-06-19 16:48:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041571 -3.410419)'), GeomFromEWKT('SRID=4674;POINT (-39.041555 -3.410407)'))) / (select extract(epoch from '2026-06-19 16:48:50'::timestamp) - extract(epoch from '2026-06-19 16:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041571 -3.410419)'), GeomFromEWKT('SRID=4674;POINT (-39.041555 -3.410407)'))) / (select extract(epoch from '2026-06-19 16:48:50'::timestamp) - extract(epoch from '2026-06-19 16:48: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'), 46591, 'SRID=4674;POINT (-39.041504 -3.410377)', '2026-06-19 16:48:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041555 -3.410407)'), GeomFromEWKT('SRID=4674;POINT (-39.041504 -3.410377)'))) / (select extract(epoch from '2026-06-19 16:48:57'::timestamp) - extract(epoch from '2026-06-19 16:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041555 -3.410407)'), GeomFromEWKT('SRID=4674;POINT (-39.041504 -3.410377)'))) / (select extract(epoch from '2026-06-19 16:48:57'::timestamp) - extract(epoch from '2026-06-19 16:48: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'), 46591, 'SRID=4674;POINT (-39.041439 -3.410345)', '2026-06-19 16:49:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041504 -3.410377)'), GeomFromEWKT('SRID=4674;POINT (-39.041439 -3.410345)'))) / (select extract(epoch from '2026-06-19 16:49:06'::timestamp) - extract(epoch from '2026-06-19 16:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041504 -3.410377)'), GeomFromEWKT('SRID=4674;POINT (-39.041439 -3.410345)'))) / (select extract(epoch from '2026-06-19 16:49:06'::timestamp) - extract(epoch from '2026-06-19 16:48: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'), 46591, 'SRID=4674;POINT (-39.041384 -3.410312)', '2026-06-19 16:49:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041439 -3.410345)'), GeomFromEWKT('SRID=4674;POINT (-39.041384 -3.410312)'))) / (select extract(epoch from '2026-06-19 16:49:15'::timestamp) - extract(epoch from '2026-06-19 16:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041439 -3.410345)'), GeomFromEWKT('SRID=4674;POINT (-39.041384 -3.410312)'))) / (select extract(epoch from '2026-06-19 16:49:15'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.041342 -3.410288)', '2026-06-19 16:49:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041384 -3.410312)'), GeomFromEWKT('SRID=4674;POINT (-39.041342 -3.410288)'))) / (select extract(epoch from '2026-06-19 16:49:21'::timestamp) - extract(epoch from '2026-06-19 16:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041384 -3.410312)'), GeomFromEWKT('SRID=4674;POINT (-39.041342 -3.410288)'))) / (select extract(epoch from '2026-06-19 16:49:21'::timestamp) - extract(epoch from '2026-06-19 16:49: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'), 46591, 'SRID=4674;POINT (-39.041334 -3.410283)', '2026-06-19 16:49:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041342 -3.410288)'), GeomFromEWKT('SRID=4674;POINT (-39.041334 -3.410283)'))) / (select extract(epoch from '2026-06-19 16:49:22'::timestamp) - extract(epoch from '2026-06-19 16:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041342 -3.410288)'), GeomFromEWKT('SRID=4674;POINT (-39.041334 -3.410283)'))) / (select extract(epoch from '2026-06-19 16:49:22'::timestamp) - extract(epoch from '2026-06-19 16:49: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'), 46591, 'SRID=4674;POINT (-39.041309 -3.410265)', '2026-06-19 16:49:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041334 -3.410283)'), GeomFromEWKT('SRID=4674;POINT (-39.041309 -3.410265)'))) / (select extract(epoch from '2026-06-19 16:49:26'::timestamp) - extract(epoch from '2026-06-19 16:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041334 -3.410283)'), GeomFromEWKT('SRID=4674;POINT (-39.041309 -3.410265)'))) / (select extract(epoch from '2026-06-19 16:49:26'::timestamp) - extract(epoch from '2026-06-19 16:49: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'), 46591, 'SRID=4674;POINT (-39.04126 -3.410245)', '2026-06-19 16:49:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041309 -3.410265)'), GeomFromEWKT('SRID=4674;POINT (-39.04126 -3.410245)'))) / (select extract(epoch from '2026-06-19 16:49:33'::timestamp) - extract(epoch from '2026-06-19 16:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041309 -3.410265)'), GeomFromEWKT('SRID=4674;POINT (-39.04126 -3.410245)'))) / (select extract(epoch from '2026-06-19 16:49:33'::timestamp) - extract(epoch from '2026-06-19 16:49: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'), 46591, 'SRID=4674;POINT (-39.041189 -3.410216)', '2026-06-19 16:49:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04126 -3.410245)'), GeomFromEWKT('SRID=4674;POINT (-39.041189 -3.410216)'))) / (select extract(epoch from '2026-06-19 16:49:43'::timestamp) - extract(epoch from '2026-06-19 16:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04126 -3.410245)'), GeomFromEWKT('SRID=4674;POINT (-39.041189 -3.410216)'))) / (select extract(epoch from '2026-06-19 16:49:43'::timestamp) - extract(epoch from '2026-06-19 16:49: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'), 46591, 'SRID=4674;POINT (-39.041127 -3.410193)', '2026-06-19 16:49:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041189 -3.410216)'), GeomFromEWKT('SRID=4674;POINT (-39.041127 -3.410193)'))) / (select extract(epoch from '2026-06-19 16:49:52'::timestamp) - extract(epoch from '2026-06-19 16:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041189 -3.410216)'), GeomFromEWKT('SRID=4674;POINT (-39.041127 -3.410193)'))) / (select extract(epoch from '2026-06-19 16:49:52'::timestamp) - extract(epoch from '2026-06-19 16:49: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'), 46591, 'SRID=4674;POINT (-39.041096 -3.410156)', '2026-06-19 16:50:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041127 -3.410193)'), GeomFromEWKT('SRID=4674;POINT (-39.041096 -3.410156)'))) / (select extract(epoch from '2026-06-19 16:50:00'::timestamp) - extract(epoch from '2026-06-19 16:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041127 -3.410193)'), GeomFromEWKT('SRID=4674;POINT (-39.041096 -3.410156)'))) / (select extract(epoch from '2026-06-19 16:50:00'::timestamp) - extract(epoch from '2026-06-19 16:49: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'), 46591, 'SRID=4674;POINT (-39.041106 -3.410098)', '2026-06-19 16:50:09', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041096 -3.410156)'), GeomFromEWKT('SRID=4674;POINT (-39.041106 -3.410098)'))) / (select extract(epoch from '2026-06-19 16:50:09'::timestamp) - extract(epoch from '2026-06-19 16:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041096 -3.410156)'), GeomFromEWKT('SRID=4674;POINT (-39.041106 -3.410098)'))) / (select extract(epoch from '2026-06-19 16:50:09'::timestamp) - extract(epoch from '2026-06-19 16:50: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'), 46591, 'SRID=4674;POINT (-39.041107 -3.410048)', '2026-06-19 16:50:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041106 -3.410098)'), GeomFromEWKT('SRID=4674;POINT (-39.041107 -3.410048)'))) / (select extract(epoch from '2026-06-19 16:50:16'::timestamp) - extract(epoch from '2026-06-19 16:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041106 -3.410098)'), GeomFromEWKT('SRID=4674;POINT (-39.041107 -3.410048)'))) / (select extract(epoch from '2026-06-19 16:50:16'::timestamp) - extract(epoch from '2026-06-19 16:50: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'), 46591, 'SRID=4674;POINT (-39.041092 -3.409988)', '2026-06-19 16:50:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041107 -3.410048)'), GeomFromEWKT('SRID=4674;POINT (-39.041092 -3.409988)'))) / (select extract(epoch from '2026-06-19 16:50:26'::timestamp) - extract(epoch from '2026-06-19 16:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041107 -3.410048)'), GeomFromEWKT('SRID=4674;POINT (-39.041092 -3.409988)'))) / (select extract(epoch from '2026-06-19 16:50:26'::timestamp) - extract(epoch from '2026-06-19 16:50: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'), 46591, 'SRID=4674;POINT (-39.041073 -3.41001)', '2026-06-19 16:50:34', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041092 -3.409988)'), GeomFromEWKT('SRID=4674;POINT (-39.041073 -3.41001)'))) / (select extract(epoch from '2026-06-19 16:50:34'::timestamp) - extract(epoch from '2026-06-19 16:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041092 -3.409988)'), GeomFromEWKT('SRID=4674;POINT (-39.041073 -3.41001)'))) / (select extract(epoch from '2026-06-19 16:50:34'::timestamp) - extract(epoch from '2026-06-19 16:50: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'), 46591, 'SRID=4674;POINT (-39.041049 -3.410064)', '2026-06-19 16:50:42', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041073 -3.41001)'), GeomFromEWKT('SRID=4674;POINT (-39.041049 -3.410064)'))) / (select extract(epoch from '2026-06-19 16:50:42'::timestamp) - extract(epoch from '2026-06-19 16:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041073 -3.41001)'), GeomFromEWKT('SRID=4674;POINT (-39.041049 -3.410064)'))) / (select extract(epoch from '2026-06-19 16:50:42'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.041008 -3.410102)', '2026-06-19 16:50:50', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041049 -3.410064)'), GeomFromEWKT('SRID=4674;POINT (-39.041008 -3.410102)'))) / (select extract(epoch from '2026-06-19 16:50:50'::timestamp) - extract(epoch from '2026-06-19 16:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041049 -3.410064)'), GeomFromEWKT('SRID=4674;POINT (-39.041008 -3.410102)'))) / (select extract(epoch from '2026-06-19 16:50:50'::timestamp) - extract(epoch from '2026-06-19 16:50:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.04097 -3.410115)', '2026-06-19 16:50:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041008 -3.410102)'), GeomFromEWKT('SRID=4674;POINT (-39.04097 -3.410115)'))) / (select extract(epoch from '2026-06-19 16:50:59'::timestamp) - extract(epoch from '2026-06-19 16:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041008 -3.410102)'), GeomFromEWKT('SRID=4674;POINT (-39.04097 -3.410115)'))) / (select extract(epoch from '2026-06-19 16:50:59'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.04092 -3.410112)', '2026-06-19 16:51:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04097 -3.410115)'), GeomFromEWKT('SRID=4674;POINT (-39.04092 -3.410112)'))) / (select extract(epoch from '2026-06-19 16:51:09'::timestamp) - extract(epoch from '2026-06-19 16:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04097 -3.410115)'), GeomFromEWKT('SRID=4674;POINT (-39.04092 -3.410112)'))) / (select extract(epoch from '2026-06-19 16:51:09'::timestamp) - extract(epoch from '2026-06-19 16:50:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.040914 -3.410146)', '2026-06-19 16:51:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04092 -3.410112)'), GeomFromEWKT('SRID=4674;POINT (-39.040914 -3.410146)'))) / (select extract(epoch from '2026-06-19 16:51:18'::timestamp) - extract(epoch from '2026-06-19 16:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04092 -3.410112)'), GeomFromEWKT('SRID=4674;POINT (-39.040914 -3.410146)'))) / (select extract(epoch from '2026-06-19 16:51:18'::timestamp) - extract(epoch from '2026-06-19 16:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.040948 -3.410187)', '2026-06-19 16:51:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040914 -3.410146)'), GeomFromEWKT('SRID=4674;POINT (-39.040948 -3.410187)'))) / (select extract(epoch from '2026-06-19 16:51:27'::timestamp) - extract(epoch from '2026-06-19 16:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040914 -3.410146)'), GeomFromEWKT('SRID=4674;POINT (-39.040948 -3.410187)'))) / (select extract(epoch from '2026-06-19 16:51:27'::timestamp) - extract(epoch from '2026-06-19 16:51: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'), 46591, 'SRID=4674;POINT (-39.041006 -3.410186)', '2026-06-19 16:51:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040948 -3.410187)'), GeomFromEWKT('SRID=4674;POINT (-39.041006 -3.410186)'))) / (select extract(epoch from '2026-06-19 16:51:34'::timestamp) - extract(epoch from '2026-06-19 16:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040948 -3.410187)'), GeomFromEWKT('SRID=4674;POINT (-39.041006 -3.410186)'))) / (select extract(epoch from '2026-06-19 16:51:34'::timestamp) - extract(epoch from '2026-06-19 16:51: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'), 46591, 'SRID=4674;POINT (-39.041014 -3.410173)', '2026-06-19 16:51:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041006 -3.410186)'), GeomFromEWKT('SRID=4674;POINT (-39.041014 -3.410173)'))) / (select extract(epoch from '2026-06-19 16:51:36'::timestamp) - extract(epoch from '2026-06-19 16:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041006 -3.410186)'), GeomFromEWKT('SRID=4674;POINT (-39.041014 -3.410173)'))) / (select extract(epoch from '2026-06-19 16:51:36'::timestamp) - extract(epoch from '2026-06-19 16:51: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'), 46591, 'SRID=4674;POINT (-39.041008 -3.410146)', '2026-06-19 16:51:44', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041014 -3.410173)'), GeomFromEWKT('SRID=4674;POINT (-39.041008 -3.410146)'))) / (select extract(epoch from '2026-06-19 16:51:44'::timestamp) - extract(epoch from '2026-06-19 16:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041014 -3.410173)'), GeomFromEWKT('SRID=4674;POINT (-39.041008 -3.410146)'))) / (select extract(epoch from '2026-06-19 16:51:44'::timestamp) - extract(epoch from '2026-06-19 16:51: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'), 46591, 'SRID=4674;POINT (-39.040988 -3.410112)', '2026-06-19 16:51:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041008 -3.410146)'), GeomFromEWKT('SRID=4674;POINT (-39.040988 -3.410112)'))) / (select extract(epoch from '2026-06-19 16:51:53'::timestamp) - extract(epoch from '2026-06-19 16:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041008 -3.410146)'), GeomFromEWKT('SRID=4674;POINT (-39.040988 -3.410112)'))) / (select extract(epoch from '2026-06-19 16:51:53'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.040978 -3.410107)', '2026-06-19 16:52:05', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040988 -3.410112)'), GeomFromEWKT('SRID=4674;POINT (-39.040978 -3.410107)'))) / (select extract(epoch from '2026-06-19 16:52:05'::timestamp) - extract(epoch from '2026-06-19 16:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040988 -3.410112)'), GeomFromEWKT('SRID=4674;POINT (-39.040978 -3.410107)'))) / (select extract(epoch from '2026-06-19 16:52:05'::timestamp) - extract(epoch from '2026-06-19 16:51: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'), 46591, 'SRID=4674;POINT (-39.040925 -3.410181)', '2026-06-19 16:52:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040978 -3.410107)'), GeomFromEWKT('SRID=4674;POINT (-39.040925 -3.410181)'))) / (select extract(epoch from '2026-06-19 16:52:26'::timestamp) - extract(epoch from '2026-06-19 16:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040978 -3.410107)'), GeomFromEWKT('SRID=4674;POINT (-39.040925 -3.410181)'))) / (select extract(epoch from '2026-06-19 16:52:26'::timestamp) - extract(epoch from '2026-06-19 16:52: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'), 46591, 'SRID=4674;POINT (-39.040849 -3.410226)', '2026-06-19 16:52:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040925 -3.410181)'), GeomFromEWKT('SRID=4674;POINT (-39.040849 -3.410226)'))) / (select extract(epoch from '2026-06-19 16:52:44'::timestamp) - extract(epoch from '2026-06-19 16:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040925 -3.410181)'), GeomFromEWKT('SRID=4674;POINT (-39.040849 -3.410226)'))) / (select extract(epoch from '2026-06-19 16:52:44'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.040798 -3.410243)', '2026-06-19 16:52:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040849 -3.410226)'), GeomFromEWKT('SRID=4674;POINT (-39.040798 -3.410243)'))) / (select extract(epoch from '2026-06-19 16:52:58'::timestamp) - extract(epoch from '2026-06-19 16:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040849 -3.410226)'), GeomFromEWKT('SRID=4674;POINT (-39.040798 -3.410243)'))) / (select extract(epoch from '2026-06-19 16:52:58'::timestamp) - extract(epoch from '2026-06-19 16:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.040798 -3.410236)', '2026-06-19 16:53:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040798 -3.410243)'), GeomFromEWKT('SRID=4674;POINT (-39.040798 -3.410236)'))) / (select extract(epoch from '2026-06-19 16:53:14'::timestamp) - extract(epoch from '2026-06-19 16:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040798 -3.410243)'), GeomFromEWKT('SRID=4674;POINT (-39.040798 -3.410236)'))) / (select extract(epoch from '2026-06-19 16:53:14'::timestamp) - extract(epoch from '2026-06-19 16:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.040824 -3.410245)', '2026-06-19 16:53:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040798 -3.410236)'), GeomFromEWKT('SRID=4674;POINT (-39.040824 -3.410245)'))) / (select extract(epoch from '2026-06-19 16:53:36'::timestamp) - extract(epoch from '2026-06-19 16:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040798 -3.410236)'), GeomFromEWKT('SRID=4674;POINT (-39.040824 -3.410245)'))) / (select extract(epoch from '2026-06-19 16:53:36'::timestamp) - extract(epoch from '2026-06-19 16:53: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'), 46591, 'SRID=4674;POINT (-39.040827 -3.410241)', '2026-06-19 16:53:49', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040824 -3.410245)'), GeomFromEWKT('SRID=4674;POINT (-39.040827 -3.410241)'))) / (select extract(epoch from '2026-06-19 16:53:49'::timestamp) - extract(epoch from '2026-06-19 16:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040824 -3.410245)'), GeomFromEWKT('SRID=4674;POINT (-39.040827 -3.410241)'))) / (select extract(epoch from '2026-06-19 16:53:49'::timestamp) - extract(epoch from '2026-06-19 16:53: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'), 46591, 'SRID=4674;POINT (-39.04082 -3.410228)', '2026-06-19 16:54:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040827 -3.410241)'), GeomFromEWKT('SRID=4674;POINT (-39.04082 -3.410228)'))) / (select extract(epoch from '2026-06-19 16:54:11'::timestamp) - extract(epoch from '2026-06-19 16:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040827 -3.410241)'), GeomFromEWKT('SRID=4674;POINT (-39.04082 -3.410228)'))) / (select extract(epoch from '2026-06-19 16:54:11'::timestamp) - extract(epoch from '2026-06-19 16:53: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'), 46591, 'SRID=4674;POINT (-39.040826 -3.410233)', '2026-06-19 16:54:24', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04082 -3.410228)'), GeomFromEWKT('SRID=4674;POINT (-39.040826 -3.410233)'))) / (select extract(epoch from '2026-06-19 16:54:24'::timestamp) - extract(epoch from '2026-06-19 16:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04082 -3.410228)'), GeomFromEWKT('SRID=4674;POINT (-39.040826 -3.410233)'))) / (select extract(epoch from '2026-06-19 16:54:24'::timestamp) - extract(epoch from '2026-06-19 16:54: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'), 46591, 'SRID=4674;POINT (-39.040821 -3.410232)', '2026-06-19 16:54:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040826 -3.410233)'), GeomFromEWKT('SRID=4674;POINT (-39.040821 -3.410232)'))) / (select extract(epoch from '2026-06-19 16:54:33'::timestamp) - extract(epoch from '2026-06-19 16:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040826 -3.410233)'), GeomFromEWKT('SRID=4674;POINT (-39.040821 -3.410232)'))) / (select extract(epoch from '2026-06-19 16:54:33'::timestamp) - extract(epoch from '2026-06-19 16:54: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'), 46591, 'SRID=4674;POINT (-39.040828 -3.410183)', '2026-06-19 16:54:41', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040821 -3.410232)'), GeomFromEWKT('SRID=4674;POINT (-39.040828 -3.410183)'))) / (select extract(epoch from '2026-06-19 16:54:41'::timestamp) - extract(epoch from '2026-06-19 16:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040821 -3.410232)'), GeomFromEWKT('SRID=4674;POINT (-39.040828 -3.410183)'))) / (select extract(epoch from '2026-06-19 16:54:41'::timestamp) - extract(epoch from '2026-06-19 16:54: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'), 46591, 'SRID=4674;POINT (-39.040837 -3.410099)', '2026-06-19 16:54:51', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040828 -3.410183)'), GeomFromEWKT('SRID=4674;POINT (-39.040837 -3.410099)'))) / (select extract(epoch from '2026-06-19 16:54:51'::timestamp) - extract(epoch from '2026-06-19 16:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040828 -3.410183)'), GeomFromEWKT('SRID=4674;POINT (-39.040837 -3.410099)'))) / (select extract(epoch from '2026-06-19 16:54:51'::timestamp) - extract(epoch from '2026-06-19 16:54: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'), 46591, 'SRID=4674;POINT (-39.040828 -3.410048)', '2026-06-19 16:55:00', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040837 -3.410099)'), GeomFromEWKT('SRID=4674;POINT (-39.040828 -3.410048)'))) / (select extract(epoch from '2026-06-19 16:55:00'::timestamp) - extract(epoch from '2026-06-19 16:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040837 -3.410099)'), GeomFromEWKT('SRID=4674;POINT (-39.040828 -3.410048)'))) / (select extract(epoch from '2026-06-19 16:55:00'::timestamp) - extract(epoch from '2026-06-19 16:54: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'), 46591, 'SRID=4674;POINT (-39.040794 -3.410053)', '2026-06-19 16:55:09', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040828 -3.410048)'), GeomFromEWKT('SRID=4674;POINT (-39.040794 -3.410053)'))) / (select extract(epoch from '2026-06-19 16:55:09'::timestamp) - extract(epoch from '2026-06-19 16:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040828 -3.410048)'), GeomFromEWKT('SRID=4674;POINT (-39.040794 -3.410053)'))) / (select extract(epoch from '2026-06-19 16:55:09'::timestamp) - extract(epoch from '2026-06-19 16:55: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'), 46591, 'SRID=4674;POINT (-39.040784 -3.410061)', '2026-06-19 16:55:19', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040794 -3.410053)'), GeomFromEWKT('SRID=4674;POINT (-39.040784 -3.410061)'))) / (select extract(epoch from '2026-06-19 16:55:19'::timestamp) - extract(epoch from '2026-06-19 16:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040794 -3.410053)'), GeomFromEWKT('SRID=4674;POINT (-39.040784 -3.410061)'))) / (select extract(epoch from '2026-06-19 16:55:19'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.040785 -3.410052)', '2026-06-19 16:55:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040784 -3.410061)'), GeomFromEWKT('SRID=4674;POINT (-39.040785 -3.410052)'))) / (select extract(epoch from '2026-06-19 16:55:27'::timestamp) - extract(epoch from '2026-06-19 16:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040784 -3.410061)'), GeomFromEWKT('SRID=4674;POINT (-39.040785 -3.410052)'))) / (select extract(epoch from '2026-06-19 16:55:27'::timestamp) - extract(epoch from '2026-06-19 16:55: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'), 46591, 'SRID=4674;POINT (-39.040837 -3.410043)', '2026-06-19 16:55:35', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040785 -3.410052)'), GeomFromEWKT('SRID=4674;POINT (-39.040837 -3.410043)'))) / (select extract(epoch from '2026-06-19 16:55:35'::timestamp) - extract(epoch from '2026-06-19 16:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040785 -3.410052)'), GeomFromEWKT('SRID=4674;POINT (-39.040837 -3.410043)'))) / (select extract(epoch from '2026-06-19 16:55:35'::timestamp) - extract(epoch from '2026-06-19 16:55: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'), 46591, 'SRID=4674;POINT (-39.040891 -3.410071)', '2026-06-19 16:55:42', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040837 -3.410043)'), GeomFromEWKT('SRID=4674;POINT (-39.040891 -3.410071)'))) / (select extract(epoch from '2026-06-19 16:55:42'::timestamp) - extract(epoch from '2026-06-19 16:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040837 -3.410043)'), GeomFromEWKT('SRID=4674;POINT (-39.040891 -3.410071)'))) / (select extract(epoch from '2026-06-19 16:55:42'::timestamp) - extract(epoch from '2026-06-19 16:55: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'), 46591, 'SRID=4674;POINT (-39.040949 -3.410115)', '2026-06-19 16:55:50', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040891 -3.410071)'), GeomFromEWKT('SRID=4674;POINT (-39.040949 -3.410115)'))) / (select extract(epoch from '2026-06-19 16:55:50'::timestamp) - extract(epoch from '2026-06-19 16:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040891 -3.410071)'), GeomFromEWKT('SRID=4674;POINT (-39.040949 -3.410115)'))) / (select extract(epoch from '2026-06-19 16:55:50'::timestamp) - extract(epoch from '2026-06-19 16:55: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'), 46591, 'SRID=4674;POINT (-39.040981 -3.410164)', '2026-06-19 16:55:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040949 -3.410115)'), GeomFromEWKT('SRID=4674;POINT (-39.040981 -3.410164)'))) / (select extract(epoch from '2026-06-19 16:55:57'::timestamp) - extract(epoch from '2026-06-19 16:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040949 -3.410115)'), GeomFromEWKT('SRID=4674;POINT (-39.040981 -3.410164)'))) / (select extract(epoch from '2026-06-19 16:55:57'::timestamp) - extract(epoch from '2026-06-19 16:55: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'), 46591, 'SRID=4674;POINT (-39.041014 -3.410219)', '2026-06-19 16:56:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040981 -3.410164)'), GeomFromEWKT('SRID=4674;POINT (-39.041014 -3.410219)'))) / (select extract(epoch from '2026-06-19 16:56:05'::timestamp) - extract(epoch from '2026-06-19 16:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040981 -3.410164)'), GeomFromEWKT('SRID=4674;POINT (-39.041014 -3.410219)'))) / (select extract(epoch from '2026-06-19 16:56:05'::timestamp) - extract(epoch from '2026-06-19 16:55: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'), 46591, 'SRID=4674;POINT (-39.041059 -3.410244)', '2026-06-19 16:56:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041014 -3.410219)'), GeomFromEWKT('SRID=4674;POINT (-39.041059 -3.410244)'))) / (select extract(epoch from '2026-06-19 16:56:12'::timestamp) - extract(epoch from '2026-06-19 16:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041014 -3.410219)'), GeomFromEWKT('SRID=4674;POINT (-39.041059 -3.410244)'))) / (select extract(epoch from '2026-06-19 16:56:12'::timestamp) - extract(epoch from '2026-06-19 16:56: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'), 46591, 'SRID=4674;POINT (-39.041109 -3.410258)', '2026-06-19 16:56:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041059 -3.410244)'), GeomFromEWKT('SRID=4674;POINT (-39.041109 -3.410258)'))) / (select extract(epoch from '2026-06-19 16:56:20'::timestamp) - extract(epoch from '2026-06-19 16:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041059 -3.410244)'), GeomFromEWKT('SRID=4674;POINT (-39.041109 -3.410258)'))) / (select extract(epoch from '2026-06-19 16:56:20'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.041154 -3.410264)', '2026-06-19 16:56:28', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041109 -3.410258)'), GeomFromEWKT('SRID=4674;POINT (-39.041154 -3.410264)'))) / (select extract(epoch from '2026-06-19 16:56:28'::timestamp) - extract(epoch from '2026-06-19 16:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041109 -3.410258)'), GeomFromEWKT('SRID=4674;POINT (-39.041154 -3.410264)'))) / (select extract(epoch from '2026-06-19 16:56:28'::timestamp) - extract(epoch from '2026-06-19 16:56: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'), 46591, 'SRID=4674;POINT (-39.041172 -3.410266)', '2026-06-19 16:56:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041154 -3.410264)'), GeomFromEWKT('SRID=4674;POINT (-39.041172 -3.410266)'))) / (select extract(epoch from '2026-06-19 16:56:44'::timestamp) - extract(epoch from '2026-06-19 16:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041154 -3.410264)'), GeomFromEWKT('SRID=4674;POINT (-39.041172 -3.410266)'))) / (select extract(epoch from '2026-06-19 16:56:44'::timestamp) - extract(epoch from '2026-06-19 16:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.041176 -3.410259)', '2026-06-19 16:57:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041172 -3.410266)'), GeomFromEWKT('SRID=4674;POINT (-39.041176 -3.410259)'))) / (select extract(epoch from '2026-06-19 16:57:04'::timestamp) - extract(epoch from '2026-06-19 16:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041172 -3.410266)'), GeomFromEWKT('SRID=4674;POINT (-39.041176 -3.410259)'))) / (select extract(epoch from '2026-06-19 16:57:04'::timestamp) - extract(epoch from '2026-06-19 16:56: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'), 46591, 'SRID=4674;POINT (-39.041169 -3.410252)', '2026-06-19 16:57:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041176 -3.410259)'), GeomFromEWKT('SRID=4674;POINT (-39.041169 -3.410252)'))) / (select extract(epoch from '2026-06-19 16:57:21'::timestamp) - extract(epoch from '2026-06-19 16:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041176 -3.410259)'), GeomFromEWKT('SRID=4674;POINT (-39.041169 -3.410252)'))) / (select extract(epoch from '2026-06-19 16:57:21'::timestamp) - extract(epoch from '2026-06-19 16:57: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'), 46591, 'SRID=4674;POINT (-39.041173 -3.410249)', '2026-06-19 16:57:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041169 -3.410252)'), GeomFromEWKT('SRID=4674;POINT (-39.041173 -3.410249)'))) / (select extract(epoch from '2026-06-19 16:57:28'::timestamp) - extract(epoch from '2026-06-19 16:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041169 -3.410252)'), GeomFromEWKT('SRID=4674;POINT (-39.041173 -3.410249)'))) / (select extract(epoch from '2026-06-19 16:57:28'::timestamp) - extract(epoch from '2026-06-19 16:57:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.041181 -3.410251)', '2026-06-19 16:57:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041173 -3.410249)'), GeomFromEWKT('SRID=4674;POINT (-39.041181 -3.410251)'))) / (select extract(epoch from '2026-06-19 16:57:37'::timestamp) - extract(epoch from '2026-06-19 16:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041173 -3.410249)'), GeomFromEWKT('SRID=4674;POINT (-39.041181 -3.410251)'))) / (select extract(epoch from '2026-06-19 16:57:37'::timestamp) - extract(epoch from '2026-06-19 16:57: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'), 46591, 'SRID=4674;POINT (-39.041174 -3.410255)', '2026-06-19 16:57:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041181 -3.410251)'), GeomFromEWKT('SRID=4674;POINT (-39.041174 -3.410255)'))) / (select extract(epoch from '2026-06-19 16:57:52'::timestamp) - extract(epoch from '2026-06-19 16:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041181 -3.410251)'), GeomFromEWKT('SRID=4674;POINT (-39.041174 -3.410255)'))) / (select extract(epoch from '2026-06-19 16:57:52'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.041185 -3.41026)', '2026-06-19 16:58:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041174 -3.410255)'), GeomFromEWKT('SRID=4674;POINT (-39.041185 -3.41026)'))) / (select extract(epoch from '2026-06-19 16:58:02'::timestamp) - extract(epoch from '2026-06-19 16:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041174 -3.410255)'), GeomFromEWKT('SRID=4674;POINT (-39.041185 -3.41026)'))) / (select extract(epoch from '2026-06-19 16:58:02'::timestamp) - extract(epoch from '2026-06-19 16:57: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'), 46591, 'SRID=4674;POINT (-39.041204 -3.410264)', '2026-06-19 16:58:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041185 -3.41026)'), GeomFromEWKT('SRID=4674;POINT (-39.041204 -3.410264)'))) / (select extract(epoch from '2026-06-19 16:58:12'::timestamp) - extract(epoch from '2026-06-19 16:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041185 -3.41026)'), GeomFromEWKT('SRID=4674;POINT (-39.041204 -3.410264)'))) / (select extract(epoch from '2026-06-19 16:58:12'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.04122 -3.410262)', '2026-06-19 16:58:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041204 -3.410264)'), GeomFromEWKT('SRID=4674;POINT (-39.04122 -3.410262)'))) / (select extract(epoch from '2026-06-19 16:58:19'::timestamp) - extract(epoch from '2026-06-19 16:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041204 -3.410264)'), GeomFromEWKT('SRID=4674;POINT (-39.04122 -3.410262)'))) / (select extract(epoch from '2026-06-19 16:58:19'::timestamp) - extract(epoch from '2026-06-19 16: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'), 46591, 'SRID=4674;POINT (-39.041251 -3.410266)', '2026-06-19 16:58:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04122 -3.410262)'), GeomFromEWKT('SRID=4674;POINT (-39.041251 -3.410266)'))) / (select extract(epoch from '2026-06-19 16:58:32'::timestamp) - extract(epoch from '2026-06-19 16:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04122 -3.410262)'), GeomFromEWKT('SRID=4674;POINT (-39.041251 -3.410266)'))) / (select extract(epoch from '2026-06-19 16:58:32'::timestamp) - extract(epoch from '2026-06-19 16:58: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'), 46591, 'SRID=4674;POINT (-39.041283 -3.410265)', '2026-06-19 16:58:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041251 -3.410266)'), GeomFromEWKT('SRID=4674;POINT (-39.041283 -3.410265)'))) / (select extract(epoch from '2026-06-19 16:58:43'::timestamp) - extract(epoch from '2026-06-19 16:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041251 -3.410266)'), GeomFromEWKT('SRID=4674;POINT (-39.041283 -3.410265)'))) / (select extract(epoch from '2026-06-19 16:58:43'::timestamp) - extract(epoch from '2026-06-19 16:58: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'), 46591, 'SRID=4674;POINT (-39.041311 -3.410263)', '2026-06-19 16:58:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041283 -3.410265)'), GeomFromEWKT('SRID=4674;POINT (-39.041311 -3.410263)'))) / (select extract(epoch from '2026-06-19 16:58:52'::timestamp) - extract(epoch from '2026-06-19 16:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041283 -3.410265)'), GeomFromEWKT('SRID=4674;POINT (-39.041311 -3.410263)'))) / (select extract(epoch from '2026-06-19 16:58:52'::timestamp) - extract(epoch from '2026-06-19 16:58: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'), 46591, 'SRID=4674;POINT (-39.041346 -3.410266)', '2026-06-19 16:59:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041311 -3.410263)'), GeomFromEWKT('SRID=4674;POINT (-39.041346 -3.410266)'))) / (select extract(epoch from '2026-06-19 16:59:03'::timestamp) - extract(epoch from '2026-06-19 16:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041311 -3.410263)'), GeomFromEWKT('SRID=4674;POINT (-39.041346 -3.410266)'))) / (select extract(epoch from '2026-06-19 16:59:03'::timestamp) - extract(epoch from '2026-06-19 16:58: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'), 46591, 'SRID=4674;POINT (-39.041408 -3.410268)', '2026-06-19 16:59:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041346 -3.410266)'), GeomFromEWKT('SRID=4674;POINT (-39.041408 -3.410268)'))) / (select extract(epoch from '2026-06-19 16:59:26'::timestamp) - extract(epoch from '2026-06-19 16:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041346 -3.410266)'), GeomFromEWKT('SRID=4674;POINT (-39.041408 -3.410268)'))) / (select extract(epoch from '2026-06-19 16:59:26'::timestamp) - extract(epoch from '2026-06-19 16:59: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'), 46591, 'SRID=4674;POINT (-39.041476 -3.410267)', '2026-06-19 16:59:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041408 -3.410268)'), GeomFromEWKT('SRID=4674;POINT (-39.041476 -3.410267)'))) / (select extract(epoch from '2026-06-19 16:59:49'::timestamp) - extract(epoch from '2026-06-19 16:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041408 -3.410268)'), GeomFromEWKT('SRID=4674;POINT (-39.041476 -3.410267)'))) / (select extract(epoch from '2026-06-19 16:59:49'::timestamp) - extract(epoch from '2026-06-19 16:59: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'), 46591, 'SRID=4674;POINT (-39.041486 -3.410274)', '2026-06-19 17:00:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041476 -3.410267)'), GeomFromEWKT('SRID=4674;POINT (-39.041486 -3.410274)'))) / (select extract(epoch from '2026-06-19 17:00:03'::timestamp) - extract(epoch from '2026-06-19 16:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041476 -3.410267)'), GeomFromEWKT('SRID=4674;POINT (-39.041486 -3.410274)'))) / (select extract(epoch from '2026-06-19 17:00:03'::timestamp) - extract(epoch from '2026-06-19 16:59:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.041508 -3.410299)', '2026-06-19 17:00:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041486 -3.410274)'), GeomFromEWKT('SRID=4674;POINT (-39.041508 -3.410299)'))) / (select extract(epoch from '2026-06-19 17:00:20'::timestamp) - extract(epoch from '2026-06-19 17:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041486 -3.410274)'), GeomFromEWKT('SRID=4674;POINT (-39.041508 -3.410299)'))) / (select extract(epoch from '2026-06-19 17:00:20'::timestamp) - extract(epoch from '2026-06-19 17:00: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'), 46591, 'SRID=4674;POINT (-39.041538 -3.410296)', '2026-06-19 17:00:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041508 -3.410299)'), GeomFromEWKT('SRID=4674;POINT (-39.041538 -3.410296)'))) / (select extract(epoch from '2026-06-19 17:00:32'::timestamp) - extract(epoch from '2026-06-19 17:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041508 -3.410299)'), GeomFromEWKT('SRID=4674;POINT (-39.041538 -3.410296)'))) / (select extract(epoch from '2026-06-19 17:00:32'::timestamp) - extract(epoch from '2026-06-19 17:00: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'), 46591, 'SRID=4674;POINT (-39.041573 -3.410298)', '2026-06-19 17:00:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041538 -3.410296)'), GeomFromEWKT('SRID=4674;POINT (-39.041573 -3.410298)'))) / (select extract(epoch from '2026-06-19 17:00:46'::timestamp) - extract(epoch from '2026-06-19 17:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041538 -3.410296)'), GeomFromEWKT('SRID=4674;POINT (-39.041573 -3.410298)'))) / (select extract(epoch from '2026-06-19 17:00:46'::timestamp) - extract(epoch from '2026-06-19 17:00: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'), 46591, 'SRID=4674;POINT (-39.041593 -3.410294)', '2026-06-19 17:00:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041573 -3.410298)'), GeomFromEWKT('SRID=4674;POINT (-39.041593 -3.410294)'))) / (select extract(epoch from '2026-06-19 17:00:57'::timestamp) - extract(epoch from '2026-06-19 17:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041573 -3.410298)'), GeomFromEWKT('SRID=4674;POINT (-39.041593 -3.410294)'))) / (select extract(epoch from '2026-06-19 17:00:57'::timestamp) - extract(epoch from '2026-06-19 17:00:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.041618 -3.410288)', '2026-06-19 17:01:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041593 -3.410294)'), GeomFromEWKT('SRID=4674;POINT (-39.041618 -3.410288)'))) / (select extract(epoch from '2026-06-19 17:01:10'::timestamp) - extract(epoch from '2026-06-19 17:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041593 -3.410294)'), GeomFromEWKT('SRID=4674;POINT (-39.041618 -3.410288)'))) / (select extract(epoch from '2026-06-19 17:01:10'::timestamp) - extract(epoch from '2026-06-19 17:00: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'), 46591, 'SRID=4674;POINT (-39.041663 -3.410286)', '2026-06-19 17:01:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041618 -3.410288)'), GeomFromEWKT('SRID=4674;POINT (-39.041663 -3.410286)'))) / (select extract(epoch from '2026-06-19 17:01:27'::timestamp) - extract(epoch from '2026-06-19 17:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041618 -3.410288)'), GeomFromEWKT('SRID=4674;POINT (-39.041663 -3.410286)'))) / (select extract(epoch from '2026-06-19 17:01:27'::timestamp) - extract(epoch from '2026-06-19 17:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.041709 -3.410289)', '2026-06-19 17:01:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041663 -3.410286)'), GeomFromEWKT('SRID=4674;POINT (-39.041709 -3.410289)'))) / (select extract(epoch from '2026-06-19 17:01:44'::timestamp) - extract(epoch from '2026-06-19 17:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041663 -3.410286)'), GeomFromEWKT('SRID=4674;POINT (-39.041709 -3.410289)'))) / (select extract(epoch from '2026-06-19 17:01:44'::timestamp) - extract(epoch from '2026-06-19 17:01:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.041729 -3.410285)', '2026-06-19 17:01:58', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041709 -3.410289)'), GeomFromEWKT('SRID=4674;POINT (-39.041729 -3.410285)'))) / (select extract(epoch from '2026-06-19 17:01:58'::timestamp) - extract(epoch from '2026-06-19 17:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041709 -3.410289)'), GeomFromEWKT('SRID=4674;POINT (-39.041729 -3.410285)'))) / (select extract(epoch from '2026-06-19 17:01:58'::timestamp) - extract(epoch from '2026-06-19 17:01: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'), 46591, 'SRID=4674;POINT (-39.041748 -3.410287)', '2026-06-19 17:02:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041729 -3.410285)'), GeomFromEWKT('SRID=4674;POINT (-39.041748 -3.410287)'))) / (select extract(epoch from '2026-06-19 17:02:07'::timestamp) - extract(epoch from '2026-06-19 17:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041729 -3.410285)'), GeomFromEWKT('SRID=4674;POINT (-39.041748 -3.410287)'))) / (select extract(epoch from '2026-06-19 17:02:07'::timestamp) - extract(epoch from '2026-06-19 17:01: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'), 46591, 'SRID=4674;POINT (-39.041773 -3.410288)', '2026-06-19 17:02:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041748 -3.410287)'), GeomFromEWKT('SRID=4674;POINT (-39.041773 -3.410288)'))) / (select extract(epoch from '2026-06-19 17:02:19'::timestamp) - extract(epoch from '2026-06-19 17:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041748 -3.410287)'), GeomFromEWKT('SRID=4674;POINT (-39.041773 -3.410288)'))) / (select extract(epoch from '2026-06-19 17:02:19'::timestamp) - extract(epoch from '2026-06-19 17:02: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'), 46591, 'SRID=4674;POINT (-39.041793 -3.410284)', '2026-06-19 17:02:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041773 -3.410288)'), GeomFromEWKT('SRID=4674;POINT (-39.041793 -3.410284)'))) / (select extract(epoch from '2026-06-19 17:02:29'::timestamp) - extract(epoch from '2026-06-19 17:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041773 -3.410288)'), GeomFromEWKT('SRID=4674;POINT (-39.041793 -3.410284)'))) / (select extract(epoch from '2026-06-19 17:02:29'::timestamp) - extract(epoch from '2026-06-19 17:02: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'), 46591, 'SRID=4674;POINT (-39.041809 -3.410281)', '2026-06-19 17:02:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041793 -3.410284)'), GeomFromEWKT('SRID=4674;POINT (-39.041809 -3.410281)'))) / (select extract(epoch from '2026-06-19 17:02:37'::timestamp) - extract(epoch from '2026-06-19 17:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041793 -3.410284)'), GeomFromEWKT('SRID=4674;POINT (-39.041809 -3.410281)'))) / (select extract(epoch from '2026-06-19 17:02:37'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.041833 -3.41028)', '2026-06-19 17:02:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041809 -3.410281)'), GeomFromEWKT('SRID=4674;POINT (-39.041833 -3.41028)'))) / (select extract(epoch from '2026-06-19 17:02:47'::timestamp) - extract(epoch from '2026-06-19 17:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041809 -3.410281)'), GeomFromEWKT('SRID=4674;POINT (-39.041833 -3.41028)'))) / (select extract(epoch from '2026-06-19 17:02:47'::timestamp) - extract(epoch from '2026-06-19 17:02: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'), 46591, 'SRID=4674;POINT (-39.04186 -3.410281)', '2026-06-19 17:02:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041833 -3.41028)'), GeomFromEWKT('SRID=4674;POINT (-39.04186 -3.410281)'))) / (select extract(epoch from '2026-06-19 17:02:56'::timestamp) - extract(epoch from '2026-06-19 17:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041833 -3.41028)'), GeomFromEWKT('SRID=4674;POINT (-39.04186 -3.410281)'))) / (select extract(epoch from '2026-06-19 17:02:56'::timestamp) - extract(epoch from '2026-06-19 17:02: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'), 46591, 'SRID=4674;POINT (-39.041893 -3.410271)', '2026-06-19 17:03:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04186 -3.410281)'), GeomFromEWKT('SRID=4674;POINT (-39.041893 -3.410271)'))) / (select extract(epoch from '2026-06-19 17:03:11'::timestamp) - extract(epoch from '2026-06-19 17:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04186 -3.410281)'), GeomFromEWKT('SRID=4674;POINT (-39.041893 -3.410271)'))) / (select extract(epoch from '2026-06-19 17:03:11'::timestamp) - extract(epoch from '2026-06-19 17:02: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'), 46591, 'SRID=4674;POINT (-39.041868 -3.410235)', '2026-06-19 17:03:19', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041893 -3.410271)'), GeomFromEWKT('SRID=4674;POINT (-39.041868 -3.410235)'))) / (select extract(epoch from '2026-06-19 17:03:19'::timestamp) - extract(epoch from '2026-06-19 17:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041893 -3.410271)'), GeomFromEWKT('SRID=4674;POINT (-39.041868 -3.410235)'))) / (select extract(epoch from '2026-06-19 17:03:19'::timestamp) - extract(epoch from '2026-06-19 17:03: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'), 46591, 'SRID=4674;POINT (-39.041828 -3.410197)', '2026-06-19 17:03:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041868 -3.410235)'), GeomFromEWKT('SRID=4674;POINT (-39.041828 -3.410197)'))) / (select extract(epoch from '2026-06-19 17:03:27'::timestamp) - extract(epoch from '2026-06-19 17:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041868 -3.410235)'), GeomFromEWKT('SRID=4674;POINT (-39.041828 -3.410197)'))) / (select extract(epoch from '2026-06-19 17:03:27'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.041783 -3.410167)', '2026-06-19 17:03:34', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041828 -3.410197)'), GeomFromEWKT('SRID=4674;POINT (-39.041783 -3.410167)'))) / (select extract(epoch from '2026-06-19 17:03:34'::timestamp) - extract(epoch from '2026-06-19 17:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041828 -3.410197)'), GeomFromEWKT('SRID=4674;POINT (-39.041783 -3.410167)'))) / (select extract(epoch from '2026-06-19 17:03:34'::timestamp) - extract(epoch from '2026-06-19 17:03: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'), 46591, 'SRID=4674;POINT (-39.041706 -3.41012)', '2026-06-19 17:03:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041783 -3.410167)'), GeomFromEWKT('SRID=4674;POINT (-39.041706 -3.41012)'))) / (select extract(epoch from '2026-06-19 17:03:45'::timestamp) - extract(epoch from '2026-06-19 17:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041783 -3.410167)'), GeomFromEWKT('SRID=4674;POINT (-39.041706 -3.41012)'))) / (select extract(epoch from '2026-06-19 17:03:45'::timestamp) - extract(epoch from '2026-06-19 17:03: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'), 46591, 'SRID=4674;POINT (-39.041697 -3.410116)', '2026-06-19 17:03:46', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041706 -3.41012)'), GeomFromEWKT('SRID=4674;POINT (-39.041697 -3.410116)'))) / (select extract(epoch from '2026-06-19 17:03:46'::timestamp) - extract(epoch from '2026-06-19 17:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041706 -3.41012)'), GeomFromEWKT('SRID=4674;POINT (-39.041697 -3.410116)'))) / (select extract(epoch from '2026-06-19 17:03:46'::timestamp) - extract(epoch from '2026-06-19 17:03: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'), 46591, 'SRID=4674;POINT (-39.04166 -3.4101)', '2026-06-19 17:03:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041697 -3.410116)'), GeomFromEWKT('SRID=4674;POINT (-39.04166 -3.4101)'))) / (select extract(epoch from '2026-06-19 17:03:51'::timestamp) - extract(epoch from '2026-06-19 17:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041697 -3.410116)'), GeomFromEWKT('SRID=4674;POINT (-39.04166 -3.4101)'))) / (select extract(epoch from '2026-06-19 17:03:51'::timestamp) - extract(epoch from '2026-06-19 17:03: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'), 46591, 'SRID=4674;POINT (-39.04161 -3.410063)', '2026-06-19 17:04:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04166 -3.4101)'), GeomFromEWKT('SRID=4674;POINT (-39.04161 -3.410063)'))) / (select extract(epoch from '2026-06-19 17:04:00'::timestamp) - extract(epoch from '2026-06-19 17:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04166 -3.4101)'), GeomFromEWKT('SRID=4674;POINT (-39.04161 -3.410063)'))) / (select extract(epoch from '2026-06-19 17:04:00'::timestamp) - extract(epoch from '2026-06-19 17:03: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'), 46591, 'SRID=4674;POINT (-39.04157 -3.410038)', '2026-06-19 17:04:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04161 -3.410063)'), GeomFromEWKT('SRID=4674;POINT (-39.04157 -3.410038)'))) / (select extract(epoch from '2026-06-19 17:04:07'::timestamp) - extract(epoch from '2026-06-19 17:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04161 -3.410063)'), GeomFromEWKT('SRID=4674;POINT (-39.04157 -3.410038)'))) / (select extract(epoch from '2026-06-19 17:04:07'::timestamp) - extract(epoch from '2026-06-19 17:04: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'), 46591, 'SRID=4674;POINT (-39.041528 -3.410004)', '2026-06-19 17:04:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04157 -3.410038)'), GeomFromEWKT('SRID=4674;POINT (-39.041528 -3.410004)'))) / (select extract(epoch from '2026-06-19 17:04:15'::timestamp) - extract(epoch from '2026-06-19 17:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04157 -3.410038)'), GeomFromEWKT('SRID=4674;POINT (-39.041528 -3.410004)'))) / (select extract(epoch from '2026-06-19 17:04:15'::timestamp) - extract(epoch from '2026-06-19 17:04: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'), 46591, 'SRID=4674;POINT (-39.041483 -3.409976)', '2026-06-19 17:04:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041528 -3.410004)'), GeomFromEWKT('SRID=4674;POINT (-39.041483 -3.409976)'))) / (select extract(epoch from '2026-06-19 17:04:23'::timestamp) - extract(epoch from '2026-06-19 17:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041528 -3.410004)'), GeomFromEWKT('SRID=4674;POINT (-39.041483 -3.409976)'))) / (select extract(epoch from '2026-06-19 17:04:23'::timestamp) - extract(epoch from '2026-06-19 17:04: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'), 46591, 'SRID=4674;POINT (-39.041421 -3.409942)', '2026-06-19 17:04:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041483 -3.409976)'), GeomFromEWKT('SRID=4674;POINT (-39.041421 -3.409942)'))) / (select extract(epoch from '2026-06-19 17:04:33'::timestamp) - extract(epoch from '2026-06-19 17:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041483 -3.409976)'), GeomFromEWKT('SRID=4674;POINT (-39.041421 -3.409942)'))) / (select extract(epoch from '2026-06-19 17:04:33'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.041354 -3.409911)', '2026-06-19 17:04:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041421 -3.409942)'), GeomFromEWKT('SRID=4674;POINT (-39.041354 -3.409911)'))) / (select extract(epoch from '2026-06-19 17:04:43'::timestamp) - extract(epoch from '2026-06-19 17:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041421 -3.409942)'), GeomFromEWKT('SRID=4674;POINT (-39.041354 -3.409911)'))) / (select extract(epoch from '2026-06-19 17:04:43'::timestamp) - extract(epoch from '2026-06-19 17:04: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'), 46591, 'SRID=4674;POINT (-39.041303 -3.409876)', '2026-06-19 17:04:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041354 -3.409911)'), GeomFromEWKT('SRID=4674;POINT (-39.041303 -3.409876)'))) / (select extract(epoch from '2026-06-19 17:04:52'::timestamp) - extract(epoch from '2026-06-19 17:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041354 -3.409911)'), GeomFromEWKT('SRID=4674;POINT (-39.041303 -3.409876)'))) / (select extract(epoch from '2026-06-19 17:04:52'::timestamp) - extract(epoch from '2026-06-19 17:04: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'), 46591, 'SRID=4674;POINT (-39.041272 -3.409854)', '2026-06-19 17:05:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041303 -3.409876)'), GeomFromEWKT('SRID=4674;POINT (-39.041272 -3.409854)'))) / (select extract(epoch from '2026-06-19 17:05:02'::timestamp) - extract(epoch from '2026-06-19 17:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041303 -3.409876)'), GeomFromEWKT('SRID=4674;POINT (-39.041272 -3.409854)'))) / (select extract(epoch from '2026-06-19 17:05:02'::timestamp) - extract(epoch from '2026-06-19 17:04: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'), 46591, 'SRID=4674;POINT (-39.041264 -3.409859)', '2026-06-19 17:05:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041272 -3.409854)'), GeomFromEWKT('SRID=4674;POINT (-39.041264 -3.409859)'))) / (select extract(epoch from '2026-06-19 17:05:19'::timestamp) - extract(epoch from '2026-06-19 17:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041272 -3.409854)'), GeomFromEWKT('SRID=4674;POINT (-39.041264 -3.409859)'))) / (select extract(epoch from '2026-06-19 17:05:19'::timestamp) - extract(epoch from '2026-06-19 17:05: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'), 46591, 'SRID=4674;POINT (-39.041296 -3.409878)', '2026-06-19 17:05:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041264 -3.409859)'), GeomFromEWKT('SRID=4674;POINT (-39.041296 -3.409878)'))) / (select extract(epoch from '2026-06-19 17:05:35'::timestamp) - extract(epoch from '2026-06-19 17:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041264 -3.409859)'), GeomFromEWKT('SRID=4674;POINT (-39.041296 -3.409878)'))) / (select extract(epoch from '2026-06-19 17:05:35'::timestamp) - extract(epoch from '2026-06-19 17:05: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'), 46591, 'SRID=4674;POINT (-39.041337 -3.409893)', '2026-06-19 17:05:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041296 -3.409878)'), GeomFromEWKT('SRID=4674;POINT (-39.041337 -3.409893)'))) / (select extract(epoch from '2026-06-19 17:05:51'::timestamp) - extract(epoch from '2026-06-19 17:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041296 -3.409878)'), GeomFromEWKT('SRID=4674;POINT (-39.041337 -3.409893)'))) / (select extract(epoch from '2026-06-19 17:05:51'::timestamp) - extract(epoch from '2026-06-19 17:05: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'), 46591, 'SRID=4674;POINT (-39.041376 -3.409902)', '2026-06-19 17:06:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041337 -3.409893)'), GeomFromEWKT('SRID=4674;POINT (-39.041376 -3.409902)'))) / (select extract(epoch from '2026-06-19 17:06:06'::timestamp) - extract(epoch from '2026-06-19 17:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041337 -3.409893)'), GeomFromEWKT('SRID=4674;POINT (-39.041376 -3.409902)'))) / (select extract(epoch from '2026-06-19 17:06:06'::timestamp) - extract(epoch from '2026-06-19 17:05: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'), 46591, 'SRID=4674;POINT (-39.041438 -3.409914)', '2026-06-19 17:06:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041376 -3.409902)'), GeomFromEWKT('SRID=4674;POINT (-39.041438 -3.409914)'))) / (select extract(epoch from '2026-06-19 17:06:26'::timestamp) - extract(epoch from '2026-06-19 17:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041376 -3.409902)'), GeomFromEWKT('SRID=4674;POINT (-39.041438 -3.409914)'))) / (select extract(epoch from '2026-06-19 17:06:26'::timestamp) - extract(epoch from '2026-06-19 17:06: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'), 46591, 'SRID=4674;POINT (-39.041514 -3.409928)', '2026-06-19 17:06:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041438 -3.409914)'), GeomFromEWKT('SRID=4674;POINT (-39.041514 -3.409928)'))) / (select extract(epoch from '2026-06-19 17:06:46'::timestamp) - extract(epoch from '2026-06-19 17:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041438 -3.409914)'), GeomFromEWKT('SRID=4674;POINT (-39.041514 -3.409928)'))) / (select extract(epoch from '2026-06-19 17:06:46'::timestamp) - extract(epoch from '2026-06-19 17:06: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'), 46591, 'SRID=4674;POINT (-39.041563 -3.409933)', '2026-06-19 17:07:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041514 -3.409928)'), GeomFromEWKT('SRID=4674;POINT (-39.041563 -3.409933)'))) / (select extract(epoch from '2026-06-19 17:07:02'::timestamp) - extract(epoch from '2026-06-19 17:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041514 -3.409928)'), GeomFromEWKT('SRID=4674;POINT (-39.041563 -3.409933)'))) / (select extract(epoch from '2026-06-19 17:07:02'::timestamp) - extract(epoch from '2026-06-19 17:06: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'), 46591, 'SRID=4674;POINT (-39.041596 -3.409938)', '2026-06-19 17:07:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041563 -3.409933)'), GeomFromEWKT('SRID=4674;POINT (-39.041596 -3.409938)'))) / (select extract(epoch from '2026-06-19 17:07:17'::timestamp) - extract(epoch from '2026-06-19 17:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041563 -3.409933)'), GeomFromEWKT('SRID=4674;POINT (-39.041596 -3.409938)'))) / (select extract(epoch from '2026-06-19 17:07:17'::timestamp) - extract(epoch from '2026-06-19 17:07: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'), 46591, 'SRID=4674;POINT (-39.041638 -3.409946)', '2026-06-19 17:07:37', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041596 -3.409938)'), GeomFromEWKT('SRID=4674;POINT (-39.041638 -3.409946)'))) / (select extract(epoch from '2026-06-19 17:07:37'::timestamp) - extract(epoch from '2026-06-19 17:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041596 -3.409938)'), GeomFromEWKT('SRID=4674;POINT (-39.041638 -3.409946)'))) / (select extract(epoch from '2026-06-19 17:07:37'::timestamp) - extract(epoch from '2026-06-19 17:07:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.041685 -3.409945)', '2026-06-19 17:07:57', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041638 -3.409946)'), GeomFromEWKT('SRID=4674;POINT (-39.041685 -3.409945)'))) / (select extract(epoch from '2026-06-19 17:07:57'::timestamp) - extract(epoch from '2026-06-19 17:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041638 -3.409946)'), GeomFromEWKT('SRID=4674;POINT (-39.041685 -3.409945)'))) / (select extract(epoch from '2026-06-19 17:07:57'::timestamp) - extract(epoch from '2026-06-19 17:07: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'), 46591, 'SRID=4674;POINT (-39.041724 -3.409944)', '2026-06-19 17:08:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041685 -3.409945)'), GeomFromEWKT('SRID=4674;POINT (-39.041724 -3.409944)'))) / (select extract(epoch from '2026-06-19 17:08:18'::timestamp) - extract(epoch from '2026-06-19 17:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041685 -3.409945)'), GeomFromEWKT('SRID=4674;POINT (-39.041724 -3.409944)'))) / (select extract(epoch from '2026-06-19 17:08:18'::timestamp) - extract(epoch from '2026-06-19 17:07: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'), 46591, 'SRID=4674;POINT (-39.041765 -3.409952)', '2026-06-19 17:08:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041724 -3.409944)'), GeomFromEWKT('SRID=4674;POINT (-39.041765 -3.409952)'))) / (select extract(epoch from '2026-06-19 17:08:35'::timestamp) - extract(epoch from '2026-06-19 17:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041724 -3.409944)'), GeomFromEWKT('SRID=4674;POINT (-39.041765 -3.409952)'))) / (select extract(epoch from '2026-06-19 17:08:35'::timestamp) - extract(epoch from '2026-06-19 17:08: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'), 46591, 'SRID=4674;POINT (-39.041794 -3.409946)', '2026-06-19 17:08:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041765 -3.409952)'), GeomFromEWKT('SRID=4674;POINT (-39.041794 -3.409946)'))) / (select extract(epoch from '2026-06-19 17:08:48'::timestamp) - extract(epoch from '2026-06-19 17:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041765 -3.409952)'), GeomFromEWKT('SRID=4674;POINT (-39.041794 -3.409946)'))) / (select extract(epoch from '2026-06-19 17:08:48'::timestamp) - extract(epoch from '2026-06-19 17:08:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.041822 -3.409945)', '2026-06-19 17:09:01', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041794 -3.409946)'), GeomFromEWKT('SRID=4674;POINT (-39.041822 -3.409945)'))) / (select extract(epoch from '2026-06-19 17:09:01'::timestamp) - extract(epoch from '2026-06-19 17:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041794 -3.409946)'), GeomFromEWKT('SRID=4674;POINT (-39.041822 -3.409945)'))) / (select extract(epoch from '2026-06-19 17:09:01'::timestamp) - extract(epoch from '2026-06-19 17:08: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'), 46591, 'SRID=4674;POINT (-39.041874 -3.40994)', '2026-06-19 17:09:21', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041822 -3.409945)'), GeomFromEWKT('SRID=4674;POINT (-39.041874 -3.40994)'))) / (select extract(epoch from '2026-06-19 17:09:21'::timestamp) - extract(epoch from '2026-06-19 17:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041822 -3.409945)'), GeomFromEWKT('SRID=4674;POINT (-39.041874 -3.40994)'))) / (select extract(epoch from '2026-06-19 17:09:21'::timestamp) - extract(epoch from '2026-06-19 17:09: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'), 46591, 'SRID=4674;POINT (-39.041916 -3.40993)', '2026-06-19 17:09:35', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041874 -3.40994)'), GeomFromEWKT('SRID=4674;POINT (-39.041916 -3.40993)'))) / (select extract(epoch from '2026-06-19 17:09:35'::timestamp) - extract(epoch from '2026-06-19 17:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041874 -3.40994)'), GeomFromEWKT('SRID=4674;POINT (-39.041916 -3.40993)'))) / (select extract(epoch from '2026-06-19 17:09:35'::timestamp) - extract(epoch from '2026-06-19 17:09:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.041968 -3.409931)', '2026-06-19 17:09:55', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041916 -3.40993)'), GeomFromEWKT('SRID=4674;POINT (-39.041968 -3.409931)'))) / (select extract(epoch from '2026-06-19 17:09:55'::timestamp) - extract(epoch from '2026-06-19 17:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041916 -3.40993)'), GeomFromEWKT('SRID=4674;POINT (-39.041968 -3.409931)'))) / (select extract(epoch from '2026-06-19 17:09:55'::timestamp) - extract(epoch from '2026-06-19 17:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.042017 -3.409939)', '2026-06-19 17:10:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041968 -3.409931)'), GeomFromEWKT('SRID=4674;POINT (-39.042017 -3.409939)'))) / (select extract(epoch from '2026-06-19 17:10:15'::timestamp) - extract(epoch from '2026-06-19 17:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041968 -3.409931)'), GeomFromEWKT('SRID=4674;POINT (-39.042017 -3.409939)'))) / (select extract(epoch from '2026-06-19 17:10:15'::timestamp) - extract(epoch from '2026-06-19 17:09: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'), 46591, 'SRID=4674;POINT (-39.042057 -3.409941)', '2026-06-19 17:10:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042017 -3.409939)'), GeomFromEWKT('SRID=4674;POINT (-39.042057 -3.409941)'))) / (select extract(epoch from '2026-06-19 17:10:33'::timestamp) - extract(epoch from '2026-06-19 17:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042017 -3.409939)'), GeomFromEWKT('SRID=4674;POINT (-39.042057 -3.409941)'))) / (select extract(epoch from '2026-06-19 17:10:33'::timestamp) - extract(epoch from '2026-06-19 17:10: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'), 46591, 'SRID=4674;POINT (-39.042103 -3.409955)', '2026-06-19 17:10:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042057 -3.409941)'), GeomFromEWKT('SRID=4674;POINT (-39.042103 -3.409955)'))) / (select extract(epoch from '2026-06-19 17:10:52'::timestamp) - extract(epoch from '2026-06-19 17:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042057 -3.409941)'), GeomFromEWKT('SRID=4674;POINT (-39.042103 -3.409955)'))) / (select extract(epoch from '2026-06-19 17:10:52'::timestamp) - extract(epoch from '2026-06-19 17:10: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'), 46591, 'SRID=4674;POINT (-39.042139 -3.409948)', '2026-06-19 17:11:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042103 -3.409955)'), GeomFromEWKT('SRID=4674;POINT (-39.042139 -3.409948)'))) / (select extract(epoch from '2026-06-19 17:11:07'::timestamp) - extract(epoch from '2026-06-19 17:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042103 -3.409955)'), GeomFromEWKT('SRID=4674;POINT (-39.042139 -3.409948)'))) / (select extract(epoch from '2026-06-19 17:11:07'::timestamp) - extract(epoch from '2026-06-19 17:10: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'), 46591, 'SRID=4674;POINT (-39.042174 -3.409952)', '2026-06-19 17:11:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042139 -3.409948)'), GeomFromEWKT('SRID=4674;POINT (-39.042174 -3.409952)'))) / (select extract(epoch from '2026-06-19 17:11:21'::timestamp) - extract(epoch from '2026-06-19 17:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042139 -3.409948)'), GeomFromEWKT('SRID=4674;POINT (-39.042174 -3.409952)'))) / (select extract(epoch from '2026-06-19 17:11:21'::timestamp) - extract(epoch from '2026-06-19 17:11: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'), 46591, 'SRID=4674;POINT (-39.04219 -3.409956)', '2026-06-19 17:11:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042174 -3.409952)'), GeomFromEWKT('SRID=4674;POINT (-39.04219 -3.409956)'))) / (select extract(epoch from '2026-06-19 17:11:32'::timestamp) - extract(epoch from '2026-06-19 17:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042174 -3.409952)'), GeomFromEWKT('SRID=4674;POINT (-39.04219 -3.409956)'))) / (select extract(epoch from '2026-06-19 17:11:32'::timestamp) - extract(epoch from '2026-06-19 17:11: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'), 46591, 'SRID=4674;POINT (-39.042208 -3.409957)', '2026-06-19 17:11:42', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04219 -3.409956)'), GeomFromEWKT('SRID=4674;POINT (-39.042208 -3.409957)'))) / (select extract(epoch from '2026-06-19 17:11:42'::timestamp) - extract(epoch from '2026-06-19 17:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04219 -3.409956)'), GeomFromEWKT('SRID=4674;POINT (-39.042208 -3.409957)'))) / (select extract(epoch from '2026-06-19 17:11:42'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.042233 -3.409953)', '2026-06-19 17:11:53', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042208 -3.409957)'), GeomFromEWKT('SRID=4674;POINT (-39.042233 -3.409953)'))) / (select extract(epoch from '2026-06-19 17:11:53'::timestamp) - extract(epoch from '2026-06-19 17:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042208 -3.409957)'), GeomFromEWKT('SRID=4674;POINT (-39.042233 -3.409953)'))) / (select extract(epoch from '2026-06-19 17:11:53'::timestamp) - extract(epoch from '2026-06-19 17:11: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'), 46591, 'SRID=4674;POINT (-39.042287 -3.409947)', '2026-06-19 17:12:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042233 -3.409953)'), GeomFromEWKT('SRID=4674;POINT (-39.042287 -3.409947)'))) / (select extract(epoch from '2026-06-19 17:12:14'::timestamp) - extract(epoch from '2026-06-19 17:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042233 -3.409953)'), GeomFromEWKT('SRID=4674;POINT (-39.042287 -3.409947)'))) / (select extract(epoch from '2026-06-19 17:12:14'::timestamp) - extract(epoch from '2026-06-19 17:11: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'), 46591, 'SRID=4674;POINT (-39.042353 -3.409933)', '2026-06-19 17:12:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042287 -3.409947)'), GeomFromEWKT('SRID=4674;POINT (-39.042353 -3.409933)'))) / (select extract(epoch from '2026-06-19 17:12:41'::timestamp) - extract(epoch from '2026-06-19 17:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042287 -3.409947)'), GeomFromEWKT('SRID=4674;POINT (-39.042353 -3.409933)'))) / (select extract(epoch from '2026-06-19 17:12:41'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.042383 -3.40994)', '2026-06-19 17:12:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042353 -3.409933)'), GeomFromEWKT('SRID=4674;POINT (-39.042383 -3.40994)'))) / (select extract(epoch from '2026-06-19 17:12:57'::timestamp) - extract(epoch from '2026-06-19 17:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042353 -3.409933)'), GeomFromEWKT('SRID=4674;POINT (-39.042383 -3.40994)'))) / (select extract(epoch from '2026-06-19 17:12:57'::timestamp) - extract(epoch from '2026-06-19 17:12: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'), 46591, 'SRID=4674;POINT (-39.042431 -3.409934)', '2026-06-19 17:13:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042383 -3.40994)'), GeomFromEWKT('SRID=4674;POINT (-39.042431 -3.409934)'))) / (select extract(epoch from '2026-06-19 17:13:18'::timestamp) - extract(epoch from '2026-06-19 17:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042383 -3.40994)'), GeomFromEWKT('SRID=4674;POINT (-39.042431 -3.409934)'))) / (select extract(epoch from '2026-06-19 17:13:18'::timestamp) - extract(epoch from '2026-06-19 17:12: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'), 46591, 'SRID=4674;POINT (-39.042477 -3.409943)', '2026-06-19 17:13:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042431 -3.409934)'), GeomFromEWKT('SRID=4674;POINT (-39.042477 -3.409943)'))) / (select extract(epoch from '2026-06-19 17:13:41'::timestamp) - extract(epoch from '2026-06-19 17:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042431 -3.409934)'), GeomFromEWKT('SRID=4674;POINT (-39.042477 -3.409943)'))) / (select extract(epoch from '2026-06-19 17:13:41'::timestamp) - extract(epoch from '2026-06-19 17:13: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'), 46591, 'SRID=4674;POINT (-39.042507 -3.409948)', '2026-06-19 17:13:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042477 -3.409943)'), GeomFromEWKT('SRID=4674;POINT (-39.042507 -3.409948)'))) / (select extract(epoch from '2026-06-19 17:13:53'::timestamp) - extract(epoch from '2026-06-19 17:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042477 -3.409943)'), GeomFromEWKT('SRID=4674;POINT (-39.042507 -3.409948)'))) / (select extract(epoch from '2026-06-19 17:13:53'::timestamp) - extract(epoch from '2026-06-19 17:13: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'), 46591, 'SRID=4674;POINT (-39.042533 -3.409945)', '2026-06-19 17:14:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042507 -3.409948)'), GeomFromEWKT('SRID=4674;POINT (-39.042533 -3.409945)'))) / (select extract(epoch from '2026-06-19 17:14:04'::timestamp) - extract(epoch from '2026-06-19 17:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042507 -3.409948)'), GeomFromEWKT('SRID=4674;POINT (-39.042533 -3.409945)'))) / (select extract(epoch from '2026-06-19 17:14:04'::timestamp) - extract(epoch from '2026-06-19 17:13: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'), 46591, 'SRID=4674;POINT (-39.042557 -3.409937)', '2026-06-19 17:14:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042533 -3.409945)'), GeomFromEWKT('SRID=4674;POINT (-39.042557 -3.409937)'))) / (select extract(epoch from '2026-06-19 17:14:13'::timestamp) - extract(epoch from '2026-06-19 17:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042533 -3.409945)'), GeomFromEWKT('SRID=4674;POINT (-39.042557 -3.409937)'))) / (select extract(epoch from '2026-06-19 17:14:13'::timestamp) - extract(epoch from '2026-06-19 17:14: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'), 46591, 'SRID=4674;POINT (-39.042583 -3.409931)', '2026-06-19 17:14:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042557 -3.409937)'), GeomFromEWKT('SRID=4674;POINT (-39.042583 -3.409931)'))) / (select extract(epoch from '2026-06-19 17:14:23'::timestamp) - extract(epoch from '2026-06-19 17:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042557 -3.409937)'), GeomFromEWKT('SRID=4674;POINT (-39.042583 -3.409931)'))) / (select extract(epoch from '2026-06-19 17:14:23'::timestamp) - extract(epoch from '2026-06-19 17:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.042608 -3.40993)', '2026-06-19 17:14:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042583 -3.409931)'), GeomFromEWKT('SRID=4674;POINT (-39.042608 -3.40993)'))) / (select extract(epoch from '2026-06-19 17:14:34'::timestamp) - extract(epoch from '2026-06-19 17:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042583 -3.409931)'), GeomFromEWKT('SRID=4674;POINT (-39.042608 -3.40993)'))) / (select extract(epoch from '2026-06-19 17:14:34'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.042653 -3.409944)', '2026-06-19 17:14:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042608 -3.40993)'), GeomFromEWKT('SRID=4674;POINT (-39.042653 -3.409944)'))) / (select extract(epoch from '2026-06-19 17:14:54'::timestamp) - extract(epoch from '2026-06-19 17:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042608 -3.40993)'), GeomFromEWKT('SRID=4674;POINT (-39.042653 -3.409944)'))) / (select extract(epoch from '2026-06-19 17:14:54'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.042709 -3.40994)', '2026-06-19 17:15:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042653 -3.409944)'), GeomFromEWKT('SRID=4674;POINT (-39.042709 -3.40994)'))) / (select extract(epoch from '2026-06-19 17:15:18'::timestamp) - extract(epoch from '2026-06-19 17:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042653 -3.409944)'), GeomFromEWKT('SRID=4674;POINT (-39.042709 -3.40994)'))) / (select extract(epoch from '2026-06-19 17:15:18'::timestamp) - extract(epoch from '2026-06-19 17:14: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'), 46591, 'SRID=4674;POINT (-39.04274 -3.409936)', '2026-06-19 17:15:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042709 -3.40994)'), GeomFromEWKT('SRID=4674;POINT (-39.04274 -3.409936)'))) / (select extract(epoch from '2026-06-19 17:15:34'::timestamp) - extract(epoch from '2026-06-19 17:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042709 -3.40994)'), GeomFromEWKT('SRID=4674;POINT (-39.04274 -3.409936)'))) / (select extract(epoch from '2026-06-19 17:15:34'::timestamp) - extract(epoch from '2026-06-19 17:15: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'), 46591, 'SRID=4674;POINT (-39.042762 -3.409938)', '2026-06-19 17:15:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04274 -3.409936)'), GeomFromEWKT('SRID=4674;POINT (-39.042762 -3.409938)'))) / (select extract(epoch from '2026-06-19 17:15:45'::timestamp) - extract(epoch from '2026-06-19 17:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04274 -3.409936)'), GeomFromEWKT('SRID=4674;POINT (-39.042762 -3.409938)'))) / (select extract(epoch from '2026-06-19 17:15:45'::timestamp) - extract(epoch from '2026-06-19 17:15: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'), 46591, 'SRID=4674;POINT (-39.042789 -3.40994)', '2026-06-19 17:16:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042762 -3.409938)'), GeomFromEWKT('SRID=4674;POINT (-39.042789 -3.40994)'))) / (select extract(epoch from '2026-06-19 17:16:01'::timestamp) - extract(epoch from '2026-06-19 17:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042762 -3.409938)'), GeomFromEWKT('SRID=4674;POINT (-39.042789 -3.40994)'))) / (select extract(epoch from '2026-06-19 17:16:01'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.042828 -3.409946)', '2026-06-19 17:16:17', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042789 -3.40994)'), GeomFromEWKT('SRID=4674;POINT (-39.042828 -3.409946)'))) / (select extract(epoch from '2026-06-19 17:16:17'::timestamp) - extract(epoch from '2026-06-19 17:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042789 -3.40994)'), GeomFromEWKT('SRID=4674;POINT (-39.042828 -3.409946)'))) / (select extract(epoch from '2026-06-19 17:16:17'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.04288 -3.409925)', '2026-06-19 17:16:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042828 -3.409946)'), GeomFromEWKT('SRID=4674;POINT (-39.04288 -3.409925)'))) / (select extract(epoch from '2026-06-19 17:16:43'::timestamp) - extract(epoch from '2026-06-19 17:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042828 -3.409946)'), GeomFromEWKT('SRID=4674;POINT (-39.04288 -3.409925)'))) / (select extract(epoch from '2026-06-19 17:16:43'::timestamp) - extract(epoch from '2026-06-19 17:16: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'), 46591, 'SRID=4674;POINT (-39.042927 -3.409923)', '2026-06-19 17:17:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04288 -3.409925)'), GeomFromEWKT('SRID=4674;POINT (-39.042927 -3.409923)'))) / (select extract(epoch from '2026-06-19 17:17:04'::timestamp) - extract(epoch from '2026-06-19 17:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04288 -3.409925)'), GeomFromEWKT('SRID=4674;POINT (-39.042927 -3.409923)'))) / (select extract(epoch from '2026-06-19 17:17:04'::timestamp) - extract(epoch from '2026-06-19 17:16: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'), 46591, 'SRID=4674;POINT (-39.042955 -3.409945)', '2026-06-19 17:17:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042927 -3.409923)'), GeomFromEWKT('SRID=4674;POINT (-39.042955 -3.409945)'))) / (select extract(epoch from '2026-06-19 17:17:24'::timestamp) - extract(epoch from '2026-06-19 17:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042927 -3.409923)'), GeomFromEWKT('SRID=4674;POINT (-39.042955 -3.409945)'))) / (select extract(epoch from '2026-06-19 17:17:24'::timestamp) - extract(epoch from '2026-06-19 17:17: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'), 46591, 'SRID=4674;POINT (-39.042966 -3.409951)', '2026-06-19 17:17:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042955 -3.409945)'), GeomFromEWKT('SRID=4674;POINT (-39.042966 -3.409951)'))) / (select extract(epoch from '2026-06-19 17:17:34'::timestamp) - extract(epoch from '2026-06-19 17:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042955 -3.409945)'), GeomFromEWKT('SRID=4674;POINT (-39.042966 -3.409951)'))) / (select extract(epoch from '2026-06-19 17:17:34'::timestamp) - extract(epoch from '2026-06-19 17:17: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'), 46591, 'SRID=4674;POINT (-39.042981 -3.40995)', '2026-06-19 17:17:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042966 -3.409951)'), GeomFromEWKT('SRID=4674;POINT (-39.042981 -3.40995)'))) / (select extract(epoch from '2026-06-19 17:17:43'::timestamp) - extract(epoch from '2026-06-19 17:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042966 -3.409951)'), GeomFromEWKT('SRID=4674;POINT (-39.042981 -3.40995)'))) / (select extract(epoch from '2026-06-19 17:17:43'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.042998 -3.409951)', '2026-06-19 17:17:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042981 -3.40995)'), GeomFromEWKT('SRID=4674;POINT (-39.042998 -3.409951)'))) / (select extract(epoch from '2026-06-19 17:17:51'::timestamp) - extract(epoch from '2026-06-19 17:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042981 -3.40995)'), GeomFromEWKT('SRID=4674;POINT (-39.042998 -3.409951)'))) / (select extract(epoch from '2026-06-19 17:17:51'::timestamp) - extract(epoch from '2026-06-19 17:17: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'), 46591, 'SRID=4674;POINT (-39.043018 -3.409947)', '2026-06-19 17:18:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042998 -3.409951)'), GeomFromEWKT('SRID=4674;POINT (-39.043018 -3.409947)'))) / (select extract(epoch from '2026-06-19 17:18:02'::timestamp) - extract(epoch from '2026-06-19 17:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042998 -3.409951)'), GeomFromEWKT('SRID=4674;POINT (-39.043018 -3.409947)'))) / (select extract(epoch from '2026-06-19 17:18:02'::timestamp) - extract(epoch from '2026-06-19 17:17: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'), 46591, 'SRID=4674;POINT (-39.043028 -3.409946)', '2026-06-19 17:18:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043018 -3.409947)'), GeomFromEWKT('SRID=4674;POINT (-39.043028 -3.409946)'))) / (select extract(epoch from '2026-06-19 17:18:11'::timestamp) - extract(epoch from '2026-06-19 17:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043018 -3.409947)'), GeomFromEWKT('SRID=4674;POINT (-39.043028 -3.409946)'))) / (select extract(epoch from '2026-06-19 17:18:11'::timestamp) - extract(epoch from '2026-06-19 17:18: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'), 46591, 'SRID=4674;POINT (-39.043047 -3.40995)', '2026-06-19 17:18:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043028 -3.409946)'), GeomFromEWKT('SRID=4674;POINT (-39.043047 -3.40995)'))) / (select extract(epoch from '2026-06-19 17:18:24'::timestamp) - extract(epoch from '2026-06-19 17:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043028 -3.409946)'), GeomFromEWKT('SRID=4674;POINT (-39.043047 -3.40995)'))) / (select extract(epoch from '2026-06-19 17:18:24'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.043053 -3.40995)', '2026-06-19 17:18:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043047 -3.40995)'), GeomFromEWKT('SRID=4674;POINT (-39.043053 -3.40995)'))) / (select extract(epoch from '2026-06-19 17:18:33'::timestamp) - extract(epoch from '2026-06-19 17:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043047 -3.40995)'), GeomFromEWKT('SRID=4674;POINT (-39.043053 -3.40995)'))) / (select extract(epoch from '2026-06-19 17:18:33'::timestamp) - extract(epoch from '2026-06-19 17:18: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'), 46591, 'SRID=4674;POINT (-39.043065 -3.409949)', '2026-06-19 17:18:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043053 -3.40995)'), GeomFromEWKT('SRID=4674;POINT (-39.043065 -3.409949)'))) / (select extract(epoch from '2026-06-19 17:18:41'::timestamp) - extract(epoch from '2026-06-19 17:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043053 -3.40995)'), GeomFromEWKT('SRID=4674;POINT (-39.043065 -3.409949)'))) / (select extract(epoch from '2026-06-19 17:18:41'::timestamp) - extract(epoch from '2026-06-19 17:18: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'), 46591, 'SRID=4674;POINT (-39.043086 -3.409949)', '2026-06-19 17:18:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043065 -3.409949)'), GeomFromEWKT('SRID=4674;POINT (-39.043086 -3.409949)'))) / (select extract(epoch from '2026-06-19 17:18:51'::timestamp) - extract(epoch from '2026-06-19 17:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043065 -3.409949)'), GeomFromEWKT('SRID=4674;POINT (-39.043086 -3.409949)'))) / (select extract(epoch from '2026-06-19 17:18:51'::timestamp) - extract(epoch from '2026-06-19 17:18: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'), 46591, 'SRID=4674;POINT (-39.043099 -3.409947)', '2026-06-19 17:19:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043086 -3.409949)'), GeomFromEWKT('SRID=4674;POINT (-39.043099 -3.409947)'))) / (select extract(epoch from '2026-06-19 17:19:01'::timestamp) - extract(epoch from '2026-06-19 17:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043086 -3.409949)'), GeomFromEWKT('SRID=4674;POINT (-39.043099 -3.409947)'))) / (select extract(epoch from '2026-06-19 17:19:01'::timestamp) - extract(epoch from '2026-06-19 17:18:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.043113 -3.409945)', '2026-06-19 17:19:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043099 -3.409947)'), GeomFromEWKT('SRID=4674;POINT (-39.043113 -3.409945)'))) / (select extract(epoch from '2026-06-19 17:19:10'::timestamp) - extract(epoch from '2026-06-19 17:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043099 -3.409947)'), GeomFromEWKT('SRID=4674;POINT (-39.043113 -3.409945)'))) / (select extract(epoch from '2026-06-19 17:19:10'::timestamp) - extract(epoch from '2026-06-19 17:19: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'), 46591, 'SRID=4674;POINT (-39.043132 -3.409951)', '2026-06-19 17:19:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043113 -3.409945)'), GeomFromEWKT('SRID=4674;POINT (-39.043132 -3.409951)'))) / (select extract(epoch from '2026-06-19 17:19:15'::timestamp) - extract(epoch from '2026-06-19 17:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043113 -3.409945)'), GeomFromEWKT('SRID=4674;POINT (-39.043132 -3.409951)'))) / (select extract(epoch from '2026-06-19 17:19:15'::timestamp) - extract(epoch from '2026-06-19 17:19: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'), 46591, 'SRID=4674;POINT (-39.043145 -3.409948)', '2026-06-19 17:19:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043132 -3.409951)'), GeomFromEWKT('SRID=4674;POINT (-39.043145 -3.409948)'))) / (select extract(epoch from '2026-06-19 17:19:22'::timestamp) - extract(epoch from '2026-06-19 17:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043132 -3.409951)'), GeomFromEWKT('SRID=4674;POINT (-39.043145 -3.409948)'))) / (select extract(epoch from '2026-06-19 17:19:22'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.043173 -3.40995)', '2026-06-19 17:19:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043145 -3.409948)'), GeomFromEWKT('SRID=4674;POINT (-39.043173 -3.40995)'))) / (select extract(epoch from '2026-06-19 17:19:35'::timestamp) - extract(epoch from '2026-06-19 17:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043145 -3.409948)'), GeomFromEWKT('SRID=4674;POINT (-39.043173 -3.40995)'))) / (select extract(epoch from '2026-06-19 17:19:35'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.043192 -3.409944)', '2026-06-19 17:19:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043173 -3.40995)'), GeomFromEWKT('SRID=4674;POINT (-39.043192 -3.409944)'))) / (select extract(epoch from '2026-06-19 17:19:47'::timestamp) - extract(epoch from '2026-06-19 17:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043173 -3.40995)'), GeomFromEWKT('SRID=4674;POINT (-39.043192 -3.409944)'))) / (select extract(epoch from '2026-06-19 17:19:47'::timestamp) - extract(epoch from '2026-06-19 17:19: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'), 46591, 'SRID=4674;POINT (-39.043206 -3.409941)', '2026-06-19 17:19:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043192 -3.409944)'), GeomFromEWKT('SRID=4674;POINT (-39.043206 -3.409941)'))) / (select extract(epoch from '2026-06-19 17:19:55'::timestamp) - extract(epoch from '2026-06-19 17:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043192 -3.409944)'), GeomFromEWKT('SRID=4674;POINT (-39.043206 -3.409941)'))) / (select extract(epoch from '2026-06-19 17:19:55'::timestamp) - extract(epoch from '2026-06-19 17:19: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'), 46591, 'SRID=4674;POINT (-39.043225 -3.409941)', '2026-06-19 17:20:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043206 -3.409941)'), GeomFromEWKT('SRID=4674;POINT (-39.043225 -3.409941)'))) / (select extract(epoch from '2026-06-19 17:20:03'::timestamp) - extract(epoch from '2026-06-19 17:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043206 -3.409941)'), GeomFromEWKT('SRID=4674;POINT (-39.043225 -3.409941)'))) / (select extract(epoch from '2026-06-19 17:20:03'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.043236 -3.409937)', '2026-06-19 17:20:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043225 -3.409941)'), GeomFromEWKT('SRID=4674;POINT (-39.043236 -3.409937)'))) / (select extract(epoch from '2026-06-19 17:20:11'::timestamp) - extract(epoch from '2026-06-19 17:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043225 -3.409941)'), GeomFromEWKT('SRID=4674;POINT (-39.043236 -3.409937)'))) / (select extract(epoch from '2026-06-19 17:20:11'::timestamp) - extract(epoch from '2026-06-19 17:20: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'), 46591, 'SRID=4674;POINT (-39.043251 -3.409933)', '2026-06-19 17:20:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043236 -3.409937)'), GeomFromEWKT('SRID=4674;POINT (-39.043251 -3.409933)'))) / (select extract(epoch from '2026-06-19 17:20:18'::timestamp) - extract(epoch from '2026-06-19 17:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043236 -3.409937)'), GeomFromEWKT('SRID=4674;POINT (-39.043251 -3.409933)'))) / (select extract(epoch from '2026-06-19 17:20:18'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.043278 -3.409927)', '2026-06-19 17:20:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043251 -3.409933)'), GeomFromEWKT('SRID=4674;POINT (-39.043278 -3.409927)'))) / (select extract(epoch from '2026-06-19 17:20:28'::timestamp) - extract(epoch from '2026-06-19 17:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043251 -3.409933)'), GeomFromEWKT('SRID=4674;POINT (-39.043278 -3.409927)'))) / (select extract(epoch from '2026-06-19 17:20:28'::timestamp) - extract(epoch from '2026-06-19 17:20: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'), 46591, 'SRID=4674;POINT (-39.043307 -3.40993)', '2026-06-19 17:20:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043278 -3.409927)'), GeomFromEWKT('SRID=4674;POINT (-39.043307 -3.40993)'))) / (select extract(epoch from '2026-06-19 17:20:39'::timestamp) - extract(epoch from '2026-06-19 17:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043278 -3.409927)'), GeomFromEWKT('SRID=4674;POINT (-39.043307 -3.40993)'))) / (select extract(epoch from '2026-06-19 17:20:39'::timestamp) - extract(epoch from '2026-06-19 17:20: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'), 46591, 'SRID=4674;POINT (-39.043346 -3.409938)', '2026-06-19 17:20:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043307 -3.40993)'), GeomFromEWKT('SRID=4674;POINT (-39.043346 -3.409938)'))) / (select extract(epoch from '2026-06-19 17:20:53'::timestamp) - extract(epoch from '2026-06-19 17:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043307 -3.40993)'), GeomFromEWKT('SRID=4674;POINT (-39.043346 -3.409938)'))) / (select extract(epoch from '2026-06-19 17:20:53'::timestamp) - extract(epoch from '2026-06-19 17:20: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'), 46591, 'SRID=4674;POINT (-39.043374 -3.409927)', '2026-06-19 17:21:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043346 -3.409938)'), GeomFromEWKT('SRID=4674;POINT (-39.043374 -3.409927)'))) / (select extract(epoch from '2026-06-19 17:21:06'::timestamp) - extract(epoch from '2026-06-19 17:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043346 -3.409938)'), GeomFromEWKT('SRID=4674;POINT (-39.043374 -3.409927)'))) / (select extract(epoch from '2026-06-19 17:21:06'::timestamp) - extract(epoch from '2026-06-19 17:20: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'), 46591, 'SRID=4674;POINT (-39.043386 -3.409926)', '2026-06-19 17:21:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043374 -3.409927)'), GeomFromEWKT('SRID=4674;POINT (-39.043386 -3.409926)'))) / (select extract(epoch from '2026-06-19 17:21:13'::timestamp) - extract(epoch from '2026-06-19 17:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043374 -3.409927)'), GeomFromEWKT('SRID=4674;POINT (-39.043386 -3.409926)'))) / (select extract(epoch from '2026-06-19 17:21:13'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.043412 -3.409926)', '2026-06-19 17:21:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043386 -3.409926)'), GeomFromEWKT('SRID=4674;POINT (-39.043412 -3.409926)'))) / (select extract(epoch from '2026-06-19 17:21:27'::timestamp) - extract(epoch from '2026-06-19 17:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043386 -3.409926)'), GeomFromEWKT('SRID=4674;POINT (-39.043412 -3.409926)'))) / (select extract(epoch from '2026-06-19 17:21:27'::timestamp) - extract(epoch from '2026-06-19 17:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.043458 -3.409925)', '2026-06-19 17:21:46', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043412 -3.409926)'), GeomFromEWKT('SRID=4674;POINT (-39.043458 -3.409925)'))) / (select extract(epoch from '2026-06-19 17:21:46'::timestamp) - extract(epoch from '2026-06-19 17:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043412 -3.409926)'), GeomFromEWKT('SRID=4674;POINT (-39.043458 -3.409925)'))) / (select extract(epoch from '2026-06-19 17:21:46'::timestamp) - extract(epoch from '2026-06-19 17:21: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'), 46591, 'SRID=4674;POINT (-39.043478 -3.409931)', '2026-06-19 17:21:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043458 -3.409925)'), GeomFromEWKT('SRID=4674;POINT (-39.043478 -3.409931)'))) / (select extract(epoch from '2026-06-19 17:21:56'::timestamp) - extract(epoch from '2026-06-19 17:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043458 -3.409925)'), GeomFromEWKT('SRID=4674;POINT (-39.043478 -3.409931)'))) / (select extract(epoch from '2026-06-19 17:21:56'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.04351 -3.409937)', '2026-06-19 17:22:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043478 -3.409931)'), GeomFromEWKT('SRID=4674;POINT (-39.04351 -3.409937)'))) / (select extract(epoch from '2026-06-19 17:22:14'::timestamp) - extract(epoch from '2026-06-19 17:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043478 -3.409931)'), GeomFromEWKT('SRID=4674;POINT (-39.04351 -3.409937)'))) / (select extract(epoch from '2026-06-19 17:22:14'::timestamp) - extract(epoch from '2026-06-19 17:21: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'), 46591, 'SRID=4674;POINT (-39.043545 -3.409938)', '2026-06-19 17:22:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04351 -3.409937)'), GeomFromEWKT('SRID=4674;POINT (-39.043545 -3.409938)'))) / (select extract(epoch from '2026-06-19 17:22:28'::timestamp) - extract(epoch from '2026-06-19 17:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04351 -3.409937)'), GeomFromEWKT('SRID=4674;POINT (-39.043545 -3.409938)'))) / (select extract(epoch from '2026-06-19 17:22:28'::timestamp) - extract(epoch from '2026-06-19 17:22: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'), 46591, 'SRID=4674;POINT (-39.043586 -3.409936)', '2026-06-19 17:22:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043545 -3.409938)'), GeomFromEWKT('SRID=4674;POINT (-39.043586 -3.409936)'))) / (select extract(epoch from '2026-06-19 17:22:47'::timestamp) - extract(epoch from '2026-06-19 17:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043545 -3.409938)'), GeomFromEWKT('SRID=4674;POINT (-39.043586 -3.409936)'))) / (select extract(epoch from '2026-06-19 17:22:47'::timestamp) - extract(epoch from '2026-06-19 17:22: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'), 46591, 'SRID=4674;POINT (-39.043623 -3.409934)', '2026-06-19 17:23:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043586 -3.409936)'), GeomFromEWKT('SRID=4674;POINT (-39.043623 -3.409934)'))) / (select extract(epoch from '2026-06-19 17:23:07'::timestamp) - extract(epoch from '2026-06-19 17:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043586 -3.409936)'), GeomFromEWKT('SRID=4674;POINT (-39.043623 -3.409934)'))) / (select extract(epoch from '2026-06-19 17:23:07'::timestamp) - extract(epoch from '2026-06-19 17:22: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'), 46591, 'SRID=4674;POINT (-39.043652 -3.409922)', '2026-06-19 17:23:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043623 -3.409934)'), GeomFromEWKT('SRID=4674;POINT (-39.043652 -3.409922)'))) / (select extract(epoch from '2026-06-19 17:23:24'::timestamp) - extract(epoch from '2026-06-19 17:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043623 -3.409934)'), GeomFromEWKT('SRID=4674;POINT (-39.043652 -3.409922)'))) / (select extract(epoch from '2026-06-19 17:23:24'::timestamp) - extract(epoch from '2026-06-19 17:23: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'), 46591, 'SRID=4674;POINT (-39.04369 -3.409921)', '2026-06-19 17:23:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043652 -3.409922)'), GeomFromEWKT('SRID=4674;POINT (-39.04369 -3.409921)'))) / (select extract(epoch from '2026-06-19 17:23:40'::timestamp) - extract(epoch from '2026-06-19 17:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043652 -3.409922)'), GeomFromEWKT('SRID=4674;POINT (-39.04369 -3.409921)'))) / (select extract(epoch from '2026-06-19 17:23:40'::timestamp) - extract(epoch from '2026-06-19 17:23: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'), 46591, 'SRID=4674;POINT (-39.04371 -3.409915)', '2026-06-19 17:23:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04369 -3.409921)'), GeomFromEWKT('SRID=4674;POINT (-39.04371 -3.409915)'))) / (select extract(epoch from '2026-06-19 17:23:54'::timestamp) - extract(epoch from '2026-06-19 17:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04369 -3.409921)'), GeomFromEWKT('SRID=4674;POINT (-39.04371 -3.409915)'))) / (select extract(epoch from '2026-06-19 17:23:54'::timestamp) - extract(epoch from '2026-06-19 17:23: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'), 46591, 'SRID=4674;POINT (-39.043731 -3.409916)', '2026-06-19 17:24:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04371 -3.409915)'), GeomFromEWKT('SRID=4674;POINT (-39.043731 -3.409916)'))) / (select extract(epoch from '2026-06-19 17:24:09'::timestamp) - extract(epoch from '2026-06-19 17:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04371 -3.409915)'), GeomFromEWKT('SRID=4674;POINT (-39.043731 -3.409916)'))) / (select extract(epoch from '2026-06-19 17:24:09'::timestamp) - extract(epoch from '2026-06-19 17:23: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'), 46591, 'SRID=4674;POINT (-39.043747 -3.409922)', '2026-06-19 17:24:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043731 -3.409916)'), GeomFromEWKT('SRID=4674;POINT (-39.043747 -3.409922)'))) / (select extract(epoch from '2026-06-19 17:24:19'::timestamp) - extract(epoch from '2026-06-19 17:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043731 -3.409916)'), GeomFromEWKT('SRID=4674;POINT (-39.043747 -3.409922)'))) / (select extract(epoch from '2026-06-19 17:24:19'::timestamp) - extract(epoch from '2026-06-19 17:24: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'), 46591, 'SRID=4674;POINT (-39.043764 -3.409916)', '2026-06-19 17:24:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043747 -3.409922)'), GeomFromEWKT('SRID=4674;POINT (-39.043764 -3.409916)'))) / (select extract(epoch from '2026-06-19 17:24:30'::timestamp) - extract(epoch from '2026-06-19 17:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043747 -3.409922)'), GeomFromEWKT('SRID=4674;POINT (-39.043764 -3.409916)'))) / (select extract(epoch from '2026-06-19 17:24:30'::timestamp) - extract(epoch from '2026-06-19 17:24: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'), 46591, 'SRID=4674;POINT (-39.043787 -3.409917)', '2026-06-19 17:24:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043764 -3.409916)'), GeomFromEWKT('SRID=4674;POINT (-39.043787 -3.409917)'))) / (select extract(epoch from '2026-06-19 17:24:40'::timestamp) - extract(epoch from '2026-06-19 17:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043764 -3.409916)'), GeomFromEWKT('SRID=4674;POINT (-39.043787 -3.409917)'))) / (select extract(epoch from '2026-06-19 17:24:40'::timestamp) - extract(epoch from '2026-06-19 17:24: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'), 46591, 'SRID=4674;POINT (-39.043803 -3.409914)', '2026-06-19 17:24:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043787 -3.409917)'), GeomFromEWKT('SRID=4674;POINT (-39.043803 -3.409914)'))) / (select extract(epoch from '2026-06-19 17:24:49'::timestamp) - extract(epoch from '2026-06-19 17:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043787 -3.409917)'), GeomFromEWKT('SRID=4674;POINT (-39.043803 -3.409914)'))) / (select extract(epoch from '2026-06-19 17:24:49'::timestamp) - extract(epoch from '2026-06-19 17:24:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.043819 -3.409914)', '2026-06-19 17:24:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043803 -3.409914)'), GeomFromEWKT('SRID=4674;POINT (-39.043819 -3.409914)'))) / (select extract(epoch from '2026-06-19 17:24:58'::timestamp) - extract(epoch from '2026-06-19 17:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043803 -3.409914)'), GeomFromEWKT('SRID=4674;POINT (-39.043819 -3.409914)'))) / (select extract(epoch from '2026-06-19 17:24:58'::timestamp) - extract(epoch from '2026-06-19 17:24: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'), 46591, 'SRID=4674;POINT (-39.043849 -3.409913)', '2026-06-19 17:25:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043819 -3.409914)'), GeomFromEWKT('SRID=4674;POINT (-39.043849 -3.409913)'))) / (select extract(epoch from '2026-06-19 17:25:09'::timestamp) - extract(epoch from '2026-06-19 17:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043819 -3.409914)'), GeomFromEWKT('SRID=4674;POINT (-39.043849 -3.409913)'))) / (select extract(epoch from '2026-06-19 17:25:09'::timestamp) - extract(epoch from '2026-06-19 17:24: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'), 46591, 'SRID=4674;POINT (-39.043878 -3.409923)', '2026-06-19 17:25:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043849 -3.409913)'), GeomFromEWKT('SRID=4674;POINT (-39.043878 -3.409923)'))) / (select extract(epoch from '2026-06-19 17:25:22'::timestamp) - extract(epoch from '2026-06-19 17:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043849 -3.409913)'), GeomFromEWKT('SRID=4674;POINT (-39.043878 -3.409923)'))) / (select extract(epoch from '2026-06-19 17:25:22'::timestamp) - extract(epoch from '2026-06-19 17:25: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'), 46591, 'SRID=4674;POINT (-39.04391 -3.409926)', '2026-06-19 17:25:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043878 -3.409923)'), GeomFromEWKT('SRID=4674;POINT (-39.04391 -3.409926)'))) / (select extract(epoch from '2026-06-19 17:25:36'::timestamp) - extract(epoch from '2026-06-19 17:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043878 -3.409923)'), GeomFromEWKT('SRID=4674;POINT (-39.04391 -3.409926)'))) / (select extract(epoch from '2026-06-19 17:25:36'::timestamp) - extract(epoch from '2026-06-19 17:25: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'), 46591, 'SRID=4674;POINT (-39.043938 -3.40992)', '2026-06-19 17:25:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04391 -3.409926)'), GeomFromEWKT('SRID=4674;POINT (-39.043938 -3.40992)'))) / (select extract(epoch from '2026-06-19 17:25:52'::timestamp) - extract(epoch from '2026-06-19 17:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04391 -3.409926)'), GeomFromEWKT('SRID=4674;POINT (-39.043938 -3.40992)'))) / (select extract(epoch from '2026-06-19 17:25:52'::timestamp) - extract(epoch from '2026-06-19 17:25: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'), 46591, 'SRID=4674;POINT (-39.043949 -3.40992)', '2026-06-19 17:26:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043938 -3.40992)'), GeomFromEWKT('SRID=4674;POINT (-39.043949 -3.40992)'))) / (select extract(epoch from '2026-06-19 17:26:00'::timestamp) - extract(epoch from '2026-06-19 17:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043938 -3.40992)'), GeomFromEWKT('SRID=4674;POINT (-39.043949 -3.40992)'))) / (select extract(epoch from '2026-06-19 17:26:00'::timestamp) - extract(epoch from '2026-06-19 17:25: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'), 46591, 'SRID=4674;POINT (-39.043967 -3.409916)', '2026-06-19 17:26:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043949 -3.40992)'), GeomFromEWKT('SRID=4674;POINT (-39.043967 -3.409916)'))) / (select extract(epoch from '2026-06-19 17:26:08'::timestamp) - extract(epoch from '2026-06-19 17:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043949 -3.40992)'), GeomFromEWKT('SRID=4674;POINT (-39.043967 -3.409916)'))) / (select extract(epoch from '2026-06-19 17:26:08'::timestamp) - extract(epoch from '2026-06-19 17:26:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.043981 -3.409914)', '2026-06-19 17:26:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043967 -3.409916)'), GeomFromEWKT('SRID=4674;POINT (-39.043981 -3.409914)'))) / (select extract(epoch from '2026-06-19 17:26:13'::timestamp) - extract(epoch from '2026-06-19 17:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043967 -3.409916)'), GeomFromEWKT('SRID=4674;POINT (-39.043981 -3.409914)'))) / (select extract(epoch from '2026-06-19 17:26:13'::timestamp) - extract(epoch from '2026-06-19 17:26: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'), 46591, 'SRID=4674;POINT (-39.04399 -3.409908)', '2026-06-19 17:26:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043981 -3.409914)'), GeomFromEWKT('SRID=4674;POINT (-39.04399 -3.409908)'))) / (select extract(epoch from '2026-06-19 17:26:20'::timestamp) - extract(epoch from '2026-06-19 17:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043981 -3.409914)'), GeomFromEWKT('SRID=4674;POINT (-39.04399 -3.409908)'))) / (select extract(epoch from '2026-06-19 17:26:20'::timestamp) - extract(epoch from '2026-06-19 17:26:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.044011 -3.409913)', '2026-06-19 17:26:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04399 -3.409908)'), GeomFromEWKT('SRID=4674;POINT (-39.044011 -3.409913)'))) / (select extract(epoch from '2026-06-19 17:26:29'::timestamp) - extract(epoch from '2026-06-19 17:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04399 -3.409908)'), GeomFromEWKT('SRID=4674;POINT (-39.044011 -3.409913)'))) / (select extract(epoch from '2026-06-19 17:26:29'::timestamp) - extract(epoch from '2026-06-19 17:26: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'), 46591, 'SRID=4674;POINT (-39.044022 -3.409904)', '2026-06-19 17:26:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044011 -3.409913)'), GeomFromEWKT('SRID=4674;POINT (-39.044022 -3.409904)'))) / (select extract(epoch from '2026-06-19 17:26:36'::timestamp) - extract(epoch from '2026-06-19 17:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044011 -3.409913)'), GeomFromEWKT('SRID=4674;POINT (-39.044022 -3.409904)'))) / (select extract(epoch from '2026-06-19 17:26:36'::timestamp) - extract(epoch from '2026-06-19 17:26: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'), 46591, 'SRID=4674;POINT (-39.044034 -3.409899)', '2026-06-19 17:26:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044022 -3.409904)'), GeomFromEWKT('SRID=4674;POINT (-39.044034 -3.409899)'))) / (select extract(epoch from '2026-06-19 17:26:45'::timestamp) - extract(epoch from '2026-06-19 17:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044022 -3.409904)'), GeomFromEWKT('SRID=4674;POINT (-39.044034 -3.409899)'))) / (select extract(epoch from '2026-06-19 17:26:45'::timestamp) - extract(epoch from '2026-06-19 17:26: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'), 46591, 'SRID=4674;POINT (-39.044043 -3.409905)', '2026-06-19 17:26:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044034 -3.409899)'), GeomFromEWKT('SRID=4674;POINT (-39.044043 -3.409905)'))) / (select extract(epoch from '2026-06-19 17:26:52'::timestamp) - extract(epoch from '2026-06-19 17:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044034 -3.409899)'), GeomFromEWKT('SRID=4674;POINT (-39.044043 -3.409905)'))) / (select extract(epoch from '2026-06-19 17:26:52'::timestamp) - extract(epoch from '2026-06-19 17:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.044052 -3.409906)', '2026-06-19 17:27:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044043 -3.409905)'), GeomFromEWKT('SRID=4674;POINT (-39.044052 -3.409906)'))) / (select extract(epoch from '2026-06-19 17:27:00'::timestamp) - extract(epoch from '2026-06-19 17:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044043 -3.409905)'), GeomFromEWKT('SRID=4674;POINT (-39.044052 -3.409906)'))) / (select extract(epoch from '2026-06-19 17:27:00'::timestamp) - extract(epoch from '2026-06-19 17:26: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'), 46591, 'SRID=4674;POINT (-39.044059 -3.409909)', '2026-06-19 17:27:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044052 -3.409906)'), GeomFromEWKT('SRID=4674;POINT (-39.044059 -3.409909)'))) / (select extract(epoch from '2026-06-19 17:27:10'::timestamp) - extract(epoch from '2026-06-19 17:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044052 -3.409906)'), GeomFromEWKT('SRID=4674;POINT (-39.044059 -3.409909)'))) / (select extract(epoch from '2026-06-19 17:27:10'::timestamp) - extract(epoch from '2026-06-19 17:27: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'), 46591, 'SRID=4674;POINT (-39.044065 -3.409917)', '2026-06-19 17:27:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044059 -3.409909)'), GeomFromEWKT('SRID=4674;POINT (-39.044065 -3.409917)'))) / (select extract(epoch from '2026-06-19 17:27:17'::timestamp) - extract(epoch from '2026-06-19 17:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044059 -3.409909)'), GeomFromEWKT('SRID=4674;POINT (-39.044065 -3.409917)'))) / (select extract(epoch from '2026-06-19 17:27:17'::timestamp) - extract(epoch from '2026-06-19 17:27: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'), 46591, 'SRID=4674;POINT (-39.044067 -3.409913)', '2026-06-19 17:27:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044065 -3.409917)'), GeomFromEWKT('SRID=4674;POINT (-39.044067 -3.409913)'))) / (select extract(epoch from '2026-06-19 17:27:24'::timestamp) - extract(epoch from '2026-06-19 17:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044065 -3.409917)'), GeomFromEWKT('SRID=4674;POINT (-39.044067 -3.409913)'))) / (select extract(epoch from '2026-06-19 17:27:24'::timestamp) - extract(epoch from '2026-06-19 17:27: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'), 46591, 'SRID=4674;POINT (-39.044081 -3.40992)', '2026-06-19 17:27:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044067 -3.409913)'), GeomFromEWKT('SRID=4674;POINT (-39.044081 -3.40992)'))) / (select extract(epoch from '2026-06-19 17:27:35'::timestamp) - extract(epoch from '2026-06-19 17:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044067 -3.409913)'), GeomFromEWKT('SRID=4674;POINT (-39.044081 -3.40992)'))) / (select extract(epoch from '2026-06-19 17:27:35'::timestamp) - extract(epoch from '2026-06-19 17:27: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'), 46591, 'SRID=4674;POINT (-39.044101 -3.409917)', '2026-06-19 17:27:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044081 -3.40992)'), GeomFromEWKT('SRID=4674;POINT (-39.044101 -3.409917)'))) / (select extract(epoch from '2026-06-19 17:27:45'::timestamp) - extract(epoch from '2026-06-19 17:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044081 -3.40992)'), GeomFromEWKT('SRID=4674;POINT (-39.044101 -3.409917)'))) / (select extract(epoch from '2026-06-19 17:27:45'::timestamp) - extract(epoch from '2026-06-19 17:27: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'), 46591, 'SRID=4674;POINT (-39.044112 -3.409908)', '2026-06-19 17:27:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044101 -3.409917)'), GeomFromEWKT('SRID=4674;POINT (-39.044112 -3.409908)'))) / (select extract(epoch from '2026-06-19 17:27:53'::timestamp) - extract(epoch from '2026-06-19 17:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044101 -3.409917)'), GeomFromEWKT('SRID=4674;POINT (-39.044112 -3.409908)'))) / (select extract(epoch from '2026-06-19 17:27:53'::timestamp) - extract(epoch from '2026-06-19 17:27: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'), 46591, 'SRID=4674;POINT (-39.044129 -3.409906)', '2026-06-19 17:28:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044112 -3.409908)'), GeomFromEWKT('SRID=4674;POINT (-39.044129 -3.409906)'))) / (select extract(epoch from '2026-06-19 17:28:02'::timestamp) - extract(epoch from '2026-06-19 17:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044112 -3.409908)'), GeomFromEWKT('SRID=4674;POINT (-39.044129 -3.409906)'))) / (select extract(epoch from '2026-06-19 17:28:02'::timestamp) - extract(epoch from '2026-06-19 17:27: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'), 46591, 'SRID=4674;POINT (-39.044158 -3.409902)', '2026-06-19 17:28:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044129 -3.409906)'), GeomFromEWKT('SRID=4674;POINT (-39.044158 -3.409902)'))) / (select extract(epoch from '2026-06-19 17:28:13'::timestamp) - extract(epoch from '2026-06-19 17:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044129 -3.409906)'), GeomFromEWKT('SRID=4674;POINT (-39.044158 -3.409902)'))) / (select extract(epoch from '2026-06-19 17:28:13'::timestamp) - extract(epoch from '2026-06-19 17:28: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'), 46591, 'SRID=4674;POINT (-39.044192 -3.409899)', '2026-06-19 17:28:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044158 -3.409902)'), GeomFromEWKT('SRID=4674;POINT (-39.044192 -3.409899)'))) / (select extract(epoch from '2026-06-19 17:28:31'::timestamp) - extract(epoch from '2026-06-19 17:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044158 -3.409902)'), GeomFromEWKT('SRID=4674;POINT (-39.044192 -3.409899)'))) / (select extract(epoch from '2026-06-19 17:28:31'::timestamp) - extract(epoch from '2026-06-19 17:28: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'), 46591, 'SRID=4674;POINT (-39.044223 -3.409901)', '2026-06-19 17:28:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044192 -3.409899)'), GeomFromEWKT('SRID=4674;POINT (-39.044223 -3.409901)'))) / (select extract(epoch from '2026-06-19 17:28:45'::timestamp) - extract(epoch from '2026-06-19 17:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044192 -3.409899)'), GeomFromEWKT('SRID=4674;POINT (-39.044223 -3.409901)'))) / (select extract(epoch from '2026-06-19 17:28:45'::timestamp) - extract(epoch from '2026-06-19 17:28:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.044252 -3.409906)', '2026-06-19 17:28:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044223 -3.409901)'), GeomFromEWKT('SRID=4674;POINT (-39.044252 -3.409906)'))) / (select extract(epoch from '2026-06-19 17:28:57'::timestamp) - extract(epoch from '2026-06-19 17:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044223 -3.409901)'), GeomFromEWKT('SRID=4674;POINT (-39.044252 -3.409906)'))) / (select extract(epoch from '2026-06-19 17:28:57'::timestamp) - extract(epoch from '2026-06-19 17:28: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'), 46591, 'SRID=4674;POINT (-39.044264 -3.409892)', '2026-06-19 17:29:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044252 -3.409906)'), GeomFromEWKT('SRID=4674;POINT (-39.044264 -3.409892)'))) / (select extract(epoch from '2026-06-19 17:29:12'::timestamp) - extract(epoch from '2026-06-19 17:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044252 -3.409906)'), GeomFromEWKT('SRID=4674;POINT (-39.044264 -3.409892)'))) / (select extract(epoch from '2026-06-19 17:29:12'::timestamp) - extract(epoch from '2026-06-19 17:28: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'), 46591, 'SRID=4674;POINT (-39.044277 -3.409896)', '2026-06-19 17:29:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044264 -3.409892)'), GeomFromEWKT('SRID=4674;POINT (-39.044277 -3.409896)'))) / (select extract(epoch from '2026-06-19 17:29:18'::timestamp) - extract(epoch from '2026-06-19 17:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044264 -3.409892)'), GeomFromEWKT('SRID=4674;POINT (-39.044277 -3.409896)'))) / (select extract(epoch from '2026-06-19 17:29:18'::timestamp) - extract(epoch from '2026-06-19 17:29: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'), 46591, 'SRID=4674;POINT (-39.044295 -3.4099)', '2026-06-19 17:29:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044277 -3.409896)'), GeomFromEWKT('SRID=4674;POINT (-39.044295 -3.4099)'))) / (select extract(epoch from '2026-06-19 17:29:27'::timestamp) - extract(epoch from '2026-06-19 17:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044277 -3.409896)'), GeomFromEWKT('SRID=4674;POINT (-39.044295 -3.4099)'))) / (select extract(epoch from '2026-06-19 17:29:27'::timestamp) - extract(epoch from '2026-06-19 17:29: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'), 46591, 'SRID=4674;POINT (-39.044316 -3.409899)', '2026-06-19 17:29:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044295 -3.4099)'), GeomFromEWKT('SRID=4674;POINT (-39.044316 -3.409899)'))) / (select extract(epoch from '2026-06-19 17:29:38'::timestamp) - extract(epoch from '2026-06-19 17:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044295 -3.4099)'), GeomFromEWKT('SRID=4674;POINT (-39.044316 -3.409899)'))) / (select extract(epoch from '2026-06-19 17:29:38'::timestamp) - extract(epoch from '2026-06-19 17:29:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.04434 -3.409893)', '2026-06-19 17:29:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044316 -3.409899)'), GeomFromEWKT('SRID=4674;POINT (-39.04434 -3.409893)'))) / (select extract(epoch from '2026-06-19 17:29:49'::timestamp) - extract(epoch from '2026-06-19 17:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044316 -3.409899)'), GeomFromEWKT('SRID=4674;POINT (-39.04434 -3.409893)'))) / (select extract(epoch from '2026-06-19 17:29:49'::timestamp) - extract(epoch from '2026-06-19 17:29: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'), 46591, 'SRID=4674;POINT (-39.044359 -3.409894)', '2026-06-19 17:30:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04434 -3.409893)'), GeomFromEWKT('SRID=4674;POINT (-39.044359 -3.409894)'))) / (select extract(epoch from '2026-06-19 17:30:01'::timestamp) - extract(epoch from '2026-06-19 17:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04434 -3.409893)'), GeomFromEWKT('SRID=4674;POINT (-39.044359 -3.409894)'))) / (select extract(epoch from '2026-06-19 17:30:01'::timestamp) - extract(epoch from '2026-06-19 17:29: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'), 46591, 'SRID=4674;POINT (-39.044379 -3.409897)', '2026-06-19 17:30:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044359 -3.409894)'), GeomFromEWKT('SRID=4674;POINT (-39.044379 -3.409897)'))) / (select extract(epoch from '2026-06-19 17:30:08'::timestamp) - extract(epoch from '2026-06-19 17:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044359 -3.409894)'), GeomFromEWKT('SRID=4674;POINT (-39.044379 -3.409897)'))) / (select extract(epoch from '2026-06-19 17:30:08'::timestamp) - extract(epoch from '2026-06-19 17:30: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'), 46591, 'SRID=4674;POINT (-39.044406 -3.409896)', '2026-06-19 17:30:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044379 -3.409897)'), GeomFromEWKT('SRID=4674;POINT (-39.044406 -3.409896)'))) / (select extract(epoch from '2026-06-19 17:30:18'::timestamp) - extract(epoch from '2026-06-19 17:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044379 -3.409897)'), GeomFromEWKT('SRID=4674;POINT (-39.044406 -3.409896)'))) / (select extract(epoch from '2026-06-19 17:30:18'::timestamp) - extract(epoch from '2026-06-19 17:30: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'), 46591, 'SRID=4674;POINT (-39.044438 -3.409896)', '2026-06-19 17:30:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044406 -3.409896)'), GeomFromEWKT('SRID=4674;POINT (-39.044438 -3.409896)'))) / (select extract(epoch from '2026-06-19 17:30:32'::timestamp) - extract(epoch from '2026-06-19 17:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044406 -3.409896)'), GeomFromEWKT('SRID=4674;POINT (-39.044438 -3.409896)'))) / (select extract(epoch from '2026-06-19 17:30:32'::timestamp) - extract(epoch from '2026-06-19 17:30: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'), 46591, 'SRID=4674;POINT (-39.044483 -3.409884)', '2026-06-19 17:30:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044438 -3.409896)'), GeomFromEWKT('SRID=4674;POINT (-39.044483 -3.409884)'))) / (select extract(epoch from '2026-06-19 17:30:51'::timestamp) - extract(epoch from '2026-06-19 17:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044438 -3.409896)'), GeomFromEWKT('SRID=4674;POINT (-39.044483 -3.409884)'))) / (select extract(epoch from '2026-06-19 17:30:51'::timestamp) - extract(epoch from '2026-06-19 17:30: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'), 46591, 'SRID=4674;POINT (-39.044512 -3.409885)', '2026-06-19 17:31:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044483 -3.409884)'), GeomFromEWKT('SRID=4674;POINT (-39.044512 -3.409885)'))) / (select extract(epoch from '2026-06-19 17:31:06'::timestamp) - extract(epoch from '2026-06-19 17:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044483 -3.409884)'), GeomFromEWKT('SRID=4674;POINT (-39.044512 -3.409885)'))) / (select extract(epoch from '2026-06-19 17:31:06'::timestamp) - extract(epoch from '2026-06-19 17:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.044527 -3.409883)', '2026-06-19 17:31:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044512 -3.409885)'), GeomFromEWKT('SRID=4674;POINT (-39.044527 -3.409883)'))) / (select extract(epoch from '2026-06-19 17:31:13'::timestamp) - extract(epoch from '2026-06-19 17:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044512 -3.409885)'), GeomFromEWKT('SRID=4674;POINT (-39.044527 -3.409883)'))) / (select extract(epoch from '2026-06-19 17:31:13'::timestamp) - extract(epoch from '2026-06-19 17:31:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.04454 -3.409886)', '2026-06-19 17:31:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044527 -3.409883)'), GeomFromEWKT('SRID=4674;POINT (-39.04454 -3.409886)'))) / (select extract(epoch from '2026-06-19 17:31:19'::timestamp) - extract(epoch from '2026-06-19 17:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044527 -3.409883)'), GeomFromEWKT('SRID=4674;POINT (-39.04454 -3.409886)'))) / (select extract(epoch from '2026-06-19 17:31:19'::timestamp) - extract(epoch from '2026-06-19 17:31: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'), 46591, 'SRID=4674;POINT (-39.044567 -3.409888)', '2026-06-19 17:31:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04454 -3.409886)'), GeomFromEWKT('SRID=4674;POINT (-39.044567 -3.409888)'))) / (select extract(epoch from '2026-06-19 17:31:29'::timestamp) - extract(epoch from '2026-06-19 17:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04454 -3.409886)'), GeomFromEWKT('SRID=4674;POINT (-39.044567 -3.409888)'))) / (select extract(epoch from '2026-06-19 17:31:29'::timestamp) - extract(epoch from '2026-06-19 17:31:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.044573 -3.409873)', '2026-06-19 17:31:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044567 -3.409888)'), GeomFromEWKT('SRID=4674;POINT (-39.044573 -3.409873)'))) / (select extract(epoch from '2026-06-19 17:31:34'::timestamp) - extract(epoch from '2026-06-19 17:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044567 -3.409888)'), GeomFromEWKT('SRID=4674;POINT (-39.044573 -3.409873)'))) / (select extract(epoch from '2026-06-19 17:31:34'::timestamp) - extract(epoch from '2026-06-19 17:31: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'), 46591, 'SRID=4674;POINT (-39.044594 -3.409883)', '2026-06-19 17:31:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044573 -3.409873)'), GeomFromEWKT('SRID=4674;POINT (-39.044594 -3.409883)'))) / (select extract(epoch from '2026-06-19 17:31:40'::timestamp) - extract(epoch from '2026-06-19 17:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044573 -3.409873)'), GeomFromEWKT('SRID=4674;POINT (-39.044594 -3.409883)'))) / (select extract(epoch from '2026-06-19 17:31:40'::timestamp) - extract(epoch from '2026-06-19 17:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.044618 -3.409875)', '2026-06-19 17:31:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044594 -3.409883)'), GeomFromEWKT('SRID=4674;POINT (-39.044618 -3.409875)'))) / (select extract(epoch from '2026-06-19 17:31:50'::timestamp) - extract(epoch from '2026-06-19 17:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044594 -3.409883)'), GeomFromEWKT('SRID=4674;POINT (-39.044618 -3.409875)'))) / (select extract(epoch from '2026-06-19 17:31:50'::timestamp) - extract(epoch from '2026-06-19 17:31: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'), 46591, 'SRID=4674;POINT (-39.044663 -3.409858)', '2026-06-19 17:32:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044618 -3.409875)'), GeomFromEWKT('SRID=4674;POINT (-39.044663 -3.409858)'))) / (select extract(epoch from '2026-06-19 17:32:12'::timestamp) - extract(epoch from '2026-06-19 17:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044618 -3.409875)'), GeomFromEWKT('SRID=4674;POINT (-39.044663 -3.409858)'))) / (select extract(epoch from '2026-06-19 17:32:12'::timestamp) - extract(epoch from '2026-06-19 17:31: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'), 46591, 'SRID=4674;POINT (-39.044702 -3.409864)', '2026-06-19 17:32:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044663 -3.409858)'), GeomFromEWKT('SRID=4674;POINT (-39.044702 -3.409864)'))) / (select extract(epoch from '2026-06-19 17:32:26'::timestamp) - extract(epoch from '2026-06-19 17:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044663 -3.409858)'), GeomFromEWKT('SRID=4674;POINT (-39.044702 -3.409864)'))) / (select extract(epoch from '2026-06-19 17:32:26'::timestamp) - extract(epoch from '2026-06-19 17:32: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'), 46591, 'SRID=4674;POINT (-39.044718 -3.409862)', '2026-06-19 17:32:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044702 -3.409864)'), GeomFromEWKT('SRID=4674;POINT (-39.044718 -3.409862)'))) / (select extract(epoch from '2026-06-19 17:32:33'::timestamp) - extract(epoch from '2026-06-19 17:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044702 -3.409864)'), GeomFromEWKT('SRID=4674;POINT (-39.044718 -3.409862)'))) / (select extract(epoch from '2026-06-19 17:32:33'::timestamp) - extract(epoch from '2026-06-19 17:32: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'), 46591, 'SRID=4674;POINT (-39.044729 -3.409863)', '2026-06-19 17:32:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044718 -3.409862)'), GeomFromEWKT('SRID=4674;POINT (-39.044729 -3.409863)'))) / (select extract(epoch from '2026-06-19 17:32:39'::timestamp) - extract(epoch from '2026-06-19 17:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044718 -3.409862)'), GeomFromEWKT('SRID=4674;POINT (-39.044729 -3.409863)'))) / (select extract(epoch from '2026-06-19 17:32:39'::timestamp) - extract(epoch from '2026-06-19 17:32: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'), 46591, 'SRID=4674;POINT (-39.044741 -3.409865)', '2026-06-19 17:32:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044729 -3.409863)'), GeomFromEWKT('SRID=4674;POINT (-39.044741 -3.409865)'))) / (select extract(epoch from '2026-06-19 17:32:45'::timestamp) - extract(epoch from '2026-06-19 17:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044729 -3.409863)'), GeomFromEWKT('SRID=4674;POINT (-39.044741 -3.409865)'))) / (select extract(epoch from '2026-06-19 17:32:45'::timestamp) - extract(epoch from '2026-06-19 17:32: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'), 46591, 'SRID=4674;POINT (-39.044753 -3.409855)', '2026-06-19 17:32:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044741 -3.409865)'), GeomFromEWKT('SRID=4674;POINT (-39.044753 -3.409855)'))) / (select extract(epoch from '2026-06-19 17:32:52'::timestamp) - extract(epoch from '2026-06-19 17:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044741 -3.409865)'), GeomFromEWKT('SRID=4674;POINT (-39.044753 -3.409855)'))) / (select extract(epoch from '2026-06-19 17:32:52'::timestamp) - extract(epoch from '2026-06-19 17:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.04477 -3.409854)', '2026-06-19 17:33:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044753 -3.409855)'), GeomFromEWKT('SRID=4674;POINT (-39.04477 -3.409854)'))) / (select extract(epoch from '2026-06-19 17:33:01'::timestamp) - extract(epoch from '2026-06-19 17:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044753 -3.409855)'), GeomFromEWKT('SRID=4674;POINT (-39.04477 -3.409854)'))) / (select extract(epoch from '2026-06-19 17:33:01'::timestamp) - extract(epoch from '2026-06-19 17:32: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'), 46591, 'SRID=4674;POINT (-39.044773 -3.409848)', '2026-06-19 17:33:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04477 -3.409854)'), GeomFromEWKT('SRID=4674;POINT (-39.044773 -3.409848)'))) / (select extract(epoch from '2026-06-19 17:33:05'::timestamp) - extract(epoch from '2026-06-19 17:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04477 -3.409854)'), GeomFromEWKT('SRID=4674;POINT (-39.044773 -3.409848)'))) / (select extract(epoch from '2026-06-19 17:33:05'::timestamp) - extract(epoch from '2026-06-19 17:33: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'), 46591, 'SRID=4674;POINT (-39.04478 -3.40985)', '2026-06-19 17:33:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044773 -3.409848)'), GeomFromEWKT('SRID=4674;POINT (-39.04478 -3.40985)'))) / (select extract(epoch from '2026-06-19 17:33:08'::timestamp) - extract(epoch from '2026-06-19 17:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044773 -3.409848)'), GeomFromEWKT('SRID=4674;POINT (-39.04478 -3.40985)'))) / (select extract(epoch from '2026-06-19 17:33:08'::timestamp) - extract(epoch from '2026-06-19 17:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.044798 -3.40985)', '2026-06-19 17:33:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04478 -3.40985)'), GeomFromEWKT('SRID=4674;POINT (-39.044798 -3.40985)'))) / (select extract(epoch from '2026-06-19 17:33:17'::timestamp) - extract(epoch from '2026-06-19 17:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04478 -3.40985)'), GeomFromEWKT('SRID=4674;POINT (-39.044798 -3.40985)'))) / (select extract(epoch from '2026-06-19 17:33:17'::timestamp) - extract(epoch from '2026-06-19 17:33: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'), 46591, 'SRID=4674;POINT (-39.044813 -3.409849)', '2026-06-19 17:33:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044798 -3.40985)'), GeomFromEWKT('SRID=4674;POINT (-39.044813 -3.409849)'))) / (select extract(epoch from '2026-06-19 17:33:30'::timestamp) - extract(epoch from '2026-06-19 17:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044798 -3.40985)'), GeomFromEWKT('SRID=4674;POINT (-39.044813 -3.409849)'))) / (select extract(epoch from '2026-06-19 17:33:30'::timestamp) - extract(epoch from '2026-06-19 17:33: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'), 46591, 'SRID=4674;POINT (-39.044827 -3.409847)', '2026-06-19 17:33:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044813 -3.409849)'), GeomFromEWKT('SRID=4674;POINT (-39.044827 -3.409847)'))) / (select extract(epoch from '2026-06-19 17:33:37'::timestamp) - extract(epoch from '2026-06-19 17:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044813 -3.409849)'), GeomFromEWKT('SRID=4674;POINT (-39.044827 -3.409847)'))) / (select extract(epoch from '2026-06-19 17:33:37'::timestamp) - extract(epoch from '2026-06-19 17:33: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'), 46591, 'SRID=4674;POINT (-39.044844 -3.409844)', '2026-06-19 17:33:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044827 -3.409847)'), GeomFromEWKT('SRID=4674;POINT (-39.044844 -3.409844)'))) / (select extract(epoch from '2026-06-19 17:33:44'::timestamp) - extract(epoch from '2026-06-19 17:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044827 -3.409847)'), GeomFromEWKT('SRID=4674;POINT (-39.044844 -3.409844)'))) / (select extract(epoch from '2026-06-19 17:33:44'::timestamp) - extract(epoch from '2026-06-19 17:33: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'), 46591, 'SRID=4674;POINT (-39.044862 -3.409839)', '2026-06-19 17:33:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044844 -3.409844)'), GeomFromEWKT('SRID=4674;POINT (-39.044862 -3.409839)'))) / (select extract(epoch from '2026-06-19 17:33:53'::timestamp) - extract(epoch from '2026-06-19 17:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044844 -3.409844)'), GeomFromEWKT('SRID=4674;POINT (-39.044862 -3.409839)'))) / (select extract(epoch from '2026-06-19 17:33:53'::timestamp) - extract(epoch from '2026-06-19 17:33: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'), 46591, 'SRID=4674;POINT (-39.044882 -3.409833)', '2026-06-19 17:34:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044862 -3.409839)'), GeomFromEWKT('SRID=4674;POINT (-39.044882 -3.409833)'))) / (select extract(epoch from '2026-06-19 17:34:01'::timestamp) - extract(epoch from '2026-06-19 17:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044862 -3.409839)'), GeomFromEWKT('SRID=4674;POINT (-39.044882 -3.409833)'))) / (select extract(epoch from '2026-06-19 17:34:01'::timestamp) - extract(epoch from '2026-06-19 17:33: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'), 46591, 'SRID=4674;POINT (-39.044894 -3.409829)', '2026-06-19 17:34:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044882 -3.409833)'), GeomFromEWKT('SRID=4674;POINT (-39.044894 -3.409829)'))) / (select extract(epoch from '2026-06-19 17:34:07'::timestamp) - extract(epoch from '2026-06-19 17:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044882 -3.409833)'), GeomFromEWKT('SRID=4674;POINT (-39.044894 -3.409829)'))) / (select extract(epoch from '2026-06-19 17:34:07'::timestamp) - extract(epoch from '2026-06-19 17:34: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'), 46591, 'SRID=4674;POINT (-39.044912 -3.409832)', '2026-06-19 17:34:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044894 -3.409829)'), GeomFromEWKT('SRID=4674;POINT (-39.044912 -3.409832)'))) / (select extract(epoch from '2026-06-19 17:34:14'::timestamp) - extract(epoch from '2026-06-19 17:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044894 -3.409829)'), GeomFromEWKT('SRID=4674;POINT (-39.044912 -3.409832)'))) / (select extract(epoch from '2026-06-19 17:34:14'::timestamp) - extract(epoch from '2026-06-19 17:34: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'), 46591, 'SRID=4674;POINT (-39.044937 -3.409825)', '2026-06-19 17:34:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044912 -3.409832)'), GeomFromEWKT('SRID=4674;POINT (-39.044937 -3.409825)'))) / (select extract(epoch from '2026-06-19 17:34:29'::timestamp) - extract(epoch from '2026-06-19 17:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044912 -3.409832)'), GeomFromEWKT('SRID=4674;POINT (-39.044937 -3.409825)'))) / (select extract(epoch from '2026-06-19 17:34:29'::timestamp) - extract(epoch from '2026-06-19 17:34: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'), 46591, 'SRID=4674;POINT (-39.044974 -3.409829)', '2026-06-19 17:34:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044937 -3.409825)'), GeomFromEWKT('SRID=4674;POINT (-39.044974 -3.409829)'))) / (select extract(epoch from '2026-06-19 17:34:44'::timestamp) - extract(epoch from '2026-06-19 17:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044937 -3.409825)'), GeomFromEWKT('SRID=4674;POINT (-39.044974 -3.409829)'))) / (select extract(epoch from '2026-06-19 17:34:44'::timestamp) - extract(epoch from '2026-06-19 17:34: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'), 46591, 'SRID=4674;POINT (-39.045013 -3.409824)', '2026-06-19 17:35:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044974 -3.409829)'), GeomFromEWKT('SRID=4674;POINT (-39.045013 -3.409824)'))) / (select extract(epoch from '2026-06-19 17:35:05'::timestamp) - extract(epoch from '2026-06-19 17:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044974 -3.409829)'), GeomFromEWKT('SRID=4674;POINT (-39.045013 -3.409824)'))) / (select extract(epoch from '2026-06-19 17:35:05'::timestamp) - extract(epoch from '2026-06-19 17:34: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'), 46591, 'SRID=4674;POINT (-39.045046 -3.409821)', '2026-06-19 17:35:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045013 -3.409824)'), GeomFromEWKT('SRID=4674;POINT (-39.045046 -3.409821)'))) / (select extract(epoch from '2026-06-19 17:35:22'::timestamp) - extract(epoch from '2026-06-19 17:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045013 -3.409824)'), GeomFromEWKT('SRID=4674;POINT (-39.045046 -3.409821)'))) / (select extract(epoch from '2026-06-19 17:35:22'::timestamp) - extract(epoch from '2026-06-19 17:35: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'), 46591, 'SRID=4674;POINT (-39.045079 -3.409825)', '2026-06-19 17:35:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045046 -3.409821)'), GeomFromEWKT('SRID=4674;POINT (-39.045079 -3.409825)'))) / (select extract(epoch from '2026-06-19 17:35:36'::timestamp) - extract(epoch from '2026-06-19 17:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045046 -3.409821)'), GeomFromEWKT('SRID=4674;POINT (-39.045079 -3.409825)'))) / (select extract(epoch from '2026-06-19 17:35:36'::timestamp) - extract(epoch from '2026-06-19 17:35: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'), 46591, 'SRID=4674;POINT (-39.045115 -3.409826)', '2026-06-19 17:35:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045079 -3.409825)'), GeomFromEWKT('SRID=4674;POINT (-39.045115 -3.409826)'))) / (select extract(epoch from '2026-06-19 17:35:51'::timestamp) - extract(epoch from '2026-06-19 17:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045079 -3.409825)'), GeomFromEWKT('SRID=4674;POINT (-39.045115 -3.409826)'))) / (select extract(epoch from '2026-06-19 17:35:51'::timestamp) - extract(epoch from '2026-06-19 17:35: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'), 46591, 'SRID=4674;POINT (-39.04515 -3.409822)', '2026-06-19 17:36:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045115 -3.409826)'), GeomFromEWKT('SRID=4674;POINT (-39.04515 -3.409822)'))) / (select extract(epoch from '2026-06-19 17:36:05'::timestamp) - extract(epoch from '2026-06-19 17:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045115 -3.409826)'), GeomFromEWKT('SRID=4674;POINT (-39.04515 -3.409822)'))) / (select extract(epoch from '2026-06-19 17:36:05'::timestamp) - extract(epoch from '2026-06-19 17:35: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'), 46591, 'SRID=4674;POINT (-39.045178 -3.409817)', '2026-06-19 17:36:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04515 -3.409822)'), GeomFromEWKT('SRID=4674;POINT (-39.045178 -3.409817)'))) / (select extract(epoch from '2026-06-19 17:36:18'::timestamp) - extract(epoch from '2026-06-19 17:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04515 -3.409822)'), GeomFromEWKT('SRID=4674;POINT (-39.045178 -3.409817)'))) / (select extract(epoch from '2026-06-19 17:36:18'::timestamp) - extract(epoch from '2026-06-19 17:36: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'), 46591, 'SRID=4674;POINT (-39.045213 -3.409813)', '2026-06-19 17:36:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045178 -3.409817)'), GeomFromEWKT('SRID=4674;POINT (-39.045213 -3.409813)'))) / (select extract(epoch from '2026-06-19 17:36:36'::timestamp) - extract(epoch from '2026-06-19 17:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045178 -3.409817)'), GeomFromEWKT('SRID=4674;POINT (-39.045213 -3.409813)'))) / (select extract(epoch from '2026-06-19 17:36:36'::timestamp) - extract(epoch from '2026-06-19 17:36: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'), 46591, 'SRID=4674;POINT (-39.045242 -3.409815)', '2026-06-19 17:36:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045213 -3.409813)'), GeomFromEWKT('SRID=4674;POINT (-39.045242 -3.409815)'))) / (select extract(epoch from '2026-06-19 17:36:52'::timestamp) - extract(epoch from '2026-06-19 17:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045213 -3.409813)'), GeomFromEWKT('SRID=4674;POINT (-39.045242 -3.409815)'))) / (select extract(epoch from '2026-06-19 17:36:52'::timestamp) - extract(epoch from '2026-06-19 17:36: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'), 46591, 'SRID=4674;POINT (-39.045272 -3.409814)', '2026-06-19 17:37:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045242 -3.409815)'), GeomFromEWKT('SRID=4674;POINT (-39.045272 -3.409814)'))) / (select extract(epoch from '2026-06-19 17:37:09'::timestamp) - extract(epoch from '2026-06-19 17:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045242 -3.409815)'), GeomFromEWKT('SRID=4674;POINT (-39.045272 -3.409814)'))) / (select extract(epoch from '2026-06-19 17:37:09'::timestamp) - extract(epoch from '2026-06-19 17:36: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'), 46591, 'SRID=4674;POINT (-39.045313 -3.409814)', '2026-06-19 17:37:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045272 -3.409814)'), GeomFromEWKT('SRID=4674;POINT (-39.045313 -3.409814)'))) / (select extract(epoch from '2026-06-19 17:37:25'::timestamp) - extract(epoch from '2026-06-19 17:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045272 -3.409814)'), GeomFromEWKT('SRID=4674;POINT (-39.045313 -3.409814)'))) / (select extract(epoch from '2026-06-19 17:37:25'::timestamp) - extract(epoch from '2026-06-19 17:37: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'), 46591, 'SRID=4674;POINT (-39.045332 -3.409817)', '2026-06-19 17:37:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045313 -3.409814)'), GeomFromEWKT('SRID=4674;POINT (-39.045332 -3.409817)'))) / (select extract(epoch from '2026-06-19 17:37:33'::timestamp) - extract(epoch from '2026-06-19 17:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045313 -3.409814)'), GeomFromEWKT('SRID=4674;POINT (-39.045332 -3.409817)'))) / (select extract(epoch from '2026-06-19 17:37:33'::timestamp) - extract(epoch from '2026-06-19 17:37: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'), 46591, 'SRID=4674;POINT (-39.045346 -3.40982)', '2026-06-19 17:37:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045332 -3.409817)'), GeomFromEWKT('SRID=4674;POINT (-39.045346 -3.40982)'))) / (select extract(epoch from '2026-06-19 17:37:41'::timestamp) - extract(epoch from '2026-06-19 17:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045332 -3.409817)'), GeomFromEWKT('SRID=4674;POINT (-39.045346 -3.40982)'))) / (select extract(epoch from '2026-06-19 17:37:41'::timestamp) - extract(epoch from '2026-06-19 17:37: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'), 46591, 'SRID=4674;POINT (-39.045362 -3.409822)', '2026-06-19 17:37:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045346 -3.40982)'), GeomFromEWKT('SRID=4674;POINT (-39.045362 -3.409822)'))) / (select extract(epoch from '2026-06-19 17:37:49'::timestamp) - extract(epoch from '2026-06-19 17:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045346 -3.40982)'), GeomFromEWKT('SRID=4674;POINT (-39.045362 -3.409822)'))) / (select extract(epoch from '2026-06-19 17:37:49'::timestamp) - extract(epoch from '2026-06-19 17:37: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'), 46591, 'SRID=4674;POINT (-39.045379 -3.409816)', '2026-06-19 17:38:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045362 -3.409822)'), GeomFromEWKT('SRID=4674;POINT (-39.045379 -3.409816)'))) / (select extract(epoch from '2026-06-19 17:38:01'::timestamp) - extract(epoch from '2026-06-19 17:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045362 -3.409822)'), GeomFromEWKT('SRID=4674;POINT (-39.045379 -3.409816)'))) / (select extract(epoch from '2026-06-19 17:38:01'::timestamp) - extract(epoch from '2026-06-19 17:37: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'), 46591, 'SRID=4674;POINT (-39.045399 -3.409813)', '2026-06-19 17:38:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045379 -3.409816)'), GeomFromEWKT('SRID=4674;POINT (-39.045399 -3.409813)'))) / (select extract(epoch from '2026-06-19 17:38:11'::timestamp) - extract(epoch from '2026-06-19 17:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045379 -3.409816)'), GeomFromEWKT('SRID=4674;POINT (-39.045399 -3.409813)'))) / (select extract(epoch from '2026-06-19 17:38:11'::timestamp) - extract(epoch from '2026-06-19 17:38: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'), 46591, 'SRID=4674;POINT (-39.045412 -3.409813)', '2026-06-19 17:38:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045399 -3.409813)'), GeomFromEWKT('SRID=4674;POINT (-39.045412 -3.409813)'))) / (select extract(epoch from '2026-06-19 17:38:19'::timestamp) - extract(epoch from '2026-06-19 17:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045399 -3.409813)'), GeomFromEWKT('SRID=4674;POINT (-39.045412 -3.409813)'))) / (select extract(epoch from '2026-06-19 17:38:19'::timestamp) - extract(epoch from '2026-06-19 17:38: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'), 46591, 'SRID=4674;POINT (-39.045434 -3.409817)', '2026-06-19 17:38:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045412 -3.409813)'), GeomFromEWKT('SRID=4674;POINT (-39.045434 -3.409817)'))) / (select extract(epoch from '2026-06-19 17:38:27'::timestamp) - extract(epoch from '2026-06-19 17:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045412 -3.409813)'), GeomFromEWKT('SRID=4674;POINT (-39.045434 -3.409817)'))) / (select extract(epoch from '2026-06-19 17:38:27'::timestamp) - extract(epoch from '2026-06-19 17:38: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'), 46591, 'SRID=4674;POINT (-39.045451 -3.409811)', '2026-06-19 17:38:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045434 -3.409817)'), GeomFromEWKT('SRID=4674;POINT (-39.045451 -3.409811)'))) / (select extract(epoch from '2026-06-19 17:38:38'::timestamp) - extract(epoch from '2026-06-19 17:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045434 -3.409817)'), GeomFromEWKT('SRID=4674;POINT (-39.045451 -3.409811)'))) / (select extract(epoch from '2026-06-19 17:38:38'::timestamp) - extract(epoch from '2026-06-19 17:38: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'), 46591, 'SRID=4674;POINT (-39.045476 -3.409815)', '2026-06-19 17:38:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045451 -3.409811)'), GeomFromEWKT('SRID=4674;POINT (-39.045476 -3.409815)'))) / (select extract(epoch from '2026-06-19 17:38:50'::timestamp) - extract(epoch from '2026-06-19 17:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045451 -3.409811)'), GeomFromEWKT('SRID=4674;POINT (-39.045476 -3.409815)'))) / (select extract(epoch from '2026-06-19 17:38:50'::timestamp) - extract(epoch from '2026-06-19 17:38: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'), 46591, 'SRID=4674;POINT (-39.045494 -3.409817)', '2026-06-19 17:38:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045476 -3.409815)'), GeomFromEWKT('SRID=4674;POINT (-39.045494 -3.409817)'))) / (select extract(epoch from '2026-06-19 17:38:58'::timestamp) - extract(epoch from '2026-06-19 17:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045476 -3.409815)'), GeomFromEWKT('SRID=4674;POINT (-39.045494 -3.409817)'))) / (select extract(epoch from '2026-06-19 17:38:58'::timestamp) - extract(epoch from '2026-06-19 17:38: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'), 46591, 'SRID=4674;POINT (-39.045523 -3.409818)', '2026-06-19 17:39:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045494 -3.409817)'), GeomFromEWKT('SRID=4674;POINT (-39.045523 -3.409818)'))) / (select extract(epoch from '2026-06-19 17:39:09'::timestamp) - extract(epoch from '2026-06-19 17:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045494 -3.409817)'), GeomFromEWKT('SRID=4674;POINT (-39.045523 -3.409818)'))) / (select extract(epoch from '2026-06-19 17:39:09'::timestamp) - extract(epoch from '2026-06-19 17:38: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'), 46591, 'SRID=4674;POINT (-39.045542 -3.409821)', '2026-06-19 17:39:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045523 -3.409818)'), GeomFromEWKT('SRID=4674;POINT (-39.045542 -3.409821)'))) / (select extract(epoch from '2026-06-19 17:39:22'::timestamp) - extract(epoch from '2026-06-19 17:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045523 -3.409818)'), GeomFromEWKT('SRID=4674;POINT (-39.045542 -3.409821)'))) / (select extract(epoch from '2026-06-19 17:39:22'::timestamp) - extract(epoch from '2026-06-19 17:39: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'), 46591, 'SRID=4674;POINT (-39.045554 -3.409824)', '2026-06-19 17:39:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045542 -3.409821)'), GeomFromEWKT('SRID=4674;POINT (-39.045554 -3.409824)'))) / (select extract(epoch from '2026-06-19 17:39:35'::timestamp) - extract(epoch from '2026-06-19 17:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045542 -3.409821)'), GeomFromEWKT('SRID=4674;POINT (-39.045554 -3.409824)'))) / (select extract(epoch from '2026-06-19 17:39:35'::timestamp) - extract(epoch from '2026-06-19 17:39: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'), 46591, 'SRID=4674;POINT (-39.045555 -3.409823)', '2026-06-19 17:39:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045554 -3.409824)'), GeomFromEWKT('SRID=4674;POINT (-39.045555 -3.409823)'))) / (select extract(epoch from '2026-06-19 17:39:48'::timestamp) - extract(epoch from '2026-06-19 17:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045554 -3.409824)'), GeomFromEWKT('SRID=4674;POINT (-39.045555 -3.409823)'))) / (select extract(epoch from '2026-06-19 17:39:48'::timestamp) - extract(epoch from '2026-06-19 17:39: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'), 46591, 'SRID=4674;POINT (-39.045575 -3.409825)', '2026-06-19 17:39:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045555 -3.409823)'), GeomFromEWKT('SRID=4674;POINT (-39.045575 -3.409825)'))) / (select extract(epoch from '2026-06-19 17:39:58'::timestamp) - extract(epoch from '2026-06-19 17:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045555 -3.409823)'), GeomFromEWKT('SRID=4674;POINT (-39.045575 -3.409825)'))) / (select extract(epoch from '2026-06-19 17:39:58'::timestamp) - extract(epoch from '2026-06-19 17:39: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'), 46591, 'SRID=4674;POINT (-39.045597 -3.409828)', '2026-06-19 17:40:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045575 -3.409825)'), GeomFromEWKT('SRID=4674;POINT (-39.045597 -3.409828)'))) / (select extract(epoch from '2026-06-19 17:40:05'::timestamp) - extract(epoch from '2026-06-19 17:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045575 -3.409825)'), GeomFromEWKT('SRID=4674;POINT (-39.045597 -3.409828)'))) / (select extract(epoch from '2026-06-19 17:40:05'::timestamp) - extract(epoch from '2026-06-19 17:39: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'), 46591, 'SRID=4674;POINT (-39.045561 -3.409814)', '2026-06-19 17:40:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045597 -3.409828)'), GeomFromEWKT('SRID=4674;POINT (-39.045561 -3.409814)'))) / (select extract(epoch from '2026-06-19 17:40:13'::timestamp) - extract(epoch from '2026-06-19 17:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045597 -3.409828)'), GeomFromEWKT('SRID=4674;POINT (-39.045561 -3.409814)'))) / (select extract(epoch from '2026-06-19 17:40:13'::timestamp) - extract(epoch from '2026-06-19 17:40: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'), 46591, 'SRID=4674;POINT (-39.045542 -3.409826)', '2026-06-19 17:40:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045561 -3.409814)'), GeomFromEWKT('SRID=4674;POINT (-39.045542 -3.409826)'))) / (select extract(epoch from '2026-06-19 17:40:16'::timestamp) - extract(epoch from '2026-06-19 17:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045561 -3.409814)'), GeomFromEWKT('SRID=4674;POINT (-39.045542 -3.409826)'))) / (select extract(epoch from '2026-06-19 17:40:16'::timestamp) - extract(epoch from '2026-06-19 17:40: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'), 46591, 'SRID=4674;POINT (-39.045512 -3.409841)', '2026-06-19 17:40:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045542 -3.409826)'), GeomFromEWKT('SRID=4674;POINT (-39.045512 -3.409841)'))) / (select extract(epoch from '2026-06-19 17:40:20'::timestamp) - extract(epoch from '2026-06-19 17:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045542 -3.409826)'), GeomFromEWKT('SRID=4674;POINT (-39.045512 -3.409841)'))) / (select extract(epoch from '2026-06-19 17:40:20'::timestamp) - extract(epoch from '2026-06-19 17:40: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'), 46591, 'SRID=4674;POINT (-39.045498 -3.409853)', '2026-06-19 17:40:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045512 -3.409841)'), GeomFromEWKT('SRID=4674;POINT (-39.045498 -3.409853)'))) / (select extract(epoch from '2026-06-19 17:40:22'::timestamp) - extract(epoch from '2026-06-19 17:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045512 -3.409841)'), GeomFromEWKT('SRID=4674;POINT (-39.045498 -3.409853)'))) / (select extract(epoch from '2026-06-19 17:40:22'::timestamp) - extract(epoch from '2026-06-19 17:40: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'), 46591, 'SRID=4674;POINT (-39.045472 -3.409863)', '2026-06-19 17:40:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045498 -3.409853)'), GeomFromEWKT('SRID=4674;POINT (-39.045472 -3.409863)'))) / (select extract(epoch from '2026-06-19 17:40:25'::timestamp) - extract(epoch from '2026-06-19 17:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045498 -3.409853)'), GeomFromEWKT('SRID=4674;POINT (-39.045472 -3.409863)'))) / (select extract(epoch from '2026-06-19 17:40:25'::timestamp) - extract(epoch from '2026-06-19 17:40: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'), 46591, 'SRID=4674;POINT (-39.04545 -3.409879)', '2026-06-19 17:40:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045472 -3.409863)'), GeomFromEWKT('SRID=4674;POINT (-39.04545 -3.409879)'))) / (select extract(epoch from '2026-06-19 17:40:28'::timestamp) - extract(epoch from '2026-06-19 17:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045472 -3.409863)'), GeomFromEWKT('SRID=4674;POINT (-39.04545 -3.409879)'))) / (select extract(epoch from '2026-06-19 17:40:28'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.045418 -3.409892)', '2026-06-19 17:40:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04545 -3.409879)'), GeomFromEWKT('SRID=4674;POINT (-39.045418 -3.409892)'))) / (select extract(epoch from '2026-06-19 17:40:32'::timestamp) - extract(epoch from '2026-06-19 17:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04545 -3.409879)'), GeomFromEWKT('SRID=4674;POINT (-39.045418 -3.409892)'))) / (select extract(epoch from '2026-06-19 17:40:32'::timestamp) - extract(epoch from '2026-06-19 17:40: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'), 46591, 'SRID=4674;POINT (-39.045371 -3.409907)', '2026-06-19 17:40:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045418 -3.409892)'), GeomFromEWKT('SRID=4674;POINT (-39.045371 -3.409907)'))) / (select extract(epoch from '2026-06-19 17:40:38'::timestamp) - extract(epoch from '2026-06-19 17:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045418 -3.409892)'), GeomFromEWKT('SRID=4674;POINT (-39.045371 -3.409907)'))) / (select extract(epoch from '2026-06-19 17:40:38'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.045301 -3.409937)', '2026-06-19 17:40:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045371 -3.409907)'), GeomFromEWKT('SRID=4674;POINT (-39.045301 -3.409937)'))) / (select extract(epoch from '2026-06-19 17:40:47'::timestamp) - extract(epoch from '2026-06-19 17:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045371 -3.409907)'), GeomFromEWKT('SRID=4674;POINT (-39.045301 -3.409937)'))) / (select extract(epoch from '2026-06-19 17:40:47'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.045254 -3.409953)', '2026-06-19 17:40:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045301 -3.409937)'), GeomFromEWKT('SRID=4674;POINT (-39.045254 -3.409953)'))) / (select extract(epoch from '2026-06-19 17:40:53'::timestamp) - extract(epoch from '2026-06-19 17:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045301 -3.409937)'), GeomFromEWKT('SRID=4674;POINT (-39.045254 -3.409953)'))) / (select extract(epoch from '2026-06-19 17:40:53'::timestamp) - extract(epoch from '2026-06-19 17:40: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'), 46591, 'SRID=4674;POINT (-39.045201 -3.409974)', '2026-06-19 17:41:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045254 -3.409953)'), GeomFromEWKT('SRID=4674;POINT (-39.045201 -3.409974)'))) / (select extract(epoch from '2026-06-19 17:41:00'::timestamp) - extract(epoch from '2026-06-19 17:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045254 -3.409953)'), GeomFromEWKT('SRID=4674;POINT (-39.045201 -3.409974)'))) / (select extract(epoch from '2026-06-19 17:41:00'::timestamp) - extract(epoch from '2026-06-19 17:40: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'), 46591, 'SRID=4674;POINT (-39.04515 -3.410009)', '2026-06-19 17:41:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045201 -3.409974)'), GeomFromEWKT('SRID=4674;POINT (-39.04515 -3.410009)'))) / (select extract(epoch from '2026-06-19 17:41:07'::timestamp) - extract(epoch from '2026-06-19 17:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045201 -3.409974)'), GeomFromEWKT('SRID=4674;POINT (-39.04515 -3.410009)'))) / (select extract(epoch from '2026-06-19 17:41:07'::timestamp) - extract(epoch from '2026-06-19 17:41: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'), 46591, 'SRID=4674;POINT (-39.045136 -3.410015)', '2026-06-19 17:41:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04515 -3.410009)'), GeomFromEWKT('SRID=4674;POINT (-39.045136 -3.410015)'))) / (select extract(epoch from '2026-06-19 17:41:09'::timestamp) - extract(epoch from '2026-06-19 17:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04515 -3.410009)'), GeomFromEWKT('SRID=4674;POINT (-39.045136 -3.410015)'))) / (select extract(epoch from '2026-06-19 17:41:09'::timestamp) - extract(epoch from '2026-06-19 17:41: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'), 46591, 'SRID=4674;POINT (-39.045124 -3.410022)', '2026-06-19 17:41:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045136 -3.410015)'), GeomFromEWKT('SRID=4674;POINT (-39.045124 -3.410022)'))) / (select extract(epoch from '2026-06-19 17:41:11'::timestamp) - extract(epoch from '2026-06-19 17:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045136 -3.410015)'), GeomFromEWKT('SRID=4674;POINT (-39.045124 -3.410022)'))) / (select extract(epoch from '2026-06-19 17:41:11'::timestamp) - extract(epoch from '2026-06-19 17:41: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'), 46591, 'SRID=4674;POINT (-39.045107 -3.410029)', '2026-06-19 17:41:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045124 -3.410022)'), GeomFromEWKT('SRID=4674;POINT (-39.045107 -3.410029)'))) / (select extract(epoch from '2026-06-19 17:41:13'::timestamp) - extract(epoch from '2026-06-19 17:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045124 -3.410022)'), GeomFromEWKT('SRID=4674;POINT (-39.045107 -3.410029)'))) / (select extract(epoch from '2026-06-19 17:41:13'::timestamp) - extract(epoch from '2026-06-19 17:41: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'), 46591, 'SRID=4674;POINT (-39.04505 -3.410045)', '2026-06-19 17:41:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045107 -3.410029)'), GeomFromEWKT('SRID=4674;POINT (-39.04505 -3.410045)'))) / (select extract(epoch from '2026-06-19 17:41:20'::timestamp) - extract(epoch from '2026-06-19 17:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045107 -3.410029)'), GeomFromEWKT('SRID=4674;POINT (-39.04505 -3.410045)'))) / (select extract(epoch from '2026-06-19 17:41:20'::timestamp) - extract(epoch from '2026-06-19 17:41: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'), 46591, 'SRID=4674;POINT (-39.045017 -3.41005)', '2026-06-19 17:41:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04505 -3.410045)'), GeomFromEWKT('SRID=4674;POINT (-39.045017 -3.41005)'))) / (select extract(epoch from '2026-06-19 17:41:24'::timestamp) - extract(epoch from '2026-06-19 17:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04505 -3.410045)'), GeomFromEWKT('SRID=4674;POINT (-39.045017 -3.41005)'))) / (select extract(epoch from '2026-06-19 17:41:24'::timestamp) - extract(epoch from '2026-06-19 17:41: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'), 46591, 'SRID=4674;POINT (-39.044994 -3.410063)', '2026-06-19 17:41:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045017 -3.41005)'), GeomFromEWKT('SRID=4674;POINT (-39.044994 -3.410063)'))) / (select extract(epoch from '2026-06-19 17:41:27'::timestamp) - extract(epoch from '2026-06-19 17:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045017 -3.41005)'), GeomFromEWKT('SRID=4674;POINT (-39.044994 -3.410063)'))) / (select extract(epoch from '2026-06-19 17:41:27'::timestamp) - extract(epoch from '2026-06-19 17:41: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'), 46591, 'SRID=4674;POINT (-39.044987 -3.410066)', '2026-06-19 17:41:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044994 -3.410063)'), GeomFromEWKT('SRID=4674;POINT (-39.044987 -3.410066)'))) / (select extract(epoch from '2026-06-19 17:41:28'::timestamp) - extract(epoch from '2026-06-19 17:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044994 -3.410063)'), GeomFromEWKT('SRID=4674;POINT (-39.044987 -3.410066)'))) / (select extract(epoch from '2026-06-19 17:41:28'::timestamp) - extract(epoch from '2026-06-19 17:41: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'), 46591, 'SRID=4674;POINT (-39.044955 -3.410073)', '2026-06-19 17:41:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044987 -3.410066)'), GeomFromEWKT('SRID=4674;POINT (-39.044955 -3.410073)'))) / (select extract(epoch from '2026-06-19 17:41:32'::timestamp) - extract(epoch from '2026-06-19 17:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044987 -3.410066)'), GeomFromEWKT('SRID=4674;POINT (-39.044955 -3.410073)'))) / (select extract(epoch from '2026-06-19 17:41:32'::timestamp) - extract(epoch from '2026-06-19 17:41: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'), 46591, 'SRID=4674;POINT (-39.044946 -3.410069)', '2026-06-19 17:41:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044955 -3.410073)'), GeomFromEWKT('SRID=4674;POINT (-39.044946 -3.410069)'))) / (select extract(epoch from '2026-06-19 17:41:33'::timestamp) - extract(epoch from '2026-06-19 17:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044955 -3.410073)'), GeomFromEWKT('SRID=4674;POINT (-39.044946 -3.410069)'))) / (select extract(epoch from '2026-06-19 17:41:33'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.044906 -3.410084)', '2026-06-19 17:41:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044946 -3.410069)'), GeomFromEWKT('SRID=4674;POINT (-39.044906 -3.410084)'))) / (select extract(epoch from '2026-06-19 17:41:39'::timestamp) - extract(epoch from '2026-06-19 17:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044946 -3.410069)'), GeomFromEWKT('SRID=4674;POINT (-39.044906 -3.410084)'))) / (select extract(epoch from '2026-06-19 17:41:39'::timestamp) - extract(epoch from '2026-06-19 17:41: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'), 46591, 'SRID=4674;POINT (-39.044837 -3.410098)', '2026-06-19 17:41:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044906 -3.410084)'), GeomFromEWKT('SRID=4674;POINT (-39.044837 -3.410098)'))) / (select extract(epoch from '2026-06-19 17:41:48'::timestamp) - extract(epoch from '2026-06-19 17:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044906 -3.410084)'), GeomFromEWKT('SRID=4674;POINT (-39.044837 -3.410098)'))) / (select extract(epoch from '2026-06-19 17:41:48'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.044817 -3.410115)', '2026-06-19 17:41:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044837 -3.410098)'), GeomFromEWKT('SRID=4674;POINT (-39.044817 -3.410115)'))) / (select extract(epoch from '2026-06-19 17:41:51'::timestamp) - extract(epoch from '2026-06-19 17:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044837 -3.410098)'), GeomFromEWKT('SRID=4674;POINT (-39.044817 -3.410115)'))) / (select extract(epoch from '2026-06-19 17:41:51'::timestamp) - extract(epoch from '2026-06-19 17:41: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'), 46591, 'SRID=4674;POINT (-39.044797 -3.410115)', '2026-06-19 17:41:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044817 -3.410115)'), GeomFromEWKT('SRID=4674;POINT (-39.044797 -3.410115)'))) / (select extract(epoch from '2026-06-19 17:41:53'::timestamp) - extract(epoch from '2026-06-19 17:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044817 -3.410115)'), GeomFromEWKT('SRID=4674;POINT (-39.044797 -3.410115)'))) / (select extract(epoch from '2026-06-19 17:41:53'::timestamp) - extract(epoch from '2026-06-19 17:41: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'), 46591, 'SRID=4674;POINT (-39.044756 -3.410137)', '2026-06-19 17:42:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044797 -3.410115)'), GeomFromEWKT('SRID=4674;POINT (-39.044756 -3.410137)'))) / (select extract(epoch from '2026-06-19 17:42:00'::timestamp) - extract(epoch from '2026-06-19 17:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044797 -3.410115)'), GeomFromEWKT('SRID=4674;POINT (-39.044756 -3.410137)'))) / (select extract(epoch from '2026-06-19 17:42:00'::timestamp) - extract(epoch from '2026-06-19 17:41: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'), 46591, 'SRID=4674;POINT (-39.044694 -3.410147)', '2026-06-19 17:42:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044756 -3.410137)'), GeomFromEWKT('SRID=4674;POINT (-39.044694 -3.410147)'))) / (select extract(epoch from '2026-06-19 17:42:08'::timestamp) - extract(epoch from '2026-06-19 17:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044756 -3.410137)'), GeomFromEWKT('SRID=4674;POINT (-39.044694 -3.410147)'))) / (select extract(epoch from '2026-06-19 17:42:08'::timestamp) - extract(epoch from '2026-06-19 17:42: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'), 46591, 'SRID=4674;POINT (-39.044631 -3.410158)', '2026-06-19 17:42:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044694 -3.410147)'), GeomFromEWKT('SRID=4674;POINT (-39.044631 -3.410158)'))) / (select extract(epoch from '2026-06-19 17:42:16'::timestamp) - extract(epoch from '2026-06-19 17:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044694 -3.410147)'), GeomFromEWKT('SRID=4674;POINT (-39.044631 -3.410158)'))) / (select extract(epoch from '2026-06-19 17:42:16'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.044574 -3.410181)', '2026-06-19 17:42:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044631 -3.410158)'), GeomFromEWKT('SRID=4674;POINT (-39.044574 -3.410181)'))) / (select extract(epoch from '2026-06-19 17:42:25'::timestamp) - extract(epoch from '2026-06-19 17:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044631 -3.410158)'), GeomFromEWKT('SRID=4674;POINT (-39.044574 -3.410181)'))) / (select extract(epoch from '2026-06-19 17:42:25'::timestamp) - extract(epoch from '2026-06-19 17:42: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'), 46591, 'SRID=4674;POINT (-39.044502 -3.410201)', '2026-06-19 17:42:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044574 -3.410181)'), GeomFromEWKT('SRID=4674;POINT (-39.044502 -3.410201)'))) / (select extract(epoch from '2026-06-19 17:42:35'::timestamp) - extract(epoch from '2026-06-19 17:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044574 -3.410181)'), GeomFromEWKT('SRID=4674;POINT (-39.044502 -3.410201)'))) / (select extract(epoch from '2026-06-19 17:42:35'::timestamp) - extract(epoch from '2026-06-19 17:42: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'), 46591, 'SRID=4674;POINT (-39.044446 -3.410216)', '2026-06-19 17:42:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044502 -3.410201)'), GeomFromEWKT('SRID=4674;POINT (-39.044446 -3.410216)'))) / (select extract(epoch from '2026-06-19 17:42:42'::timestamp) - extract(epoch from '2026-06-19 17:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044502 -3.410201)'), GeomFromEWKT('SRID=4674;POINT (-39.044446 -3.410216)'))) / (select extract(epoch from '2026-06-19 17:42:42'::timestamp) - extract(epoch from '2026-06-19 17:42: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'), 46591, 'SRID=4674;POINT (-39.044399 -3.410232)', '2026-06-19 17:42:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044446 -3.410216)'), GeomFromEWKT('SRID=4674;POINT (-39.044399 -3.410232)'))) / (select extract(epoch from '2026-06-19 17:42:49'::timestamp) - extract(epoch from '2026-06-19 17:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044446 -3.410216)'), GeomFromEWKT('SRID=4674;POINT (-39.044399 -3.410232)'))) / (select extract(epoch from '2026-06-19 17:42:49'::timestamp) - extract(epoch from '2026-06-19 17:42: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'), 46591, 'SRID=4674;POINT (-39.04436 -3.410248)', '2026-06-19 17:42:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044399 -3.410232)'), GeomFromEWKT('SRID=4674;POINT (-39.04436 -3.410248)'))) / (select extract(epoch from '2026-06-19 17:42:55'::timestamp) - extract(epoch from '2026-06-19 17:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044399 -3.410232)'), GeomFromEWKT('SRID=4674;POINT (-39.04436 -3.410248)'))) / (select extract(epoch from '2026-06-19 17:42:55'::timestamp) - extract(epoch from '2026-06-19 17:42: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'), 46591, 'SRID=4674;POINT (-39.044299 -3.410272)', '2026-06-19 17:43:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04436 -3.410248)'), GeomFromEWKT('SRID=4674;POINT (-39.044299 -3.410272)'))) / (select extract(epoch from '2026-06-19 17:43:03'::timestamp) - extract(epoch from '2026-06-19 17:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04436 -3.410248)'), GeomFromEWKT('SRID=4674;POINT (-39.044299 -3.410272)'))) / (select extract(epoch from '2026-06-19 17:43:03'::timestamp) - extract(epoch from '2026-06-19 17:42: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'), 46591, 'SRID=4674;POINT (-39.044256 -3.410279)', '2026-06-19 17:43:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044299 -3.410272)'), GeomFromEWKT('SRID=4674;POINT (-39.044256 -3.410279)'))) / (select extract(epoch from '2026-06-19 17:43:10'::timestamp) - extract(epoch from '2026-06-19 17:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044299 -3.410272)'), GeomFromEWKT('SRID=4674;POINT (-39.044256 -3.410279)'))) / (select extract(epoch from '2026-06-19 17:43:10'::timestamp) - extract(epoch from '2026-06-19 17:43: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'), 46591, 'SRID=4674;POINT (-39.044199 -3.4103)', '2026-06-19 17:43:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044256 -3.410279)'), GeomFromEWKT('SRID=4674;POINT (-39.044199 -3.4103)'))) / (select extract(epoch from '2026-06-19 17:43:17'::timestamp) - extract(epoch from '2026-06-19 17:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044256 -3.410279)'), GeomFromEWKT('SRID=4674;POINT (-39.044199 -3.4103)'))) / (select extract(epoch from '2026-06-19 17:43:17'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.044128 -3.410316)', '2026-06-19 17:43:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044199 -3.4103)'), GeomFromEWKT('SRID=4674;POINT (-39.044128 -3.410316)'))) / (select extract(epoch from '2026-06-19 17:43:26'::timestamp) - extract(epoch from '2026-06-19 17:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044199 -3.4103)'), GeomFromEWKT('SRID=4674;POINT (-39.044128 -3.410316)'))) / (select extract(epoch from '2026-06-19 17:43:26'::timestamp) - extract(epoch from '2026-06-19 17:43: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'), 46591, 'SRID=4674;POINT (-39.044078 -3.410339)', '2026-06-19 17:43:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044128 -3.410316)'), GeomFromEWKT('SRID=4674;POINT (-39.044078 -3.410339)'))) / (select extract(epoch from '2026-06-19 17:43:33'::timestamp) - extract(epoch from '2026-06-19 17:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044128 -3.410316)'), GeomFromEWKT('SRID=4674;POINT (-39.044078 -3.410339)'))) / (select extract(epoch from '2026-06-19 17:43:33'::timestamp) - extract(epoch from '2026-06-19 17:43: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'), 46591, 'SRID=4674;POINT (-39.044039 -3.410357)', '2026-06-19 17:43:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044078 -3.410339)'), GeomFromEWKT('SRID=4674;POINT (-39.044039 -3.410357)'))) / (select extract(epoch from '2026-06-19 17:43:39'::timestamp) - extract(epoch from '2026-06-19 17:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044078 -3.410339)'), GeomFromEWKT('SRID=4674;POINT (-39.044039 -3.410357)'))) / (select extract(epoch from '2026-06-19 17:43:39'::timestamp) - extract(epoch from '2026-06-19 17:43: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'), 46591, 'SRID=4674;POINT (-39.043962 -3.410378)', '2026-06-19 17:43:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044039 -3.410357)'), GeomFromEWKT('SRID=4674;POINT (-39.043962 -3.410378)'))) / (select extract(epoch from '2026-06-19 17:43:49'::timestamp) - extract(epoch from '2026-06-19 17:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044039 -3.410357)'), GeomFromEWKT('SRID=4674;POINT (-39.043962 -3.410378)'))) / (select extract(epoch from '2026-06-19 17:43:49'::timestamp) - extract(epoch from '2026-06-19 17:43: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'), 46591, 'SRID=4674;POINT (-39.043894 -3.410396)', '2026-06-19 17:43:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043962 -3.410378)'), GeomFromEWKT('SRID=4674;POINT (-39.043894 -3.410396)'))) / (select extract(epoch from '2026-06-19 17:43:58'::timestamp) - extract(epoch from '2026-06-19 17:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043962 -3.410378)'), GeomFromEWKT('SRID=4674;POINT (-39.043894 -3.410396)'))) / (select extract(epoch from '2026-06-19 17:43:58'::timestamp) - extract(epoch from '2026-06-19 17:43: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'), 46591, 'SRID=4674;POINT (-39.043829 -3.410426)', '2026-06-19 17:44:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043894 -3.410396)'), GeomFromEWKT('SRID=4674;POINT (-39.043829 -3.410426)'))) / (select extract(epoch from '2026-06-19 17:44:07'::timestamp) - extract(epoch from '2026-06-19 17:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043894 -3.410396)'), GeomFromEWKT('SRID=4674;POINT (-39.043829 -3.410426)'))) / (select extract(epoch from '2026-06-19 17:44:07'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.04377 -3.410452)', '2026-06-19 17:44:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043829 -3.410426)'), GeomFromEWKT('SRID=4674;POINT (-39.04377 -3.410452)'))) / (select extract(epoch from '2026-06-19 17:44:16'::timestamp) - extract(epoch from '2026-06-19 17:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043829 -3.410426)'), GeomFromEWKT('SRID=4674;POINT (-39.04377 -3.410452)'))) / (select extract(epoch from '2026-06-19 17:44:16'::timestamp) - extract(epoch from '2026-06-19 17:44: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'), 46591, 'SRID=4674;POINT (-39.043712 -3.41047)', '2026-06-19 17:44:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04377 -3.410452)'), GeomFromEWKT('SRID=4674;POINT (-39.043712 -3.41047)'))) / (select extract(epoch from '2026-06-19 17:44:24'::timestamp) - extract(epoch from '2026-06-19 17:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04377 -3.410452)'), GeomFromEWKT('SRID=4674;POINT (-39.043712 -3.41047)'))) / (select extract(epoch from '2026-06-19 17:44:24'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.043662 -3.410487)', '2026-06-19 17:44:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043712 -3.41047)'), GeomFromEWKT('SRID=4674;POINT (-39.043662 -3.410487)'))) / (select extract(epoch from '2026-06-19 17:44:31'::timestamp) - extract(epoch from '2026-06-19 17:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043712 -3.41047)'), GeomFromEWKT('SRID=4674;POINT (-39.043662 -3.410487)'))) / (select extract(epoch from '2026-06-19 17:44:31'::timestamp) - extract(epoch from '2026-06-19 17:44: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'), 46591, 'SRID=4674;POINT (-39.043609 -3.410507)', '2026-06-19 17:44:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043662 -3.410487)'), GeomFromEWKT('SRID=4674;POINT (-39.043609 -3.410507)'))) / (select extract(epoch from '2026-06-19 17:44:38'::timestamp) - extract(epoch from '2026-06-19 17:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043662 -3.410487)'), GeomFromEWKT('SRID=4674;POINT (-39.043609 -3.410507)'))) / (select extract(epoch from '2026-06-19 17:44:38'::timestamp) - extract(epoch from '2026-06-19 17:44: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'), 46591, 'SRID=4674;POINT (-39.043595 -3.410516)', '2026-06-19 17:44:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043609 -3.410507)'), GeomFromEWKT('SRID=4674;POINT (-39.043595 -3.410516)'))) / (select extract(epoch from '2026-06-19 17:44:40'::timestamp) - extract(epoch from '2026-06-19 17:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043609 -3.410507)'), GeomFromEWKT('SRID=4674;POINT (-39.043595 -3.410516)'))) / (select extract(epoch from '2026-06-19 17:44:40'::timestamp) - extract(epoch from '2026-06-19 17:44: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'), 46591, 'SRID=4674;POINT (-39.043561 -3.410518)', '2026-06-19 17:44:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043595 -3.410516)'), GeomFromEWKT('SRID=4674;POINT (-39.043561 -3.410518)'))) / (select extract(epoch from '2026-06-19 17:44:45'::timestamp) - extract(epoch from '2026-06-19 17:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043595 -3.410516)'), GeomFromEWKT('SRID=4674;POINT (-39.043561 -3.410518)'))) / (select extract(epoch from '2026-06-19 17:44:45'::timestamp) - extract(epoch from '2026-06-19 17:44: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'), 46591, 'SRID=4674;POINT (-39.043551 -3.41053)', '2026-06-19 17:44:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043561 -3.410518)'), GeomFromEWKT('SRID=4674;POINT (-39.043551 -3.41053)'))) / (select extract(epoch from '2026-06-19 17:44:47'::timestamp) - extract(epoch from '2026-06-19 17:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043561 -3.410518)'), GeomFromEWKT('SRID=4674;POINT (-39.043551 -3.41053)'))) / (select extract(epoch from '2026-06-19 17:44:47'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.043507 -3.410545)', '2026-06-19 17:44:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043551 -3.41053)'), GeomFromEWKT('SRID=4674;POINT (-39.043507 -3.410545)'))) / (select extract(epoch from '2026-06-19 17:44:53'::timestamp) - extract(epoch from '2026-06-19 17:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043551 -3.41053)'), GeomFromEWKT('SRID=4674;POINT (-39.043507 -3.410545)'))) / (select extract(epoch from '2026-06-19 17:44:53'::timestamp) - extract(epoch from '2026-06-19 17:44: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'), 46591, 'SRID=4674;POINT (-39.043453 -3.410571)', '2026-06-19 17:45:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043507 -3.410545)'), GeomFromEWKT('SRID=4674;POINT (-39.043453 -3.410571)'))) / (select extract(epoch from '2026-06-19 17:45:01'::timestamp) - extract(epoch from '2026-06-19 17:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043507 -3.410545)'), GeomFromEWKT('SRID=4674;POINT (-39.043453 -3.410571)'))) / (select extract(epoch from '2026-06-19 17:45:01'::timestamp) - extract(epoch from '2026-06-19 17:44: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'), 46591, 'SRID=4674;POINT (-39.043389 -3.410598)', '2026-06-19 17:45:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043453 -3.410571)'), GeomFromEWKT('SRID=4674;POINT (-39.043389 -3.410598)'))) / (select extract(epoch from '2026-06-19 17:45:10'::timestamp) - extract(epoch from '2026-06-19 17:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043453 -3.410571)'), GeomFromEWKT('SRID=4674;POINT (-39.043389 -3.410598)'))) / (select extract(epoch from '2026-06-19 17:45:10'::timestamp) - extract(epoch from '2026-06-19 17:45: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'), 46591, 'SRID=4674;POINT (-39.043331 -3.410626)', '2026-06-19 17:45:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043389 -3.410598)'), GeomFromEWKT('SRID=4674;POINT (-39.043331 -3.410626)'))) / (select extract(epoch from '2026-06-19 17:45:19'::timestamp) - extract(epoch from '2026-06-19 17:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043389 -3.410598)'), GeomFromEWKT('SRID=4674;POINT (-39.043331 -3.410626)'))) / (select extract(epoch from '2026-06-19 17:45:19'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.043264 -3.410651)', '2026-06-19 17:45:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043331 -3.410626)'), GeomFromEWKT('SRID=4674;POINT (-39.043264 -3.410651)'))) / (select extract(epoch from '2026-06-19 17:45:29'::timestamp) - extract(epoch from '2026-06-19 17:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043331 -3.410626)'), GeomFromEWKT('SRID=4674;POINT (-39.043264 -3.410651)'))) / (select extract(epoch from '2026-06-19 17:45:29'::timestamp) - extract(epoch from '2026-06-19 17:45: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'), 46591, 'SRID=4674;POINT (-39.043216 -3.410675)', '2026-06-19 17:45:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043264 -3.410651)'), GeomFromEWKT('SRID=4674;POINT (-39.043216 -3.410675)'))) / (select extract(epoch from '2026-06-19 17:45:36'::timestamp) - extract(epoch from '2026-06-19 17:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043264 -3.410651)'), GeomFromEWKT('SRID=4674;POINT (-39.043216 -3.410675)'))) / (select extract(epoch from '2026-06-19 17:45:36'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.04318 -3.410704)', '2026-06-19 17:45:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043216 -3.410675)'), GeomFromEWKT('SRID=4674;POINT (-39.04318 -3.410704)'))) / (select extract(epoch from '2026-06-19 17:45:42'::timestamp) - extract(epoch from '2026-06-19 17:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043216 -3.410675)'), GeomFromEWKT('SRID=4674;POINT (-39.04318 -3.410704)'))) / (select extract(epoch from '2026-06-19 17:45:42'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.043126 -3.410726)', '2026-06-19 17:45:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04318 -3.410704)'), GeomFromEWKT('SRID=4674;POINT (-39.043126 -3.410726)'))) / (select extract(epoch from '2026-06-19 17:45:49'::timestamp) - extract(epoch from '2026-06-19 17:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04318 -3.410704)'), GeomFromEWKT('SRID=4674;POINT (-39.043126 -3.410726)'))) / (select extract(epoch from '2026-06-19 17:45:49'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.043072 -3.41074)', '2026-06-19 17:45:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043126 -3.410726)'), GeomFromEWKT('SRID=4674;POINT (-39.043072 -3.41074)'))) / (select extract(epoch from '2026-06-19 17:45:56'::timestamp) - extract(epoch from '2026-06-19 17:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043126 -3.410726)'), GeomFromEWKT('SRID=4674;POINT (-39.043072 -3.41074)'))) / (select extract(epoch from '2026-06-19 17:45:56'::timestamp) - extract(epoch from '2026-06-19 17:45: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'), 46591, 'SRID=4674;POINT (-39.043038 -3.41076)', '2026-06-19 17:46:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043072 -3.41074)'), GeomFromEWKT('SRID=4674;POINT (-39.043038 -3.41076)'))) / (select extract(epoch from '2026-06-19 17:46:01'::timestamp) - extract(epoch from '2026-06-19 17:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043072 -3.41074)'), GeomFromEWKT('SRID=4674;POINT (-39.043038 -3.41076)'))) / (select extract(epoch from '2026-06-19 17:46:01'::timestamp) - extract(epoch from '2026-06-19 17:45:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.043022 -3.410766)', '2026-06-19 17:46:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043038 -3.41076)'), GeomFromEWKT('SRID=4674;POINT (-39.043022 -3.410766)'))) / (select extract(epoch from '2026-06-19 17:46:03'::timestamp) - extract(epoch from '2026-06-19 17:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043038 -3.41076)'), GeomFromEWKT('SRID=4674;POINT (-39.043022 -3.410766)'))) / (select extract(epoch from '2026-06-19 17:46:03'::timestamp) - extract(epoch from '2026-06-19 17:46: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'), 46591, 'SRID=4674;POINT (-39.042967 -3.410804)', '2026-06-19 17:46:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043022 -3.410766)'), GeomFromEWKT('SRID=4674;POINT (-39.042967 -3.410804)'))) / (select extract(epoch from '2026-06-19 17:46:11'::timestamp) - extract(epoch from '2026-06-19 17:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043022 -3.410766)'), GeomFromEWKT('SRID=4674;POINT (-39.042967 -3.410804)'))) / (select extract(epoch from '2026-06-19 17:46:11'::timestamp) - extract(epoch from '2026-06-19 17:46: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'), 46591, 'SRID=4674;POINT (-39.042923 -3.410836)', '2026-06-19 17:46:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042967 -3.410804)'), GeomFromEWKT('SRID=4674;POINT (-39.042923 -3.410836)'))) / (select extract(epoch from '2026-06-19 17:46:18'::timestamp) - extract(epoch from '2026-06-19 17:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042967 -3.410804)'), GeomFromEWKT('SRID=4674;POINT (-39.042923 -3.410836)'))) / (select extract(epoch from '2026-06-19 17:46:18'::timestamp) - extract(epoch from '2026-06-19 17:46:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.042896 -3.410849)', '2026-06-19 17:46:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042923 -3.410836)'), GeomFromEWKT('SRID=4674;POINT (-39.042896 -3.410849)'))) / (select extract(epoch from '2026-06-19 17:46:22'::timestamp) - extract(epoch from '2026-06-19 17:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042923 -3.410836)'), GeomFromEWKT('SRID=4674;POINT (-39.042896 -3.410849)'))) / (select extract(epoch from '2026-06-19 17:46:22'::timestamp) - extract(epoch from '2026-06-19 17:46: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'), 46591, 'SRID=4674;POINT (-39.042873 -3.410871)', '2026-06-19 17:46:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042896 -3.410849)'), GeomFromEWKT('SRID=4674;POINT (-39.042873 -3.410871)'))) / (select extract(epoch from '2026-06-19 17:46:26'::timestamp) - extract(epoch from '2026-06-19 17:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042896 -3.410849)'), GeomFromEWKT('SRID=4674;POINT (-39.042873 -3.410871)'))) / (select extract(epoch from '2026-06-19 17:46:26'::timestamp) - extract(epoch from '2026-06-19 17:46: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'), 46591, 'SRID=4674;POINT (-39.042808 -3.410907)', '2026-06-19 17:46:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042873 -3.410871)'), GeomFromEWKT('SRID=4674;POINT (-39.042808 -3.410907)'))) / (select extract(epoch from '2026-06-19 17:46:36'::timestamp) - extract(epoch from '2026-06-19 17:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042873 -3.410871)'), GeomFromEWKT('SRID=4674;POINT (-39.042808 -3.410907)'))) / (select extract(epoch from '2026-06-19 17:46:36'::timestamp) - extract(epoch from '2026-06-19 17:46: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'), 46591, 'SRID=4674;POINT (-39.042729 -3.410947)', '2026-06-19 17:46:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042808 -3.410907)'), GeomFromEWKT('SRID=4674;POINT (-39.042729 -3.410947)'))) / (select extract(epoch from '2026-06-19 17:46:47'::timestamp) - extract(epoch from '2026-06-19 17:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042808 -3.410907)'), GeomFromEWKT('SRID=4674;POINT (-39.042729 -3.410947)'))) / (select extract(epoch from '2026-06-19 17:46:47'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.042651 -3.410975)', '2026-06-19 17:46:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042729 -3.410947)'), GeomFromEWKT('SRID=4674;POINT (-39.042651 -3.410975)'))) / (select extract(epoch from '2026-06-19 17:46:57'::timestamp) - extract(epoch from '2026-06-19 17:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042729 -3.410947)'), GeomFromEWKT('SRID=4674;POINT (-39.042651 -3.410975)'))) / (select extract(epoch from '2026-06-19 17:46:57'::timestamp) - extract(epoch from '2026-06-19 17:46: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'), 46591, 'SRID=4674;POINT (-39.042645 -3.410981)', '2026-06-19 17:46:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042651 -3.410975)'), GeomFromEWKT('SRID=4674;POINT (-39.042645 -3.410981)'))) / (select extract(epoch from '2026-06-19 17:46:58'::timestamp) - extract(epoch from '2026-06-19 17:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042651 -3.410975)'), GeomFromEWKT('SRID=4674;POINT (-39.042645 -3.410981)'))) / (select extract(epoch from '2026-06-19 17:46:58'::timestamp) - extract(epoch from '2026-06-19 17:46: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'), 46591, 'SRID=4674;POINT (-39.042604 -3.410999)', '2026-06-19 17:47:03', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042645 -3.410981)'), GeomFromEWKT('SRID=4674;POINT (-39.042604 -3.410999)'))) / (select extract(epoch from '2026-06-19 17:47:03'::timestamp) - extract(epoch from '2026-06-19 17:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042645 -3.410981)'), GeomFromEWKT('SRID=4674;POINT (-39.042604 -3.410999)'))) / (select extract(epoch from '2026-06-19 17:47:03'::timestamp) - extract(epoch from '2026-06-19 17:46: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'), 46591, 'SRID=4674;POINT (-39.04254 -3.411027)', '2026-06-19 17:47:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042604 -3.410999)'), GeomFromEWKT('SRID=4674;POINT (-39.04254 -3.411027)'))) / (select extract(epoch from '2026-06-19 17:47:11'::timestamp) - extract(epoch from '2026-06-19 17:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042604 -3.410999)'), GeomFromEWKT('SRID=4674;POINT (-39.04254 -3.411027)'))) / (select extract(epoch from '2026-06-19 17:47:11'::timestamp) - extract(epoch from '2026-06-19 17:47: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'), 46591, 'SRID=4674;POINT (-39.042477 -3.411062)', '2026-06-19 17:47:19', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04254 -3.411027)'), GeomFromEWKT('SRID=4674;POINT (-39.042477 -3.411062)'))) / (select extract(epoch from '2026-06-19 17:47:19'::timestamp) - extract(epoch from '2026-06-19 17:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04254 -3.411027)'), GeomFromEWKT('SRID=4674;POINT (-39.042477 -3.411062)'))) / (select extract(epoch from '2026-06-19 17:47:19'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.042409 -3.411107)', '2026-06-19 17:47:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042477 -3.411062)'), GeomFromEWKT('SRID=4674;POINT (-39.042409 -3.411107)'))) / (select extract(epoch from '2026-06-19 17:47:28'::timestamp) - extract(epoch from '2026-06-19 17:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042477 -3.411062)'), GeomFromEWKT('SRID=4674;POINT (-39.042409 -3.411107)'))) / (select extract(epoch from '2026-06-19 17:47:28'::timestamp) - extract(epoch from '2026-06-19 17:47: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'), 46591, 'SRID=4674;POINT (-39.042354 -3.411133)', '2026-06-19 17:47:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042409 -3.411107)'), GeomFromEWKT('SRID=4674;POINT (-39.042354 -3.411133)'))) / (select extract(epoch from '2026-06-19 17:47:35'::timestamp) - extract(epoch from '2026-06-19 17:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042409 -3.411107)'), GeomFromEWKT('SRID=4674;POINT (-39.042354 -3.411133)'))) / (select extract(epoch from '2026-06-19 17:47:35'::timestamp) - extract(epoch from '2026-06-19 17:47:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.042347 -3.411138)', '2026-06-19 17:47:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042354 -3.411133)'), GeomFromEWKT('SRID=4674;POINT (-39.042347 -3.411138)'))) / (select extract(epoch from '2026-06-19 17:47:36'::timestamp) - extract(epoch from '2026-06-19 17:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042354 -3.411133)'), GeomFromEWKT('SRID=4674;POINT (-39.042347 -3.411138)'))) / (select extract(epoch from '2026-06-19 17:47:36'::timestamp) - extract(epoch from '2026-06-19 17:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.04234 -3.411145)', '2026-06-19 17:47:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042347 -3.411138)'), GeomFromEWKT('SRID=4674;POINT (-39.04234 -3.411145)'))) / (select extract(epoch from '2026-06-19 17:47:37'::timestamp) - extract(epoch from '2026-06-19 17:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042347 -3.411138)'), GeomFromEWKT('SRID=4674;POINT (-39.04234 -3.411145)'))) / (select extract(epoch from '2026-06-19 17:47:37'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.042306 -3.411164)', '2026-06-19 17:47:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04234 -3.411145)'), GeomFromEWKT('SRID=4674;POINT (-39.042306 -3.411164)'))) / (select extract(epoch from '2026-06-19 17:47:42'::timestamp) - extract(epoch from '2026-06-19 17:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04234 -3.411145)'), GeomFromEWKT('SRID=4674;POINT (-39.042306 -3.411164)'))) / (select extract(epoch from '2026-06-19 17:47:42'::timestamp) - extract(epoch from '2026-06-19 17:47: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'), 46591, 'SRID=4674;POINT (-39.042262 -3.411199)', '2026-06-19 17:47:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042306 -3.411164)'), GeomFromEWKT('SRID=4674;POINT (-39.042262 -3.411199)'))) / (select extract(epoch from '2026-06-19 17:47:49'::timestamp) - extract(epoch from '2026-06-19 17:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042306 -3.411164)'), GeomFromEWKT('SRID=4674;POINT (-39.042262 -3.411199)'))) / (select extract(epoch from '2026-06-19 17:47:49'::timestamp) - extract(epoch from '2026-06-19 17:47: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'), 46591, 'SRID=4674;POINT (-39.042236 -3.411239)', '2026-06-19 17:47:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042262 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-39.042236 -3.411239)'))) / (select extract(epoch from '2026-06-19 17:47:59'::timestamp) - extract(epoch from '2026-06-19 17:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042262 -3.411199)'), GeomFromEWKT('SRID=4674;POINT (-39.042236 -3.411239)'))) / (select extract(epoch from '2026-06-19 17:47:59'::timestamp) - extract(epoch from '2026-06-19 17:47: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'), 46591, 'SRID=4674;POINT (-39.042226 -3.411259)', '2026-06-19 17:48:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042236 -3.411239)'), GeomFromEWKT('SRID=4674;POINT (-39.042226 -3.411259)'))) / (select extract(epoch from '2026-06-19 17:48:13'::timestamp) - extract(epoch from '2026-06-19 17:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042236 -3.411239)'), GeomFromEWKT('SRID=4674;POINT (-39.042226 -3.411259)'))) / (select extract(epoch from '2026-06-19 17:48:13'::timestamp) - extract(epoch from '2026-06-19 17:47: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'), 46591, 'SRID=4674;POINT (-39.042199 -3.411279)', '2026-06-19 17:48:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042226 -3.411259)'), GeomFromEWKT('SRID=4674;POINT (-39.042199 -3.411279)'))) / (select extract(epoch from '2026-06-19 17:48:30'::timestamp) - extract(epoch from '2026-06-19 17:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042226 -3.411259)'), GeomFromEWKT('SRID=4674;POINT (-39.042199 -3.411279)'))) / (select extract(epoch from '2026-06-19 17:48:30'::timestamp) - extract(epoch from '2026-06-19 17:48: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'), 46591, 'SRID=4674;POINT (-39.042167 -3.411272)', '2026-06-19 17:48:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042199 -3.411279)'), GeomFromEWKT('SRID=4674;POINT (-39.042167 -3.411272)'))) / (select extract(epoch from '2026-06-19 17:48:43'::timestamp) - extract(epoch from '2026-06-19 17:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042199 -3.411279)'), GeomFromEWKT('SRID=4674;POINT (-39.042167 -3.411272)'))) / (select extract(epoch from '2026-06-19 17:48:43'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.042135 -3.411272)', '2026-06-19 17:48:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042167 -3.411272)'), GeomFromEWKT('SRID=4674;POINT (-39.042135 -3.411272)'))) / (select extract(epoch from '2026-06-19 17:48:58'::timestamp) - extract(epoch from '2026-06-19 17:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042167 -3.411272)'), GeomFromEWKT('SRID=4674;POINT (-39.042135 -3.411272)'))) / (select extract(epoch from '2026-06-19 17:48:58'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.042082 -3.411249)', '2026-06-19 17:49:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042135 -3.411272)'), GeomFromEWKT('SRID=4674;POINT (-39.042082 -3.411249)'))) / (select extract(epoch from '2026-06-19 17:49:16'::timestamp) - extract(epoch from '2026-06-19 17:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042135 -3.411272)'), GeomFromEWKT('SRID=4674;POINT (-39.042082 -3.411249)'))) / (select extract(epoch from '2026-06-19 17:49:16'::timestamp) - extract(epoch from '2026-06-19 17:48: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'), 46591, 'SRID=4674;POINT (-39.042048 -3.411217)', '2026-06-19 17:49:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042082 -3.411249)'), GeomFromEWKT('SRID=4674;POINT (-39.042048 -3.411217)'))) / (select extract(epoch from '2026-06-19 17:49:31'::timestamp) - extract(epoch from '2026-06-19 17:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042082 -3.411249)'), GeomFromEWKT('SRID=4674;POINT (-39.042048 -3.411217)'))) / (select extract(epoch from '2026-06-19 17:49:31'::timestamp) - extract(epoch from '2026-06-19 17:49: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'), 46591, 'SRID=4674;POINT (-39.042033 -3.411197)', '2026-06-19 17:49:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042048 -3.411217)'), GeomFromEWKT('SRID=4674;POINT (-39.042033 -3.411197)'))) / (select extract(epoch from '2026-06-19 17:49:42'::timestamp) - extract(epoch from '2026-06-19 17:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042048 -3.411217)'), GeomFromEWKT('SRID=4674;POINT (-39.042033 -3.411197)'))) / (select extract(epoch from '2026-06-19 17:49:42'::timestamp) - extract(epoch from '2026-06-19 17:49: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'), 46591, 'SRID=4674;POINT (-39.042056 -3.41121)', '2026-06-19 17:49:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042033 -3.411197)'), GeomFromEWKT('SRID=4674;POINT (-39.042056 -3.41121)'))) / (select extract(epoch from '2026-06-19 17:49:59'::timestamp) - extract(epoch from '2026-06-19 17:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042033 -3.411197)'), GeomFromEWKT('SRID=4674;POINT (-39.042056 -3.41121)'))) / (select extract(epoch from '2026-06-19 17:49:59'::timestamp) - extract(epoch from '2026-06-19 17:49: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'), 46591, 'SRID=4674;POINT (-39.042064 -3.411215)', '2026-06-19 17:50:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042056 -3.41121)'), GeomFromEWKT('SRID=4674;POINT (-39.042064 -3.411215)'))) / (select extract(epoch from '2026-06-19 17:50:06'::timestamp) - extract(epoch from '2026-06-19 17:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042056 -3.41121)'), GeomFromEWKT('SRID=4674;POINT (-39.042064 -3.411215)'))) / (select extract(epoch from '2026-06-19 17:50:06'::timestamp) - extract(epoch from '2026-06-19 17:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.042075 -3.411226)', '2026-06-19 17:50:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042064 -3.411215)'), GeomFromEWKT('SRID=4674;POINT (-39.042075 -3.411226)'))) / (select extract(epoch from '2026-06-19 17:50:16'::timestamp) - extract(epoch from '2026-06-19 17:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042064 -3.411215)'), GeomFromEWKT('SRID=4674;POINT (-39.042075 -3.411226)'))) / (select extract(epoch from '2026-06-19 17:50:16'::timestamp) - extract(epoch from '2026-06-19 17:50:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.042088 -3.41124)', '2026-06-19 17:50:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042075 -3.411226)'), GeomFromEWKT('SRID=4674;POINT (-39.042088 -3.41124)'))) / (select extract(epoch from '2026-06-19 17:50:29'::timestamp) - extract(epoch from '2026-06-19 17:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042075 -3.411226)'), GeomFromEWKT('SRID=4674;POINT (-39.042088 -3.41124)'))) / (select extract(epoch from '2026-06-19 17:50:29'::timestamp) - extract(epoch from '2026-06-19 17:50: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'), 46591, 'SRID=4674;POINT (-39.042115 -3.41125)', '2026-06-19 17:50:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042088 -3.41124)'), GeomFromEWKT('SRID=4674;POINT (-39.042115 -3.41125)'))) / (select extract(epoch from '2026-06-19 17:50:44'::timestamp) - extract(epoch from '2026-06-19 17:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042088 -3.41124)'), GeomFromEWKT('SRID=4674;POINT (-39.042115 -3.41125)'))) / (select extract(epoch from '2026-06-19 17:50:44'::timestamp) - extract(epoch from '2026-06-19 17:50: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'), 46591, 'SRID=4674;POINT (-39.042148 -3.411275)', '2026-06-19 17:51:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042115 -3.41125)'), GeomFromEWKT('SRID=4674;POINT (-39.042148 -3.411275)'))) / (select extract(epoch from '2026-06-19 17:51:05'::timestamp) - extract(epoch from '2026-06-19 17:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042115 -3.41125)'), GeomFromEWKT('SRID=4674;POINT (-39.042148 -3.411275)'))) / (select extract(epoch from '2026-06-19 17:51:05'::timestamp) - extract(epoch from '2026-06-19 17:50: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'), 46591, 'SRID=4674;POINT (-39.042171 -3.411285)', '2026-06-19 17:51:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042148 -3.411275)'), GeomFromEWKT('SRID=4674;POINT (-39.042171 -3.411285)'))) / (select extract(epoch from '2026-06-19 17:51:18'::timestamp) - extract(epoch from '2026-06-19 17:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042148 -3.411275)'), GeomFromEWKT('SRID=4674;POINT (-39.042171 -3.411285)'))) / (select extract(epoch from '2026-06-19 17:51:18'::timestamp) - extract(epoch from '2026-06-19 17:51: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'), 46591, 'SRID=4674;POINT (-39.042192 -3.4113)', '2026-06-19 17:51:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042171 -3.411285)'), GeomFromEWKT('SRID=4674;POINT (-39.042192 -3.4113)'))) / (select extract(epoch from '2026-06-19 17:51:33'::timestamp) - extract(epoch from '2026-06-19 17:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042171 -3.411285)'), GeomFromEWKT('SRID=4674;POINT (-39.042192 -3.4113)'))) / (select extract(epoch from '2026-06-19 17:51:33'::timestamp) - extract(epoch from '2026-06-19 17:51: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'), 46591, 'SRID=4674;POINT (-39.042209 -3.411306)', '2026-06-19 17:51:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042192 -3.4113)'), GeomFromEWKT('SRID=4674;POINT (-39.042209 -3.411306)'))) / (select extract(epoch from '2026-06-19 17:51:41'::timestamp) - extract(epoch from '2026-06-19 17:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042192 -3.4113)'), GeomFromEWKT('SRID=4674;POINT (-39.042209 -3.411306)'))) / (select extract(epoch from '2026-06-19 17:51:41'::timestamp) - extract(epoch from '2026-06-19 17:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.042221 -3.411315)', '2026-06-19 17:51:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042209 -3.411306)'), GeomFromEWKT('SRID=4674;POINT (-39.042221 -3.411315)'))) / (select extract(epoch from '2026-06-19 17:51:49'::timestamp) - extract(epoch from '2026-06-19 17:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042209 -3.411306)'), GeomFromEWKT('SRID=4674;POINT (-39.042221 -3.411315)'))) / (select extract(epoch from '2026-06-19 17:51:49'::timestamp) - extract(epoch from '2026-06-19 17:51: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'), 46591, 'SRID=4674;POINT (-39.042242 -3.411327)', '2026-06-19 17:52:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042221 -3.411315)'), GeomFromEWKT('SRID=4674;POINT (-39.042242 -3.411327)'))) / (select extract(epoch from '2026-06-19 17:52:00'::timestamp) - extract(epoch from '2026-06-19 17:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042221 -3.411315)'), GeomFromEWKT('SRID=4674;POINT (-39.042242 -3.411327)'))) / (select extract(epoch from '2026-06-19 17:52:00'::timestamp) - extract(epoch from '2026-06-19 17:51: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'), 46591, 'SRID=4674;POINT (-39.042263 -3.411343)', '2026-06-19 17:52:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042242 -3.411327)'), GeomFromEWKT('SRID=4674;POINT (-39.042263 -3.411343)'))) / (select extract(epoch from '2026-06-19 17:52:13'::timestamp) - extract(epoch from '2026-06-19 17:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042242 -3.411327)'), GeomFromEWKT('SRID=4674;POINT (-39.042263 -3.411343)'))) / (select extract(epoch from '2026-06-19 17:52:13'::timestamp) - extract(epoch from '2026-06-19 17:52: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'), 46591, 'SRID=4674;POINT (-39.04229 -3.411357)', '2026-06-19 17:52:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042263 -3.411343)'), GeomFromEWKT('SRID=4674;POINT (-39.04229 -3.411357)'))) / (select extract(epoch from '2026-06-19 17:52:29'::timestamp) - extract(epoch from '2026-06-19 17:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042263 -3.411343)'), GeomFromEWKT('SRID=4674;POINT (-39.04229 -3.411357)'))) / (select extract(epoch from '2026-06-19 17:52:29'::timestamp) - extract(epoch from '2026-06-19 17:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.042299 -3.411335)', '2026-06-19 17:52:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04229 -3.411357)'), GeomFromEWKT('SRID=4674;POINT (-39.042299 -3.411335)'))) / (select extract(epoch from '2026-06-19 17:52:47'::timestamp) - extract(epoch from '2026-06-19 17:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04229 -3.411357)'), GeomFromEWKT('SRID=4674;POINT (-39.042299 -3.411335)'))) / (select extract(epoch from '2026-06-19 17:52:47'::timestamp) - extract(epoch from '2026-06-19 17:52: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'), 46591, 'SRID=4674;POINT (-39.042293 -3.411271)', '2026-06-19 17:52:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042299 -3.411335)'), GeomFromEWKT('SRID=4674;POINT (-39.042293 -3.411271)'))) / (select extract(epoch from '2026-06-19 17:52:55'::timestamp) - extract(epoch from '2026-06-19 17:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042299 -3.411335)'), GeomFromEWKT('SRID=4674;POINT (-39.042293 -3.411271)'))) / (select extract(epoch from '2026-06-19 17:52:55'::timestamp) - extract(epoch from '2026-06-19 17:52: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'), 46591, 'SRID=4674;POINT (-39.04229 -3.411205)', '2026-06-19 17:53:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042293 -3.411271)'), GeomFromEWKT('SRID=4674;POINT (-39.04229 -3.411205)'))) / (select extract(epoch from '2026-06-19 17:53:03'::timestamp) - extract(epoch from '2026-06-19 17:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042293 -3.411271)'), GeomFromEWKT('SRID=4674;POINT (-39.04229 -3.411205)'))) / (select extract(epoch from '2026-06-19 17:53:03'::timestamp) - extract(epoch from '2026-06-19 17:52: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'), 46591, 'SRID=4674;POINT (-39.042296 -3.411147)', '2026-06-19 17:53:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04229 -3.411205)'), GeomFromEWKT('SRID=4674;POINT (-39.042296 -3.411147)'))) / (select extract(epoch from '2026-06-19 17:53:10'::timestamp) - extract(epoch from '2026-06-19 17:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04229 -3.411205)'), GeomFromEWKT('SRID=4674;POINT (-39.042296 -3.411147)'))) / (select extract(epoch from '2026-06-19 17:53:10'::timestamp) - extract(epoch from '2026-06-19 17:53: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'), 46591, 'SRID=4674;POINT (-39.042297 -3.411084)', '2026-06-19 17:53:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042296 -3.411147)'), GeomFromEWKT('SRID=4674;POINT (-39.042297 -3.411084)'))) / (select extract(epoch from '2026-06-19 17:53:18'::timestamp) - extract(epoch from '2026-06-19 17:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042296 -3.411147)'), GeomFromEWKT('SRID=4674;POINT (-39.042297 -3.411084)'))) / (select extract(epoch from '2026-06-19 17:53:18'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.042284 -3.411022)', '2026-06-19 17:53:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042297 -3.411084)'), GeomFromEWKT('SRID=4674;POINT (-39.042284 -3.411022)'))) / (select extract(epoch from '2026-06-19 17:53:26'::timestamp) - extract(epoch from '2026-06-19 17:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042297 -3.411084)'), GeomFromEWKT('SRID=4674;POINT (-39.042284 -3.411022)'))) / (select extract(epoch from '2026-06-19 17:53:26'::timestamp) - extract(epoch from '2026-06-19 17:53: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'), 46591, 'SRID=4674;POINT (-39.042242 -3.410966)', '2026-06-19 17:53:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042284 -3.411022)'), GeomFromEWKT('SRID=4674;POINT (-39.042242 -3.410966)'))) / (select extract(epoch from '2026-06-19 17:53:36'::timestamp) - extract(epoch from '2026-06-19 17:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042284 -3.411022)'), GeomFromEWKT('SRID=4674;POINT (-39.042242 -3.410966)'))) / (select extract(epoch from '2026-06-19 17:53:36'::timestamp) - extract(epoch from '2026-06-19 17:53: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'), 46591, 'SRID=4674;POINT (-39.042198 -3.410975)', '2026-06-19 17:53:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042242 -3.410966)'), GeomFromEWKT('SRID=4674;POINT (-39.042198 -3.410975)'))) / (select extract(epoch from '2026-06-19 17:53:45'::timestamp) - extract(epoch from '2026-06-19 17:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042242 -3.410966)'), GeomFromEWKT('SRID=4674;POINT (-39.042198 -3.410975)'))) / (select extract(epoch from '2026-06-19 17:53:45'::timestamp) - extract(epoch from '2026-06-19 17:53: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'), 46591, 'SRID=4674;POINT (-39.042158 -3.410991)', '2026-06-19 17:54:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042198 -3.410975)'), GeomFromEWKT('SRID=4674;POINT (-39.042158 -3.410991)'))) / (select extract(epoch from '2026-06-19 17:54:06'::timestamp) - extract(epoch from '2026-06-19 17:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042198 -3.410975)'), GeomFromEWKT('SRID=4674;POINT (-39.042158 -3.410991)'))) / (select extract(epoch from '2026-06-19 17:54:06'::timestamp) - extract(epoch from '2026-06-19 17:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.042118 -3.410997)', '2026-06-19 17:54:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042158 -3.410991)'), GeomFromEWKT('SRID=4674;POINT (-39.042118 -3.410997)'))) / (select extract(epoch from '2026-06-19 17:54:27'::timestamp) - extract(epoch from '2026-06-19 17:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042158 -3.410991)'), GeomFromEWKT('SRID=4674;POINT (-39.042118 -3.410997)'))) / (select extract(epoch from '2026-06-19 17:54:27'::timestamp) - extract(epoch from '2026-06-19 17:54: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'), 46591, 'SRID=4674;POINT (-39.042049 -3.411002)', '2026-06-19 17:54:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042118 -3.410997)'), GeomFromEWKT('SRID=4674;POINT (-39.042049 -3.411002)'))) / (select extract(epoch from '2026-06-19 17:54:54'::timestamp) - extract(epoch from '2026-06-19 17:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042118 -3.410997)'), GeomFromEWKT('SRID=4674;POINT (-39.042049 -3.411002)'))) / (select extract(epoch from '2026-06-19 17:54:54'::timestamp) - extract(epoch from '2026-06-19 17:54: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'), 46591, 'SRID=4674;POINT (-39.042013 -3.411005)', '2026-06-19 17:55:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042049 -3.411002)'), GeomFromEWKT('SRID=4674;POINT (-39.042013 -3.411005)'))) / (select extract(epoch from '2026-06-19 17:55:12'::timestamp) - extract(epoch from '2026-06-19 17:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042049 -3.411002)'), GeomFromEWKT('SRID=4674;POINT (-39.042013 -3.411005)'))) / (select extract(epoch from '2026-06-19 17:55:12'::timestamp) - extract(epoch from '2026-06-19 17:54: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'), 46591, 'SRID=4674;POINT (-39.041978 -3.410995)', '2026-06-19 17:55:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042013 -3.411005)'), GeomFromEWKT('SRID=4674;POINT (-39.041978 -3.410995)'))) / (select extract(epoch from '2026-06-19 17:55:33'::timestamp) - extract(epoch from '2026-06-19 17:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042013 -3.411005)'), GeomFromEWKT('SRID=4674;POINT (-39.041978 -3.410995)'))) / (select extract(epoch from '2026-06-19 17:55:33'::timestamp) - extract(epoch from '2026-06-19 17:55: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'), 46591, 'SRID=4674;POINT (-39.041908 -3.410974)', '2026-06-19 17:55:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041978 -3.410995)'), GeomFromEWKT('SRID=4674;POINT (-39.041908 -3.410974)'))) / (select extract(epoch from '2026-06-19 17:55:51'::timestamp) - extract(epoch from '2026-06-19 17:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041978 -3.410995)'), GeomFromEWKT('SRID=4674;POINT (-39.041908 -3.410974)'))) / (select extract(epoch from '2026-06-19 17:55:51'::timestamp) - extract(epoch from '2026-06-19 17:55: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'), 46591, 'SRID=4674;POINT (-39.04183 -3.410957)', '2026-06-19 17:56:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041908 -3.410974)'), GeomFromEWKT('SRID=4674;POINT (-39.04183 -3.410957)'))) / (select extract(epoch from '2026-06-19 17:56:00'::timestamp) - extract(epoch from '2026-06-19 17:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041908 -3.410974)'), GeomFromEWKT('SRID=4674;POINT (-39.04183 -3.410957)'))) / (select extract(epoch from '2026-06-19 17:56:00'::timestamp) - extract(epoch from '2026-06-19 17:55: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'), 46591, 'SRID=4674;POINT (-39.041768 -3.410957)', '2026-06-19 17:56:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04183 -3.410957)'), GeomFromEWKT('SRID=4674;POINT (-39.041768 -3.410957)'))) / (select extract(epoch from '2026-06-19 17:56:07'::timestamp) - extract(epoch from '2026-06-19 17:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04183 -3.410957)'), GeomFromEWKT('SRID=4674;POINT (-39.041768 -3.410957)'))) / (select extract(epoch from '2026-06-19 17:56:07'::timestamp) - extract(epoch from '2026-06-19 17:56: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'), 46591, 'SRID=4674;POINT (-39.041696 -3.410959)', '2026-06-19 17:56:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041768 -3.410957)'), GeomFromEWKT('SRID=4674;POINT (-39.041696 -3.410959)'))) / (select extract(epoch from '2026-06-19 17:56:16'::timestamp) - extract(epoch from '2026-06-19 17:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041768 -3.410957)'), GeomFromEWKT('SRID=4674;POINT (-39.041696 -3.410959)'))) / (select extract(epoch from '2026-06-19 17:56:16'::timestamp) - extract(epoch from '2026-06-19 17:56: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'), 46591, 'SRID=4674;POINT (-39.041618 -3.410948)', '2026-06-19 17:56:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041696 -3.410959)'), GeomFromEWKT('SRID=4674;POINT (-39.041618 -3.410948)'))) / (select extract(epoch from '2026-06-19 17:56:26'::timestamp) - extract(epoch from '2026-06-19 17:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041696 -3.410959)'), GeomFromEWKT('SRID=4674;POINT (-39.041618 -3.410948)'))) / (select extract(epoch from '2026-06-19 17:56:26'::timestamp) - extract(epoch from '2026-06-19 17:56: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'), 46591, 'SRID=4674;POINT (-39.041557 -3.410938)', '2026-06-19 17:56:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041618 -3.410948)'), GeomFromEWKT('SRID=4674;POINT (-39.041557 -3.410938)'))) / (select extract(epoch from '2026-06-19 17:56:34'::timestamp) - extract(epoch from '2026-06-19 17:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041618 -3.410948)'), GeomFromEWKT('SRID=4674;POINT (-39.041557 -3.410938)'))) / (select extract(epoch from '2026-06-19 17:56:34'::timestamp) - extract(epoch from '2026-06-19 17:56: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'), 46591, 'SRID=4674;POINT (-39.041501 -3.410935)', '2026-06-19 17:56:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041557 -3.410938)'), GeomFromEWKT('SRID=4674;POINT (-39.041501 -3.410935)'))) / (select extract(epoch from '2026-06-19 17:56:41'::timestamp) - extract(epoch from '2026-06-19 17:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041557 -3.410938)'), GeomFromEWKT('SRID=4674;POINT (-39.041501 -3.410935)'))) / (select extract(epoch from '2026-06-19 17:56:41'::timestamp) - extract(epoch from '2026-06-19 17:56: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'), 46591, 'SRID=4674;POINT (-39.041422 -3.410935)', '2026-06-19 17:56:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041501 -3.410935)'), GeomFromEWKT('SRID=4674;POINT (-39.041422 -3.410935)'))) / (select extract(epoch from '2026-06-19 17:56:52'::timestamp) - extract(epoch from '2026-06-19 17:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041501 -3.410935)'), GeomFromEWKT('SRID=4674;POINT (-39.041422 -3.410935)'))) / (select extract(epoch from '2026-06-19 17:56:52'::timestamp) - extract(epoch from '2026-06-19 17:56:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.041387 -3.41093)', '2026-06-19 17:57:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041422 -3.410935)'), GeomFromEWKT('SRID=4674;POINT (-39.041387 -3.41093)'))) / (select extract(epoch from '2026-06-19 17:57:01'::timestamp) - extract(epoch from '2026-06-19 17:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041422 -3.410935)'), GeomFromEWKT('SRID=4674;POINT (-39.041387 -3.41093)'))) / (select extract(epoch from '2026-06-19 17:57:01'::timestamp) - extract(epoch from '2026-06-19 17:56: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'), 46591, 'SRID=4674;POINT (-39.041365 -3.410933)', '2026-06-19 17:57:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041387 -3.41093)'), GeomFromEWKT('SRID=4674;POINT (-39.041365 -3.410933)'))) / (select extract(epoch from '2026-06-19 17:57:17'::timestamp) - extract(epoch from '2026-06-19 17:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041387 -3.41093)'), GeomFromEWKT('SRID=4674;POINT (-39.041365 -3.410933)'))) / (select extract(epoch from '2026-06-19 17:57:17'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.041345 -3.410934)', '2026-06-19 17:57:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041365 -3.410933)'), GeomFromEWKT('SRID=4674;POINT (-39.041345 -3.410934)'))) / (select extract(epoch from '2026-06-19 17:57:28'::timestamp) - extract(epoch from '2026-06-19 17:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041365 -3.410933)'), GeomFromEWKT('SRID=4674;POINT (-39.041345 -3.410934)'))) / (select extract(epoch from '2026-06-19 17:57:28'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.04133 -3.410919)', '2026-06-19 17:57:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041345 -3.410934)'), GeomFromEWKT('SRID=4674;POINT (-39.04133 -3.410919)'))) / (select extract(epoch from '2026-06-19 17:57:37'::timestamp) - extract(epoch from '2026-06-19 17:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041345 -3.410934)'), GeomFromEWKT('SRID=4674;POINT (-39.04133 -3.410919)'))) / (select extract(epoch from '2026-06-19 17:57:37'::timestamp) - extract(epoch from '2026-06-19 17:57: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'), 46591, 'SRID=4674;POINT (-39.041276 -3.410877)', '2026-06-19 17:58:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04133 -3.410919)'), GeomFromEWKT('SRID=4674;POINT (-39.041276 -3.410877)'))) / (select extract(epoch from '2026-06-19 17:58:00'::timestamp) - extract(epoch from '2026-06-19 17:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04133 -3.410919)'), GeomFromEWKT('SRID=4674;POINT (-39.041276 -3.410877)'))) / (select extract(epoch from '2026-06-19 17:58:00'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.041234 -3.410844)', '2026-06-19 17:58:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041276 -3.410877)'), GeomFromEWKT('SRID=4674;POINT (-39.041234 -3.410844)'))) / (select extract(epoch from '2026-06-19 17:58:19'::timestamp) - extract(epoch from '2026-06-19 17:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041276 -3.410877)'), GeomFromEWKT('SRID=4674;POINT (-39.041234 -3.410844)'))) / (select extract(epoch from '2026-06-19 17:58:19'::timestamp) - extract(epoch from '2026-06-19 17:58: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'), 46591, 'SRID=4674;POINT (-39.041193 -3.410819)', '2026-06-19 17:58:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041234 -3.410844)'), GeomFromEWKT('SRID=4674;POINT (-39.041193 -3.410819)'))) / (select extract(epoch from '2026-06-19 17:58:39'::timestamp) - extract(epoch from '2026-06-19 17:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041234 -3.410844)'), GeomFromEWKT('SRID=4674;POINT (-39.041193 -3.410819)'))) / (select extract(epoch from '2026-06-19 17:58:39'::timestamp) - extract(epoch from '2026-06-19 17:58: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'), 46591, 'SRID=4674;POINT (-39.041182 -3.410789)', '2026-06-19 17:58:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041193 -3.410819)'), GeomFromEWKT('SRID=4674;POINT (-39.041182 -3.410789)'))) / (select extract(epoch from '2026-06-19 17:58:50'::timestamp) - extract(epoch from '2026-06-19 17:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041193 -3.410819)'), GeomFromEWKT('SRID=4674;POINT (-39.041182 -3.410789)'))) / (select extract(epoch from '2026-06-19 17:58:50'::timestamp) - extract(epoch from '2026-06-19 17:58: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'), 46591, 'SRID=4674;POINT (-39.041186 -3.410724)', '2026-06-19 17:59:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041182 -3.410789)'), GeomFromEWKT('SRID=4674;POINT (-39.041186 -3.410724)'))) / (select extract(epoch from '2026-06-19 17:59:00'::timestamp) - extract(epoch from '2026-06-19 17:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041182 -3.410789)'), GeomFromEWKT('SRID=4674;POINT (-39.041186 -3.410724)'))) / (select extract(epoch from '2026-06-19 17:59:00'::timestamp) - extract(epoch from '2026-06-19 17:58: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'), 46591, 'SRID=4674;POINT (-39.041201 -3.410669)', '2026-06-19 17:59:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041186 -3.410724)'), GeomFromEWKT('SRID=4674;POINT (-39.041201 -3.410669)'))) / (select extract(epoch from '2026-06-19 17:59:15'::timestamp) - extract(epoch from '2026-06-19 17:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041186 -3.410724)'), GeomFromEWKT('SRID=4674;POINT (-39.041201 -3.410669)'))) / (select extract(epoch from '2026-06-19 17:59:15'::timestamp) - extract(epoch from '2026-06-19 17:59: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'), 46591, 'SRID=4674;POINT (-39.041235 -3.410676)', '2026-06-19 17:59:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041201 -3.410669)'), GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.410676)'))) / (select extract(epoch from '2026-06-19 17:59:28'::timestamp) - extract(epoch from '2026-06-19 17:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041201 -3.410669)'), GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.410676)'))) / (select extract(epoch from '2026-06-19 17:59:28'::timestamp) - extract(epoch from '2026-06-19 17:59:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.041305 -3.410659)', '2026-06-19 17:59:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.410676)'), GeomFromEWKT('SRID=4674;POINT (-39.041305 -3.410659)'))) / (select extract(epoch from '2026-06-19 17:59:46'::timestamp) - extract(epoch from '2026-06-19 17:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.410676)'), GeomFromEWKT('SRID=4674;POINT (-39.041305 -3.410659)'))) / (select extract(epoch from '2026-06-19 17:59:46'::timestamp) - extract(epoch from '2026-06-19 17:59: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'), 46591, 'SRID=4674;POINT (-39.041329 -3.41067)', '2026-06-19 17:59:58', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041305 -3.410659)'), GeomFromEWKT('SRID=4674;POINT (-39.041329 -3.41067)'))) / (select extract(epoch from '2026-06-19 17:59:58'::timestamp) - extract(epoch from '2026-06-19 17:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041305 -3.410659)'), GeomFromEWKT('SRID=4674;POINT (-39.041329 -3.41067)'))) / (select extract(epoch from '2026-06-19 17:59:58'::timestamp) - extract(epoch from '2026-06-19 17:59: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'), 46591, 'SRID=4674;POINT (-39.041327 -3.410675)', '2026-06-19 17:59:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041329 -3.41067)'), GeomFromEWKT('SRID=4674;POINT (-39.041327 -3.410675)'))) / (select extract(epoch from '2026-06-19 17:59:59'::timestamp) - extract(epoch from '2026-06-19 17:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041329 -3.41067)'), GeomFromEWKT('SRID=4674;POINT (-39.041327 -3.410675)'))) / (select extract(epoch from '2026-06-19 17:59:59'::timestamp) - extract(epoch from '2026-06-19 17:59: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'), 46591, 'SRID=4674;POINT (-39.041317 -3.4107)', '2026-06-19 18:00:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041327 -3.410675)'), GeomFromEWKT('SRID=4674;POINT (-39.041317 -3.4107)'))) / (select extract(epoch from '2026-06-19 18:00:02'::timestamp) - extract(epoch from '2026-06-19 17:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041327 -3.410675)'), GeomFromEWKT('SRID=4674;POINT (-39.041317 -3.4107)'))) / (select extract(epoch from '2026-06-19 18:00:02'::timestamp) - extract(epoch from '2026-06-19 17: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'), 46591, 'SRID=4674;POINT (-39.04129 -3.410729)', '2026-06-19 18:00:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041317 -3.4107)'), GeomFromEWKT('SRID=4674;POINT (-39.04129 -3.410729)'))) / (select extract(epoch from '2026-06-19 18:00:06'::timestamp) - extract(epoch from '2026-06-19 18:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041317 -3.4107)'), GeomFromEWKT('SRID=4674;POINT (-39.04129 -3.410729)'))) / (select extract(epoch from '2026-06-19 18:00:06'::timestamp) - extract(epoch from '2026-06-19 18:00: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'), 46591, 'SRID=4674;POINT (-39.041257 -3.410764)', '2026-06-19 18:00:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04129 -3.410729)'), GeomFromEWKT('SRID=4674;POINT (-39.041257 -3.410764)'))) / (select extract(epoch from '2026-06-19 18:00:11'::timestamp) - extract(epoch from '2026-06-19 18:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04129 -3.410729)'), GeomFromEWKT('SRID=4674;POINT (-39.041257 -3.410764)'))) / (select extract(epoch from '2026-06-19 18:00:11'::timestamp) - extract(epoch from '2026-06-19 18:00: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'), 46591, 'SRID=4674;POINT (-39.041232 -3.410783)', '2026-06-19 18:00:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041257 -3.410764)'), GeomFromEWKT('SRID=4674;POINT (-39.041232 -3.410783)'))) / (select extract(epoch from '2026-06-19 18:00:14'::timestamp) - extract(epoch from '2026-06-19 18:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041257 -3.410764)'), GeomFromEWKT('SRID=4674;POINT (-39.041232 -3.410783)'))) / (select extract(epoch from '2026-06-19 18:00:14'::timestamp) - extract(epoch from '2026-06-19 18:00: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'), 46591, 'SRID=4674;POINT (-39.041213 -3.410808)', '2026-06-19 18:00:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041232 -3.410783)'), GeomFromEWKT('SRID=4674;POINT (-39.041213 -3.410808)'))) / (select extract(epoch from '2026-06-19 18:00:17'::timestamp) - extract(epoch from '2026-06-19 18:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041232 -3.410783)'), GeomFromEWKT('SRID=4674;POINT (-39.041213 -3.410808)'))) / (select extract(epoch from '2026-06-19 18:00:17'::timestamp) - extract(epoch from '2026-06-19 18:00: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'), 46591, 'SRID=4674;POINT (-39.041185 -3.410834)', '2026-06-19 18:00:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041213 -3.410808)'), GeomFromEWKT('SRID=4674;POINT (-39.041185 -3.410834)'))) / (select extract(epoch from '2026-06-19 18:00:21'::timestamp) - extract(epoch from '2026-06-19 18:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041213 -3.410808)'), GeomFromEWKT('SRID=4674;POINT (-39.041185 -3.410834)'))) / (select extract(epoch from '2026-06-19 18:00:21'::timestamp) - extract(epoch from '2026-06-19 18:00: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'), 46591, 'SRID=4674;POINT (-39.041162 -3.410853)', '2026-06-19 18:00:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041185 -3.410834)'), GeomFromEWKT('SRID=4674;POINT (-39.041162 -3.410853)'))) / (select extract(epoch from '2026-06-19 18:00:24'::timestamp) - extract(epoch from '2026-06-19 18:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041185 -3.410834)'), GeomFromEWKT('SRID=4674;POINT (-39.041162 -3.410853)'))) / (select extract(epoch from '2026-06-19 18:00:24'::timestamp) - extract(epoch from '2026-06-19 18:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.041141 -3.410879)', '2026-06-19 18:00:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041162 -3.410853)'), GeomFromEWKT('SRID=4674;POINT (-39.041141 -3.410879)'))) / (select extract(epoch from '2026-06-19 18:00:27'::timestamp) - extract(epoch from '2026-06-19 18:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041162 -3.410853)'), GeomFromEWKT('SRID=4674;POINT (-39.041141 -3.410879)'))) / (select extract(epoch from '2026-06-19 18:00:27'::timestamp) - extract(epoch from '2026-06-19 18:00: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'), 46591, 'SRID=4674;POINT (-39.041097 -3.410931)', '2026-06-19 18:00:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041141 -3.410879)'), GeomFromEWKT('SRID=4674;POINT (-39.041097 -3.410931)'))) / (select extract(epoch from '2026-06-19 18:00:34'::timestamp) - extract(epoch from '2026-06-19 18:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041141 -3.410879)'), GeomFromEWKT('SRID=4674;POINT (-39.041097 -3.410931)'))) / (select extract(epoch from '2026-06-19 18:00:34'::timestamp) - extract(epoch from '2026-06-19 18: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'), 46591, 'SRID=4674;POINT (-39.041091 -3.410941)', '2026-06-19 18:00:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041097 -3.410931)'), GeomFromEWKT('SRID=4674;POINT (-39.041091 -3.410941)'))) / (select extract(epoch from '2026-06-19 18:00:35'::timestamp) - extract(epoch from '2026-06-19 18:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041097 -3.410931)'), GeomFromEWKT('SRID=4674;POINT (-39.041091 -3.410941)'))) / (select extract(epoch from '2026-06-19 18:00:35'::timestamp) - extract(epoch from '2026-06-19 18:00: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'), 46591, 'SRID=4674;POINT (-39.041042 -3.411001)', '2026-06-19 18:00:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041091 -3.410941)'), GeomFromEWKT('SRID=4674;POINT (-39.041042 -3.411001)'))) / (select extract(epoch from '2026-06-19 18:00:43'::timestamp) - extract(epoch from '2026-06-19 18:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041091 -3.410941)'), GeomFromEWKT('SRID=4674;POINT (-39.041042 -3.411001)'))) / (select extract(epoch from '2026-06-19 18:00:43'::timestamp) - extract(epoch from '2026-06-19 18:00: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'), 46591, 'SRID=4674;POINT (-39.040997 -3.411057)', '2026-06-19 18:00:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041042 -3.411001)'), GeomFromEWKT('SRID=4674;POINT (-39.040997 -3.411057)'))) / (select extract(epoch from '2026-06-19 18:00:50'::timestamp) - extract(epoch from '2026-06-19 18:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041042 -3.411001)'), GeomFromEWKT('SRID=4674;POINT (-39.040997 -3.411057)'))) / (select extract(epoch from '2026-06-19 18:00:50'::timestamp) - extract(epoch from '2026-06-19 18:00: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'), 46591, 'SRID=4674;POINT (-39.040946 -3.411117)', '2026-06-19 18:00:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040997 -3.411057)'), GeomFromEWKT('SRID=4674;POINT (-39.040946 -3.411117)'))) / (select extract(epoch from '2026-06-19 18:00:57'::timestamp) - extract(epoch from '2026-06-19 18:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040997 -3.411057)'), GeomFromEWKT('SRID=4674;POINT (-39.040946 -3.411117)'))) / (select extract(epoch from '2026-06-19 18:00:57'::timestamp) - extract(epoch from '2026-06-19 18:00: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'), 46591, 'SRID=4674;POINT (-39.040939 -3.411123)', '2026-06-19 18:00:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040946 -3.411117)'), GeomFromEWKT('SRID=4674;POINT (-39.040939 -3.411123)'))) / (select extract(epoch from '2026-06-19 18:00:58'::timestamp) - extract(epoch from '2026-06-19 18:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040946 -3.411117)'), GeomFromEWKT('SRID=4674;POINT (-39.040939 -3.411123)'))) / (select extract(epoch from '2026-06-19 18:00:58'::timestamp) - extract(epoch from '2026-06-19 18:00: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'), 46591, 'SRID=4674;POINT (-39.040893 -3.411152)', '2026-06-19 18:01:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040939 -3.411123)'), GeomFromEWKT('SRID=4674;POINT (-39.040893 -3.411152)'))) / (select extract(epoch from '2026-06-19 18:01:04'::timestamp) - extract(epoch from '2026-06-19 18:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040939 -3.411123)'), GeomFromEWKT('SRID=4674;POINT (-39.040893 -3.411152)'))) / (select extract(epoch from '2026-06-19 18:01:04'::timestamp) - extract(epoch from '2026-06-19 18:00: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'), 46591, 'SRID=4674;POINT (-39.040878 -3.41117)', '2026-06-19 18:01:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040893 -3.411152)'), GeomFromEWKT('SRID=4674;POINT (-39.040878 -3.41117)'))) / (select extract(epoch from '2026-06-19 18:01:06'::timestamp) - extract(epoch from '2026-06-19 18:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040893 -3.411152)'), GeomFromEWKT('SRID=4674;POINT (-39.040878 -3.41117)'))) / (select extract(epoch from '2026-06-19 18:01:06'::timestamp) - extract(epoch from '2026-06-19 18:01: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'), 46591, 'SRID=4674;POINT (-39.040849 -3.411189)', '2026-06-19 18:01:10', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040878 -3.41117)'), GeomFromEWKT('SRID=4674;POINT (-39.040849 -3.411189)'))) / (select extract(epoch from '2026-06-19 18:01:10'::timestamp) - extract(epoch from '2026-06-19 18:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040878 -3.41117)'), GeomFromEWKT('SRID=4674;POINT (-39.040849 -3.411189)'))) / (select extract(epoch from '2026-06-19 18:01:10'::timestamp) - extract(epoch from '2026-06-19 18:01:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46591, 'SRID=4674;POINT (-39.040793 -3.411236)', '2026-06-19 18:01:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040849 -3.411189)'), GeomFromEWKT('SRID=4674;POINT (-39.040793 -3.411236)'))) / (select extract(epoch from '2026-06-19 18:01:17'::timestamp) - extract(epoch from '2026-06-19 18:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040849 -3.411189)'), GeomFromEWKT('SRID=4674;POINT (-39.040793 -3.411236)'))) / (select extract(epoch from '2026-06-19 18:01:17'::timestamp) - extract(epoch from '2026-06-19 18:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
