 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330433 -2.777135)', '2026-06-16 06:21:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33044 -2.777131)'), GeomFromEWKT('SRID=4674;POINT (-40.330433 -2.777135)'))) / (select extract(epoch from '2026-06-16 06:21:11'::timestamp) - extract(epoch from '2026-06-16 06:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33044 -2.777131)'), GeomFromEWKT('SRID=4674;POINT (-40.330433 -2.777135)'))) / (select extract(epoch from '2026-06-16 06:21:11'::timestamp) - extract(epoch from '2026-06-16 06:20:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330437 -2.777126)', '2026-06-16 06:21:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330433 -2.777135)'), GeomFromEWKT('SRID=4674;POINT (-40.330437 -2.777126)'))) / (select extract(epoch from '2026-06-16 06:21:29'::timestamp) - extract(epoch from '2026-06-16 06:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330433 -2.777135)'), GeomFromEWKT('SRID=4674;POINT (-40.330437 -2.777126)'))) / (select extract(epoch from '2026-06-16 06:21:29'::timestamp) - extract(epoch from '2026-06-16 06:21: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'), 46723, 'SRID=4674;POINT (-40.330445 -2.777114)', '2026-06-16 06:21:44', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330437 -2.777126)'), GeomFromEWKT('SRID=4674;POINT (-40.330445 -2.777114)'))) / (select extract(epoch from '2026-06-16 06:21:44'::timestamp) - extract(epoch from '2026-06-16 06:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330437 -2.777126)'), GeomFromEWKT('SRID=4674;POINT (-40.330445 -2.777114)'))) / (select extract(epoch from '2026-06-16 06:21:44'::timestamp) - extract(epoch from '2026-06-16 06:21: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'), 46723, 'SRID=4674;POINT (-40.330463 -2.777094)', '2026-06-16 06:21:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330445 -2.777114)'), GeomFromEWKT('SRID=4674;POINT (-40.330463 -2.777094)'))) / (select extract(epoch from '2026-06-16 06:21:52'::timestamp) - extract(epoch from '2026-06-16 06:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330445 -2.777114)'), GeomFromEWKT('SRID=4674;POINT (-40.330463 -2.777094)'))) / (select extract(epoch from '2026-06-16 06:21:52'::timestamp) - extract(epoch from '2026-06-16 06:21:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.33049 -2.777056)', '2026-06-16 06:22:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330463 -2.777094)'), GeomFromEWKT('SRID=4674;POINT (-40.33049 -2.777056)'))) / (select extract(epoch from '2026-06-16 06:22:04'::timestamp) - extract(epoch from '2026-06-16 06:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330463 -2.777094)'), GeomFromEWKT('SRID=4674;POINT (-40.33049 -2.777056)'))) / (select extract(epoch from '2026-06-16 06:22:04'::timestamp) - extract(epoch from '2026-06-16 06:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330536 -2.777005)', '2026-06-16 06:22:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33049 -2.777056)'), GeomFromEWKT('SRID=4674;POINT (-40.330536 -2.777005)'))) / (select extract(epoch from '2026-06-16 06:22:21'::timestamp) - extract(epoch from '2026-06-16 06:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33049 -2.777056)'), GeomFromEWKT('SRID=4674;POINT (-40.330536 -2.777005)'))) / (select extract(epoch from '2026-06-16 06:22:21'::timestamp) - extract(epoch from '2026-06-16 06:22: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'), 46723, 'SRID=4674;POINT (-40.33059 -2.776956)', '2026-06-16 06:22:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330536 -2.777005)'), GeomFromEWKT('SRID=4674;POINT (-40.33059 -2.776956)'))) / (select extract(epoch from '2026-06-16 06:22:38'::timestamp) - extract(epoch from '2026-06-16 06:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330536 -2.777005)'), GeomFromEWKT('SRID=4674;POINT (-40.33059 -2.776956)'))) / (select extract(epoch from '2026-06-16 06:22:38'::timestamp) - extract(epoch from '2026-06-16 06:22: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'), 46723, 'SRID=4674;POINT (-40.330603 -2.776921)', '2026-06-16 06:22:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33059 -2.776956)'), GeomFromEWKT('SRID=4674;POINT (-40.330603 -2.776921)'))) / (select extract(epoch from '2026-06-16 06:22:51'::timestamp) - extract(epoch from '2026-06-16 06:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33059 -2.776956)'), GeomFromEWKT('SRID=4674;POINT (-40.330603 -2.776921)'))) / (select extract(epoch from '2026-06-16 06:22:51'::timestamp) - extract(epoch from '2026-06-16 06:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330624 -2.776906)', '2026-06-16 06:23:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330603 -2.776921)'), GeomFromEWKT('SRID=4674;POINT (-40.330624 -2.776906)'))) / (select extract(epoch from '2026-06-16 06:23:05'::timestamp) - extract(epoch from '2026-06-16 06:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330603 -2.776921)'), GeomFromEWKT('SRID=4674;POINT (-40.330624 -2.776906)'))) / (select extract(epoch from '2026-06-16 06:23:05'::timestamp) - extract(epoch from '2026-06-16 06:22: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'), 46723, 'SRID=4674;POINT (-40.330673 -2.776862)', '2026-06-16 06:23:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330624 -2.776906)'), GeomFromEWKT('SRID=4674;POINT (-40.330673 -2.776862)'))) / (select extract(epoch from '2026-06-16 06:23:22'::timestamp) - extract(epoch from '2026-06-16 06:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330624 -2.776906)'), GeomFromEWKT('SRID=4674;POINT (-40.330673 -2.776862)'))) / (select extract(epoch from '2026-06-16 06:23:22'::timestamp) - extract(epoch from '2026-06-16 06:23: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'), 46723, 'SRID=4674;POINT (-40.330724 -2.776838)', '2026-06-16 06:23:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330673 -2.776862)'), GeomFromEWKT('SRID=4674;POINT (-40.330724 -2.776838)'))) / (select extract(epoch from '2026-06-16 06:23:32'::timestamp) - extract(epoch from '2026-06-16 06:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330673 -2.776862)'), GeomFromEWKT('SRID=4674;POINT (-40.330724 -2.776838)'))) / (select extract(epoch from '2026-06-16 06:23:32'::timestamp) - extract(epoch from '2026-06-16 06:23: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'), 46723, 'SRID=4674;POINT (-40.330731 -2.776832)', '2026-06-16 06:23:33', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330724 -2.776838)'), GeomFromEWKT('SRID=4674;POINT (-40.330731 -2.776832)'))) / (select extract(epoch from '2026-06-16 06:23:33'::timestamp) - extract(epoch from '2026-06-16 06:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330724 -2.776838)'), GeomFromEWKT('SRID=4674;POINT (-40.330731 -2.776832)'))) / (select extract(epoch from '2026-06-16 06:23:33'::timestamp) - extract(epoch from '2026-06-16 06:23: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'), 46723, 'SRID=4674;POINT (-40.330755 -2.776803)', '2026-06-16 06:23:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330731 -2.776832)'), GeomFromEWKT('SRID=4674;POINT (-40.330755 -2.776803)'))) / (select extract(epoch from '2026-06-16 06:23:42'::timestamp) - extract(epoch from '2026-06-16 06:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330731 -2.776832)'), GeomFromEWKT('SRID=4674;POINT (-40.330755 -2.776803)'))) / (select extract(epoch from '2026-06-16 06:23:42'::timestamp) - extract(epoch from '2026-06-16 06:23: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'), 46723, 'SRID=4674;POINT (-40.330722 -2.776745)', '2026-06-16 06:23:51', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330755 -2.776803)'), GeomFromEWKT('SRID=4674;POINT (-40.330722 -2.776745)'))) / (select extract(epoch from '2026-06-16 06:23:51'::timestamp) - extract(epoch from '2026-06-16 06:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330755 -2.776803)'), GeomFromEWKT('SRID=4674;POINT (-40.330722 -2.776745)'))) / (select extract(epoch from '2026-06-16 06:23:51'::timestamp) - extract(epoch from '2026-06-16 06:23:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330725 -2.776734)', '2026-06-16 06:23:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330722 -2.776745)'), GeomFromEWKT('SRID=4674;POINT (-40.330725 -2.776734)'))) / (select extract(epoch from '2026-06-16 06:23:52'::timestamp) - extract(epoch from '2026-06-16 06:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330722 -2.776745)'), GeomFromEWKT('SRID=4674;POINT (-40.330725 -2.776734)'))) / (select extract(epoch from '2026-06-16 06:23:52'::timestamp) - extract(epoch from '2026-06-16 06:23: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'), 46723, 'SRID=4674;POINT (-40.330759 -2.776676)', '2026-06-16 06:23:57', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330725 -2.776734)'), GeomFromEWKT('SRID=4674;POINT (-40.330759 -2.776676)'))) / (select extract(epoch from '2026-06-16 06:23:57'::timestamp) - extract(epoch from '2026-06-16 06:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330725 -2.776734)'), GeomFromEWKT('SRID=4674;POINT (-40.330759 -2.776676)'))) / (select extract(epoch from '2026-06-16 06:23:57'::timestamp) - extract(epoch from '2026-06-16 06:23: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'), 46723, 'SRID=4674;POINT (-40.330769 -2.776675)', '2026-06-16 06:23:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330759 -2.776676)'), GeomFromEWKT('SRID=4674;POINT (-40.330769 -2.776675)'))) / (select extract(epoch from '2026-06-16 06:23:58'::timestamp) - extract(epoch from '2026-06-16 06:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330759 -2.776676)'), GeomFromEWKT('SRID=4674;POINT (-40.330769 -2.776675)'))) / (select extract(epoch from '2026-06-16 06:23:58'::timestamp) - extract(epoch from '2026-06-16 06:23: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'), 46723, 'SRID=4674;POINT (-40.330825 -2.776696)', '2026-06-16 06:24:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330769 -2.776675)'), GeomFromEWKT('SRID=4674;POINT (-40.330825 -2.776696)'))) / (select extract(epoch from '2026-06-16 06:24:04'::timestamp) - extract(epoch from '2026-06-16 06:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330769 -2.776675)'), GeomFromEWKT('SRID=4674;POINT (-40.330825 -2.776696)'))) / (select extract(epoch from '2026-06-16 06:24:04'::timestamp) - extract(epoch from '2026-06-16 06:23: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'), 46723, 'SRID=4674;POINT (-40.330826 -2.776707)', '2026-06-16 06:24:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330825 -2.776696)'), GeomFromEWKT('SRID=4674;POINT (-40.330826 -2.776707)'))) / (select extract(epoch from '2026-06-16 06:24:05'::timestamp) - extract(epoch from '2026-06-16 06:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330825 -2.776696)'), GeomFromEWKT('SRID=4674;POINT (-40.330826 -2.776707)'))) / (select extract(epoch from '2026-06-16 06:24:05'::timestamp) - extract(epoch from '2026-06-16 06:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330823 -2.776787)', '2026-06-16 06:24:11', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330826 -2.776707)'), GeomFromEWKT('SRID=4674;POINT (-40.330823 -2.776787)'))) / (select extract(epoch from '2026-06-16 06:24:11'::timestamp) - extract(epoch from '2026-06-16 06:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330826 -2.776707)'), GeomFromEWKT('SRID=4674;POINT (-40.330823 -2.776787)'))) / (select extract(epoch from '2026-06-16 06:24:11'::timestamp) - extract(epoch from '2026-06-16 06:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330801 -2.776869)', '2026-06-16 06:24:17', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330823 -2.776787)'), GeomFromEWKT('SRID=4674;POINT (-40.330801 -2.776869)'))) / (select extract(epoch from '2026-06-16 06:24:17'::timestamp) - extract(epoch from '2026-06-16 06:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330823 -2.776787)'), GeomFromEWKT('SRID=4674;POINT (-40.330801 -2.776869)'))) / (select extract(epoch from '2026-06-16 06:24:17'::timestamp) - extract(epoch from '2026-06-16 06:24: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'), 46723, 'SRID=4674;POINT (-40.330784 -2.776981)', '2026-06-16 06:24:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330801 -2.776869)'), GeomFromEWKT('SRID=4674;POINT (-40.330784 -2.776981)'))) / (select extract(epoch from '2026-06-16 06:24:24'::timestamp) - extract(epoch from '2026-06-16 06:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330801 -2.776869)'), GeomFromEWKT('SRID=4674;POINT (-40.330784 -2.776981)'))) / (select extract(epoch from '2026-06-16 06:24:24'::timestamp) - extract(epoch from '2026-06-16 06:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330786 -2.777083)', '2026-06-16 06:24:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330784 -2.776981)'), GeomFromEWKT('SRID=4674;POINT (-40.330786 -2.777083)'))) / (select extract(epoch from '2026-06-16 06:24:30'::timestamp) - extract(epoch from '2026-06-16 06:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330784 -2.776981)'), GeomFromEWKT('SRID=4674;POINT (-40.330786 -2.777083)'))) / (select extract(epoch from '2026-06-16 06:24:30'::timestamp) - extract(epoch from '2026-06-16 06:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330765 -2.777218)', '2026-06-16 06:24:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330786 -2.777083)'), GeomFromEWKT('SRID=4674;POINT (-40.330765 -2.777218)'))) / (select extract(epoch from '2026-06-16 06:24:38'::timestamp) - extract(epoch from '2026-06-16 06:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330786 -2.777083)'), GeomFromEWKT('SRID=4674;POINT (-40.330765 -2.777218)'))) / (select extract(epoch from '2026-06-16 06:24:38'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.330795 -2.77737)', '2026-06-16 06:24:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330765 -2.777218)'), GeomFromEWKT('SRID=4674;POINT (-40.330795 -2.77737)'))) / (select extract(epoch from '2026-06-16 06:24:46'::timestamp) - extract(epoch from '2026-06-16 06:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330765 -2.777218)'), GeomFromEWKT('SRID=4674;POINT (-40.330795 -2.77737)'))) / (select extract(epoch from '2026-06-16 06:24:46'::timestamp) - extract(epoch from '2026-06-16 06:24: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'), 46723, 'SRID=4674;POINT (-40.330807 -2.777481)', '2026-06-16 06:24:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330795 -2.77737)'), GeomFromEWKT('SRID=4674;POINT (-40.330807 -2.777481)'))) / (select extract(epoch from '2026-06-16 06:24:52'::timestamp) - extract(epoch from '2026-06-16 06:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330795 -2.77737)'), GeomFromEWKT('SRID=4674;POINT (-40.330807 -2.777481)'))) / (select extract(epoch from '2026-06-16 06:24:52'::timestamp) - extract(epoch from '2026-06-16 06:24: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'), 46723, 'SRID=4674;POINT (-40.330836 -2.777604)', '2026-06-16 06:24:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330807 -2.777481)'), GeomFromEWKT('SRID=4674;POINT (-40.330836 -2.777604)'))) / (select extract(epoch from '2026-06-16 06:24:59'::timestamp) - extract(epoch from '2026-06-16 06:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330807 -2.777481)'), GeomFromEWKT('SRID=4674;POINT (-40.330836 -2.777604)'))) / (select extract(epoch from '2026-06-16 06:24:59'::timestamp) - extract(epoch from '2026-06-16 06:24: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'), 46723, 'SRID=4674;POINT (-40.330861 -2.777724)', '2026-06-16 06:25:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330836 -2.777604)'), GeomFromEWKT('SRID=4674;POINT (-40.330861 -2.777724)'))) / (select extract(epoch from '2026-06-16 06:25:06'::timestamp) - extract(epoch from '2026-06-16 06:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330836 -2.777604)'), GeomFromEWKT('SRID=4674;POINT (-40.330861 -2.777724)'))) / (select extract(epoch from '2026-06-16 06:25:06'::timestamp) - extract(epoch from '2026-06-16 06:24:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330893 -2.777866)', '2026-06-16 06:25:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330861 -2.777724)'), GeomFromEWKT('SRID=4674;POINT (-40.330893 -2.777866)'))) / (select extract(epoch from '2026-06-16 06:25:14'::timestamp) - extract(epoch from '2026-06-16 06:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330861 -2.777724)'), GeomFromEWKT('SRID=4674;POINT (-40.330893 -2.777866)'))) / (select extract(epoch from '2026-06-16 06:25:14'::timestamp) - extract(epoch from '2026-06-16 06:25: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'), 46723, 'SRID=4674;POINT (-40.33092 -2.777985)', '2026-06-16 06:25:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330893 -2.777866)'), GeomFromEWKT('SRID=4674;POINT (-40.33092 -2.777985)'))) / (select extract(epoch from '2026-06-16 06:25:21'::timestamp) - extract(epoch from '2026-06-16 06:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330893 -2.777866)'), GeomFromEWKT('SRID=4674;POINT (-40.33092 -2.777985)'))) / (select extract(epoch from '2026-06-16 06:25:21'::timestamp) - extract(epoch from '2026-06-16 06:25: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'), 46723, 'SRID=4674;POINT (-40.330954 -2.778118)', '2026-06-16 06:25:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33092 -2.777985)'), GeomFromEWKT('SRID=4674;POINT (-40.330954 -2.778118)'))) / (select extract(epoch from '2026-06-16 06:25:29'::timestamp) - extract(epoch from '2026-06-16 06:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33092 -2.777985)'), GeomFromEWKT('SRID=4674;POINT (-40.330954 -2.778118)'))) / (select extract(epoch from '2026-06-16 06:25:29'::timestamp) - extract(epoch from '2026-06-16 06:25: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'), 46723, 'SRID=4674;POINT (-40.331006 -2.77823)', '2026-06-16 06:25:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330954 -2.778118)'), GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.77823)'))) / (select extract(epoch from '2026-06-16 06:25:36'::timestamp) - extract(epoch from '2026-06-16 06:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330954 -2.778118)'), GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.77823)'))) / (select extract(epoch from '2026-06-16 06:25:36'::timestamp) - extract(epoch from '2026-06-16 06:25: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'), 46723, 'SRID=4674;POINT (-40.331023 -2.778354)', '2026-06-16 06:25:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.77823)'), GeomFromEWKT('SRID=4674;POINT (-40.331023 -2.778354)'))) / (select extract(epoch from '2026-06-16 06:25:43'::timestamp) - extract(epoch from '2026-06-16 06:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331006 -2.77823)'), GeomFromEWKT('SRID=4674;POINT (-40.331023 -2.778354)'))) / (select extract(epoch from '2026-06-16 06:25:43'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.331081 -2.778478)', '2026-06-16 06:25:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331023 -2.778354)'), GeomFromEWKT('SRID=4674;POINT (-40.331081 -2.778478)'))) / (select extract(epoch from '2026-06-16 06:25:50'::timestamp) - extract(epoch from '2026-06-16 06:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331023 -2.778354)'), GeomFromEWKT('SRID=4674;POINT (-40.331081 -2.778478)'))) / (select extract(epoch from '2026-06-16 06:25:50'::timestamp) - extract(epoch from '2026-06-16 06:25: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'), 46723, 'SRID=4674;POINT (-40.331134 -2.778595)', '2026-06-16 06:25:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331081 -2.778478)'), GeomFromEWKT('SRID=4674;POINT (-40.331134 -2.778595)'))) / (select extract(epoch from '2026-06-16 06:25:57'::timestamp) - extract(epoch from '2026-06-16 06:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331081 -2.778478)'), GeomFromEWKT('SRID=4674;POINT (-40.331134 -2.778595)'))) / (select extract(epoch from '2026-06-16 06:25:57'::timestamp) - extract(epoch from '2026-06-16 06:25: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'), 46723, 'SRID=4674;POINT (-40.331109 -2.778696)', '2026-06-16 06:26:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331134 -2.778595)'), GeomFromEWKT('SRID=4674;POINT (-40.331109 -2.778696)'))) / (select extract(epoch from '2026-06-16 06:26:03'::timestamp) - extract(epoch from '2026-06-16 06:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331134 -2.778595)'), GeomFromEWKT('SRID=4674;POINT (-40.331109 -2.778696)'))) / (select extract(epoch from '2026-06-16 06:26:03'::timestamp) - extract(epoch from '2026-06-16 06:25: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'), 46723, 'SRID=4674;POINT (-40.331068 -2.778789)', '2026-06-16 06:26:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331109 -2.778696)'), GeomFromEWKT('SRID=4674;POINT (-40.331068 -2.778789)'))) / (select extract(epoch from '2026-06-16 06:26:10'::timestamp) - extract(epoch from '2026-06-16 06:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331109 -2.778696)'), GeomFromEWKT('SRID=4674;POINT (-40.331068 -2.778789)'))) / (select extract(epoch from '2026-06-16 06:26:10'::timestamp) - extract(epoch from '2026-06-16 06:26: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'), 46723, 'SRID=4674;POINT (-40.331073 -2.77883)', '2026-06-16 06:26:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331068 -2.778789)'), GeomFromEWKT('SRID=4674;POINT (-40.331073 -2.77883)'))) / (select extract(epoch from '2026-06-16 06:26:18'::timestamp) - extract(epoch from '2026-06-16 06:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331068 -2.778789)'), GeomFromEWKT('SRID=4674;POINT (-40.331073 -2.77883)'))) / (select extract(epoch from '2026-06-16 06:26:18'::timestamp) - extract(epoch from '2026-06-16 06:26: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'), 46723, 'SRID=4674;POINT (-40.331068 -2.778818)', '2026-06-16 06:26:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331073 -2.77883)'), GeomFromEWKT('SRID=4674;POINT (-40.331068 -2.778818)'))) / (select extract(epoch from '2026-06-16 06:26:30'::timestamp) - extract(epoch from '2026-06-16 06:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331073 -2.77883)'), GeomFromEWKT('SRID=4674;POINT (-40.331068 -2.778818)'))) / (select extract(epoch from '2026-06-16 06:26:30'::timestamp) - extract(epoch from '2026-06-16 06:26:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.331073 -2.77882)', '2026-06-16 06:26:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331068 -2.778818)'), GeomFromEWKT('SRID=4674;POINT (-40.331073 -2.77882)'))) / (select extract(epoch from '2026-06-16 06:26:39'::timestamp) - extract(epoch from '2026-06-16 06:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331068 -2.778818)'), GeomFromEWKT('SRID=4674;POINT (-40.331073 -2.77882)'))) / (select extract(epoch from '2026-06-16 06:26:39'::timestamp) - extract(epoch from '2026-06-16 06:26: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'), 46723, 'SRID=4674;POINT (-40.33108 -2.778821)', '2026-06-16 06:26:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331073 -2.77882)'), GeomFromEWKT('SRID=4674;POINT (-40.33108 -2.778821)'))) / (select extract(epoch from '2026-06-16 06:26:47'::timestamp) - extract(epoch from '2026-06-16 06:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331073 -2.77882)'), GeomFromEWKT('SRID=4674;POINT (-40.33108 -2.778821)'))) / (select extract(epoch from '2026-06-16 06:26:47'::timestamp) - extract(epoch from '2026-06-16 06:26:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.331068 -2.778834)', '2026-06-16 06:26:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33108 -2.778821)'), GeomFromEWKT('SRID=4674;POINT (-40.331068 -2.778834)'))) / (select extract(epoch from '2026-06-16 06:26:55'::timestamp) - extract(epoch from '2026-06-16 06:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33108 -2.778821)'), GeomFromEWKT('SRID=4674;POINT (-40.331068 -2.778834)'))) / (select extract(epoch from '2026-06-16 06:26:55'::timestamp) - extract(epoch from '2026-06-16 06:26: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'), 46723, 'SRID=4674;POINT (-40.331031 -2.77883)', '2026-06-16 06:27:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331068 -2.778834)'), GeomFromEWKT('SRID=4674;POINT (-40.331031 -2.77883)'))) / (select extract(epoch from '2026-06-16 06:27:08'::timestamp) - extract(epoch from '2026-06-16 06:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331068 -2.778834)'), GeomFromEWKT('SRID=4674;POINT (-40.331031 -2.77883)'))) / (select extract(epoch from '2026-06-16 06:27:08'::timestamp) - extract(epoch from '2026-06-16 06:26: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'), 46723, 'SRID=4674;POINT (-40.331041 -2.778824)', '2026-06-16 06:27:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331031 -2.77883)'), GeomFromEWKT('SRID=4674;POINT (-40.331041 -2.778824)'))) / (select extract(epoch from '2026-06-16 06:27:20'::timestamp) - extract(epoch from '2026-06-16 06:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331031 -2.77883)'), GeomFromEWKT('SRID=4674;POINT (-40.331041 -2.778824)'))) / (select extract(epoch from '2026-06-16 06:27:20'::timestamp) - extract(epoch from '2026-06-16 06:27: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'), 46723, 'SRID=4674;POINT (-40.331038 -2.778822)', '2026-06-16 06:27:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331041 -2.778824)'), GeomFromEWKT('SRID=4674;POINT (-40.331038 -2.778822)'))) / (select extract(epoch from '2026-06-16 06:27:33'::timestamp) - extract(epoch from '2026-06-16 06:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331041 -2.778824)'), GeomFromEWKT('SRID=4674;POINT (-40.331038 -2.778822)'))) / (select extract(epoch from '2026-06-16 06:27:33'::timestamp) - extract(epoch from '2026-06-16 06:27: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'), 46723, 'SRID=4674;POINT (-40.331026 -2.778812)', '2026-06-16 06:27:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331038 -2.778822)'), GeomFromEWKT('SRID=4674;POINT (-40.331026 -2.778812)'))) / (select extract(epoch from '2026-06-16 06:27:45'::timestamp) - extract(epoch from '2026-06-16 06:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331038 -2.778822)'), GeomFromEWKT('SRID=4674;POINT (-40.331026 -2.778812)'))) / (select extract(epoch from '2026-06-16 06:27:45'::timestamp) - extract(epoch from '2026-06-16 06:27: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'), 46723, 'SRID=4674;POINT (-40.331023 -2.778803)', '2026-06-16 06:27:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331026 -2.778812)'), GeomFromEWKT('SRID=4674;POINT (-40.331023 -2.778803)'))) / (select extract(epoch from '2026-06-16 06:27:58'::timestamp) - extract(epoch from '2026-06-16 06:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331026 -2.778812)'), GeomFromEWKT('SRID=4674;POINT (-40.331023 -2.778803)'))) / (select extract(epoch from '2026-06-16 06:27:58'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.331017 -2.778801)', '2026-06-16 06:28:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331023 -2.778803)'), GeomFromEWKT('SRID=4674;POINT (-40.331017 -2.778801)'))) / (select extract(epoch from '2026-06-16 06:28:14'::timestamp) - extract(epoch from '2026-06-16 06:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331023 -2.778803)'), GeomFromEWKT('SRID=4674;POINT (-40.331017 -2.778801)'))) / (select extract(epoch from '2026-06-16 06:28:14'::timestamp) - extract(epoch from '2026-06-16 06:27: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'), 46723, 'SRID=4674;POINT (-40.331015 -2.778798)', '2026-06-16 06:28:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331017 -2.778801)'), GeomFromEWKT('SRID=4674;POINT (-40.331015 -2.778798)'))) / (select extract(epoch from '2026-06-16 06:28:24'::timestamp) - extract(epoch from '2026-06-16 06:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331017 -2.778801)'), GeomFromEWKT('SRID=4674;POINT (-40.331015 -2.778798)'))) / (select extract(epoch from '2026-06-16 06:28:24'::timestamp) - extract(epoch from '2026-06-16 06:28:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.331014 -2.778797)', '2026-06-16 06:28:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331015 -2.778798)'), GeomFromEWKT('SRID=4674;POINT (-40.331014 -2.778797)'))) / (select extract(epoch from '2026-06-16 06:28:37'::timestamp) - extract(epoch from '2026-06-16 06:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331015 -2.778798)'), GeomFromEWKT('SRID=4674;POINT (-40.331014 -2.778797)'))) / (select extract(epoch from '2026-06-16 06:28:37'::timestamp) - extract(epoch from '2026-06-16 06:28: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'), 46723, 'SRID=4674;POINT (-40.331016 -2.778796)', '2026-06-16 06:28:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331014 -2.778797)'), GeomFromEWKT('SRID=4674;POINT (-40.331016 -2.778796)'))) / (select extract(epoch from '2026-06-16 06:28:50'::timestamp) - extract(epoch from '2026-06-16 06:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331014 -2.778797)'), GeomFromEWKT('SRID=4674;POINT (-40.331016 -2.778796)'))) / (select extract(epoch from '2026-06-16 06:28:50'::timestamp) - extract(epoch from '2026-06-16 06:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.331025 -2.77879)', '2026-06-16 06:29:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331016 -2.778796)'), GeomFromEWKT('SRID=4674;POINT (-40.331025 -2.77879)'))) / (select extract(epoch from '2026-06-16 06:29:01'::timestamp) - extract(epoch from '2026-06-16 06:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331016 -2.778796)'), GeomFromEWKT('SRID=4674;POINT (-40.331025 -2.77879)'))) / (select extract(epoch from '2026-06-16 06:29:01'::timestamp) - extract(epoch from '2026-06-16 06:28:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.331022 -2.778793)', '2026-06-16 06:29:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331025 -2.77879)'), GeomFromEWKT('SRID=4674;POINT (-40.331022 -2.778793)'))) / (select extract(epoch from '2026-06-16 06:29:13'::timestamp) - extract(epoch from '2026-06-16 06:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331025 -2.77879)'), GeomFromEWKT('SRID=4674;POINT (-40.331022 -2.778793)'))) / (select extract(epoch from '2026-06-16 06:29:13'::timestamp) - extract(epoch from '2026-06-16 06:29:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.331019 -2.778785)', '2026-06-16 06:29:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331022 -2.778793)'), GeomFromEWKT('SRID=4674;POINT (-40.331019 -2.778785)'))) / (select extract(epoch from '2026-06-16 06:29:24'::timestamp) - extract(epoch from '2026-06-16 06:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331022 -2.778793)'), GeomFromEWKT('SRID=4674;POINT (-40.331019 -2.778785)'))) / (select extract(epoch from '2026-06-16 06:29:24'::timestamp) - extract(epoch from '2026-06-16 06:29: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'), 46723, 'SRID=4674;POINT (-40.331016 -2.778779)', '2026-06-16 06:29:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331019 -2.778785)'), GeomFromEWKT('SRID=4674;POINT (-40.331016 -2.778779)'))) / (select extract(epoch from '2026-06-16 06:29:31'::timestamp) - extract(epoch from '2026-06-16 06:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331019 -2.778785)'), GeomFromEWKT('SRID=4674;POINT (-40.331016 -2.778779)'))) / (select extract(epoch from '2026-06-16 06:29:31'::timestamp) - extract(epoch from '2026-06-16 06:29: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'), 46723, 'SRID=4674;POINT (-40.33101 -2.778793)', '2026-06-16 06:29:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331016 -2.778779)'), GeomFromEWKT('SRID=4674;POINT (-40.33101 -2.778793)'))) / (select extract(epoch from '2026-06-16 06:29:39'::timestamp) - extract(epoch from '2026-06-16 06:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331016 -2.778779)'), GeomFromEWKT('SRID=4674;POINT (-40.33101 -2.778793)'))) / (select extract(epoch from '2026-06-16 06:29:39'::timestamp) - extract(epoch from '2026-06-16 06:29: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'), 46723, 'SRID=4674;POINT (-40.330962 -2.778884)', '2026-06-16 06:29:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33101 -2.778793)'), GeomFromEWKT('SRID=4674;POINT (-40.330962 -2.778884)'))) / (select extract(epoch from '2026-06-16 06:29:54'::timestamp) - extract(epoch from '2026-06-16 06:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33101 -2.778793)'), GeomFromEWKT('SRID=4674;POINT (-40.330962 -2.778884)'))) / (select extract(epoch from '2026-06-16 06:29:54'::timestamp) - extract(epoch from '2026-06-16 06:29:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.33092 -2.778948)', '2026-06-16 06:30:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330962 -2.778884)'), GeomFromEWKT('SRID=4674;POINT (-40.33092 -2.778948)'))) / (select extract(epoch from '2026-06-16 06:30:09'::timestamp) - extract(epoch from '2026-06-16 06:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330962 -2.778884)'), GeomFromEWKT('SRID=4674;POINT (-40.33092 -2.778948)'))) / (select extract(epoch from '2026-06-16 06:30:09'::timestamp) - extract(epoch from '2026-06-16 06:29: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'), 46723, 'SRID=4674;POINT (-40.330864 -2.778988)', '2026-06-16 06:30:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33092 -2.778948)'), GeomFromEWKT('SRID=4674;POINT (-40.330864 -2.778988)'))) / (select extract(epoch from '2026-06-16 06:30:22'::timestamp) - extract(epoch from '2026-06-16 06:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33092 -2.778948)'), GeomFromEWKT('SRID=4674;POINT (-40.330864 -2.778988)'))) / (select extract(epoch from '2026-06-16 06:30:22'::timestamp) - extract(epoch from '2026-06-16 06:30: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'), 46723, 'SRID=4674;POINT (-40.330838 -2.779012)', '2026-06-16 06:30:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330864 -2.778988)'), GeomFromEWKT('SRID=4674;POINT (-40.330838 -2.779012)'))) / (select extract(epoch from '2026-06-16 06:30:35'::timestamp) - extract(epoch from '2026-06-16 06:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330864 -2.778988)'), GeomFromEWKT('SRID=4674;POINT (-40.330838 -2.779012)'))) / (select extract(epoch from '2026-06-16 06:30:35'::timestamp) - extract(epoch from '2026-06-16 06:30: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'), 46723, 'SRID=4674;POINT (-40.330848 -2.779007)', '2026-06-16 06:30:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330838 -2.779012)'), GeomFromEWKT('SRID=4674;POINT (-40.330848 -2.779007)'))) / (select extract(epoch from '2026-06-16 06:30:45'::timestamp) - extract(epoch from '2026-06-16 06:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330838 -2.779012)'), GeomFromEWKT('SRID=4674;POINT (-40.330848 -2.779007)'))) / (select extract(epoch from '2026-06-16 06:30:45'::timestamp) - extract(epoch from '2026-06-16 06:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330836 -2.779022)', '2026-06-16 06:30:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330848 -2.779007)'), GeomFromEWKT('SRID=4674;POINT (-40.330836 -2.779022)'))) / (select extract(epoch from '2026-06-16 06:30:53'::timestamp) - extract(epoch from '2026-06-16 06:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330848 -2.779007)'), GeomFromEWKT('SRID=4674;POINT (-40.330836 -2.779022)'))) / (select extract(epoch from '2026-06-16 06:30:53'::timestamp) - extract(epoch from '2026-06-16 06:30: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'), 46723, 'SRID=4674;POINT (-40.330808 -2.779024)', '2026-06-16 06:31:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330836 -2.779022)'), GeomFromEWKT('SRID=4674;POINT (-40.330808 -2.779024)'))) / (select extract(epoch from '2026-06-16 06:31:07'::timestamp) - extract(epoch from '2026-06-16 06:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330836 -2.779022)'), GeomFromEWKT('SRID=4674;POINT (-40.330808 -2.779024)'))) / (select extract(epoch from '2026-06-16 06:31:07'::timestamp) - extract(epoch from '2026-06-16 06:30: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'), 46723, 'SRID=4674;POINT (-40.3308 -2.779038)', '2026-06-16 06:31:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330808 -2.779024)'), GeomFromEWKT('SRID=4674;POINT (-40.3308 -2.779038)'))) / (select extract(epoch from '2026-06-16 06:31:19'::timestamp) - extract(epoch from '2026-06-16 06:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330808 -2.779024)'), GeomFromEWKT('SRID=4674;POINT (-40.3308 -2.779038)'))) / (select extract(epoch from '2026-06-16 06:31:19'::timestamp) - extract(epoch from '2026-06-16 06:31: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'), 46723, 'SRID=4674;POINT (-40.330802 -2.779046)', '2026-06-16 06:31:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3308 -2.779038)'), GeomFromEWKT('SRID=4674;POINT (-40.330802 -2.779046)'))) / (select extract(epoch from '2026-06-16 06:31:39'::timestamp) - extract(epoch from '2026-06-16 06:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3308 -2.779038)'), GeomFromEWKT('SRID=4674;POINT (-40.330802 -2.779046)'))) / (select extract(epoch from '2026-06-16 06:31:39'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.330796 -2.779045)', '2026-06-16 06:31:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330802 -2.779046)'), GeomFromEWKT('SRID=4674;POINT (-40.330796 -2.779045)'))) / (select extract(epoch from '2026-06-16 06:31:51'::timestamp) - extract(epoch from '2026-06-16 06:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330802 -2.779046)'), GeomFromEWKT('SRID=4674;POINT (-40.330796 -2.779045)'))) / (select extract(epoch from '2026-06-16 06:31:51'::timestamp) - extract(epoch from '2026-06-16 06:31: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'), 46723, 'SRID=4674;POINT (-40.33079 -2.77904)', '2026-06-16 06:32:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330796 -2.779045)'), GeomFromEWKT('SRID=4674;POINT (-40.33079 -2.77904)'))) / (select extract(epoch from '2026-06-16 06:32:06'::timestamp) - extract(epoch from '2026-06-16 06:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330796 -2.779045)'), GeomFromEWKT('SRID=4674;POINT (-40.33079 -2.77904)'))) / (select extract(epoch from '2026-06-16 06:32:06'::timestamp) - extract(epoch from '2026-06-16 06:31: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'), 46723, 'SRID=4674;POINT (-40.330794 -2.779042)', '2026-06-16 06:32:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33079 -2.77904)'), GeomFromEWKT('SRID=4674;POINT (-40.330794 -2.779042)'))) / (select extract(epoch from '2026-06-16 06:32:19'::timestamp) - extract(epoch from '2026-06-16 06:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33079 -2.77904)'), GeomFromEWKT('SRID=4674;POINT (-40.330794 -2.779042)'))) / (select extract(epoch from '2026-06-16 06:32:19'::timestamp) - extract(epoch from '2026-06-16 06:32: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'), 46723, 'SRID=4674;POINT (-40.330799 -2.779049)', '2026-06-16 06:32:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330794 -2.779042)'), GeomFromEWKT('SRID=4674;POINT (-40.330799 -2.779049)'))) / (select extract(epoch from '2026-06-16 06:32:29'::timestamp) - extract(epoch from '2026-06-16 06:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330794 -2.779042)'), GeomFromEWKT('SRID=4674;POINT (-40.330799 -2.779049)'))) / (select extract(epoch from '2026-06-16 06:32:29'::timestamp) - extract(epoch from '2026-06-16 06:32:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330798 -2.779047)', '2026-06-16 06:32:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330799 -2.779049)'), GeomFromEWKT('SRID=4674;POINT (-40.330798 -2.779047)'))) / (select extract(epoch from '2026-06-16 06:32:44'::timestamp) - extract(epoch from '2026-06-16 06:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330799 -2.779049)'), GeomFromEWKT('SRID=4674;POINT (-40.330798 -2.779047)'))) / (select extract(epoch from '2026-06-16 06:32:44'::timestamp) - extract(epoch from '2026-06-16 06:32: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'), 46723, 'SRID=4674;POINT (-40.330801 -2.779044)', '2026-06-16 06:32:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330798 -2.779047)'), GeomFromEWKT('SRID=4674;POINT (-40.330801 -2.779044)'))) / (select extract(epoch from '2026-06-16 06:32:52'::timestamp) - extract(epoch from '2026-06-16 06:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330798 -2.779047)'), GeomFromEWKT('SRID=4674;POINT (-40.330801 -2.779044)'))) / (select extract(epoch from '2026-06-16 06:32:52'::timestamp) - extract(epoch from '2026-06-16 06:32: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'), 46723, 'SRID=4674;POINT (-40.330799 -2.779048)', '2026-06-16 06:33:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330801 -2.779044)'), GeomFromEWKT('SRID=4674;POINT (-40.330799 -2.779048)'))) / (select extract(epoch from '2026-06-16 06:33:04'::timestamp) - extract(epoch from '2026-06-16 06:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330801 -2.779044)'), GeomFromEWKT('SRID=4674;POINT (-40.330799 -2.779048)'))) / (select extract(epoch from '2026-06-16 06:33:04'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.330796 -2.77905)', '2026-06-16 06:33:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330799 -2.779048)'), GeomFromEWKT('SRID=4674;POINT (-40.330796 -2.77905)'))) / (select extract(epoch from '2026-06-16 06:33:17'::timestamp) - extract(epoch from '2026-06-16 06:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330799 -2.779048)'), GeomFromEWKT('SRID=4674;POINT (-40.330796 -2.77905)'))) / (select extract(epoch from '2026-06-16 06:33:17'::timestamp) - extract(epoch from '2026-06-16 06:33: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'), 46723, 'SRID=4674;POINT (-40.330799 -2.779055)', '2026-06-16 06:33:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330796 -2.77905)'), GeomFromEWKT('SRID=4674;POINT (-40.330799 -2.779055)'))) / (select extract(epoch from '2026-06-16 06:33:29'::timestamp) - extract(epoch from '2026-06-16 06:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330796 -2.77905)'), GeomFromEWKT('SRID=4674;POINT (-40.330799 -2.779055)'))) / (select extract(epoch from '2026-06-16 06:33:29'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.330798 -2.779051)', '2026-06-16 06:33:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330799 -2.779055)'), GeomFromEWKT('SRID=4674;POINT (-40.330798 -2.779051)'))) / (select extract(epoch from '2026-06-16 06:33:40'::timestamp) - extract(epoch from '2026-06-16 06:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330799 -2.779055)'), GeomFromEWKT('SRID=4674;POINT (-40.330798 -2.779051)'))) / (select extract(epoch from '2026-06-16 06:33:40'::timestamp) - extract(epoch from '2026-06-16 06:33: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'), 46723, 'SRID=4674;POINT (-40.330791 -2.77904)', '2026-06-16 06:33:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330798 -2.779051)'), GeomFromEWKT('SRID=4674;POINT (-40.330791 -2.77904)'))) / (select extract(epoch from '2026-06-16 06:33:48'::timestamp) - extract(epoch from '2026-06-16 06:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330798 -2.779051)'), GeomFromEWKT('SRID=4674;POINT (-40.330791 -2.77904)'))) / (select extract(epoch from '2026-06-16 06:33:48'::timestamp) - extract(epoch from '2026-06-16 06:33: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'), 46723, 'SRID=4674;POINT (-40.330788 -2.779039)', '2026-06-16 06:33:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330791 -2.77904)'), GeomFromEWKT('SRID=4674;POINT (-40.330788 -2.779039)'))) / (select extract(epoch from '2026-06-16 06:33:57'::timestamp) - extract(epoch from '2026-06-16 06:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330791 -2.77904)'), GeomFromEWKT('SRID=4674;POINT (-40.330788 -2.779039)'))) / (select extract(epoch from '2026-06-16 06:33:57'::timestamp) - extract(epoch from '2026-06-16 06:33: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'), 46723, 'SRID=4674;POINT (-40.330793 -2.779036)', '2026-06-16 06:34:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330788 -2.779039)'), GeomFromEWKT('SRID=4674;POINT (-40.330793 -2.779036)'))) / (select extract(epoch from '2026-06-16 06:34:10'::timestamp) - extract(epoch from '2026-06-16 06:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330788 -2.779039)'), GeomFromEWKT('SRID=4674;POINT (-40.330793 -2.779036)'))) / (select extract(epoch from '2026-06-16 06:34:10'::timestamp) - extract(epoch from '2026-06-16 06:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330815 -2.778998)', '2026-06-16 06:34:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330793 -2.779036)'), GeomFromEWKT('SRID=4674;POINT (-40.330815 -2.778998)'))) / (select extract(epoch from '2026-06-16 06:34:24'::timestamp) - extract(epoch from '2026-06-16 06:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330793 -2.779036)'), GeomFromEWKT('SRID=4674;POINT (-40.330815 -2.778998)'))) / (select extract(epoch from '2026-06-16 06:34:24'::timestamp) - extract(epoch from '2026-06-16 06:34:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330828 -2.778982)', '2026-06-16 06:34:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330815 -2.778998)'), GeomFromEWKT('SRID=4674;POINT (-40.330828 -2.778982)'))) / (select extract(epoch from '2026-06-16 06:34:32'::timestamp) - extract(epoch from '2026-06-16 06:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330815 -2.778998)'), GeomFromEWKT('SRID=4674;POINT (-40.330828 -2.778982)'))) / (select extract(epoch from '2026-06-16 06:34:32'::timestamp) - extract(epoch from '2026-06-16 06:34: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'), 46723, 'SRID=4674;POINT (-40.330868 -2.778906)', '2026-06-16 06:34:50', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330828 -2.778982)'), GeomFromEWKT('SRID=4674;POINT (-40.330868 -2.778906)'))) / (select extract(epoch from '2026-06-16 06:34:50'::timestamp) - extract(epoch from '2026-06-16 06:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330828 -2.778982)'), GeomFromEWKT('SRID=4674;POINT (-40.330868 -2.778906)'))) / (select extract(epoch from '2026-06-16 06:34:50'::timestamp) - extract(epoch from '2026-06-16 06:34: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'), 46723, 'SRID=4674;POINT (-40.330894 -2.778898)', '2026-06-16 06:35:04', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330868 -2.778906)'), GeomFromEWKT('SRID=4674;POINT (-40.330894 -2.778898)'))) / (select extract(epoch from '2026-06-16 06:35:04'::timestamp) - extract(epoch from '2026-06-16 06:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330868 -2.778906)'), GeomFromEWKT('SRID=4674;POINT (-40.330894 -2.778898)'))) / (select extract(epoch from '2026-06-16 06:35:04'::timestamp) - extract(epoch from '2026-06-16 06:34: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'), 46723, 'SRID=4674;POINT (-40.330915 -2.778885)', '2026-06-16 06:35:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330894 -2.778898)'), GeomFromEWKT('SRID=4674;POINT (-40.330915 -2.778885)'))) / (select extract(epoch from '2026-06-16 06:35:16'::timestamp) - extract(epoch from '2026-06-16 06:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330894 -2.778898)'), GeomFromEWKT('SRID=4674;POINT (-40.330915 -2.778885)'))) / (select extract(epoch from '2026-06-16 06:35:16'::timestamp) - extract(epoch from '2026-06-16 06:35: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'), 46723, 'SRID=4674;POINT (-40.330955 -2.778864)', '2026-06-16 06:35:28', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330915 -2.778885)'), GeomFromEWKT('SRID=4674;POINT (-40.330955 -2.778864)'))) / (select extract(epoch from '2026-06-16 06:35:28'::timestamp) - extract(epoch from '2026-06-16 06:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330915 -2.778885)'), GeomFromEWKT('SRID=4674;POINT (-40.330955 -2.778864)'))) / (select extract(epoch from '2026-06-16 06:35:28'::timestamp) - extract(epoch from '2026-06-16 06:35: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'), 46723, 'SRID=4674;POINT (-40.331 -2.778835)', '2026-06-16 06:35:44', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330955 -2.778864)'), GeomFromEWKT('SRID=4674;POINT (-40.331 -2.778835)'))) / (select extract(epoch from '2026-06-16 06:35:44'::timestamp) - extract(epoch from '2026-06-16 06:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330955 -2.778864)'), GeomFromEWKT('SRID=4674;POINT (-40.331 -2.778835)'))) / (select extract(epoch from '2026-06-16 06:35:44'::timestamp) - extract(epoch from '2026-06-16 06:35: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'), 46723, 'SRID=4674;POINT (-40.331049 -2.778813)', '2026-06-16 06:35:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331 -2.778835)'), GeomFromEWKT('SRID=4674;POINT (-40.331049 -2.778813)'))) / (select extract(epoch from '2026-06-16 06:35:59'::timestamp) - extract(epoch from '2026-06-16 06:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331 -2.778835)'), GeomFromEWKT('SRID=4674;POINT (-40.331049 -2.778813)'))) / (select extract(epoch from '2026-06-16 06:35:59'::timestamp) - extract(epoch from '2026-06-16 06:35: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'), 46723, 'SRID=4674;POINT (-40.331079 -2.778801)', '2026-06-16 06:36:14', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331049 -2.778813)'), GeomFromEWKT('SRID=4674;POINT (-40.331079 -2.778801)'))) / (select extract(epoch from '2026-06-16 06:36:14'::timestamp) - extract(epoch from '2026-06-16 06:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331049 -2.778813)'), GeomFromEWKT('SRID=4674;POINT (-40.331079 -2.778801)'))) / (select extract(epoch from '2026-06-16 06:36:14'::timestamp) - extract(epoch from '2026-06-16 06:35: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'), 46723, 'SRID=4674;POINT (-40.331095 -2.778783)', '2026-06-16 06:36:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331079 -2.778801)'), GeomFromEWKT('SRID=4674;POINT (-40.331095 -2.778783)'))) / (select extract(epoch from '2026-06-16 06:36:26'::timestamp) - extract(epoch from '2026-06-16 06:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331079 -2.778801)'), GeomFromEWKT('SRID=4674;POINT (-40.331095 -2.778783)'))) / (select extract(epoch from '2026-06-16 06:36:26'::timestamp) - extract(epoch from '2026-06-16 06:36: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'), 46723, 'SRID=4674;POINT (-40.33115 -2.778752)', '2026-06-16 06:36:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331095 -2.778783)'), GeomFromEWKT('SRID=4674;POINT (-40.33115 -2.778752)'))) / (select extract(epoch from '2026-06-16 06:36:42'::timestamp) - extract(epoch from '2026-06-16 06:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331095 -2.778783)'), GeomFromEWKT('SRID=4674;POINT (-40.33115 -2.778752)'))) / (select extract(epoch from '2026-06-16 06:36:42'::timestamp) - extract(epoch from '2026-06-16 06:36: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'), 46723, 'SRID=4674;POINT (-40.331195 -2.778726)', '2026-06-16 06:36:54', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33115 -2.778752)'), GeomFromEWKT('SRID=4674;POINT (-40.331195 -2.778726)'))) / (select extract(epoch from '2026-06-16 06:36:54'::timestamp) - extract(epoch from '2026-06-16 06:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33115 -2.778752)'), GeomFromEWKT('SRID=4674;POINT (-40.331195 -2.778726)'))) / (select extract(epoch from '2026-06-16 06:36:54'::timestamp) - extract(epoch from '2026-06-16 06:36: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'), 46723, 'SRID=4674;POINT (-40.331222 -2.778688)', '2026-06-16 06:37:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331195 -2.778726)'), GeomFromEWKT('SRID=4674;POINT (-40.331222 -2.778688)'))) / (select extract(epoch from '2026-06-16 06:37:03'::timestamp) - extract(epoch from '2026-06-16 06:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331195 -2.778726)'), GeomFromEWKT('SRID=4674;POINT (-40.331222 -2.778688)'))) / (select extract(epoch from '2026-06-16 06:37:03'::timestamp) - extract(epoch from '2026-06-16 06:36: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'), 46723, 'SRID=4674;POINT (-40.331158 -2.778599)', '2026-06-16 06:37:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331222 -2.778688)'), GeomFromEWKT('SRID=4674;POINT (-40.331158 -2.778599)'))) / (select extract(epoch from '2026-06-16 06:37:13'::timestamp) - extract(epoch from '2026-06-16 06:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331222 -2.778688)'), GeomFromEWKT('SRID=4674;POINT (-40.331158 -2.778599)'))) / (select extract(epoch from '2026-06-16 06:37:13'::timestamp) - extract(epoch from '2026-06-16 06:37: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'), 46723, 'SRID=4674;POINT (-40.331039 -2.778574)', '2026-06-16 06:37:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331158 -2.778599)'), GeomFromEWKT('SRID=4674;POINT (-40.331039 -2.778574)'))) / (select extract(epoch from '2026-06-16 06:37:20'::timestamp) - extract(epoch from '2026-06-16 06:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331158 -2.778599)'), GeomFromEWKT('SRID=4674;POINT (-40.331039 -2.778574)'))) / (select extract(epoch from '2026-06-16 06:37:20'::timestamp) - extract(epoch from '2026-06-16 06:37: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'), 46723, 'SRID=4674;POINT (-40.330835 -2.778573)', '2026-06-16 06:37:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331039 -2.778574)'), GeomFromEWKT('SRID=4674;POINT (-40.330835 -2.778573)'))) / (select extract(epoch from '2026-06-16 06:37:30'::timestamp) - extract(epoch from '2026-06-16 06:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331039 -2.778574)'), GeomFromEWKT('SRID=4674;POINT (-40.330835 -2.778573)'))) / (select extract(epoch from '2026-06-16 06:37:30'::timestamp) - extract(epoch from '2026-06-16 06:37: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'), 46723, 'SRID=4674;POINT (-40.33065 -2.778597)', '2026-06-16 06:37:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330835 -2.778573)'), GeomFromEWKT('SRID=4674;POINT (-40.33065 -2.778597)'))) / (select extract(epoch from '2026-06-16 06:37:39'::timestamp) - extract(epoch from '2026-06-16 06:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330835 -2.778573)'), GeomFromEWKT('SRID=4674;POINT (-40.33065 -2.778597)'))) / (select extract(epoch from '2026-06-16 06:37:39'::timestamp) - extract(epoch from '2026-06-16 06:37: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'), 46723, 'SRID=4674;POINT (-40.330519 -2.778614)', '2026-06-16 06:37:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33065 -2.778597)'), GeomFromEWKT('SRID=4674;POINT (-40.330519 -2.778614)'))) / (select extract(epoch from '2026-06-16 06:37:46'::timestamp) - extract(epoch from '2026-06-16 06:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33065 -2.778597)'), GeomFromEWKT('SRID=4674;POINT (-40.330519 -2.778614)'))) / (select extract(epoch from '2026-06-16 06:37:46'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.330399 -2.778665)', '2026-06-16 06:37:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330519 -2.778614)'), GeomFromEWKT('SRID=4674;POINT (-40.330399 -2.778665)'))) / (select extract(epoch from '2026-06-16 06:37:53'::timestamp) - extract(epoch from '2026-06-16 06:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330519 -2.778614)'), GeomFromEWKT('SRID=4674;POINT (-40.330399 -2.778665)'))) / (select extract(epoch from '2026-06-16 06:37:53'::timestamp) - extract(epoch from '2026-06-16 06:37: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'), 46723, 'SRID=4674;POINT (-40.330302 -2.77874)', '2026-06-16 06:38:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330399 -2.778665)'), GeomFromEWKT('SRID=4674;POINT (-40.330302 -2.77874)'))) / (select extract(epoch from '2026-06-16 06:38:00'::timestamp) - extract(epoch from '2026-06-16 06:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330399 -2.778665)'), GeomFromEWKT('SRID=4674;POINT (-40.330302 -2.77874)'))) / (select extract(epoch from '2026-06-16 06:38:00'::timestamp) - extract(epoch from '2026-06-16 06:37: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'), 46723, 'SRID=4674;POINT (-40.330234 -2.778812)', '2026-06-16 06:38:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330302 -2.77874)'), GeomFromEWKT('SRID=4674;POINT (-40.330234 -2.778812)'))) / (select extract(epoch from '2026-06-16 06:38:07'::timestamp) - extract(epoch from '2026-06-16 06:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330302 -2.77874)'), GeomFromEWKT('SRID=4674;POINT (-40.330234 -2.778812)'))) / (select extract(epoch from '2026-06-16 06:38:07'::timestamp) - extract(epoch from '2026-06-16 06:38: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'), 46723, 'SRID=4674;POINT (-40.330154 -2.778872)', '2026-06-16 06:38:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330234 -2.778812)'), GeomFromEWKT('SRID=4674;POINT (-40.330154 -2.778872)'))) / (select extract(epoch from '2026-06-16 06:38:13'::timestamp) - extract(epoch from '2026-06-16 06:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330234 -2.778812)'), GeomFromEWKT('SRID=4674;POINT (-40.330154 -2.778872)'))) / (select extract(epoch from '2026-06-16 06:38:13'::timestamp) - extract(epoch from '2026-06-16 06:38: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'), 46723, 'SRID=4674;POINT (-40.330051 -2.778947)', '2026-06-16 06:38:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330154 -2.778872)'), GeomFromEWKT('SRID=4674;POINT (-40.330051 -2.778947)'))) / (select extract(epoch from '2026-06-16 06:38:20'::timestamp) - extract(epoch from '2026-06-16 06:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330154 -2.778872)'), GeomFromEWKT('SRID=4674;POINT (-40.330051 -2.778947)'))) / (select extract(epoch from '2026-06-16 06:38:20'::timestamp) - extract(epoch from '2026-06-16 06:38: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'), 46723, 'SRID=4674;POINT (-40.329941 -2.779033)', '2026-06-16 06:38:27', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330051 -2.778947)'), GeomFromEWKT('SRID=4674;POINT (-40.329941 -2.779033)'))) / (select extract(epoch from '2026-06-16 06:38:27'::timestamp) - extract(epoch from '2026-06-16 06:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330051 -2.778947)'), GeomFromEWKT('SRID=4674;POINT (-40.329941 -2.779033)'))) / (select extract(epoch from '2026-06-16 06:38:27'::timestamp) - extract(epoch from '2026-06-16 06:38: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'), 46723, 'SRID=4674;POINT (-40.329901 -2.779136)', '2026-06-16 06:38:33', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329941 -2.779033)'), GeomFromEWKT('SRID=4674;POINT (-40.329901 -2.779136)'))) / (select extract(epoch from '2026-06-16 06:38:33'::timestamp) - extract(epoch from '2026-06-16 06:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329941 -2.779033)'), GeomFromEWKT('SRID=4674;POINT (-40.329901 -2.779136)'))) / (select extract(epoch from '2026-06-16 06:38:33'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.32988 -2.779256)', '2026-06-16 06:38:40', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329901 -2.779136)'), GeomFromEWKT('SRID=4674;POINT (-40.32988 -2.779256)'))) / (select extract(epoch from '2026-06-16 06:38:40'::timestamp) - extract(epoch from '2026-06-16 06:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329901 -2.779136)'), GeomFromEWKT('SRID=4674;POINT (-40.32988 -2.779256)'))) / (select extract(epoch from '2026-06-16 06:38:40'::timestamp) - extract(epoch from '2026-06-16 06:38: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'), 46723, 'SRID=4674;POINT (-40.329854 -2.779357)', '2026-06-16 06:38:46', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32988 -2.779256)'), GeomFromEWKT('SRID=4674;POINT (-40.329854 -2.779357)'))) / (select extract(epoch from '2026-06-16 06:38:46'::timestamp) - extract(epoch from '2026-06-16 06:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32988 -2.779256)'), GeomFromEWKT('SRID=4674;POINT (-40.329854 -2.779357)'))) / (select extract(epoch from '2026-06-16 06:38:46'::timestamp) - extract(epoch from '2026-06-16 06:38: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'), 46723, 'SRID=4674;POINT (-40.329818 -2.779512)', '2026-06-16 06:38:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329854 -2.779357)'), GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.779512)'))) / (select extract(epoch from '2026-06-16 06:38:54'::timestamp) - extract(epoch from '2026-06-16 06:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329854 -2.779357)'), GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.779512)'))) / (select extract(epoch from '2026-06-16 06:38:54'::timestamp) - extract(epoch from '2026-06-16 06:38: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'), 46723, 'SRID=4674;POINT (-40.329818 -2.779606)', '2026-06-16 06:38:59', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.779512)'), GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.779606)'))) / (select extract(epoch from '2026-06-16 06:38:59'::timestamp) - extract(epoch from '2026-06-16 06:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.779512)'), GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.779606)'))) / (select extract(epoch from '2026-06-16 06:38:59'::timestamp) - extract(epoch from '2026-06-16 06:38: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'), 46723, 'SRID=4674;POINT (-40.329825 -2.779723)', '2026-06-16 06:39:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.779606)'), GeomFromEWKT('SRID=4674;POINT (-40.329825 -2.779723)'))) / (select extract(epoch from '2026-06-16 06:39:05'::timestamp) - extract(epoch from '2026-06-16 06:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.779606)'), GeomFromEWKT('SRID=4674;POINT (-40.329825 -2.779723)'))) / (select extract(epoch from '2026-06-16 06:39:05'::timestamp) - extract(epoch from '2026-06-16 06:38: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'), 46723, 'SRID=4674;POINT (-40.329821 -2.779847)', '2026-06-16 06:39:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329825 -2.779723)'), GeomFromEWKT('SRID=4674;POINT (-40.329821 -2.779847)'))) / (select extract(epoch from '2026-06-16 06:39:11'::timestamp) - extract(epoch from '2026-06-16 06:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329825 -2.779723)'), GeomFromEWKT('SRID=4674;POINT (-40.329821 -2.779847)'))) / (select extract(epoch from '2026-06-16 06:39:11'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.329858 -2.78)', '2026-06-16 06:39:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329821 -2.779847)'), GeomFromEWKT('SRID=4674;POINT (-40.329858 -2.78)'))) / (select extract(epoch from '2026-06-16 06:39:19'::timestamp) - extract(epoch from '2026-06-16 06:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329821 -2.779847)'), GeomFromEWKT('SRID=4674;POINT (-40.329858 -2.78)'))) / (select extract(epoch from '2026-06-16 06:39:19'::timestamp) - extract(epoch from '2026-06-16 06:39: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'), 46723, 'SRID=4674;POINT (-40.329877 -2.78013)', '2026-06-16 06:39:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329858 -2.78)'), GeomFromEWKT('SRID=4674;POINT (-40.329877 -2.78013)'))) / (select extract(epoch from '2026-06-16 06:39:26'::timestamp) - extract(epoch from '2026-06-16 06:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329858 -2.78)'), GeomFromEWKT('SRID=4674;POINT (-40.329877 -2.78013)'))) / (select extract(epoch from '2026-06-16 06:39:26'::timestamp) - extract(epoch from '2026-06-16 06:39: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'), 46723, 'SRID=4674;POINT (-40.329882 -2.78033)', '2026-06-16 06:39:36', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329877 -2.78013)'), GeomFromEWKT('SRID=4674;POINT (-40.329882 -2.78033)'))) / (select extract(epoch from '2026-06-16 06:39:36'::timestamp) - extract(epoch from '2026-06-16 06:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329877 -2.78013)'), GeomFromEWKT('SRID=4674;POINT (-40.329882 -2.78033)'))) / (select extract(epoch from '2026-06-16 06:39:36'::timestamp) - extract(epoch from '2026-06-16 06:39: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'), 46723, 'SRID=4674;POINT (-40.329849 -2.780465)', '2026-06-16 06:39:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329882 -2.78033)'), GeomFromEWKT('SRID=4674;POINT (-40.329849 -2.780465)'))) / (select extract(epoch from '2026-06-16 06:39:44'::timestamp) - extract(epoch from '2026-06-16 06:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329882 -2.78033)'), GeomFromEWKT('SRID=4674;POINT (-40.329849 -2.780465)'))) / (select extract(epoch from '2026-06-16 06:39:44'::timestamp) - extract(epoch from '2026-06-16 06:39: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'), 46723, 'SRID=4674;POINT (-40.329807 -2.780561)', '2026-06-16 06:39:53', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329849 -2.780465)'), GeomFromEWKT('SRID=4674;POINT (-40.329807 -2.780561)'))) / (select extract(epoch from '2026-06-16 06:39:53'::timestamp) - extract(epoch from '2026-06-16 06:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329849 -2.780465)'), GeomFromEWKT('SRID=4674;POINT (-40.329807 -2.780561)'))) / (select extract(epoch from '2026-06-16 06:39:53'::timestamp) - extract(epoch from '2026-06-16 06:39: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'), 46723, 'SRID=4674;POINT (-40.329796 -2.780561)', '2026-06-16 06:40:00', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329807 -2.780561)'), GeomFromEWKT('SRID=4674;POINT (-40.329796 -2.780561)'))) / (select extract(epoch from '2026-06-16 06:40:00'::timestamp) - extract(epoch from '2026-06-16 06:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329807 -2.780561)'), GeomFromEWKT('SRID=4674;POINT (-40.329796 -2.780561)'))) / (select extract(epoch from '2026-06-16 06:40:00'::timestamp) - extract(epoch from '2026-06-16 06:39: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'), 46723, 'SRID=4674;POINT (-40.329799 -2.78053)', '2026-06-16 06:40:14', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329796 -2.780561)'), GeomFromEWKT('SRID=4674;POINT (-40.329799 -2.78053)'))) / (select extract(epoch from '2026-06-16 06:40:14'::timestamp) - extract(epoch from '2026-06-16 06:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329796 -2.780561)'), GeomFromEWKT('SRID=4674;POINT (-40.329799 -2.78053)'))) / (select extract(epoch from '2026-06-16 06:40:14'::timestamp) - extract(epoch from '2026-06-16 06:40: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'), 46723, 'SRID=4674;POINT (-40.329808 -2.78053)', '2026-06-16 06:40:25', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329799 -2.78053)'), GeomFromEWKT('SRID=4674;POINT (-40.329808 -2.78053)'))) / (select extract(epoch from '2026-06-16 06:40:25'::timestamp) - extract(epoch from '2026-06-16 06:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329799 -2.78053)'), GeomFromEWKT('SRID=4674;POINT (-40.329808 -2.78053)'))) / (select extract(epoch from '2026-06-16 06:40:25'::timestamp) - extract(epoch from '2026-06-16 06:40: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'), 46723, 'SRID=4674;POINT (-40.329799 -2.78054)', '2026-06-16 06:40:34', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329808 -2.78053)'), GeomFromEWKT('SRID=4674;POINT (-40.329799 -2.78054)'))) / (select extract(epoch from '2026-06-16 06:40:34'::timestamp) - extract(epoch from '2026-06-16 06:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329808 -2.78053)'), GeomFromEWKT('SRID=4674;POINT (-40.329799 -2.78054)'))) / (select extract(epoch from '2026-06-16 06:40:34'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.329739 -2.780524)', '2026-06-16 06:40:48', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329799 -2.78054)'), GeomFromEWKT('SRID=4674;POINT (-40.329739 -2.780524)'))) / (select extract(epoch from '2026-06-16 06:40:48'::timestamp) - extract(epoch from '2026-06-16 06:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329799 -2.78054)'), GeomFromEWKT('SRID=4674;POINT (-40.329739 -2.780524)'))) / (select extract(epoch from '2026-06-16 06:40:48'::timestamp) - extract(epoch from '2026-06-16 06:40: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'), 46723, 'SRID=4674;POINT (-40.329742 -2.780513)', '2026-06-16 06:41:03', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329739 -2.780524)'), GeomFromEWKT('SRID=4674;POINT (-40.329742 -2.780513)'))) / (select extract(epoch from '2026-06-16 06:41:03'::timestamp) - extract(epoch from '2026-06-16 06:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329739 -2.780524)'), GeomFromEWKT('SRID=4674;POINT (-40.329742 -2.780513)'))) / (select extract(epoch from '2026-06-16 06:41:03'::timestamp) - extract(epoch from '2026-06-16 06:40: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'), 46723, 'SRID=4674;POINT (-40.329749 -2.780512)', '2026-06-16 06:41:16', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329742 -2.780513)'), GeomFromEWKT('SRID=4674;POINT (-40.329749 -2.780512)'))) / (select extract(epoch from '2026-06-16 06:41:16'::timestamp) - extract(epoch from '2026-06-16 06:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329742 -2.780513)'), GeomFromEWKT('SRID=4674;POINT (-40.329749 -2.780512)'))) / (select extract(epoch from '2026-06-16 06:41:16'::timestamp) - extract(epoch from '2026-06-16 06:41: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'), 46723, 'SRID=4674;POINT (-40.329747 -2.780509)', '2026-06-16 06:41:26', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329749 -2.780512)'), GeomFromEWKT('SRID=4674;POINT (-40.329747 -2.780509)'))) / (select extract(epoch from '2026-06-16 06:41:26'::timestamp) - extract(epoch from '2026-06-16 06:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329749 -2.780512)'), GeomFromEWKT('SRID=4674;POINT (-40.329747 -2.780509)'))) / (select extract(epoch from '2026-06-16 06:41:26'::timestamp) - extract(epoch from '2026-06-16 06:41: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'), 46723, 'SRID=4674;POINT (-40.329747 -2.780507)', '2026-06-16 06:41:38', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329747 -2.780509)'), GeomFromEWKT('SRID=4674;POINT (-40.329747 -2.780507)'))) / (select extract(epoch from '2026-06-16 06:41:38'::timestamp) - extract(epoch from '2026-06-16 06:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329747 -2.780509)'), GeomFromEWKT('SRID=4674;POINT (-40.329747 -2.780507)'))) / (select extract(epoch from '2026-06-16 06:41:38'::timestamp) - extract(epoch from '2026-06-16 06:41: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'), 46723, 'SRID=4674;POINT (-40.329744 -2.780503)', '2026-06-16 06:41:46', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329747 -2.780507)'), GeomFromEWKT('SRID=4674;POINT (-40.329744 -2.780503)'))) / (select extract(epoch from '2026-06-16 06:41:46'::timestamp) - extract(epoch from '2026-06-16 06:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329747 -2.780507)'), GeomFromEWKT('SRID=4674;POINT (-40.329744 -2.780503)'))) / (select extract(epoch from '2026-06-16 06:41:46'::timestamp) - extract(epoch from '2026-06-16 06:41:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.329738 -2.780501)', '2026-06-16 06:41:58', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329744 -2.780503)'), GeomFromEWKT('SRID=4674;POINT (-40.329738 -2.780501)'))) / (select extract(epoch from '2026-06-16 06:41:58'::timestamp) - extract(epoch from '2026-06-16 06:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329744 -2.780503)'), GeomFromEWKT('SRID=4674;POINT (-40.329738 -2.780501)'))) / (select extract(epoch from '2026-06-16 06:41:58'::timestamp) - extract(epoch from '2026-06-16 06:41: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'), 46723, 'SRID=4674;POINT (-40.329739 -2.780495)', '2026-06-16 06:42:07', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329738 -2.780501)'), GeomFromEWKT('SRID=4674;POINT (-40.329739 -2.780495)'))) / (select extract(epoch from '2026-06-16 06:42:07'::timestamp) - extract(epoch from '2026-06-16 06:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329738 -2.780501)'), GeomFromEWKT('SRID=4674;POINT (-40.329739 -2.780495)'))) / (select extract(epoch from '2026-06-16 06:42:07'::timestamp) - extract(epoch from '2026-06-16 06:41: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'), 46723, 'SRID=4674;POINT (-40.329743 -2.7805)', '2026-06-16 06:42:18', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329739 -2.780495)'), GeomFromEWKT('SRID=4674;POINT (-40.329743 -2.7805)'))) / (select extract(epoch from '2026-06-16 06:42:18'::timestamp) - extract(epoch from '2026-06-16 06:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329739 -2.780495)'), GeomFromEWKT('SRID=4674;POINT (-40.329743 -2.7805)'))) / (select extract(epoch from '2026-06-16 06:42:18'::timestamp) - extract(epoch from '2026-06-16 06:42: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'), 46723, 'SRID=4674;POINT (-40.329725 -2.780524)', '2026-06-16 06:42:28', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329743 -2.7805)'), GeomFromEWKT('SRID=4674;POINT (-40.329725 -2.780524)'))) / (select extract(epoch from '2026-06-16 06:42:28'::timestamp) - extract(epoch from '2026-06-16 06:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329743 -2.7805)'), GeomFromEWKT('SRID=4674;POINT (-40.329725 -2.780524)'))) / (select extract(epoch from '2026-06-16 06:42:28'::timestamp) - extract(epoch from '2026-06-16 06:42: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'), 46723, 'SRID=4674;POINT (-40.329662 -2.780601)', '2026-06-16 06:42:43', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329725 -2.780524)'), GeomFromEWKT('SRID=4674;POINT (-40.329662 -2.780601)'))) / (select extract(epoch from '2026-06-16 06:42:43'::timestamp) - extract(epoch from '2026-06-16 06:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329725 -2.780524)'), GeomFromEWKT('SRID=4674;POINT (-40.329662 -2.780601)'))) / (select extract(epoch from '2026-06-16 06:42:43'::timestamp) - extract(epoch from '2026-06-16 06:42:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.329604 -2.780672)', '2026-06-16 06:43:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329662 -2.780601)'), GeomFromEWKT('SRID=4674;POINT (-40.329604 -2.780672)'))) / (select extract(epoch from '2026-06-16 06:43:00'::timestamp) - extract(epoch from '2026-06-16 06:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329662 -2.780601)'), GeomFromEWKT('SRID=4674;POINT (-40.329604 -2.780672)'))) / (select extract(epoch from '2026-06-16 06:43:00'::timestamp) - extract(epoch from '2026-06-16 06:42: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'), 46723, 'SRID=4674;POINT (-40.329532 -2.780724)', '2026-06-16 06:43:15', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329604 -2.780672)'), GeomFromEWKT('SRID=4674;POINT (-40.329532 -2.780724)'))) / (select extract(epoch from '2026-06-16 06:43:15'::timestamp) - extract(epoch from '2026-06-16 06:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329604 -2.780672)'), GeomFromEWKT('SRID=4674;POINT (-40.329532 -2.780724)'))) / (select extract(epoch from '2026-06-16 06:43:15'::timestamp) - extract(epoch from '2026-06-16 06:43: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'), 46723, 'SRID=4674;POINT (-40.329506 -2.780759)', '2026-06-16 06:43:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329532 -2.780724)'), GeomFromEWKT('SRID=4674;POINT (-40.329506 -2.780759)'))) / (select extract(epoch from '2026-06-16 06:43:25'::timestamp) - extract(epoch from '2026-06-16 06:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329532 -2.780724)'), GeomFromEWKT('SRID=4674;POINT (-40.329506 -2.780759)'))) / (select extract(epoch from '2026-06-16 06:43:25'::timestamp) - extract(epoch from '2026-06-16 06:43: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'), 46723, 'SRID=4674;POINT (-40.329515 -2.780755)', '2026-06-16 06:43:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329506 -2.780759)'), GeomFromEWKT('SRID=4674;POINT (-40.329515 -2.780755)'))) / (select extract(epoch from '2026-06-16 06:43:35'::timestamp) - extract(epoch from '2026-06-16 06:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329506 -2.780759)'), GeomFromEWKT('SRID=4674;POINT (-40.329515 -2.780755)'))) / (select extract(epoch from '2026-06-16 06:43:35'::timestamp) - extract(epoch from '2026-06-16 06:43: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'), 46723, 'SRID=4674;POINT (-40.329485 -2.780765)', '2026-06-16 06:43:46', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329515 -2.780755)'), GeomFromEWKT('SRID=4674;POINT (-40.329485 -2.780765)'))) / (select extract(epoch from '2026-06-16 06:43:46'::timestamp) - extract(epoch from '2026-06-16 06:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329515 -2.780755)'), GeomFromEWKT('SRID=4674;POINT (-40.329485 -2.780765)'))) / (select extract(epoch from '2026-06-16 06:43:46'::timestamp) - extract(epoch from '2026-06-16 06:43: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'), 46723, 'SRID=4674;POINT (-40.329447 -2.780767)', '2026-06-16 06:44:03', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329485 -2.780765)'), GeomFromEWKT('SRID=4674;POINT (-40.329447 -2.780767)'))) / (select extract(epoch from '2026-06-16 06:44:03'::timestamp) - extract(epoch from '2026-06-16 06:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329485 -2.780765)'), GeomFromEWKT('SRID=4674;POINT (-40.329447 -2.780767)'))) / (select extract(epoch from '2026-06-16 06:44:03'::timestamp) - extract(epoch from '2026-06-16 06:43: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'), 46723, 'SRID=4674;POINT (-40.329451 -2.780759)', '2026-06-16 06:44:21', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329447 -2.780767)'), GeomFromEWKT('SRID=4674;POINT (-40.329451 -2.780759)'))) / (select extract(epoch from '2026-06-16 06:44:21'::timestamp) - extract(epoch from '2026-06-16 06:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329447 -2.780767)'), GeomFromEWKT('SRID=4674;POINT (-40.329451 -2.780759)'))) / (select extract(epoch from '2026-06-16 06:44:21'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.329449 -2.780761)', '2026-06-16 06:44:34', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329451 -2.780759)'), GeomFromEWKT('SRID=4674;POINT (-40.329449 -2.780761)'))) / (select extract(epoch from '2026-06-16 06:44:34'::timestamp) - extract(epoch from '2026-06-16 06:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329451 -2.780759)'), GeomFromEWKT('SRID=4674;POINT (-40.329449 -2.780761)'))) / (select extract(epoch from '2026-06-16 06:44:34'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.329448 -2.780759)', '2026-06-16 06:44:49', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329449 -2.780761)'), GeomFromEWKT('SRID=4674;POINT (-40.329448 -2.780759)'))) / (select extract(epoch from '2026-06-16 06:44:49'::timestamp) - extract(epoch from '2026-06-16 06:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329449 -2.780761)'), GeomFromEWKT('SRID=4674;POINT (-40.329448 -2.780759)'))) / (select extract(epoch from '2026-06-16 06:44:49'::timestamp) - extract(epoch from '2026-06-16 06:44: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'), 46723, 'SRID=4674;POINT (-40.329449 -2.780761)', '2026-06-16 06:44:59', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329448 -2.780759)'), GeomFromEWKT('SRID=4674;POINT (-40.329449 -2.780761)'))) / (select extract(epoch from '2026-06-16 06:44:59'::timestamp) - extract(epoch from '2026-06-16 06:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329448 -2.780759)'), GeomFromEWKT('SRID=4674;POINT (-40.329449 -2.780761)'))) / (select extract(epoch from '2026-06-16 06:44:59'::timestamp) - extract(epoch from '2026-06-16 06:44: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'), 46723, 'SRID=4674;POINT (-40.32945 -2.78076)', '2026-06-16 06:45:08', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329449 -2.780761)'), GeomFromEWKT('SRID=4674;POINT (-40.32945 -2.78076)'))) / (select extract(epoch from '2026-06-16 06:45:08'::timestamp) - extract(epoch from '2026-06-16 06:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329449 -2.780761)'), GeomFromEWKT('SRID=4674;POINT (-40.32945 -2.78076)'))) / (select extract(epoch from '2026-06-16 06:45:08'::timestamp) - extract(epoch from '2026-06-16 06:44:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.329444 -2.780764)', '2026-06-16 06:45:19', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32945 -2.78076)'), GeomFromEWKT('SRID=4674;POINT (-40.329444 -2.780764)'))) / (select extract(epoch from '2026-06-16 06:45:19'::timestamp) - extract(epoch from '2026-06-16 06:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32945 -2.78076)'), GeomFromEWKT('SRID=4674;POINT (-40.329444 -2.780764)'))) / (select extract(epoch from '2026-06-16 06:45:19'::timestamp) - extract(epoch from '2026-06-16 06:45: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'), 46723, 'SRID=4674;POINT (-40.329448 -2.78077)', '2026-06-16 06:45:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329444 -2.780764)'), GeomFromEWKT('SRID=4674;POINT (-40.329448 -2.78077)'))) / (select extract(epoch from '2026-06-16 06:45:34'::timestamp) - extract(epoch from '2026-06-16 06:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329444 -2.780764)'), GeomFromEWKT('SRID=4674;POINT (-40.329448 -2.78077)'))) / (select extract(epoch from '2026-06-16 06:45:34'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.329448 -2.78077)', '2026-06-16 06:45:43', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329448 -2.78077)'), GeomFromEWKT('SRID=4674;POINT (-40.329448 -2.78077)'))) / (select extract(epoch from '2026-06-16 06:45:43'::timestamp) - extract(epoch from '2026-06-16 06:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329448 -2.78077)'), GeomFromEWKT('SRID=4674;POINT (-40.329448 -2.78077)'))) / (select extract(epoch from '2026-06-16 06:45:43'::timestamp) - extract(epoch from '2026-06-16 06:45: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'), 46723, 'SRID=4674;POINT (-40.329458 -2.780764)', '2026-06-16 06:45:59', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329448 -2.78077)'), GeomFromEWKT('SRID=4674;POINT (-40.329458 -2.780764)'))) / (select extract(epoch from '2026-06-16 06:45:59'::timestamp) - extract(epoch from '2026-06-16 06:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329448 -2.78077)'), GeomFromEWKT('SRID=4674;POINT (-40.329458 -2.780764)'))) / (select extract(epoch from '2026-06-16 06:45:59'::timestamp) - extract(epoch from '2026-06-16 06:45: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'), 46723, 'SRID=4674;POINT (-40.329461 -2.780765)', '2026-06-16 06:46:08', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329458 -2.780764)'), GeomFromEWKT('SRID=4674;POINT (-40.329461 -2.780765)'))) / (select extract(epoch from '2026-06-16 06:46:08'::timestamp) - extract(epoch from '2026-06-16 06:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329458 -2.780764)'), GeomFromEWKT('SRID=4674;POINT (-40.329461 -2.780765)'))) / (select extract(epoch from '2026-06-16 06:46:08'::timestamp) - extract(epoch from '2026-06-16 06:45: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'), 46723, 'SRID=4674;POINT (-40.329462 -2.780763)', '2026-06-16 06:46:18', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329461 -2.780765)'), GeomFromEWKT('SRID=4674;POINT (-40.329462 -2.780763)'))) / (select extract(epoch from '2026-06-16 06:46:18'::timestamp) - extract(epoch from '2026-06-16 06:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329461 -2.780765)'), GeomFromEWKT('SRID=4674;POINT (-40.329462 -2.780763)'))) / (select extract(epoch from '2026-06-16 06:46:18'::timestamp) - extract(epoch from '2026-06-16 06:46: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'), 46723, 'SRID=4674;POINT (-40.329466 -2.780762)', '2026-06-16 06:46:32', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329462 -2.780763)'), GeomFromEWKT('SRID=4674;POINT (-40.329466 -2.780762)'))) / (select extract(epoch from '2026-06-16 06:46:32'::timestamp) - extract(epoch from '2026-06-16 06:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329462 -2.780763)'), GeomFromEWKT('SRID=4674;POINT (-40.329466 -2.780762)'))) / (select extract(epoch from '2026-06-16 06:46:32'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.329465 -2.780761)', '2026-06-16 06:46:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329466 -2.780762)'), GeomFromEWKT('SRID=4674;POINT (-40.329465 -2.780761)'))) / (select extract(epoch from '2026-06-16 06:46:46'::timestamp) - extract(epoch from '2026-06-16 06:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329466 -2.780762)'), GeomFromEWKT('SRID=4674;POINT (-40.329465 -2.780761)'))) / (select extract(epoch from '2026-06-16 06:46:46'::timestamp) - extract(epoch from '2026-06-16 06:46:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.329452 -2.780775)', '2026-06-16 06:46:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329465 -2.780761)'), GeomFromEWKT('SRID=4674;POINT (-40.329452 -2.780775)'))) / (select extract(epoch from '2026-06-16 06:46:57'::timestamp) - extract(epoch from '2026-06-16 06:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329465 -2.780761)'), GeomFromEWKT('SRID=4674;POINT (-40.329452 -2.780775)'))) / (select extract(epoch from '2026-06-16 06:46:57'::timestamp) - extract(epoch from '2026-06-16 06:46:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.329425 -2.780786)', '2026-06-16 06:47:13', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329452 -2.780775)'), GeomFromEWKT('SRID=4674;POINT (-40.329425 -2.780786)'))) / (select extract(epoch from '2026-06-16 06:47:13'::timestamp) - extract(epoch from '2026-06-16 06:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329452 -2.780775)'), GeomFromEWKT('SRID=4674;POINT (-40.329425 -2.780786)'))) / (select extract(epoch from '2026-06-16 06:47:13'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.329428 -2.780783)', '2026-06-16 06:47:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329425 -2.780786)'), GeomFromEWKT('SRID=4674;POINT (-40.329428 -2.780783)'))) / (select extract(epoch from '2026-06-16 06:47:21'::timestamp) - extract(epoch from '2026-06-16 06:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329425 -2.780786)'), GeomFromEWKT('SRID=4674;POINT (-40.329428 -2.780783)'))) / (select extract(epoch from '2026-06-16 06:47:21'::timestamp) - extract(epoch from '2026-06-16 06:47:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.329456 -2.780763)', '2026-06-16 06:47:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329428 -2.780783)'), GeomFromEWKT('SRID=4674;POINT (-40.329456 -2.780763)'))) / (select extract(epoch from '2026-06-16 06:47:34'::timestamp) - extract(epoch from '2026-06-16 06:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329428 -2.780783)'), GeomFromEWKT('SRID=4674;POINT (-40.329456 -2.780763)'))) / (select extract(epoch from '2026-06-16 06:47:34'::timestamp) - extract(epoch from '2026-06-16 06:47: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'), 46723, 'SRID=4674;POINT (-40.329517 -2.780715)', '2026-06-16 06:47:49', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329456 -2.780763)'), GeomFromEWKT('SRID=4674;POINT (-40.329517 -2.780715)'))) / (select extract(epoch from '2026-06-16 06:47:49'::timestamp) - extract(epoch from '2026-06-16 06:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329456 -2.780763)'), GeomFromEWKT('SRID=4674;POINT (-40.329517 -2.780715)'))) / (select extract(epoch from '2026-06-16 06:47:49'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.329572 -2.780643)', '2026-06-16 06:48:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329517 -2.780715)'), GeomFromEWKT('SRID=4674;POINT (-40.329572 -2.780643)'))) / (select extract(epoch from '2026-06-16 06:48:11'::timestamp) - extract(epoch from '2026-06-16 06:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329517 -2.780715)'), GeomFromEWKT('SRID=4674;POINT (-40.329572 -2.780643)'))) / (select extract(epoch from '2026-06-16 06:48:11'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.329518 -2.7806)', '2026-06-16 06:48:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329572 -2.780643)'), GeomFromEWKT('SRID=4674;POINT (-40.329518 -2.7806)'))) / (select extract(epoch from '2026-06-16 06:48:20'::timestamp) - extract(epoch from '2026-06-16 06:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329572 -2.780643)'), GeomFromEWKT('SRID=4674;POINT (-40.329518 -2.7806)'))) / (select extract(epoch from '2026-06-16 06:48:20'::timestamp) - extract(epoch from '2026-06-16 06:48:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.329467 -2.780628)', '2026-06-16 06:48:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329518 -2.7806)'), GeomFromEWKT('SRID=4674;POINT (-40.329467 -2.780628)'))) / (select extract(epoch from '2026-06-16 06:48:25'::timestamp) - extract(epoch from '2026-06-16 06:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329518 -2.7806)'), GeomFromEWKT('SRID=4674;POINT (-40.329467 -2.780628)'))) / (select extract(epoch from '2026-06-16 06:48:25'::timestamp) - extract(epoch from '2026-06-16 06:48: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'), 46723, 'SRID=4674;POINT (-40.329443 -2.780671)', '2026-06-16 06:48:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329467 -2.780628)'), GeomFromEWKT('SRID=4674;POINT (-40.329443 -2.780671)'))) / (select extract(epoch from '2026-06-16 06:48:29'::timestamp) - extract(epoch from '2026-06-16 06:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329467 -2.780628)'), GeomFromEWKT('SRID=4674;POINT (-40.329443 -2.780671)'))) / (select extract(epoch from '2026-06-16 06:48:29'::timestamp) - extract(epoch from '2026-06-16 06:48: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'), 46723, 'SRID=4674;POINT (-40.329419 -2.780802)', '2026-06-16 06:48:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329443 -2.780671)'), GeomFromEWKT('SRID=4674;POINT (-40.329419 -2.780802)'))) / (select extract(epoch from '2026-06-16 06:48:38'::timestamp) - extract(epoch from '2026-06-16 06:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329443 -2.780671)'), GeomFromEWKT('SRID=4674;POINT (-40.329419 -2.780802)'))) / (select extract(epoch from '2026-06-16 06:48:38'::timestamp) - extract(epoch from '2026-06-16 06:48: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'), 46723, 'SRID=4674;POINT (-40.32943 -2.780956)', '2026-06-16 06:48:47', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329419 -2.780802)'), GeomFromEWKT('SRID=4674;POINT (-40.32943 -2.780956)'))) / (select extract(epoch from '2026-06-16 06:48:47'::timestamp) - extract(epoch from '2026-06-16 06:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329419 -2.780802)'), GeomFromEWKT('SRID=4674;POINT (-40.32943 -2.780956)'))) / (select extract(epoch from '2026-06-16 06:48:47'::timestamp) - extract(epoch from '2026-06-16 06:48:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.329442 -2.781088)', '2026-06-16 06:48:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32943 -2.780956)'), GeomFromEWKT('SRID=4674;POINT (-40.329442 -2.781088)'))) / (select extract(epoch from '2026-06-16 06:48:54'::timestamp) - extract(epoch from '2026-06-16 06:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32943 -2.780956)'), GeomFromEWKT('SRID=4674;POINT (-40.329442 -2.781088)'))) / (select extract(epoch from '2026-06-16 06:48:54'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.329463 -2.781222)', '2026-06-16 06:49:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329442 -2.781088)'), GeomFromEWKT('SRID=4674;POINT (-40.329463 -2.781222)'))) / (select extract(epoch from '2026-06-16 06:49:02'::timestamp) - extract(epoch from '2026-06-16 06:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329442 -2.781088)'), GeomFromEWKT('SRID=4674;POINT (-40.329463 -2.781222)'))) / (select extract(epoch from '2026-06-16 06:49:02'::timestamp) - extract(epoch from '2026-06-16 06:48: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'), 46723, 'SRID=4674;POINT (-40.329457 -2.781324)', '2026-06-16 06:49:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329463 -2.781222)'), GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.781324)'))) / (select extract(epoch from '2026-06-16 06:49:08'::timestamp) - extract(epoch from '2026-06-16 06:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329463 -2.781222)'), GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.781324)'))) / (select extract(epoch from '2026-06-16 06:49:08'::timestamp) - extract(epoch from '2026-06-16 06:49: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'), 46723, 'SRID=4674;POINT (-40.329445 -2.781453)', '2026-06-16 06:49:15', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.781324)'), GeomFromEWKT('SRID=4674;POINT (-40.329445 -2.781453)'))) / (select extract(epoch from '2026-06-16 06:49:15'::timestamp) - extract(epoch from '2026-06-16 06:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.781324)'), GeomFromEWKT('SRID=4674;POINT (-40.329445 -2.781453)'))) / (select extract(epoch from '2026-06-16 06:49:15'::timestamp) - extract(epoch from '2026-06-16 06:49: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'), 46723, 'SRID=4674;POINT (-40.329457 -2.781569)', '2026-06-16 06:49:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329445 -2.781453)'), GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.781569)'))) / (select extract(epoch from '2026-06-16 06:49:22'::timestamp) - extract(epoch from '2026-06-16 06:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329445 -2.781453)'), GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.781569)'))) / (select extract(epoch from '2026-06-16 06:49:22'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.329483 -2.781706)', '2026-06-16 06:49:30', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.781569)'), GeomFromEWKT('SRID=4674;POINT (-40.329483 -2.781706)'))) / (select extract(epoch from '2026-06-16 06:49:30'::timestamp) - extract(epoch from '2026-06-16 06:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329457 -2.781569)'), GeomFromEWKT('SRID=4674;POINT (-40.329483 -2.781706)'))) / (select extract(epoch from '2026-06-16 06:49:30'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.329493 -2.781829)', '2026-06-16 06:49:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329483 -2.781706)'), GeomFromEWKT('SRID=4674;POINT (-40.329493 -2.781829)'))) / (select extract(epoch from '2026-06-16 06:49:37'::timestamp) - extract(epoch from '2026-06-16 06:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329483 -2.781706)'), GeomFromEWKT('SRID=4674;POINT (-40.329493 -2.781829)'))) / (select extract(epoch from '2026-06-16 06:49:37'::timestamp) - extract(epoch from '2026-06-16 06:49: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'), 46723, 'SRID=4674;POINT (-40.329494 -2.781952)', '2026-06-16 06:49:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329493 -2.781829)'), GeomFromEWKT('SRID=4674;POINT (-40.329494 -2.781952)'))) / (select extract(epoch from '2026-06-16 06:49:44'::timestamp) - extract(epoch from '2026-06-16 06:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329493 -2.781829)'), GeomFromEWKT('SRID=4674;POINT (-40.329494 -2.781952)'))) / (select extract(epoch from '2026-06-16 06:49:44'::timestamp) - extract(epoch from '2026-06-16 06:49: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'), 46723, 'SRID=4674;POINT (-40.329506 -2.782054)', '2026-06-16 06:49:51', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329494 -2.781952)'), GeomFromEWKT('SRID=4674;POINT (-40.329506 -2.782054)'))) / (select extract(epoch from '2026-06-16 06:49:51'::timestamp) - extract(epoch from '2026-06-16 06:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329494 -2.781952)'), GeomFromEWKT('SRID=4674;POINT (-40.329506 -2.782054)'))) / (select extract(epoch from '2026-06-16 06:49:51'::timestamp) - extract(epoch from '2026-06-16 06:49: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'), 46723, 'SRID=4674;POINT (-40.329517 -2.782179)', '2026-06-16 06:49:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329506 -2.782054)'), GeomFromEWKT('SRID=4674;POINT (-40.329517 -2.782179)'))) / (select extract(epoch from '2026-06-16 06:49:59'::timestamp) - extract(epoch from '2026-06-16 06:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329506 -2.782054)'), GeomFromEWKT('SRID=4674;POINT (-40.329517 -2.782179)'))) / (select extract(epoch from '2026-06-16 06:49:59'::timestamp) - extract(epoch from '2026-06-16 06:49: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'), 46723, 'SRID=4674;POINT (-40.329552 -2.782343)', '2026-06-16 06:50:08', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329517 -2.782179)'), GeomFromEWKT('SRID=4674;POINT (-40.329552 -2.782343)'))) / (select extract(epoch from '2026-06-16 06:50:08'::timestamp) - extract(epoch from '2026-06-16 06:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329517 -2.782179)'), GeomFromEWKT('SRID=4674;POINT (-40.329552 -2.782343)'))) / (select extract(epoch from '2026-06-16 06:50:08'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.329569 -2.782477)', '2026-06-16 06:50:15', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329552 -2.782343)'), GeomFromEWKT('SRID=4674;POINT (-40.329569 -2.782477)'))) / (select extract(epoch from '2026-06-16 06:50:15'::timestamp) - extract(epoch from '2026-06-16 06:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329552 -2.782343)'), GeomFromEWKT('SRID=4674;POINT (-40.329569 -2.782477)'))) / (select extract(epoch from '2026-06-16 06:50:15'::timestamp) - extract(epoch from '2026-06-16 06:50: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'), 46723, 'SRID=4674;POINT (-40.329581 -2.782627)', '2026-06-16 06:50:23', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329569 -2.782477)'), GeomFromEWKT('SRID=4674;POINT (-40.329581 -2.782627)'))) / (select extract(epoch from '2026-06-16 06:50:23'::timestamp) - extract(epoch from '2026-06-16 06:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329569 -2.782477)'), GeomFromEWKT('SRID=4674;POINT (-40.329581 -2.782627)'))) / (select extract(epoch from '2026-06-16 06:50:23'::timestamp) - extract(epoch from '2026-06-16 06:50:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.329612 -2.782762)', '2026-06-16 06:50:31', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329581 -2.782627)'), GeomFromEWKT('SRID=4674;POINT (-40.329612 -2.782762)'))) / (select extract(epoch from '2026-06-16 06:50:31'::timestamp) - extract(epoch from '2026-06-16 06:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329581 -2.782627)'), GeomFromEWKT('SRID=4674;POINT (-40.329612 -2.782762)'))) / (select extract(epoch from '2026-06-16 06:50:31'::timestamp) - extract(epoch from '2026-06-16 06:50: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'), 46723, 'SRID=4674;POINT (-40.329648 -2.782879)', '2026-06-16 06:50:38', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329612 -2.782762)'), GeomFromEWKT('SRID=4674;POINT (-40.329648 -2.782879)'))) / (select extract(epoch from '2026-06-16 06:50:38'::timestamp) - extract(epoch from '2026-06-16 06:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329612 -2.782762)'), GeomFromEWKT('SRID=4674;POINT (-40.329648 -2.782879)'))) / (select extract(epoch from '2026-06-16 06:50:38'::timestamp) - extract(epoch from '2026-06-16 06:50: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'), 46723, 'SRID=4674;POINT (-40.329677 -2.783016)', '2026-06-16 06:50:46', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329648 -2.782879)'), GeomFromEWKT('SRID=4674;POINT (-40.329677 -2.783016)'))) / (select extract(epoch from '2026-06-16 06:50:46'::timestamp) - extract(epoch from '2026-06-16 06:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329648 -2.782879)'), GeomFromEWKT('SRID=4674;POINT (-40.329677 -2.783016)'))) / (select extract(epoch from '2026-06-16 06:50:46'::timestamp) - extract(epoch from '2026-06-16 06:50: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'), 46723, 'SRID=4674;POINT (-40.329717 -2.783142)', '2026-06-16 06:50:53', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329677 -2.783016)'), GeomFromEWKT('SRID=4674;POINT (-40.329717 -2.783142)'))) / (select extract(epoch from '2026-06-16 06:50:53'::timestamp) - extract(epoch from '2026-06-16 06:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329677 -2.783016)'), GeomFromEWKT('SRID=4674;POINT (-40.329717 -2.783142)'))) / (select extract(epoch from '2026-06-16 06:50:53'::timestamp) - extract(epoch from '2026-06-16 06:50: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'), 46723, 'SRID=4674;POINT (-40.329735 -2.783284)', '2026-06-16 06:51:01', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329717 -2.783142)'), GeomFromEWKT('SRID=4674;POINT (-40.329735 -2.783284)'))) / (select extract(epoch from '2026-06-16 06:51:01'::timestamp) - extract(epoch from '2026-06-16 06:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329717 -2.783142)'), GeomFromEWKT('SRID=4674;POINT (-40.329735 -2.783284)'))) / (select extract(epoch from '2026-06-16 06:51:01'::timestamp) - extract(epoch from '2026-06-16 06:50: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'), 46723, 'SRID=4674;POINT (-40.329749 -2.783388)', '2026-06-16 06:51:07', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329735 -2.783284)'), GeomFromEWKT('SRID=4674;POINT (-40.329749 -2.783388)'))) / (select extract(epoch from '2026-06-16 06:51:07'::timestamp) - extract(epoch from '2026-06-16 06:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329735 -2.783284)'), GeomFromEWKT('SRID=4674;POINT (-40.329749 -2.783388)'))) / (select extract(epoch from '2026-06-16 06:51:07'::timestamp) - extract(epoch from '2026-06-16 06:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.32978 -2.783537)', '2026-06-16 06:51:15', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329749 -2.783388)'), GeomFromEWKT('SRID=4674;POINT (-40.32978 -2.783537)'))) / (select extract(epoch from '2026-06-16 06:51:15'::timestamp) - extract(epoch from '2026-06-16 06:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329749 -2.783388)'), GeomFromEWKT('SRID=4674;POINT (-40.32978 -2.783537)'))) / (select extract(epoch from '2026-06-16 06:51:15'::timestamp) - extract(epoch from '2026-06-16 06:51: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'), 46723, 'SRID=4674;POINT (-40.329818 -2.783694)', '2026-06-16 06:51:24', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32978 -2.783537)'), GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.783694)'))) / (select extract(epoch from '2026-06-16 06:51:24'::timestamp) - extract(epoch from '2026-06-16 06:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32978 -2.783537)'), GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.783694)'))) / (select extract(epoch from '2026-06-16 06:51:24'::timestamp) - extract(epoch from '2026-06-16 06:51: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'), 46723, 'SRID=4674;POINT (-40.329853 -2.783859)', '2026-06-16 06:51:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.783694)'), GeomFromEWKT('SRID=4674;POINT (-40.329853 -2.783859)'))) / (select extract(epoch from '2026-06-16 06:51:33'::timestamp) - extract(epoch from '2026-06-16 06:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329818 -2.783694)'), GeomFromEWKT('SRID=4674;POINT (-40.329853 -2.783859)'))) / (select extract(epoch from '2026-06-16 06:51:33'::timestamp) - extract(epoch from '2026-06-16 06:51: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'), 46723, 'SRID=4674;POINT (-40.329875 -2.783954)', '2026-06-16 06:51:39', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329853 -2.783859)'), GeomFromEWKT('SRID=4674;POINT (-40.329875 -2.783954)'))) / (select extract(epoch from '2026-06-16 06:51:39'::timestamp) - extract(epoch from '2026-06-16 06:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329853 -2.783859)'), GeomFromEWKT('SRID=4674;POINT (-40.329875 -2.783954)'))) / (select extract(epoch from '2026-06-16 06:51:39'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.329904 -2.784055)', '2026-06-16 06:51:46', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329875 -2.783954)'), GeomFromEWKT('SRID=4674;POINT (-40.329904 -2.784055)'))) / (select extract(epoch from '2026-06-16 06:51:46'::timestamp) - extract(epoch from '2026-06-16 06:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329875 -2.783954)'), GeomFromEWKT('SRID=4674;POINT (-40.329904 -2.784055)'))) / (select extract(epoch from '2026-06-16 06:51:46'::timestamp) - extract(epoch from '2026-06-16 06:51:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.329914 -2.784163)', '2026-06-16 06:51:52', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329904 -2.784055)'), GeomFromEWKT('SRID=4674;POINT (-40.329914 -2.784163)'))) / (select extract(epoch from '2026-06-16 06:51:52'::timestamp) - extract(epoch from '2026-06-16 06:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329904 -2.784055)'), GeomFromEWKT('SRID=4674;POINT (-40.329914 -2.784163)'))) / (select extract(epoch from '2026-06-16 06:51:52'::timestamp) - extract(epoch from '2026-06-16 06:51:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.329937 -2.784266)', '2026-06-16 06:51:59', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329914 -2.784163)'), GeomFromEWKT('SRID=4674;POINT (-40.329937 -2.784266)'))) / (select extract(epoch from '2026-06-16 06:51:59'::timestamp) - extract(epoch from '2026-06-16 06:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329914 -2.784163)'), GeomFromEWKT('SRID=4674;POINT (-40.329937 -2.784266)'))) / (select extract(epoch from '2026-06-16 06:51:59'::timestamp) - extract(epoch from '2026-06-16 06:51:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.329913 -2.784304)', '2026-06-16 06:52:05', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329937 -2.784266)'), GeomFromEWKT('SRID=4674;POINT (-40.329913 -2.784304)'))) / (select extract(epoch from '2026-06-16 06:52:05'::timestamp) - extract(epoch from '2026-06-16 06:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329937 -2.784266)'), GeomFromEWKT('SRID=4674;POINT (-40.329913 -2.784304)'))) / (select extract(epoch from '2026-06-16 06:52:05'::timestamp) - extract(epoch from '2026-06-16 06:51:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.329895 -2.784304)', '2026-06-16 06:52:16', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329913 -2.784304)'), GeomFromEWKT('SRID=4674;POINT (-40.329895 -2.784304)'))) / (select extract(epoch from '2026-06-16 06:52:16'::timestamp) - extract(epoch from '2026-06-16 06:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329913 -2.784304)'), GeomFromEWKT('SRID=4674;POINT (-40.329895 -2.784304)'))) / (select extract(epoch from '2026-06-16 06:52:16'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.329904 -2.784265)', '2026-06-16 06:52:31', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329895 -2.784304)'), GeomFromEWKT('SRID=4674;POINT (-40.329904 -2.784265)'))) / (select extract(epoch from '2026-06-16 06:52:31'::timestamp) - extract(epoch from '2026-06-16 06:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329895 -2.784304)'), GeomFromEWKT('SRID=4674;POINT (-40.329904 -2.784265)'))) / (select extract(epoch from '2026-06-16 06:52:31'::timestamp) - extract(epoch from '2026-06-16 06:52: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'), 46723, 'SRID=4674;POINT (-40.329924 -2.784225)', '2026-06-16 06:52:46', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329904 -2.784265)'), GeomFromEWKT('SRID=4674;POINT (-40.329924 -2.784225)'))) / (select extract(epoch from '2026-06-16 06:52:46'::timestamp) - extract(epoch from '2026-06-16 06:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329904 -2.784265)'), GeomFromEWKT('SRID=4674;POINT (-40.329924 -2.784225)'))) / (select extract(epoch from '2026-06-16 06:52:46'::timestamp) - extract(epoch from '2026-06-16 06:52: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'), 46723, 'SRID=4674;POINT (-40.329974 -2.784176)', '2026-06-16 06:53:03', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329924 -2.784225)'), GeomFromEWKT('SRID=4674;POINT (-40.329974 -2.784176)'))) / (select extract(epoch from '2026-06-16 06:53:03'::timestamp) - extract(epoch from '2026-06-16 06:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329924 -2.784225)'), GeomFromEWKT('SRID=4674;POINT (-40.329974 -2.784176)'))) / (select extract(epoch from '2026-06-16 06:53:03'::timestamp) - extract(epoch from '2026-06-16 06:52: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'), 46723, 'SRID=4674;POINT (-40.329996 -2.784145)', '2026-06-16 06:53:16', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329974 -2.784176)'), GeomFromEWKT('SRID=4674;POINT (-40.329996 -2.784145)'))) / (select extract(epoch from '2026-06-16 06:53:16'::timestamp) - extract(epoch from '2026-06-16 06:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329974 -2.784176)'), GeomFromEWKT('SRID=4674;POINT (-40.329996 -2.784145)'))) / (select extract(epoch from '2026-06-16 06:53:16'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.330038 -2.784112)', '2026-06-16 06:53:31', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329996 -2.784145)'), GeomFromEWKT('SRID=4674;POINT (-40.330038 -2.784112)'))) / (select extract(epoch from '2026-06-16 06:53:31'::timestamp) - extract(epoch from '2026-06-16 06:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329996 -2.784145)'), GeomFromEWKT('SRID=4674;POINT (-40.330038 -2.784112)'))) / (select extract(epoch from '2026-06-16 06:53:31'::timestamp) - extract(epoch from '2026-06-16 06:53: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'), 46723, 'SRID=4674;POINT (-40.330091 -2.784071)', '2026-06-16 06:53:50', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330038 -2.784112)'), GeomFromEWKT('SRID=4674;POINT (-40.330091 -2.784071)'))) / (select extract(epoch from '2026-06-16 06:53:50'::timestamp) - extract(epoch from '2026-06-16 06:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330038 -2.784112)'), GeomFromEWKT('SRID=4674;POINT (-40.330091 -2.784071)'))) / (select extract(epoch from '2026-06-16 06:53:50'::timestamp) - extract(epoch from '2026-06-16 06:53: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'), 46723, 'SRID=4674;POINT (-40.330142 -2.784062)', '2026-06-16 06:54:04', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330091 -2.784071)'), GeomFromEWKT('SRID=4674;POINT (-40.330142 -2.784062)'))) / (select extract(epoch from '2026-06-16 06:54:04'::timestamp) - extract(epoch from '2026-06-16 06:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330091 -2.784071)'), GeomFromEWKT('SRID=4674;POINT (-40.330142 -2.784062)'))) / (select extract(epoch from '2026-06-16 06:54:04'::timestamp) - extract(epoch from '2026-06-16 06:53: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'), 46723, 'SRID=4674;POINT (-40.330176 -2.784019)', '2026-06-16 06:54:22', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330142 -2.784062)'), GeomFromEWKT('SRID=4674;POINT (-40.330176 -2.784019)'))) / (select extract(epoch from '2026-06-16 06:54:22'::timestamp) - extract(epoch from '2026-06-16 06:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330142 -2.784062)'), GeomFromEWKT('SRID=4674;POINT (-40.330176 -2.784019)'))) / (select extract(epoch from '2026-06-16 06:54:22'::timestamp) - extract(epoch from '2026-06-16 06:54: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'), 46723, 'SRID=4674;POINT (-40.330214 -2.784002)', '2026-06-16 06:54:37', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330176 -2.784019)'), GeomFromEWKT('SRID=4674;POINT (-40.330214 -2.784002)'))) / (select extract(epoch from '2026-06-16 06:54:37'::timestamp) - extract(epoch from '2026-06-16 06:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330176 -2.784019)'), GeomFromEWKT('SRID=4674;POINT (-40.330214 -2.784002)'))) / (select extract(epoch from '2026-06-16 06:54:37'::timestamp) - extract(epoch from '2026-06-16 06:54: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'), 46723, 'SRID=4674;POINT (-40.330255 -2.783982)', '2026-06-16 06:54:49', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330214 -2.784002)'), GeomFromEWKT('SRID=4674;POINT (-40.330255 -2.783982)'))) / (select extract(epoch from '2026-06-16 06:54:49'::timestamp) - extract(epoch from '2026-06-16 06:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330214 -2.784002)'), GeomFromEWKT('SRID=4674;POINT (-40.330255 -2.783982)'))) / (select extract(epoch from '2026-06-16 06:54:49'::timestamp) - extract(epoch from '2026-06-16 06:54:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330283 -2.783969)', '2026-06-16 06:55:01', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330255 -2.783982)'), GeomFromEWKT('SRID=4674;POINT (-40.330283 -2.783969)'))) / (select extract(epoch from '2026-06-16 06:55:01'::timestamp) - extract(epoch from '2026-06-16 06:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330255 -2.783982)'), GeomFromEWKT('SRID=4674;POINT (-40.330283 -2.783969)'))) / (select extract(epoch from '2026-06-16 06:55:01'::timestamp) - extract(epoch from '2026-06-16 06:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330289 -2.783955)', '2026-06-16 06:55:14', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330283 -2.783969)'), GeomFromEWKT('SRID=4674;POINT (-40.330289 -2.783955)'))) / (select extract(epoch from '2026-06-16 06:55:14'::timestamp) - extract(epoch from '2026-06-16 06:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330283 -2.783969)'), GeomFromEWKT('SRID=4674;POINT (-40.330289 -2.783955)'))) / (select extract(epoch from '2026-06-16 06:55:14'::timestamp) - extract(epoch from '2026-06-16 06:55: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'), 46723, 'SRID=4674;POINT (-40.330317 -2.783917)', '2026-06-16 06:55:28', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330289 -2.783955)'), GeomFromEWKT('SRID=4674;POINT (-40.330317 -2.783917)'))) / (select extract(epoch from '2026-06-16 06:55:28'::timestamp) - extract(epoch from '2026-06-16 06:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330289 -2.783955)'), GeomFromEWKT('SRID=4674;POINT (-40.330317 -2.783917)'))) / (select extract(epoch from '2026-06-16 06:55:28'::timestamp) - extract(epoch from '2026-06-16 06:55: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'), 46723, 'SRID=4674;POINT (-40.330338 -2.783896)', '2026-06-16 06:55:40', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330317 -2.783917)'), GeomFromEWKT('SRID=4674;POINT (-40.330338 -2.783896)'))) / (select extract(epoch from '2026-06-16 06:55:40'::timestamp) - extract(epoch from '2026-06-16 06:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330317 -2.783917)'), GeomFromEWKT('SRID=4674;POINT (-40.330338 -2.783896)'))) / (select extract(epoch from '2026-06-16 06:55:40'::timestamp) - extract(epoch from '2026-06-16 06:55: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'), 46723, 'SRID=4674;POINT (-40.330358 -2.783886)', '2026-06-16 06:55:50', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330338 -2.783896)'), GeomFromEWKT('SRID=4674;POINT (-40.330358 -2.783886)'))) / (select extract(epoch from '2026-06-16 06:55:50'::timestamp) - extract(epoch from '2026-06-16 06:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330338 -2.783896)'), GeomFromEWKT('SRID=4674;POINT (-40.330358 -2.783886)'))) / (select extract(epoch from '2026-06-16 06:55:50'::timestamp) - extract(epoch from '2026-06-16 06:55: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'), 46723, 'SRID=4674;POINT (-40.330385 -2.783854)', '2026-06-16 06:56:03', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330358 -2.783886)'), GeomFromEWKT('SRID=4674;POINT (-40.330385 -2.783854)'))) / (select extract(epoch from '2026-06-16 06:56:03'::timestamp) - extract(epoch from '2026-06-16 06:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330358 -2.783886)'), GeomFromEWKT('SRID=4674;POINT (-40.330385 -2.783854)'))) / (select extract(epoch from '2026-06-16 06:56:03'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.330397 -2.783814)', '2026-06-16 06:56:14', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330385 -2.783854)'), GeomFromEWKT('SRID=4674;POINT (-40.330397 -2.783814)'))) / (select extract(epoch from '2026-06-16 06:56:14'::timestamp) - extract(epoch from '2026-06-16 06:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330385 -2.783854)'), GeomFromEWKT('SRID=4674;POINT (-40.330397 -2.783814)'))) / (select extract(epoch from '2026-06-16 06:56:14'::timestamp) - extract(epoch from '2026-06-16 06:56:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330397 -2.783711)', '2026-06-16 06:56:21', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330397 -2.783814)'), GeomFromEWKT('SRID=4674;POINT (-40.330397 -2.783711)'))) / (select extract(epoch from '2026-06-16 06:56:21'::timestamp) - extract(epoch from '2026-06-16 06:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330397 -2.783814)'), GeomFromEWKT('SRID=4674;POINT (-40.330397 -2.783711)'))) / (select extract(epoch from '2026-06-16 06:56:21'::timestamp) - extract(epoch from '2026-06-16 06:56:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330467 -2.783676)', '2026-06-16 06:56:27', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330397 -2.783711)'), GeomFromEWKT('SRID=4674;POINT (-40.330467 -2.783676)'))) / (select extract(epoch from '2026-06-16 06:56:27'::timestamp) - extract(epoch from '2026-06-16 06:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330397 -2.783711)'), GeomFromEWKT('SRID=4674;POINT (-40.330467 -2.783676)'))) / (select extract(epoch from '2026-06-16 06:56:27'::timestamp) - extract(epoch from '2026-06-16 06:56:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330574 -2.783713)', '2026-06-16 06:56:34', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330467 -2.783676)'), GeomFromEWKT('SRID=4674;POINT (-40.330574 -2.783713)'))) / (select extract(epoch from '2026-06-16 06:56:34'::timestamp) - extract(epoch from '2026-06-16 06:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330467 -2.783676)'), GeomFromEWKT('SRID=4674;POINT (-40.330574 -2.783713)'))) / (select extract(epoch from '2026-06-16 06:56:34'::timestamp) - extract(epoch from '2026-06-16 06:56: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'), 46723, 'SRID=4674;POINT (-40.330698 -2.7838)', '2026-06-16 06:56:42', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330574 -2.783713)'), GeomFromEWKT('SRID=4674;POINT (-40.330698 -2.7838)'))) / (select extract(epoch from '2026-06-16 06:56:42'::timestamp) - extract(epoch from '2026-06-16 06:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330574 -2.783713)'), GeomFromEWKT('SRID=4674;POINT (-40.330698 -2.7838)'))) / (select extract(epoch from '2026-06-16 06:56:42'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.330838 -2.783855)', '2026-06-16 06:56:49', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330698 -2.7838)'), GeomFromEWKT('SRID=4674;POINT (-40.330838 -2.783855)'))) / (select extract(epoch from '2026-06-16 06:56:49'::timestamp) - extract(epoch from '2026-06-16 06:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330698 -2.7838)'), GeomFromEWKT('SRID=4674;POINT (-40.330838 -2.783855)'))) / (select extract(epoch from '2026-06-16 06:56:49'::timestamp) - extract(epoch from '2026-06-16 06:56:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.330971 -2.783902)', '2026-06-16 06:56:56', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330838 -2.783855)'), GeomFromEWKT('SRID=4674;POINT (-40.330971 -2.783902)'))) / (select extract(epoch from '2026-06-16 06:56:56'::timestamp) - extract(epoch from '2026-06-16 06:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330838 -2.783855)'), GeomFromEWKT('SRID=4674;POINT (-40.330971 -2.783902)'))) / (select extract(epoch from '2026-06-16 06:56:56'::timestamp) - extract(epoch from '2026-06-16 06:56:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.331092 -2.783952)', '2026-06-16 06:57:03', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330971 -2.783902)'), GeomFromEWKT('SRID=4674;POINT (-40.331092 -2.783952)'))) / (select extract(epoch from '2026-06-16 06:57:03'::timestamp) - extract(epoch from '2026-06-16 06:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330971 -2.783902)'), GeomFromEWKT('SRID=4674;POINT (-40.331092 -2.783952)'))) / (select extract(epoch from '2026-06-16 06:57:03'::timestamp) - extract(epoch from '2026-06-16 06:56: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'), 46723, 'SRID=4674;POINT (-40.331225 -2.784006)', '2026-06-16 06:57:10', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331092 -2.783952)'), GeomFromEWKT('SRID=4674;POINT (-40.331225 -2.784006)'))) / (select extract(epoch from '2026-06-16 06:57:10'::timestamp) - extract(epoch from '2026-06-16 06:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331092 -2.783952)'), GeomFromEWKT('SRID=4674;POINT (-40.331225 -2.784006)'))) / (select extract(epoch from '2026-06-16 06:57:10'::timestamp) - extract(epoch from '2026-06-16 06:57:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.331357 -2.784061)', '2026-06-16 06:57:17', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331225 -2.784006)'), GeomFromEWKT('SRID=4674;POINT (-40.331357 -2.784061)'))) / (select extract(epoch from '2026-06-16 06:57:17'::timestamp) - extract(epoch from '2026-06-16 06:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331225 -2.784006)'), GeomFromEWKT('SRID=4674;POINT (-40.331357 -2.784061)'))) / (select extract(epoch from '2026-06-16 06:57:17'::timestamp) - extract(epoch from '2026-06-16 06:57: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'), 46723, 'SRID=4674;POINT (-40.331459 -2.784109)', '2026-06-16 06:57:22', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331357 -2.784061)'), GeomFromEWKT('SRID=4674;POINT (-40.331459 -2.784109)'))) / (select extract(epoch from '2026-06-16 06:57:22'::timestamp) - extract(epoch from '2026-06-16 06:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331357 -2.784061)'), GeomFromEWKT('SRID=4674;POINT (-40.331459 -2.784109)'))) / (select extract(epoch from '2026-06-16 06:57:22'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.331547 -2.784155)', '2026-06-16 06:57:27', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331459 -2.784109)'), GeomFromEWKT('SRID=4674;POINT (-40.331547 -2.784155)'))) / (select extract(epoch from '2026-06-16 06:57:27'::timestamp) - extract(epoch from '2026-06-16 06:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331459 -2.784109)'), GeomFromEWKT('SRID=4674;POINT (-40.331547 -2.784155)'))) / (select extract(epoch from '2026-06-16 06:57:27'::timestamp) - extract(epoch from '2026-06-16 06:57: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'), 46723, 'SRID=4674;POINT (-40.331631 -2.784218)', '2026-06-16 06:57:32', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331547 -2.784155)'), GeomFromEWKT('SRID=4674;POINT (-40.331631 -2.784218)'))) / (select extract(epoch from '2026-06-16 06:57:32'::timestamp) - extract(epoch from '2026-06-16 06:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331547 -2.784155)'), GeomFromEWKT('SRID=4674;POINT (-40.331631 -2.784218)'))) / (select extract(epoch from '2026-06-16 06:57:32'::timestamp) - extract(epoch from '2026-06-16 06:57: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'), 46723, 'SRID=4674;POINT (-40.331732 -2.784276)', '2026-06-16 06:57:38', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331631 -2.784218)'), GeomFromEWKT('SRID=4674;POINT (-40.331732 -2.784276)'))) / (select extract(epoch from '2026-06-16 06:57:38'::timestamp) - extract(epoch from '2026-06-16 06:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331631 -2.784218)'), GeomFromEWKT('SRID=4674;POINT (-40.331732 -2.784276)'))) / (select extract(epoch from '2026-06-16 06:57:38'::timestamp) - extract(epoch from '2026-06-16 06:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.331845 -2.78433)', '2026-06-16 06:57:44', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331732 -2.784276)'), GeomFromEWKT('SRID=4674;POINT (-40.331845 -2.78433)'))) / (select extract(epoch from '2026-06-16 06:57:44'::timestamp) - extract(epoch from '2026-06-16 06:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331732 -2.784276)'), GeomFromEWKT('SRID=4674;POINT (-40.331845 -2.78433)'))) / (select extract(epoch from '2026-06-16 06:57:44'::timestamp) - extract(epoch from '2026-06-16 06:57: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'), 46723, 'SRID=4674;POINT (-40.331945 -2.784388)', '2026-06-16 06:57:50', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331845 -2.78433)'), GeomFromEWKT('SRID=4674;POINT (-40.331945 -2.784388)'))) / (select extract(epoch from '2026-06-16 06:57:50'::timestamp) - extract(epoch from '2026-06-16 06:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331845 -2.78433)'), GeomFromEWKT('SRID=4674;POINT (-40.331945 -2.784388)'))) / (select extract(epoch from '2026-06-16 06:57:50'::timestamp) - extract(epoch from '2026-06-16 06:57: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'), 46723, 'SRID=4674;POINT (-40.332041 -2.784438)', '2026-06-16 06:57:55', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331945 -2.784388)'), GeomFromEWKT('SRID=4674;POINT (-40.332041 -2.784438)'))) / (select extract(epoch from '2026-06-16 06:57:55'::timestamp) - extract(epoch from '2026-06-16 06:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331945 -2.784388)'), GeomFromEWKT('SRID=4674;POINT (-40.332041 -2.784438)'))) / (select extract(epoch from '2026-06-16 06:57:55'::timestamp) - extract(epoch from '2026-06-16 06:57: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'), 46723, 'SRID=4674;POINT (-40.332152 -2.784549)', '2026-06-16 06:58:04', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332041 -2.784438)'), GeomFromEWKT('SRID=4674;POINT (-40.332152 -2.784549)'))) / (select extract(epoch from '2026-06-16 06:58:04'::timestamp) - extract(epoch from '2026-06-16 06:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332041 -2.784438)'), GeomFromEWKT('SRID=4674;POINT (-40.332152 -2.784549)'))) / (select extract(epoch from '2026-06-16 06:58:04'::timestamp) - extract(epoch from '2026-06-16 06:57: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'), 46723, 'SRID=4674;POINT (-40.33224 -2.784622)', '2026-06-16 06:58:10', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332152 -2.784549)'), GeomFromEWKT('SRID=4674;POINT (-40.33224 -2.784622)'))) / (select extract(epoch from '2026-06-16 06:58:10'::timestamp) - extract(epoch from '2026-06-16 06:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332152 -2.784549)'), GeomFromEWKT('SRID=4674;POINT (-40.33224 -2.784622)'))) / (select extract(epoch from '2026-06-16 06:58:10'::timestamp) - extract(epoch from '2026-06-16 06:58: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'), 46723, 'SRID=4674;POINT (-40.332348 -2.784684)', '2026-06-16 06:58:16', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33224 -2.784622)'), GeomFromEWKT('SRID=4674;POINT (-40.332348 -2.784684)'))) / (select extract(epoch from '2026-06-16 06:58:16'::timestamp) - extract(epoch from '2026-06-16 06:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33224 -2.784622)'), GeomFromEWKT('SRID=4674;POINT (-40.332348 -2.784684)'))) / (select extract(epoch from '2026-06-16 06:58:16'::timestamp) - extract(epoch from '2026-06-16 06:58: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'), 46723, 'SRID=4674;POINT (-40.332436 -2.784745)', '2026-06-16 06:58:21', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332348 -2.784684)'), GeomFromEWKT('SRID=4674;POINT (-40.332436 -2.784745)'))) / (select extract(epoch from '2026-06-16 06:58:21'::timestamp) - extract(epoch from '2026-06-16 06:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332348 -2.784684)'), GeomFromEWKT('SRID=4674;POINT (-40.332436 -2.784745)'))) / (select extract(epoch from '2026-06-16 06:58:21'::timestamp) - extract(epoch from '2026-06-16 06:58: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'), 46723, 'SRID=4674;POINT (-40.332512 -2.784826)', '2026-06-16 06:58:27', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332436 -2.784745)'), GeomFromEWKT('SRID=4674;POINT (-40.332512 -2.784826)'))) / (select extract(epoch from '2026-06-16 06:58:27'::timestamp) - extract(epoch from '2026-06-16 06:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332436 -2.784745)'), GeomFromEWKT('SRID=4674;POINT (-40.332512 -2.784826)'))) / (select extract(epoch from '2026-06-16 06:58:27'::timestamp) - extract(epoch from '2026-06-16 06:58: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'), 46723, 'SRID=4674;POINT (-40.332579 -2.784896)', '2026-06-16 06:58:32', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332512 -2.784826)'), GeomFromEWKT('SRID=4674;POINT (-40.332579 -2.784896)'))) / (select extract(epoch from '2026-06-16 06:58:32'::timestamp) - extract(epoch from '2026-06-16 06:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332512 -2.784826)'), GeomFromEWKT('SRID=4674;POINT (-40.332579 -2.784896)'))) / (select extract(epoch from '2026-06-16 06:58:32'::timestamp) - extract(epoch from '2026-06-16 06:58: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'), 46723, 'SRID=4674;POINT (-40.332656 -2.784986)', '2026-06-16 06:58:38', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332579 -2.784896)'), GeomFromEWKT('SRID=4674;POINT (-40.332656 -2.784986)'))) / (select extract(epoch from '2026-06-16 06:58:38'::timestamp) - extract(epoch from '2026-06-16 06:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332579 -2.784896)'), GeomFromEWKT('SRID=4674;POINT (-40.332656 -2.784986)'))) / (select extract(epoch from '2026-06-16 06:58:38'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.332725 -2.785049)', '2026-06-16 06:58:43', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332656 -2.784986)'), GeomFromEWKT('SRID=4674;POINT (-40.332725 -2.785049)'))) / (select extract(epoch from '2026-06-16 06:58:43'::timestamp) - extract(epoch from '2026-06-16 06:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332656 -2.784986)'), GeomFromEWKT('SRID=4674;POINT (-40.332725 -2.785049)'))) / (select extract(epoch from '2026-06-16 06:58:43'::timestamp) - extract(epoch from '2026-06-16 06:58: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'), 46723, 'SRID=4674;POINT (-40.332799 -2.785109)', '2026-06-16 06:58:48', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332725 -2.785049)'), GeomFromEWKT('SRID=4674;POINT (-40.332799 -2.785109)'))) / (select extract(epoch from '2026-06-16 06:58:48'::timestamp) - extract(epoch from '2026-06-16 06:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332725 -2.785049)'), GeomFromEWKT('SRID=4674;POINT (-40.332799 -2.785109)'))) / (select extract(epoch from '2026-06-16 06:58:48'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.332885 -2.7852)', '2026-06-16 06:58:55', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332799 -2.785109)'), GeomFromEWKT('SRID=4674;POINT (-40.332885 -2.7852)'))) / (select extract(epoch from '2026-06-16 06:58:55'::timestamp) - extract(epoch from '2026-06-16 06:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332799 -2.785109)'), GeomFromEWKT('SRID=4674;POINT (-40.332885 -2.7852)'))) / (select extract(epoch from '2026-06-16 06:58:55'::timestamp) - extract(epoch from '2026-06-16 06:58:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.332967 -2.78531)', '2026-06-16 06:59:02', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332885 -2.7852)'), GeomFromEWKT('SRID=4674;POINT (-40.332967 -2.78531)'))) / (select extract(epoch from '2026-06-16 06:59:02'::timestamp) - extract(epoch from '2026-06-16 06:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332885 -2.7852)'), GeomFromEWKT('SRID=4674;POINT (-40.332967 -2.78531)'))) / (select extract(epoch from '2026-06-16 06:59:02'::timestamp) - extract(epoch from '2026-06-16 06:58:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.33305 -2.785389)', '2026-06-16 06:59:08', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332967 -2.78531)'), GeomFromEWKT('SRID=4674;POINT (-40.33305 -2.785389)'))) / (select extract(epoch from '2026-06-16 06:59:08'::timestamp) - extract(epoch from '2026-06-16 06:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332967 -2.78531)'), GeomFromEWKT('SRID=4674;POINT (-40.33305 -2.785389)'))) / (select extract(epoch from '2026-06-16 06:59:08'::timestamp) - extract(epoch from '2026-06-16 06:59: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'), 46723, 'SRID=4674;POINT (-40.333156 -2.785486)', '2026-06-16 06:59:15', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33305 -2.785389)'), GeomFromEWKT('SRID=4674;POINT (-40.333156 -2.785486)'))) / (select extract(epoch from '2026-06-16 06:59:15'::timestamp) - extract(epoch from '2026-06-16 06:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33305 -2.785389)'), GeomFromEWKT('SRID=4674;POINT (-40.333156 -2.785486)'))) / (select extract(epoch from '2026-06-16 06:59:15'::timestamp) - extract(epoch from '2026-06-16 06:59: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'), 46723, 'SRID=4674;POINT (-40.33327 -2.785582)', '2026-06-16 06:59:23', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333156 -2.785486)'), GeomFromEWKT('SRID=4674;POINT (-40.33327 -2.785582)'))) / (select extract(epoch from '2026-06-16 06:59:23'::timestamp) - extract(epoch from '2026-06-16 06:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333156 -2.785486)'), GeomFromEWKT('SRID=4674;POINT (-40.33327 -2.785582)'))) / (select extract(epoch from '2026-06-16 06:59:23'::timestamp) - extract(epoch from '2026-06-16 06: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'), 46723, 'SRID=4674;POINT (-40.333362 -2.785668)', '2026-06-16 06:59:30', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33327 -2.785582)'), GeomFromEWKT('SRID=4674;POINT (-40.333362 -2.785668)'))) / (select extract(epoch from '2026-06-16 06:59:30'::timestamp) - extract(epoch from '2026-06-16 06:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33327 -2.785582)'), GeomFromEWKT('SRID=4674;POINT (-40.333362 -2.785668)'))) / (select extract(epoch from '2026-06-16 06:59:30'::timestamp) - extract(epoch from '2026-06-16 06:59: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'), 46723, 'SRID=4674;POINT (-40.333493 -2.785766)', '2026-06-16 06:59:38', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333362 -2.785668)'), GeomFromEWKT('SRID=4674;POINT (-40.333493 -2.785766)'))) / (select extract(epoch from '2026-06-16 06:59:38'::timestamp) - extract(epoch from '2026-06-16 06:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333362 -2.785668)'), GeomFromEWKT('SRID=4674;POINT (-40.333493 -2.785766)'))) / (select extract(epoch from '2026-06-16 06:59:38'::timestamp) - extract(epoch from '2026-06-16 06:59: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'), 46723, 'SRID=4674;POINT (-40.333652 -2.785859)', '2026-06-16 06:59:47', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333493 -2.785766)'), GeomFromEWKT('SRID=4674;POINT (-40.333652 -2.785859)'))) / (select extract(epoch from '2026-06-16 06:59:47'::timestamp) - extract(epoch from '2026-06-16 06:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333493 -2.785766)'), GeomFromEWKT('SRID=4674;POINT (-40.333652 -2.785859)'))) / (select extract(epoch from '2026-06-16 06:59:47'::timestamp) - extract(epoch from '2026-06-16 06:59:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.333754 -2.785949)', '2026-06-16 06:59:54', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333652 -2.785859)'), GeomFromEWKT('SRID=4674;POINT (-40.333754 -2.785949)'))) / (select extract(epoch from '2026-06-16 06:59:54'::timestamp) - extract(epoch from '2026-06-16 06:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333652 -2.785859)'), GeomFromEWKT('SRID=4674;POINT (-40.333754 -2.785949)'))) / (select extract(epoch from '2026-06-16 06:59:54'::timestamp) - extract(epoch from '2026-06-16 06:59: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'), 46723, 'SRID=4674;POINT (-40.333834 -2.786058)', '2026-06-16 07:00:01', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333754 -2.785949)'), GeomFromEWKT('SRID=4674;POINT (-40.333834 -2.786058)'))) / (select extract(epoch from '2026-06-16 07:00:01'::timestamp) - extract(epoch from '2026-06-16 06:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333754 -2.785949)'), GeomFromEWKT('SRID=4674;POINT (-40.333834 -2.786058)'))) / (select extract(epoch from '2026-06-16 07:00:01'::timestamp) - extract(epoch from '2026-06-16 06:59: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'), 46723, 'SRID=4674;POINT (-40.333943 -2.786202)', '2026-06-16 07:00:10', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333834 -2.786058)'), GeomFromEWKT('SRID=4674;POINT (-40.333943 -2.786202)'))) / (select extract(epoch from '2026-06-16 07:00:10'::timestamp) - extract(epoch from '2026-06-16 07:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333834 -2.786058)'), GeomFromEWKT('SRID=4674;POINT (-40.333943 -2.786202)'))) / (select extract(epoch from '2026-06-16 07:00:10'::timestamp) - extract(epoch from '2026-06-16 07:00:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.334042 -2.7863)', '2026-06-16 07:00:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333943 -2.786202)'), GeomFromEWKT('SRID=4674;POINT (-40.334042 -2.7863)'))) / (select extract(epoch from '2026-06-16 07:00:17'::timestamp) - extract(epoch from '2026-06-16 07:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333943 -2.786202)'), GeomFromEWKT('SRID=4674;POINT (-40.334042 -2.7863)'))) / (select extract(epoch from '2026-06-16 07:00:17'::timestamp) - extract(epoch from '2026-06-16 07:00: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'), 46723, 'SRID=4674;POINT (-40.334111 -2.786356)', '2026-06-16 07:00:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334042 -2.7863)'), GeomFromEWKT('SRID=4674;POINT (-40.334111 -2.786356)'))) / (select extract(epoch from '2026-06-16 07:00:22'::timestamp) - extract(epoch from '2026-06-16 07:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334042 -2.7863)'), GeomFromEWKT('SRID=4674;POINT (-40.334111 -2.786356)'))) / (select extract(epoch from '2026-06-16 07:00:22'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.334201 -2.786426)', '2026-06-16 07:00:28', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334111 -2.786356)'), GeomFromEWKT('SRID=4674;POINT (-40.334201 -2.786426)'))) / (select extract(epoch from '2026-06-16 07:00:28'::timestamp) - extract(epoch from '2026-06-16 07:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334111 -2.786356)'), GeomFromEWKT('SRID=4674;POINT (-40.334201 -2.786426)'))) / (select extract(epoch from '2026-06-16 07:00:28'::timestamp) - extract(epoch from '2026-06-16 07:00:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.334298 -2.786507)', '2026-06-16 07:00:35', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334201 -2.786426)'), GeomFromEWKT('SRID=4674;POINT (-40.334298 -2.786507)'))) / (select extract(epoch from '2026-06-16 07:00:35'::timestamp) - extract(epoch from '2026-06-16 07:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334201 -2.786426)'), GeomFromEWKT('SRID=4674;POINT (-40.334298 -2.786507)'))) / (select extract(epoch from '2026-06-16 07:00:35'::timestamp) - extract(epoch from '2026-06-16 07:00:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.334394 -2.786599)', '2026-06-16 07:00:42', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334298 -2.786507)'), GeomFromEWKT('SRID=4674;POINT (-40.334394 -2.786599)'))) / (select extract(epoch from '2026-06-16 07:00:42'::timestamp) - extract(epoch from '2026-06-16 07:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334298 -2.786507)'), GeomFromEWKT('SRID=4674;POINT (-40.334394 -2.786599)'))) / (select extract(epoch from '2026-06-16 07:00:42'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.334463 -2.786672)', '2026-06-16 07:00:47', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334394 -2.786599)'), GeomFromEWKT('SRID=4674;POINT (-40.334463 -2.786672)'))) / (select extract(epoch from '2026-06-16 07:00:47'::timestamp) - extract(epoch from '2026-06-16 07:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334394 -2.786599)'), GeomFromEWKT('SRID=4674;POINT (-40.334463 -2.786672)'))) / (select extract(epoch from '2026-06-16 07:00:47'::timestamp) - extract(epoch from '2026-06-16 07:00: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'), 46723, 'SRID=4674;POINT (-40.33453 -2.786759)', '2026-06-16 07:00:53', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334463 -2.786672)'), GeomFromEWKT('SRID=4674;POINT (-40.33453 -2.786759)'))) / (select extract(epoch from '2026-06-16 07:00:53'::timestamp) - extract(epoch from '2026-06-16 07:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334463 -2.786672)'), GeomFromEWKT('SRID=4674;POINT (-40.33453 -2.786759)'))) / (select extract(epoch from '2026-06-16 07:00:53'::timestamp) - extract(epoch from '2026-06-16 07:00: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'), 46723, 'SRID=4674;POINT (-40.334641 -2.786838)', '2026-06-16 07:01:00', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33453 -2.786759)'), GeomFromEWKT('SRID=4674;POINT (-40.334641 -2.786838)'))) / (select extract(epoch from '2026-06-16 07:01:00'::timestamp) - extract(epoch from '2026-06-16 07:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33453 -2.786759)'), GeomFromEWKT('SRID=4674;POINT (-40.334641 -2.786838)'))) / (select extract(epoch from '2026-06-16 07:01:00'::timestamp) - extract(epoch from '2026-06-16 07:00: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'), 46723, 'SRID=4674;POINT (-40.334798 -2.786928)', '2026-06-16 07:01:09', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334641 -2.786838)'), GeomFromEWKT('SRID=4674;POINT (-40.334798 -2.786928)'))) / (select extract(epoch from '2026-06-16 07:01:09'::timestamp) - extract(epoch from '2026-06-16 07:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334641 -2.786838)'), GeomFromEWKT('SRID=4674;POINT (-40.334798 -2.786928)'))) / (select extract(epoch from '2026-06-16 07:01:09'::timestamp) - extract(epoch from '2026-06-16 07:01: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'), 46723, 'SRID=4674;POINT (-40.334891 -2.787008)', '2026-06-16 07:01:15', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334798 -2.786928)'), GeomFromEWKT('SRID=4674;POINT (-40.334891 -2.787008)'))) / (select extract(epoch from '2026-06-16 07:01:15'::timestamp) - extract(epoch from '2026-06-16 07:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334798 -2.786928)'), GeomFromEWKT('SRID=4674;POINT (-40.334891 -2.787008)'))) / (select extract(epoch from '2026-06-16 07:01:15'::timestamp) - extract(epoch from '2026-06-16 07:01:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.335004 -2.787084)', '2026-06-16 07:01:22', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334891 -2.787008)'), GeomFromEWKT('SRID=4674;POINT (-40.335004 -2.787084)'))) / (select extract(epoch from '2026-06-16 07:01:22'::timestamp) - extract(epoch from '2026-06-16 07:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334891 -2.787008)'), GeomFromEWKT('SRID=4674;POINT (-40.335004 -2.787084)'))) / (select extract(epoch from '2026-06-16 07:01:22'::timestamp) - extract(epoch from '2026-06-16 07:01: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'), 46723, 'SRID=4674;POINT (-40.335126 -2.787142)', '2026-06-16 07:01:29', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335004 -2.787084)'), GeomFromEWKT('SRID=4674;POINT (-40.335126 -2.787142)'))) / (select extract(epoch from '2026-06-16 07:01:29'::timestamp) - extract(epoch from '2026-06-16 07:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335004 -2.787084)'), GeomFromEWKT('SRID=4674;POINT (-40.335126 -2.787142)'))) / (select extract(epoch from '2026-06-16 07:01:29'::timestamp) - extract(epoch from '2026-06-16 07:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.335314 -2.787238)', '2026-06-16 07:01:40', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335126 -2.787142)'), GeomFromEWKT('SRID=4674;POINT (-40.335314 -2.787238)'))) / (select extract(epoch from '2026-06-16 07:01:40'::timestamp) - extract(epoch from '2026-06-16 07:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335126 -2.787142)'), GeomFromEWKT('SRID=4674;POINT (-40.335314 -2.787238)'))) / (select extract(epoch from '2026-06-16 07:01:40'::timestamp) - extract(epoch from '2026-06-16 07:01: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'), 46723, 'SRID=4674;POINT (-40.335384 -2.787305)', '2026-06-16 07:01:45', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335314 -2.787238)'), GeomFromEWKT('SRID=4674;POINT (-40.335384 -2.787305)'))) / (select extract(epoch from '2026-06-16 07:01:45'::timestamp) - extract(epoch from '2026-06-16 07:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335314 -2.787238)'), GeomFromEWKT('SRID=4674;POINT (-40.335384 -2.787305)'))) / (select extract(epoch from '2026-06-16 07:01:45'::timestamp) - extract(epoch from '2026-06-16 07:01:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.335456 -2.787403)', '2026-06-16 07:01:51', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335384 -2.787305)'), GeomFromEWKT('SRID=4674;POINT (-40.335456 -2.787403)'))) / (select extract(epoch from '2026-06-16 07:01:51'::timestamp) - extract(epoch from '2026-06-16 07:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335384 -2.787305)'), GeomFromEWKT('SRID=4674;POINT (-40.335456 -2.787403)'))) / (select extract(epoch from '2026-06-16 07:01:51'::timestamp) - extract(epoch from '2026-06-16 07:01: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'), 46723, 'SRID=4674;POINT (-40.335549 -2.787499)', '2026-06-16 07:01:58', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335456 -2.787403)'), GeomFromEWKT('SRID=4674;POINT (-40.335549 -2.787499)'))) / (select extract(epoch from '2026-06-16 07:01:58'::timestamp) - extract(epoch from '2026-06-16 07:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335456 -2.787403)'), GeomFromEWKT('SRID=4674;POINT (-40.335549 -2.787499)'))) / (select extract(epoch from '2026-06-16 07:01:58'::timestamp) - extract(epoch from '2026-06-16 07:01: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'), 46723, 'SRID=4674;POINT (-40.335626 -2.787566)', '2026-06-16 07:02:03', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335549 -2.787499)'), GeomFromEWKT('SRID=4674;POINT (-40.335626 -2.787566)'))) / (select extract(epoch from '2026-06-16 07:02:03'::timestamp) - extract(epoch from '2026-06-16 07:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335549 -2.787499)'), GeomFromEWKT('SRID=4674;POINT (-40.335626 -2.787566)'))) / (select extract(epoch from '2026-06-16 07:02:03'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.335701 -2.787634)', '2026-06-16 07:02:09', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335626 -2.787566)'), GeomFromEWKT('SRID=4674;POINT (-40.335701 -2.787634)'))) / (select extract(epoch from '2026-06-16 07:02:09'::timestamp) - extract(epoch from '2026-06-16 07:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335626 -2.787566)'), GeomFromEWKT('SRID=4674;POINT (-40.335701 -2.787634)'))) / (select extract(epoch from '2026-06-16 07:02:09'::timestamp) - extract(epoch from '2026-06-16 07:02: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'), 46723, 'SRID=4674;POINT (-40.335785 -2.787716)', '2026-06-16 07:02:15', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335701 -2.787634)'), GeomFromEWKT('SRID=4674;POINT (-40.335785 -2.787716)'))) / (select extract(epoch from '2026-06-16 07:02:15'::timestamp) - extract(epoch from '2026-06-16 07:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335701 -2.787634)'), GeomFromEWKT('SRID=4674;POINT (-40.335785 -2.787716)'))) / (select extract(epoch from '2026-06-16 07:02:15'::timestamp) - extract(epoch from '2026-06-16 07:02: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'), 46723, 'SRID=4674;POINT (-40.335883 -2.787792)', '2026-06-16 07:02:21', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335785 -2.787716)'), GeomFromEWKT('SRID=4674;POINT (-40.335883 -2.787792)'))) / (select extract(epoch from '2026-06-16 07:02:21'::timestamp) - extract(epoch from '2026-06-16 07:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335785 -2.787716)'), GeomFromEWKT('SRID=4674;POINT (-40.335883 -2.787792)'))) / (select extract(epoch from '2026-06-16 07:02:21'::timestamp) - extract(epoch from '2026-06-16 07:02: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'), 46723, 'SRID=4674;POINT (-40.335957 -2.787848)', '2026-06-16 07:02:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335883 -2.787792)'), GeomFromEWKT('SRID=4674;POINT (-40.335957 -2.787848)'))) / (select extract(epoch from '2026-06-16 07:02:26'::timestamp) - extract(epoch from '2026-06-16 07:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335883 -2.787792)'), GeomFromEWKT('SRID=4674;POINT (-40.335957 -2.787848)'))) / (select extract(epoch from '2026-06-16 07:02:26'::timestamp) - extract(epoch from '2026-06-16 07:02: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'), 46723, 'SRID=4674;POINT (-40.336035 -2.787962)', '2026-06-16 07:02:33', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335957 -2.787848)'), GeomFromEWKT('SRID=4674;POINT (-40.336035 -2.787962)'))) / (select extract(epoch from '2026-06-16 07:02:33'::timestamp) - extract(epoch from '2026-06-16 07:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335957 -2.787848)'), GeomFromEWKT('SRID=4674;POINT (-40.336035 -2.787962)'))) / (select extract(epoch from '2026-06-16 07:02:33'::timestamp) - extract(epoch from '2026-06-16 07:02: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'), 46723, 'SRID=4674;POINT (-40.336094 -2.788061)', '2026-06-16 07:02:39', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336035 -2.787962)'), GeomFromEWKT('SRID=4674;POINT (-40.336094 -2.788061)'))) / (select extract(epoch from '2026-06-16 07:02:39'::timestamp) - extract(epoch from '2026-06-16 07:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336035 -2.787962)'), GeomFromEWKT('SRID=4674;POINT (-40.336094 -2.788061)'))) / (select extract(epoch from '2026-06-16 07:02:39'::timestamp) - extract(epoch from '2026-06-16 07:02: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'), 46723, 'SRID=4674;POINT (-40.336168 -2.788137)', '2026-06-16 07:02:44', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336094 -2.788061)'), GeomFromEWKT('SRID=4674;POINT (-40.336168 -2.788137)'))) / (select extract(epoch from '2026-06-16 07:02:44'::timestamp) - extract(epoch from '2026-06-16 07:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336094 -2.788061)'), GeomFromEWKT('SRID=4674;POINT (-40.336168 -2.788137)'))) / (select extract(epoch from '2026-06-16 07:02:44'::timestamp) - extract(epoch from '2026-06-16 07:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.336292 -2.788205)', '2026-06-16 07:02:51', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336168 -2.788137)'), GeomFromEWKT('SRID=4674;POINT (-40.336292 -2.788205)'))) / (select extract(epoch from '2026-06-16 07:02:51'::timestamp) - extract(epoch from '2026-06-16 07:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336168 -2.788137)'), GeomFromEWKT('SRID=4674;POINT (-40.336292 -2.788205)'))) / (select extract(epoch from '2026-06-16 07:02:51'::timestamp) - extract(epoch from '2026-06-16 07:02: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'), 46723, 'SRID=4674;POINT (-40.33641 -2.788272)', '2026-06-16 07:02:58', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336292 -2.788205)'), GeomFromEWKT('SRID=4674;POINT (-40.33641 -2.788272)'))) / (select extract(epoch from '2026-06-16 07:02:58'::timestamp) - extract(epoch from '2026-06-16 07:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336292 -2.788205)'), GeomFromEWKT('SRID=4674;POINT (-40.33641 -2.788272)'))) / (select extract(epoch from '2026-06-16 07:02:58'::timestamp) - extract(epoch from '2026-06-16 07:02: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'), 46723, 'SRID=4674;POINT (-40.336503 -2.788385)', '2026-06-16 07:03:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33641 -2.788272)'), GeomFromEWKT('SRID=4674;POINT (-40.336503 -2.788385)'))) / (select extract(epoch from '2026-06-16 07:03:06'::timestamp) - extract(epoch from '2026-06-16 07:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33641 -2.788272)'), GeomFromEWKT('SRID=4674;POINT (-40.336503 -2.788385)'))) / (select extract(epoch from '2026-06-16 07:03:06'::timestamp) - extract(epoch from '2026-06-16 07:02:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.336572 -2.788489)', '2026-06-16 07:03:13', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336503 -2.788385)'), GeomFromEWKT('SRID=4674;POINT (-40.336572 -2.788489)'))) / (select extract(epoch from '2026-06-16 07:03:13'::timestamp) - extract(epoch from '2026-06-16 07:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336503 -2.788385)'), GeomFromEWKT('SRID=4674;POINT (-40.336572 -2.788489)'))) / (select extract(epoch from '2026-06-16 07:03:13'::timestamp) - extract(epoch from '2026-06-16 07:03: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'), 46723, 'SRID=4674;POINT (-40.336641 -2.78858)', '2026-06-16 07:03:19', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336572 -2.788489)'), GeomFromEWKT('SRID=4674;POINT (-40.336641 -2.78858)'))) / (select extract(epoch from '2026-06-16 07:03:19'::timestamp) - extract(epoch from '2026-06-16 07:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336572 -2.788489)'), GeomFromEWKT('SRID=4674;POINT (-40.336641 -2.78858)'))) / (select extract(epoch from '2026-06-16 07:03:19'::timestamp) - extract(epoch from '2026-06-16 07:03: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'), 46723, 'SRID=4674;POINT (-40.336706 -2.788665)', '2026-06-16 07:03:24', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336641 -2.78858)'), GeomFromEWKT('SRID=4674;POINT (-40.336706 -2.788665)'))) / (select extract(epoch from '2026-06-16 07:03:24'::timestamp) - extract(epoch from '2026-06-16 07:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336641 -2.78858)'), GeomFromEWKT('SRID=4674;POINT (-40.336706 -2.788665)'))) / (select extract(epoch from '2026-06-16 07:03:24'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.336804 -2.78873)', '2026-06-16 07:03:30', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336706 -2.788665)'), GeomFromEWKT('SRID=4674;POINT (-40.336804 -2.78873)'))) / (select extract(epoch from '2026-06-16 07:03:30'::timestamp) - extract(epoch from '2026-06-16 07:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336706 -2.788665)'), GeomFromEWKT('SRID=4674;POINT (-40.336804 -2.78873)'))) / (select extract(epoch from '2026-06-16 07:03:30'::timestamp) - extract(epoch from '2026-06-16 07:03:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.33694 -2.788811)', '2026-06-16 07:03:38', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336804 -2.78873)'), GeomFromEWKT('SRID=4674;POINT (-40.33694 -2.788811)'))) / (select extract(epoch from '2026-06-16 07:03:38'::timestamp) - extract(epoch from '2026-06-16 07:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336804 -2.78873)'), GeomFromEWKT('SRID=4674;POINT (-40.33694 -2.788811)'))) / (select extract(epoch from '2026-06-16 07:03:38'::timestamp) - extract(epoch from '2026-06-16 07:03:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.337058 -2.788905)', '2026-06-16 07:03:46', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33694 -2.788811)'), GeomFromEWKT('SRID=4674;POINT (-40.337058 -2.788905)'))) / (select extract(epoch from '2026-06-16 07:03:46'::timestamp) - extract(epoch from '2026-06-16 07:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33694 -2.788811)'), GeomFromEWKT('SRID=4674;POINT (-40.337058 -2.788905)'))) / (select extract(epoch from '2026-06-16 07:03:46'::timestamp) - extract(epoch from '2026-06-16 07:03: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'), 46723, 'SRID=4674;POINT (-40.337191 -2.789004)', '2026-06-16 07:03:54', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337058 -2.788905)'), GeomFromEWKT('SRID=4674;POINT (-40.337191 -2.789004)'))) / (select extract(epoch from '2026-06-16 07:03:54'::timestamp) - extract(epoch from '2026-06-16 07:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337058 -2.788905)'), GeomFromEWKT('SRID=4674;POINT (-40.337191 -2.789004)'))) / (select extract(epoch from '2026-06-16 07:03:54'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.337288 -2.789066)', '2026-06-16 07:04:00', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337191 -2.789004)'), GeomFromEWKT('SRID=4674;POINT (-40.337288 -2.789066)'))) / (select extract(epoch from '2026-06-16 07:04:00'::timestamp) - extract(epoch from '2026-06-16 07:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337191 -2.789004)'), GeomFromEWKT('SRID=4674;POINT (-40.337288 -2.789066)'))) / (select extract(epoch from '2026-06-16 07:04:00'::timestamp) - extract(epoch from '2026-06-16 07:03:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.337373 -2.789165)', '2026-06-16 07:04:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337288 -2.789066)'), GeomFromEWKT('SRID=4674;POINT (-40.337373 -2.789165)'))) / (select extract(epoch from '2026-06-16 07:04:07'::timestamp) - extract(epoch from '2026-06-16 07:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337288 -2.789066)'), GeomFromEWKT('SRID=4674;POINT (-40.337373 -2.789165)'))) / (select extract(epoch from '2026-06-16 07:04:07'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.337461 -2.789296)', '2026-06-16 07:04:15', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337373 -2.789165)'), GeomFromEWKT('SRID=4674;POINT (-40.337461 -2.789296)'))) / (select extract(epoch from '2026-06-16 07:04:15'::timestamp) - extract(epoch from '2026-06-16 07:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337373 -2.789165)'), GeomFromEWKT('SRID=4674;POINT (-40.337461 -2.789296)'))) / (select extract(epoch from '2026-06-16 07:04:15'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.337527 -2.789417)', '2026-06-16 07:04:22', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337461 -2.789296)'), GeomFromEWKT('SRID=4674;POINT (-40.337527 -2.789417)'))) / (select extract(epoch from '2026-06-16 07:04:22'::timestamp) - extract(epoch from '2026-06-16 07:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337461 -2.789296)'), GeomFromEWKT('SRID=4674;POINT (-40.337527 -2.789417)'))) / (select extract(epoch from '2026-06-16 07:04:22'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.33759 -2.78952)', '2026-06-16 07:04:28', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337527 -2.789417)'), GeomFromEWKT('SRID=4674;POINT (-40.33759 -2.78952)'))) / (select extract(epoch from '2026-06-16 07:04:28'::timestamp) - extract(epoch from '2026-06-16 07:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337527 -2.789417)'), GeomFromEWKT('SRID=4674;POINT (-40.33759 -2.78952)'))) / (select extract(epoch from '2026-06-16 07:04:28'::timestamp) - extract(epoch from '2026-06-16 07:04: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'), 46723, 'SRID=4674;POINT (-40.337688 -2.789616)', '2026-06-16 07:04:35', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33759 -2.78952)'), GeomFromEWKT('SRID=4674;POINT (-40.337688 -2.789616)'))) / (select extract(epoch from '2026-06-16 07:04:35'::timestamp) - extract(epoch from '2026-06-16 07:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33759 -2.78952)'), GeomFromEWKT('SRID=4674;POINT (-40.337688 -2.789616)'))) / (select extract(epoch from '2026-06-16 07:04:35'::timestamp) - extract(epoch from '2026-06-16 07:04: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'), 46723, 'SRID=4674;POINT (-40.337812 -2.789718)', '2026-06-16 07:04:43', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337688 -2.789616)'), GeomFromEWKT('SRID=4674;POINT (-40.337812 -2.789718)'))) / (select extract(epoch from '2026-06-16 07:04:43'::timestamp) - extract(epoch from '2026-06-16 07:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337688 -2.789616)'), GeomFromEWKT('SRID=4674;POINT (-40.337812 -2.789718)'))) / (select extract(epoch from '2026-06-16 07:04:43'::timestamp) - extract(epoch from '2026-06-16 07:04: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'), 46723, 'SRID=4674;POINT (-40.337905 -2.789861)', '2026-06-16 07:04:52', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337812 -2.789718)'), GeomFromEWKT('SRID=4674;POINT (-40.337905 -2.789861)'))) / (select extract(epoch from '2026-06-16 07:04:52'::timestamp) - extract(epoch from '2026-06-16 07:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337812 -2.789718)'), GeomFromEWKT('SRID=4674;POINT (-40.337905 -2.789861)'))) / (select extract(epoch from '2026-06-16 07:04:52'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.337998 -2.789965)', '2026-06-16 07:04:59', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337905 -2.789861)'), GeomFromEWKT('SRID=4674;POINT (-40.337998 -2.789965)'))) / (select extract(epoch from '2026-06-16 07:04:59'::timestamp) - extract(epoch from '2026-06-16 07:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337905 -2.789861)'), GeomFromEWKT('SRID=4674;POINT (-40.337998 -2.789965)'))) / (select extract(epoch from '2026-06-16 07:04:59'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.338123 -2.790058)', '2026-06-16 07:05:07', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337998 -2.789965)'), GeomFromEWKT('SRID=4674;POINT (-40.338123 -2.790058)'))) / (select extract(epoch from '2026-06-16 07:05:07'::timestamp) - extract(epoch from '2026-06-16 07:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337998 -2.789965)'), GeomFromEWKT('SRID=4674;POINT (-40.338123 -2.790058)'))) / (select extract(epoch from '2026-06-16 07:05:07'::timestamp) - extract(epoch from '2026-06-16 07:04: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'), 46723, 'SRID=4674;POINT (-40.338267 -2.790184)', '2026-06-16 07:05:17', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338123 -2.790058)'), GeomFromEWKT('SRID=4674;POINT (-40.338267 -2.790184)'))) / (select extract(epoch from '2026-06-16 07:05:17'::timestamp) - extract(epoch from '2026-06-16 07:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338123 -2.790058)'), GeomFromEWKT('SRID=4674;POINT (-40.338267 -2.790184)'))) / (select extract(epoch from '2026-06-16 07:05:17'::timestamp) - extract(epoch from '2026-06-16 07:05: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'), 46723, 'SRID=4674;POINT (-40.338358 -2.790253)', '2026-06-16 07:05:23', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338267 -2.790184)'), GeomFromEWKT('SRID=4674;POINT (-40.338358 -2.790253)'))) / (select extract(epoch from '2026-06-16 07:05:23'::timestamp) - extract(epoch from '2026-06-16 07:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338267 -2.790184)'), GeomFromEWKT('SRID=4674;POINT (-40.338358 -2.790253)'))) / (select extract(epoch from '2026-06-16 07:05:23'::timestamp) - extract(epoch from '2026-06-16 07:05: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'), 46723, 'SRID=4674;POINT (-40.338478 -2.790329)', '2026-06-16 07:05:30', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338358 -2.790253)'), GeomFromEWKT('SRID=4674;POINT (-40.338478 -2.790329)'))) / (select extract(epoch from '2026-06-16 07:05:30'::timestamp) - extract(epoch from '2026-06-16 07:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338358 -2.790253)'), GeomFromEWKT('SRID=4674;POINT (-40.338478 -2.790329)'))) / (select extract(epoch from '2026-06-16 07:05:30'::timestamp) - extract(epoch from '2026-06-16 07:05: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'), 46723, 'SRID=4674;POINT (-40.338608 -2.790392)', '2026-06-16 07:05:37', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338478 -2.790329)'), GeomFromEWKT('SRID=4674;POINT (-40.338608 -2.790392)'))) / (select extract(epoch from '2026-06-16 07:05:37'::timestamp) - extract(epoch from '2026-06-16 07:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338478 -2.790329)'), GeomFromEWKT('SRID=4674;POINT (-40.338608 -2.790392)'))) / (select extract(epoch from '2026-06-16 07:05:37'::timestamp) - extract(epoch from '2026-06-16 07:05: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'), 46723, 'SRID=4674;POINT (-40.338722 -2.790463)', '2026-06-16 07:05:44', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338608 -2.790392)'), GeomFromEWKT('SRID=4674;POINT (-40.338722 -2.790463)'))) / (select extract(epoch from '2026-06-16 07:05:44'::timestamp) - extract(epoch from '2026-06-16 07:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338608 -2.790392)'), GeomFromEWKT('SRID=4674;POINT (-40.338722 -2.790463)'))) / (select extract(epoch from '2026-06-16 07:05:44'::timestamp) - extract(epoch from '2026-06-16 07:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.338836 -2.790543)', '2026-06-16 07:05:51', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338722 -2.790463)'), GeomFromEWKT('SRID=4674;POINT (-40.338836 -2.790543)'))) / (select extract(epoch from '2026-06-16 07:05:51'::timestamp) - extract(epoch from '2026-06-16 07:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338722 -2.790463)'), GeomFromEWKT('SRID=4674;POINT (-40.338836 -2.790543)'))) / (select extract(epoch from '2026-06-16 07:05:51'::timestamp) - extract(epoch from '2026-06-16 07:05: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'), 46723, 'SRID=4674;POINT (-40.338939 -2.790647)', '2026-06-16 07:05:59', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338836 -2.790543)'), GeomFromEWKT('SRID=4674;POINT (-40.338939 -2.790647)'))) / (select extract(epoch from '2026-06-16 07:05:59'::timestamp) - extract(epoch from '2026-06-16 07:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338836 -2.790543)'), GeomFromEWKT('SRID=4674;POINT (-40.338939 -2.790647)'))) / (select extract(epoch from '2026-06-16 07:05:59'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.339044 -2.790754)', '2026-06-16 07:06:07', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338939 -2.790647)'), GeomFromEWKT('SRID=4674;POINT (-40.339044 -2.790754)'))) / (select extract(epoch from '2026-06-16 07:06:07'::timestamp) - extract(epoch from '2026-06-16 07:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338939 -2.790647)'), GeomFromEWKT('SRID=4674;POINT (-40.339044 -2.790754)'))) / (select extract(epoch from '2026-06-16 07:06:07'::timestamp) - extract(epoch from '2026-06-16 07:05: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'), 46723, 'SRID=4674;POINT (-40.339161 -2.790858)', '2026-06-16 07:06:15', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339044 -2.790754)'), GeomFromEWKT('SRID=4674;POINT (-40.339161 -2.790858)'))) / (select extract(epoch from '2026-06-16 07:06:15'::timestamp) - extract(epoch from '2026-06-16 07:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339044 -2.790754)'), GeomFromEWKT('SRID=4674;POINT (-40.339161 -2.790858)'))) / (select extract(epoch from '2026-06-16 07:06:15'::timestamp) - extract(epoch from '2026-06-16 07:06:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.339267 -2.790945)', '2026-06-16 07:06:22', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339161 -2.790858)'), GeomFromEWKT('SRID=4674;POINT (-40.339267 -2.790945)'))) / (select extract(epoch from '2026-06-16 07:06:22'::timestamp) - extract(epoch from '2026-06-16 07:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339161 -2.790858)'), GeomFromEWKT('SRID=4674;POINT (-40.339267 -2.790945)'))) / (select extract(epoch from '2026-06-16 07:06:22'::timestamp) - extract(epoch from '2026-06-16 07:06: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'), 46723, 'SRID=4674;POINT (-40.339384 -2.791051)', '2026-06-16 07:06:30', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339267 -2.790945)'), GeomFromEWKT('SRID=4674;POINT (-40.339384 -2.791051)'))) / (select extract(epoch from '2026-06-16 07:06:30'::timestamp) - extract(epoch from '2026-06-16 07:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339267 -2.790945)'), GeomFromEWKT('SRID=4674;POINT (-40.339384 -2.791051)'))) / (select extract(epoch from '2026-06-16 07:06:30'::timestamp) - extract(epoch from '2026-06-16 07:06: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'), 46723, 'SRID=4674;POINT (-40.339507 -2.791134)', '2026-06-16 07:06:38', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339384 -2.791051)'), GeomFromEWKT('SRID=4674;POINT (-40.339507 -2.791134)'))) / (select extract(epoch from '2026-06-16 07:06:38'::timestamp) - extract(epoch from '2026-06-16 07:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339384 -2.791051)'), GeomFromEWKT('SRID=4674;POINT (-40.339507 -2.791134)'))) / (select extract(epoch from '2026-06-16 07:06:38'::timestamp) - extract(epoch from '2026-06-16 07:06: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'), 46723, 'SRID=4674;POINT (-40.339667 -2.791217)', '2026-06-16 07:06:47', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339507 -2.791134)'), GeomFromEWKT('SRID=4674;POINT (-40.339667 -2.791217)'))) / (select extract(epoch from '2026-06-16 07:06:47'::timestamp) - extract(epoch from '2026-06-16 07:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339507 -2.791134)'), GeomFromEWKT('SRID=4674;POINT (-40.339667 -2.791217)'))) / (select extract(epoch from '2026-06-16 07:06:47'::timestamp) - extract(epoch from '2026-06-16 07:06: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'), 46723, 'SRID=4674;POINT (-40.339768 -2.791324)', '2026-06-16 07:06:54', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339667 -2.791217)'), GeomFromEWKT('SRID=4674;POINT (-40.339768 -2.791324)'))) / (select extract(epoch from '2026-06-16 07:06:54'::timestamp) - extract(epoch from '2026-06-16 07:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339667 -2.791217)'), GeomFromEWKT('SRID=4674;POINT (-40.339768 -2.791324)'))) / (select extract(epoch from '2026-06-16 07:06:54'::timestamp) - extract(epoch from '2026-06-16 07:06: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'), 46723, 'SRID=4674;POINT (-40.339881 -2.791444)', '2026-06-16 07:07:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339768 -2.791324)'), GeomFromEWKT('SRID=4674;POINT (-40.339881 -2.791444)'))) / (select extract(epoch from '2026-06-16 07:07:02'::timestamp) - extract(epoch from '2026-06-16 07:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339768 -2.791324)'), GeomFromEWKT('SRID=4674;POINT (-40.339881 -2.791444)'))) / (select extract(epoch from '2026-06-16 07:07:02'::timestamp) - extract(epoch from '2026-06-16 07:06: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'), 46723, 'SRID=4674;POINT (-40.340006 -2.79153)', '2026-06-16 07:07:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339881 -2.791444)'), GeomFromEWKT('SRID=4674;POINT (-40.340006 -2.79153)'))) / (select extract(epoch from '2026-06-16 07:07:09'::timestamp) - extract(epoch from '2026-06-16 07:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339881 -2.791444)'), GeomFromEWKT('SRID=4674;POINT (-40.340006 -2.79153)'))) / (select extract(epoch from '2026-06-16 07:07:09'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.340148 -2.791645)', '2026-06-16 07:07:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340006 -2.79153)'), GeomFromEWKT('SRID=4674;POINT (-40.340148 -2.791645)'))) / (select extract(epoch from '2026-06-16 07:07:18'::timestamp) - extract(epoch from '2026-06-16 07:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340006 -2.79153)'), GeomFromEWKT('SRID=4674;POINT (-40.340148 -2.791645)'))) / (select extract(epoch from '2026-06-16 07:07:18'::timestamp) - extract(epoch from '2026-06-16 07:07:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.340258 -2.791772)', '2026-06-16 07:07:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340148 -2.791645)'), GeomFromEWKT('SRID=4674;POINT (-40.340258 -2.791772)'))) / (select extract(epoch from '2026-06-16 07:07:26'::timestamp) - extract(epoch from '2026-06-16 07:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340148 -2.791645)'), GeomFromEWKT('SRID=4674;POINT (-40.340258 -2.791772)'))) / (select extract(epoch from '2026-06-16 07:07:26'::timestamp) - extract(epoch from '2026-06-16 07:07: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'), 46723, 'SRID=4674;POINT (-40.340361 -2.791891)', '2026-06-16 07:07:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340258 -2.791772)'), GeomFromEWKT('SRID=4674;POINT (-40.340361 -2.791891)'))) / (select extract(epoch from '2026-06-16 07:07:34'::timestamp) - extract(epoch from '2026-06-16 07:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340258 -2.791772)'), GeomFromEWKT('SRID=4674;POINT (-40.340361 -2.791891)'))) / (select extract(epoch from '2026-06-16 07:07:34'::timestamp) - extract(epoch from '2026-06-16 07:07:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.340483 -2.791961)', '2026-06-16 07:07:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340361 -2.791891)'), GeomFromEWKT('SRID=4674;POINT (-40.340483 -2.791961)'))) / (select extract(epoch from '2026-06-16 07:07:41'::timestamp) - extract(epoch from '2026-06-16 07:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340361 -2.791891)'), GeomFromEWKT('SRID=4674;POINT (-40.340483 -2.791961)'))) / (select extract(epoch from '2026-06-16 07:07:41'::timestamp) - extract(epoch from '2026-06-16 07:07:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.340618 -2.792049)', '2026-06-16 07:07:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340483 -2.791961)'), GeomFromEWKT('SRID=4674;POINT (-40.340618 -2.792049)'))) / (select extract(epoch from '2026-06-16 07:07:49'::timestamp) - extract(epoch from '2026-06-16 07:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340483 -2.791961)'), GeomFromEWKT('SRID=4674;POINT (-40.340618 -2.792049)'))) / (select extract(epoch from '2026-06-16 07:07:49'::timestamp) - extract(epoch from '2026-06-16 07:07:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.340709 -2.792147)', '2026-06-16 07:07:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340618 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.340709 -2.792147)'))) / (select extract(epoch from '2026-06-16 07:07:56'::timestamp) - extract(epoch from '2026-06-16 07:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340618 -2.792049)'), GeomFromEWKT('SRID=4674;POINT (-40.340709 -2.792147)'))) / (select extract(epoch from '2026-06-16 07:07:56'::timestamp) - extract(epoch from '2026-06-16 07:07: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'), 46723, 'SRID=4674;POINT (-40.340819 -2.792262)', '2026-06-16 07:08:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340709 -2.792147)'), GeomFromEWKT('SRID=4674;POINT (-40.340819 -2.792262)'))) / (select extract(epoch from '2026-06-16 07:08:04'::timestamp) - extract(epoch from '2026-06-16 07:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340709 -2.792147)'), GeomFromEWKT('SRID=4674;POINT (-40.340819 -2.792262)'))) / (select extract(epoch from '2026-06-16 07:08:04'::timestamp) - extract(epoch from '2026-06-16 07:07: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'), 46723, 'SRID=4674;POINT (-40.340957 -2.79235)', '2026-06-16 07:08:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340819 -2.792262)'), GeomFromEWKT('SRID=4674;POINT (-40.340957 -2.79235)'))) / (select extract(epoch from '2026-06-16 07:08:12'::timestamp) - extract(epoch from '2026-06-16 07:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340819 -2.792262)'), GeomFromEWKT('SRID=4674;POINT (-40.340957 -2.79235)'))) / (select extract(epoch from '2026-06-16 07:08:12'::timestamp) - extract(epoch from '2026-06-16 07:08: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'), 46723, 'SRID=4674;POINT (-40.341127 -2.79246)', '2026-06-16 07:08:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340957 -2.79235)'), GeomFromEWKT('SRID=4674;POINT (-40.341127 -2.79246)'))) / (select extract(epoch from '2026-06-16 07:08:22'::timestamp) - extract(epoch from '2026-06-16 07:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340957 -2.79235)'), GeomFromEWKT('SRID=4674;POINT (-40.341127 -2.79246)'))) / (select extract(epoch from '2026-06-16 07:08:22'::timestamp) - extract(epoch from '2026-06-16 07:08: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'), 46723, 'SRID=4674;POINT (-40.341253 -2.792551)', '2026-06-16 07:08:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341127 -2.79246)'), GeomFromEWKT('SRID=4674;POINT (-40.341253 -2.792551)'))) / (select extract(epoch from '2026-06-16 07:08:29'::timestamp) - extract(epoch from '2026-06-16 07:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341127 -2.79246)'), GeomFromEWKT('SRID=4674;POINT (-40.341253 -2.792551)'))) / (select extract(epoch from '2026-06-16 07:08:29'::timestamp) - extract(epoch from '2026-06-16 07:08: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'), 46723, 'SRID=4674;POINT (-40.341349 -2.792641)', '2026-06-16 07:08:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341253 -2.792551)'), GeomFromEWKT('SRID=4674;POINT (-40.341349 -2.792641)'))) / (select extract(epoch from '2026-06-16 07:08:36'::timestamp) - extract(epoch from '2026-06-16 07:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341253 -2.792551)'), GeomFromEWKT('SRID=4674;POINT (-40.341349 -2.792641)'))) / (select extract(epoch from '2026-06-16 07:08:36'::timestamp) - extract(epoch from '2026-06-16 07:08: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'), 46723, 'SRID=4674;POINT (-40.341449 -2.792712)', '2026-06-16 07:08:42', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341349 -2.792641)'), GeomFromEWKT('SRID=4674;POINT (-40.341449 -2.792712)'))) / (select extract(epoch from '2026-06-16 07:08:42'::timestamp) - extract(epoch from '2026-06-16 07:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341349 -2.792641)'), GeomFromEWKT('SRID=4674;POINT (-40.341449 -2.792712)'))) / (select extract(epoch from '2026-06-16 07:08:42'::timestamp) - extract(epoch from '2026-06-16 07:08:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.341567 -2.792756)', '2026-06-16 07:08:48', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341449 -2.792712)'), GeomFromEWKT('SRID=4674;POINT (-40.341567 -2.792756)'))) / (select extract(epoch from '2026-06-16 07:08:48'::timestamp) - extract(epoch from '2026-06-16 07:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341449 -2.792712)'), GeomFromEWKT('SRID=4674;POINT (-40.341567 -2.792756)'))) / (select extract(epoch from '2026-06-16 07:08:48'::timestamp) - extract(epoch from '2026-06-16 07:08:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.341685 -2.792824)', '2026-06-16 07:08:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341567 -2.792756)'), GeomFromEWKT('SRID=4674;POINT (-40.341685 -2.792824)'))) / (select extract(epoch from '2026-06-16 07:08:55'::timestamp) - extract(epoch from '2026-06-16 07:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341567 -2.792756)'), GeomFromEWKT('SRID=4674;POINT (-40.341685 -2.792824)'))) / (select extract(epoch from '2026-06-16 07:08:55'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.341778 -2.792934)', '2026-06-16 07:09:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341685 -2.792824)'), GeomFromEWKT('SRID=4674;POINT (-40.341778 -2.792934)'))) / (select extract(epoch from '2026-06-16 07:09:02'::timestamp) - extract(epoch from '2026-06-16 07:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341685 -2.792824)'), GeomFromEWKT('SRID=4674;POINT (-40.341778 -2.792934)'))) / (select extract(epoch from '2026-06-16 07:09:02'::timestamp) - extract(epoch from '2026-06-16 07:08:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.341846 -2.793051)', '2026-06-16 07:09:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341778 -2.792934)'), GeomFromEWKT('SRID=4674;POINT (-40.341846 -2.793051)'))) / (select extract(epoch from '2026-06-16 07:09:09'::timestamp) - extract(epoch from '2026-06-16 07:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341778 -2.792934)'), GeomFromEWKT('SRID=4674;POINT (-40.341846 -2.793051)'))) / (select extract(epoch from '2026-06-16 07:09:09'::timestamp) - extract(epoch from '2026-06-16 07:09: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'), 46723, 'SRID=4674;POINT (-40.341917 -2.793187)', '2026-06-16 07:09:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341846 -2.793051)'), GeomFromEWKT('SRID=4674;POINT (-40.341917 -2.793187)'))) / (select extract(epoch from '2026-06-16 07:09:17'::timestamp) - extract(epoch from '2026-06-16 07:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341846 -2.793051)'), GeomFromEWKT('SRID=4674;POINT (-40.341917 -2.793187)'))) / (select extract(epoch from '2026-06-16 07:09:17'::timestamp) - extract(epoch from '2026-06-16 07:09: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'), 46723, 'SRID=4674;POINT (-40.342035 -2.793271)', '2026-06-16 07:09:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341917 -2.793187)'), GeomFromEWKT('SRID=4674;POINT (-40.342035 -2.793271)'))) / (select extract(epoch from '2026-06-16 07:09:24'::timestamp) - extract(epoch from '2026-06-16 07:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341917 -2.793187)'), GeomFromEWKT('SRID=4674;POINT (-40.342035 -2.793271)'))) / (select extract(epoch from '2026-06-16 07:09:24'::timestamp) - extract(epoch from '2026-06-16 07:09:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.342153 -2.793343)', '2026-06-16 07:09:31', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342035 -2.793271)'), GeomFromEWKT('SRID=4674;POINT (-40.342153 -2.793343)'))) / (select extract(epoch from '2026-06-16 07:09:31'::timestamp) - extract(epoch from '2026-06-16 07:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342035 -2.793271)'), GeomFromEWKT('SRID=4674;POINT (-40.342153 -2.793343)'))) / (select extract(epoch from '2026-06-16 07:09:31'::timestamp) - extract(epoch from '2026-06-16 07:09: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'), 46723, 'SRID=4674;POINT (-40.342288 -2.793438)', '2026-06-16 07:09:39', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342153 -2.793343)'), GeomFromEWKT('SRID=4674;POINT (-40.342288 -2.793438)'))) / (select extract(epoch from '2026-06-16 07:09:39'::timestamp) - extract(epoch from '2026-06-16 07:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342153 -2.793343)'), GeomFromEWKT('SRID=4674;POINT (-40.342288 -2.793438)'))) / (select extract(epoch from '2026-06-16 07:09:39'::timestamp) - extract(epoch from '2026-06-16 07:09: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'), 46723, 'SRID=4674;POINT (-40.342444 -2.793516)', '2026-06-16 07:09:47', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342288 -2.793438)'), GeomFromEWKT('SRID=4674;POINT (-40.342444 -2.793516)'))) / (select extract(epoch from '2026-06-16 07:09:47'::timestamp) - extract(epoch from '2026-06-16 07:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342288 -2.793438)'), GeomFromEWKT('SRID=4674;POINT (-40.342444 -2.793516)'))) / (select extract(epoch from '2026-06-16 07:09:47'::timestamp) - extract(epoch from '2026-06-16 07:09:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.342579 -2.7936)', '2026-06-16 07:09:55', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342444 -2.793516)'), GeomFromEWKT('SRID=4674;POINT (-40.342579 -2.7936)'))) / (select extract(epoch from '2026-06-16 07:09:55'::timestamp) - extract(epoch from '2026-06-16 07:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342444 -2.793516)'), GeomFromEWKT('SRID=4674;POINT (-40.342579 -2.7936)'))) / (select extract(epoch from '2026-06-16 07:09:55'::timestamp) - extract(epoch from '2026-06-16 07:09:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.342655 -2.793681)', '2026-06-16 07:10:00', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342579 -2.7936)'), GeomFromEWKT('SRID=4674;POINT (-40.342655 -2.793681)'))) / (select extract(epoch from '2026-06-16 07:10:00'::timestamp) - extract(epoch from '2026-06-16 07:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342579 -2.7936)'), GeomFromEWKT('SRID=4674;POINT (-40.342655 -2.793681)'))) / (select extract(epoch from '2026-06-16 07:10:00'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.342761 -2.793782)', '2026-06-16 07:10:07', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342655 -2.793681)'), GeomFromEWKT('SRID=4674;POINT (-40.342761 -2.793782)'))) / (select extract(epoch from '2026-06-16 07:10:07'::timestamp) - extract(epoch from '2026-06-16 07:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342655 -2.793681)'), GeomFromEWKT('SRID=4674;POINT (-40.342761 -2.793782)'))) / (select extract(epoch from '2026-06-16 07:10:07'::timestamp) - extract(epoch from '2026-06-16 07:10: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'), 46723, 'SRID=4674;POINT (-40.342865 -2.793891)', '2026-06-16 07:10:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342761 -2.793782)'), GeomFromEWKT('SRID=4674;POINT (-40.342865 -2.793891)'))) / (select extract(epoch from '2026-06-16 07:10:15'::timestamp) - extract(epoch from '2026-06-16 07:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342761 -2.793782)'), GeomFromEWKT('SRID=4674;POINT (-40.342865 -2.793891)'))) / (select extract(epoch from '2026-06-16 07:10:15'::timestamp) - extract(epoch from '2026-06-16 07:10: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'), 46723, 'SRID=4674;POINT (-40.342954 -2.793999)', '2026-06-16 07:10:22', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342865 -2.793891)'), GeomFromEWKT('SRID=4674;POINT (-40.342954 -2.793999)'))) / (select extract(epoch from '2026-06-16 07:10:22'::timestamp) - extract(epoch from '2026-06-16 07:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342865 -2.793891)'), GeomFromEWKT('SRID=4674;POINT (-40.342954 -2.793999)'))) / (select extract(epoch from '2026-06-16 07:10:22'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.343059 -2.794103)', '2026-06-16 07:10:29', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342954 -2.793999)'), GeomFromEWKT('SRID=4674;POINT (-40.343059 -2.794103)'))) / (select extract(epoch from '2026-06-16 07:10:29'::timestamp) - extract(epoch from '2026-06-16 07:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342954 -2.793999)'), GeomFromEWKT('SRID=4674;POINT (-40.343059 -2.794103)'))) / (select extract(epoch from '2026-06-16 07:10:29'::timestamp) - extract(epoch from '2026-06-16 07:10: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'), 46723, 'SRID=4674;POINT (-40.343145 -2.794189)', '2026-06-16 07:10:35', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343059 -2.794103)'), GeomFromEWKT('SRID=4674;POINT (-40.343145 -2.794189)'))) / (select extract(epoch from '2026-06-16 07:10:35'::timestamp) - extract(epoch from '2026-06-16 07:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343059 -2.794103)'), GeomFromEWKT('SRID=4674;POINT (-40.343145 -2.794189)'))) / (select extract(epoch from '2026-06-16 07:10:35'::timestamp) - extract(epoch from '2026-06-16 07:10: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'), 46723, 'SRID=4674;POINT (-40.343242 -2.794302)', '2026-06-16 07:10:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343145 -2.794189)'), GeomFromEWKT('SRID=4674;POINT (-40.343242 -2.794302)'))) / (select extract(epoch from '2026-06-16 07:10:43'::timestamp) - extract(epoch from '2026-06-16 07:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343145 -2.794189)'), GeomFromEWKT('SRID=4674;POINT (-40.343242 -2.794302)'))) / (select extract(epoch from '2026-06-16 07:10:43'::timestamp) - extract(epoch from '2026-06-16 07:10: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'), 46723, 'SRID=4674;POINT (-40.343336 -2.794477)', '2026-06-16 07:10:53', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343242 -2.794302)'), GeomFromEWKT('SRID=4674;POINT (-40.343336 -2.794477)'))) / (select extract(epoch from '2026-06-16 07:10:53'::timestamp) - extract(epoch from '2026-06-16 07:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343242 -2.794302)'), GeomFromEWKT('SRID=4674;POINT (-40.343336 -2.794477)'))) / (select extract(epoch from '2026-06-16 07:10:53'::timestamp) - extract(epoch from '2026-06-16 07:10: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'), 46723, 'SRID=4674;POINT (-40.343407 -2.794584)', '2026-06-16 07:11:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343336 -2.794477)'), GeomFromEWKT('SRID=4674;POINT (-40.343407 -2.794584)'))) / (select extract(epoch from '2026-06-16 07:11:00'::timestamp) - extract(epoch from '2026-06-16 07:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343336 -2.794477)'), GeomFromEWKT('SRID=4674;POINT (-40.343407 -2.794584)'))) / (select extract(epoch from '2026-06-16 07:11:00'::timestamp) - extract(epoch from '2026-06-16 07:10: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'), 46723, 'SRID=4674;POINT (-40.343495 -2.794713)', '2026-06-16 07:11:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343407 -2.794584)'), GeomFromEWKT('SRID=4674;POINT (-40.343495 -2.794713)'))) / (select extract(epoch from '2026-06-16 07:11:08'::timestamp) - extract(epoch from '2026-06-16 07:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343407 -2.794584)'), GeomFromEWKT('SRID=4674;POINT (-40.343495 -2.794713)'))) / (select extract(epoch from '2026-06-16 07:11:08'::timestamp) - extract(epoch from '2026-06-16 07:11: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'), 46723, 'SRID=4674;POINT (-40.343573 -2.794829)', '2026-06-16 07:11:15', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343495 -2.794713)'), GeomFromEWKT('SRID=4674;POINT (-40.343573 -2.794829)'))) / (select extract(epoch from '2026-06-16 07:11:15'::timestamp) - extract(epoch from '2026-06-16 07:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343495 -2.794713)'), GeomFromEWKT('SRID=4674;POINT (-40.343573 -2.794829)'))) / (select extract(epoch from '2026-06-16 07:11:15'::timestamp) - extract(epoch from '2026-06-16 07:11: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'), 46723, 'SRID=4674;POINT (-40.343661 -2.794902)', '2026-06-16 07:11:20', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343573 -2.794829)'), GeomFromEWKT('SRID=4674;POINT (-40.343661 -2.794902)'))) / (select extract(epoch from '2026-06-16 07:11:20'::timestamp) - extract(epoch from '2026-06-16 07:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343573 -2.794829)'), GeomFromEWKT('SRID=4674;POINT (-40.343661 -2.794902)'))) / (select extract(epoch from '2026-06-16 07:11:20'::timestamp) - extract(epoch from '2026-06-16 07:11: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'), 46723, 'SRID=4674;POINT (-40.343776 -2.795004)', '2026-06-16 07:11:28', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343661 -2.794902)'), GeomFromEWKT('SRID=4674;POINT (-40.343776 -2.795004)'))) / (select extract(epoch from '2026-06-16 07:11:28'::timestamp) - extract(epoch from '2026-06-16 07:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343661 -2.794902)'), GeomFromEWKT('SRID=4674;POINT (-40.343776 -2.795004)'))) / (select extract(epoch from '2026-06-16 07:11:28'::timestamp) - extract(epoch from '2026-06-16 07:11: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'), 46723, 'SRID=4674;POINT (-40.343841 -2.795109)', '2026-06-16 07:11:34', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343776 -2.795004)'), GeomFromEWKT('SRID=4674;POINT (-40.343841 -2.795109)'))) / (select extract(epoch from '2026-06-16 07:11:34'::timestamp) - extract(epoch from '2026-06-16 07:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343776 -2.795004)'), GeomFromEWKT('SRID=4674;POINT (-40.343841 -2.795109)'))) / (select extract(epoch from '2026-06-16 07:11:34'::timestamp) - extract(epoch from '2026-06-16 07:11: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'), 46723, 'SRID=4674;POINT (-40.343933 -2.795248)', '2026-06-16 07:11:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343841 -2.795109)'), GeomFromEWKT('SRID=4674;POINT (-40.343933 -2.795248)'))) / (select extract(epoch from '2026-06-16 07:11:42'::timestamp) - extract(epoch from '2026-06-16 07:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343841 -2.795109)'), GeomFromEWKT('SRID=4674;POINT (-40.343933 -2.795248)'))) / (select extract(epoch from '2026-06-16 07:11:42'::timestamp) - extract(epoch from '2026-06-16 07:11: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'), 46723, 'SRID=4674;POINT (-40.344021 -2.795367)', '2026-06-16 07:11:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343933 -2.795248)'), GeomFromEWKT('SRID=4674;POINT (-40.344021 -2.795367)'))) / (select extract(epoch from '2026-06-16 07:11:49'::timestamp) - extract(epoch from '2026-06-16 07:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343933 -2.795248)'), GeomFromEWKT('SRID=4674;POINT (-40.344021 -2.795367)'))) / (select extract(epoch from '2026-06-16 07:11:49'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.344076 -2.79545)', '2026-06-16 07:11:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344021 -2.795367)'), GeomFromEWKT('SRID=4674;POINT (-40.344076 -2.79545)'))) / (select extract(epoch from '2026-06-16 07:11:54'::timestamp) - extract(epoch from '2026-06-16 07:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344021 -2.795367)'), GeomFromEWKT('SRID=4674;POINT (-40.344076 -2.79545)'))) / (select extract(epoch from '2026-06-16 07:11:54'::timestamp) - extract(epoch from '2026-06-16 07:11: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'), 46723, 'SRID=4674;POINT (-40.34414 -2.795547)', '2026-06-16 07:12:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344076 -2.79545)'), GeomFromEWKT('SRID=4674;POINT (-40.34414 -2.795547)'))) / (select extract(epoch from '2026-06-16 07:12:00'::timestamp) - extract(epoch from '2026-06-16 07:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344076 -2.79545)'), GeomFromEWKT('SRID=4674;POINT (-40.34414 -2.795547)'))) / (select extract(epoch from '2026-06-16 07:12:00'::timestamp) - extract(epoch from '2026-06-16 07:11: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'), 46723, 'SRID=4674;POINT (-40.344243 -2.795709)', '2026-06-16 07:12:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34414 -2.795547)'), GeomFromEWKT('SRID=4674;POINT (-40.344243 -2.795709)'))) / (select extract(epoch from '2026-06-16 07:12:09'::timestamp) - extract(epoch from '2026-06-16 07:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34414 -2.795547)'), GeomFromEWKT('SRID=4674;POINT (-40.344243 -2.795709)'))) / (select extract(epoch from '2026-06-16 07:12:09'::timestamp) - extract(epoch from '2026-06-16 07:12: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'), 46723, 'SRID=4674;POINT (-40.344329 -2.795812)', '2026-06-16 07:12:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344243 -2.795709)'), GeomFromEWKT('SRID=4674;POINT (-40.344329 -2.795812)'))) / (select extract(epoch from '2026-06-16 07:12:16'::timestamp) - extract(epoch from '2026-06-16 07:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344243 -2.795709)'), GeomFromEWKT('SRID=4674;POINT (-40.344329 -2.795812)'))) / (select extract(epoch from '2026-06-16 07:12:16'::timestamp) - extract(epoch from '2026-06-16 07:12: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'), 46723, 'SRID=4674;POINT (-40.344399 -2.795892)', '2026-06-16 07:12:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344329 -2.795812)'), GeomFromEWKT('SRID=4674;POINT (-40.344399 -2.795892)'))) / (select extract(epoch from '2026-06-16 07:12:22'::timestamp) - extract(epoch from '2026-06-16 07:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344329 -2.795812)'), GeomFromEWKT('SRID=4674;POINT (-40.344399 -2.795892)'))) / (select extract(epoch from '2026-06-16 07:12:22'::timestamp) - extract(epoch from '2026-06-16 07:12: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'), 46723, 'SRID=4674;POINT (-40.344496 -2.795992)', '2026-06-16 07:12:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344399 -2.795892)'), GeomFromEWKT('SRID=4674;POINT (-40.344496 -2.795992)'))) / (select extract(epoch from '2026-06-16 07:12:29'::timestamp) - extract(epoch from '2026-06-16 07:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344399 -2.795892)'), GeomFromEWKT('SRID=4674;POINT (-40.344496 -2.795992)'))) / (select extract(epoch from '2026-06-16 07:12:29'::timestamp) - extract(epoch from '2026-06-16 07:12:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.344613 -2.796063)', '2026-06-16 07:12:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344496 -2.795992)'), GeomFromEWKT('SRID=4674;POINT (-40.344613 -2.796063)'))) / (select extract(epoch from '2026-06-16 07:12:36'::timestamp) - extract(epoch from '2026-06-16 07:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344496 -2.795992)'), GeomFromEWKT('SRID=4674;POINT (-40.344613 -2.796063)'))) / (select extract(epoch from '2026-06-16 07:12:36'::timestamp) - extract(epoch from '2026-06-16 07:12: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'), 46723, 'SRID=4674;POINT (-40.344694 -2.79615)', '2026-06-16 07:12:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344613 -2.796063)'), GeomFromEWKT('SRID=4674;POINT (-40.344694 -2.79615)'))) / (select extract(epoch from '2026-06-16 07:12:42'::timestamp) - extract(epoch from '2026-06-16 07:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344613 -2.796063)'), GeomFromEWKT('SRID=4674;POINT (-40.344694 -2.79615)'))) / (select extract(epoch from '2026-06-16 07:12:42'::timestamp) - extract(epoch from '2026-06-16 07:12: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'), 46723, 'SRID=4674;POINT (-40.34476 -2.796274)', '2026-06-16 07:12:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344694 -2.79615)'), GeomFromEWKT('SRID=4674;POINT (-40.34476 -2.796274)'))) / (select extract(epoch from '2026-06-16 07:12:49'::timestamp) - extract(epoch from '2026-06-16 07:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344694 -2.79615)'), GeomFromEWKT('SRID=4674;POINT (-40.34476 -2.796274)'))) / (select extract(epoch from '2026-06-16 07:12:49'::timestamp) - extract(epoch from '2026-06-16 07:12: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'), 46723, 'SRID=4674;POINT (-40.344818 -2.796371)', '2026-06-16 07:12:55', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34476 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.344818 -2.796371)'))) / (select extract(epoch from '2026-06-16 07:12:55'::timestamp) - extract(epoch from '2026-06-16 07:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34476 -2.796274)'), GeomFromEWKT('SRID=4674;POINT (-40.344818 -2.796371)'))) / (select extract(epoch from '2026-06-16 07:12:55'::timestamp) - extract(epoch from '2026-06-16 07:12: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'), 46723, 'SRID=4674;POINT (-40.344909 -2.796473)', '2026-06-16 07:13:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344818 -2.796371)'), GeomFromEWKT('SRID=4674;POINT (-40.344909 -2.796473)'))) / (select extract(epoch from '2026-06-16 07:13:02'::timestamp) - extract(epoch from '2026-06-16 07:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344818 -2.796371)'), GeomFromEWKT('SRID=4674;POINT (-40.344909 -2.796473)'))) / (select extract(epoch from '2026-06-16 07:13:02'::timestamp) - extract(epoch from '2026-06-16 07:12: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'), 46723, 'SRID=4674;POINT (-40.344978 -2.79657)', '2026-06-16 07:13:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344909 -2.796473)'), GeomFromEWKT('SRID=4674;POINT (-40.344978 -2.79657)'))) / (select extract(epoch from '2026-06-16 07:13:08'::timestamp) - extract(epoch from '2026-06-16 07:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344909 -2.796473)'), GeomFromEWKT('SRID=4674;POINT (-40.344978 -2.79657)'))) / (select extract(epoch from '2026-06-16 07:13:08'::timestamp) - extract(epoch from '2026-06-16 07:13: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'), 46723, 'SRID=4674;POINT (-40.345025 -2.796674)', '2026-06-16 07:13:14', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344978 -2.79657)'), GeomFromEWKT('SRID=4674;POINT (-40.345025 -2.796674)'))) / (select extract(epoch from '2026-06-16 07:13:14'::timestamp) - extract(epoch from '2026-06-16 07:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344978 -2.79657)'), GeomFromEWKT('SRID=4674;POINT (-40.345025 -2.796674)'))) / (select extract(epoch from '2026-06-16 07:13:14'::timestamp) - extract(epoch from '2026-06-16 07:13: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'), 46723, 'SRID=4674;POINT (-40.345108 -2.796816)', '2026-06-16 07:13:22', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345025 -2.796674)'), GeomFromEWKT('SRID=4674;POINT (-40.345108 -2.796816)'))) / (select extract(epoch from '2026-06-16 07:13:22'::timestamp) - extract(epoch from '2026-06-16 07:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345025 -2.796674)'), GeomFromEWKT('SRID=4674;POINT (-40.345108 -2.796816)'))) / (select extract(epoch from '2026-06-16 07:13:22'::timestamp) - extract(epoch from '2026-06-16 07:13:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.345205 -2.796919)', '2026-06-16 07:13:29', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345108 -2.796816)'), GeomFromEWKT('SRID=4674;POINT (-40.345205 -2.796919)'))) / (select extract(epoch from '2026-06-16 07:13:29'::timestamp) - extract(epoch from '2026-06-16 07:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345108 -2.796816)'), GeomFromEWKT('SRID=4674;POINT (-40.345205 -2.796919)'))) / (select extract(epoch from '2026-06-16 07:13:29'::timestamp) - extract(epoch from '2026-06-16 07:13: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'), 46723, 'SRID=4674;POINT (-40.345356 -2.797044)', '2026-06-16 07:13:39', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345205 -2.796919)'), GeomFromEWKT('SRID=4674;POINT (-40.345356 -2.797044)'))) / (select extract(epoch from '2026-06-16 07:13:39'::timestamp) - extract(epoch from '2026-06-16 07:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345205 -2.796919)'), GeomFromEWKT('SRID=4674;POINT (-40.345356 -2.797044)'))) / (select extract(epoch from '2026-06-16 07:13:39'::timestamp) - extract(epoch from '2026-06-16 07:13: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'), 46723, 'SRID=4674;POINT (-40.345455 -2.797152)', '2026-06-16 07:13:47', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345356 -2.797044)'), GeomFromEWKT('SRID=4674;POINT (-40.345455 -2.797152)'))) / (select extract(epoch from '2026-06-16 07:13:47'::timestamp) - extract(epoch from '2026-06-16 07:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345356 -2.797044)'), GeomFromEWKT('SRID=4674;POINT (-40.345455 -2.797152)'))) / (select extract(epoch from '2026-06-16 07:13:47'::timestamp) - extract(epoch from '2026-06-16 07:13: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'), 46723, 'SRID=4674;POINT (-40.345533 -2.797258)', '2026-06-16 07:13:54', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345455 -2.797152)'), GeomFromEWKT('SRID=4674;POINT (-40.345533 -2.797258)'))) / (select extract(epoch from '2026-06-16 07:13:54'::timestamp) - extract(epoch from '2026-06-16 07:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345455 -2.797152)'), GeomFromEWKT('SRID=4674;POINT (-40.345533 -2.797258)'))) / (select extract(epoch from '2026-06-16 07:13:54'::timestamp) - extract(epoch from '2026-06-16 07:13:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.345652 -2.797381)', '2026-06-16 07:14:02', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345533 -2.797258)'), GeomFromEWKT('SRID=4674;POINT (-40.345652 -2.797381)'))) / (select extract(epoch from '2026-06-16 07:14:02'::timestamp) - extract(epoch from '2026-06-16 07:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345533 -2.797258)'), GeomFromEWKT('SRID=4674;POINT (-40.345652 -2.797381)'))) / (select extract(epoch from '2026-06-16 07:14:02'::timestamp) - extract(epoch from '2026-06-16 07:13: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'), 46723, 'SRID=4674;POINT (-40.345776 -2.797493)', '2026-06-16 07:14:10', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345652 -2.797381)'), GeomFromEWKT('SRID=4674;POINT (-40.345776 -2.797493)'))) / (select extract(epoch from '2026-06-16 07:14:10'::timestamp) - extract(epoch from '2026-06-16 07:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345652 -2.797381)'), GeomFromEWKT('SRID=4674;POINT (-40.345776 -2.797493)'))) / (select extract(epoch from '2026-06-16 07:14:10'::timestamp) - extract(epoch from '2026-06-16 07:14: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'), 46723, 'SRID=4674;POINT (-40.345862 -2.79762)', '2026-06-16 07:14:17', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345776 -2.797493)'), GeomFromEWKT('SRID=4674;POINT (-40.345862 -2.79762)'))) / (select extract(epoch from '2026-06-16 07:14:17'::timestamp) - extract(epoch from '2026-06-16 07:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345776 -2.797493)'), GeomFromEWKT('SRID=4674;POINT (-40.345862 -2.79762)'))) / (select extract(epoch from '2026-06-16 07:14:17'::timestamp) - extract(epoch from '2026-06-16 07:14: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'), 46723, 'SRID=4674;POINT (-40.345971 -2.797756)', '2026-06-16 07:14:26', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345862 -2.79762)'), GeomFromEWKT('SRID=4674;POINT (-40.345971 -2.797756)'))) / (select extract(epoch from '2026-06-16 07:14:26'::timestamp) - extract(epoch from '2026-06-16 07:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345862 -2.79762)'), GeomFromEWKT('SRID=4674;POINT (-40.345971 -2.797756)'))) / (select extract(epoch from '2026-06-16 07:14:26'::timestamp) - extract(epoch from '2026-06-16 07:14: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'), 46723, 'SRID=4674;POINT (-40.346055 -2.79785)', '2026-06-16 07:14:33', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345971 -2.797756)'), GeomFromEWKT('SRID=4674;POINT (-40.346055 -2.79785)'))) / (select extract(epoch from '2026-06-16 07:14:33'::timestamp) - extract(epoch from '2026-06-16 07:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345971 -2.797756)'), GeomFromEWKT('SRID=4674;POINT (-40.346055 -2.79785)'))) / (select extract(epoch from '2026-06-16 07:14:33'::timestamp) - extract(epoch from '2026-06-16 07:14: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'), 46723, 'SRID=4674;POINT (-40.346126 -2.797948)', '2026-06-16 07:14:39', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346055 -2.79785)'), GeomFromEWKT('SRID=4674;POINT (-40.346126 -2.797948)'))) / (select extract(epoch from '2026-06-16 07:14:39'::timestamp) - extract(epoch from '2026-06-16 07:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346055 -2.79785)'), GeomFromEWKT('SRID=4674;POINT (-40.346126 -2.797948)'))) / (select extract(epoch from '2026-06-16 07:14:39'::timestamp) - extract(epoch from '2026-06-16 07:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.346183 -2.79805)', '2026-06-16 07:14:45', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346126 -2.797948)'), GeomFromEWKT('SRID=4674;POINT (-40.346183 -2.79805)'))) / (select extract(epoch from '2026-06-16 07:14:45'::timestamp) - extract(epoch from '2026-06-16 07:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346126 -2.797948)'), GeomFromEWKT('SRID=4674;POINT (-40.346183 -2.79805)'))) / (select extract(epoch from '2026-06-16 07:14:45'::timestamp) - extract(epoch from '2026-06-16 07:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.34625 -2.798132)', '2026-06-16 07:14:50', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346183 -2.79805)'), GeomFromEWKT('SRID=4674;POINT (-40.34625 -2.798132)'))) / (select extract(epoch from '2026-06-16 07:14:50'::timestamp) - extract(epoch from '2026-06-16 07:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346183 -2.79805)'), GeomFromEWKT('SRID=4674;POINT (-40.34625 -2.798132)'))) / (select extract(epoch from '2026-06-16 07:14:50'::timestamp) - extract(epoch from '2026-06-16 07:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.346369 -2.798269)', '2026-06-16 07:14:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34625 -2.798132)'), GeomFromEWKT('SRID=4674;POINT (-40.346369 -2.798269)'))) / (select extract(epoch from '2026-06-16 07:14:59'::timestamp) - extract(epoch from '2026-06-16 07:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34625 -2.798132)'), GeomFromEWKT('SRID=4674;POINT (-40.346369 -2.798269)'))) / (select extract(epoch from '2026-06-16 07:14:59'::timestamp) - extract(epoch from '2026-06-16 07:14: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'), 46723, 'SRID=4674;POINT (-40.346467 -2.798362)', '2026-06-16 07:15:06', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346369 -2.798269)'), GeomFromEWKT('SRID=4674;POINT (-40.346467 -2.798362)'))) / (select extract(epoch from '2026-06-16 07:15:06'::timestamp) - extract(epoch from '2026-06-16 07:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346369 -2.798269)'), GeomFromEWKT('SRID=4674;POINT (-40.346467 -2.798362)'))) / (select extract(epoch from '2026-06-16 07:15:06'::timestamp) - extract(epoch from '2026-06-16 07:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.346596 -2.798453)', '2026-06-16 07:15:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346467 -2.798362)'), GeomFromEWKT('SRID=4674;POINT (-40.346596 -2.798453)'))) / (select extract(epoch from '2026-06-16 07:15:13'::timestamp) - extract(epoch from '2026-06-16 07:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346467 -2.798362)'), GeomFromEWKT('SRID=4674;POINT (-40.346596 -2.798453)'))) / (select extract(epoch from '2026-06-16 07:15:13'::timestamp) - extract(epoch from '2026-06-16 07:15:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.346756 -2.79853)', '2026-06-16 07:15:22', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346596 -2.798453)'), GeomFromEWKT('SRID=4674;POINT (-40.346756 -2.79853)'))) / (select extract(epoch from '2026-06-16 07:15:22'::timestamp) - extract(epoch from '2026-06-16 07:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346596 -2.798453)'), GeomFromEWKT('SRID=4674;POINT (-40.346756 -2.79853)'))) / (select extract(epoch from '2026-06-16 07:15:22'::timestamp) - extract(epoch from '2026-06-16 07:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.346855 -2.798652)', '2026-06-16 07:15:30', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346756 -2.79853)'), GeomFromEWKT('SRID=4674;POINT (-40.346855 -2.798652)'))) / (select extract(epoch from '2026-06-16 07:15:30'::timestamp) - extract(epoch from '2026-06-16 07:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346756 -2.79853)'), GeomFromEWKT('SRID=4674;POINT (-40.346855 -2.798652)'))) / (select extract(epoch from '2026-06-16 07:15:30'::timestamp) - extract(epoch from '2026-06-16 07:15: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'), 46723, 'SRID=4674;POINT (-40.34693 -2.798764)', '2026-06-16 07:15:37', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346855 -2.798652)'), GeomFromEWKT('SRID=4674;POINT (-40.34693 -2.798764)'))) / (select extract(epoch from '2026-06-16 07:15:37'::timestamp) - extract(epoch from '2026-06-16 07:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346855 -2.798652)'), GeomFromEWKT('SRID=4674;POINT (-40.34693 -2.798764)'))) / (select extract(epoch from '2026-06-16 07:15:37'::timestamp) - extract(epoch from '2026-06-16 07:15: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'), 46723, 'SRID=4674;POINT (-40.347021 -2.79888)', '2026-06-16 07:15:44', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34693 -2.798764)'), GeomFromEWKT('SRID=4674;POINT (-40.347021 -2.79888)'))) / (select extract(epoch from '2026-06-16 07:15:44'::timestamp) - extract(epoch from '2026-06-16 07:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34693 -2.798764)'), GeomFromEWKT('SRID=4674;POINT (-40.347021 -2.79888)'))) / (select extract(epoch from '2026-06-16 07:15:44'::timestamp) - extract(epoch from '2026-06-16 07:15: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'), 46723, 'SRID=4674;POINT (-40.347109 -2.79898)', '2026-06-16 07:15:51', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347021 -2.79888)'), GeomFromEWKT('SRID=4674;POINT (-40.347109 -2.79898)'))) / (select extract(epoch from '2026-06-16 07:15:51'::timestamp) - extract(epoch from '2026-06-16 07:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347021 -2.79888)'), GeomFromEWKT('SRID=4674;POINT (-40.347109 -2.79898)'))) / (select extract(epoch from '2026-06-16 07:15:51'::timestamp) - extract(epoch from '2026-06-16 07:15: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'), 46723, 'SRID=4674;POINT (-40.347197 -2.799104)', '2026-06-16 07:15:58', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347109 -2.79898)'), GeomFromEWKT('SRID=4674;POINT (-40.347197 -2.799104)'))) / (select extract(epoch from '2026-06-16 07:15:58'::timestamp) - extract(epoch from '2026-06-16 07:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347109 -2.79898)'), GeomFromEWKT('SRID=4674;POINT (-40.347197 -2.799104)'))) / (select extract(epoch from '2026-06-16 07:15:58'::timestamp) - extract(epoch from '2026-06-16 07:15:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.34728 -2.799227)', '2026-06-16 07:16:05', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347197 -2.799104)'), GeomFromEWKT('SRID=4674;POINT (-40.34728 -2.799227)'))) / (select extract(epoch from '2026-06-16 07:16:05'::timestamp) - extract(epoch from '2026-06-16 07:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347197 -2.799104)'), GeomFromEWKT('SRID=4674;POINT (-40.34728 -2.799227)'))) / (select extract(epoch from '2026-06-16 07:16:05'::timestamp) - extract(epoch from '2026-06-16 07:15:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.34736 -2.79931)', '2026-06-16 07:16:11', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34728 -2.799227)'), GeomFromEWKT('SRID=4674;POINT (-40.34736 -2.79931)'))) / (select extract(epoch from '2026-06-16 07:16:11'::timestamp) - extract(epoch from '2026-06-16 07:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34728 -2.799227)'), GeomFromEWKT('SRID=4674;POINT (-40.34736 -2.79931)'))) / (select extract(epoch from '2026-06-16 07:16:11'::timestamp) - extract(epoch from '2026-06-16 07:16: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'), 46723, 'SRID=4674;POINT (-40.347459 -2.799425)', '2026-06-16 07:16:19', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34736 -2.79931)'), GeomFromEWKT('SRID=4674;POINT (-40.347459 -2.799425)'))) / (select extract(epoch from '2026-06-16 07:16:19'::timestamp) - extract(epoch from '2026-06-16 07:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34736 -2.79931)'), GeomFromEWKT('SRID=4674;POINT (-40.347459 -2.799425)'))) / (select extract(epoch from '2026-06-16 07:16:19'::timestamp) - extract(epoch from '2026-06-16 07:16: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'), 46723, 'SRID=4674;POINT (-40.347547 -2.799543)', '2026-06-16 07:16:26', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347459 -2.799425)'), GeomFromEWKT('SRID=4674;POINT (-40.347547 -2.799543)'))) / (select extract(epoch from '2026-06-16 07:16:26'::timestamp) - extract(epoch from '2026-06-16 07:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347459 -2.799425)'), GeomFromEWKT('SRID=4674;POINT (-40.347547 -2.799543)'))) / (select extract(epoch from '2026-06-16 07:16:26'::timestamp) - extract(epoch from '2026-06-16 07:16: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'), 46723, 'SRID=4674;POINT (-40.347647 -2.79964)', '2026-06-16 07:16:33', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347547 -2.799543)'), GeomFromEWKT('SRID=4674;POINT (-40.347647 -2.79964)'))) / (select extract(epoch from '2026-06-16 07:16:33'::timestamp) - extract(epoch from '2026-06-16 07:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347547 -2.799543)'), GeomFromEWKT('SRID=4674;POINT (-40.347647 -2.79964)'))) / (select extract(epoch from '2026-06-16 07:16:33'::timestamp) - extract(epoch from '2026-06-16 07:16: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'), 46723, 'SRID=4674;POINT (-40.347754 -2.799757)', '2026-06-16 07:16:41', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347647 -2.79964)'), GeomFromEWKT('SRID=4674;POINT (-40.347754 -2.799757)'))) / (select extract(epoch from '2026-06-16 07:16:41'::timestamp) - extract(epoch from '2026-06-16 07:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347647 -2.79964)'), GeomFromEWKT('SRID=4674;POINT (-40.347754 -2.799757)'))) / (select extract(epoch from '2026-06-16 07:16:41'::timestamp) - extract(epoch from '2026-06-16 07:16:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.34785 -2.799886)', '2026-06-16 07:16:49', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347754 -2.799757)'), GeomFromEWKT('SRID=4674;POINT (-40.34785 -2.799886)'))) / (select extract(epoch from '2026-06-16 07:16:49'::timestamp) - extract(epoch from '2026-06-16 07:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347754 -2.799757)'), GeomFromEWKT('SRID=4674;POINT (-40.34785 -2.799886)'))) / (select extract(epoch from '2026-06-16 07:16:49'::timestamp) - extract(epoch from '2026-06-16 07:16: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'), 46723, 'SRID=4674;POINT (-40.347959 -2.800007)', '2026-06-16 07:16:57', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34785 -2.799886)'), GeomFromEWKT('SRID=4674;POINT (-40.347959 -2.800007)'))) / (select extract(epoch from '2026-06-16 07:16:57'::timestamp) - extract(epoch from '2026-06-16 07:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34785 -2.799886)'), GeomFromEWKT('SRID=4674;POINT (-40.347959 -2.800007)'))) / (select extract(epoch from '2026-06-16 07:16:57'::timestamp) - extract(epoch from '2026-06-16 07:16: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'), 46723, 'SRID=4674;POINT (-40.348067 -2.800125)', '2026-06-16 07:17:05', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347959 -2.800007)'), GeomFromEWKT('SRID=4674;POINT (-40.348067 -2.800125)'))) / (select extract(epoch from '2026-06-16 07:17:05'::timestamp) - extract(epoch from '2026-06-16 07:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347959 -2.800007)'), GeomFromEWKT('SRID=4674;POINT (-40.348067 -2.800125)'))) / (select extract(epoch from '2026-06-16 07:17:05'::timestamp) - extract(epoch from '2026-06-16 07:16:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.348167 -2.800249)', '2026-06-16 07:17:13', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348067 -2.800125)'), GeomFromEWKT('SRID=4674;POINT (-40.348167 -2.800249)'))) / (select extract(epoch from '2026-06-16 07:17:13'::timestamp) - extract(epoch from '2026-06-16 07:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348067 -2.800125)'), GeomFromEWKT('SRID=4674;POINT (-40.348167 -2.800249)'))) / (select extract(epoch from '2026-06-16 07:17:13'::timestamp) - extract(epoch from '2026-06-16 07:17: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'), 46723, 'SRID=4674;POINT (-40.348251 -2.800374)', '2026-06-16 07:17:20', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348167 -2.800249)'), GeomFromEWKT('SRID=4674;POINT (-40.348251 -2.800374)'))) / (select extract(epoch from '2026-06-16 07:17:20'::timestamp) - extract(epoch from '2026-06-16 07:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348167 -2.800249)'), GeomFromEWKT('SRID=4674;POINT (-40.348251 -2.800374)'))) / (select extract(epoch from '2026-06-16 07:17:20'::timestamp) - extract(epoch from '2026-06-16 07:17: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'), 46723, 'SRID=4674;POINT (-40.348299 -2.800484)', '2026-06-16 07:17:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348251 -2.800374)'), GeomFromEWKT('SRID=4674;POINT (-40.348299 -2.800484)'))) / (select extract(epoch from '2026-06-16 07:17:26'::timestamp) - extract(epoch from '2026-06-16 07:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348251 -2.800374)'), GeomFromEWKT('SRID=4674;POINT (-40.348299 -2.800484)'))) / (select extract(epoch from '2026-06-16 07:17:26'::timestamp) - extract(epoch from '2026-06-16 07:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.348341 -2.800593)', '2026-06-16 07:17:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348299 -2.800484)'), GeomFromEWKT('SRID=4674;POINT (-40.348341 -2.800593)'))) / (select extract(epoch from '2026-06-16 07:17:32'::timestamp) - extract(epoch from '2026-06-16 07:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348299 -2.800484)'), GeomFromEWKT('SRID=4674;POINT (-40.348341 -2.800593)'))) / (select extract(epoch from '2026-06-16 07:17:32'::timestamp) - extract(epoch from '2026-06-16 07:17: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'), 46723, 'SRID=4674;POINT (-40.348446 -2.800738)', '2026-06-16 07:17:41', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348341 -2.800593)'), GeomFromEWKT('SRID=4674;POINT (-40.348446 -2.800738)'))) / (select extract(epoch from '2026-06-16 07:17:41'::timestamp) - extract(epoch from '2026-06-16 07:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348341 -2.800593)'), GeomFromEWKT('SRID=4674;POINT (-40.348446 -2.800738)'))) / (select extract(epoch from '2026-06-16 07:17:41'::timestamp) - extract(epoch from '2026-06-16 07:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.348559 -2.80085)', '2026-06-16 07:17:49', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348446 -2.800738)'), GeomFromEWKT('SRID=4674;POINT (-40.348559 -2.80085)'))) / (select extract(epoch from '2026-06-16 07:17:49'::timestamp) - extract(epoch from '2026-06-16 07:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348446 -2.800738)'), GeomFromEWKT('SRID=4674;POINT (-40.348559 -2.80085)'))) / (select extract(epoch from '2026-06-16 07:17:49'::timestamp) - extract(epoch from '2026-06-16 07:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.348671 -2.800984)', '2026-06-16 07:17:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348559 -2.80085)'), GeomFromEWKT('SRID=4674;POINT (-40.348671 -2.800984)'))) / (select extract(epoch from '2026-06-16 07:17:58'::timestamp) - extract(epoch from '2026-06-16 07:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348559 -2.80085)'), GeomFromEWKT('SRID=4674;POINT (-40.348671 -2.800984)'))) / (select extract(epoch from '2026-06-16 07:17:58'::timestamp) - extract(epoch from '2026-06-16 07:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.348796 -2.801082)', '2026-06-16 07:18:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348671 -2.800984)'), GeomFromEWKT('SRID=4674;POINT (-40.348796 -2.801082)'))) / (select extract(epoch from '2026-06-16 07:18:06'::timestamp) - extract(epoch from '2026-06-16 07:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348671 -2.800984)'), GeomFromEWKT('SRID=4674;POINT (-40.348796 -2.801082)'))) / (select extract(epoch from '2026-06-16 07:18:06'::timestamp) - extract(epoch from '2026-06-16 07:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.348949 -2.801159)', '2026-06-16 07:18:14', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348796 -2.801082)'), GeomFromEWKT('SRID=4674;POINT (-40.348949 -2.801159)'))) / (select extract(epoch from '2026-06-16 07:18:14'::timestamp) - extract(epoch from '2026-06-16 07:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348796 -2.801082)'), GeomFromEWKT('SRID=4674;POINT (-40.348949 -2.801159)'))) / (select extract(epoch from '2026-06-16 07:18:14'::timestamp) - extract(epoch from '2026-06-16 07:18: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'), 46723, 'SRID=4674;POINT (-40.349103 -2.801243)', '2026-06-16 07:18:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348949 -2.801159)'), GeomFromEWKT('SRID=4674;POINT (-40.349103 -2.801243)'))) / (select extract(epoch from '2026-06-16 07:18:22'::timestamp) - extract(epoch from '2026-06-16 07:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348949 -2.801159)'), GeomFromEWKT('SRID=4674;POINT (-40.349103 -2.801243)'))) / (select extract(epoch from '2026-06-16 07:18:22'::timestamp) - extract(epoch from '2026-06-16 07:18: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'), 46723, 'SRID=4674;POINT (-40.349211 -2.80128)', '2026-06-16 07:18:28', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349103 -2.801243)'), GeomFromEWKT('SRID=4674;POINT (-40.349211 -2.80128)'))) / (select extract(epoch from '2026-06-16 07:18:28'::timestamp) - extract(epoch from '2026-06-16 07:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349103 -2.801243)'), GeomFromEWKT('SRID=4674;POINT (-40.349211 -2.80128)'))) / (select extract(epoch from '2026-06-16 07:18:28'::timestamp) - extract(epoch from '2026-06-16 07:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.349393 -2.801313)', '2026-06-16 07:18:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349211 -2.80128)'), GeomFromEWKT('SRID=4674;POINT (-40.349393 -2.801313)'))) / (select extract(epoch from '2026-06-16 07:18:37'::timestamp) - extract(epoch from '2026-06-16 07:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349211 -2.80128)'), GeomFromEWKT('SRID=4674;POINT (-40.349393 -2.801313)'))) / (select extract(epoch from '2026-06-16 07:18:37'::timestamp) - extract(epoch from '2026-06-16 07:18:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.349573 -2.801307)', '2026-06-16 07:18:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349393 -2.801313)'), GeomFromEWKT('SRID=4674;POINT (-40.349573 -2.801307)'))) / (select extract(epoch from '2026-06-16 07:18:46'::timestamp) - extract(epoch from '2026-06-16 07:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349393 -2.801313)'), GeomFromEWKT('SRID=4674;POINT (-40.349573 -2.801307)'))) / (select extract(epoch from '2026-06-16 07:18:46'::timestamp) - extract(epoch from '2026-06-16 07:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.349732 -2.801234)', '2026-06-16 07:18:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349573 -2.801307)'), GeomFromEWKT('SRID=4674;POINT (-40.349732 -2.801234)'))) / (select extract(epoch from '2026-06-16 07:18:54'::timestamp) - extract(epoch from '2026-06-16 07:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349573 -2.801307)'), GeomFromEWKT('SRID=4674;POINT (-40.349732 -2.801234)'))) / (select extract(epoch from '2026-06-16 07:18:54'::timestamp) - extract(epoch from '2026-06-16 07:18: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'), 46723, 'SRID=4674;POINT (-40.34984 -2.801183)', '2026-06-16 07:19:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349732 -2.801234)'), GeomFromEWKT('SRID=4674;POINT (-40.34984 -2.801183)'))) / (select extract(epoch from '2026-06-16 07:19:00'::timestamp) - extract(epoch from '2026-06-16 07:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349732 -2.801234)'), GeomFromEWKT('SRID=4674;POINT (-40.34984 -2.801183)'))) / (select extract(epoch from '2026-06-16 07:19:00'::timestamp) - extract(epoch from '2026-06-16 07:18: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'), 46723, 'SRID=4674;POINT (-40.350002 -2.801067)', '2026-06-16 07:19:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34984 -2.801183)'), GeomFromEWKT('SRID=4674;POINT (-40.350002 -2.801067)'))) / (select extract(epoch from '2026-06-16 07:19:09'::timestamp) - extract(epoch from '2026-06-16 07:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34984 -2.801183)'), GeomFromEWKT('SRID=4674;POINT (-40.350002 -2.801067)'))) / (select extract(epoch from '2026-06-16 07:19:09'::timestamp) - extract(epoch from '2026-06-16 07:19: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'), 46723, 'SRID=4674;POINT (-40.350124 -2.800931)', '2026-06-16 07:19:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350002 -2.801067)'), GeomFromEWKT('SRID=4674;POINT (-40.350124 -2.800931)'))) / (select extract(epoch from '2026-06-16 07:19:17'::timestamp) - extract(epoch from '2026-06-16 07:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350002 -2.801067)'), GeomFromEWKT('SRID=4674;POINT (-40.350124 -2.800931)'))) / (select extract(epoch from '2026-06-16 07:19:17'::timestamp) - extract(epoch from '2026-06-16 07:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.350245 -2.80078)', '2026-06-16 07:19:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350124 -2.800931)'), GeomFromEWKT('SRID=4674;POINT (-40.350245 -2.80078)'))) / (select extract(epoch from '2026-06-16 07:19:26'::timestamp) - extract(epoch from '2026-06-16 07:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350124 -2.800931)'), GeomFromEWKT('SRID=4674;POINT (-40.350245 -2.80078)'))) / (select extract(epoch from '2026-06-16 07:19:26'::timestamp) - extract(epoch from '2026-06-16 07:19: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'), 46723, 'SRID=4674;POINT (-40.350374 -2.800659)', '2026-06-16 07:19:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350245 -2.80078)'), GeomFromEWKT('SRID=4674;POINT (-40.350374 -2.800659)'))) / (select extract(epoch from '2026-06-16 07:19:34'::timestamp) - extract(epoch from '2026-06-16 07:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350245 -2.80078)'), GeomFromEWKT('SRID=4674;POINT (-40.350374 -2.800659)'))) / (select extract(epoch from '2026-06-16 07:19:34'::timestamp) - extract(epoch from '2026-06-16 07:19: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'), 46723, 'SRID=4674;POINT (-40.35048 -2.800563)', '2026-06-16 07:19:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350374 -2.800659)'), GeomFromEWKT('SRID=4674;POINT (-40.35048 -2.800563)'))) / (select extract(epoch from '2026-06-16 07:19:41'::timestamp) - extract(epoch from '2026-06-16 07:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350374 -2.800659)'), GeomFromEWKT('SRID=4674;POINT (-40.35048 -2.800563)'))) / (select extract(epoch from '2026-06-16 07:19:41'::timestamp) - extract(epoch from '2026-06-16 07:19: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'), 46723, 'SRID=4674;POINT (-40.350602 -2.800544)', '2026-06-16 07:19:48', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35048 -2.800563)'), GeomFromEWKT('SRID=4674;POINT (-40.350602 -2.800544)'))) / (select extract(epoch from '2026-06-16 07:19:48'::timestamp) - extract(epoch from '2026-06-16 07:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35048 -2.800563)'), GeomFromEWKT('SRID=4674;POINT (-40.350602 -2.800544)'))) / (select extract(epoch from '2026-06-16 07:19:48'::timestamp) - extract(epoch from '2026-06-16 07:19: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'), 46723, 'SRID=4674;POINT (-40.350721 -2.800618)', '2026-06-16 07:19:55', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350602 -2.800544)'), GeomFromEWKT('SRID=4674;POINT (-40.350721 -2.800618)'))) / (select extract(epoch from '2026-06-16 07:19:55'::timestamp) - extract(epoch from '2026-06-16 07:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350602 -2.800544)'), GeomFromEWKT('SRID=4674;POINT (-40.350721 -2.800618)'))) / (select extract(epoch from '2026-06-16 07:19:55'::timestamp) - extract(epoch from '2026-06-16 07:19: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'), 46723, 'SRID=4674;POINT (-40.350833 -2.80075)', '2026-06-16 07:20:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350721 -2.800618)'), GeomFromEWKT('SRID=4674;POINT (-40.350833 -2.80075)'))) / (select extract(epoch from '2026-06-16 07:20:04'::timestamp) - extract(epoch from '2026-06-16 07:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350721 -2.800618)'), GeomFromEWKT('SRID=4674;POINT (-40.350833 -2.80075)'))) / (select extract(epoch from '2026-06-16 07:20:04'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.35092 -2.80089)', '2026-06-16 07:20:12', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350833 -2.80075)'), GeomFromEWKT('SRID=4674;POINT (-40.35092 -2.80089)'))) / (select extract(epoch from '2026-06-16 07:20:12'::timestamp) - extract(epoch from '2026-06-16 07:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350833 -2.80075)'), GeomFromEWKT('SRID=4674;POINT (-40.35092 -2.80089)'))) / (select extract(epoch from '2026-06-16 07:20:12'::timestamp) - extract(epoch from '2026-06-16 07:20: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'), 46723, 'SRID=4674;POINT (-40.351009 -2.800988)', '2026-06-16 07:20:19', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35092 -2.80089)'), GeomFromEWKT('SRID=4674;POINT (-40.351009 -2.800988)'))) / (select extract(epoch from '2026-06-16 07:20:19'::timestamp) - extract(epoch from '2026-06-16 07:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35092 -2.80089)'), GeomFromEWKT('SRID=4674;POINT (-40.351009 -2.800988)'))) / (select extract(epoch from '2026-06-16 07:20:19'::timestamp) - extract(epoch from '2026-06-16 07:20:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.351079 -2.801094)', '2026-06-16 07:20:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351009 -2.800988)'), GeomFromEWKT('SRID=4674;POINT (-40.351079 -2.801094)'))) / (select extract(epoch from '2026-06-16 07:20:25'::timestamp) - extract(epoch from '2026-06-16 07:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351009 -2.800988)'), GeomFromEWKT('SRID=4674;POINT (-40.351079 -2.801094)'))) / (select extract(epoch from '2026-06-16 07:20:25'::timestamp) - extract(epoch from '2026-06-16 07:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.351135 -2.801222)', '2026-06-16 07:20:32', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351079 -2.801094)'), GeomFromEWKT('SRID=4674;POINT (-40.351135 -2.801222)'))) / (select extract(epoch from '2026-06-16 07:20:32'::timestamp) - extract(epoch from '2026-06-16 07:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351079 -2.801094)'), GeomFromEWKT('SRID=4674;POINT (-40.351135 -2.801222)'))) / (select extract(epoch from '2026-06-16 07:20:32'::timestamp) - extract(epoch from '2026-06-16 07:20: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'), 46723, 'SRID=4674;POINT (-40.351175 -2.801338)', '2026-06-16 07:20:38', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351135 -2.801222)'), GeomFromEWKT('SRID=4674;POINT (-40.351175 -2.801338)'))) / (select extract(epoch from '2026-06-16 07:20:38'::timestamp) - extract(epoch from '2026-06-16 07:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351135 -2.801222)'), GeomFromEWKT('SRID=4674;POINT (-40.351175 -2.801338)'))) / (select extract(epoch from '2026-06-16 07:20:38'::timestamp) - extract(epoch from '2026-06-16 07:20:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.351199 -2.801434)', '2026-06-16 07:20:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351175 -2.801338)'), GeomFromEWKT('SRID=4674;POINT (-40.351199 -2.801434)'))) / (select extract(epoch from '2026-06-16 07:20:43'::timestamp) - extract(epoch from '2026-06-16 07:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351175 -2.801338)'), GeomFromEWKT('SRID=4674;POINT (-40.351199 -2.801434)'))) / (select extract(epoch from '2026-06-16 07:20:43'::timestamp) - extract(epoch from '2026-06-16 07:20:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.351275 -2.80155)', '2026-06-16 07:20:50', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351199 -2.801434)'), GeomFromEWKT('SRID=4674;POINT (-40.351275 -2.80155)'))) / (select extract(epoch from '2026-06-16 07:20:50'::timestamp) - extract(epoch from '2026-06-16 07:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351199 -2.801434)'), GeomFromEWKT('SRID=4674;POINT (-40.351275 -2.80155)'))) / (select extract(epoch from '2026-06-16 07:20:50'::timestamp) - extract(epoch from '2026-06-16 07:20:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.35136 -2.801691)', '2026-06-16 07:20:58', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351275 -2.80155)'), GeomFromEWKT('SRID=4674;POINT (-40.35136 -2.801691)'))) / (select extract(epoch from '2026-06-16 07:20:58'::timestamp) - extract(epoch from '2026-06-16 07:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351275 -2.80155)'), GeomFromEWKT('SRID=4674;POINT (-40.35136 -2.801691)'))) / (select extract(epoch from '2026-06-16 07:20:58'::timestamp) - extract(epoch from '2026-06-16 07:20:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.351445 -2.801828)', '2026-06-16 07:21:06', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35136 -2.801691)'), GeomFromEWKT('SRID=4674;POINT (-40.351445 -2.801828)'))) / (select extract(epoch from '2026-06-16 07:21:06'::timestamp) - extract(epoch from '2026-06-16 07:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35136 -2.801691)'), GeomFromEWKT('SRID=4674;POINT (-40.351445 -2.801828)'))) / (select extract(epoch from '2026-06-16 07:21:06'::timestamp) - extract(epoch from '2026-06-16 07:20: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'), 46723, 'SRID=4674;POINT (-40.351511 -2.801934)', '2026-06-16 07:21:12', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351445 -2.801828)'), GeomFromEWKT('SRID=4674;POINT (-40.351511 -2.801934)'))) / (select extract(epoch from '2026-06-16 07:21:12'::timestamp) - extract(epoch from '2026-06-16 07:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351445 -2.801828)'), GeomFromEWKT('SRID=4674;POINT (-40.351511 -2.801934)'))) / (select extract(epoch from '2026-06-16 07:21:12'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.351615 -2.80205)', '2026-06-16 07:21:20', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351511 -2.801934)'), GeomFromEWKT('SRID=4674;POINT (-40.351615 -2.80205)'))) / (select extract(epoch from '2026-06-16 07:21:20'::timestamp) - extract(epoch from '2026-06-16 07:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351511 -2.801934)'), GeomFromEWKT('SRID=4674;POINT (-40.351615 -2.80205)'))) / (select extract(epoch from '2026-06-16 07:21:20'::timestamp) - extract(epoch from '2026-06-16 07:21: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'), 46723, 'SRID=4674;POINT (-40.351671 -2.802179)', '2026-06-16 07:21:27', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351615 -2.80205)'), GeomFromEWKT('SRID=4674;POINT (-40.351671 -2.802179)'))) / (select extract(epoch from '2026-06-16 07:21:27'::timestamp) - extract(epoch from '2026-06-16 07:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351615 -2.80205)'), GeomFromEWKT('SRID=4674;POINT (-40.351671 -2.802179)'))) / (select extract(epoch from '2026-06-16 07:21:27'::timestamp) - extract(epoch from '2026-06-16 07:21:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.35173 -2.802351)', '2026-06-16 07:21:36', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351671 -2.802179)'), GeomFromEWKT('SRID=4674;POINT (-40.35173 -2.802351)'))) / (select extract(epoch from '2026-06-16 07:21:36'::timestamp) - extract(epoch from '2026-06-16 07:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351671 -2.802179)'), GeomFromEWKT('SRID=4674;POINT (-40.35173 -2.802351)'))) / (select extract(epoch from '2026-06-16 07:21:36'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.351823 -2.802466)', '2026-06-16 07:21:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35173 -2.802351)'), GeomFromEWKT('SRID=4674;POINT (-40.351823 -2.802466)'))) / (select extract(epoch from '2026-06-16 07:21:43'::timestamp) - extract(epoch from '2026-06-16 07:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35173 -2.802351)'), GeomFromEWKT('SRID=4674;POINT (-40.351823 -2.802466)'))) / (select extract(epoch from '2026-06-16 07:21:43'::timestamp) - extract(epoch from '2026-06-16 07:21: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'), 46723, 'SRID=4674;POINT (-40.351907 -2.802574)', '2026-06-16 07:21:50', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351823 -2.802466)'), GeomFromEWKT('SRID=4674;POINT (-40.351907 -2.802574)'))) / (select extract(epoch from '2026-06-16 07:21:50'::timestamp) - extract(epoch from '2026-06-16 07:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351823 -2.802466)'), GeomFromEWKT('SRID=4674;POINT (-40.351907 -2.802574)'))) / (select extract(epoch from '2026-06-16 07:21:50'::timestamp) - extract(epoch from '2026-06-16 07:21:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.351968 -2.802694)', '2026-06-16 07:21:57', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351907 -2.802574)'), GeomFromEWKT('SRID=4674;POINT (-40.351968 -2.802694)'))) / (select extract(epoch from '2026-06-16 07:21:57'::timestamp) - extract(epoch from '2026-06-16 07:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351907 -2.802574)'), GeomFromEWKT('SRID=4674;POINT (-40.351968 -2.802694)'))) / (select extract(epoch from '2026-06-16 07:21:57'::timestamp) - extract(epoch from '2026-06-16 07:21: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'), 46723, 'SRID=4674;POINT (-40.352061 -2.802818)', '2026-06-16 07:22:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351968 -2.802694)'), GeomFromEWKT('SRID=4674;POINT (-40.352061 -2.802818)'))) / (select extract(epoch from '2026-06-16 07:22:05'::timestamp) - extract(epoch from '2026-06-16 07:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351968 -2.802694)'), GeomFromEWKT('SRID=4674;POINT (-40.352061 -2.802818)'))) / (select extract(epoch from '2026-06-16 07:22:05'::timestamp) - extract(epoch from '2026-06-16 07:21: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'), 46723, 'SRID=4674;POINT (-40.352151 -2.802919)', '2026-06-16 07:22:12', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352061 -2.802818)'), GeomFromEWKT('SRID=4674;POINT (-40.352151 -2.802919)'))) / (select extract(epoch from '2026-06-16 07:22:12'::timestamp) - extract(epoch from '2026-06-16 07:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352061 -2.802818)'), GeomFromEWKT('SRID=4674;POINT (-40.352151 -2.802919)'))) / (select extract(epoch from '2026-06-16 07:22:12'::timestamp) - extract(epoch from '2026-06-16 07:22: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'), 46723, 'SRID=4674;POINT (-40.352249 -2.803013)', '2026-06-16 07:22:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352151 -2.802919)'), GeomFromEWKT('SRID=4674;POINT (-40.352249 -2.803013)'))) / (select extract(epoch from '2026-06-16 07:22:19'::timestamp) - extract(epoch from '2026-06-16 07:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352151 -2.802919)'), GeomFromEWKT('SRID=4674;POINT (-40.352249 -2.803013)'))) / (select extract(epoch from '2026-06-16 07:22:19'::timestamp) - extract(epoch from '2026-06-16 07:22:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.352377 -2.803069)', '2026-06-16 07:22:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352249 -2.803013)'), GeomFromEWKT('SRID=4674;POINT (-40.352377 -2.803069)'))) / (select extract(epoch from '2026-06-16 07:22:26'::timestamp) - extract(epoch from '2026-06-16 07:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352249 -2.803013)'), GeomFromEWKT('SRID=4674;POINT (-40.352377 -2.803069)'))) / (select extract(epoch from '2026-06-16 07:22:26'::timestamp) - extract(epoch from '2026-06-16 07:22: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'), 46723, 'SRID=4674;POINT (-40.352456 -2.80317)', '2026-06-16 07:22:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352377 -2.803069)'), GeomFromEWKT('SRID=4674;POINT (-40.352456 -2.80317)'))) / (select extract(epoch from '2026-06-16 07:22:32'::timestamp) - extract(epoch from '2026-06-16 07:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352377 -2.803069)'), GeomFromEWKT('SRID=4674;POINT (-40.352456 -2.80317)'))) / (select extract(epoch from '2026-06-16 07:22:32'::timestamp) - extract(epoch from '2026-06-16 07:22:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.352517 -2.803307)', '2026-06-16 07:22:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352456 -2.80317)'), GeomFromEWKT('SRID=4674;POINT (-40.352517 -2.803307)'))) / (select extract(epoch from '2026-06-16 07:22:39'::timestamp) - extract(epoch from '2026-06-16 07:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352456 -2.80317)'), GeomFromEWKT('SRID=4674;POINT (-40.352517 -2.803307)'))) / (select extract(epoch from '2026-06-16 07:22:39'::timestamp) - extract(epoch from '2026-06-16 07:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.352548 -2.803457)', '2026-06-16 07:22:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352517 -2.803307)'), GeomFromEWKT('SRID=4674;POINT (-40.352548 -2.803457)'))) / (select extract(epoch from '2026-06-16 07:22:47'::timestamp) - extract(epoch from '2026-06-16 07:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352517 -2.803307)'), GeomFromEWKT('SRID=4674;POINT (-40.352548 -2.803457)'))) / (select extract(epoch from '2026-06-16 07:22:47'::timestamp) - extract(epoch from '2026-06-16 07:22: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'), 46723, 'SRID=4674;POINT (-40.352569 -2.803602)', '2026-06-16 07:22:54', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352548 -2.803457)'), GeomFromEWKT('SRID=4674;POINT (-40.352569 -2.803602)'))) / (select extract(epoch from '2026-06-16 07:22:54'::timestamp) - extract(epoch from '2026-06-16 07:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352548 -2.803457)'), GeomFromEWKT('SRID=4674;POINT (-40.352569 -2.803602)'))) / (select extract(epoch from '2026-06-16 07:22:54'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.352592 -2.803762)', '2026-06-16 07:23:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352569 -2.803602)'), GeomFromEWKT('SRID=4674;POINT (-40.352592 -2.803762)'))) / (select extract(epoch from '2026-06-16 07:23:02'::timestamp) - extract(epoch from '2026-06-16 07:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352569 -2.803602)'), GeomFromEWKT('SRID=4674;POINT (-40.352592 -2.803762)'))) / (select extract(epoch from '2026-06-16 07:23:02'::timestamp) - extract(epoch from '2026-06-16 07:22: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'), 46723, 'SRID=4674;POINT (-40.352629 -2.803919)', '2026-06-16 07:23:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352592 -2.803762)'), GeomFromEWKT('SRID=4674;POINT (-40.352629 -2.803919)'))) / (select extract(epoch from '2026-06-16 07:23:10'::timestamp) - extract(epoch from '2026-06-16 07:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352592 -2.803762)'), GeomFromEWKT('SRID=4674;POINT (-40.352629 -2.803919)'))) / (select extract(epoch from '2026-06-16 07:23:10'::timestamp) - extract(epoch from '2026-06-16 07:23: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'), 46723, 'SRID=4674;POINT (-40.352667 -2.804073)', '2026-06-16 07:23:18', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352629 -2.803919)'), GeomFromEWKT('SRID=4674;POINT (-40.352667 -2.804073)'))) / (select extract(epoch from '2026-06-16 07:23:18'::timestamp) - extract(epoch from '2026-06-16 07:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352629 -2.803919)'), GeomFromEWKT('SRID=4674;POINT (-40.352667 -2.804073)'))) / (select extract(epoch from '2026-06-16 07:23:18'::timestamp) - extract(epoch from '2026-06-16 07:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.35268 -2.804209)', '2026-06-16 07:23:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352667 -2.804073)'), GeomFromEWKT('SRID=4674;POINT (-40.35268 -2.804209)'))) / (select extract(epoch from '2026-06-16 07:23:25'::timestamp) - extract(epoch from '2026-06-16 07:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352667 -2.804073)'), GeomFromEWKT('SRID=4674;POINT (-40.35268 -2.804209)'))) / (select extract(epoch from '2026-06-16 07:23:25'::timestamp) - extract(epoch from '2026-06-16 07:23:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.352727 -2.804375)', '2026-06-16 07:23:33', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35268 -2.804209)'), GeomFromEWKT('SRID=4674;POINT (-40.352727 -2.804375)'))) / (select extract(epoch from '2026-06-16 07:23:33'::timestamp) - extract(epoch from '2026-06-16 07:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35268 -2.804209)'), GeomFromEWKT('SRID=4674;POINT (-40.352727 -2.804375)'))) / (select extract(epoch from '2026-06-16 07:23:33'::timestamp) - extract(epoch from '2026-06-16 07:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.352757 -2.804502)', '2026-06-16 07:23:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352727 -2.804375)'), GeomFromEWKT('SRID=4674;POINT (-40.352757 -2.804502)'))) / (select extract(epoch from '2026-06-16 07:23:40'::timestamp) - extract(epoch from '2026-06-16 07:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352727 -2.804375)'), GeomFromEWKT('SRID=4674;POINT (-40.352757 -2.804502)'))) / (select extract(epoch from '2026-06-16 07:23:40'::timestamp) - extract(epoch from '2026-06-16 07:23: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'), 46723, 'SRID=4674;POINT (-40.352796 -2.804657)', '2026-06-16 07:23:47', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352757 -2.804502)'), GeomFromEWKT('SRID=4674;POINT (-40.352796 -2.804657)'))) / (select extract(epoch from '2026-06-16 07:23:47'::timestamp) - extract(epoch from '2026-06-16 07:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352757 -2.804502)'), GeomFromEWKT('SRID=4674;POINT (-40.352796 -2.804657)'))) / (select extract(epoch from '2026-06-16 07:23:47'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.352838 -2.804775)', '2026-06-16 07:23:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352796 -2.804657)'), GeomFromEWKT('SRID=4674;POINT (-40.352838 -2.804775)'))) / (select extract(epoch from '2026-06-16 07:23:54'::timestamp) - extract(epoch from '2026-06-16 07:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352796 -2.804657)'), GeomFromEWKT('SRID=4674;POINT (-40.352838 -2.804775)'))) / (select extract(epoch from '2026-06-16 07:23:54'::timestamp) - extract(epoch from '2026-06-16 07:23:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46723, 'SRID=4674;POINT (-40.352849 -2.804954)', '2026-06-16 07:24:02', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352838 -2.804775)'), GeomFromEWKT('SRID=4674;POINT (-40.352849 -2.804954)'))) / (select extract(epoch from '2026-06-16 07:24:02'::timestamp) - extract(epoch from '2026-06-16 07:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352838 -2.804775)'), GeomFromEWKT('SRID=4674;POINT (-40.352849 -2.804954)'))) / (select extract(epoch from '2026-06-16 07:24:02'::timestamp) - extract(epoch from '2026-06-16 07: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'), 46723, 'SRID=4674;POINT (-40.352882 -2.805095)', '2026-06-16 07:24:10', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352849 -2.804954)'), GeomFromEWKT('SRID=4674;POINT (-40.352882 -2.805095)'))) / (select extract(epoch from '2026-06-16 07:24:10'::timestamp) - extract(epoch from '2026-06-16 07:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352849 -2.804954)'), GeomFromEWKT('SRID=4674;POINT (-40.352882 -2.805095)'))) / (select extract(epoch from '2026-06-16 07:24:10'::timestamp) - extract(epoch from '2026-06-16 07:24:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
