 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568621 -3.27301)', '2026-05-31 14:17:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568633 -3.272932)'), GeomFromEWKT('SRID=4674;POINT (-38.568621 -3.27301)'))) / (select extract(epoch from '2026-05-31 14:17:55'::timestamp) - extract(epoch from '2026-05-31 14:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568633 -3.272932)'), GeomFromEWKT('SRID=4674;POINT (-38.568621 -3.27301)'))) / (select extract(epoch from '2026-05-31 14:17:55'::timestamp) - extract(epoch from '2026-05-31 14:17: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'), 46535, 'SRID=4674;POINT (-38.568595 -3.273098)', '2026-05-31 14:18:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568621 -3.27301)'), GeomFromEWKT('SRID=4674;POINT (-38.568595 -3.273098)'))) / (select extract(epoch from '2026-05-31 14:18:03'::timestamp) - extract(epoch from '2026-05-31 14:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568621 -3.27301)'), GeomFromEWKT('SRID=4674;POINT (-38.568595 -3.273098)'))) / (select extract(epoch from '2026-05-31 14:18:03'::timestamp) - extract(epoch from '2026-05-31 14:17: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'), 46535, 'SRID=4674;POINT (-38.568564 -3.273162)', '2026-05-31 14:18:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568595 -3.273098)'), GeomFromEWKT('SRID=4674;POINT (-38.568564 -3.273162)'))) / (select extract(epoch from '2026-05-31 14:18:11'::timestamp) - extract(epoch from '2026-05-31 14:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568595 -3.273098)'), GeomFromEWKT('SRID=4674;POINT (-38.568564 -3.273162)'))) / (select extract(epoch from '2026-05-31 14:18:11'::timestamp) - extract(epoch from '2026-05-31 14:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568541 -3.273237)', '2026-05-31 14:18:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568564 -3.273162)'), GeomFromEWKT('SRID=4674;POINT (-38.568541 -3.273237)'))) / (select extract(epoch from '2026-05-31 14:18:18'::timestamp) - extract(epoch from '2026-05-31 14:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568564 -3.273162)'), GeomFromEWKT('SRID=4674;POINT (-38.568541 -3.273237)'))) / (select extract(epoch from '2026-05-31 14:18:18'::timestamp) - extract(epoch from '2026-05-31 14:18:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568529 -3.273259)', '2026-05-31 14:18:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568541 -3.273237)'), GeomFromEWKT('SRID=4674;POINT (-38.568529 -3.273259)'))) / (select extract(epoch from '2026-05-31 14:18:21'::timestamp) - extract(epoch from '2026-05-31 14:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568541 -3.273237)'), GeomFromEWKT('SRID=4674;POINT (-38.568529 -3.273259)'))) / (select extract(epoch from '2026-05-31 14:18:21'::timestamp) - extract(epoch from '2026-05-31 14:18:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568525 -3.273295)', '2026-05-31 14:18:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568529 -3.273259)'), GeomFromEWKT('SRID=4674;POINT (-38.568525 -3.273295)'))) / (select extract(epoch from '2026-05-31 14:18:24'::timestamp) - extract(epoch from '2026-05-31 14:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568529 -3.273259)'), GeomFromEWKT('SRID=4674;POINT (-38.568525 -3.273295)'))) / (select extract(epoch from '2026-05-31 14:18:24'::timestamp) - extract(epoch from '2026-05-31 14:18:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568514 -3.273343)', '2026-05-31 14:18:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568525 -3.273295)'), GeomFromEWKT('SRID=4674;POINT (-38.568514 -3.273343)'))) / (select extract(epoch from '2026-05-31 14:18:29'::timestamp) - extract(epoch from '2026-05-31 14:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568525 -3.273295)'), GeomFromEWKT('SRID=4674;POINT (-38.568514 -3.273343)'))) / (select extract(epoch from '2026-05-31 14:18:29'::timestamp) - extract(epoch from '2026-05-31 14:18:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568519 -3.273437)', '2026-05-31 14:18:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568514 -3.273343)'), GeomFromEWKT('SRID=4674;POINT (-38.568519 -3.273437)'))) / (select extract(epoch from '2026-05-31 14:18:38'::timestamp) - extract(epoch from '2026-05-31 14:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568514 -3.273343)'), GeomFromEWKT('SRID=4674;POINT (-38.568519 -3.273437)'))) / (select extract(epoch from '2026-05-31 14:18:38'::timestamp) - extract(epoch from '2026-05-31 14:18: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'), 46535, 'SRID=4674;POINT (-38.56852 -3.27351)', '2026-05-31 14:18:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568519 -3.273437)'), GeomFromEWKT('SRID=4674;POINT (-38.56852 -3.27351)'))) / (select extract(epoch from '2026-05-31 14:18:45'::timestamp) - extract(epoch from '2026-05-31 14:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568519 -3.273437)'), GeomFromEWKT('SRID=4674;POINT (-38.56852 -3.27351)'))) / (select extract(epoch from '2026-05-31 14:18:45'::timestamp) - extract(epoch from '2026-05-31 14:18:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568525 -3.273585)', '2026-05-31 14:18:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56852 -3.27351)'), GeomFromEWKT('SRID=4674;POINT (-38.568525 -3.273585)'))) / (select extract(epoch from '2026-05-31 14:18:51'::timestamp) - extract(epoch from '2026-05-31 14:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56852 -3.27351)'), GeomFromEWKT('SRID=4674;POINT (-38.568525 -3.273585)'))) / (select extract(epoch from '2026-05-31 14:18:51'::timestamp) - extract(epoch from '2026-05-31 14:18:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568529 -3.273671)', '2026-05-31 14:19:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568525 -3.273585)'), GeomFromEWKT('SRID=4674;POINT (-38.568529 -3.273671)'))) / (select extract(epoch from '2026-05-31 14:19:00'::timestamp) - extract(epoch from '2026-05-31 14:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568525 -3.273585)'), GeomFromEWKT('SRID=4674;POINT (-38.568529 -3.273671)'))) / (select extract(epoch from '2026-05-31 14:19:00'::timestamp) - extract(epoch from '2026-05-31 14:18:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568529 -3.273701)', '2026-05-31 14:19:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568529 -3.273671)'), GeomFromEWKT('SRID=4674;POINT (-38.568529 -3.273701)'))) / (select extract(epoch from '2026-05-31 14:19:04'::timestamp) - extract(epoch from '2026-05-31 14:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568529 -3.273671)'), GeomFromEWKT('SRID=4674;POINT (-38.568529 -3.273701)'))) / (select extract(epoch from '2026-05-31 14:19:04'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568521 -3.273729)', '2026-05-31 14:19:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568529 -3.273701)'), GeomFromEWKT('SRID=4674;POINT (-38.568521 -3.273729)'))) / (select extract(epoch from '2026-05-31 14:19:07'::timestamp) - extract(epoch from '2026-05-31 14:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568529 -3.273701)'), GeomFromEWKT('SRID=4674;POINT (-38.568521 -3.273729)'))) / (select extract(epoch from '2026-05-31 14:19:07'::timestamp) - extract(epoch from '2026-05-31 14:19: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'), 46535, 'SRID=4674;POINT (-38.568509 -3.27379)', '2026-05-31 14:19:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568521 -3.273729)'), GeomFromEWKT('SRID=4674;POINT (-38.568509 -3.27379)'))) / (select extract(epoch from '2026-05-31 14:19:13'::timestamp) - extract(epoch from '2026-05-31 14:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568521 -3.273729)'), GeomFromEWKT('SRID=4674;POINT (-38.568509 -3.27379)'))) / (select extract(epoch from '2026-05-31 14:19:13'::timestamp) - extract(epoch from '2026-05-31 14:19: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'), 46535, 'SRID=4674;POINT (-38.568501 -3.273844)', '2026-05-31 14:19:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568509 -3.27379)'), GeomFromEWKT('SRID=4674;POINT (-38.568501 -3.273844)'))) / (select extract(epoch from '2026-05-31 14:19:18'::timestamp) - extract(epoch from '2026-05-31 14:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568509 -3.27379)'), GeomFromEWKT('SRID=4674;POINT (-38.568501 -3.273844)'))) / (select extract(epoch from '2026-05-31 14:19:18'::timestamp) - extract(epoch from '2026-05-31 14:19: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'), 46535, 'SRID=4674;POINT (-38.568503 -3.273862)', '2026-05-31 14:19:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568501 -3.273844)'), GeomFromEWKT('SRID=4674;POINT (-38.568503 -3.273862)'))) / (select extract(epoch from '2026-05-31 14:19:20'::timestamp) - extract(epoch from '2026-05-31 14:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568501 -3.273844)'), GeomFromEWKT('SRID=4674;POINT (-38.568503 -3.273862)'))) / (select extract(epoch from '2026-05-31 14:19:20'::timestamp) - extract(epoch from '2026-05-31 14:19: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'), 46535, 'SRID=4674;POINT (-38.568494 -3.273886)', '2026-05-31 14:19:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568503 -3.273862)'), GeomFromEWKT('SRID=4674;POINT (-38.568494 -3.273886)'))) / (select extract(epoch from '2026-05-31 14:19:23'::timestamp) - extract(epoch from '2026-05-31 14:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568503 -3.273862)'), GeomFromEWKT('SRID=4674;POINT (-38.568494 -3.273886)'))) / (select extract(epoch from '2026-05-31 14:19:23'::timestamp) - extract(epoch from '2026-05-31 14:19: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'), 46535, 'SRID=4674;POINT (-38.568492 -3.273909)', '2026-05-31 14:19:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568494 -3.273886)'), GeomFromEWKT('SRID=4674;POINT (-38.568492 -3.273909)'))) / (select extract(epoch from '2026-05-31 14:19:25'::timestamp) - extract(epoch from '2026-05-31 14:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568494 -3.273886)'), GeomFromEWKT('SRID=4674;POINT (-38.568492 -3.273909)'))) / (select extract(epoch from '2026-05-31 14:19:25'::timestamp) - extract(epoch from '2026-05-31 14:19: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'), 46535, 'SRID=4674;POINT (-38.568487 -3.27398)', '2026-05-31 14:19:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568492 -3.273909)'), GeomFromEWKT('SRID=4674;POINT (-38.568487 -3.27398)'))) / (select extract(epoch from '2026-05-31 14:19:31'::timestamp) - extract(epoch from '2026-05-31 14:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568492 -3.273909)'), GeomFromEWKT('SRID=4674;POINT (-38.568487 -3.27398)'))) / (select extract(epoch from '2026-05-31 14:19:31'::timestamp) - extract(epoch from '2026-05-31 14:19: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'), 46535, 'SRID=4674;POINT (-38.568478 -3.274018)', '2026-05-31 14:19:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568487 -3.27398)'), GeomFromEWKT('SRID=4674;POINT (-38.568478 -3.274018)'))) / (select extract(epoch from '2026-05-31 14:19:37'::timestamp) - extract(epoch from '2026-05-31 14:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568487 -3.27398)'), GeomFromEWKT('SRID=4674;POINT (-38.568478 -3.274018)'))) / (select extract(epoch from '2026-05-31 14:19:37'::timestamp) - extract(epoch from '2026-05-31 14:19:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568479 -3.274038)', '2026-05-31 14:19:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568478 -3.274018)'), GeomFromEWKT('SRID=4674;POINT (-38.568479 -3.274038)'))) / (select extract(epoch from '2026-05-31 14:19:39'::timestamp) - extract(epoch from '2026-05-31 14:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568478 -3.274018)'), GeomFromEWKT('SRID=4674;POINT (-38.568479 -3.274038)'))) / (select extract(epoch from '2026-05-31 14:19:39'::timestamp) - extract(epoch from '2026-05-31 14:19: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'), 46535, 'SRID=4674;POINT (-38.568479 -3.274082)', '2026-05-31 14:19:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568479 -3.274038)'), GeomFromEWKT('SRID=4674;POINT (-38.568479 -3.274082)'))) / (select extract(epoch from '2026-05-31 14:19:45'::timestamp) - extract(epoch from '2026-05-31 14:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568479 -3.274038)'), GeomFromEWKT('SRID=4674;POINT (-38.568479 -3.274082)'))) / (select extract(epoch from '2026-05-31 14:19:45'::timestamp) - extract(epoch from '2026-05-31 14:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568472 -3.274167)', '2026-05-31 14:19:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568479 -3.274082)'), GeomFromEWKT('SRID=4674;POINT (-38.568472 -3.274167)'))) / (select extract(epoch from '2026-05-31 14:19:56'::timestamp) - extract(epoch from '2026-05-31 14:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568479 -3.274082)'), GeomFromEWKT('SRID=4674;POINT (-38.568472 -3.274167)'))) / (select extract(epoch from '2026-05-31 14:19:56'::timestamp) - extract(epoch from '2026-05-31 14:19:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568475 -3.274207)', '2026-05-31 14:20:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568472 -3.274167)'), GeomFromEWKT('SRID=4674;POINT (-38.568475 -3.274207)'))) / (select extract(epoch from '2026-05-31 14:20:00'::timestamp) - extract(epoch from '2026-05-31 14:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568472 -3.274167)'), GeomFromEWKT('SRID=4674;POINT (-38.568475 -3.274207)'))) / (select extract(epoch from '2026-05-31 14:20:00'::timestamp) - extract(epoch from '2026-05-31 14:19: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'), 46535, 'SRID=4674;POINT (-38.568477 -3.274248)', '2026-05-31 14:20:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568475 -3.274207)'), GeomFromEWKT('SRID=4674;POINT (-38.568477 -3.274248)'))) / (select extract(epoch from '2026-05-31 14:20:04'::timestamp) - extract(epoch from '2026-05-31 14:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568475 -3.274207)'), GeomFromEWKT('SRID=4674;POINT (-38.568477 -3.274248)'))) / (select extract(epoch from '2026-05-31 14:20:04'::timestamp) - extract(epoch from '2026-05-31 14:20: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'), 46535, 'SRID=4674;POINT (-38.56848 -3.274256)', '2026-05-31 14:20:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568477 -3.274248)'), GeomFromEWKT('SRID=4674;POINT (-38.56848 -3.274256)'))) / (select extract(epoch from '2026-05-31 14:20:05'::timestamp) - extract(epoch from '2026-05-31 14:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568477 -3.274248)'), GeomFromEWKT('SRID=4674;POINT (-38.56848 -3.274256)'))) / (select extract(epoch from '2026-05-31 14:20:05'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568484 -3.274275)', '2026-05-31 14:20:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56848 -3.274256)'), GeomFromEWKT('SRID=4674;POINT (-38.568484 -3.274275)'))) / (select extract(epoch from '2026-05-31 14:20:08'::timestamp) - extract(epoch from '2026-05-31 14:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56848 -3.274256)'), GeomFromEWKT('SRID=4674;POINT (-38.568484 -3.274275)'))) / (select extract(epoch from '2026-05-31 14:20:08'::timestamp) - extract(epoch from '2026-05-31 14:20: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'), 46535, 'SRID=4674;POINT (-38.568488 -3.274294)', '2026-05-31 14:20:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568484 -3.274275)'), GeomFromEWKT('SRID=4674;POINT (-38.568488 -3.274294)'))) / (select extract(epoch from '2026-05-31 14:20:10'::timestamp) - extract(epoch from '2026-05-31 14:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568484 -3.274275)'), GeomFromEWKT('SRID=4674;POINT (-38.568488 -3.274294)'))) / (select extract(epoch from '2026-05-31 14:20:10'::timestamp) - extract(epoch from '2026-05-31 14:20:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568507 -3.27435)', '2026-05-31 14:20:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568488 -3.274294)'), GeomFromEWKT('SRID=4674;POINT (-38.568507 -3.27435)'))) / (select extract(epoch from '2026-05-31 14:20:18'::timestamp) - extract(epoch from '2026-05-31 14:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568488 -3.274294)'), GeomFromEWKT('SRID=4674;POINT (-38.568507 -3.27435)'))) / (select extract(epoch from '2026-05-31 14:20:18'::timestamp) - extract(epoch from '2026-05-31 14:20: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'), 46535, 'SRID=4674;POINT (-38.568521 -3.27441)', '2026-05-31 14:20:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568507 -3.27435)'), GeomFromEWKT('SRID=4674;POINT (-38.568521 -3.27441)'))) / (select extract(epoch from '2026-05-31 14:20:24'::timestamp) - extract(epoch from '2026-05-31 14:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568507 -3.27435)'), GeomFromEWKT('SRID=4674;POINT (-38.568521 -3.27441)'))) / (select extract(epoch from '2026-05-31 14:20:24'::timestamp) - extract(epoch from '2026-05-31 14:20:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568533 -3.274482)', '2026-05-31 14:20:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568521 -3.27441)'), GeomFromEWKT('SRID=4674;POINT (-38.568533 -3.274482)'))) / (select extract(epoch from '2026-05-31 14:20:31'::timestamp) - extract(epoch from '2026-05-31 14:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568521 -3.27441)'), GeomFromEWKT('SRID=4674;POINT (-38.568533 -3.274482)'))) / (select extract(epoch from '2026-05-31 14:20:31'::timestamp) - extract(epoch from '2026-05-31 14:20:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568534 -3.274493)', '2026-05-31 14:20:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568533 -3.274482)'), GeomFromEWKT('SRID=4674;POINT (-38.568534 -3.274493)'))) / (select extract(epoch from '2026-05-31 14:20:32'::timestamp) - extract(epoch from '2026-05-31 14:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568533 -3.274482)'), GeomFromEWKT('SRID=4674;POINT (-38.568534 -3.274493)'))) / (select extract(epoch from '2026-05-31 14:20:32'::timestamp) - extract(epoch from '2026-05-31 14:20: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'), 46535, 'SRID=4674;POINT (-38.568544 -3.274532)', '2026-05-31 14:20:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568534 -3.274493)'), GeomFromEWKT('SRID=4674;POINT (-38.568544 -3.274532)'))) / (select extract(epoch from '2026-05-31 14:20:36'::timestamp) - extract(epoch from '2026-05-31 14:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568534 -3.274493)'), GeomFromEWKT('SRID=4674;POINT (-38.568544 -3.274532)'))) / (select extract(epoch from '2026-05-31 14:20:36'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568546 -3.274541)', '2026-05-31 14:20:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568544 -3.274532)'), GeomFromEWKT('SRID=4674;POINT (-38.568546 -3.274541)'))) / (select extract(epoch from '2026-05-31 14:20:37'::timestamp) - extract(epoch from '2026-05-31 14:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568544 -3.274532)'), GeomFromEWKT('SRID=4674;POINT (-38.568546 -3.274541)'))) / (select extract(epoch from '2026-05-31 14:20:37'::timestamp) - extract(epoch from '2026-05-31 14:20:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56855 -3.274591)', '2026-05-31 14:20:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568546 -3.274541)'), GeomFromEWKT('SRID=4674;POINT (-38.56855 -3.274591)'))) / (select extract(epoch from '2026-05-31 14:20:42'::timestamp) - extract(epoch from '2026-05-31 14:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568546 -3.274541)'), GeomFromEWKT('SRID=4674;POINT (-38.56855 -3.274591)'))) / (select extract(epoch from '2026-05-31 14:20:42'::timestamp) - extract(epoch from '2026-05-31 14:20: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'), 46535, 'SRID=4674;POINT (-38.568567 -3.274644)', '2026-05-31 14:20:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56855 -3.274591)'), GeomFromEWKT('SRID=4674;POINT (-38.568567 -3.274644)'))) / (select extract(epoch from '2026-05-31 14:20:47'::timestamp) - extract(epoch from '2026-05-31 14:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56855 -3.274591)'), GeomFromEWKT('SRID=4674;POINT (-38.568567 -3.274644)'))) / (select extract(epoch from '2026-05-31 14:20:47'::timestamp) - extract(epoch from '2026-05-31 14:20: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'), 46535, 'SRID=4674;POINT (-38.568566 -3.274654)', '2026-05-31 14:20:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568567 -3.274644)'), GeomFromEWKT('SRID=4674;POINT (-38.568566 -3.274654)'))) / (select extract(epoch from '2026-05-31 14:20:48'::timestamp) - extract(epoch from '2026-05-31 14:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568567 -3.274644)'), GeomFromEWKT('SRID=4674;POINT (-38.568566 -3.274654)'))) / (select extract(epoch from '2026-05-31 14:20:48'::timestamp) - extract(epoch from '2026-05-31 14:20: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'), 46535, 'SRID=4674;POINT (-38.56857 -3.274672)', '2026-05-31 14:20:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568566 -3.274654)'), GeomFromEWKT('SRID=4674;POINT (-38.56857 -3.274672)'))) / (select extract(epoch from '2026-05-31 14:20:50'::timestamp) - extract(epoch from '2026-05-31 14:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568566 -3.274654)'), GeomFromEWKT('SRID=4674;POINT (-38.56857 -3.274672)'))) / (select extract(epoch from '2026-05-31 14:20:50'::timestamp) - extract(epoch from '2026-05-31 14:20: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'), 46535, 'SRID=4674;POINT (-38.568584 -3.274727)', '2026-05-31 14:20:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56857 -3.274672)'), GeomFromEWKT('SRID=4674;POINT (-38.568584 -3.274727)'))) / (select extract(epoch from '2026-05-31 14:20:55'::timestamp) - extract(epoch from '2026-05-31 14:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56857 -3.274672)'), GeomFromEWKT('SRID=4674;POINT (-38.568584 -3.274727)'))) / (select extract(epoch from '2026-05-31 14:20:55'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568599 -3.274792)', '2026-05-31 14:21:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568584 -3.274727)'), GeomFromEWKT('SRID=4674;POINT (-38.568599 -3.274792)'))) / (select extract(epoch from '2026-05-31 14:21:01'::timestamp) - extract(epoch from '2026-05-31 14:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568584 -3.274727)'), GeomFromEWKT('SRID=4674;POINT (-38.568599 -3.274792)'))) / (select extract(epoch from '2026-05-31 14:21:01'::timestamp) - extract(epoch from '2026-05-31 14:20:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568605 -3.274861)', '2026-05-31 14:21:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568599 -3.274792)'), GeomFromEWKT('SRID=4674;POINT (-38.568605 -3.274861)'))) / (select extract(epoch from '2026-05-31 14:21:07'::timestamp) - extract(epoch from '2026-05-31 14:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568599 -3.274792)'), GeomFromEWKT('SRID=4674;POINT (-38.568605 -3.274861)'))) / (select extract(epoch from '2026-05-31 14:21:07'::timestamp) - extract(epoch from '2026-05-31 14:21: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'), 46535, 'SRID=4674;POINT (-38.568609 -3.274898)', '2026-05-31 14:21:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568605 -3.274861)'), GeomFromEWKT('SRID=4674;POINT (-38.568609 -3.274898)'))) / (select extract(epoch from '2026-05-31 14:21:10'::timestamp) - extract(epoch from '2026-05-31 14:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568605 -3.274861)'), GeomFromEWKT('SRID=4674;POINT (-38.568609 -3.274898)'))) / (select extract(epoch from '2026-05-31 14:21:10'::timestamp) - extract(epoch from '2026-05-31 14:21: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'), 46535, 'SRID=4674;POINT (-38.568607 -3.274934)', '2026-05-31 14:21:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568609 -3.274898)'), GeomFromEWKT('SRID=4674;POINT (-38.568607 -3.274934)'))) / (select extract(epoch from '2026-05-31 14:21:13'::timestamp) - extract(epoch from '2026-05-31 14:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568609 -3.274898)'), GeomFromEWKT('SRID=4674;POINT (-38.568607 -3.274934)'))) / (select extract(epoch from '2026-05-31 14:21:13'::timestamp) - extract(epoch from '2026-05-31 14:21:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568618 -3.275009)', '2026-05-31 14:21:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568607 -3.274934)'), GeomFromEWKT('SRID=4674;POINT (-38.568618 -3.275009)'))) / (select extract(epoch from '2026-05-31 14:21:20'::timestamp) - extract(epoch from '2026-05-31 14:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568607 -3.274934)'), GeomFromEWKT('SRID=4674;POINT (-38.568618 -3.275009)'))) / (select extract(epoch from '2026-05-31 14:21:20'::timestamp) - extract(epoch from '2026-05-31 14:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568619 -3.275076)', '2026-05-31 14:21:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568618 -3.275009)'), GeomFromEWKT('SRID=4674;POINT (-38.568619 -3.275076)'))) / (select extract(epoch from '2026-05-31 14:21:27'::timestamp) - extract(epoch from '2026-05-31 14:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568618 -3.275009)'), GeomFromEWKT('SRID=4674;POINT (-38.568619 -3.275076)'))) / (select extract(epoch from '2026-05-31 14:21:27'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568636 -3.275134)', '2026-05-31 14:21:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568619 -3.275076)'), GeomFromEWKT('SRID=4674;POINT (-38.568636 -3.275134)'))) / (select extract(epoch from '2026-05-31 14:21:33'::timestamp) - extract(epoch from '2026-05-31 14:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568619 -3.275076)'), GeomFromEWKT('SRID=4674;POINT (-38.568636 -3.275134)'))) / (select extract(epoch from '2026-05-31 14:21:33'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.56864 -3.275156)', '2026-05-31 14:21:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568636 -3.275134)'), GeomFromEWKT('SRID=4674;POINT (-38.56864 -3.275156)'))) / (select extract(epoch from '2026-05-31 14:21:35'::timestamp) - extract(epoch from '2026-05-31 14:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568636 -3.275134)'), GeomFromEWKT('SRID=4674;POINT (-38.56864 -3.275156)'))) / (select extract(epoch from '2026-05-31 14:21:35'::timestamp) - extract(epoch from '2026-05-31 14:21: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'), 46535, 'SRID=4674;POINT (-38.568648 -3.275207)', '2026-05-31 14:21:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56864 -3.275156)'), GeomFromEWKT('SRID=4674;POINT (-38.568648 -3.275207)'))) / (select extract(epoch from '2026-05-31 14:21:40'::timestamp) - extract(epoch from '2026-05-31 14:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56864 -3.275156)'), GeomFromEWKT('SRID=4674;POINT (-38.568648 -3.275207)'))) / (select extract(epoch from '2026-05-31 14:21:40'::timestamp) - extract(epoch from '2026-05-31 14:21:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568654 -3.275294)', '2026-05-31 14:21:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568648 -3.275207)'), GeomFromEWKT('SRID=4674;POINT (-38.568654 -3.275294)'))) / (select extract(epoch from '2026-05-31 14:21:48'::timestamp) - extract(epoch from '2026-05-31 14:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568648 -3.275207)'), GeomFromEWKT('SRID=4674;POINT (-38.568654 -3.275294)'))) / (select extract(epoch from '2026-05-31 14:21:48'::timestamp) - extract(epoch from '2026-05-31 14:21:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568663 -3.275382)', '2026-05-31 14:21:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568654 -3.275294)'), GeomFromEWKT('SRID=4674;POINT (-38.568663 -3.275382)'))) / (select extract(epoch from '2026-05-31 14:21:56'::timestamp) - extract(epoch from '2026-05-31 14:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568654 -3.275294)'), GeomFromEWKT('SRID=4674;POINT (-38.568663 -3.275382)'))) / (select extract(epoch from '2026-05-31 14:21:56'::timestamp) - extract(epoch from '2026-05-31 14:21:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568672 -3.275479)', '2026-05-31 14:22:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568663 -3.275382)'), GeomFromEWKT('SRID=4674;POINT (-38.568672 -3.275479)'))) / (select extract(epoch from '2026-05-31 14:22:04'::timestamp) - extract(epoch from '2026-05-31 14:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568663 -3.275382)'), GeomFromEWKT('SRID=4674;POINT (-38.568672 -3.275479)'))) / (select extract(epoch from '2026-05-31 14:22:04'::timestamp) - extract(epoch from '2026-05-31 14:21:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568675 -3.275553)', '2026-05-31 14:22:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568672 -3.275479)'), GeomFromEWKT('SRID=4674;POINT (-38.568675 -3.275553)'))) / (select extract(epoch from '2026-05-31 14:22:10'::timestamp) - extract(epoch from '2026-05-31 14:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568672 -3.275479)'), GeomFromEWKT('SRID=4674;POINT (-38.568675 -3.275553)'))) / (select extract(epoch from '2026-05-31 14:22:10'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568671 -3.27563)', '2026-05-31 14:22:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568675 -3.275553)'), GeomFromEWKT('SRID=4674;POINT (-38.568671 -3.27563)'))) / (select extract(epoch from '2026-05-31 14:22:16'::timestamp) - extract(epoch from '2026-05-31 14:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568675 -3.275553)'), GeomFromEWKT('SRID=4674;POINT (-38.568671 -3.27563)'))) / (select extract(epoch from '2026-05-31 14:22:16'::timestamp) - extract(epoch from '2026-05-31 14:22: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'), 46535, 'SRID=4674;POINT (-38.568669 -3.275699)', '2026-05-31 14:22:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568671 -3.27563)'), GeomFromEWKT('SRID=4674;POINT (-38.568669 -3.275699)'))) / (select extract(epoch from '2026-05-31 14:22:23'::timestamp) - extract(epoch from '2026-05-31 14:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568671 -3.27563)'), GeomFromEWKT('SRID=4674;POINT (-38.568669 -3.275699)'))) / (select extract(epoch from '2026-05-31 14:22:23'::timestamp) - extract(epoch from '2026-05-31 14:22: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'), 46535, 'SRID=4674;POINT (-38.568647 -3.275785)', '2026-05-31 14:22:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568669 -3.275699)'), GeomFromEWKT('SRID=4674;POINT (-38.568647 -3.275785)'))) / (select extract(epoch from '2026-05-31 14:22:31'::timestamp) - extract(epoch from '2026-05-31 14:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568669 -3.275699)'), GeomFromEWKT('SRID=4674;POINT (-38.568647 -3.275785)'))) / (select extract(epoch from '2026-05-31 14:22:31'::timestamp) - extract(epoch from '2026-05-31 14:22: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'), 46535, 'SRID=4674;POINT (-38.568629 -3.275841)', '2026-05-31 14:22:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568647 -3.275785)'), GeomFromEWKT('SRID=4674;POINT (-38.568629 -3.275841)'))) / (select extract(epoch from '2026-05-31 14:22:37'::timestamp) - extract(epoch from '2026-05-31 14:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568647 -3.275785)'), GeomFromEWKT('SRID=4674;POINT (-38.568629 -3.275841)'))) / (select extract(epoch from '2026-05-31 14:22:37'::timestamp) - extract(epoch from '2026-05-31 14:22: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'), 46535, 'SRID=4674;POINT (-38.568609 -3.275892)', '2026-05-31 14:22:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568629 -3.275841)'), GeomFromEWKT('SRID=4674;POINT (-38.568609 -3.275892)'))) / (select extract(epoch from '2026-05-31 14:22:43'::timestamp) - extract(epoch from '2026-05-31 14:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568629 -3.275841)'), GeomFromEWKT('SRID=4674;POINT (-38.568609 -3.275892)'))) / (select extract(epoch from '2026-05-31 14:22:43'::timestamp) - extract(epoch from '2026-05-31 14:22: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'), 46535, 'SRID=4674;POINT (-38.56859 -3.275947)', '2026-05-31 14:22:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568609 -3.275892)'), GeomFromEWKT('SRID=4674;POINT (-38.56859 -3.275947)'))) / (select extract(epoch from '2026-05-31 14:22:50'::timestamp) - extract(epoch from '2026-05-31 14:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568609 -3.275892)'), GeomFromEWKT('SRID=4674;POINT (-38.56859 -3.275947)'))) / (select extract(epoch from '2026-05-31 14:22:50'::timestamp) - extract(epoch from '2026-05-31 14:22: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'), 46535, 'SRID=4674;POINT (-38.568564 -3.275978)', '2026-05-31 14:22:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56859 -3.275947)'), GeomFromEWKT('SRID=4674;POINT (-38.568564 -3.275978)'))) / (select extract(epoch from '2026-05-31 14:22:55'::timestamp) - extract(epoch from '2026-05-31 14:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56859 -3.275947)'), GeomFromEWKT('SRID=4674;POINT (-38.568564 -3.275978)'))) / (select extract(epoch from '2026-05-31 14:22:55'::timestamp) - extract(epoch from '2026-05-31 14:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568552 -3.275993)', '2026-05-31 14:22:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568564 -3.275978)'), GeomFromEWKT('SRID=4674;POINT (-38.568552 -3.275993)'))) / (select extract(epoch from '2026-05-31 14:22:57'::timestamp) - extract(epoch from '2026-05-31 14:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568564 -3.275978)'), GeomFromEWKT('SRID=4674;POINT (-38.568552 -3.275993)'))) / (select extract(epoch from '2026-05-31 14:22:57'::timestamp) - extract(epoch from '2026-05-31 14:22: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'), 46535, 'SRID=4674;POINT (-38.568524 -3.276027)', '2026-05-31 14:23:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568552 -3.275993)'), GeomFromEWKT('SRID=4674;POINT (-38.568524 -3.276027)'))) / (select extract(epoch from '2026-05-31 14:23:02'::timestamp) - extract(epoch from '2026-05-31 14:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568552 -3.275993)'), GeomFromEWKT('SRID=4674;POINT (-38.568524 -3.276027)'))) / (select extract(epoch from '2026-05-31 14:23:02'::timestamp) - extract(epoch from '2026-05-31 14:22: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'), 46535, 'SRID=4674;POINT (-38.568509 -3.27604)', '2026-05-31 14:23:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568524 -3.276027)'), GeomFromEWKT('SRID=4674;POINT (-38.568509 -3.27604)'))) / (select extract(epoch from '2026-05-31 14:23:04'::timestamp) - extract(epoch from '2026-05-31 14:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568524 -3.276027)'), GeomFromEWKT('SRID=4674;POINT (-38.568509 -3.27604)'))) / (select extract(epoch from '2026-05-31 14:23:04'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568453 -3.276095)', '2026-05-31 14:23:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568509 -3.27604)'), GeomFromEWKT('SRID=4674;POINT (-38.568453 -3.276095)'))) / (select extract(epoch from '2026-05-31 14:23:12'::timestamp) - extract(epoch from '2026-05-31 14:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568509 -3.27604)'), GeomFromEWKT('SRID=4674;POINT (-38.568453 -3.276095)'))) / (select extract(epoch from '2026-05-31 14:23:12'::timestamp) - extract(epoch from '2026-05-31 14:23: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'), 46535, 'SRID=4674;POINT (-38.568422 -3.276124)', '2026-05-31 14:23:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568453 -3.276095)'), GeomFromEWKT('SRID=4674;POINT (-38.568422 -3.276124)'))) / (select extract(epoch from '2026-05-31 14:23:16'::timestamp) - extract(epoch from '2026-05-31 14:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568453 -3.276095)'), GeomFromEWKT('SRID=4674;POINT (-38.568422 -3.276124)'))) / (select extract(epoch from '2026-05-31 14:23:16'::timestamp) - extract(epoch from '2026-05-31 14:23: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'), 46535, 'SRID=4674;POINT (-38.568409 -3.276137)', '2026-05-31 14:23:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568422 -3.276124)'), GeomFromEWKT('SRID=4674;POINT (-38.568409 -3.276137)'))) / (select extract(epoch from '2026-05-31 14:23:18'::timestamp) - extract(epoch from '2026-05-31 14:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568422 -3.276124)'), GeomFromEWKT('SRID=4674;POINT (-38.568409 -3.276137)'))) / (select extract(epoch from '2026-05-31 14:23:18'::timestamp) - extract(epoch from '2026-05-31 14:23: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'), 46535, 'SRID=4674;POINT (-38.56835 -3.27617)', '2026-05-31 14:23:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568409 -3.276137)'), GeomFromEWKT('SRID=4674;POINT (-38.56835 -3.27617)'))) / (select extract(epoch from '2026-05-31 14:23:26'::timestamp) - extract(epoch from '2026-05-31 14:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568409 -3.276137)'), GeomFromEWKT('SRID=4674;POINT (-38.56835 -3.27617)'))) / (select extract(epoch from '2026-05-31 14:23:26'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568313 -3.276191)', '2026-05-31 14:23:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56835 -3.27617)'), GeomFromEWKT('SRID=4674;POINT (-38.568313 -3.276191)'))) / (select extract(epoch from '2026-05-31 14:23:33'::timestamp) - extract(epoch from '2026-05-31 14:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56835 -3.27617)'), GeomFromEWKT('SRID=4674;POINT (-38.568313 -3.276191)'))) / (select extract(epoch from '2026-05-31 14:23:33'::timestamp) - extract(epoch from '2026-05-31 14:23: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'), 46535, 'SRID=4674;POINT (-38.568296 -3.276193)', '2026-05-31 14:23:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568313 -3.276191)'), GeomFromEWKT('SRID=4674;POINT (-38.568296 -3.276193)'))) / (select extract(epoch from '2026-05-31 14:23:35'::timestamp) - extract(epoch from '2026-05-31 14:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568313 -3.276191)'), GeomFromEWKT('SRID=4674;POINT (-38.568296 -3.276193)'))) / (select extract(epoch from '2026-05-31 14:23:35'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568276 -3.276209)', '2026-05-31 14:23:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568296 -3.276193)'), GeomFromEWKT('SRID=4674;POINT (-38.568276 -3.276209)'))) / (select extract(epoch from '2026-05-31 14:23:38'::timestamp) - extract(epoch from '2026-05-31 14:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568296 -3.276193)'), GeomFromEWKT('SRID=4674;POINT (-38.568276 -3.276209)'))) / (select extract(epoch from '2026-05-31 14:23:38'::timestamp) - extract(epoch from '2026-05-31 14:23: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'), 46535, 'SRID=4674;POINT (-38.56823 -3.276237)', '2026-05-31 14:23:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568276 -3.276209)'), GeomFromEWKT('SRID=4674;POINT (-38.56823 -3.276237)'))) / (select extract(epoch from '2026-05-31 14:23:45'::timestamp) - extract(epoch from '2026-05-31 14:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568276 -3.276209)'), GeomFromEWKT('SRID=4674;POINT (-38.56823 -3.276237)'))) / (select extract(epoch from '2026-05-31 14:23:45'::timestamp) - extract(epoch from '2026-05-31 14:23: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'), 46535, 'SRID=4674;POINT (-38.568194 -3.276292)', '2026-05-31 14:23:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56823 -3.276237)'), GeomFromEWKT('SRID=4674;POINT (-38.568194 -3.276292)'))) / (select extract(epoch from '2026-05-31 14:23:55'::timestamp) - extract(epoch from '2026-05-31 14:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56823 -3.276237)'), GeomFromEWKT('SRID=4674;POINT (-38.568194 -3.276292)'))) / (select extract(epoch from '2026-05-31 14:23:55'::timestamp) - extract(epoch from '2026-05-31 14:23: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'), 46535, 'SRID=4674;POINT (-38.568179 -3.276342)', '2026-05-31 14:24:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568194 -3.276292)'), GeomFromEWKT('SRID=4674;POINT (-38.568179 -3.276342)'))) / (select extract(epoch from '2026-05-31 14:24:03'::timestamp) - extract(epoch from '2026-05-31 14:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568194 -3.276292)'), GeomFromEWKT('SRID=4674;POINT (-38.568179 -3.276342)'))) / (select extract(epoch from '2026-05-31 14:24:03'::timestamp) - extract(epoch from '2026-05-31 14:23: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'), 46535, 'SRID=4674;POINT (-38.568188 -3.276411)', '2026-05-31 14:24:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568179 -3.276342)'), GeomFromEWKT('SRID=4674;POINT (-38.568188 -3.276411)'))) / (select extract(epoch from '2026-05-31 14:24:11'::timestamp) - extract(epoch from '2026-05-31 14:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568179 -3.276342)'), GeomFromEWKT('SRID=4674;POINT (-38.568188 -3.276411)'))) / (select extract(epoch from '2026-05-31 14:24:11'::timestamp) - extract(epoch from '2026-05-31 14:24: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'), 46535, 'SRID=4674;POINT (-38.56819 -3.276459)', '2026-05-31 14:24:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568188 -3.276411)'), GeomFromEWKT('SRID=4674;POINT (-38.56819 -3.276459)'))) / (select extract(epoch from '2026-05-31 14:24:17'::timestamp) - extract(epoch from '2026-05-31 14:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568188 -3.276411)'), GeomFromEWKT('SRID=4674;POINT (-38.56819 -3.276459)'))) / (select extract(epoch from '2026-05-31 14:24:17'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568201 -3.276525)', '2026-05-31 14:24:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56819 -3.276459)'), GeomFromEWKT('SRID=4674;POINT (-38.568201 -3.276525)'))) / (select extract(epoch from '2026-05-31 14:24:25'::timestamp) - extract(epoch from '2026-05-31 14:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56819 -3.276459)'), GeomFromEWKT('SRID=4674;POINT (-38.568201 -3.276525)'))) / (select extract(epoch from '2026-05-31 14:24:25'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568219 -3.276581)', '2026-05-31 14:24:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568201 -3.276525)'), GeomFromEWKT('SRID=4674;POINT (-38.568219 -3.276581)'))) / (select extract(epoch from '2026-05-31 14:24:31'::timestamp) - extract(epoch from '2026-05-31 14:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568201 -3.276525)'), GeomFromEWKT('SRID=4674;POINT (-38.568219 -3.276581)'))) / (select extract(epoch from '2026-05-31 14:24:31'::timestamp) - extract(epoch from '2026-05-31 14:24: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'), 46535, 'SRID=4674;POINT (-38.56826 -3.276676)', '2026-05-31 14:24:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568219 -3.276581)'), GeomFromEWKT('SRID=4674;POINT (-38.56826 -3.276676)'))) / (select extract(epoch from '2026-05-31 14:24:40'::timestamp) - extract(epoch from '2026-05-31 14:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568219 -3.276581)'), GeomFromEWKT('SRID=4674;POINT (-38.56826 -3.276676)'))) / (select extract(epoch from '2026-05-31 14:24:40'::timestamp) - extract(epoch from '2026-05-31 14:24: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'), 46535, 'SRID=4674;POINT (-38.568284 -3.276711)', '2026-05-31 14:24:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56826 -3.276676)'), GeomFromEWKT('SRID=4674;POINT (-38.568284 -3.276711)'))) / (select extract(epoch from '2026-05-31 14:24:43'::timestamp) - extract(epoch from '2026-05-31 14:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56826 -3.276676)'), GeomFromEWKT('SRID=4674;POINT (-38.568284 -3.276711)'))) / (select extract(epoch from '2026-05-31 14:24:43'::timestamp) - extract(epoch from '2026-05-31 14:24:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568287 -3.276731)', '2026-05-31 14:24:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568284 -3.276711)'), GeomFromEWKT('SRID=4674;POINT (-38.568287 -3.276731)'))) / (select extract(epoch from '2026-05-31 14:24:45'::timestamp) - extract(epoch from '2026-05-31 14:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568284 -3.276711)'), GeomFromEWKT('SRID=4674;POINT (-38.568287 -3.276731)'))) / (select extract(epoch from '2026-05-31 14:24:45'::timestamp) - extract(epoch from '2026-05-31 14:24: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'), 46535, 'SRID=4674;POINT (-38.568309 -3.276811)', '2026-05-31 14:24:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568287 -3.276731)'), GeomFromEWKT('SRID=4674;POINT (-38.568309 -3.276811)'))) / (select extract(epoch from '2026-05-31 14:24:51'::timestamp) - extract(epoch from '2026-05-31 14:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568287 -3.276731)'), GeomFromEWKT('SRID=4674;POINT (-38.568309 -3.276811)'))) / (select extract(epoch from '2026-05-31 14:24:51'::timestamp) - extract(epoch from '2026-05-31 14:24: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'), 46535, 'SRID=4674;POINT (-38.56831 -3.276823)', '2026-05-31 14:24:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568309 -3.276811)'), GeomFromEWKT('SRID=4674;POINT (-38.56831 -3.276823)'))) / (select extract(epoch from '2026-05-31 14:24:52'::timestamp) - extract(epoch from '2026-05-31 14:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568309 -3.276811)'), GeomFromEWKT('SRID=4674;POINT (-38.56831 -3.276823)'))) / (select extract(epoch from '2026-05-31 14:24:52'::timestamp) - extract(epoch from '2026-05-31 14:24: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'), 46535, 'SRID=4674;POINT (-38.568324 -3.276869)', '2026-05-31 14:24:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56831 -3.276823)'), GeomFromEWKT('SRID=4674;POINT (-38.568324 -3.276869)'))) / (select extract(epoch from '2026-05-31 14:24:56'::timestamp) - extract(epoch from '2026-05-31 14:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56831 -3.276823)'), GeomFromEWKT('SRID=4674;POINT (-38.568324 -3.276869)'))) / (select extract(epoch from '2026-05-31 14:24:56'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568349 -3.276955)', '2026-05-31 14:25:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568324 -3.276869)'), GeomFromEWKT('SRID=4674;POINT (-38.568349 -3.276955)'))) / (select extract(epoch from '2026-05-31 14:25:03'::timestamp) - extract(epoch from '2026-05-31 14:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568324 -3.276869)'), GeomFromEWKT('SRID=4674;POINT (-38.568349 -3.276955)'))) / (select extract(epoch from '2026-05-31 14:25:03'::timestamp) - extract(epoch from '2026-05-31 14:24: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'), 46535, 'SRID=4674;POINT (-38.568369 -3.277067)', '2026-05-31 14:25:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568349 -3.276955)'), GeomFromEWKT('SRID=4674;POINT (-38.568369 -3.277067)'))) / (select extract(epoch from '2026-05-31 14:25:12'::timestamp) - extract(epoch from '2026-05-31 14:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568349 -3.276955)'), GeomFromEWKT('SRID=4674;POINT (-38.568369 -3.277067)'))) / (select extract(epoch from '2026-05-31 14:25:12'::timestamp) - extract(epoch from '2026-05-31 14:25: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'), 46535, 'SRID=4674;POINT (-38.568388 -3.277141)', '2026-05-31 14:25:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568369 -3.277067)'), GeomFromEWKT('SRID=4674;POINT (-38.568388 -3.277141)'))) / (select extract(epoch from '2026-05-31 14:25:18'::timestamp) - extract(epoch from '2026-05-31 14:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568369 -3.277067)'), GeomFromEWKT('SRID=4674;POINT (-38.568388 -3.277141)'))) / (select extract(epoch from '2026-05-31 14:25:18'::timestamp) - extract(epoch from '2026-05-31 14:25: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'), 46535, 'SRID=4674;POINT (-38.56842 -3.277213)', '2026-05-31 14:25:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568388 -3.277141)'), GeomFromEWKT('SRID=4674;POINT (-38.56842 -3.277213)'))) / (select extract(epoch from '2026-05-31 14:25:24'::timestamp) - extract(epoch from '2026-05-31 14:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568388 -3.277141)'), GeomFromEWKT('SRID=4674;POINT (-38.56842 -3.277213)'))) / (select extract(epoch from '2026-05-31 14:25:24'::timestamp) - extract(epoch from '2026-05-31 14:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568426 -3.277242)', '2026-05-31 14:25:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56842 -3.277213)'), GeomFromEWKT('SRID=4674;POINT (-38.568426 -3.277242)'))) / (select extract(epoch from '2026-05-31 14:25:27'::timestamp) - extract(epoch from '2026-05-31 14:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56842 -3.277213)'), GeomFromEWKT('SRID=4674;POINT (-38.568426 -3.277242)'))) / (select extract(epoch from '2026-05-31 14:25:27'::timestamp) - extract(epoch from '2026-05-31 14:25:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568446 -3.277278)', '2026-05-31 14:25:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568426 -3.277242)'), GeomFromEWKT('SRID=4674;POINT (-38.568446 -3.277278)'))) / (select extract(epoch from '2026-05-31 14:25:30'::timestamp) - extract(epoch from '2026-05-31 14:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568426 -3.277242)'), GeomFromEWKT('SRID=4674;POINT (-38.568446 -3.277278)'))) / (select extract(epoch from '2026-05-31 14:25:30'::timestamp) - extract(epoch from '2026-05-31 14:25: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'), 46535, 'SRID=4674;POINT (-38.568483 -3.277361)', '2026-05-31 14:25:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568446 -3.277278)'), GeomFromEWKT('SRID=4674;POINT (-38.568483 -3.277361)'))) / (select extract(epoch from '2026-05-31 14:25:37'::timestamp) - extract(epoch from '2026-05-31 14:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568446 -3.277278)'), GeomFromEWKT('SRID=4674;POINT (-38.568483 -3.277361)'))) / (select extract(epoch from '2026-05-31 14:25:37'::timestamp) - extract(epoch from '2026-05-31 14:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568502 -3.277441)', '2026-05-31 14:25:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568483 -3.277361)'), GeomFromEWKT('SRID=4674;POINT (-38.568502 -3.277441)'))) / (select extract(epoch from '2026-05-31 14:25:43'::timestamp) - extract(epoch from '2026-05-31 14:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568483 -3.277361)'), GeomFromEWKT('SRID=4674;POINT (-38.568502 -3.277441)'))) / (select extract(epoch from '2026-05-31 14:25:43'::timestamp) - extract(epoch from '2026-05-31 14:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568532 -3.277522)', '2026-05-31 14:25:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568502 -3.277441)'), GeomFromEWKT('SRID=4674;POINT (-38.568532 -3.277522)'))) / (select extract(epoch from '2026-05-31 14:25:50'::timestamp) - extract(epoch from '2026-05-31 14:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568502 -3.277441)'), GeomFromEWKT('SRID=4674;POINT (-38.568532 -3.277522)'))) / (select extract(epoch from '2026-05-31 14:25:50'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568555 -3.2776)', '2026-05-31 14:25:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568532 -3.277522)'), GeomFromEWKT('SRID=4674;POINT (-38.568555 -3.2776)'))) / (select extract(epoch from '2026-05-31 14:25:56'::timestamp) - extract(epoch from '2026-05-31 14:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568532 -3.277522)'), GeomFromEWKT('SRID=4674;POINT (-38.568555 -3.2776)'))) / (select extract(epoch from '2026-05-31 14:25:56'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.56858 -3.277699)', '2026-05-31 14:26:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568555 -3.2776)'), GeomFromEWKT('SRID=4674;POINT (-38.56858 -3.277699)'))) / (select extract(epoch from '2026-05-31 14:26:04'::timestamp) - extract(epoch from '2026-05-31 14:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568555 -3.2776)'), GeomFromEWKT('SRID=4674;POINT (-38.56858 -3.277699)'))) / (select extract(epoch from '2026-05-31 14:26:04'::timestamp) - extract(epoch from '2026-05-31 14:25: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'), 46535, 'SRID=4674;POINT (-38.568586 -3.277747)', '2026-05-31 14:26:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56858 -3.277699)'), GeomFromEWKT('SRID=4674;POINT (-38.568586 -3.277747)'))) / (select extract(epoch from '2026-05-31 14:26:08'::timestamp) - extract(epoch from '2026-05-31 14:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56858 -3.277699)'), GeomFromEWKT('SRID=4674;POINT (-38.568586 -3.277747)'))) / (select extract(epoch from '2026-05-31 14:26:08'::timestamp) - extract(epoch from '2026-05-31 14:26: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'), 46535, 'SRID=4674;POINT (-38.568589 -3.277774)', '2026-05-31 14:26:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568586 -3.277747)'), GeomFromEWKT('SRID=4674;POINT (-38.568589 -3.277774)'))) / (select extract(epoch from '2026-05-31 14:26:10'::timestamp) - extract(epoch from '2026-05-31 14:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568586 -3.277747)'), GeomFromEWKT('SRID=4674;POINT (-38.568589 -3.277774)'))) / (select extract(epoch from '2026-05-31 14:26:10'::timestamp) - extract(epoch from '2026-05-31 14:26:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568586 -3.277855)', '2026-05-31 14:26:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568589 -3.277774)'), GeomFromEWKT('SRID=4674;POINT (-38.568586 -3.277855)'))) / (select extract(epoch from '2026-05-31 14:26:17'::timestamp) - extract(epoch from '2026-05-31 14:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568589 -3.277774)'), GeomFromEWKT('SRID=4674;POINT (-38.568586 -3.277855)'))) / (select extract(epoch from '2026-05-31 14:26:17'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568599 -3.277927)', '2026-05-31 14:26:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568586 -3.277855)'), GeomFromEWKT('SRID=4674;POINT (-38.568599 -3.277927)'))) / (select extract(epoch from '2026-05-31 14:26:24'::timestamp) - extract(epoch from '2026-05-31 14:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568586 -3.277855)'), GeomFromEWKT('SRID=4674;POINT (-38.568599 -3.277927)'))) / (select extract(epoch from '2026-05-31 14:26:24'::timestamp) - extract(epoch from '2026-05-31 14:26: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'), 46535, 'SRID=4674;POINT (-38.568616 -3.278008)', '2026-05-31 14:26:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568599 -3.277927)'), GeomFromEWKT('SRID=4674;POINT (-38.568616 -3.278008)'))) / (select extract(epoch from '2026-05-31 14:26:32'::timestamp) - extract(epoch from '2026-05-31 14:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568599 -3.277927)'), GeomFromEWKT('SRID=4674;POINT (-38.568616 -3.278008)'))) / (select extract(epoch from '2026-05-31 14:26:32'::timestamp) - extract(epoch from '2026-05-31 14:26:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568622 -3.278097)', '2026-05-31 14:26:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568616 -3.278008)'), GeomFromEWKT('SRID=4674;POINT (-38.568622 -3.278097)'))) / (select extract(epoch from '2026-05-31 14:26:40'::timestamp) - extract(epoch from '2026-05-31 14:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568616 -3.278008)'), GeomFromEWKT('SRID=4674;POINT (-38.568622 -3.278097)'))) / (select extract(epoch from '2026-05-31 14:26:40'::timestamp) - extract(epoch from '2026-05-31 14:26:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568627 -3.278111)', '2026-05-31 14:26:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568622 -3.278097)'), GeomFromEWKT('SRID=4674;POINT (-38.568627 -3.278111)'))) / (select extract(epoch from '2026-05-31 14:26:42'::timestamp) - extract(epoch from '2026-05-31 14:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568622 -3.278097)'), GeomFromEWKT('SRID=4674;POINT (-38.568627 -3.278111)'))) / (select extract(epoch from '2026-05-31 14:26:42'::timestamp) - extract(epoch from '2026-05-31 14:26: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'), 46535, 'SRID=4674;POINT (-38.568622 -3.278137)', '2026-05-31 14:26:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568627 -3.278111)'), GeomFromEWKT('SRID=4674;POINT (-38.568622 -3.278137)'))) / (select extract(epoch from '2026-05-31 14:26:45'::timestamp) - extract(epoch from '2026-05-31 14:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568627 -3.278111)'), GeomFromEWKT('SRID=4674;POINT (-38.568622 -3.278137)'))) / (select extract(epoch from '2026-05-31 14:26:45'::timestamp) - extract(epoch from '2026-05-31 14:26: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'), 46535, 'SRID=4674;POINT (-38.568628 -3.278159)', '2026-05-31 14:26:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568622 -3.278137)'), GeomFromEWKT('SRID=4674;POINT (-38.568628 -3.278159)'))) / (select extract(epoch from '2026-05-31 14:26:47'::timestamp) - extract(epoch from '2026-05-31 14:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568622 -3.278137)'), GeomFromEWKT('SRID=4674;POINT (-38.568628 -3.278159)'))) / (select extract(epoch from '2026-05-31 14:26:47'::timestamp) - extract(epoch from '2026-05-31 14:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568614 -3.278203)', '2026-05-31 14:26:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568628 -3.278159)'), GeomFromEWKT('SRID=4674;POINT (-38.568614 -3.278203)'))) / (select extract(epoch from '2026-05-31 14:26:51'::timestamp) - extract(epoch from '2026-05-31 14:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568628 -3.278159)'), GeomFromEWKT('SRID=4674;POINT (-38.568614 -3.278203)'))) / (select extract(epoch from '2026-05-31 14:26:51'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568616 -3.27826)', '2026-05-31 14:26:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568614 -3.278203)'), GeomFromEWKT('SRID=4674;POINT (-38.568616 -3.27826)'))) / (select extract(epoch from '2026-05-31 14:26:58'::timestamp) - extract(epoch from '2026-05-31 14:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568614 -3.278203)'), GeomFromEWKT('SRID=4674;POINT (-38.568616 -3.27826)'))) / (select extract(epoch from '2026-05-31 14:26:58'::timestamp) - extract(epoch from '2026-05-31 14:26:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568622 -3.278319)', '2026-05-31 14:27:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568616 -3.27826)'), GeomFromEWKT('SRID=4674;POINT (-38.568622 -3.278319)'))) / (select extract(epoch from '2026-05-31 14:27:04'::timestamp) - extract(epoch from '2026-05-31 14:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568616 -3.27826)'), GeomFromEWKT('SRID=4674;POINT (-38.568622 -3.278319)'))) / (select extract(epoch from '2026-05-31 14:27:04'::timestamp) - extract(epoch from '2026-05-31 14:26: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'), 46535, 'SRID=4674;POINT (-38.568619 -3.27833)', '2026-05-31 14:27:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568622 -3.278319)'), GeomFromEWKT('SRID=4674;POINT (-38.568619 -3.27833)'))) / (select extract(epoch from '2026-05-31 14:27:05'::timestamp) - extract(epoch from '2026-05-31 14:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568622 -3.278319)'), GeomFromEWKT('SRID=4674;POINT (-38.568619 -3.27833)'))) / (select extract(epoch from '2026-05-31 14:27:05'::timestamp) - extract(epoch from '2026-05-31 14:27:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568614 -3.278351)', '2026-05-31 14:27:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568619 -3.27833)'), GeomFromEWKT('SRID=4674;POINT (-38.568614 -3.278351)'))) / (select extract(epoch from '2026-05-31 14:27:07'::timestamp) - extract(epoch from '2026-05-31 14:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568619 -3.27833)'), GeomFromEWKT('SRID=4674;POINT (-38.568614 -3.278351)'))) / (select extract(epoch from '2026-05-31 14:27:07'::timestamp) - extract(epoch from '2026-05-31 14:27: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'), 46535, 'SRID=4674;POINT (-38.56862 -3.278393)', '2026-05-31 14:27:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568614 -3.278351)'), GeomFromEWKT('SRID=4674;POINT (-38.56862 -3.278393)'))) / (select extract(epoch from '2026-05-31 14:27:11'::timestamp) - extract(epoch from '2026-05-31 14:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568614 -3.278351)'), GeomFromEWKT('SRID=4674;POINT (-38.56862 -3.278393)'))) / (select extract(epoch from '2026-05-31 14:27:11'::timestamp) - extract(epoch from '2026-05-31 14:27: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'), 46535, 'SRID=4674;POINT (-38.568626 -3.278454)', '2026-05-31 14:27:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56862 -3.278393)'), GeomFromEWKT('SRID=4674;POINT (-38.568626 -3.278454)'))) / (select extract(epoch from '2026-05-31 14:27:18'::timestamp) - extract(epoch from '2026-05-31 14:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56862 -3.278393)'), GeomFromEWKT('SRID=4674;POINT (-38.568626 -3.278454)'))) / (select extract(epoch from '2026-05-31 14:27:18'::timestamp) - extract(epoch from '2026-05-31 14:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568621 -3.278521)', '2026-05-31 14:27:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568626 -3.278454)'), GeomFromEWKT('SRID=4674;POINT (-38.568621 -3.278521)'))) / (select extract(epoch from '2026-05-31 14:27:26'::timestamp) - extract(epoch from '2026-05-31 14:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568626 -3.278454)'), GeomFromEWKT('SRID=4674;POINT (-38.568621 -3.278521)'))) / (select extract(epoch from '2026-05-31 14:27:26'::timestamp) - extract(epoch from '2026-05-31 14:27:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568612 -3.278597)', '2026-05-31 14:27:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568621 -3.278521)'), GeomFromEWKT('SRID=4674;POINT (-38.568612 -3.278597)'))) / (select extract(epoch from '2026-05-31 14:27:33'::timestamp) - extract(epoch from '2026-05-31 14:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568621 -3.278521)'), GeomFromEWKT('SRID=4674;POINT (-38.568612 -3.278597)'))) / (select extract(epoch from '2026-05-31 14:27:33'::timestamp) - extract(epoch from '2026-05-31 14:27: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'), 46535, 'SRID=4674;POINT (-38.568609 -3.278667)', '2026-05-31 14:27:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568612 -3.278597)'), GeomFromEWKT('SRID=4674;POINT (-38.568609 -3.278667)'))) / (select extract(epoch from '2026-05-31 14:27:40'::timestamp) - extract(epoch from '2026-05-31 14:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568612 -3.278597)'), GeomFromEWKT('SRID=4674;POINT (-38.568609 -3.278667)'))) / (select extract(epoch from '2026-05-31 14:27:40'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568614 -3.278733)', '2026-05-31 14:27:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568609 -3.278667)'), GeomFromEWKT('SRID=4674;POINT (-38.568614 -3.278733)'))) / (select extract(epoch from '2026-05-31 14:27:47'::timestamp) - extract(epoch from '2026-05-31 14:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568609 -3.278667)'), GeomFromEWKT('SRID=4674;POINT (-38.568614 -3.278733)'))) / (select extract(epoch from '2026-05-31 14:27:47'::timestamp) - extract(epoch from '2026-05-31 14:27: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'), 46535, 'SRID=4674;POINT (-38.568623 -3.278808)', '2026-05-31 14:27:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568614 -3.278733)'), GeomFromEWKT('SRID=4674;POINT (-38.568623 -3.278808)'))) / (select extract(epoch from '2026-05-31 14:27:55'::timestamp) - extract(epoch from '2026-05-31 14:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568614 -3.278733)'), GeomFromEWKT('SRID=4674;POINT (-38.568623 -3.278808)'))) / (select extract(epoch from '2026-05-31 14:27:55'::timestamp) - extract(epoch from '2026-05-31 14:27: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'), 46535, 'SRID=4674;POINT (-38.568629 -3.278867)', '2026-05-31 14:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568623 -3.278808)'), GeomFromEWKT('SRID=4674;POINT (-38.568629 -3.278867)'))) / (select extract(epoch from '2026-05-31 14:28:03'::timestamp) - extract(epoch from '2026-05-31 14:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568623 -3.278808)'), GeomFromEWKT('SRID=4674;POINT (-38.568629 -3.278867)'))) / (select extract(epoch from '2026-05-31 14:28:03'::timestamp) - extract(epoch from '2026-05-31 14:27: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'), 46535, 'SRID=4674;POINT (-38.568638 -3.278957)', '2026-05-31 14:28:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568629 -3.278867)'), GeomFromEWKT('SRID=4674;POINT (-38.568638 -3.278957)'))) / (select extract(epoch from '2026-05-31 14:28:13'::timestamp) - extract(epoch from '2026-05-31 14:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568629 -3.278867)'), GeomFromEWKT('SRID=4674;POINT (-38.568638 -3.278957)'))) / (select extract(epoch from '2026-05-31 14:28:13'::timestamp) - extract(epoch from '2026-05-31 14:28:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56865 -3.279023)', '2026-05-31 14:28:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568638 -3.278957)'), GeomFromEWKT('SRID=4674;POINT (-38.56865 -3.279023)'))) / (select extract(epoch from '2026-05-31 14:28:20'::timestamp) - extract(epoch from '2026-05-31 14:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568638 -3.278957)'), GeomFromEWKT('SRID=4674;POINT (-38.56865 -3.279023)'))) / (select extract(epoch from '2026-05-31 14:28:20'::timestamp) - extract(epoch from '2026-05-31 14:28:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568661 -3.279099)', '2026-05-31 14:28:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56865 -3.279023)'), GeomFromEWKT('SRID=4674;POINT (-38.568661 -3.279099)'))) / (select extract(epoch from '2026-05-31 14:28:28'::timestamp) - extract(epoch from '2026-05-31 14:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56865 -3.279023)'), GeomFromEWKT('SRID=4674;POINT (-38.568661 -3.279099)'))) / (select extract(epoch from '2026-05-31 14:28:28'::timestamp) - extract(epoch from '2026-05-31 14:28: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'), 46535, 'SRID=4674;POINT (-38.56866 -3.279165)', '2026-05-31 14:28:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568661 -3.279099)'), GeomFromEWKT('SRID=4674;POINT (-38.56866 -3.279165)'))) / (select extract(epoch from '2026-05-31 14:28:34'::timestamp) - extract(epoch from '2026-05-31 14:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568661 -3.279099)'), GeomFromEWKT('SRID=4674;POINT (-38.56866 -3.279165)'))) / (select extract(epoch from '2026-05-31 14:28:34'::timestamp) - extract(epoch from '2026-05-31 14:28: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'), 46535, 'SRID=4674;POINT (-38.568667 -3.279194)', '2026-05-31 14:28:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56866 -3.279165)'), GeomFromEWKT('SRID=4674;POINT (-38.568667 -3.279194)'))) / (select extract(epoch from '2026-05-31 14:28:37'::timestamp) - extract(epoch from '2026-05-31 14:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56866 -3.279165)'), GeomFromEWKT('SRID=4674;POINT (-38.568667 -3.279194)'))) / (select extract(epoch from '2026-05-31 14:28:37'::timestamp) - extract(epoch from '2026-05-31 14:28: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'), 46535, 'SRID=4674;POINT (-38.568662 -3.279221)', '2026-05-31 14:28:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568667 -3.279194)'), GeomFromEWKT('SRID=4674;POINT (-38.568662 -3.279221)'))) / (select extract(epoch from '2026-05-31 14:28:40'::timestamp) - extract(epoch from '2026-05-31 14:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568667 -3.279194)'), GeomFromEWKT('SRID=4674;POINT (-38.568662 -3.279221)'))) / (select extract(epoch from '2026-05-31 14:28:40'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568647 -3.279302)', '2026-05-31 14:28:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568662 -3.279221)'), GeomFromEWKT('SRID=4674;POINT (-38.568647 -3.279302)'))) / (select extract(epoch from '2026-05-31 14:28:47'::timestamp) - extract(epoch from '2026-05-31 14:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568662 -3.279221)'), GeomFromEWKT('SRID=4674;POINT (-38.568647 -3.279302)'))) / (select extract(epoch from '2026-05-31 14:28:47'::timestamp) - extract(epoch from '2026-05-31 14:28: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'), 46535, 'SRID=4674;POINT (-38.568644 -3.279323)', '2026-05-31 14:28:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568647 -3.279302)'), GeomFromEWKT('SRID=4674;POINT (-38.568644 -3.279323)'))) / (select extract(epoch from '2026-05-31 14:28:49'::timestamp) - extract(epoch from '2026-05-31 14:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568647 -3.279302)'), GeomFromEWKT('SRID=4674;POINT (-38.568644 -3.279323)'))) / (select extract(epoch from '2026-05-31 14:28:49'::timestamp) - extract(epoch from '2026-05-31 14:28: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'), 46535, 'SRID=4674;POINT (-38.568646 -3.279359)', '2026-05-31 14:28:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568644 -3.279323)'), GeomFromEWKT('SRID=4674;POINT (-38.568646 -3.279359)'))) / (select extract(epoch from '2026-05-31 14:28:52'::timestamp) - extract(epoch from '2026-05-31 14:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568644 -3.279323)'), GeomFromEWKT('SRID=4674;POINT (-38.568646 -3.279359)'))) / (select extract(epoch from '2026-05-31 14:28:52'::timestamp) - extract(epoch from '2026-05-31 14:28: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'), 46535, 'SRID=4674;POINT (-38.568642 -3.279369)', '2026-05-31 14:28:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568646 -3.279359)'), GeomFromEWKT('SRID=4674;POINT (-38.568642 -3.279369)'))) / (select extract(epoch from '2026-05-31 14:28:53'::timestamp) - extract(epoch from '2026-05-31 14:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568646 -3.279359)'), GeomFromEWKT('SRID=4674;POINT (-38.568642 -3.279369)'))) / (select extract(epoch from '2026-05-31 14:28:53'::timestamp) - extract(epoch from '2026-05-31 14:28: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'), 46535, 'SRID=4674;POINT (-38.568639 -3.279378)', '2026-05-31 14:28:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568642 -3.279369)'), GeomFromEWKT('SRID=4674;POINT (-38.568639 -3.279378)'))) / (select extract(epoch from '2026-05-31 14:28:54'::timestamp) - extract(epoch from '2026-05-31 14:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568642 -3.279369)'), GeomFromEWKT('SRID=4674;POINT (-38.568639 -3.279378)'))) / (select extract(epoch from '2026-05-31 14:28:54'::timestamp) - extract(epoch from '2026-05-31 14:28: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'), 46535, 'SRID=4674;POINT (-38.568634 -3.279433)', '2026-05-31 14:28:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568639 -3.279378)'), GeomFromEWKT('SRID=4674;POINT (-38.568634 -3.279433)'))) / (select extract(epoch from '2026-05-31 14:28:59'::timestamp) - extract(epoch from '2026-05-31 14:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568639 -3.279378)'), GeomFromEWKT('SRID=4674;POINT (-38.568634 -3.279433)'))) / (select extract(epoch from '2026-05-31 14:28:59'::timestamp) - extract(epoch from '2026-05-31 14:28: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'), 46535, 'SRID=4674;POINT (-38.56863 -3.279506)', '2026-05-31 14:29:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568634 -3.279433)'), GeomFromEWKT('SRID=4674;POINT (-38.56863 -3.279506)'))) / (select extract(epoch from '2026-05-31 14:29:06'::timestamp) - extract(epoch from '2026-05-31 14:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568634 -3.279433)'), GeomFromEWKT('SRID=4674;POINT (-38.56863 -3.279506)'))) / (select extract(epoch from '2026-05-31 14:29:06'::timestamp) - extract(epoch from '2026-05-31 14:28: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'), 46535, 'SRID=4674;POINT (-38.568625 -3.279598)', '2026-05-31 14:29:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56863 -3.279506)'), GeomFromEWKT('SRID=4674;POINT (-38.568625 -3.279598)'))) / (select extract(epoch from '2026-05-31 14:29:16'::timestamp) - extract(epoch from '2026-05-31 14:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56863 -3.279506)'), GeomFromEWKT('SRID=4674;POINT (-38.568625 -3.279598)'))) / (select extract(epoch from '2026-05-31 14:29:16'::timestamp) - extract(epoch from '2026-05-31 14:29: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'), 46535, 'SRID=4674;POINT (-38.56862 -3.279684)', '2026-05-31 14:29:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568625 -3.279598)'), GeomFromEWKT('SRID=4674;POINT (-38.56862 -3.279684)'))) / (select extract(epoch from '2026-05-31 14:29:24'::timestamp) - extract(epoch from '2026-05-31 14:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568625 -3.279598)'), GeomFromEWKT('SRID=4674;POINT (-38.56862 -3.279684)'))) / (select extract(epoch from '2026-05-31 14:29:24'::timestamp) - extract(epoch from '2026-05-31 14:29: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'), 46535, 'SRID=4674;POINT (-38.568626 -3.279707)', '2026-05-31 14:29:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56862 -3.279684)'), GeomFromEWKT('SRID=4674;POINT (-38.568626 -3.279707)'))) / (select extract(epoch from '2026-05-31 14:29:26'::timestamp) - extract(epoch from '2026-05-31 14:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56862 -3.279684)'), GeomFromEWKT('SRID=4674;POINT (-38.568626 -3.279707)'))) / (select extract(epoch from '2026-05-31 14:29:26'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568625 -3.279784)', '2026-05-31 14:29:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568626 -3.279707)'), GeomFromEWKT('SRID=4674;POINT (-38.568625 -3.279784)'))) / (select extract(epoch from '2026-05-31 14:29:33'::timestamp) - extract(epoch from '2026-05-31 14:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568626 -3.279707)'), GeomFromEWKT('SRID=4674;POINT (-38.568625 -3.279784)'))) / (select extract(epoch from '2026-05-31 14:29:33'::timestamp) - extract(epoch from '2026-05-31 14:29: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'), 46535, 'SRID=4674;POINT (-38.568612 -3.279843)', '2026-05-31 14:29:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568625 -3.279784)'), GeomFromEWKT('SRID=4674;POINT (-38.568612 -3.279843)'))) / (select extract(epoch from '2026-05-31 14:29:39'::timestamp) - extract(epoch from '2026-05-31 14:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568625 -3.279784)'), GeomFromEWKT('SRID=4674;POINT (-38.568612 -3.279843)'))) / (select extract(epoch from '2026-05-31 14:29:39'::timestamp) - extract(epoch from '2026-05-31 14:29: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'), 46535, 'SRID=4674;POINT (-38.568611 -3.279854)', '2026-05-31 14:29:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568612 -3.279843)'), GeomFromEWKT('SRID=4674;POINT (-38.568611 -3.279854)'))) / (select extract(epoch from '2026-05-31 14:29:40'::timestamp) - extract(epoch from '2026-05-31 14:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568612 -3.279843)'), GeomFromEWKT('SRID=4674;POINT (-38.568611 -3.279854)'))) / (select extract(epoch from '2026-05-31 14:29:40'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568605 -3.279899)', '2026-05-31 14:29:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568611 -3.279854)'), GeomFromEWKT('SRID=4674;POINT (-38.568605 -3.279899)'))) / (select extract(epoch from '2026-05-31 14:29:45'::timestamp) - extract(epoch from '2026-05-31 14:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568611 -3.279854)'), GeomFromEWKT('SRID=4674;POINT (-38.568605 -3.279899)'))) / (select extract(epoch from '2026-05-31 14:29:45'::timestamp) - extract(epoch from '2026-05-31 14:29: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'), 46535, 'SRID=4674;POINT (-38.56859 -3.279975)', '2026-05-31 14:29:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568605 -3.279899)'), GeomFromEWKT('SRID=4674;POINT (-38.56859 -3.279975)'))) / (select extract(epoch from '2026-05-31 14:29:56'::timestamp) - extract(epoch from '2026-05-31 14:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568605 -3.279899)'), GeomFromEWKT('SRID=4674;POINT (-38.56859 -3.279975)'))) / (select extract(epoch from '2026-05-31 14:29:56'::timestamp) - extract(epoch from '2026-05-31 14:29:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568577 -3.280057)', '2026-05-31 14:30:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56859 -3.279975)'), GeomFromEWKT('SRID=4674;POINT (-38.568577 -3.280057)'))) / (select extract(epoch from '2026-05-31 14:30:06'::timestamp) - extract(epoch from '2026-05-31 14:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56859 -3.279975)'), GeomFromEWKT('SRID=4674;POINT (-38.568577 -3.280057)'))) / (select extract(epoch from '2026-05-31 14:30:06'::timestamp) - extract(epoch from '2026-05-31 14:29: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'), 46535, 'SRID=4674;POINT (-38.568577 -3.280125)', '2026-05-31 14:30:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568577 -3.280057)'), GeomFromEWKT('SRID=4674;POINT (-38.568577 -3.280125)'))) / (select extract(epoch from '2026-05-31 14:30:16'::timestamp) - extract(epoch from '2026-05-31 14:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568577 -3.280057)'), GeomFromEWKT('SRID=4674;POINT (-38.568577 -3.280125)'))) / (select extract(epoch from '2026-05-31 14:30:16'::timestamp) - extract(epoch from '2026-05-31 14:30: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'), 46535, 'SRID=4674;POINT (-38.568566 -3.280199)', '2026-05-31 14:30:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568577 -3.280125)'), GeomFromEWKT('SRID=4674;POINT (-38.568566 -3.280199)'))) / (select extract(epoch from '2026-05-31 14:30:25'::timestamp) - extract(epoch from '2026-05-31 14:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568577 -3.280125)'), GeomFromEWKT('SRID=4674;POINT (-38.568566 -3.280199)'))) / (select extract(epoch from '2026-05-31 14:30:25'::timestamp) - extract(epoch from '2026-05-31 14:30: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'), 46535, 'SRID=4674;POINT (-38.568554 -3.280265)', '2026-05-31 14:30:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568566 -3.280199)'), GeomFromEWKT('SRID=4674;POINT (-38.568554 -3.280265)'))) / (select extract(epoch from '2026-05-31 14:30:32'::timestamp) - extract(epoch from '2026-05-31 14:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568566 -3.280199)'), GeomFromEWKT('SRID=4674;POINT (-38.568554 -3.280265)'))) / (select extract(epoch from '2026-05-31 14:30:32'::timestamp) - extract(epoch from '2026-05-31 14:30: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'), 46535, 'SRID=4674;POINT (-38.568542 -3.280328)', '2026-05-31 14:30:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568554 -3.280265)'), GeomFromEWKT('SRID=4674;POINT (-38.568542 -3.280328)'))) / (select extract(epoch from '2026-05-31 14:30:39'::timestamp) - extract(epoch from '2026-05-31 14:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568554 -3.280265)'), GeomFromEWKT('SRID=4674;POINT (-38.568542 -3.280328)'))) / (select extract(epoch from '2026-05-31 14:30:39'::timestamp) - extract(epoch from '2026-05-31 14:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568537 -3.280334)', '2026-05-31 14:30:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568542 -3.280328)'), GeomFromEWKT('SRID=4674;POINT (-38.568537 -3.280334)'))) / (select extract(epoch from '2026-05-31 14:30:40'::timestamp) - extract(epoch from '2026-05-31 14:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568542 -3.280328)'), GeomFromEWKT('SRID=4674;POINT (-38.568537 -3.280334)'))) / (select extract(epoch from '2026-05-31 14:30:40'::timestamp) - extract(epoch from '2026-05-31 14:30: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'), 46535, 'SRID=4674;POINT (-38.56853 -3.280353)', '2026-05-31 14:30:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568537 -3.280334)'), GeomFromEWKT('SRID=4674;POINT (-38.56853 -3.280353)'))) / (select extract(epoch from '2026-05-31 14:30:42'::timestamp) - extract(epoch from '2026-05-31 14:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568537 -3.280334)'), GeomFromEWKT('SRID=4674;POINT (-38.56853 -3.280353)'))) / (select extract(epoch from '2026-05-31 14:30:42'::timestamp) - extract(epoch from '2026-05-31 14:30: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'), 46535, 'SRID=4674;POINT (-38.568528 -3.28037)', '2026-05-31 14:30:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56853 -3.280353)'), GeomFromEWKT('SRID=4674;POINT (-38.568528 -3.28037)'))) / (select extract(epoch from '2026-05-31 14:30:44'::timestamp) - extract(epoch from '2026-05-31 14:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56853 -3.280353)'), GeomFromEWKT('SRID=4674;POINT (-38.568528 -3.28037)'))) / (select extract(epoch from '2026-05-31 14:30:44'::timestamp) - extract(epoch from '2026-05-31 14:30: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'), 46535, 'SRID=4674;POINT (-38.568503 -3.280417)', '2026-05-31 14:30:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568528 -3.28037)'), GeomFromEWKT('SRID=4674;POINT (-38.568503 -3.280417)'))) / (select extract(epoch from '2026-05-31 14:30:51'::timestamp) - extract(epoch from '2026-05-31 14:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568528 -3.28037)'), GeomFromEWKT('SRID=4674;POINT (-38.568503 -3.280417)'))) / (select extract(epoch from '2026-05-31 14:30:51'::timestamp) - extract(epoch from '2026-05-31 14:30: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'), 46535, 'SRID=4674;POINT (-38.568479 -3.280473)', '2026-05-31 14:30:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568503 -3.280417)'), GeomFromEWKT('SRID=4674;POINT (-38.568479 -3.280473)'))) / (select extract(epoch from '2026-05-31 14:30:58'::timestamp) - extract(epoch from '2026-05-31 14:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568503 -3.280417)'), GeomFromEWKT('SRID=4674;POINT (-38.568479 -3.280473)'))) / (select extract(epoch from '2026-05-31 14:30:58'::timestamp) - extract(epoch from '2026-05-31 14:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568441 -3.280526)', '2026-05-31 14:31:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568479 -3.280473)'), GeomFromEWKT('SRID=4674;POINT (-38.568441 -3.280526)'))) / (select extract(epoch from '2026-05-31 14:31:06'::timestamp) - extract(epoch from '2026-05-31 14:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568479 -3.280473)'), GeomFromEWKT('SRID=4674;POINT (-38.568441 -3.280526)'))) / (select extract(epoch from '2026-05-31 14:31:06'::timestamp) - extract(epoch from '2026-05-31 14:30: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'), 46535, 'SRID=4674;POINT (-38.568436 -3.28055)', '2026-05-31 14:31:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568441 -3.280526)'), GeomFromEWKT('SRID=4674;POINT (-38.568436 -3.28055)'))) / (select extract(epoch from '2026-05-31 14:31:09'::timestamp) - extract(epoch from '2026-05-31 14:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568441 -3.280526)'), GeomFromEWKT('SRID=4674;POINT (-38.568436 -3.28055)'))) / (select extract(epoch from '2026-05-31 14:31:09'::timestamp) - extract(epoch from '2026-05-31 14:31:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568428 -3.280559)', '2026-05-31 14:31:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568436 -3.28055)'), GeomFromEWKT('SRID=4674;POINT (-38.568428 -3.280559)'))) / (select extract(epoch from '2026-05-31 14:31:11'::timestamp) - extract(epoch from '2026-05-31 14:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568436 -3.28055)'), GeomFromEWKT('SRID=4674;POINT (-38.568428 -3.280559)'))) / (select extract(epoch from '2026-05-31 14:31:11'::timestamp) - extract(epoch from '2026-05-31 14:31: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'), 46535, 'SRID=4674;POINT (-38.568412 -3.28059)', '2026-05-31 14:31:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568428 -3.280559)'), GeomFromEWKT('SRID=4674;POINT (-38.568412 -3.28059)'))) / (select extract(epoch from '2026-05-31 14:31:16'::timestamp) - extract(epoch from '2026-05-31 14:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568428 -3.280559)'), GeomFromEWKT('SRID=4674;POINT (-38.568412 -3.28059)'))) / (select extract(epoch from '2026-05-31 14:31:16'::timestamp) - extract(epoch from '2026-05-31 14:31: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'), 46535, 'SRID=4674;POINT (-38.568408 -3.280604)', '2026-05-31 14:31:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568412 -3.28059)'), GeomFromEWKT('SRID=4674;POINT (-38.568408 -3.280604)'))) / (select extract(epoch from '2026-05-31 14:31:18'::timestamp) - extract(epoch from '2026-05-31 14:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568412 -3.28059)'), GeomFromEWKT('SRID=4674;POINT (-38.568408 -3.280604)'))) / (select extract(epoch from '2026-05-31 14:31:18'::timestamp) - extract(epoch from '2026-05-31 14:31: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'), 46535, 'SRID=4674;POINT (-38.568402 -3.280697)', '2026-05-31 14:31:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568408 -3.280604)'), GeomFromEWKT('SRID=4674;POINT (-38.568402 -3.280697)'))) / (select extract(epoch from '2026-05-31 14:31:28'::timestamp) - extract(epoch from '2026-05-31 14:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568408 -3.280604)'), GeomFromEWKT('SRID=4674;POINT (-38.568402 -3.280697)'))) / (select extract(epoch from '2026-05-31 14:31:28'::timestamp) - extract(epoch from '2026-05-31 14:31: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'), 46535, 'SRID=4674;POINT (-38.568406 -3.280782)', '2026-05-31 14:31:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568402 -3.280697)'), GeomFromEWKT('SRID=4674;POINT (-38.568406 -3.280782)'))) / (select extract(epoch from '2026-05-31 14:31:35'::timestamp) - extract(epoch from '2026-05-31 14:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568402 -3.280697)'), GeomFromEWKT('SRID=4674;POINT (-38.568406 -3.280782)'))) / (select extract(epoch from '2026-05-31 14:31:35'::timestamp) - extract(epoch from '2026-05-31 14:31: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'), 46535, 'SRID=4674;POINT (-38.568413 -3.280818)', '2026-05-31 14:31:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568406 -3.280782)'), GeomFromEWKT('SRID=4674;POINT (-38.568413 -3.280818)'))) / (select extract(epoch from '2026-05-31 14:31:38'::timestamp) - extract(epoch from '2026-05-31 14:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568406 -3.280782)'), GeomFromEWKT('SRID=4674;POINT (-38.568413 -3.280818)'))) / (select extract(epoch from '2026-05-31 14:31:38'::timestamp) - extract(epoch from '2026-05-31 14:31: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'), 46535, 'SRID=4674;POINT (-38.568408 -3.280848)', '2026-05-31 14:31:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568413 -3.280818)'), GeomFromEWKT('SRID=4674;POINT (-38.568408 -3.280848)'))) / (select extract(epoch from '2026-05-31 14:31:41'::timestamp) - extract(epoch from '2026-05-31 14:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568413 -3.280818)'), GeomFromEWKT('SRID=4674;POINT (-38.568408 -3.280848)'))) / (select extract(epoch from '2026-05-31 14:31:41'::timestamp) - extract(epoch from '2026-05-31 14:31: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'), 46535, 'SRID=4674;POINT (-38.568396 -3.280935)', '2026-05-31 14:31:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568408 -3.280848)'), GeomFromEWKT('SRID=4674;POINT (-38.568396 -3.280935)'))) / (select extract(epoch from '2026-05-31 14:31:50'::timestamp) - extract(epoch from '2026-05-31 14:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568408 -3.280848)'), GeomFromEWKT('SRID=4674;POINT (-38.568396 -3.280935)'))) / (select extract(epoch from '2026-05-31 14:31:50'::timestamp) - extract(epoch from '2026-05-31 14:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568389 -3.280979)', '2026-05-31 14:31:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568396 -3.280935)'), GeomFromEWKT('SRID=4674;POINT (-38.568389 -3.280979)'))) / (select extract(epoch from '2026-05-31 14:31:55'::timestamp) - extract(epoch from '2026-05-31 14:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568396 -3.280935)'), GeomFromEWKT('SRID=4674;POINT (-38.568389 -3.280979)'))) / (select extract(epoch from '2026-05-31 14:31:55'::timestamp) - extract(epoch from '2026-05-31 14:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56839 -3.280989)', '2026-05-31 14:31:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568389 -3.280979)'), GeomFromEWKT('SRID=4674;POINT (-38.56839 -3.280989)'))) / (select extract(epoch from '2026-05-31 14:31:56'::timestamp) - extract(epoch from '2026-05-31 14:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568389 -3.280979)'), GeomFromEWKT('SRID=4674;POINT (-38.56839 -3.280989)'))) / (select extract(epoch from '2026-05-31 14:31:56'::timestamp) - extract(epoch from '2026-05-31 14:31: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'), 46535, 'SRID=4674;POINT (-38.568383 -3.281081)', '2026-05-31 14:32:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56839 -3.280989)'), GeomFromEWKT('SRID=4674;POINT (-38.568383 -3.281081)'))) / (select extract(epoch from '2026-05-31 14:32:04'::timestamp) - extract(epoch from '2026-05-31 14:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56839 -3.280989)'), GeomFromEWKT('SRID=4674;POINT (-38.568383 -3.281081)'))) / (select extract(epoch from '2026-05-31 14:32:04'::timestamp) - extract(epoch from '2026-05-31 14:31: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'), 46535, 'SRID=4674;POINT (-38.568383 -3.281167)', '2026-05-31 14:32:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568383 -3.281081)'), GeomFromEWKT('SRID=4674;POINT (-38.568383 -3.281167)'))) / (select extract(epoch from '2026-05-31 14:32:11'::timestamp) - extract(epoch from '2026-05-31 14:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568383 -3.281081)'), GeomFromEWKT('SRID=4674;POINT (-38.568383 -3.281167)'))) / (select extract(epoch from '2026-05-31 14:32:11'::timestamp) - extract(epoch from '2026-05-31 14:32: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'), 46535, 'SRID=4674;POINT (-38.568378 -3.281255)', '2026-05-31 14:32:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568383 -3.281167)'), GeomFromEWKT('SRID=4674;POINT (-38.568378 -3.281255)'))) / (select extract(epoch from '2026-05-31 14:32:19'::timestamp) - extract(epoch from '2026-05-31 14:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568383 -3.281167)'), GeomFromEWKT('SRID=4674;POINT (-38.568378 -3.281255)'))) / (select extract(epoch from '2026-05-31 14:32:19'::timestamp) - extract(epoch from '2026-05-31 14:32: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'), 46535, 'SRID=4674;POINT (-38.568369 -3.281337)', '2026-05-31 14:32:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568378 -3.281255)'), GeomFromEWKT('SRID=4674;POINT (-38.568369 -3.281337)'))) / (select extract(epoch from '2026-05-31 14:32:27'::timestamp) - extract(epoch from '2026-05-31 14:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568378 -3.281255)'), GeomFromEWKT('SRID=4674;POINT (-38.568369 -3.281337)'))) / (select extract(epoch from '2026-05-31 14:32:27'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568375 -3.281381)', '2026-05-31 14:32:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568369 -3.281337)'), GeomFromEWKT('SRID=4674;POINT (-38.568375 -3.281381)'))) / (select extract(epoch from '2026-05-31 14:32:32'::timestamp) - extract(epoch from '2026-05-31 14:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568369 -3.281337)'), GeomFromEWKT('SRID=4674;POINT (-38.568375 -3.281381)'))) / (select extract(epoch from '2026-05-31 14:32:32'::timestamp) - extract(epoch from '2026-05-31 14:32: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'), 46535, 'SRID=4674;POINT (-38.568379 -3.281433)', '2026-05-31 14:32:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568375 -3.281381)'), GeomFromEWKT('SRID=4674;POINT (-38.568379 -3.281433)'))) / (select extract(epoch from '2026-05-31 14:32:38'::timestamp) - extract(epoch from '2026-05-31 14:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568375 -3.281381)'), GeomFromEWKT('SRID=4674;POINT (-38.568379 -3.281433)'))) / (select extract(epoch from '2026-05-31 14:32:38'::timestamp) - extract(epoch from '2026-05-31 14:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56838 -3.281455)', '2026-05-31 14:32:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568379 -3.281433)'), GeomFromEWKT('SRID=4674;POINT (-38.56838 -3.281455)'))) / (select extract(epoch from '2026-05-31 14:32:40'::timestamp) - extract(epoch from '2026-05-31 14:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568379 -3.281433)'), GeomFromEWKT('SRID=4674;POINT (-38.56838 -3.281455)'))) / (select extract(epoch from '2026-05-31 14:32:40'::timestamp) - extract(epoch from '2026-05-31 14:32:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568377 -3.281495)', '2026-05-31 14:32:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56838 -3.281455)'), GeomFromEWKT('SRID=4674;POINT (-38.568377 -3.281495)'))) / (select extract(epoch from '2026-05-31 14:32:44'::timestamp) - extract(epoch from '2026-05-31 14:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56838 -3.281455)'), GeomFromEWKT('SRID=4674;POINT (-38.568377 -3.281495)'))) / (select extract(epoch from '2026-05-31 14:32:44'::timestamp) - extract(epoch from '2026-05-31 14:32: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'), 46535, 'SRID=4674;POINT (-38.568357 -3.281575)', '2026-05-31 14:32:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568377 -3.281495)'), GeomFromEWKT('SRID=4674;POINT (-38.568357 -3.281575)'))) / (select extract(epoch from '2026-05-31 14:32:52'::timestamp) - extract(epoch from '2026-05-31 14:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568377 -3.281495)'), GeomFromEWKT('SRID=4674;POINT (-38.568357 -3.281575)'))) / (select extract(epoch from '2026-05-31 14:32:52'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568346 -3.281626)', '2026-05-31 14:32:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568357 -3.281575)'), GeomFromEWKT('SRID=4674;POINT (-38.568346 -3.281626)'))) / (select extract(epoch from '2026-05-31 14:32:58'::timestamp) - extract(epoch from '2026-05-31 14:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568357 -3.281575)'), GeomFromEWKT('SRID=4674;POINT (-38.568346 -3.281626)'))) / (select extract(epoch from '2026-05-31 14:32:58'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568345 -3.281636)', '2026-05-31 14:32:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568346 -3.281626)'), GeomFromEWKT('SRID=4674;POINT (-38.568345 -3.281636)'))) / (select extract(epoch from '2026-05-31 14:32:59'::timestamp) - extract(epoch from '2026-05-31 14:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568346 -3.281626)'), GeomFromEWKT('SRID=4674;POINT (-38.568345 -3.281636)'))) / (select extract(epoch from '2026-05-31 14:32:59'::timestamp) - extract(epoch from '2026-05-31 14:32: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'), 46535, 'SRID=4674;POINT (-38.568337 -3.281682)', '2026-05-31 14:33:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568345 -3.281636)'), GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.281682)'))) / (select extract(epoch from '2026-05-31 14:33:04'::timestamp) - extract(epoch from '2026-05-31 14:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568345 -3.281636)'), GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.281682)'))) / (select extract(epoch from '2026-05-31 14:33:04'::timestamp) - extract(epoch from '2026-05-31 14:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568335 -3.281688)', '2026-05-31 14:33:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.281682)'), GeomFromEWKT('SRID=4674;POINT (-38.568335 -3.281688)'))) / (select extract(epoch from '2026-05-31 14:33:05'::timestamp) - extract(epoch from '2026-05-31 14:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.281682)'), GeomFromEWKT('SRID=4674;POINT (-38.568335 -3.281688)'))) / (select extract(epoch from '2026-05-31 14:33:05'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568327 -3.281754)', '2026-05-31 14:33:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568335 -3.281688)'), GeomFromEWKT('SRID=4674;POINT (-38.568327 -3.281754)'))) / (select extract(epoch from '2026-05-31 14:33:12'::timestamp) - extract(epoch from '2026-05-31 14:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568335 -3.281688)'), GeomFromEWKT('SRID=4674;POINT (-38.568327 -3.281754)'))) / (select extract(epoch from '2026-05-31 14:33:12'::timestamp) - extract(epoch from '2026-05-31 14:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568322 -3.281831)', '2026-05-31 14:33:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568327 -3.281754)'), GeomFromEWKT('SRID=4674;POINT (-38.568322 -3.281831)'))) / (select extract(epoch from '2026-05-31 14:33:20'::timestamp) - extract(epoch from '2026-05-31 14:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568327 -3.281754)'), GeomFromEWKT('SRID=4674;POINT (-38.568322 -3.281831)'))) / (select extract(epoch from '2026-05-31 14:33:20'::timestamp) - extract(epoch from '2026-05-31 14:33: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'), 46535, 'SRID=4674;POINT (-38.568325 -3.281923)', '2026-05-31 14:33:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568322 -3.281831)'), GeomFromEWKT('SRID=4674;POINT (-38.568325 -3.281923)'))) / (select extract(epoch from '2026-05-31 14:33:28'::timestamp) - extract(epoch from '2026-05-31 14:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568322 -3.281831)'), GeomFromEWKT('SRID=4674;POINT (-38.568325 -3.281923)'))) / (select extract(epoch from '2026-05-31 14:33:28'::timestamp) - extract(epoch from '2026-05-31 14:33: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'), 46535, 'SRID=4674;POINT (-38.56832 -3.281993)', '2026-05-31 14:33:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568325 -3.281923)'), GeomFromEWKT('SRID=4674;POINT (-38.56832 -3.281993)'))) / (select extract(epoch from '2026-05-31 14:33:34'::timestamp) - extract(epoch from '2026-05-31 14:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568325 -3.281923)'), GeomFromEWKT('SRID=4674;POINT (-38.56832 -3.281993)'))) / (select extract(epoch from '2026-05-31 14:33:34'::timestamp) - extract(epoch from '2026-05-31 14:33: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'), 46535, 'SRID=4674;POINT (-38.568322 -3.282062)', '2026-05-31 14:33:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56832 -3.281993)'), GeomFromEWKT('SRID=4674;POINT (-38.568322 -3.282062)'))) / (select extract(epoch from '2026-05-31 14:33:40'::timestamp) - extract(epoch from '2026-05-31 14:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56832 -3.281993)'), GeomFromEWKT('SRID=4674;POINT (-38.568322 -3.282062)'))) / (select extract(epoch from '2026-05-31 14:33:40'::timestamp) - extract(epoch from '2026-05-31 14:33: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'), 46535, 'SRID=4674;POINT (-38.568326 -3.282091)', '2026-05-31 14:33:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568322 -3.282062)'), GeomFromEWKT('SRID=4674;POINT (-38.568326 -3.282091)'))) / (select extract(epoch from '2026-05-31 14:33:43'::timestamp) - extract(epoch from '2026-05-31 14:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568322 -3.282062)'), GeomFromEWKT('SRID=4674;POINT (-38.568326 -3.282091)'))) / (select extract(epoch from '2026-05-31 14:33:43'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568329 -3.282133)', '2026-05-31 14:33:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568326 -3.282091)'), GeomFromEWKT('SRID=4674;POINT (-38.568329 -3.282133)'))) / (select extract(epoch from '2026-05-31 14:33:47'::timestamp) - extract(epoch from '2026-05-31 14:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568326 -3.282091)'), GeomFromEWKT('SRID=4674;POINT (-38.568329 -3.282133)'))) / (select extract(epoch from '2026-05-31 14:33:47'::timestamp) - extract(epoch from '2026-05-31 14:33: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'), 46535, 'SRID=4674;POINT (-38.56834 -3.282178)', '2026-05-31 14:33:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568329 -3.282133)'), GeomFromEWKT('SRID=4674;POINT (-38.56834 -3.282178)'))) / (select extract(epoch from '2026-05-31 14:33:52'::timestamp) - extract(epoch from '2026-05-31 14:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568329 -3.282133)'), GeomFromEWKT('SRID=4674;POINT (-38.56834 -3.282178)'))) / (select extract(epoch from '2026-05-31 14:33:52'::timestamp) - extract(epoch from '2026-05-31 14:33: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'), 46535, 'SRID=4674;POINT (-38.568341 -3.282215)', '2026-05-31 14:33:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56834 -3.282178)'), GeomFromEWKT('SRID=4674;POINT (-38.568341 -3.282215)'))) / (select extract(epoch from '2026-05-31 14:33:55'::timestamp) - extract(epoch from '2026-05-31 14:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56834 -3.282178)'), GeomFromEWKT('SRID=4674;POINT (-38.568341 -3.282215)'))) / (select extract(epoch from '2026-05-31 14:33:55'::timestamp) - extract(epoch from '2026-05-31 14:33: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'), 46535, 'SRID=4674;POINT (-38.568337 -3.282274)', '2026-05-31 14:34:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568341 -3.282215)'), GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.282274)'))) / (select extract(epoch from '2026-05-31 14:34:00'::timestamp) - extract(epoch from '2026-05-31 14:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568341 -3.282215)'), GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.282274)'))) / (select extract(epoch from '2026-05-31 14:34:00'::timestamp) - extract(epoch from '2026-05-31 14:33: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'), 46535, 'SRID=4674;POINT (-38.568342 -3.2823)', '2026-05-31 14:34:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.282274)'), GeomFromEWKT('SRID=4674;POINT (-38.568342 -3.2823)'))) / (select extract(epoch from '2026-05-31 14:34:02'::timestamp) - extract(epoch from '2026-05-31 14:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.282274)'), GeomFromEWKT('SRID=4674;POINT (-38.568342 -3.2823)'))) / (select extract(epoch from '2026-05-31 14:34:02'::timestamp) - extract(epoch from '2026-05-31 14:34: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'), 46535, 'SRID=4674;POINT (-38.568354 -3.282389)', '2026-05-31 14:34:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568342 -3.2823)'), GeomFromEWKT('SRID=4674;POINT (-38.568354 -3.282389)'))) / (select extract(epoch from '2026-05-31 14:34:09'::timestamp) - extract(epoch from '2026-05-31 14:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568342 -3.2823)'), GeomFromEWKT('SRID=4674;POINT (-38.568354 -3.282389)'))) / (select extract(epoch from '2026-05-31 14:34:09'::timestamp) - extract(epoch from '2026-05-31 14:34: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'), 46535, 'SRID=4674;POINT (-38.568355 -3.282412)', '2026-05-31 14:34:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568354 -3.282389)'), GeomFromEWKT('SRID=4674;POINT (-38.568355 -3.282412)'))) / (select extract(epoch from '2026-05-31 14:34:11'::timestamp) - extract(epoch from '2026-05-31 14:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568354 -3.282389)'), GeomFromEWKT('SRID=4674;POINT (-38.568355 -3.282412)'))) / (select extract(epoch from '2026-05-31 14:34:11'::timestamp) - extract(epoch from '2026-05-31 14:34: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'), 46535, 'SRID=4674;POINT (-38.568359 -3.282447)', '2026-05-31 14:34:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568355 -3.282412)'), GeomFromEWKT('SRID=4674;POINT (-38.568359 -3.282447)'))) / (select extract(epoch from '2026-05-31 14:34:14'::timestamp) - extract(epoch from '2026-05-31 14:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568355 -3.282412)'), GeomFromEWKT('SRID=4674;POINT (-38.568359 -3.282447)'))) / (select extract(epoch from '2026-05-31 14:34:14'::timestamp) - extract(epoch from '2026-05-31 14:34: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'), 46535, 'SRID=4674;POINT (-38.568361 -3.282523)', '2026-05-31 14:34:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568359 -3.282447)'), GeomFromEWKT('SRID=4674;POINT (-38.568361 -3.282523)'))) / (select extract(epoch from '2026-05-31 14:34:20'::timestamp) - extract(epoch from '2026-05-31 14:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568359 -3.282447)'), GeomFromEWKT('SRID=4674;POINT (-38.568361 -3.282523)'))) / (select extract(epoch from '2026-05-31 14:34:20'::timestamp) - extract(epoch from '2026-05-31 14:34:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568358 -3.282533)', '2026-05-31 14:34:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568361 -3.282523)'), GeomFromEWKT('SRID=4674;POINT (-38.568358 -3.282533)'))) / (select extract(epoch from '2026-05-31 14:34:21'::timestamp) - extract(epoch from '2026-05-31 14:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568361 -3.282523)'), GeomFromEWKT('SRID=4674;POINT (-38.568358 -3.282533)'))) / (select extract(epoch from '2026-05-31 14:34:21'::timestamp) - extract(epoch from '2026-05-31 14:34: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'), 46535, 'SRID=4674;POINT (-38.568353 -3.282554)', '2026-05-31 14:34:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568358 -3.282533)'), GeomFromEWKT('SRID=4674;POINT (-38.568353 -3.282554)'))) / (select extract(epoch from '2026-05-31 14:34:23'::timestamp) - extract(epoch from '2026-05-31 14:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568358 -3.282533)'), GeomFromEWKT('SRID=4674;POINT (-38.568353 -3.282554)'))) / (select extract(epoch from '2026-05-31 14:34:23'::timestamp) - extract(epoch from '2026-05-31 14:34: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'), 46535, 'SRID=4674;POINT (-38.568369 -3.282575)', '2026-05-31 14:34:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568353 -3.282554)'), GeomFromEWKT('SRID=4674;POINT (-38.568369 -3.282575)'))) / (select extract(epoch from '2026-05-31 14:34:25'::timestamp) - extract(epoch from '2026-05-31 14:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568353 -3.282554)'), GeomFromEWKT('SRID=4674;POINT (-38.568369 -3.282575)'))) / (select extract(epoch from '2026-05-31 14:34:25'::timestamp) - extract(epoch from '2026-05-31 14:34: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'), 46535, 'SRID=4674;POINT (-38.56837 -3.282615)', '2026-05-31 14:34:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568369 -3.282575)'), GeomFromEWKT('SRID=4674;POINT (-38.56837 -3.282615)'))) / (select extract(epoch from '2026-05-31 14:34:29'::timestamp) - extract(epoch from '2026-05-31 14:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568369 -3.282575)'), GeomFromEWKT('SRID=4674;POINT (-38.56837 -3.282615)'))) / (select extract(epoch from '2026-05-31 14:34:29'::timestamp) - extract(epoch from '2026-05-31 14:34: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'), 46535, 'SRID=4674;POINT (-38.568377 -3.282624)', '2026-05-31 14:34:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56837 -3.282615)'), GeomFromEWKT('SRID=4674;POINT (-38.568377 -3.282624)'))) / (select extract(epoch from '2026-05-31 14:34:30'::timestamp) - extract(epoch from '2026-05-31 14:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56837 -3.282615)'), GeomFromEWKT('SRID=4674;POINT (-38.568377 -3.282624)'))) / (select extract(epoch from '2026-05-31 14:34:30'::timestamp) - extract(epoch from '2026-05-31 14:34:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568377 -3.282645)', '2026-05-31 14:34:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568377 -3.282624)'), GeomFromEWKT('SRID=4674;POINT (-38.568377 -3.282645)'))) / (select extract(epoch from '2026-05-31 14:34:32'::timestamp) - extract(epoch from '2026-05-31 14:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568377 -3.282624)'), GeomFromEWKT('SRID=4674;POINT (-38.568377 -3.282645)'))) / (select extract(epoch from '2026-05-31 14:34:32'::timestamp) - extract(epoch from '2026-05-31 14:34: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'), 46535, 'SRID=4674;POINT (-38.568383 -3.282678)', '2026-05-31 14:34:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568377 -3.282645)'), GeomFromEWKT('SRID=4674;POINT (-38.568383 -3.282678)'))) / (select extract(epoch from '2026-05-31 14:34:35'::timestamp) - extract(epoch from '2026-05-31 14:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568377 -3.282645)'), GeomFromEWKT('SRID=4674;POINT (-38.568383 -3.282678)'))) / (select extract(epoch from '2026-05-31 14:34:35'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.56838 -3.28269)', '2026-05-31 14:34:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568383 -3.282678)'), GeomFromEWKT('SRID=4674;POINT (-38.56838 -3.28269)'))) / (select extract(epoch from '2026-05-31 14:34:36'::timestamp) - extract(epoch from '2026-05-31 14:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568383 -3.282678)'), GeomFromEWKT('SRID=4674;POINT (-38.56838 -3.28269)'))) / (select extract(epoch from '2026-05-31 14:34:36'::timestamp) - extract(epoch from '2026-05-31 14:34:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568376 -3.28275)', '2026-05-31 14:34:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56838 -3.28269)'), GeomFromEWKT('SRID=4674;POINT (-38.568376 -3.28275)'))) / (select extract(epoch from '2026-05-31 14:34:41'::timestamp) - extract(epoch from '2026-05-31 14:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56838 -3.28269)'), GeomFromEWKT('SRID=4674;POINT (-38.568376 -3.28275)'))) / (select extract(epoch from '2026-05-31 14:34:41'::timestamp) - extract(epoch from '2026-05-31 14:34: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'), 46535, 'SRID=4674;POINT (-38.568364 -3.282828)', '2026-05-31 14:34:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568376 -3.28275)'), GeomFromEWKT('SRID=4674;POINT (-38.568364 -3.282828)'))) / (select extract(epoch from '2026-05-31 14:34:48'::timestamp) - extract(epoch from '2026-05-31 14:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568376 -3.28275)'), GeomFromEWKT('SRID=4674;POINT (-38.568364 -3.282828)'))) / (select extract(epoch from '2026-05-31 14:34:48'::timestamp) - extract(epoch from '2026-05-31 14:34:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568355 -3.282905)', '2026-05-31 14:34:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568364 -3.282828)'), GeomFromEWKT('SRID=4674;POINT (-38.568355 -3.282905)'))) / (select extract(epoch from '2026-05-31 14:34:54'::timestamp) - extract(epoch from '2026-05-31 14:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568364 -3.282828)'), GeomFromEWKT('SRID=4674;POINT (-38.568355 -3.282905)'))) / (select extract(epoch from '2026-05-31 14:34:54'::timestamp) - extract(epoch from '2026-05-31 14:34:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568347 -3.28296)', '2026-05-31 14:34:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568355 -3.282905)'), GeomFromEWKT('SRID=4674;POINT (-38.568347 -3.28296)'))) / (select extract(epoch from '2026-05-31 14:34:59'::timestamp) - extract(epoch from '2026-05-31 14:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568355 -3.282905)'), GeomFromEWKT('SRID=4674;POINT (-38.568347 -3.28296)'))) / (select extract(epoch from '2026-05-31 14:34:59'::timestamp) - extract(epoch from '2026-05-31 14:34: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'), 46535, 'SRID=4674;POINT (-38.568345 -3.282975)', '2026-05-31 14:35:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568347 -3.28296)'), GeomFromEWKT('SRID=4674;POINT (-38.568345 -3.282975)'))) / (select extract(epoch from '2026-05-31 14:35:01'::timestamp) - extract(epoch from '2026-05-31 14:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568347 -3.28296)'), GeomFromEWKT('SRID=4674;POINT (-38.568345 -3.282975)'))) / (select extract(epoch from '2026-05-31 14:35:01'::timestamp) - extract(epoch from '2026-05-31 14:34: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'), 46535, 'SRID=4674;POINT (-38.568344 -3.283047)', '2026-05-31 14:35:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568345 -3.282975)'), GeomFromEWKT('SRID=4674;POINT (-38.568344 -3.283047)'))) / (select extract(epoch from '2026-05-31 14:35:08'::timestamp) - extract(epoch from '2026-05-31 14:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568345 -3.282975)'), GeomFromEWKT('SRID=4674;POINT (-38.568344 -3.283047)'))) / (select extract(epoch from '2026-05-31 14:35:08'::timestamp) - extract(epoch from '2026-05-31 14:35: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'), 46535, 'SRID=4674;POINT (-38.568342 -3.283131)', '2026-05-31 14:35:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568344 -3.283047)'), GeomFromEWKT('SRID=4674;POINT (-38.568342 -3.283131)'))) / (select extract(epoch from '2026-05-31 14:35:16'::timestamp) - extract(epoch from '2026-05-31 14:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568344 -3.283047)'), GeomFromEWKT('SRID=4674;POINT (-38.568342 -3.283131)'))) / (select extract(epoch from '2026-05-31 14:35:16'::timestamp) - extract(epoch from '2026-05-31 14:35: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'), 46535, 'SRID=4674;POINT (-38.568337 -3.283193)', '2026-05-31 14:35:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568342 -3.283131)'), GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.283193)'))) / (select extract(epoch from '2026-05-31 14:35:22'::timestamp) - extract(epoch from '2026-05-31 14:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568342 -3.283131)'), GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.283193)'))) / (select extract(epoch from '2026-05-31 14:35:22'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568337 -3.283243)', '2026-05-31 14:35:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.283193)'), GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.283243)'))) / (select extract(epoch from '2026-05-31 14:35:28'::timestamp) - extract(epoch from '2026-05-31 14:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.283193)'), GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.283243)'))) / (select extract(epoch from '2026-05-31 14:35:28'::timestamp) - extract(epoch from '2026-05-31 14:35:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56834 -3.283269)', '2026-05-31 14:35:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.283243)'), GeomFromEWKT('SRID=4674;POINT (-38.56834 -3.283269)'))) / (select extract(epoch from '2026-05-31 14:35:31'::timestamp) - extract(epoch from '2026-05-31 14:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.283243)'), GeomFromEWKT('SRID=4674;POINT (-38.56834 -3.283269)'))) / (select extract(epoch from '2026-05-31 14:35:31'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568331 -3.28329)', '2026-05-31 14:35:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56834 -3.283269)'), GeomFromEWKT('SRID=4674;POINT (-38.568331 -3.28329)'))) / (select extract(epoch from '2026-05-31 14:35:34'::timestamp) - extract(epoch from '2026-05-31 14:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56834 -3.283269)'), GeomFromEWKT('SRID=4674;POINT (-38.568331 -3.28329)'))) / (select extract(epoch from '2026-05-31 14:35:34'::timestamp) - extract(epoch from '2026-05-31 14:35: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'), 46535, 'SRID=4674;POINT (-38.568328 -3.283319)', '2026-05-31 14:35:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568331 -3.28329)'), GeomFromEWKT('SRID=4674;POINT (-38.568328 -3.283319)'))) / (select extract(epoch from '2026-05-31 14:35:37'::timestamp) - extract(epoch from '2026-05-31 14:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568331 -3.28329)'), GeomFromEWKT('SRID=4674;POINT (-38.568328 -3.283319)'))) / (select extract(epoch from '2026-05-31 14:35:37'::timestamp) - extract(epoch from '2026-05-31 14:35: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'), 46535, 'SRID=4674;POINT (-38.568326 -3.283344)', '2026-05-31 14:35:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568328 -3.283319)'), GeomFromEWKT('SRID=4674;POINT (-38.568326 -3.283344)'))) / (select extract(epoch from '2026-05-31 14:35:40'::timestamp) - extract(epoch from '2026-05-31 14:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568328 -3.283319)'), GeomFromEWKT('SRID=4674;POINT (-38.568326 -3.283344)'))) / (select extract(epoch from '2026-05-31 14:35:40'::timestamp) - extract(epoch from '2026-05-31 14:35: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'), 46535, 'SRID=4674;POINT (-38.568315 -3.28342)', '2026-05-31 14:35:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568326 -3.283344)'), GeomFromEWKT('SRID=4674;POINT (-38.568315 -3.28342)'))) / (select extract(epoch from '2026-05-31 14:35:49'::timestamp) - extract(epoch from '2026-05-31 14:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568326 -3.283344)'), GeomFromEWKT('SRID=4674;POINT (-38.568315 -3.28342)'))) / (select extract(epoch from '2026-05-31 14:35:49'::timestamp) - extract(epoch from '2026-05-31 14:35: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'), 46535, 'SRID=4674;POINT (-38.5683 -3.283516)', '2026-05-31 14:36:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568315 -3.28342)'), GeomFromEWKT('SRID=4674;POINT (-38.5683 -3.283516)'))) / (select extract(epoch from '2026-05-31 14:36:00'::timestamp) - extract(epoch from '2026-05-31 14:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568315 -3.28342)'), GeomFromEWKT('SRID=4674;POINT (-38.5683 -3.283516)'))) / (select extract(epoch from '2026-05-31 14:36:00'::timestamp) - extract(epoch from '2026-05-31 14:35: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'), 46535, 'SRID=4674;POINT (-38.568283 -3.283602)', '2026-05-31 14:36:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5683 -3.283516)'), GeomFromEWKT('SRID=4674;POINT (-38.568283 -3.283602)'))) / (select extract(epoch from '2026-05-31 14:36:09'::timestamp) - extract(epoch from '2026-05-31 14:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5683 -3.283516)'), GeomFromEWKT('SRID=4674;POINT (-38.568283 -3.283602)'))) / (select extract(epoch from '2026-05-31 14:36:09'::timestamp) - extract(epoch from '2026-05-31 14:36: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'), 46535, 'SRID=4674;POINT (-38.568276 -3.283674)', '2026-05-31 14:36:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568283 -3.283602)'), GeomFromEWKT('SRID=4674;POINT (-38.568276 -3.283674)'))) / (select extract(epoch from '2026-05-31 14:36:16'::timestamp) - extract(epoch from '2026-05-31 14:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568283 -3.283602)'), GeomFromEWKT('SRID=4674;POINT (-38.568276 -3.283674)'))) / (select extract(epoch from '2026-05-31 14:36:16'::timestamp) - extract(epoch from '2026-05-31 14:36: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'), 46535, 'SRID=4674;POINT (-38.568264 -3.283759)', '2026-05-31 14:36:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568276 -3.283674)'), GeomFromEWKT('SRID=4674;POINT (-38.568264 -3.283759)'))) / (select extract(epoch from '2026-05-31 14:36:24'::timestamp) - extract(epoch from '2026-05-31 14:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568276 -3.283674)'), GeomFromEWKT('SRID=4674;POINT (-38.568264 -3.283759)'))) / (select extract(epoch from '2026-05-31 14:36:24'::timestamp) - extract(epoch from '2026-05-31 14:36: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'), 46535, 'SRID=4674;POINT (-38.568252 -3.283837)', '2026-05-31 14:36:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568264 -3.283759)'), GeomFromEWKT('SRID=4674;POINT (-38.568252 -3.283837)'))) / (select extract(epoch from '2026-05-31 14:36:31'::timestamp) - extract(epoch from '2026-05-31 14:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568264 -3.283759)'), GeomFromEWKT('SRID=4674;POINT (-38.568252 -3.283837)'))) / (select extract(epoch from '2026-05-31 14:36:31'::timestamp) - extract(epoch from '2026-05-31 14:36: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'), 46535, 'SRID=4674;POINT (-38.568244 -3.28387)', '2026-05-31 14:36:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568252 -3.283837)'), GeomFromEWKT('SRID=4674;POINT (-38.568244 -3.28387)'))) / (select extract(epoch from '2026-05-31 14:36:34'::timestamp) - extract(epoch from '2026-05-31 14:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568252 -3.283837)'), GeomFromEWKT('SRID=4674;POINT (-38.568244 -3.28387)'))) / (select extract(epoch from '2026-05-31 14:36:34'::timestamp) - extract(epoch from '2026-05-31 14:36: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'), 46535, 'SRID=4674;POINT (-38.568242 -3.283899)', '2026-05-31 14:36:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568244 -3.28387)'), GeomFromEWKT('SRID=4674;POINT (-38.568242 -3.283899)'))) / (select extract(epoch from '2026-05-31 14:36:37'::timestamp) - extract(epoch from '2026-05-31 14:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568244 -3.28387)'), GeomFromEWKT('SRID=4674;POINT (-38.568242 -3.283899)'))) / (select extract(epoch from '2026-05-31 14:36:37'::timestamp) - extract(epoch from '2026-05-31 14:36: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'), 46535, 'SRID=4674;POINT (-38.568238 -3.28391)', '2026-05-31 14:36:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568242 -3.283899)'), GeomFromEWKT('SRID=4674;POINT (-38.568238 -3.28391)'))) / (select extract(epoch from '2026-05-31 14:36:38'::timestamp) - extract(epoch from '2026-05-31 14:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568242 -3.283899)'), GeomFromEWKT('SRID=4674;POINT (-38.568238 -3.28391)'))) / (select extract(epoch from '2026-05-31 14:36:38'::timestamp) - extract(epoch from '2026-05-31 14:36: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'), 46535, 'SRID=4674;POINT (-38.568222 -3.283942)', '2026-05-31 14:36:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568238 -3.28391)'), GeomFromEWKT('SRID=4674;POINT (-38.568222 -3.283942)'))) / (select extract(epoch from '2026-05-31 14:36:41'::timestamp) - extract(epoch from '2026-05-31 14:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568238 -3.28391)'), GeomFromEWKT('SRID=4674;POINT (-38.568222 -3.283942)'))) / (select extract(epoch from '2026-05-31 14:36:41'::timestamp) - extract(epoch from '2026-05-31 14:36: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'), 46535, 'SRID=4674;POINT (-38.568222 -3.283955)', '2026-05-31 14:36:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568222 -3.283942)'), GeomFromEWKT('SRID=4674;POINT (-38.568222 -3.283955)'))) / (select extract(epoch from '2026-05-31 14:36:42'::timestamp) - extract(epoch from '2026-05-31 14:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568222 -3.283942)'), GeomFromEWKT('SRID=4674;POINT (-38.568222 -3.283955)'))) / (select extract(epoch from '2026-05-31 14:36:42'::timestamp) - extract(epoch from '2026-05-31 14:36: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'), 46535, 'SRID=4674;POINT (-38.568221 -3.283967)', '2026-05-31 14:36:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568222 -3.283955)'), GeomFromEWKT('SRID=4674;POINT (-38.568221 -3.283967)'))) / (select extract(epoch from '2026-05-31 14:36:43'::timestamp) - extract(epoch from '2026-05-31 14:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568222 -3.283955)'), GeomFromEWKT('SRID=4674;POINT (-38.568221 -3.283967)'))) / (select extract(epoch from '2026-05-31 14:36:43'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568199 -3.283999)', '2026-05-31 14:36:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568221 -3.283967)'), GeomFromEWKT('SRID=4674;POINT (-38.568199 -3.283999)'))) / (select extract(epoch from '2026-05-31 14:36:47'::timestamp) - extract(epoch from '2026-05-31 14:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568221 -3.283967)'), GeomFromEWKT('SRID=4674;POINT (-38.568199 -3.283999)'))) / (select extract(epoch from '2026-05-31 14:36:47'::timestamp) - extract(epoch from '2026-05-31 14:36: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'), 46535, 'SRID=4674;POINT (-38.568185 -3.284029)', '2026-05-31 14:36:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568199 -3.283999)'), GeomFromEWKT('SRID=4674;POINT (-38.568185 -3.284029)'))) / (select extract(epoch from '2026-05-31 14:36:51'::timestamp) - extract(epoch from '2026-05-31 14:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568199 -3.283999)'), GeomFromEWKT('SRID=4674;POINT (-38.568185 -3.284029)'))) / (select extract(epoch from '2026-05-31 14:36:51'::timestamp) - extract(epoch from '2026-05-31 14:36: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'), 46535, 'SRID=4674;POINT (-38.568175 -3.284048)', '2026-05-31 14:36:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568185 -3.284029)'), GeomFromEWKT('SRID=4674;POINT (-38.568175 -3.284048)'))) / (select extract(epoch from '2026-05-31 14:36:53'::timestamp) - extract(epoch from '2026-05-31 14:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568185 -3.284029)'), GeomFromEWKT('SRID=4674;POINT (-38.568175 -3.284048)'))) / (select extract(epoch from '2026-05-31 14:36:53'::timestamp) - extract(epoch from '2026-05-31 14:36: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'), 46535, 'SRID=4674;POINT (-38.568174 -3.284064)', '2026-05-31 14:36:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568175 -3.284048)'), GeomFromEWKT('SRID=4674;POINT (-38.568174 -3.284064)'))) / (select extract(epoch from '2026-05-31 14:36:55'::timestamp) - extract(epoch from '2026-05-31 14:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568175 -3.284048)'), GeomFromEWKT('SRID=4674;POINT (-38.568174 -3.284064)'))) / (select extract(epoch from '2026-05-31 14:36:55'::timestamp) - extract(epoch from '2026-05-31 14:36: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'), 46535, 'SRID=4674;POINT (-38.568166 -3.284084)', '2026-05-31 14:36:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568174 -3.284064)'), GeomFromEWKT('SRID=4674;POINT (-38.568166 -3.284084)'))) / (select extract(epoch from '2026-05-31 14:36:58'::timestamp) - extract(epoch from '2026-05-31 14:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568174 -3.284064)'), GeomFromEWKT('SRID=4674;POINT (-38.568166 -3.284084)'))) / (select extract(epoch from '2026-05-31 14:36:58'::timestamp) - extract(epoch from '2026-05-31 14:36: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'), 46535, 'SRID=4674;POINT (-38.568166 -3.284092)', '2026-05-31 14:36:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568166 -3.284084)'), GeomFromEWKT('SRID=4674;POINT (-38.568166 -3.284092)'))) / (select extract(epoch from '2026-05-31 14:36:59'::timestamp) - extract(epoch from '2026-05-31 14:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568166 -3.284084)'), GeomFromEWKT('SRID=4674;POINT (-38.568166 -3.284092)'))) / (select extract(epoch from '2026-05-31 14:36:59'::timestamp) - extract(epoch from '2026-05-31 14:36: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'), 46535, 'SRID=4674;POINT (-38.568149 -3.28413)', '2026-05-31 14:37:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568166 -3.284092)'), GeomFromEWKT('SRID=4674;POINT (-38.568149 -3.28413)'))) / (select extract(epoch from '2026-05-31 14:37:04'::timestamp) - extract(epoch from '2026-05-31 14:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568166 -3.284092)'), GeomFromEWKT('SRID=4674;POINT (-38.568149 -3.28413)'))) / (select extract(epoch from '2026-05-31 14:37:04'::timestamp) - extract(epoch from '2026-05-31 14:36:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568122 -3.284202)', '2026-05-31 14:37:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568149 -3.28413)'), GeomFromEWKT('SRID=4674;POINT (-38.568122 -3.284202)'))) / (select extract(epoch from '2026-05-31 14:37:12'::timestamp) - extract(epoch from '2026-05-31 14:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568149 -3.28413)'), GeomFromEWKT('SRID=4674;POINT (-38.568122 -3.284202)'))) / (select extract(epoch from '2026-05-31 14:37:12'::timestamp) - extract(epoch from '2026-05-31 14:37: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'), 46535, 'SRID=4674;POINT (-38.568103 -3.284276)', '2026-05-31 14:37:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568122 -3.284202)'), GeomFromEWKT('SRID=4674;POINT (-38.568103 -3.284276)'))) / (select extract(epoch from '2026-05-31 14:37:19'::timestamp) - extract(epoch from '2026-05-31 14:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568122 -3.284202)'), GeomFromEWKT('SRID=4674;POINT (-38.568103 -3.284276)'))) / (select extract(epoch from '2026-05-31 14:37:19'::timestamp) - extract(epoch from '2026-05-31 14:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568075 -3.284348)', '2026-05-31 14:37:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568103 -3.284276)'), GeomFromEWKT('SRID=4674;POINT (-38.568075 -3.284348)'))) / (select extract(epoch from '2026-05-31 14:37:27'::timestamp) - extract(epoch from '2026-05-31 14:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568103 -3.284276)'), GeomFromEWKT('SRID=4674;POINT (-38.568075 -3.284348)'))) / (select extract(epoch from '2026-05-31 14:37:27'::timestamp) - extract(epoch from '2026-05-31 14:37:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568052 -3.284416)', '2026-05-31 14:37:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568075 -3.284348)'), GeomFromEWKT('SRID=4674;POINT (-38.568052 -3.284416)'))) / (select extract(epoch from '2026-05-31 14:37:35'::timestamp) - extract(epoch from '2026-05-31 14:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568075 -3.284348)'), GeomFromEWKT('SRID=4674;POINT (-38.568052 -3.284416)'))) / (select extract(epoch from '2026-05-31 14:37:35'::timestamp) - extract(epoch from '2026-05-31 14:37: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'), 46535, 'SRID=4674;POINT (-38.568046 -3.284486)', '2026-05-31 14:37:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568052 -3.284416)'), GeomFromEWKT('SRID=4674;POINT (-38.568046 -3.284486)'))) / (select extract(epoch from '2026-05-31 14:37:43'::timestamp) - extract(epoch from '2026-05-31 14:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568052 -3.284416)'), GeomFromEWKT('SRID=4674;POINT (-38.568046 -3.284486)'))) / (select extract(epoch from '2026-05-31 14:37:43'::timestamp) - extract(epoch from '2026-05-31 14:37: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'), 46535, 'SRID=4674;POINT (-38.568045 -3.284507)', '2026-05-31 14:37:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568046 -3.284486)'), GeomFromEWKT('SRID=4674;POINT (-38.568045 -3.284507)'))) / (select extract(epoch from '2026-05-31 14:37:45'::timestamp) - extract(epoch from '2026-05-31 14:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568046 -3.284486)'), GeomFromEWKT('SRID=4674;POINT (-38.568045 -3.284507)'))) / (select extract(epoch from '2026-05-31 14:37:45'::timestamp) - extract(epoch from '2026-05-31 14:37: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'), 46535, 'SRID=4674;POINT (-38.568037 -3.284545)', '2026-05-31 14:37:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568045 -3.284507)'), GeomFromEWKT('SRID=4674;POINT (-38.568037 -3.284545)'))) / (select extract(epoch from '2026-05-31 14:37:49'::timestamp) - extract(epoch from '2026-05-31 14:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568045 -3.284507)'), GeomFromEWKT('SRID=4674;POINT (-38.568037 -3.284545)'))) / (select extract(epoch from '2026-05-31 14:37:49'::timestamp) - extract(epoch from '2026-05-31 14:37:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568041 -3.284556)', '2026-05-31 14:37:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568037 -3.284545)'), GeomFromEWKT('SRID=4674;POINT (-38.568041 -3.284556)'))) / (select extract(epoch from '2026-05-31 14:37:50'::timestamp) - extract(epoch from '2026-05-31 14:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568037 -3.284545)'), GeomFromEWKT('SRID=4674;POINT (-38.568041 -3.284556)'))) / (select extract(epoch from '2026-05-31 14:37:50'::timestamp) - extract(epoch from '2026-05-31 14:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568041 -3.284578)', '2026-05-31 14:37:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568041 -3.284556)'), GeomFromEWKT('SRID=4674;POINT (-38.568041 -3.284578)'))) / (select extract(epoch from '2026-05-31 14:37:52'::timestamp) - extract(epoch from '2026-05-31 14:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568041 -3.284556)'), GeomFromEWKT('SRID=4674;POINT (-38.568041 -3.284578)'))) / (select extract(epoch from '2026-05-31 14:37:52'::timestamp) - extract(epoch from '2026-05-31 14:37: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'), 46535, 'SRID=4674;POINT (-38.568029 -3.2846)', '2026-05-31 14:37:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568041 -3.284578)'), GeomFromEWKT('SRID=4674;POINT (-38.568029 -3.2846)'))) / (select extract(epoch from '2026-05-31 14:37:55'::timestamp) - extract(epoch from '2026-05-31 14:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568041 -3.284578)'), GeomFromEWKT('SRID=4674;POINT (-38.568029 -3.2846)'))) / (select extract(epoch from '2026-05-31 14:37:55'::timestamp) - extract(epoch from '2026-05-31 14:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568023 -3.284647)', '2026-05-31 14:38:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568029 -3.2846)'), GeomFromEWKT('SRID=4674;POINT (-38.568023 -3.284647)'))) / (select extract(epoch from '2026-05-31 14:38:01'::timestamp) - extract(epoch from '2026-05-31 14:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568029 -3.2846)'), GeomFromEWKT('SRID=4674;POINT (-38.568023 -3.284647)'))) / (select extract(epoch from '2026-05-31 14:38:01'::timestamp) - extract(epoch from '2026-05-31 14:37: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'), 46535, 'SRID=4674;POINT (-38.568013 -3.284661)', '2026-05-31 14:38:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568023 -3.284647)'), GeomFromEWKT('SRID=4674;POINT (-38.568013 -3.284661)'))) / (select extract(epoch from '2026-05-31 14:38:03'::timestamp) - extract(epoch from '2026-05-31 14:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568023 -3.284647)'), GeomFromEWKT('SRID=4674;POINT (-38.568013 -3.284661)'))) / (select extract(epoch from '2026-05-31 14:38:03'::timestamp) - extract(epoch from '2026-05-31 14:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567993 -3.284716)', '2026-05-31 14:38:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568013 -3.284661)'), GeomFromEWKT('SRID=4674;POINT (-38.567993 -3.284716)'))) / (select extract(epoch from '2026-05-31 14:38:10'::timestamp) - extract(epoch from '2026-05-31 14:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568013 -3.284661)'), GeomFromEWKT('SRID=4674;POINT (-38.567993 -3.284716)'))) / (select extract(epoch from '2026-05-31 14:38:10'::timestamp) - extract(epoch from '2026-05-31 14:38: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'), 46535, 'SRID=4674;POINT (-38.567981 -3.284781)', '2026-05-31 14:38:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567993 -3.284716)'), GeomFromEWKT('SRID=4674;POINT (-38.567981 -3.284781)'))) / (select extract(epoch from '2026-05-31 14:38:17'::timestamp) - extract(epoch from '2026-05-31 14:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567993 -3.284716)'), GeomFromEWKT('SRID=4674;POINT (-38.567981 -3.284781)'))) / (select extract(epoch from '2026-05-31 14:38:17'::timestamp) - extract(epoch from '2026-05-31 14:38: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'), 46535, 'SRID=4674;POINT (-38.56795 -3.284855)', '2026-05-31 14:38:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567981 -3.284781)'), GeomFromEWKT('SRID=4674;POINT (-38.56795 -3.284855)'))) / (select extract(epoch from '2026-05-31 14:38:27'::timestamp) - extract(epoch from '2026-05-31 14:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567981 -3.284781)'), GeomFromEWKT('SRID=4674;POINT (-38.56795 -3.284855)'))) / (select extract(epoch from '2026-05-31 14:38:27'::timestamp) - extract(epoch from '2026-05-31 14:38: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'), 46535, 'SRID=4674;POINT (-38.567935 -3.284934)', '2026-05-31 14:38:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56795 -3.284855)'), GeomFromEWKT('SRID=4674;POINT (-38.567935 -3.284934)'))) / (select extract(epoch from '2026-05-31 14:38:37'::timestamp) - extract(epoch from '2026-05-31 14:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56795 -3.284855)'), GeomFromEWKT('SRID=4674;POINT (-38.567935 -3.284934)'))) / (select extract(epoch from '2026-05-31 14:38:37'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.567911 -3.285001)', '2026-05-31 14:38:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567935 -3.284934)'), GeomFromEWKT('SRID=4674;POINT (-38.567911 -3.285001)'))) / (select extract(epoch from '2026-05-31 14:38:46'::timestamp) - extract(epoch from '2026-05-31 14:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567935 -3.284934)'), GeomFromEWKT('SRID=4674;POINT (-38.567911 -3.285001)'))) / (select extract(epoch from '2026-05-31 14:38:46'::timestamp) - extract(epoch from '2026-05-31 14:38: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'), 46535, 'SRID=4674;POINT (-38.567899 -3.285068)', '2026-05-31 14:38:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567911 -3.285001)'), GeomFromEWKT('SRID=4674;POINT (-38.567899 -3.285068)'))) / (select extract(epoch from '2026-05-31 14:38:55'::timestamp) - extract(epoch from '2026-05-31 14:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567911 -3.285001)'), GeomFromEWKT('SRID=4674;POINT (-38.567899 -3.285068)'))) / (select extract(epoch from '2026-05-31 14:38:55'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.567896 -3.285156)', '2026-05-31 14:39:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567899 -3.285068)'), GeomFromEWKT('SRID=4674;POINT (-38.567896 -3.285156)'))) / (select extract(epoch from '2026-05-31 14:39:04'::timestamp) - extract(epoch from '2026-05-31 14:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567899 -3.285068)'), GeomFromEWKT('SRID=4674;POINT (-38.567896 -3.285156)'))) / (select extract(epoch from '2026-05-31 14:39:04'::timestamp) - extract(epoch from '2026-05-31 14:38: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'), 46535, 'SRID=4674;POINT (-38.567901 -3.28524)', '2026-05-31 14:39:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567896 -3.285156)'), GeomFromEWKT('SRID=4674;POINT (-38.567901 -3.28524)'))) / (select extract(epoch from '2026-05-31 14:39:11'::timestamp) - extract(epoch from '2026-05-31 14:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567896 -3.285156)'), GeomFromEWKT('SRID=4674;POINT (-38.567901 -3.28524)'))) / (select extract(epoch from '2026-05-31 14:39:11'::timestamp) - extract(epoch from '2026-05-31 14:39: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'), 46535, 'SRID=4674;POINT (-38.5679 -3.285249)', '2026-05-31 14:39:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567901 -3.28524)'), GeomFromEWKT('SRID=4674;POINT (-38.5679 -3.285249)'))) / (select extract(epoch from '2026-05-31 14:39:12'::timestamp) - extract(epoch from '2026-05-31 14:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567901 -3.28524)'), GeomFromEWKT('SRID=4674;POINT (-38.5679 -3.285249)'))) / (select extract(epoch from '2026-05-31 14:39:12'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.5679 -3.285307)', '2026-05-31 14:39:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5679 -3.285249)'), GeomFromEWKT('SRID=4674;POINT (-38.5679 -3.285307)'))) / (select extract(epoch from '2026-05-31 14:39:17'::timestamp) - extract(epoch from '2026-05-31 14:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5679 -3.285249)'), GeomFromEWKT('SRID=4674;POINT (-38.5679 -3.285307)'))) / (select extract(epoch from '2026-05-31 14:39:17'::timestamp) - extract(epoch from '2026-05-31 14:39: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'), 46535, 'SRID=4674;POINT (-38.567887 -3.285387)', '2026-05-31 14:39:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5679 -3.285307)'), GeomFromEWKT('SRID=4674;POINT (-38.567887 -3.285387)'))) / (select extract(epoch from '2026-05-31 14:39:25'::timestamp) - extract(epoch from '2026-05-31 14:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5679 -3.285307)'), GeomFromEWKT('SRID=4674;POINT (-38.567887 -3.285387)'))) / (select extract(epoch from '2026-05-31 14:39:25'::timestamp) - extract(epoch from '2026-05-31 14:39: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'), 46535, 'SRID=4674;POINT (-38.567895 -3.285447)', '2026-05-31 14:39:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567887 -3.285387)'), GeomFromEWKT('SRID=4674;POINT (-38.567895 -3.285447)'))) / (select extract(epoch from '2026-05-31 14:39:34'::timestamp) - extract(epoch from '2026-05-31 14:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567887 -3.285387)'), GeomFromEWKT('SRID=4674;POINT (-38.567895 -3.285447)'))) / (select extract(epoch from '2026-05-31 14:39:34'::timestamp) - extract(epoch from '2026-05-31 14:39: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'), 46535, 'SRID=4674;POINT (-38.567898 -3.285474)', '2026-05-31 14:39:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567895 -3.285447)'), GeomFromEWKT('SRID=4674;POINT (-38.567898 -3.285474)'))) / (select extract(epoch from '2026-05-31 14:39:37'::timestamp) - extract(epoch from '2026-05-31 14:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567895 -3.285447)'), GeomFromEWKT('SRID=4674;POINT (-38.567898 -3.285474)'))) / (select extract(epoch from '2026-05-31 14:39:37'::timestamp) - extract(epoch from '2026-05-31 14:39: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'), 46535, 'SRID=4674;POINT (-38.567897 -3.285499)', '2026-05-31 14:39:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567898 -3.285474)'), GeomFromEWKT('SRID=4674;POINT (-38.567897 -3.285499)'))) / (select extract(epoch from '2026-05-31 14:39:40'::timestamp) - extract(epoch from '2026-05-31 14:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567898 -3.285474)'), GeomFromEWKT('SRID=4674;POINT (-38.567897 -3.285499)'))) / (select extract(epoch from '2026-05-31 14:39:40'::timestamp) - extract(epoch from '2026-05-31 14:39: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'), 46535, 'SRID=4674;POINT (-38.567884 -3.285583)', '2026-05-31 14:39:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567897 -3.285499)'), GeomFromEWKT('SRID=4674;POINT (-38.567884 -3.285583)'))) / (select extract(epoch from '2026-05-31 14:39:49'::timestamp) - extract(epoch from '2026-05-31 14:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567897 -3.285499)'), GeomFromEWKT('SRID=4674;POINT (-38.567884 -3.285583)'))) / (select extract(epoch from '2026-05-31 14:39:49'::timestamp) - extract(epoch from '2026-05-31 14:39: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'), 46535, 'SRID=4674;POINT (-38.567878 -3.285598)', '2026-05-31 14:39:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567884 -3.285583)'), GeomFromEWKT('SRID=4674;POINT (-38.567878 -3.285598)'))) / (select extract(epoch from '2026-05-31 14:39:51'::timestamp) - extract(epoch from '2026-05-31 14:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567884 -3.285583)'), GeomFromEWKT('SRID=4674;POINT (-38.567878 -3.285598)'))) / (select extract(epoch from '2026-05-31 14:39:51'::timestamp) - extract(epoch from '2026-05-31 14:39: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'), 46535, 'SRID=4674;POINT (-38.567878 -3.285652)', '2026-05-31 14:39:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567878 -3.285598)'), GeomFromEWKT('SRID=4674;POINT (-38.567878 -3.285652)'))) / (select extract(epoch from '2026-05-31 14:39:56'::timestamp) - extract(epoch from '2026-05-31 14:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567878 -3.285598)'), GeomFromEWKT('SRID=4674;POINT (-38.567878 -3.285652)'))) / (select extract(epoch from '2026-05-31 14:39:56'::timestamp) - extract(epoch from '2026-05-31 14:39: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'), 46535, 'SRID=4674;POINT (-38.567879 -3.285696)', '2026-05-31 14:40:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567878 -3.285652)'), GeomFromEWKT('SRID=4674;POINT (-38.567879 -3.285696)'))) / (select extract(epoch from '2026-05-31 14:40:02'::timestamp) - extract(epoch from '2026-05-31 14:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567878 -3.285652)'), GeomFromEWKT('SRID=4674;POINT (-38.567879 -3.285696)'))) / (select extract(epoch from '2026-05-31 14:40:02'::timestamp) - extract(epoch from '2026-05-31 14:39: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'), 46535, 'SRID=4674;POINT (-38.567886 -3.285767)', '2026-05-31 14:40:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567879 -3.285696)'), GeomFromEWKT('SRID=4674;POINT (-38.567886 -3.285767)'))) / (select extract(epoch from '2026-05-31 14:40:11'::timestamp) - extract(epoch from '2026-05-31 14:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567879 -3.285696)'), GeomFromEWKT('SRID=4674;POINT (-38.567886 -3.285767)'))) / (select extract(epoch from '2026-05-31 14:40:11'::timestamp) - extract(epoch from '2026-05-31 14:40: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'), 46535, 'SRID=4674;POINT (-38.567894 -3.285855)', '2026-05-31 14:40:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567886 -3.285767)'), GeomFromEWKT('SRID=4674;POINT (-38.567894 -3.285855)'))) / (select extract(epoch from '2026-05-31 14:40:22'::timestamp) - extract(epoch from '2026-05-31 14:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567886 -3.285767)'), GeomFromEWKT('SRID=4674;POINT (-38.567894 -3.285855)'))) / (select extract(epoch from '2026-05-31 14:40:22'::timestamp) - extract(epoch from '2026-05-31 14:40: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'), 46535, 'SRID=4674;POINT (-38.567898 -3.285921)', '2026-05-31 14:40:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567894 -3.285855)'), GeomFromEWKT('SRID=4674;POINT (-38.567898 -3.285921)'))) / (select extract(epoch from '2026-05-31 14:40:29'::timestamp) - extract(epoch from '2026-05-31 14:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567894 -3.285855)'), GeomFromEWKT('SRID=4674;POINT (-38.567898 -3.285921)'))) / (select extract(epoch from '2026-05-31 14:40:29'::timestamp) - extract(epoch from '2026-05-31 14:40:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567908 -3.285955)', '2026-05-31 14:40:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567898 -3.285921)'), GeomFromEWKT('SRID=4674;POINT (-38.567908 -3.285955)'))) / (select extract(epoch from '2026-05-31 14:40:32'::timestamp) - extract(epoch from '2026-05-31 14:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567898 -3.285921)'), GeomFromEWKT('SRID=4674;POINT (-38.567908 -3.285955)'))) / (select extract(epoch from '2026-05-31 14:40:32'::timestamp) - extract(epoch from '2026-05-31 14:40: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'), 46535, 'SRID=4674;POINT (-38.567913 -3.285988)', '2026-05-31 14:40:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567908 -3.285955)'), GeomFromEWKT('SRID=4674;POINT (-38.567913 -3.285988)'))) / (select extract(epoch from '2026-05-31 14:40:35'::timestamp) - extract(epoch from '2026-05-31 14:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567908 -3.285955)'), GeomFromEWKT('SRID=4674;POINT (-38.567913 -3.285988)'))) / (select extract(epoch from '2026-05-31 14:40:35'::timestamp) - extract(epoch from '2026-05-31 14:40:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567918 -3.28605)', '2026-05-31 14:40:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567913 -3.285988)'), GeomFromEWKT('SRID=4674;POINT (-38.567918 -3.28605)'))) / (select extract(epoch from '2026-05-31 14:40:42'::timestamp) - extract(epoch from '2026-05-31 14:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567913 -3.285988)'), GeomFromEWKT('SRID=4674;POINT (-38.567918 -3.28605)'))) / (select extract(epoch from '2026-05-31 14:40:42'::timestamp) - extract(epoch from '2026-05-31 14:40: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'), 46535, 'SRID=4674;POINT (-38.567905 -3.286134)', '2026-05-31 14:40:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567918 -3.28605)'), GeomFromEWKT('SRID=4674;POINT (-38.567905 -3.286134)'))) / (select extract(epoch from '2026-05-31 14:40:51'::timestamp) - extract(epoch from '2026-05-31 14:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567918 -3.28605)'), GeomFromEWKT('SRID=4674;POINT (-38.567905 -3.286134)'))) / (select extract(epoch from '2026-05-31 14:40:51'::timestamp) - extract(epoch from '2026-05-31 14:40: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'), 46535, 'SRID=4674;POINT (-38.567878 -3.286204)', '2026-05-31 14:40:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567905 -3.286134)'), GeomFromEWKT('SRID=4674;POINT (-38.567878 -3.286204)'))) / (select extract(epoch from '2026-05-31 14:40:59'::timestamp) - extract(epoch from '2026-05-31 14:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567905 -3.286134)'), GeomFromEWKT('SRID=4674;POINT (-38.567878 -3.286204)'))) / (select extract(epoch from '2026-05-31 14:40:59'::timestamp) - extract(epoch from '2026-05-31 14:40:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567841 -3.28627)', '2026-05-31 14:41:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567878 -3.286204)'), GeomFromEWKT('SRID=4674;POINT (-38.567841 -3.28627)'))) / (select extract(epoch from '2026-05-31 14:41:08'::timestamp) - extract(epoch from '2026-05-31 14:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567878 -3.286204)'), GeomFromEWKT('SRID=4674;POINT (-38.567841 -3.28627)'))) / (select extract(epoch from '2026-05-31 14:41:08'::timestamp) - extract(epoch from '2026-05-31 14:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567805 -3.286342)', '2026-05-31 14:41:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567841 -3.28627)'), GeomFromEWKT('SRID=4674;POINT (-38.567805 -3.286342)'))) / (select extract(epoch from '2026-05-31 14:41:17'::timestamp) - extract(epoch from '2026-05-31 14:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567841 -3.28627)'), GeomFromEWKT('SRID=4674;POINT (-38.567805 -3.286342)'))) / (select extract(epoch from '2026-05-31 14:41:17'::timestamp) - extract(epoch from '2026-05-31 14:41: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'), 46535, 'SRID=4674;POINT (-38.567797 -3.286365)', '2026-05-31 14:41:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567805 -3.286342)'), GeomFromEWKT('SRID=4674;POINT (-38.567797 -3.286365)'))) / (select extract(epoch from '2026-05-31 14:41:20'::timestamp) - extract(epoch from '2026-05-31 14:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567805 -3.286342)'), GeomFromEWKT('SRID=4674;POINT (-38.567797 -3.286365)'))) / (select extract(epoch from '2026-05-31 14:41:20'::timestamp) - extract(epoch from '2026-05-31 14:41: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'), 46535, 'SRID=4674;POINT (-38.567796 -3.286392)', '2026-05-31 14:41:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567797 -3.286365)'), GeomFromEWKT('SRID=4674;POINT (-38.567796 -3.286392)'))) / (select extract(epoch from '2026-05-31 14:41:24'::timestamp) - extract(epoch from '2026-05-31 14:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567797 -3.286365)'), GeomFromEWKT('SRID=4674;POINT (-38.567796 -3.286392)'))) / (select extract(epoch from '2026-05-31 14:41:24'::timestamp) - extract(epoch from '2026-05-31 14:41:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567783 -3.286459)', '2026-05-31 14:41:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567796 -3.286392)'), GeomFromEWKT('SRID=4674;POINT (-38.567783 -3.286459)'))) / (select extract(epoch from '2026-05-31 14:41:32'::timestamp) - extract(epoch from '2026-05-31 14:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567796 -3.286392)'), GeomFromEWKT('SRID=4674;POINT (-38.567783 -3.286459)'))) / (select extract(epoch from '2026-05-31 14:41:32'::timestamp) - extract(epoch from '2026-05-31 14:41:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567759 -3.286543)', '2026-05-31 14:41:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567783 -3.286459)'), GeomFromEWKT('SRID=4674;POINT (-38.567759 -3.286543)'))) / (select extract(epoch from '2026-05-31 14:41:42'::timestamp) - extract(epoch from '2026-05-31 14:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567783 -3.286459)'), GeomFromEWKT('SRID=4674;POINT (-38.567759 -3.286543)'))) / (select extract(epoch from '2026-05-31 14:41:42'::timestamp) - extract(epoch from '2026-05-31 14:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567737 -3.28662)', '2026-05-31 14:41:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567759 -3.286543)'), GeomFromEWKT('SRID=4674;POINT (-38.567737 -3.28662)'))) / (select extract(epoch from '2026-05-31 14:41:50'::timestamp) - extract(epoch from '2026-05-31 14:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567759 -3.286543)'), GeomFromEWKT('SRID=4674;POINT (-38.567737 -3.28662)'))) / (select extract(epoch from '2026-05-31 14:41:50'::timestamp) - extract(epoch from '2026-05-31 14:41:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567736 -3.286643)', '2026-05-31 14:41:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567737 -3.28662)'), GeomFromEWKT('SRID=4674;POINT (-38.567736 -3.286643)'))) / (select extract(epoch from '2026-05-31 14:41:52'::timestamp) - extract(epoch from '2026-05-31 14:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567737 -3.28662)'), GeomFromEWKT('SRID=4674;POINT (-38.567736 -3.286643)'))) / (select extract(epoch from '2026-05-31 14:41:52'::timestamp) - extract(epoch from '2026-05-31 14:41: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'), 46535, 'SRID=4674;POINT (-38.567733 -3.286653)', '2026-05-31 14:41:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567736 -3.286643)'), GeomFromEWKT('SRID=4674;POINT (-38.567733 -3.286653)'))) / (select extract(epoch from '2026-05-31 14:41:53'::timestamp) - extract(epoch from '2026-05-31 14:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567736 -3.286643)'), GeomFromEWKT('SRID=4674;POINT (-38.567733 -3.286653)'))) / (select extract(epoch from '2026-05-31 14:41:53'::timestamp) - extract(epoch from '2026-05-31 14:41: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'), 46535, 'SRID=4674;POINT (-38.567728 -3.286671)', '2026-05-31 14:41:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567733 -3.286653)'), GeomFromEWKT('SRID=4674;POINT (-38.567728 -3.286671)'))) / (select extract(epoch from '2026-05-31 14:41:55'::timestamp) - extract(epoch from '2026-05-31 14:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567733 -3.286653)'), GeomFromEWKT('SRID=4674;POINT (-38.567728 -3.286671)'))) / (select extract(epoch from '2026-05-31 14:41:55'::timestamp) - extract(epoch from '2026-05-31 14:41:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567731 -3.286692)', '2026-05-31 14:41:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567728 -3.286671)'), GeomFromEWKT('SRID=4674;POINT (-38.567731 -3.286692)'))) / (select extract(epoch from '2026-05-31 14:41:57'::timestamp) - extract(epoch from '2026-05-31 14:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567728 -3.286671)'), GeomFromEWKT('SRID=4674;POINT (-38.567731 -3.286692)'))) / (select extract(epoch from '2026-05-31 14:41:57'::timestamp) - extract(epoch from '2026-05-31 14:41:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567733 -3.286715)', '2026-05-31 14:42:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567731 -3.286692)'), GeomFromEWKT('SRID=4674;POINT (-38.567733 -3.286715)'))) / (select extract(epoch from '2026-05-31 14:42:00'::timestamp) - extract(epoch from '2026-05-31 14:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567731 -3.286692)'), GeomFromEWKT('SRID=4674;POINT (-38.567733 -3.286715)'))) / (select extract(epoch from '2026-05-31 14:42:00'::timestamp) - extract(epoch from '2026-05-31 14:41: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'), 46535, 'SRID=4674;POINT (-38.567737 -3.286753)', '2026-05-31 14:42:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567733 -3.286715)'), GeomFromEWKT('SRID=4674;POINT (-38.567737 -3.286753)'))) / (select extract(epoch from '2026-05-31 14:42:04'::timestamp) - extract(epoch from '2026-05-31 14:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567733 -3.286715)'), GeomFromEWKT('SRID=4674;POINT (-38.567737 -3.286753)'))) / (select extract(epoch from '2026-05-31 14:42:04'::timestamp) - extract(epoch from '2026-05-31 14:42:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567751 -3.286836)', '2026-05-31 14:42:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567737 -3.286753)'), GeomFromEWKT('SRID=4674;POINT (-38.567751 -3.286836)'))) / (select extract(epoch from '2026-05-31 14:42:11'::timestamp) - extract(epoch from '2026-05-31 14:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567737 -3.286753)'), GeomFromEWKT('SRID=4674;POINT (-38.567751 -3.286836)'))) / (select extract(epoch from '2026-05-31 14:42:11'::timestamp) - extract(epoch from '2026-05-31 14:42: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'), 46535, 'SRID=4674;POINT (-38.567777 -3.286918)', '2026-05-31 14:42:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567751 -3.286836)'), GeomFromEWKT('SRID=4674;POINT (-38.567777 -3.286918)'))) / (select extract(epoch from '2026-05-31 14:42:18'::timestamp) - extract(epoch from '2026-05-31 14:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567751 -3.286836)'), GeomFromEWKT('SRID=4674;POINT (-38.567777 -3.286918)'))) / (select extract(epoch from '2026-05-31 14:42:18'::timestamp) - extract(epoch from '2026-05-31 14:42: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'), 46535, 'SRID=4674;POINT (-38.567817 -3.286989)', '2026-05-31 14:42:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567777 -3.286918)'), GeomFromEWKT('SRID=4674;POINT (-38.567817 -3.286989)'))) / (select extract(epoch from '2026-05-31 14:42:24'::timestamp) - extract(epoch from '2026-05-31 14:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567777 -3.286918)'), GeomFromEWKT('SRID=4674;POINT (-38.567817 -3.286989)'))) / (select extract(epoch from '2026-05-31 14:42:24'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.567867 -3.287086)', '2026-05-31 14:42:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567817 -3.286989)'), GeomFromEWKT('SRID=4674;POINT (-38.567867 -3.287086)'))) / (select extract(epoch from '2026-05-31 14:42:31'::timestamp) - extract(epoch from '2026-05-31 14:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567817 -3.286989)'), GeomFromEWKT('SRID=4674;POINT (-38.567867 -3.287086)'))) / (select extract(epoch from '2026-05-31 14:42:31'::timestamp) - extract(epoch from '2026-05-31 14:42: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'), 46535, 'SRID=4674;POINT (-38.56791 -3.287159)', '2026-05-31 14:42:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567867 -3.287086)'), GeomFromEWKT('SRID=4674;POINT (-38.56791 -3.287159)'))) / (select extract(epoch from '2026-05-31 14:42:37'::timestamp) - extract(epoch from '2026-05-31 14:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567867 -3.287086)'), GeomFromEWKT('SRID=4674;POINT (-38.56791 -3.287159)'))) / (select extract(epoch from '2026-05-31 14:42:37'::timestamp) - extract(epoch from '2026-05-31 14:42: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'), 46535, 'SRID=4674;POINT (-38.567942 -3.287253)', '2026-05-31 14:42:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56791 -3.287159)'), GeomFromEWKT('SRID=4674;POINT (-38.567942 -3.287253)'))) / (select extract(epoch from '2026-05-31 14:42:44'::timestamp) - extract(epoch from '2026-05-31 14:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56791 -3.287159)'), GeomFromEWKT('SRID=4674;POINT (-38.567942 -3.287253)'))) / (select extract(epoch from '2026-05-31 14:42:44'::timestamp) - extract(epoch from '2026-05-31 14:42: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'), 46535, 'SRID=4674;POINT (-38.567972 -3.28734)', '2026-05-31 14:42:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567942 -3.287253)'), GeomFromEWKT('SRID=4674;POINT (-38.567972 -3.28734)'))) / (select extract(epoch from '2026-05-31 14:42:51'::timestamp) - extract(epoch from '2026-05-31 14:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567942 -3.287253)'), GeomFromEWKT('SRID=4674;POINT (-38.567972 -3.28734)'))) / (select extract(epoch from '2026-05-31 14:42:51'::timestamp) - extract(epoch from '2026-05-31 14:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568002 -3.287412)', '2026-05-31 14:42:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567972 -3.28734)'), GeomFromEWKT('SRID=4674;POINT (-38.568002 -3.287412)'))) / (select extract(epoch from '2026-05-31 14:42:57'::timestamp) - extract(epoch from '2026-05-31 14:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567972 -3.28734)'), GeomFromEWKT('SRID=4674;POINT (-38.568002 -3.287412)'))) / (select extract(epoch from '2026-05-31 14:42:57'::timestamp) - extract(epoch from '2026-05-31 14:42:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568009 -3.287427)', '2026-05-31 14:42:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568002 -3.287412)'), GeomFromEWKT('SRID=4674;POINT (-38.568009 -3.287427)'))) / (select extract(epoch from '2026-05-31 14:42:58'::timestamp) - extract(epoch from '2026-05-31 14:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568002 -3.287412)'), GeomFromEWKT('SRID=4674;POINT (-38.568009 -3.287427)'))) / (select extract(epoch from '2026-05-31 14:42:58'::timestamp) - extract(epoch from '2026-05-31 14:42:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568016 -3.287465)', '2026-05-31 14:43:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568009 -3.287427)'), GeomFromEWKT('SRID=4674;POINT (-38.568016 -3.287465)'))) / (select extract(epoch from '2026-05-31 14:43:01'::timestamp) - extract(epoch from '2026-05-31 14:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568009 -3.287427)'), GeomFromEWKT('SRID=4674;POINT (-38.568016 -3.287465)'))) / (select extract(epoch from '2026-05-31 14:43:01'::timestamp) - extract(epoch from '2026-05-31 14:42:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568042 -3.287534)', '2026-05-31 14:43:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568016 -3.287465)'), GeomFromEWKT('SRID=4674;POINT (-38.568042 -3.287534)'))) / (select extract(epoch from '2026-05-31 14:43:07'::timestamp) - extract(epoch from '2026-05-31 14:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568016 -3.287465)'), GeomFromEWKT('SRID=4674;POINT (-38.568042 -3.287534)'))) / (select extract(epoch from '2026-05-31 14:43:07'::timestamp) - extract(epoch from '2026-05-31 14:43: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'), 46535, 'SRID=4674;POINT (-38.568069 -3.287622)', '2026-05-31 14:43:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568042 -3.287534)'), GeomFromEWKT('SRID=4674;POINT (-38.568069 -3.287622)'))) / (select extract(epoch from '2026-05-31 14:43:14'::timestamp) - extract(epoch from '2026-05-31 14:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568042 -3.287534)'), GeomFromEWKT('SRID=4674;POINT (-38.568069 -3.287622)'))) / (select extract(epoch from '2026-05-31 14:43:14'::timestamp) - extract(epoch from '2026-05-31 14:43: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'), 46535, 'SRID=4674;POINT (-38.56809 -3.287695)', '2026-05-31 14:43:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568069 -3.287622)'), GeomFromEWKT('SRID=4674;POINT (-38.56809 -3.287695)'))) / (select extract(epoch from '2026-05-31 14:43:20'::timestamp) - extract(epoch from '2026-05-31 14:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568069 -3.287622)'), GeomFromEWKT('SRID=4674;POINT (-38.56809 -3.287695)'))) / (select extract(epoch from '2026-05-31 14:43:20'::timestamp) - extract(epoch from '2026-05-31 14:43: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'), 46535, 'SRID=4674;POINT (-38.568123 -3.287772)', '2026-05-31 14:43:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56809 -3.287695)'), GeomFromEWKT('SRID=4674;POINT (-38.568123 -3.287772)'))) / (select extract(epoch from '2026-05-31 14:43:26'::timestamp) - extract(epoch from '2026-05-31 14:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56809 -3.287695)'), GeomFromEWKT('SRID=4674;POINT (-38.568123 -3.287772)'))) / (select extract(epoch from '2026-05-31 14:43:26'::timestamp) - extract(epoch from '2026-05-31 14:43: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'), 46535, 'SRID=4674;POINT (-38.568149 -3.287851)', '2026-05-31 14:43:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568123 -3.287772)'), GeomFromEWKT('SRID=4674;POINT (-38.568149 -3.287851)'))) / (select extract(epoch from '2026-05-31 14:43:33'::timestamp) - extract(epoch from '2026-05-31 14:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568123 -3.287772)'), GeomFromEWKT('SRID=4674;POINT (-38.568149 -3.287851)'))) / (select extract(epoch from '2026-05-31 14:43:33'::timestamp) - extract(epoch from '2026-05-31 14:43:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568157 -3.287937)', '2026-05-31 14:43:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568149 -3.287851)'), GeomFromEWKT('SRID=4674;POINT (-38.568157 -3.287937)'))) / (select extract(epoch from '2026-05-31 14:43:40'::timestamp) - extract(epoch from '2026-05-31 14:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568149 -3.287851)'), GeomFromEWKT('SRID=4674;POINT (-38.568157 -3.287937)'))) / (select extract(epoch from '2026-05-31 14:43:40'::timestamp) - extract(epoch from '2026-05-31 14:43:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568159 -3.288022)', '2026-05-31 14:43:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568157 -3.287937)'), GeomFromEWKT('SRID=4674;POINT (-38.568159 -3.288022)'))) / (select extract(epoch from '2026-05-31 14:43:48'::timestamp) - extract(epoch from '2026-05-31 14:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568157 -3.287937)'), GeomFromEWKT('SRID=4674;POINT (-38.568159 -3.288022)'))) / (select extract(epoch from '2026-05-31 14:43:48'::timestamp) - extract(epoch from '2026-05-31 14:43: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'), 46535, 'SRID=4674;POINT (-38.568162 -3.288048)', '2026-05-31 14:43:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568159 -3.288022)'), GeomFromEWKT('SRID=4674;POINT (-38.568162 -3.288048)'))) / (select extract(epoch from '2026-05-31 14:43:51'::timestamp) - extract(epoch from '2026-05-31 14:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568159 -3.288022)'), GeomFromEWKT('SRID=4674;POINT (-38.568162 -3.288048)'))) / (select extract(epoch from '2026-05-31 14:43:51'::timestamp) - extract(epoch from '2026-05-31 14:43:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568152 -3.288084)', '2026-05-31 14:43:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568162 -3.288048)'), GeomFromEWKT('SRID=4674;POINT (-38.568152 -3.288084)'))) / (select extract(epoch from '2026-05-31 14:43:55'::timestamp) - extract(epoch from '2026-05-31 14:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568162 -3.288048)'), GeomFromEWKT('SRID=4674;POINT (-38.568152 -3.288084)'))) / (select extract(epoch from '2026-05-31 14:43:55'::timestamp) - extract(epoch from '2026-05-31 14:43: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'), 46535, 'SRID=4674;POINT (-38.568157 -3.288134)', '2026-05-31 14:44:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568152 -3.288084)'), GeomFromEWKT('SRID=4674;POINT (-38.568157 -3.288134)'))) / (select extract(epoch from '2026-05-31 14:44:01'::timestamp) - extract(epoch from '2026-05-31 14:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568152 -3.288084)'), GeomFromEWKT('SRID=4674;POINT (-38.568157 -3.288134)'))) / (select extract(epoch from '2026-05-31 14:44:01'::timestamp) - extract(epoch from '2026-05-31 14:43:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56816 -3.288206)', '2026-05-31 14:44:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568157 -3.288134)'), GeomFromEWKT('SRID=4674;POINT (-38.56816 -3.288206)'))) / (select extract(epoch from '2026-05-31 14:44:09'::timestamp) - extract(epoch from '2026-05-31 14:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568157 -3.288134)'), GeomFromEWKT('SRID=4674;POINT (-38.56816 -3.288206)'))) / (select extract(epoch from '2026-05-31 14:44:09'::timestamp) - extract(epoch from '2026-05-31 14:44: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'), 46535, 'SRID=4674;POINT (-38.568155 -3.28829)', '2026-05-31 14:44:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56816 -3.288206)'), GeomFromEWKT('SRID=4674;POINT (-38.568155 -3.28829)'))) / (select extract(epoch from '2026-05-31 14:44:18'::timestamp) - extract(epoch from '2026-05-31 14:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56816 -3.288206)'), GeomFromEWKT('SRID=4674;POINT (-38.568155 -3.28829)'))) / (select extract(epoch from '2026-05-31 14:44:18'::timestamp) - extract(epoch from '2026-05-31 14:44:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568176 -3.288373)', '2026-05-31 14:44:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568155 -3.28829)'), GeomFromEWKT('SRID=4674;POINT (-38.568176 -3.288373)'))) / (select extract(epoch from '2026-05-31 14:44:27'::timestamp) - extract(epoch from '2026-05-31 14:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568155 -3.28829)'), GeomFromEWKT('SRID=4674;POINT (-38.568176 -3.288373)'))) / (select extract(epoch from '2026-05-31 14:44:27'::timestamp) - extract(epoch from '2026-05-31 14:44: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'), 46535, 'SRID=4674;POINT (-38.568216 -3.288461)', '2026-05-31 14:44:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568176 -3.288373)'), GeomFromEWKT('SRID=4674;POINT (-38.568216 -3.288461)'))) / (select extract(epoch from '2026-05-31 14:44:36'::timestamp) - extract(epoch from '2026-05-31 14:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568176 -3.288373)'), GeomFromEWKT('SRID=4674;POINT (-38.568216 -3.288461)'))) / (select extract(epoch from '2026-05-31 14:44:36'::timestamp) - extract(epoch from '2026-05-31 14:44: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'), 46535, 'SRID=4674;POINT (-38.56824 -3.288539)', '2026-05-31 14:44:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568216 -3.288461)'), GeomFromEWKT('SRID=4674;POINT (-38.56824 -3.288539)'))) / (select extract(epoch from '2026-05-31 14:44:43'::timestamp) - extract(epoch from '2026-05-31 14:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568216 -3.288461)'), GeomFromEWKT('SRID=4674;POINT (-38.56824 -3.288539)'))) / (select extract(epoch from '2026-05-31 14:44:43'::timestamp) - extract(epoch from '2026-05-31 14:44: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'), 46535, 'SRID=4674;POINT (-38.568251 -3.28861)', '2026-05-31 14:44:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56824 -3.288539)'), GeomFromEWKT('SRID=4674;POINT (-38.568251 -3.28861)'))) / (select extract(epoch from '2026-05-31 14:44:50'::timestamp) - extract(epoch from '2026-05-31 14:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56824 -3.288539)'), GeomFromEWKT('SRID=4674;POINT (-38.568251 -3.28861)'))) / (select extract(epoch from '2026-05-31 14:44:50'::timestamp) - extract(epoch from '2026-05-31 14:44: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'), 46535, 'SRID=4674;POINT (-38.568256 -3.288639)', '2026-05-31 14:44:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568251 -3.28861)'), GeomFromEWKT('SRID=4674;POINT (-38.568256 -3.288639)'))) / (select extract(epoch from '2026-05-31 14:44:53'::timestamp) - extract(epoch from '2026-05-31 14:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568251 -3.28861)'), GeomFromEWKT('SRID=4674;POINT (-38.568256 -3.288639)'))) / (select extract(epoch from '2026-05-31 14:44:53'::timestamp) - extract(epoch from '2026-05-31 14:44: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'), 46535, 'SRID=4674;POINT (-38.568262 -3.288683)', '2026-05-31 14:44:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568256 -3.288639)'), GeomFromEWKT('SRID=4674;POINT (-38.568262 -3.288683)'))) / (select extract(epoch from '2026-05-31 14:44:57'::timestamp) - extract(epoch from '2026-05-31 14:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568256 -3.288639)'), GeomFromEWKT('SRID=4674;POINT (-38.568262 -3.288683)'))) / (select extract(epoch from '2026-05-31 14:44:57'::timestamp) - extract(epoch from '2026-05-31 14:44:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568278 -3.288747)', '2026-05-31 14:45:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568262 -3.288683)'), GeomFromEWKT('SRID=4674;POINT (-38.568278 -3.288747)'))) / (select extract(epoch from '2026-05-31 14:45:04'::timestamp) - extract(epoch from '2026-05-31 14:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568262 -3.288683)'), GeomFromEWKT('SRID=4674;POINT (-38.568278 -3.288747)'))) / (select extract(epoch from '2026-05-31 14:45:04'::timestamp) - extract(epoch from '2026-05-31 14:44: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'), 46535, 'SRID=4674;POINT (-38.568299 -3.288816)', '2026-05-31 14:45:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568278 -3.288747)'), GeomFromEWKT('SRID=4674;POINT (-38.568299 -3.288816)'))) / (select extract(epoch from '2026-05-31 14:45:12'::timestamp) - extract(epoch from '2026-05-31 14:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568278 -3.288747)'), GeomFromEWKT('SRID=4674;POINT (-38.568299 -3.288816)'))) / (select extract(epoch from '2026-05-31 14:45:12'::timestamp) - extract(epoch from '2026-05-31 14:45: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'), 46535, 'SRID=4674;POINT (-38.568308 -3.288829)', '2026-05-31 14:45:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568299 -3.288816)'), GeomFromEWKT('SRID=4674;POINT (-38.568308 -3.288829)'))) / (select extract(epoch from '2026-05-31 14:45:14'::timestamp) - extract(epoch from '2026-05-31 14:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568299 -3.288816)'), GeomFromEWKT('SRID=4674;POINT (-38.568308 -3.288829)'))) / (select extract(epoch from '2026-05-31 14:45:14'::timestamp) - extract(epoch from '2026-05-31 14:45: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'), 46535, 'SRID=4674;POINT (-38.568318 -3.288856)', '2026-05-31 14:45:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568308 -3.288829)'), GeomFromEWKT('SRID=4674;POINT (-38.568318 -3.288856)'))) / (select extract(epoch from '2026-05-31 14:45:18'::timestamp) - extract(epoch from '2026-05-31 14:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568308 -3.288829)'), GeomFromEWKT('SRID=4674;POINT (-38.568318 -3.288856)'))) / (select extract(epoch from '2026-05-31 14:45:18'::timestamp) - extract(epoch from '2026-05-31 14:45: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'), 46535, 'SRID=4674;POINT (-38.568337 -3.28893)', '2026-05-31 14:45:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568318 -3.288856)'), GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.28893)'))) / (select extract(epoch from '2026-05-31 14:45:26'::timestamp) - extract(epoch from '2026-05-31 14:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568318 -3.288856)'), GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.28893)'))) / (select extract(epoch from '2026-05-31 14:45:26'::timestamp) - extract(epoch from '2026-05-31 14:45: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'), 46535, 'SRID=4674;POINT (-38.568344 -3.288982)', '2026-05-31 14:45:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.28893)'), GeomFromEWKT('SRID=4674;POINT (-38.568344 -3.288982)'))) / (select extract(epoch from '2026-05-31 14:45:32'::timestamp) - extract(epoch from '2026-05-31 14:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568337 -3.28893)'), GeomFromEWKT('SRID=4674;POINT (-38.568344 -3.288982)'))) / (select extract(epoch from '2026-05-31 14:45:32'::timestamp) - extract(epoch from '2026-05-31 14:45: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'), 46535, 'SRID=4674;POINT (-38.568353 -3.289037)', '2026-05-31 14:45:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568344 -3.288982)'), GeomFromEWKT('SRID=4674;POINT (-38.568353 -3.289037)'))) / (select extract(epoch from '2026-05-31 14:45:37'::timestamp) - extract(epoch from '2026-05-31 14:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568344 -3.288982)'), GeomFromEWKT('SRID=4674;POINT (-38.568353 -3.289037)'))) / (select extract(epoch from '2026-05-31 14:45:37'::timestamp) - extract(epoch from '2026-05-31 14:45: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'), 46535, 'SRID=4674;POINT (-38.568358 -3.289043)', '2026-05-31 14:45:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568353 -3.289037)'), GeomFromEWKT('SRID=4674;POINT (-38.568358 -3.289043)'))) / (select extract(epoch from '2026-05-31 14:45:38'::timestamp) - extract(epoch from '2026-05-31 14:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568353 -3.289037)'), GeomFromEWKT('SRID=4674;POINT (-38.568358 -3.289043)'))) / (select extract(epoch from '2026-05-31 14:45:38'::timestamp) - extract(epoch from '2026-05-31 14:45: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'), 46535, 'SRID=4674;POINT (-38.56837 -3.289101)', '2026-05-31 14:45:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568358 -3.289043)'), GeomFromEWKT('SRID=4674;POINT (-38.56837 -3.289101)'))) / (select extract(epoch from '2026-05-31 14:45:44'::timestamp) - extract(epoch from '2026-05-31 14:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568358 -3.289043)'), GeomFromEWKT('SRID=4674;POINT (-38.56837 -3.289101)'))) / (select extract(epoch from '2026-05-31 14:45:44'::timestamp) - extract(epoch from '2026-05-31 14:45: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'), 46535, 'SRID=4674;POINT (-38.568368 -3.289156)', '2026-05-31 14:45:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56837 -3.289101)'), GeomFromEWKT('SRID=4674;POINT (-38.568368 -3.289156)'))) / (select extract(epoch from '2026-05-31 14:45:49'::timestamp) - extract(epoch from '2026-05-31 14:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56837 -3.289101)'), GeomFromEWKT('SRID=4674;POINT (-38.568368 -3.289156)'))) / (select extract(epoch from '2026-05-31 14:45:49'::timestamp) - extract(epoch from '2026-05-31 14:45: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'), 46535, 'SRID=4674;POINT (-38.568373 -3.289169)', '2026-05-31 14:45:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568368 -3.289156)'), GeomFromEWKT('SRID=4674;POINT (-38.568373 -3.289169)'))) / (select extract(epoch from '2026-05-31 14:45:50'::timestamp) - extract(epoch from '2026-05-31 14:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568368 -3.289156)'), GeomFromEWKT('SRID=4674;POINT (-38.568373 -3.289169)'))) / (select extract(epoch from '2026-05-31 14:45:50'::timestamp) - extract(epoch from '2026-05-31 14:45:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568375 -3.289193)', '2026-05-31 14:45:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568373 -3.289169)'), GeomFromEWKT('SRID=4674;POINT (-38.568375 -3.289193)'))) / (select extract(epoch from '2026-05-31 14:45:52'::timestamp) - extract(epoch from '2026-05-31 14:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568373 -3.289169)'), GeomFromEWKT('SRID=4674;POINT (-38.568375 -3.289193)'))) / (select extract(epoch from '2026-05-31 14:45:52'::timestamp) - extract(epoch from '2026-05-31 14:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568374 -3.289224)', '2026-05-31 14:45:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568375 -3.289193)'), GeomFromEWKT('SRID=4674;POINT (-38.568374 -3.289224)'))) / (select extract(epoch from '2026-05-31 14:45:55'::timestamp) - extract(epoch from '2026-05-31 14:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568375 -3.289193)'), GeomFromEWKT('SRID=4674;POINT (-38.568374 -3.289224)'))) / (select extract(epoch from '2026-05-31 14:45:55'::timestamp) - extract(epoch from '2026-05-31 14:45: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'), 46535, 'SRID=4674;POINT (-38.568377 -3.289231)', '2026-05-31 14:45:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568374 -3.289224)'), GeomFromEWKT('SRID=4674;POINT (-38.568377 -3.289231)'))) / (select extract(epoch from '2026-05-31 14:45:56'::timestamp) - extract(epoch from '2026-05-31 14:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568374 -3.289224)'), GeomFromEWKT('SRID=4674;POINT (-38.568377 -3.289231)'))) / (select extract(epoch from '2026-05-31 14:45:56'::timestamp) - extract(epoch from '2026-05-31 14:45: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'), 46535, 'SRID=4674;POINT (-38.568386 -3.289256)', '2026-05-31 14:45:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568377 -3.289231)'), GeomFromEWKT('SRID=4674;POINT (-38.568386 -3.289256)'))) / (select extract(epoch from '2026-05-31 14:45:59'::timestamp) - extract(epoch from '2026-05-31 14:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568377 -3.289231)'), GeomFromEWKT('SRID=4674;POINT (-38.568386 -3.289256)'))) / (select extract(epoch from '2026-05-31 14:45:59'::timestamp) - extract(epoch from '2026-05-31 14:45:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568392 -3.289287)', '2026-05-31 14:46:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568386 -3.289256)'), GeomFromEWKT('SRID=4674;POINT (-38.568392 -3.289287)'))) / (select extract(epoch from '2026-05-31 14:46:02'::timestamp) - extract(epoch from '2026-05-31 14:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568386 -3.289256)'), GeomFromEWKT('SRID=4674;POINT (-38.568392 -3.289287)'))) / (select extract(epoch from '2026-05-31 14:46:02'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568406 -3.289346)', '2026-05-31 14:46:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568392 -3.289287)'), GeomFromEWKT('SRID=4674;POINT (-38.568406 -3.289346)'))) / (select extract(epoch from '2026-05-31 14:46:08'::timestamp) - extract(epoch from '2026-05-31 14:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568392 -3.289287)'), GeomFromEWKT('SRID=4674;POINT (-38.568406 -3.289346)'))) / (select extract(epoch from '2026-05-31 14:46:08'::timestamp) - extract(epoch from '2026-05-31 14:46:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568407 -3.289411)', '2026-05-31 14:46:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568406 -3.289346)'), GeomFromEWKT('SRID=4674;POINT (-38.568407 -3.289411)'))) / (select extract(epoch from '2026-05-31 14:46:15'::timestamp) - extract(epoch from '2026-05-31 14:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568406 -3.289346)'), GeomFromEWKT('SRID=4674;POINT (-38.568407 -3.289411)'))) / (select extract(epoch from '2026-05-31 14:46:15'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568423 -3.289513)', '2026-05-31 14:46:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568407 -3.289411)'), GeomFromEWKT('SRID=4674;POINT (-38.568423 -3.289513)'))) / (select extract(epoch from '2026-05-31 14:46:25'::timestamp) - extract(epoch from '2026-05-31 14:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568407 -3.289411)'), GeomFromEWKT('SRID=4674;POINT (-38.568423 -3.289513)'))) / (select extract(epoch from '2026-05-31 14:46:25'::timestamp) - extract(epoch from '2026-05-31 14:46:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568434 -3.289581)', '2026-05-31 14:46:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568423 -3.289513)'), GeomFromEWKT('SRID=4674;POINT (-38.568434 -3.289581)'))) / (select extract(epoch from '2026-05-31 14:46:32'::timestamp) - extract(epoch from '2026-05-31 14:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568423 -3.289513)'), GeomFromEWKT('SRID=4674;POINT (-38.568434 -3.289581)'))) / (select extract(epoch from '2026-05-31 14:46:32'::timestamp) - extract(epoch from '2026-05-31 14:46:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568443 -3.289654)', '2026-05-31 14:46:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568434 -3.289581)'), GeomFromEWKT('SRID=4674;POINT (-38.568443 -3.289654)'))) / (select extract(epoch from '2026-05-31 14:46:39'::timestamp) - extract(epoch from '2026-05-31 14:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568434 -3.289581)'), GeomFromEWKT('SRID=4674;POINT (-38.568443 -3.289654)'))) / (select extract(epoch from '2026-05-31 14:46:39'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568442 -3.289662)', '2026-05-31 14:46:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568443 -3.289654)'), GeomFromEWKT('SRID=4674;POINT (-38.568442 -3.289662)'))) / (select extract(epoch from '2026-05-31 14:46:40'::timestamp) - extract(epoch from '2026-05-31 14:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568443 -3.289654)'), GeomFromEWKT('SRID=4674;POINT (-38.568442 -3.289662)'))) / (select extract(epoch from '2026-05-31 14:46:40'::timestamp) - extract(epoch from '2026-05-31 14:46: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'), 46535, 'SRID=4674;POINT (-38.568439 -3.289709)', '2026-05-31 14:46:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568442 -3.289662)'), GeomFromEWKT('SRID=4674;POINT (-38.568439 -3.289709)'))) / (select extract(epoch from '2026-05-31 14:46:45'::timestamp) - extract(epoch from '2026-05-31 14:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568442 -3.289662)'), GeomFromEWKT('SRID=4674;POINT (-38.568439 -3.289709)'))) / (select extract(epoch from '2026-05-31 14:46:45'::timestamp) - extract(epoch from '2026-05-31 14:46: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'), 46535, 'SRID=4674;POINT (-38.568431 -3.289767)', '2026-05-31 14:46:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568439 -3.289709)'), GeomFromEWKT('SRID=4674;POINT (-38.568431 -3.289767)'))) / (select extract(epoch from '2026-05-31 14:46:52'::timestamp) - extract(epoch from '2026-05-31 14:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568439 -3.289709)'), GeomFromEWKT('SRID=4674;POINT (-38.568431 -3.289767)'))) / (select extract(epoch from '2026-05-31 14:46:52'::timestamp) - extract(epoch from '2026-05-31 14:46: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'), 46535, 'SRID=4674;POINT (-38.568406 -3.289822)', '2026-05-31 14:46:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568431 -3.289767)'), GeomFromEWKT('SRID=4674;POINT (-38.568406 -3.289822)'))) / (select extract(epoch from '2026-05-31 14:46:59'::timestamp) - extract(epoch from '2026-05-31 14:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568431 -3.289767)'), GeomFromEWKT('SRID=4674;POINT (-38.568406 -3.289822)'))) / (select extract(epoch from '2026-05-31 14:46:59'::timestamp) - extract(epoch from '2026-05-31 14:46:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568375 -3.289887)', '2026-05-31 14:47:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568406 -3.289822)'), GeomFromEWKT('SRID=4674;POINT (-38.568375 -3.289887)'))) / (select extract(epoch from '2026-05-31 14:47:06'::timestamp) - extract(epoch from '2026-05-31 14:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568406 -3.289822)'), GeomFromEWKT('SRID=4674;POINT (-38.568375 -3.289887)'))) / (select extract(epoch from '2026-05-31 14:47:06'::timestamp) - extract(epoch from '2026-05-31 14:46: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'), 46535, 'SRID=4674;POINT (-38.568364 -3.289926)', '2026-05-31 14:47:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568375 -3.289887)'), GeomFromEWKT('SRID=4674;POINT (-38.568364 -3.289926)'))) / (select extract(epoch from '2026-05-31 14:47:10'::timestamp) - extract(epoch from '2026-05-31 14:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568375 -3.289887)'), GeomFromEWKT('SRID=4674;POINT (-38.568364 -3.289926)'))) / (select extract(epoch from '2026-05-31 14:47:10'::timestamp) - extract(epoch from '2026-05-31 14:47:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568344 -3.289963)', '2026-05-31 14:47:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568364 -3.289926)'), GeomFromEWKT('SRID=4674;POINT (-38.568344 -3.289963)'))) / (select extract(epoch from '2026-05-31 14:47:14'::timestamp) - extract(epoch from '2026-05-31 14:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568364 -3.289926)'), GeomFromEWKT('SRID=4674;POINT (-38.568344 -3.289963)'))) / (select extract(epoch from '2026-05-31 14:47:14'::timestamp) - extract(epoch from '2026-05-31 14:47: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'), 46535, 'SRID=4674;POINT (-38.568331 -3.290005)', '2026-05-31 14:47:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568344 -3.289963)'), GeomFromEWKT('SRID=4674;POINT (-38.568331 -3.290005)'))) / (select extract(epoch from '2026-05-31 14:47:19'::timestamp) - extract(epoch from '2026-05-31 14:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568344 -3.289963)'), GeomFromEWKT('SRID=4674;POINT (-38.568331 -3.290005)'))) / (select extract(epoch from '2026-05-31 14:47:19'::timestamp) - extract(epoch from '2026-05-31 14:47: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'), 46535, 'SRID=4674;POINT (-38.568326 -3.290012)', '2026-05-31 14:47:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568331 -3.290005)'), GeomFromEWKT('SRID=4674;POINT (-38.568326 -3.290012)'))) / (select extract(epoch from '2026-05-31 14:47:20'::timestamp) - extract(epoch from '2026-05-31 14:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568331 -3.290005)'), GeomFromEWKT('SRID=4674;POINT (-38.568326 -3.290012)'))) / (select extract(epoch from '2026-05-31 14:47:20'::timestamp) - extract(epoch from '2026-05-31 14:47:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568306 -3.290057)', '2026-05-31 14:47:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568326 -3.290012)'), GeomFromEWKT('SRID=4674;POINT (-38.568306 -3.290057)'))) / (select extract(epoch from '2026-05-31 14:47:27'::timestamp) - extract(epoch from '2026-05-31 14:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568326 -3.290012)'), GeomFromEWKT('SRID=4674;POINT (-38.568306 -3.290057)'))) / (select extract(epoch from '2026-05-31 14:47:27'::timestamp) - extract(epoch from '2026-05-31 14:47:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568288 -3.290117)', '2026-05-31 14:47:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568306 -3.290057)'), GeomFromEWKT('SRID=4674;POINT (-38.568288 -3.290117)'))) / (select extract(epoch from '2026-05-31 14:47:36'::timestamp) - extract(epoch from '2026-05-31 14:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568306 -3.290057)'), GeomFromEWKT('SRID=4674;POINT (-38.568288 -3.290117)'))) / (select extract(epoch from '2026-05-31 14:47:36'::timestamp) - extract(epoch from '2026-05-31 14:47: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'), 46535, 'SRID=4674;POINT (-38.568283 -3.290205)', '2026-05-31 14:47:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568288 -3.290117)'), GeomFromEWKT('SRID=4674;POINT (-38.568283 -3.290205)'))) / (select extract(epoch from '2026-05-31 14:47:45'::timestamp) - extract(epoch from '2026-05-31 14:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568288 -3.290117)'), GeomFromEWKT('SRID=4674;POINT (-38.568283 -3.290205)'))) / (select extract(epoch from '2026-05-31 14:47:45'::timestamp) - extract(epoch from '2026-05-31 14:47:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56829 -3.290279)', '2026-05-31 14:47:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568283 -3.290205)'), GeomFromEWKT('SRID=4674;POINT (-38.56829 -3.290279)'))) / (select extract(epoch from '2026-05-31 14:47:52'::timestamp) - extract(epoch from '2026-05-31 14:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568283 -3.290205)'), GeomFromEWKT('SRID=4674;POINT (-38.56829 -3.290279)'))) / (select extract(epoch from '2026-05-31 14:47:52'::timestamp) - extract(epoch from '2026-05-31 14:47:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568293 -3.290291)', '2026-05-31 14:47:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56829 -3.290279)'), GeomFromEWKT('SRID=4674;POINT (-38.568293 -3.290291)'))) / (select extract(epoch from '2026-05-31 14:47:53'::timestamp) - extract(epoch from '2026-05-31 14:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56829 -3.290279)'), GeomFromEWKT('SRID=4674;POINT (-38.568293 -3.290291)'))) / (select extract(epoch from '2026-05-31 14:47:53'::timestamp) - extract(epoch from '2026-05-31 14:47: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'), 46535, 'SRID=4674;POINT (-38.568299 -3.290371)', '2026-05-31 14:48:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568293 -3.290291)'), GeomFromEWKT('SRID=4674;POINT (-38.568299 -3.290371)'))) / (select extract(epoch from '2026-05-31 14:48:00'::timestamp) - extract(epoch from '2026-05-31 14:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568293 -3.290291)'), GeomFromEWKT('SRID=4674;POINT (-38.568299 -3.290371)'))) / (select extract(epoch from '2026-05-31 14:48:00'::timestamp) - extract(epoch from '2026-05-31 14:47: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'), 46535, 'SRID=4674;POINT (-38.568295 -3.290461)', '2026-05-31 14:48:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568299 -3.290371)'), GeomFromEWKT('SRID=4674;POINT (-38.568295 -3.290461)'))) / (select extract(epoch from '2026-05-31 14:48:08'::timestamp) - extract(epoch from '2026-05-31 14:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568299 -3.290371)'), GeomFromEWKT('SRID=4674;POINT (-38.568295 -3.290461)'))) / (select extract(epoch from '2026-05-31 14:48:08'::timestamp) - extract(epoch from '2026-05-31 14:48: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'), 46535, 'SRID=4674;POINT (-38.568283 -3.290507)', '2026-05-31 14:48:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568295 -3.290461)'), GeomFromEWKT('SRID=4674;POINT (-38.568283 -3.290507)'))) / (select extract(epoch from '2026-05-31 14:48:12'::timestamp) - extract(epoch from '2026-05-31 14:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568295 -3.290461)'), GeomFromEWKT('SRID=4674;POINT (-38.568283 -3.290507)'))) / (select extract(epoch from '2026-05-31 14:48:12'::timestamp) - extract(epoch from '2026-05-31 14:48: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'), 46535, 'SRID=4674;POINT (-38.568281 -3.29053)', '2026-05-31 14:48:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568283 -3.290507)'), GeomFromEWKT('SRID=4674;POINT (-38.568281 -3.29053)'))) / (select extract(epoch from '2026-05-31 14:48:14'::timestamp) - extract(epoch from '2026-05-31 14:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568283 -3.290507)'), GeomFromEWKT('SRID=4674;POINT (-38.568281 -3.29053)'))) / (select extract(epoch from '2026-05-31 14:48:14'::timestamp) - extract(epoch from '2026-05-31 14:48: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'), 46535, 'SRID=4674;POINT (-38.568238 -3.29061)', '2026-05-31 14:48:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568281 -3.29053)'), GeomFromEWKT('SRID=4674;POINT (-38.568238 -3.29061)'))) / (select extract(epoch from '2026-05-31 14:48:22'::timestamp) - extract(epoch from '2026-05-31 14:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568281 -3.29053)'), GeomFromEWKT('SRID=4674;POINT (-38.568238 -3.29061)'))) / (select extract(epoch from '2026-05-31 14:48:22'::timestamp) - extract(epoch from '2026-05-31 14:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568229 -3.290624)', '2026-05-31 14:48:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568238 -3.29061)'), GeomFromEWKT('SRID=4674;POINT (-38.568229 -3.290624)'))) / (select extract(epoch from '2026-05-31 14:48:24'::timestamp) - extract(epoch from '2026-05-31 14:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568238 -3.29061)'), GeomFromEWKT('SRID=4674;POINT (-38.568229 -3.290624)'))) / (select extract(epoch from '2026-05-31 14:48:24'::timestamp) - extract(epoch from '2026-05-31 14:48: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'), 46535, 'SRID=4674;POINT (-38.568215 -3.290673)', '2026-05-31 14:48:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568229 -3.290624)'), GeomFromEWKT('SRID=4674;POINT (-38.568215 -3.290673)'))) / (select extract(epoch from '2026-05-31 14:48:29'::timestamp) - extract(epoch from '2026-05-31 14:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568229 -3.290624)'), GeomFromEWKT('SRID=4674;POINT (-38.568215 -3.290673)'))) / (select extract(epoch from '2026-05-31 14:48:29'::timestamp) - extract(epoch from '2026-05-31 14:48:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568182 -3.290734)', '2026-05-31 14:48:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568215 -3.290673)'), GeomFromEWKT('SRID=4674;POINT (-38.568182 -3.290734)'))) / (select extract(epoch from '2026-05-31 14:48:36'::timestamp) - extract(epoch from '2026-05-31 14:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568215 -3.290673)'), GeomFromEWKT('SRID=4674;POINT (-38.568182 -3.290734)'))) / (select extract(epoch from '2026-05-31 14:48:36'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568161 -3.29079)', '2026-05-31 14:48:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568182 -3.290734)'), GeomFromEWKT('SRID=4674;POINT (-38.568161 -3.29079)'))) / (select extract(epoch from '2026-05-31 14:48:42'::timestamp) - extract(epoch from '2026-05-31 14:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568182 -3.290734)'), GeomFromEWKT('SRID=4674;POINT (-38.568161 -3.29079)'))) / (select extract(epoch from '2026-05-31 14:48:42'::timestamp) - extract(epoch from '2026-05-31 14:48: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'), 46535, 'SRID=4674;POINT (-38.568155 -3.290797)', '2026-05-31 14:48:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568161 -3.29079)'), GeomFromEWKT('SRID=4674;POINT (-38.568155 -3.290797)'))) / (select extract(epoch from '2026-05-31 14:48:43'::timestamp) - extract(epoch from '2026-05-31 14:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568161 -3.29079)'), GeomFromEWKT('SRID=4674;POINT (-38.568155 -3.290797)'))) / (select extract(epoch from '2026-05-31 14:48:43'::timestamp) - extract(epoch from '2026-05-31 14:48: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'), 46535, 'SRID=4674;POINT (-38.568125 -3.290846)', '2026-05-31 14:48:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568155 -3.290797)'), GeomFromEWKT('SRID=4674;POINT (-38.568125 -3.290846)'))) / (select extract(epoch from '2026-05-31 14:48:50'::timestamp) - extract(epoch from '2026-05-31 14:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568155 -3.290797)'), GeomFromEWKT('SRID=4674;POINT (-38.568125 -3.290846)'))) / (select extract(epoch from '2026-05-31 14:48:50'::timestamp) - extract(epoch from '2026-05-31 14:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568119 -3.290862)', '2026-05-31 14:48:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568125 -3.290846)'), GeomFromEWKT('SRID=4674;POINT (-38.568119 -3.290862)'))) / (select extract(epoch from '2026-05-31 14:48:52'::timestamp) - extract(epoch from '2026-05-31 14:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568125 -3.290846)'), GeomFromEWKT('SRID=4674;POINT (-38.568119 -3.290862)'))) / (select extract(epoch from '2026-05-31 14:48:52'::timestamp) - extract(epoch from '2026-05-31 14:48:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568118 -3.290878)', '2026-05-31 14:48:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568119 -3.290862)'), GeomFromEWKT('SRID=4674;POINT (-38.568118 -3.290878)'))) / (select extract(epoch from '2026-05-31 14:48:54'::timestamp) - extract(epoch from '2026-05-31 14:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568119 -3.290862)'), GeomFromEWKT('SRID=4674;POINT (-38.568118 -3.290878)'))) / (select extract(epoch from '2026-05-31 14:48:54'::timestamp) - extract(epoch from '2026-05-31 14:48: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'), 46535, 'SRID=4674;POINT (-38.568109 -3.290894)', '2026-05-31 14:48:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568118 -3.290878)'), GeomFromEWKT('SRID=4674;POINT (-38.568109 -3.290894)'))) / (select extract(epoch from '2026-05-31 14:48:56'::timestamp) - extract(epoch from '2026-05-31 14:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568118 -3.290878)'), GeomFromEWKT('SRID=4674;POINT (-38.568109 -3.290894)'))) / (select extract(epoch from '2026-05-31 14:48:56'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.568107 -3.290902)', '2026-05-31 14:48:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568109 -3.290894)'), GeomFromEWKT('SRID=4674;POINT (-38.568107 -3.290902)'))) / (select extract(epoch from '2026-05-31 14:48:57'::timestamp) - extract(epoch from '2026-05-31 14:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568109 -3.290894)'), GeomFromEWKT('SRID=4674;POINT (-38.568107 -3.290902)'))) / (select extract(epoch from '2026-05-31 14:48:57'::timestamp) - extract(epoch from '2026-05-31 14:48:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568094 -3.290963)', '2026-05-31 14:49:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568107 -3.290902)'), GeomFromEWKT('SRID=4674;POINT (-38.568094 -3.290963)'))) / (select extract(epoch from '2026-05-31 14:49:04'::timestamp) - extract(epoch from '2026-05-31 14:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568107 -3.290902)'), GeomFromEWKT('SRID=4674;POINT (-38.568094 -3.290963)'))) / (select extract(epoch from '2026-05-31 14:49:04'::timestamp) - extract(epoch from '2026-05-31 14:48:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568077 -3.291036)', '2026-05-31 14:49:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568094 -3.290963)'), GeomFromEWKT('SRID=4674;POINT (-38.568077 -3.291036)'))) / (select extract(epoch from '2026-05-31 14:49:12'::timestamp) - extract(epoch from '2026-05-31 14:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568094 -3.290963)'), GeomFromEWKT('SRID=4674;POINT (-38.568077 -3.291036)'))) / (select extract(epoch from '2026-05-31 14:49:12'::timestamp) - extract(epoch from '2026-05-31 14:49: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'), 46535, 'SRID=4674;POINT (-38.568071 -3.291104)', '2026-05-31 14:49:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568077 -3.291036)'), GeomFromEWKT('SRID=4674;POINT (-38.568071 -3.291104)'))) / (select extract(epoch from '2026-05-31 14:49:19'::timestamp) - extract(epoch from '2026-05-31 14:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568077 -3.291036)'), GeomFromEWKT('SRID=4674;POINT (-38.568071 -3.291104)'))) / (select extract(epoch from '2026-05-31 14:49:19'::timestamp) - extract(epoch from '2026-05-31 14:49: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'), 46535, 'SRID=4674;POINT (-38.56807 -3.291128)', '2026-05-31 14:49:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568071 -3.291104)'), GeomFromEWKT('SRID=4674;POINT (-38.56807 -3.291128)'))) / (select extract(epoch from '2026-05-31 14:49:24'::timestamp) - extract(epoch from '2026-05-31 14:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568071 -3.291104)'), GeomFromEWKT('SRID=4674;POINT (-38.56807 -3.291128)'))) / (select extract(epoch from '2026-05-31 14:49:24'::timestamp) - extract(epoch from '2026-05-31 14:49: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'), 46535, 'SRID=4674;POINT (-38.568049 -3.291186)', '2026-05-31 14:49:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56807 -3.291128)'), GeomFromEWKT('SRID=4674;POINT (-38.568049 -3.291186)'))) / (select extract(epoch from '2026-05-31 14:49:33'::timestamp) - extract(epoch from '2026-05-31 14:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56807 -3.291128)'), GeomFromEWKT('SRID=4674;POINT (-38.568049 -3.291186)'))) / (select extract(epoch from '2026-05-31 14:49:33'::timestamp) - extract(epoch from '2026-05-31 14:49:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568038 -3.291237)', '2026-05-31 14:49:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568049 -3.291186)'), GeomFromEWKT('SRID=4674;POINT (-38.568038 -3.291237)'))) / (select extract(epoch from '2026-05-31 14:49:40'::timestamp) - extract(epoch from '2026-05-31 14:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568049 -3.291186)'), GeomFromEWKT('SRID=4674;POINT (-38.568038 -3.291237)'))) / (select extract(epoch from '2026-05-31 14:49:40'::timestamp) - extract(epoch from '2026-05-31 14:49:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568019 -3.291325)', '2026-05-31 14:49:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568038 -3.291237)'), GeomFromEWKT('SRID=4674;POINT (-38.568019 -3.291325)'))) / (select extract(epoch from '2026-05-31 14:49:49'::timestamp) - extract(epoch from '2026-05-31 14:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568038 -3.291237)'), GeomFromEWKT('SRID=4674;POINT (-38.568019 -3.291325)'))) / (select extract(epoch from '2026-05-31 14:49:49'::timestamp) - extract(epoch from '2026-05-31 14:49:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567998 -3.291352)', '2026-05-31 14:49:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568019 -3.291325)'), GeomFromEWKT('SRID=4674;POINT (-38.567998 -3.291352)'))) / (select extract(epoch from '2026-05-31 14:49:52'::timestamp) - extract(epoch from '2026-05-31 14:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568019 -3.291325)'), GeomFromEWKT('SRID=4674;POINT (-38.567998 -3.291352)'))) / (select extract(epoch from '2026-05-31 14:49:52'::timestamp) - extract(epoch from '2026-05-31 14:49: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'), 46535, 'SRID=4674;POINT (-38.567995 -3.291374)', '2026-05-31 14:49:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567998 -3.291352)'), GeomFromEWKT('SRID=4674;POINT (-38.567995 -3.291374)'))) / (select extract(epoch from '2026-05-31 14:49:55'::timestamp) - extract(epoch from '2026-05-31 14:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567998 -3.291352)'), GeomFromEWKT('SRID=4674;POINT (-38.567995 -3.291374)'))) / (select extract(epoch from '2026-05-31 14:49:55'::timestamp) - extract(epoch from '2026-05-31 14:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567964 -3.291427)', '2026-05-31 14:50:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567995 -3.291374)'), GeomFromEWKT('SRID=4674;POINT (-38.567964 -3.291427)'))) / (select extract(epoch from '2026-05-31 14:50:01'::timestamp) - extract(epoch from '2026-05-31 14:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567995 -3.291374)'), GeomFromEWKT('SRID=4674;POINT (-38.567964 -3.291427)'))) / (select extract(epoch from '2026-05-31 14:50:01'::timestamp) - extract(epoch from '2026-05-31 14:49: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'), 46535, 'SRID=4674;POINT (-38.567959 -3.291432)', '2026-05-31 14:50:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567964 -3.291427)'), GeomFromEWKT('SRID=4674;POINT (-38.567959 -3.291432)'))) / (select extract(epoch from '2026-05-31 14:50:02'::timestamp) - extract(epoch from '2026-05-31 14:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567964 -3.291427)'), GeomFromEWKT('SRID=4674;POINT (-38.567959 -3.291432)'))) / (select extract(epoch from '2026-05-31 14:50:02'::timestamp) - extract(epoch from '2026-05-31 14:50: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'), 46535, 'SRID=4674;POINT (-38.567951 -3.291442)', '2026-05-31 14:50:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567959 -3.291432)'), GeomFromEWKT('SRID=4674;POINT (-38.567951 -3.291442)'))) / (select extract(epoch from '2026-05-31 14:50:04'::timestamp) - extract(epoch from '2026-05-31 14:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567959 -3.291432)'), GeomFromEWKT('SRID=4674;POINT (-38.567951 -3.291442)'))) / (select extract(epoch from '2026-05-31 14:50:04'::timestamp) - extract(epoch from '2026-05-31 14:50: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'), 46535, 'SRID=4674;POINT (-38.567943 -3.291475)', '2026-05-31 14:50:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567951 -3.291442)'), GeomFromEWKT('SRID=4674;POINT (-38.567943 -3.291475)'))) / (select extract(epoch from '2026-05-31 14:50:08'::timestamp) - extract(epoch from '2026-05-31 14:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567951 -3.291442)'), GeomFromEWKT('SRID=4674;POINT (-38.567943 -3.291475)'))) / (select extract(epoch from '2026-05-31 14:50:08'::timestamp) - extract(epoch from '2026-05-31 14:50: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'), 46535, 'SRID=4674;POINT (-38.567932 -3.291498)', '2026-05-31 14:50:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567943 -3.291475)'), GeomFromEWKT('SRID=4674;POINT (-38.567932 -3.291498)'))) / (select extract(epoch from '2026-05-31 14:50:11'::timestamp) - extract(epoch from '2026-05-31 14:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567943 -3.291475)'), GeomFromEWKT('SRID=4674;POINT (-38.567932 -3.291498)'))) / (select extract(epoch from '2026-05-31 14:50:11'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.567924 -3.291518)', '2026-05-31 14:50:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567932 -3.291498)'), GeomFromEWKT('SRID=4674;POINT (-38.567924 -3.291518)'))) / (select extract(epoch from '2026-05-31 14:50:13'::timestamp) - extract(epoch from '2026-05-31 14:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567932 -3.291498)'), GeomFromEWKT('SRID=4674;POINT (-38.567924 -3.291518)'))) / (select extract(epoch from '2026-05-31 14:50:13'::timestamp) - extract(epoch from '2026-05-31 14:50: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'), 46535, 'SRID=4674;POINT (-38.567924 -3.291528)', '2026-05-31 14:50:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567924 -3.291518)'), GeomFromEWKT('SRID=4674;POINT (-38.567924 -3.291528)'))) / (select extract(epoch from '2026-05-31 14:50:14'::timestamp) - extract(epoch from '2026-05-31 14:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567924 -3.291518)'), GeomFromEWKT('SRID=4674;POINT (-38.567924 -3.291528)'))) / (select extract(epoch from '2026-05-31 14:50:14'::timestamp) - extract(epoch from '2026-05-31 14:50:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567892 -3.291606)', '2026-05-31 14:50:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567924 -3.291528)'), GeomFromEWKT('SRID=4674;POINT (-38.567892 -3.291606)'))) / (select extract(epoch from '2026-05-31 14:50:22'::timestamp) - extract(epoch from '2026-05-31 14:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567924 -3.291528)'), GeomFromEWKT('SRID=4674;POINT (-38.567892 -3.291606)'))) / (select extract(epoch from '2026-05-31 14:50:22'::timestamp) - extract(epoch from '2026-05-31 14:50: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'), 46535, 'SRID=4674;POINT (-38.567862 -3.29166)', '2026-05-31 14:50:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567892 -3.291606)'), GeomFromEWKT('SRID=4674;POINT (-38.567862 -3.29166)'))) / (select extract(epoch from '2026-05-31 14:50:28'::timestamp) - extract(epoch from '2026-05-31 14:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567892 -3.291606)'), GeomFromEWKT('SRID=4674;POINT (-38.567862 -3.29166)'))) / (select extract(epoch from '2026-05-31 14:50:28'::timestamp) - extract(epoch from '2026-05-31 14:50: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'), 46535, 'SRID=4674;POINT (-38.567844 -3.291716)', '2026-05-31 14:50:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567862 -3.29166)'), GeomFromEWKT('SRID=4674;POINT (-38.567844 -3.291716)'))) / (select extract(epoch from '2026-05-31 14:50:34'::timestamp) - extract(epoch from '2026-05-31 14:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567862 -3.29166)'), GeomFromEWKT('SRID=4674;POINT (-38.567844 -3.291716)'))) / (select extract(epoch from '2026-05-31 14:50:34'::timestamp) - extract(epoch from '2026-05-31 14:50:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567822 -3.291752)', '2026-05-31 14:50:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567844 -3.291716)'), GeomFromEWKT('SRID=4674;POINT (-38.567822 -3.291752)'))) / (select extract(epoch from '2026-05-31 14:50:39'::timestamp) - extract(epoch from '2026-05-31 14:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567844 -3.291716)'), GeomFromEWKT('SRID=4674;POINT (-38.567822 -3.291752)'))) / (select extract(epoch from '2026-05-31 14:50:39'::timestamp) - extract(epoch from '2026-05-31 14:50:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567823 -3.291767)', '2026-05-31 14:50:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567822 -3.291752)'), GeomFromEWKT('SRID=4674;POINT (-38.567823 -3.291767)'))) / (select extract(epoch from '2026-05-31 14:50:41'::timestamp) - extract(epoch from '2026-05-31 14:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567822 -3.291752)'), GeomFromEWKT('SRID=4674;POINT (-38.567823 -3.291767)'))) / (select extract(epoch from '2026-05-31 14:50:41'::timestamp) - extract(epoch from '2026-05-31 14:50:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567796 -3.291796)', '2026-05-31 14:50:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567823 -3.291767)'), GeomFromEWKT('SRID=4674;POINT (-38.567796 -3.291796)'))) / (select extract(epoch from '2026-05-31 14:50:47'::timestamp) - extract(epoch from '2026-05-31 14:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567823 -3.291767)'), GeomFromEWKT('SRID=4674;POINT (-38.567796 -3.291796)'))) / (select extract(epoch from '2026-05-31 14:50:47'::timestamp) - extract(epoch from '2026-05-31 14:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567747 -3.291856)', '2026-05-31 14:50:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567796 -3.291796)'), GeomFromEWKT('SRID=4674;POINT (-38.567747 -3.291856)'))) / (select extract(epoch from '2026-05-31 14:50:56'::timestamp) - extract(epoch from '2026-05-31 14:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567796 -3.291796)'), GeomFromEWKT('SRID=4674;POINT (-38.567747 -3.291856)'))) / (select extract(epoch from '2026-05-31 14:50:56'::timestamp) - extract(epoch from '2026-05-31 14:50: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'), 46535, 'SRID=4674;POINT (-38.567737 -3.291895)', '2026-05-31 14:51:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567747 -3.291856)'), GeomFromEWKT('SRID=4674;POINT (-38.567737 -3.291895)'))) / (select extract(epoch from '2026-05-31 14:51:04'::timestamp) - extract(epoch from '2026-05-31 14:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567747 -3.291856)'), GeomFromEWKT('SRID=4674;POINT (-38.567737 -3.291895)'))) / (select extract(epoch from '2026-05-31 14:51:04'::timestamp) - extract(epoch from '2026-05-31 14:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567733 -3.291994)', '2026-05-31 14:51:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567737 -3.291895)'), GeomFromEWKT('SRID=4674;POINT (-38.567733 -3.291994)'))) / (select extract(epoch from '2026-05-31 14:51:18'::timestamp) - extract(epoch from '2026-05-31 14:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567737 -3.291895)'), GeomFromEWKT('SRID=4674;POINT (-38.567733 -3.291994)'))) / (select extract(epoch from '2026-05-31 14:51:18'::timestamp) - extract(epoch from '2026-05-31 14:51: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'), 46535, 'SRID=4674;POINT (-38.567719 -3.292095)', '2026-05-31 14:51:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567733 -3.291994)'), GeomFromEWKT('SRID=4674;POINT (-38.567719 -3.292095)'))) / (select extract(epoch from '2026-05-31 14:51:28'::timestamp) - extract(epoch from '2026-05-31 14:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567733 -3.291994)'), GeomFromEWKT('SRID=4674;POINT (-38.567719 -3.292095)'))) / (select extract(epoch from '2026-05-31 14:51:28'::timestamp) - extract(epoch from '2026-05-31 14:51:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567704 -3.292156)', '2026-05-31 14:51:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567719 -3.292095)'), GeomFromEWKT('SRID=4674;POINT (-38.567704 -3.292156)'))) / (select extract(epoch from '2026-05-31 14:51:34'::timestamp) - extract(epoch from '2026-05-31 14:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567719 -3.292095)'), GeomFromEWKT('SRID=4674;POINT (-38.567704 -3.292156)'))) / (select extract(epoch from '2026-05-31 14:51:34'::timestamp) - extract(epoch from '2026-05-31 14:51: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'), 46535, 'SRID=4674;POINT (-38.567692 -3.292176)', '2026-05-31 14:51:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567704 -3.292156)'), GeomFromEWKT('SRID=4674;POINT (-38.567692 -3.292176)'))) / (select extract(epoch from '2026-05-31 14:51:36'::timestamp) - extract(epoch from '2026-05-31 14:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567704 -3.292156)'), GeomFromEWKT('SRID=4674;POINT (-38.567692 -3.292176)'))) / (select extract(epoch from '2026-05-31 14:51:36'::timestamp) - extract(epoch from '2026-05-31 14:51:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567687 -3.292208)', '2026-05-31 14:51:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567692 -3.292176)'), GeomFromEWKT('SRID=4674;POINT (-38.567687 -3.292208)'))) / (select extract(epoch from '2026-05-31 14:51:39'::timestamp) - extract(epoch from '2026-05-31 14:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567692 -3.292176)'), GeomFromEWKT('SRID=4674;POINT (-38.567687 -3.292208)'))) / (select extract(epoch from '2026-05-31 14:51:39'::timestamp) - extract(epoch from '2026-05-31 14:51:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567672 -3.292238)', '2026-05-31 14:51:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567687 -3.292208)'), GeomFromEWKT('SRID=4674;POINT (-38.567672 -3.292238)'))) / (select extract(epoch from '2026-05-31 14:51:42'::timestamp) - extract(epoch from '2026-05-31 14:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567687 -3.292208)'), GeomFromEWKT('SRID=4674;POINT (-38.567672 -3.292238)'))) / (select extract(epoch from '2026-05-31 14:51:42'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.567656 -3.29231)', '2026-05-31 14:51:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567672 -3.292238)'), GeomFromEWKT('SRID=4674;POINT (-38.567656 -3.29231)'))) / (select extract(epoch from '2026-05-31 14:51:49'::timestamp) - extract(epoch from '2026-05-31 14:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567672 -3.292238)'), GeomFromEWKT('SRID=4674;POINT (-38.567656 -3.29231)'))) / (select extract(epoch from '2026-05-31 14:51:49'::timestamp) - extract(epoch from '2026-05-31 14:51: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'), 46535, 'SRID=4674;POINT (-38.567628 -3.292388)', '2026-05-31 14:51:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567656 -3.29231)'), GeomFromEWKT('SRID=4674;POINT (-38.567628 -3.292388)'))) / (select extract(epoch from '2026-05-31 14:51:57'::timestamp) - extract(epoch from '2026-05-31 14:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567656 -3.29231)'), GeomFromEWKT('SRID=4674;POINT (-38.567628 -3.292388)'))) / (select extract(epoch from '2026-05-31 14:51:57'::timestamp) - extract(epoch from '2026-05-31 14:51:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567596 -3.292454)', '2026-05-31 14:52:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567628 -3.292388)'), GeomFromEWKT('SRID=4674;POINT (-38.567596 -3.292454)'))) / (select extract(epoch from '2026-05-31 14:52:04'::timestamp) - extract(epoch from '2026-05-31 14:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567628 -3.292388)'), GeomFromEWKT('SRID=4674;POINT (-38.567596 -3.292454)'))) / (select extract(epoch from '2026-05-31 14:52:04'::timestamp) - extract(epoch from '2026-05-31 14:51: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'), 46535, 'SRID=4674;POINT (-38.567556 -3.292528)', '2026-05-31 14:52:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567596 -3.292454)'), GeomFromEWKT('SRID=4674;POINT (-38.567556 -3.292528)'))) / (select extract(epoch from '2026-05-31 14:52:11'::timestamp) - extract(epoch from '2026-05-31 14:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567596 -3.292454)'), GeomFromEWKT('SRID=4674;POINT (-38.567556 -3.292528)'))) / (select extract(epoch from '2026-05-31 14:52:11'::timestamp) - extract(epoch from '2026-05-31 14:52: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'), 46535, 'SRID=4674;POINT (-38.567551 -3.292546)', '2026-05-31 14:52:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567556 -3.292528)'), GeomFromEWKT('SRID=4674;POINT (-38.567551 -3.292546)'))) / (select extract(epoch from '2026-05-31 14:52:13'::timestamp) - extract(epoch from '2026-05-31 14:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567556 -3.292528)'), GeomFromEWKT('SRID=4674;POINT (-38.567551 -3.292546)'))) / (select extract(epoch from '2026-05-31 14:52:13'::timestamp) - extract(epoch from '2026-05-31 14:52: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'), 46535, 'SRID=4674;POINT (-38.567539 -3.292574)', '2026-05-31 14:52:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567551 -3.292546)'), GeomFromEWKT('SRID=4674;POINT (-38.567539 -3.292574)'))) / (select extract(epoch from '2026-05-31 14:52:17'::timestamp) - extract(epoch from '2026-05-31 14:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567551 -3.292546)'), GeomFromEWKT('SRID=4674;POINT (-38.567539 -3.292574)'))) / (select extract(epoch from '2026-05-31 14:52:17'::timestamp) - extract(epoch from '2026-05-31 14:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567543 -3.292589)', '2026-05-31 14:52:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567539 -3.292574)'), GeomFromEWKT('SRID=4674;POINT (-38.567543 -3.292589)'))) / (select extract(epoch from '2026-05-31 14:52:19'::timestamp) - extract(epoch from '2026-05-31 14:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567539 -3.292574)'), GeomFromEWKT('SRID=4674;POINT (-38.567543 -3.292589)'))) / (select extract(epoch from '2026-05-31 14:52:19'::timestamp) - extract(epoch from '2026-05-31 14:52: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'), 46535, 'SRID=4674;POINT (-38.567546 -3.292607)', '2026-05-31 14:52:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567543 -3.292589)'), GeomFromEWKT('SRID=4674;POINT (-38.567546 -3.292607)'))) / (select extract(epoch from '2026-05-31 14:52:21'::timestamp) - extract(epoch from '2026-05-31 14:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567543 -3.292589)'), GeomFromEWKT('SRID=4674;POINT (-38.567546 -3.292607)'))) / (select extract(epoch from '2026-05-31 14:52:21'::timestamp) - extract(epoch from '2026-05-31 14:52:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567548 -3.292617)', '2026-05-31 14:52:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567546 -3.292607)'), GeomFromEWKT('SRID=4674;POINT (-38.567548 -3.292617)'))) / (select extract(epoch from '2026-05-31 14:52:22'::timestamp) - extract(epoch from '2026-05-31 14:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567546 -3.292607)'), GeomFromEWKT('SRID=4674;POINT (-38.567548 -3.292617)'))) / (select extract(epoch from '2026-05-31 14:52:22'::timestamp) - extract(epoch from '2026-05-31 14:52: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'), 46535, 'SRID=4674;POINT (-38.567553 -3.292643)', '2026-05-31 14:52:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567548 -3.292617)'), GeomFromEWKT('SRID=4674;POINT (-38.567553 -3.292643)'))) / (select extract(epoch from '2026-05-31 14:52:25'::timestamp) - extract(epoch from '2026-05-31 14:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567548 -3.292617)'), GeomFromEWKT('SRID=4674;POINT (-38.567553 -3.292643)'))) / (select extract(epoch from '2026-05-31 14:52:25'::timestamp) - extract(epoch from '2026-05-31 14:52: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'), 46535, 'SRID=4674;POINT (-38.567546 -3.292691)', '2026-05-31 14:52:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567553 -3.292643)'), GeomFromEWKT('SRID=4674;POINT (-38.567546 -3.292691)'))) / (select extract(epoch from '2026-05-31 14:52:30'::timestamp) - extract(epoch from '2026-05-31 14:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567553 -3.292643)'), GeomFromEWKT('SRID=4674;POINT (-38.567546 -3.292691)'))) / (select extract(epoch from '2026-05-31 14:52:30'::timestamp) - extract(epoch from '2026-05-31 14:52:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56754 -3.292709)', '2026-05-31 14:52:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567546 -3.292691)'), GeomFromEWKT('SRID=4674;POINT (-38.56754 -3.292709)'))) / (select extract(epoch from '2026-05-31 14:52:32'::timestamp) - extract(epoch from '2026-05-31 14:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567546 -3.292691)'), GeomFromEWKT('SRID=4674;POINT (-38.56754 -3.292709)'))) / (select extract(epoch from '2026-05-31 14:52:32'::timestamp) - extract(epoch from '2026-05-31 14:52:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567549 -3.292745)', '2026-05-31 14:52:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56754 -3.292709)'), GeomFromEWKT('SRID=4674;POINT (-38.567549 -3.292745)'))) / (select extract(epoch from '2026-05-31 14:52:35'::timestamp) - extract(epoch from '2026-05-31 14:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56754 -3.292709)'), GeomFromEWKT('SRID=4674;POINT (-38.567549 -3.292745)'))) / (select extract(epoch from '2026-05-31 14:52:35'::timestamp) - extract(epoch from '2026-05-31 14:52: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'), 46535, 'SRID=4674;POINT (-38.567544 -3.292822)', '2026-05-31 14:52:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567549 -3.292745)'), GeomFromEWKT('SRID=4674;POINT (-38.567544 -3.292822)'))) / (select extract(epoch from '2026-05-31 14:52:42'::timestamp) - extract(epoch from '2026-05-31 14:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567549 -3.292745)'), GeomFromEWKT('SRID=4674;POINT (-38.567544 -3.292822)'))) / (select extract(epoch from '2026-05-31 14:52:42'::timestamp) - extract(epoch from '2026-05-31 14:52: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'), 46535, 'SRID=4674;POINT (-38.567534 -3.292868)', '2026-05-31 14:52:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567544 -3.292822)'), GeomFromEWKT('SRID=4674;POINT (-38.567534 -3.292868)'))) / (select extract(epoch from '2026-05-31 14:52:47'::timestamp) - extract(epoch from '2026-05-31 14:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567544 -3.292822)'), GeomFromEWKT('SRID=4674;POINT (-38.567534 -3.292868)'))) / (select extract(epoch from '2026-05-31 14:52:47'::timestamp) - extract(epoch from '2026-05-31 14:52: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'), 46535, 'SRID=4674;POINT (-38.567526 -3.292889)', '2026-05-31 14:52:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567534 -3.292868)'), GeomFromEWKT('SRID=4674;POINT (-38.567526 -3.292889)'))) / (select extract(epoch from '2026-05-31 14:52:49'::timestamp) - extract(epoch from '2026-05-31 14:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567534 -3.292868)'), GeomFromEWKT('SRID=4674;POINT (-38.567526 -3.292889)'))) / (select extract(epoch from '2026-05-31 14:52:49'::timestamp) - extract(epoch from '2026-05-31 14:52:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567507 -3.292953)', '2026-05-31 14:52:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567526 -3.292889)'), GeomFromEWKT('SRID=4674;POINT (-38.567507 -3.292953)'))) / (select extract(epoch from '2026-05-31 14:52:56'::timestamp) - extract(epoch from '2026-05-31 14:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567526 -3.292889)'), GeomFromEWKT('SRID=4674;POINT (-38.567507 -3.292953)'))) / (select extract(epoch from '2026-05-31 14:52:56'::timestamp) - extract(epoch from '2026-05-31 14:52: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'), 46535, 'SRID=4674;POINT (-38.567504 -3.292978)', '2026-05-31 14:52:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567507 -3.292953)'), GeomFromEWKT('SRID=4674;POINT (-38.567504 -3.292978)'))) / (select extract(epoch from '2026-05-31 14:52:59'::timestamp) - extract(epoch from '2026-05-31 14:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567507 -3.292953)'), GeomFromEWKT('SRID=4674;POINT (-38.567504 -3.292978)'))) / (select extract(epoch from '2026-05-31 14:52:59'::timestamp) - extract(epoch from '2026-05-31 14:52: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'), 46535, 'SRID=4674;POINT (-38.567494 -3.293012)', '2026-05-31 14:53:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567504 -3.292978)'), GeomFromEWKT('SRID=4674;POINT (-38.567494 -3.293012)'))) / (select extract(epoch from '2026-05-31 14:53:02'::timestamp) - extract(epoch from '2026-05-31 14:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567504 -3.292978)'), GeomFromEWKT('SRID=4674;POINT (-38.567494 -3.293012)'))) / (select extract(epoch from '2026-05-31 14:53:02'::timestamp) - extract(epoch from '2026-05-31 14:52: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'), 46535, 'SRID=4674;POINT (-38.567487 -3.293061)', '2026-05-31 14:53:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567494 -3.293012)'), GeomFromEWKT('SRID=4674;POINT (-38.567487 -3.293061)'))) / (select extract(epoch from '2026-05-31 14:53:07'::timestamp) - extract(epoch from '2026-05-31 14:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567494 -3.293012)'), GeomFromEWKT('SRID=4674;POINT (-38.567487 -3.293061)'))) / (select extract(epoch from '2026-05-31 14:53:07'::timestamp) - extract(epoch from '2026-05-31 14:53: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'), 46535, 'SRID=4674;POINT (-38.567489 -3.29307)', '2026-05-31 14:53:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567487 -3.293061)'), GeomFromEWKT('SRID=4674;POINT (-38.567489 -3.29307)'))) / (select extract(epoch from '2026-05-31 14:53:08'::timestamp) - extract(epoch from '2026-05-31 14:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567487 -3.293061)'), GeomFromEWKT('SRID=4674;POINT (-38.567489 -3.29307)'))) / (select extract(epoch from '2026-05-31 14:53:08'::timestamp) - extract(epoch from '2026-05-31 14:53: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'), 46535, 'SRID=4674;POINT (-38.567477 -3.293091)', '2026-05-31 14:53:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567489 -3.29307)'), GeomFromEWKT('SRID=4674;POINT (-38.567477 -3.293091)'))) / (select extract(epoch from '2026-05-31 14:53:11'::timestamp) - extract(epoch from '2026-05-31 14:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567489 -3.29307)'), GeomFromEWKT('SRID=4674;POINT (-38.567477 -3.293091)'))) / (select extract(epoch from '2026-05-31 14:53:11'::timestamp) - extract(epoch from '2026-05-31 14:53: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'), 46535, 'SRID=4674;POINT (-38.567472 -3.293124)', '2026-05-31 14:53:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567477 -3.293091)'), GeomFromEWKT('SRID=4674;POINT (-38.567472 -3.293124)'))) / (select extract(epoch from '2026-05-31 14:53:14'::timestamp) - extract(epoch from '2026-05-31 14:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567477 -3.293091)'), GeomFromEWKT('SRID=4674;POINT (-38.567472 -3.293124)'))) / (select extract(epoch from '2026-05-31 14:53:14'::timestamp) - extract(epoch from '2026-05-31 14:53: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'), 46535, 'SRID=4674;POINT (-38.567463 -3.293165)', '2026-05-31 14:53:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567472 -3.293124)'), GeomFromEWKT('SRID=4674;POINT (-38.567463 -3.293165)'))) / (select extract(epoch from '2026-05-31 14:53:18'::timestamp) - extract(epoch from '2026-05-31 14:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567472 -3.293124)'), GeomFromEWKT('SRID=4674;POINT (-38.567463 -3.293165)'))) / (select extract(epoch from '2026-05-31 14:53:18'::timestamp) - extract(epoch from '2026-05-31 14:53:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567461 -3.293187)', '2026-05-31 14:53:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567463 -3.293165)'), GeomFromEWKT('SRID=4674;POINT (-38.567461 -3.293187)'))) / (select extract(epoch from '2026-05-31 14:53:21'::timestamp) - extract(epoch from '2026-05-31 14:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567463 -3.293165)'), GeomFromEWKT('SRID=4674;POINT (-38.567461 -3.293187)'))) / (select extract(epoch from '2026-05-31 14:53:21'::timestamp) - extract(epoch from '2026-05-31 14:53:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567464 -3.293259)', '2026-05-31 14:53:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567461 -3.293187)'), GeomFromEWKT('SRID=4674;POINT (-38.567464 -3.293259)'))) / (select extract(epoch from '2026-05-31 14:53:30'::timestamp) - extract(epoch from '2026-05-31 14:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567461 -3.293187)'), GeomFromEWKT('SRID=4674;POINT (-38.567464 -3.293259)'))) / (select extract(epoch from '2026-05-31 14:53:30'::timestamp) - extract(epoch from '2026-05-31 14:53:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567456 -3.293334)', '2026-05-31 14:53:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567464 -3.293259)'), GeomFromEWKT('SRID=4674;POINT (-38.567456 -3.293334)'))) / (select extract(epoch from '2026-05-31 14:53:37'::timestamp) - extract(epoch from '2026-05-31 14:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567464 -3.293259)'), GeomFromEWKT('SRID=4674;POINT (-38.567456 -3.293334)'))) / (select extract(epoch from '2026-05-31 14:53:37'::timestamp) - extract(epoch from '2026-05-31 14:53: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'), 46535, 'SRID=4674;POINT (-38.567444 -3.293383)', '2026-05-31 14:53:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567456 -3.293334)'), GeomFromEWKT('SRID=4674;POINT (-38.567444 -3.293383)'))) / (select extract(epoch from '2026-05-31 14:53:42'::timestamp) - extract(epoch from '2026-05-31 14:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567456 -3.293334)'), GeomFromEWKT('SRID=4674;POINT (-38.567444 -3.293383)'))) / (select extract(epoch from '2026-05-31 14:53:42'::timestamp) - extract(epoch from '2026-05-31 14:53: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'), 46535, 'SRID=4674;POINT (-38.567443 -3.293405)', '2026-05-31 14:53:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567444 -3.293383)'), GeomFromEWKT('SRID=4674;POINT (-38.567443 -3.293405)'))) / (select extract(epoch from '2026-05-31 14:53:44'::timestamp) - extract(epoch from '2026-05-31 14:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567444 -3.293383)'), GeomFromEWKT('SRID=4674;POINT (-38.567443 -3.293405)'))) / (select extract(epoch from '2026-05-31 14:53:44'::timestamp) - extract(epoch from '2026-05-31 14:53: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'), 46535, 'SRID=4674;POINT (-38.567424 -3.29345)', '2026-05-31 14:53:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567443 -3.293405)'), GeomFromEWKT('SRID=4674;POINT (-38.567424 -3.29345)'))) / (select extract(epoch from '2026-05-31 14:53:50'::timestamp) - extract(epoch from '2026-05-31 14:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567443 -3.293405)'), GeomFromEWKT('SRID=4674;POINT (-38.567424 -3.29345)'))) / (select extract(epoch from '2026-05-31 14:53:50'::timestamp) - extract(epoch from '2026-05-31 14:53: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'), 46535, 'SRID=4674;POINT (-38.567413 -3.293479)', '2026-05-31 14:53:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567424 -3.29345)'), GeomFromEWKT('SRID=4674;POINT (-38.567413 -3.293479)'))) / (select extract(epoch from '2026-05-31 14:53:53'::timestamp) - extract(epoch from '2026-05-31 14:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567424 -3.29345)'), GeomFromEWKT('SRID=4674;POINT (-38.567413 -3.293479)'))) / (select extract(epoch from '2026-05-31 14:53:53'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.567408 -3.293507)', '2026-05-31 14:53:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567413 -3.293479)'), GeomFromEWKT('SRID=4674;POINT (-38.567408 -3.293507)'))) / (select extract(epoch from '2026-05-31 14:53:56'::timestamp) - extract(epoch from '2026-05-31 14:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567413 -3.293479)'), GeomFromEWKT('SRID=4674;POINT (-38.567408 -3.293507)'))) / (select extract(epoch from '2026-05-31 14:53:56'::timestamp) - extract(epoch from '2026-05-31 14:53: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'), 46535, 'SRID=4674;POINT (-38.567375 -3.29359)', '2026-05-31 14:54:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567408 -3.293507)'), GeomFromEWKT('SRID=4674;POINT (-38.567375 -3.29359)'))) / (select extract(epoch from '2026-05-31 14:54:06'::timestamp) - extract(epoch from '2026-05-31 14:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567408 -3.293507)'), GeomFromEWKT('SRID=4674;POINT (-38.567375 -3.29359)'))) / (select extract(epoch from '2026-05-31 14:54:06'::timestamp) - extract(epoch from '2026-05-31 14:53: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'), 46535, 'SRID=4674;POINT (-38.567363 -3.293614)', '2026-05-31 14:54:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567375 -3.29359)'), GeomFromEWKT('SRID=4674;POINT (-38.567363 -3.293614)'))) / (select extract(epoch from '2026-05-31 14:54:09'::timestamp) - extract(epoch from '2026-05-31 14:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567375 -3.29359)'), GeomFromEWKT('SRID=4674;POINT (-38.567363 -3.293614)'))) / (select extract(epoch from '2026-05-31 14:54:09'::timestamp) - extract(epoch from '2026-05-31 14:54:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567367 -3.293643)', '2026-05-31 14:54:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567363 -3.293614)'), GeomFromEWKT('SRID=4674;POINT (-38.567367 -3.293643)'))) / (select extract(epoch from '2026-05-31 14:54:12'::timestamp) - extract(epoch from '2026-05-31 14:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567363 -3.293614)'), GeomFromEWKT('SRID=4674;POINT (-38.567367 -3.293643)'))) / (select extract(epoch from '2026-05-31 14:54:12'::timestamp) - extract(epoch from '2026-05-31 14:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567351 -3.293685)', '2026-05-31 14:54:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567367 -3.293643)'), GeomFromEWKT('SRID=4674;POINT (-38.567351 -3.293685)'))) / (select extract(epoch from '2026-05-31 14:54:17'::timestamp) - extract(epoch from '2026-05-31 14:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567367 -3.293643)'), GeomFromEWKT('SRID=4674;POINT (-38.567351 -3.293685)'))) / (select extract(epoch from '2026-05-31 14:54:17'::timestamp) - extract(epoch from '2026-05-31 14:54: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'), 46535, 'SRID=4674;POINT (-38.567342 -3.293718)', '2026-05-31 14:54:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567351 -3.293685)'), GeomFromEWKT('SRID=4674;POINT (-38.567342 -3.293718)'))) / (select extract(epoch from '2026-05-31 14:54:20'::timestamp) - extract(epoch from '2026-05-31 14:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567351 -3.293685)'), GeomFromEWKT('SRID=4674;POINT (-38.567342 -3.293718)'))) / (select extract(epoch from '2026-05-31 14:54:20'::timestamp) - extract(epoch from '2026-05-31 14:54: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'), 46535, 'SRID=4674;POINT (-38.567337 -3.293754)', '2026-05-31 14:54:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567342 -3.293718)'), GeomFromEWKT('SRID=4674;POINT (-38.567337 -3.293754)'))) / (select extract(epoch from '2026-05-31 14:54:23'::timestamp) - extract(epoch from '2026-05-31 14:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567342 -3.293718)'), GeomFromEWKT('SRID=4674;POINT (-38.567337 -3.293754)'))) / (select extract(epoch from '2026-05-31 14:54:23'::timestamp) - extract(epoch from '2026-05-31 14:54: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'), 46535, 'SRID=4674;POINT (-38.56732 -3.293833)', '2026-05-31 14:54:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567337 -3.293754)'), GeomFromEWKT('SRID=4674;POINT (-38.56732 -3.293833)'))) / (select extract(epoch from '2026-05-31 14:54:31'::timestamp) - extract(epoch from '2026-05-31 14:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567337 -3.293754)'), GeomFromEWKT('SRID=4674;POINT (-38.56732 -3.293833)'))) / (select extract(epoch from '2026-05-31 14:54:31'::timestamp) - extract(epoch from '2026-05-31 14:54: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'), 46535, 'SRID=4674;POINT (-38.567284 -3.29392)', '2026-05-31 14:54:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56732 -3.293833)'), GeomFromEWKT('SRID=4674;POINT (-38.567284 -3.29392)'))) / (select extract(epoch from '2026-05-31 14:54:39'::timestamp) - extract(epoch from '2026-05-31 14:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56732 -3.293833)'), GeomFromEWKT('SRID=4674;POINT (-38.567284 -3.29392)'))) / (select extract(epoch from '2026-05-31 14:54:39'::timestamp) - extract(epoch from '2026-05-31 14:54: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'), 46535, 'SRID=4674;POINT (-38.567263 -3.293954)', '2026-05-31 14:54:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567284 -3.29392)'), GeomFromEWKT('SRID=4674;POINT (-38.567263 -3.293954)'))) / (select extract(epoch from '2026-05-31 14:54:43'::timestamp) - extract(epoch from '2026-05-31 14:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567284 -3.29392)'), GeomFromEWKT('SRID=4674;POINT (-38.567263 -3.293954)'))) / (select extract(epoch from '2026-05-31 14:54:43'::timestamp) - extract(epoch from '2026-05-31 14:54: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'), 46535, 'SRID=4674;POINT (-38.567264 -3.293972)', '2026-05-31 14:54:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567263 -3.293954)'), GeomFromEWKT('SRID=4674;POINT (-38.567264 -3.293972)'))) / (select extract(epoch from '2026-05-31 14:54:45'::timestamp) - extract(epoch from '2026-05-31 14:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567263 -3.293954)'), GeomFromEWKT('SRID=4674;POINT (-38.567264 -3.293972)'))) / (select extract(epoch from '2026-05-31 14:54:45'::timestamp) - extract(epoch from '2026-05-31 14:54:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56724 -3.294015)', '2026-05-31 14:54:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567264 -3.293972)'), GeomFromEWKT('SRID=4674;POINT (-38.56724 -3.294015)'))) / (select extract(epoch from '2026-05-31 14:54:51'::timestamp) - extract(epoch from '2026-05-31 14:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567264 -3.293972)'), GeomFromEWKT('SRID=4674;POINT (-38.56724 -3.294015)'))) / (select extract(epoch from '2026-05-31 14:54:51'::timestamp) - extract(epoch from '2026-05-31 14:54: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'), 46535, 'SRID=4674;POINT (-38.567232 -3.294025)', '2026-05-31 14:54:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56724 -3.294015)'), GeomFromEWKT('SRID=4674;POINT (-38.567232 -3.294025)'))) / (select extract(epoch from '2026-05-31 14:54:52'::timestamp) - extract(epoch from '2026-05-31 14:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56724 -3.294015)'), GeomFromEWKT('SRID=4674;POINT (-38.567232 -3.294025)'))) / (select extract(epoch from '2026-05-31 14:54:52'::timestamp) - extract(epoch from '2026-05-31 14:54:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56722 -3.294053)', '2026-05-31 14:54:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567232 -3.294025)'), GeomFromEWKT('SRID=4674;POINT (-38.56722 -3.294053)'))) / (select extract(epoch from '2026-05-31 14:54:55'::timestamp) - extract(epoch from '2026-05-31 14:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567232 -3.294025)'), GeomFromEWKT('SRID=4674;POINT (-38.56722 -3.294053)'))) / (select extract(epoch from '2026-05-31 14:54:55'::timestamp) - extract(epoch from '2026-05-31 14:54: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'), 46535, 'SRID=4674;POINT (-38.5672 -3.294066)', '2026-05-31 14:54:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56722 -3.294053)'), GeomFromEWKT('SRID=4674;POINT (-38.5672 -3.294066)'))) / (select extract(epoch from '2026-05-31 14:54:57'::timestamp) - extract(epoch from '2026-05-31 14:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56722 -3.294053)'), GeomFromEWKT('SRID=4674;POINT (-38.5672 -3.294066)'))) / (select extract(epoch from '2026-05-31 14:54:57'::timestamp) - extract(epoch from '2026-05-31 14:54: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'), 46535, 'SRID=4674;POINT (-38.56719 -3.294073)', '2026-05-31 14:54:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5672 -3.294066)'), GeomFromEWKT('SRID=4674;POINT (-38.56719 -3.294073)'))) / (select extract(epoch from '2026-05-31 14:54:58'::timestamp) - extract(epoch from '2026-05-31 14:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5672 -3.294066)'), GeomFromEWKT('SRID=4674;POINT (-38.56719 -3.294073)'))) / (select extract(epoch from '2026-05-31 14:54:58'::timestamp) - extract(epoch from '2026-05-31 14:54: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'), 46535, 'SRID=4674;POINT (-38.567158 -3.294117)', '2026-05-31 14:55:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56719 -3.294073)'), GeomFromEWKT('SRID=4674;POINT (-38.567158 -3.294117)'))) / (select extract(epoch from '2026-05-31 14:55:03'::timestamp) - extract(epoch from '2026-05-31 14:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56719 -3.294073)'), GeomFromEWKT('SRID=4674;POINT (-38.567158 -3.294117)'))) / (select extract(epoch from '2026-05-31 14:55:03'::timestamp) - extract(epoch from '2026-05-31 14:54:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567128 -3.294149)', '2026-05-31 14:55:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567158 -3.294117)'), GeomFromEWKT('SRID=4674;POINT (-38.567128 -3.294149)'))) / (select extract(epoch from '2026-05-31 14:55:07'::timestamp) - extract(epoch from '2026-05-31 14:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567158 -3.294117)'), GeomFromEWKT('SRID=4674;POINT (-38.567128 -3.294149)'))) / (select extract(epoch from '2026-05-31 14:55:07'::timestamp) - extract(epoch from '2026-05-31 14:55: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'), 46535, 'SRID=4674;POINT (-38.567126 -3.294156)', '2026-05-31 14:55:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567128 -3.294149)'), GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.294156)'))) / (select extract(epoch from '2026-05-31 14:55:08'::timestamp) - extract(epoch from '2026-05-31 14:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567128 -3.294149)'), GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.294156)'))) / (select extract(epoch from '2026-05-31 14:55:08'::timestamp) - extract(epoch from '2026-05-31 14:55: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'), 46535, 'SRID=4674;POINT (-38.567088 -3.294229)', '2026-05-31 14:55:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.294156)'), GeomFromEWKT('SRID=4674;POINT (-38.567088 -3.294229)'))) / (select extract(epoch from '2026-05-31 14:55:18'::timestamp) - extract(epoch from '2026-05-31 14:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.294156)'), GeomFromEWKT('SRID=4674;POINT (-38.567088 -3.294229)'))) / (select extract(epoch from '2026-05-31 14:55:18'::timestamp) - extract(epoch from '2026-05-31 14:55: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'), 46535, 'SRID=4674;POINT (-38.567054 -3.294296)', '2026-05-31 14:55:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567088 -3.294229)'), GeomFromEWKT('SRID=4674;POINT (-38.567054 -3.294296)'))) / (select extract(epoch from '2026-05-31 14:55:28'::timestamp) - extract(epoch from '2026-05-31 14:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567088 -3.294229)'), GeomFromEWKT('SRID=4674;POINT (-38.567054 -3.294296)'))) / (select extract(epoch from '2026-05-31 14:55:28'::timestamp) - extract(epoch from '2026-05-31 14:55:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567053 -3.294324)', '2026-05-31 14:55:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567054 -3.294296)'), GeomFromEWKT('SRID=4674;POINT (-38.567053 -3.294324)'))) / (select extract(epoch from '2026-05-31 14:55:31'::timestamp) - extract(epoch from '2026-05-31 14:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567054 -3.294296)'), GeomFromEWKT('SRID=4674;POINT (-38.567053 -3.294324)'))) / (select extract(epoch from '2026-05-31 14:55:31'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.567053 -3.294353)', '2026-05-31 14:55:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567053 -3.294324)'), GeomFromEWKT('SRID=4674;POINT (-38.567053 -3.294353)'))) / (select extract(epoch from '2026-05-31 14:55:35'::timestamp) - extract(epoch from '2026-05-31 14:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567053 -3.294324)'), GeomFromEWKT('SRID=4674;POINT (-38.567053 -3.294353)'))) / (select extract(epoch from '2026-05-31 14:55:35'::timestamp) - extract(epoch from '2026-05-31 14:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567052 -3.294361)', '2026-05-31 14:55:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567053 -3.294353)'), GeomFromEWKT('SRID=4674;POINT (-38.567052 -3.294361)'))) / (select extract(epoch from '2026-05-31 14:55:36'::timestamp) - extract(epoch from '2026-05-31 14:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567053 -3.294353)'), GeomFromEWKT('SRID=4674;POINT (-38.567052 -3.294361)'))) / (select extract(epoch from '2026-05-31 14:55:36'::timestamp) - extract(epoch from '2026-05-31 14:55:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567049 -3.294405)', '2026-05-31 14:55:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567052 -3.294361)'), GeomFromEWKT('SRID=4674;POINT (-38.567049 -3.294405)'))) / (select extract(epoch from '2026-05-31 14:55:41'::timestamp) - extract(epoch from '2026-05-31 14:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567052 -3.294361)'), GeomFromEWKT('SRID=4674;POINT (-38.567049 -3.294405)'))) / (select extract(epoch from '2026-05-31 14:55:41'::timestamp) - extract(epoch from '2026-05-31 14:55:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567043 -3.294423)', '2026-05-31 14:55:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567049 -3.294405)'), GeomFromEWKT('SRID=4674;POINT (-38.567043 -3.294423)'))) / (select extract(epoch from '2026-05-31 14:55:43'::timestamp) - extract(epoch from '2026-05-31 14:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567049 -3.294405)'), GeomFromEWKT('SRID=4674;POINT (-38.567043 -3.294423)'))) / (select extract(epoch from '2026-05-31 14:55:43'::timestamp) - extract(epoch from '2026-05-31 14:55:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567033 -3.294471)', '2026-05-31 14:55:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567043 -3.294423)'), GeomFromEWKT('SRID=4674;POINT (-38.567033 -3.294471)'))) / (select extract(epoch from '2026-05-31 14:55:49'::timestamp) - extract(epoch from '2026-05-31 14:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567043 -3.294423)'), GeomFromEWKT('SRID=4674;POINT (-38.567033 -3.294471)'))) / (select extract(epoch from '2026-05-31 14:55:49'::timestamp) - extract(epoch from '2026-05-31 14:55: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'), 46535, 'SRID=4674;POINT (-38.567032 -3.294531)', '2026-05-31 14:55:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567033 -3.294471)'), GeomFromEWKT('SRID=4674;POINT (-38.567032 -3.294531)'))) / (select extract(epoch from '2026-05-31 14:55:55'::timestamp) - extract(epoch from '2026-05-31 14:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567033 -3.294471)'), GeomFromEWKT('SRID=4674;POINT (-38.567032 -3.294531)'))) / (select extract(epoch from '2026-05-31 14:55:55'::timestamp) - extract(epoch from '2026-05-31 14:55: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'), 46535, 'SRID=4674;POINT (-38.56703 -3.294551)', '2026-05-31 14:55:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567032 -3.294531)'), GeomFromEWKT('SRID=4674;POINT (-38.56703 -3.294551)'))) / (select extract(epoch from '2026-05-31 14:55:57'::timestamp) - extract(epoch from '2026-05-31 14:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567032 -3.294531)'), GeomFromEWKT('SRID=4674;POINT (-38.56703 -3.294551)'))) / (select extract(epoch from '2026-05-31 14:55:57'::timestamp) - extract(epoch from '2026-05-31 14:55: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'), 46535, 'SRID=4674;POINT (-38.567028 -3.294582)', '2026-05-31 14:56:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56703 -3.294551)'), GeomFromEWKT('SRID=4674;POINT (-38.567028 -3.294582)'))) / (select extract(epoch from '2026-05-31 14:56:01'::timestamp) - extract(epoch from '2026-05-31 14:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56703 -3.294551)'), GeomFromEWKT('SRID=4674;POINT (-38.567028 -3.294582)'))) / (select extract(epoch from '2026-05-31 14:56:01'::timestamp) - extract(epoch from '2026-05-31 14:55:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56701 -3.294662)', '2026-05-31 14:56:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567028 -3.294582)'), GeomFromEWKT('SRID=4674;POINT (-38.56701 -3.294662)'))) / (select extract(epoch from '2026-05-31 14:56:09'::timestamp) - extract(epoch from '2026-05-31 14:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567028 -3.294582)'), GeomFromEWKT('SRID=4674;POINT (-38.56701 -3.294662)'))) / (select extract(epoch from '2026-05-31 14:56:09'::timestamp) - extract(epoch from '2026-05-31 14:56: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'), 46535, 'SRID=4674;POINT (-38.566999 -3.294742)', '2026-05-31 14:56:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56701 -3.294662)'), GeomFromEWKT('SRID=4674;POINT (-38.566999 -3.294742)'))) / (select extract(epoch from '2026-05-31 14:56:16'::timestamp) - extract(epoch from '2026-05-31 14:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56701 -3.294662)'), GeomFromEWKT('SRID=4674;POINT (-38.566999 -3.294742)'))) / (select extract(epoch from '2026-05-31 14:56:16'::timestamp) - extract(epoch from '2026-05-31 14:56:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566981 -3.294797)', '2026-05-31 14:56:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566999 -3.294742)'), GeomFromEWKT('SRID=4674;POINT (-38.566981 -3.294797)'))) / (select extract(epoch from '2026-05-31 14:56:22'::timestamp) - extract(epoch from '2026-05-31 14:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566999 -3.294742)'), GeomFromEWKT('SRID=4674;POINT (-38.566981 -3.294797)'))) / (select extract(epoch from '2026-05-31 14:56:22'::timestamp) - extract(epoch from '2026-05-31 14:56:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566976 -3.294819)', '2026-05-31 14:56:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566981 -3.294797)'), GeomFromEWKT('SRID=4674;POINT (-38.566976 -3.294819)'))) / (select extract(epoch from '2026-05-31 14:56:24'::timestamp) - extract(epoch from '2026-05-31 14:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566981 -3.294797)'), GeomFromEWKT('SRID=4674;POINT (-38.566976 -3.294819)'))) / (select extract(epoch from '2026-05-31 14:56:24'::timestamp) - extract(epoch from '2026-05-31 14:56: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'), 46535, 'SRID=4674;POINT (-38.566976 -3.294841)', '2026-05-31 14:56:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566976 -3.294819)'), GeomFromEWKT('SRID=4674;POINT (-38.566976 -3.294841)'))) / (select extract(epoch from '2026-05-31 14:56:26'::timestamp) - extract(epoch from '2026-05-31 14:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566976 -3.294819)'), GeomFromEWKT('SRID=4674;POINT (-38.566976 -3.294841)'))) / (select extract(epoch from '2026-05-31 14:56:26'::timestamp) - extract(epoch from '2026-05-31 14:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566964 -3.294863)', '2026-05-31 14:56:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566976 -3.294841)'), GeomFromEWKT('SRID=4674;POINT (-38.566964 -3.294863)'))) / (select extract(epoch from '2026-05-31 14:56:28'::timestamp) - extract(epoch from '2026-05-31 14:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566976 -3.294841)'), GeomFromEWKT('SRID=4674;POINT (-38.566964 -3.294863)'))) / (select extract(epoch from '2026-05-31 14:56:28'::timestamp) - extract(epoch from '2026-05-31 14:56:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566961 -3.294896)', '2026-05-31 14:56:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566964 -3.294863)'), GeomFromEWKT('SRID=4674;POINT (-38.566961 -3.294896)'))) / (select extract(epoch from '2026-05-31 14:56:32'::timestamp) - extract(epoch from '2026-05-31 14:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566964 -3.294863)'), GeomFromEWKT('SRID=4674;POINT (-38.566961 -3.294896)'))) / (select extract(epoch from '2026-05-31 14:56:32'::timestamp) - extract(epoch from '2026-05-31 14:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566956 -3.294907)', '2026-05-31 14:56:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566961 -3.294896)'), GeomFromEWKT('SRID=4674;POINT (-38.566956 -3.294907)'))) / (select extract(epoch from '2026-05-31 14:56:33'::timestamp) - extract(epoch from '2026-05-31 14:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566961 -3.294896)'), GeomFromEWKT('SRID=4674;POINT (-38.566956 -3.294907)'))) / (select extract(epoch from '2026-05-31 14:56:33'::timestamp) - extract(epoch from '2026-05-31 14:56: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'), 46535, 'SRID=4674;POINT (-38.566951 -3.294919)', '2026-05-31 14:56:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566956 -3.294907)'), GeomFromEWKT('SRID=4674;POINT (-38.566951 -3.294919)'))) / (select extract(epoch from '2026-05-31 14:56:34'::timestamp) - extract(epoch from '2026-05-31 14:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566956 -3.294907)'), GeomFromEWKT('SRID=4674;POINT (-38.566951 -3.294919)'))) / (select extract(epoch from '2026-05-31 14:56:34'::timestamp) - extract(epoch from '2026-05-31 14:56: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'), 46535, 'SRID=4674;POINT (-38.566953 -3.294955)', '2026-05-31 14:56:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566951 -3.294919)'), GeomFromEWKT('SRID=4674;POINT (-38.566953 -3.294955)'))) / (select extract(epoch from '2026-05-31 14:56:37'::timestamp) - extract(epoch from '2026-05-31 14:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566951 -3.294919)'), GeomFromEWKT('SRID=4674;POINT (-38.566953 -3.294955)'))) / (select extract(epoch from '2026-05-31 14:56:37'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.566946 -3.294963)', '2026-05-31 14:56:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566953 -3.294955)'), GeomFromEWKT('SRID=4674;POINT (-38.566946 -3.294963)'))) / (select extract(epoch from '2026-05-31 14:56:38'::timestamp) - extract(epoch from '2026-05-31 14:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566953 -3.294955)'), GeomFromEWKT('SRID=4674;POINT (-38.566946 -3.294963)'))) / (select extract(epoch from '2026-05-31 14:56:38'::timestamp) - extract(epoch from '2026-05-31 14:56: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'), 46535, 'SRID=4674;POINT (-38.566939 -3.294977)', '2026-05-31 14:56:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566946 -3.294963)'), GeomFromEWKT('SRID=4674;POINT (-38.566939 -3.294977)'))) / (select extract(epoch from '2026-05-31 14:56:40'::timestamp) - extract(epoch from '2026-05-31 14:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566946 -3.294963)'), GeomFromEWKT('SRID=4674;POINT (-38.566939 -3.294977)'))) / (select extract(epoch from '2026-05-31 14:56:40'::timestamp) - extract(epoch from '2026-05-31 14:56: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'), 46535, 'SRID=4674;POINT (-38.566943 -3.294998)', '2026-05-31 14:56:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566939 -3.294977)'), GeomFromEWKT('SRID=4674;POINT (-38.566943 -3.294998)'))) / (select extract(epoch from '2026-05-31 14:56:42'::timestamp) - extract(epoch from '2026-05-31 14:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566939 -3.294977)'), GeomFromEWKT('SRID=4674;POINT (-38.566943 -3.294998)'))) / (select extract(epoch from '2026-05-31 14:56:42'::timestamp) - extract(epoch from '2026-05-31 14:56: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'), 46535, 'SRID=4674;POINT (-38.566939 -3.295008)', '2026-05-31 14:56:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566943 -3.294998)'), GeomFromEWKT('SRID=4674;POINT (-38.566939 -3.295008)'))) / (select extract(epoch from '2026-05-31 14:56:43'::timestamp) - extract(epoch from '2026-05-31 14:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566943 -3.294998)'), GeomFromEWKT('SRID=4674;POINT (-38.566939 -3.295008)'))) / (select extract(epoch from '2026-05-31 14:56:43'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.566937 -3.295017)', '2026-05-31 14:56:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566939 -3.295008)'), GeomFromEWKT('SRID=4674;POINT (-38.566937 -3.295017)'))) / (select extract(epoch from '2026-05-31 14:56:44'::timestamp) - extract(epoch from '2026-05-31 14:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566939 -3.295008)'), GeomFromEWKT('SRID=4674;POINT (-38.566937 -3.295017)'))) / (select extract(epoch from '2026-05-31 14:56:44'::timestamp) - extract(epoch from '2026-05-31 14:56:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566928 -3.295055)', '2026-05-31 14:56:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566937 -3.295017)'), GeomFromEWKT('SRID=4674;POINT (-38.566928 -3.295055)'))) / (select extract(epoch from '2026-05-31 14:56:48'::timestamp) - extract(epoch from '2026-05-31 14:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566937 -3.295017)'), GeomFromEWKT('SRID=4674;POINT (-38.566928 -3.295055)'))) / (select extract(epoch from '2026-05-31 14:56:48'::timestamp) - extract(epoch from '2026-05-31 14:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566927 -3.295064)', '2026-05-31 14:56:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566928 -3.295055)'), GeomFromEWKT('SRID=4674;POINT (-38.566927 -3.295064)'))) / (select extract(epoch from '2026-05-31 14:56:49'::timestamp) - extract(epoch from '2026-05-31 14:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566928 -3.295055)'), GeomFromEWKT('SRID=4674;POINT (-38.566927 -3.295064)'))) / (select extract(epoch from '2026-05-31 14:56:49'::timestamp) - extract(epoch from '2026-05-31 14:56: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'), 46535, 'SRID=4674;POINT (-38.566903 -3.295137)', '2026-05-31 14:56:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566927 -3.295064)'), GeomFromEWKT('SRID=4674;POINT (-38.566903 -3.295137)'))) / (select extract(epoch from '2026-05-31 14:56:56'::timestamp) - extract(epoch from '2026-05-31 14:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566927 -3.295064)'), GeomFromEWKT('SRID=4674;POINT (-38.566903 -3.295137)'))) / (select extract(epoch from '2026-05-31 14:56:56'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.566901 -3.295149)', '2026-05-31 14:56:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566903 -3.295137)'), GeomFromEWKT('SRID=4674;POINT (-38.566901 -3.295149)'))) / (select extract(epoch from '2026-05-31 14:56:57'::timestamp) - extract(epoch from '2026-05-31 14:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566903 -3.295137)'), GeomFromEWKT('SRID=4674;POINT (-38.566901 -3.295149)'))) / (select extract(epoch from '2026-05-31 14:56:57'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.56686 -3.295232)', '2026-05-31 14:57:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566901 -3.295149)'), GeomFromEWKT('SRID=4674;POINT (-38.56686 -3.295232)'))) / (select extract(epoch from '2026-05-31 14:57:05'::timestamp) - extract(epoch from '2026-05-31 14:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566901 -3.295149)'), GeomFromEWKT('SRID=4674;POINT (-38.56686 -3.295232)'))) / (select extract(epoch from '2026-05-31 14:57:05'::timestamp) - extract(epoch from '2026-05-31 14:56:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566839 -3.295272)', '2026-05-31 14:57:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56686 -3.295232)'), GeomFromEWKT('SRID=4674;POINT (-38.566839 -3.295272)'))) / (select extract(epoch from '2026-05-31 14:57:09'::timestamp) - extract(epoch from '2026-05-31 14:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56686 -3.295232)'), GeomFromEWKT('SRID=4674;POINT (-38.566839 -3.295272)'))) / (select extract(epoch from '2026-05-31 14:57:09'::timestamp) - extract(epoch from '2026-05-31 14:57:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56683 -3.295293)', '2026-05-31 14:57:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566839 -3.295272)'), GeomFromEWKT('SRID=4674;POINT (-38.56683 -3.295293)'))) / (select extract(epoch from '2026-05-31 14:57:11'::timestamp) - extract(epoch from '2026-05-31 14:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566839 -3.295272)'), GeomFromEWKT('SRID=4674;POINT (-38.56683 -3.295293)'))) / (select extract(epoch from '2026-05-31 14:57:11'::timestamp) - extract(epoch from '2026-05-31 14:57: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'), 46535, 'SRID=4674;POINT (-38.566792 -3.295344)', '2026-05-31 14:57:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56683 -3.295293)'), GeomFromEWKT('SRID=4674;POINT (-38.566792 -3.295344)'))) / (select extract(epoch from '2026-05-31 14:57:17'::timestamp) - extract(epoch from '2026-05-31 14:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56683 -3.295293)'), GeomFromEWKT('SRID=4674;POINT (-38.566792 -3.295344)'))) / (select extract(epoch from '2026-05-31 14:57:17'::timestamp) - extract(epoch from '2026-05-31 14:57: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'), 46535, 'SRID=4674;POINT (-38.56674 -3.29541)', '2026-05-31 14:57:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566792 -3.295344)'), GeomFromEWKT('SRID=4674;POINT (-38.56674 -3.29541)'))) / (select extract(epoch from '2026-05-31 14:57:24'::timestamp) - extract(epoch from '2026-05-31 14:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566792 -3.295344)'), GeomFromEWKT('SRID=4674;POINT (-38.56674 -3.29541)'))) / (select extract(epoch from '2026-05-31 14:57:24'::timestamp) - extract(epoch from '2026-05-31 14: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'), 46535, 'SRID=4674;POINT (-38.566738 -3.295418)', '2026-05-31 14:57:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56674 -3.29541)'), GeomFromEWKT('SRID=4674;POINT (-38.566738 -3.295418)'))) / (select extract(epoch from '2026-05-31 14:57:25'::timestamp) - extract(epoch from '2026-05-31 14:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56674 -3.29541)'), GeomFromEWKT('SRID=4674;POINT (-38.566738 -3.295418)'))) / (select extract(epoch from '2026-05-31 14:57:25'::timestamp) - extract(epoch from '2026-05-31 14:57:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566729 -3.29544)', '2026-05-31 14:57:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566738 -3.295418)'), GeomFromEWKT('SRID=4674;POINT (-38.566729 -3.29544)'))) / (select extract(epoch from '2026-05-31 14:57:28'::timestamp) - extract(epoch from '2026-05-31 14:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566738 -3.295418)'), GeomFromEWKT('SRID=4674;POINT (-38.566729 -3.29544)'))) / (select extract(epoch from '2026-05-31 14:57:28'::timestamp) - extract(epoch from '2026-05-31 14:57:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566724 -3.295447)', '2026-05-31 14:57:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566729 -3.29544)'), GeomFromEWKT('SRID=4674;POINT (-38.566724 -3.295447)'))) / (select extract(epoch from '2026-05-31 14:57:29'::timestamp) - extract(epoch from '2026-05-31 14:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566729 -3.29544)'), GeomFromEWKT('SRID=4674;POINT (-38.566724 -3.295447)'))) / (select extract(epoch from '2026-05-31 14:57:29'::timestamp) - extract(epoch from '2026-05-31 14:57:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
