 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583367 -3.290188)', '2026-05-28 15:27:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583391 -3.290213)'), GeomFromEWKT('SRID=4674;POINT (-38.583367 -3.290188)'))) / (select extract(epoch from '2026-05-28 15:27:18'::timestamp) - extract(epoch from '2026-05-28 15:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583391 -3.290213)'), GeomFromEWKT('SRID=4674;POINT (-38.583367 -3.290188)'))) / (select extract(epoch from '2026-05-28 15:27:18'::timestamp) - extract(epoch from '2026-05-28 15:27: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.583339 -3.290172)', '2026-05-28 15:27:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583367 -3.290188)'), GeomFromEWKT('SRID=4674;POINT (-38.583339 -3.290172)'))) / (select extract(epoch from '2026-05-28 15:27:20'::timestamp) - extract(epoch from '2026-05-28 15:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583367 -3.290188)'), GeomFromEWKT('SRID=4674;POINT (-38.583339 -3.290172)'))) / (select extract(epoch from '2026-05-28 15:27:20'::timestamp) - extract(epoch from '2026-05-28 15: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.583281 -3.290122)', '2026-05-28 15:27:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583339 -3.290172)'), GeomFromEWKT('SRID=4674;POINT (-38.583281 -3.290122)'))) / (select extract(epoch from '2026-05-28 15:27:25'::timestamp) - extract(epoch from '2026-05-28 15:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583339 -3.290172)'), GeomFromEWKT('SRID=4674;POINT (-38.583281 -3.290122)'))) / (select extract(epoch from '2026-05-28 15:27:25'::timestamp) - extract(epoch from '2026-05-28 15:27:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583214 -3.290066)', '2026-05-28 15:27:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583281 -3.290122)'), GeomFromEWKT('SRID=4674;POINT (-38.583214 -3.290066)'))) / (select extract(epoch from '2026-05-28 15:27:31'::timestamp) - extract(epoch from '2026-05-28 15:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583281 -3.290122)'), GeomFromEWKT('SRID=4674;POINT (-38.583214 -3.290066)'))) / (select extract(epoch from '2026-05-28 15:27:31'::timestamp) - extract(epoch from '2026-05-28 15:27: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.583148 -3.289998)', '2026-05-28 15:27:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583214 -3.290066)'), GeomFromEWKT('SRID=4674;POINT (-38.583148 -3.289998)'))) / (select extract(epoch from '2026-05-28 15:27:37'::timestamp) - extract(epoch from '2026-05-28 15:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583214 -3.290066)'), GeomFromEWKT('SRID=4674;POINT (-38.583148 -3.289998)'))) / (select extract(epoch from '2026-05-28 15:27:37'::timestamp) - extract(epoch from '2026-05-28 15:27:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583093 -3.289937)', '2026-05-28 15:27:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583148 -3.289998)'), GeomFromEWKT('SRID=4674;POINT (-38.583093 -3.289937)'))) / (select extract(epoch from '2026-05-28 15:27:42'::timestamp) - extract(epoch from '2026-05-28 15:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583148 -3.289998)'), GeomFromEWKT('SRID=4674;POINT (-38.583093 -3.289937)'))) / (select extract(epoch from '2026-05-28 15:27:42'::timestamp) - extract(epoch from '2026-05-28 15:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.583017 -3.289844)', '2026-05-28 15:27:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583093 -3.289937)'), GeomFromEWKT('SRID=4674;POINT (-38.583017 -3.289844)'))) / (select extract(epoch from '2026-05-28 15:27:50'::timestamp) - extract(epoch from '2026-05-28 15:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583093 -3.289937)'), GeomFromEWKT('SRID=4674;POINT (-38.583017 -3.289844)'))) / (select extract(epoch from '2026-05-28 15:27:50'::timestamp) - extract(epoch from '2026-05-28 15:27: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.583003 -3.289834)', '2026-05-28 15:27:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583017 -3.289844)'), GeomFromEWKT('SRID=4674;POINT (-38.583003 -3.289834)'))) / (select extract(epoch from '2026-05-28 15:27:51'::timestamp) - extract(epoch from '2026-05-28 15:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583017 -3.289844)'), GeomFromEWKT('SRID=4674;POINT (-38.583003 -3.289834)'))) / (select extract(epoch from '2026-05-28 15:27:51'::timestamp) - extract(epoch from '2026-05-28 15:27: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.582969 -3.289803)', '2026-05-28 15:27:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583003 -3.289834)'), GeomFromEWKT('SRID=4674;POINT (-38.582969 -3.289803)'))) / (select extract(epoch from '2026-05-28 15:27:54'::timestamp) - extract(epoch from '2026-05-28 15:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583003 -3.289834)'), GeomFromEWKT('SRID=4674;POINT (-38.582969 -3.289803)'))) / (select extract(epoch from '2026-05-28 15:27:54'::timestamp) - extract(epoch from '2026-05-28 15:27: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.582926 -3.289767)', '2026-05-28 15:27:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582969 -3.289803)'), GeomFromEWKT('SRID=4674;POINT (-38.582926 -3.289767)'))) / (select extract(epoch from '2026-05-28 15:27:58'::timestamp) - extract(epoch from '2026-05-28 15:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582969 -3.289803)'), GeomFromEWKT('SRID=4674;POINT (-38.582926 -3.289767)'))) / (select extract(epoch from '2026-05-28 15:27:58'::timestamp) - extract(epoch from '2026-05-28 15:27: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.582876 -3.289717)', '2026-05-28 15:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582926 -3.289767)'), GeomFromEWKT('SRID=4674;POINT (-38.582876 -3.289717)'))) / (select extract(epoch from '2026-05-28 15:28:03'::timestamp) - extract(epoch from '2026-05-28 15:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582926 -3.289767)'), GeomFromEWKT('SRID=4674;POINT (-38.582876 -3.289717)'))) / (select extract(epoch from '2026-05-28 15:28:03'::timestamp) - extract(epoch from '2026-05-28 15:27:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582811 -3.289642)', '2026-05-28 15:28:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582876 -3.289717)'), GeomFromEWKT('SRID=4674;POINT (-38.582811 -3.289642)'))) / (select extract(epoch from '2026-05-28 15:28:10'::timestamp) - extract(epoch from '2026-05-28 15:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582876 -3.289717)'), GeomFromEWKT('SRID=4674;POINT (-38.582811 -3.289642)'))) / (select extract(epoch from '2026-05-28 15:28:10'::timestamp) - extract(epoch from '2026-05-28 15: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.582744 -3.289571)', '2026-05-28 15:28:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582811 -3.289642)'), GeomFromEWKT('SRID=4674;POINT (-38.582744 -3.289571)'))) / (select extract(epoch from '2026-05-28 15:28:16'::timestamp) - extract(epoch from '2026-05-28 15:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582811 -3.289642)'), GeomFromEWKT('SRID=4674;POINT (-38.582744 -3.289571)'))) / (select extract(epoch from '2026-05-28 15:28:16'::timestamp) - extract(epoch from '2026-05-28 15:28: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.58271 -3.289521)', '2026-05-28 15:28:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582744 -3.289571)'), GeomFromEWKT('SRID=4674;POINT (-38.58271 -3.289521)'))) / (select extract(epoch from '2026-05-28 15:28:20'::timestamp) - extract(epoch from '2026-05-28 15:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582744 -3.289571)'), GeomFromEWKT('SRID=4674;POINT (-38.58271 -3.289521)'))) / (select extract(epoch from '2026-05-28 15:28:20'::timestamp) - extract(epoch from '2026-05-28 15:28: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.582685 -3.289498)', '2026-05-28 15:28:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58271 -3.289521)'), GeomFromEWKT('SRID=4674;POINT (-38.582685 -3.289498)'))) / (select extract(epoch from '2026-05-28 15:28:22'::timestamp) - extract(epoch from '2026-05-28 15:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58271 -3.289521)'), GeomFromEWKT('SRID=4674;POINT (-38.582685 -3.289498)'))) / (select extract(epoch from '2026-05-28 15:28:22'::timestamp) - extract(epoch from '2026-05-28 15: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.582628 -3.289421)', '2026-05-28 15:28:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582685 -3.289498)'), GeomFromEWKT('SRID=4674;POINT (-38.582628 -3.289421)'))) / (select extract(epoch from '2026-05-28 15:28:29'::timestamp) - extract(epoch from '2026-05-28 15:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582685 -3.289498)'), GeomFromEWKT('SRID=4674;POINT (-38.582628 -3.289421)'))) / (select extract(epoch from '2026-05-28 15:28:29'::timestamp) - extract(epoch from '2026-05-28 15:28: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.582568 -3.289362)', '2026-05-28 15:28:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582628 -3.289421)'), GeomFromEWKT('SRID=4674;POINT (-38.582568 -3.289362)'))) / (select extract(epoch from '2026-05-28 15:28:35'::timestamp) - extract(epoch from '2026-05-28 15:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582628 -3.289421)'), GeomFromEWKT('SRID=4674;POINT (-38.582568 -3.289362)'))) / (select extract(epoch from '2026-05-28 15:28:35'::timestamp) - extract(epoch from '2026-05-28 15:28: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.582482 -3.289276)', '2026-05-28 15:28:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582568 -3.289362)'), GeomFromEWKT('SRID=4674;POINT (-38.582482 -3.289276)'))) / (select extract(epoch from '2026-05-28 15:28:43'::timestamp) - extract(epoch from '2026-05-28 15:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582568 -3.289362)'), GeomFromEWKT('SRID=4674;POINT (-38.582482 -3.289276)'))) / (select extract(epoch from '2026-05-28 15:28:43'::timestamp) - extract(epoch from '2026-05-28 15:28: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.582427 -3.289218)', '2026-05-28 15:28:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582482 -3.289276)'), GeomFromEWKT('SRID=4674;POINT (-38.582427 -3.289218)'))) / (select extract(epoch from '2026-05-28 15:28:49'::timestamp) - extract(epoch from '2026-05-28 15:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582482 -3.289276)'), GeomFromEWKT('SRID=4674;POINT (-38.582427 -3.289218)'))) / (select extract(epoch from '2026-05-28 15:28:49'::timestamp) - extract(epoch from '2026-05-28 15:28: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.582361 -3.289155)', '2026-05-28 15:28:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582427 -3.289218)'), GeomFromEWKT('SRID=4674;POINT (-38.582361 -3.289155)'))) / (select extract(epoch from '2026-05-28 15:28:55'::timestamp) - extract(epoch from '2026-05-28 15:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582427 -3.289218)'), GeomFromEWKT('SRID=4674;POINT (-38.582361 -3.289155)'))) / (select extract(epoch from '2026-05-28 15:28:55'::timestamp) - extract(epoch from '2026-05-28 15: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.582263 -3.289059)', '2026-05-28 15:29:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582361 -3.289155)'), GeomFromEWKT('SRID=4674;POINT (-38.582263 -3.289059)'))) / (select extract(epoch from '2026-05-28 15:29:04'::timestamp) - extract(epoch from '2026-05-28 15:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582361 -3.289155)'), GeomFromEWKT('SRID=4674;POINT (-38.582263 -3.289059)'))) / (select extract(epoch from '2026-05-28 15:29:04'::timestamp) - extract(epoch from '2026-05-28 15:28:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582196 -3.289001)', '2026-05-28 15:29:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582263 -3.289059)'), GeomFromEWKT('SRID=4674;POINT (-38.582196 -3.289001)'))) / (select extract(epoch from '2026-05-28 15:29:10'::timestamp) - extract(epoch from '2026-05-28 15:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582263 -3.289059)'), GeomFromEWKT('SRID=4674;POINT (-38.582196 -3.289001)'))) / (select extract(epoch from '2026-05-28 15:29:10'::timestamp) - extract(epoch from '2026-05-28 15:29: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.582135 -3.288958)', '2026-05-28 15:29:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582196 -3.289001)'), GeomFromEWKT('SRID=4674;POINT (-38.582135 -3.288958)'))) / (select extract(epoch from '2026-05-28 15:29:15'::timestamp) - extract(epoch from '2026-05-28 15:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582196 -3.289001)'), GeomFromEWKT('SRID=4674;POINT (-38.582135 -3.288958)'))) / (select extract(epoch from '2026-05-28 15:29:15'::timestamp) - extract(epoch from '2026-05-28 15:29: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.582126 -3.288949)', '2026-05-28 15:29:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582135 -3.288958)'), GeomFromEWKT('SRID=4674;POINT (-38.582126 -3.288949)'))) / (select extract(epoch from '2026-05-28 15:29:16'::timestamp) - extract(epoch from '2026-05-28 15:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582135 -3.288958)'), GeomFromEWKT('SRID=4674;POINT (-38.582126 -3.288949)'))) / (select extract(epoch from '2026-05-28 15:29:16'::timestamp) - extract(epoch from '2026-05-28 15:29:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582087 -3.288916)', '2026-05-28 15:29:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582126 -3.288949)'), GeomFromEWKT('SRID=4674;POINT (-38.582087 -3.288916)'))) / (select extract(epoch from '2026-05-28 15:29:19'::timestamp) - extract(epoch from '2026-05-28 15:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582126 -3.288949)'), GeomFromEWKT('SRID=4674;POINT (-38.582087 -3.288916)'))) / (select extract(epoch from '2026-05-28 15:29:19'::timestamp) - extract(epoch from '2026-05-28 15: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.582013 -3.288849)', '2026-05-28 15:29:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582087 -3.288916)'), GeomFromEWKT('SRID=4674;POINT (-38.582013 -3.288849)'))) / (select extract(epoch from '2026-05-28 15:29:27'::timestamp) - extract(epoch from '2026-05-28 15:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582087 -3.288916)'), GeomFromEWKT('SRID=4674;POINT (-38.582013 -3.288849)'))) / (select extract(epoch from '2026-05-28 15:29:27'::timestamp) - extract(epoch from '2026-05-28 15:29: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.581953 -3.288805)', '2026-05-28 15:29:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582013 -3.288849)'), GeomFromEWKT('SRID=4674;POINT (-38.581953 -3.288805)'))) / (select extract(epoch from '2026-05-28 15:29:33'::timestamp) - extract(epoch from '2026-05-28 15:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582013 -3.288849)'), GeomFromEWKT('SRID=4674;POINT (-38.581953 -3.288805)'))) / (select extract(epoch from '2026-05-28 15:29:33'::timestamp) - extract(epoch from '2026-05-28 15:29:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581945 -3.288797)', '2026-05-28 15:29:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581953 -3.288805)'), GeomFromEWKT('SRID=4674;POINT (-38.581945 -3.288797)'))) / (select extract(epoch from '2026-05-28 15:29:34'::timestamp) - extract(epoch from '2026-05-28 15:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581953 -3.288805)'), GeomFromEWKT('SRID=4674;POINT (-38.581945 -3.288797)'))) / (select extract(epoch from '2026-05-28 15:29:34'::timestamp) - extract(epoch from '2026-05-28 15: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.581931 -3.288777)', '2026-05-28 15:29:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581945 -3.288797)'), GeomFromEWKT('SRID=4674;POINT (-38.581931 -3.288777)'))) / (select extract(epoch from '2026-05-28 15:29:36'::timestamp) - extract(epoch from '2026-05-28 15:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581945 -3.288797)'), GeomFromEWKT('SRID=4674;POINT (-38.581931 -3.288777)'))) / (select extract(epoch from '2026-05-28 15:29:36'::timestamp) - extract(epoch from '2026-05-28 15:29: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.581911 -3.288759)', '2026-05-28 15:29:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581931 -3.288777)'), GeomFromEWKT('SRID=4674;POINT (-38.581911 -3.288759)'))) / (select extract(epoch from '2026-05-28 15:29:38'::timestamp) - extract(epoch from '2026-05-28 15:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581931 -3.288777)'), GeomFromEWKT('SRID=4674;POINT (-38.581911 -3.288759)'))) / (select extract(epoch from '2026-05-28 15:29:38'::timestamp) - extract(epoch from '2026-05-28 15:29: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.581834 -3.288677)', '2026-05-28 15:29:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581911 -3.288759)'), GeomFromEWKT('SRID=4674;POINT (-38.581834 -3.288677)'))) / (select extract(epoch from '2026-05-28 15:29:46'::timestamp) - extract(epoch from '2026-05-28 15:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581911 -3.288759)'), GeomFromEWKT('SRID=4674;POINT (-38.581834 -3.288677)'))) / (select extract(epoch from '2026-05-28 15:29:46'::timestamp) - extract(epoch from '2026-05-28 15:29:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581783 -3.288605)', '2026-05-28 15:29:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581834 -3.288677)'), GeomFromEWKT('SRID=4674;POINT (-38.581783 -3.288605)'))) / (select extract(epoch from '2026-05-28 15:29:53'::timestamp) - extract(epoch from '2026-05-28 15:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581834 -3.288677)'), GeomFromEWKT('SRID=4674;POINT (-38.581783 -3.288605)'))) / (select extract(epoch from '2026-05-28 15:29:53'::timestamp) - extract(epoch from '2026-05-28 15:29: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.581731 -3.288551)', '2026-05-28 15:29:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581783 -3.288605)'), GeomFromEWKT('SRID=4674;POINT (-38.581731 -3.288551)'))) / (select extract(epoch from '2026-05-28 15:29:58'::timestamp) - extract(epoch from '2026-05-28 15:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581783 -3.288605)'), GeomFromEWKT('SRID=4674;POINT (-38.581731 -3.288551)'))) / (select extract(epoch from '2026-05-28 15:29:58'::timestamp) - extract(epoch from '2026-05-28 15:29: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.581719 -3.288529)', '2026-05-28 15:30:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581731 -3.288551)'), GeomFromEWKT('SRID=4674;POINT (-38.581719 -3.288529)'))) / (select extract(epoch from '2026-05-28 15:30:00'::timestamp) - extract(epoch from '2026-05-28 15:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581731 -3.288551)'), GeomFromEWKT('SRID=4674;POINT (-38.581719 -3.288529)'))) / (select extract(epoch from '2026-05-28 15:30:00'::timestamp) - extract(epoch from '2026-05-28 15:29:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581669 -3.288471)', '2026-05-28 15:30:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581719 -3.288529)'), GeomFromEWKT('SRID=4674;POINT (-38.581669 -3.288471)'))) / (select extract(epoch from '2026-05-28 15:30:06'::timestamp) - extract(epoch from '2026-05-28 15:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581719 -3.288529)'), GeomFromEWKT('SRID=4674;POINT (-38.581669 -3.288471)'))) / (select extract(epoch from '2026-05-28 15:30:06'::timestamp) - extract(epoch from '2026-05-28 15:30: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.581634 -3.288435)', '2026-05-28 15:30:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581669 -3.288471)'), GeomFromEWKT('SRID=4674;POINT (-38.581634 -3.288435)'))) / (select extract(epoch from '2026-05-28 15:30:10'::timestamp) - extract(epoch from '2026-05-28 15:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581669 -3.288471)'), GeomFromEWKT('SRID=4674;POINT (-38.581634 -3.288435)'))) / (select extract(epoch from '2026-05-28 15:30:10'::timestamp) - extract(epoch from '2026-05-28 15: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.58157 -3.288378)', '2026-05-28 15:30:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581634 -3.288435)'), GeomFromEWKT('SRID=4674;POINT (-38.58157 -3.288378)'))) / (select extract(epoch from '2026-05-28 15:30:17'::timestamp) - extract(epoch from '2026-05-28 15:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581634 -3.288435)'), GeomFromEWKT('SRID=4674;POINT (-38.58157 -3.288378)'))) / (select extract(epoch from '2026-05-28 15:30:17'::timestamp) - extract(epoch from '2026-05-28 15:30: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.581542 -3.288339)', '2026-05-28 15:30:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58157 -3.288378)'), GeomFromEWKT('SRID=4674;POINT (-38.581542 -3.288339)'))) / (select extract(epoch from '2026-05-28 15:30:21'::timestamp) - extract(epoch from '2026-05-28 15:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58157 -3.288378)'), GeomFromEWKT('SRID=4674;POINT (-38.581542 -3.288339)'))) / (select extract(epoch from '2026-05-28 15:30:21'::timestamp) - extract(epoch from '2026-05-28 15:30: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.581534 -3.28833)', '2026-05-28 15:30:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581542 -3.288339)'), GeomFromEWKT('SRID=4674;POINT (-38.581534 -3.28833)'))) / (select extract(epoch from '2026-05-28 15:30:22'::timestamp) - extract(epoch from '2026-05-28 15:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581542 -3.288339)'), GeomFromEWKT('SRID=4674;POINT (-38.581534 -3.28833)'))) / (select extract(epoch from '2026-05-28 15:30:22'::timestamp) - extract(epoch from '2026-05-28 15:30: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.581475 -3.288259)', '2026-05-28 15:30:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581534 -3.28833)'), GeomFromEWKT('SRID=4674;POINT (-38.581475 -3.288259)'))) / (select extract(epoch from '2026-05-28 15:30:29'::timestamp) - extract(epoch from '2026-05-28 15:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581534 -3.28833)'), GeomFromEWKT('SRID=4674;POINT (-38.581475 -3.288259)'))) / (select extract(epoch from '2026-05-28 15:30:29'::timestamp) - extract(epoch from '2026-05-28 15:30:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581455 -3.288228)', '2026-05-28 15:30:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581475 -3.288259)'), GeomFromEWKT('SRID=4674;POINT (-38.581455 -3.288228)'))) / (select extract(epoch from '2026-05-28 15:30:32'::timestamp) - extract(epoch from '2026-05-28 15:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581475 -3.288259)'), GeomFromEWKT('SRID=4674;POINT (-38.581455 -3.288228)'))) / (select extract(epoch from '2026-05-28 15:30:32'::timestamp) - extract(epoch from '2026-05-28 15:30: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.581429 -3.288189)', '2026-05-28 15:30:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581455 -3.288228)'), GeomFromEWKT('SRID=4674;POINT (-38.581429 -3.288189)'))) / (select extract(epoch from '2026-05-28 15:30:35'::timestamp) - extract(epoch from '2026-05-28 15:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581455 -3.288228)'), GeomFromEWKT('SRID=4674;POINT (-38.581429 -3.288189)'))) / (select extract(epoch from '2026-05-28 15:30:35'::timestamp) - extract(epoch from '2026-05-28 15: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.58142 -3.288175)', '2026-05-28 15:30:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581429 -3.288189)'), GeomFromEWKT('SRID=4674;POINT (-38.58142 -3.288175)'))) / (select extract(epoch from '2026-05-28 15:30:36'::timestamp) - extract(epoch from '2026-05-28 15:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581429 -3.288189)'), GeomFromEWKT('SRID=4674;POINT (-38.58142 -3.288175)'))) / (select extract(epoch from '2026-05-28 15:30:36'::timestamp) - extract(epoch from '2026-05-28 15:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581393 -3.288141)', '2026-05-28 15:30:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58142 -3.288175)'), GeomFromEWKT('SRID=4674;POINT (-38.581393 -3.288141)'))) / (select extract(epoch from '2026-05-28 15:30:39'::timestamp) - extract(epoch from '2026-05-28 15:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58142 -3.288175)'), GeomFromEWKT('SRID=4674;POINT (-38.581393 -3.288141)'))) / (select extract(epoch from '2026-05-28 15:30:39'::timestamp) - extract(epoch from '2026-05-28 15:30: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.58139 -3.288129)', '2026-05-28 15:30:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581393 -3.288141)'), GeomFromEWKT('SRID=4674;POINT (-38.58139 -3.288129)'))) / (select extract(epoch from '2026-05-28 15:30:40'::timestamp) - extract(epoch from '2026-05-28 15:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581393 -3.288141)'), GeomFromEWKT('SRID=4674;POINT (-38.58139 -3.288129)'))) / (select extract(epoch from '2026-05-28 15:30:40'::timestamp) - extract(epoch from '2026-05-28 15: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.581384 -3.288116)', '2026-05-28 15:30:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58139 -3.288129)'), GeomFromEWKT('SRID=4674;POINT (-38.581384 -3.288116)'))) / (select extract(epoch from '2026-05-28 15:30:41'::timestamp) - extract(epoch from '2026-05-28 15:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58139 -3.288129)'), GeomFromEWKT('SRID=4674;POINT (-38.581384 -3.288116)'))) / (select extract(epoch from '2026-05-28 15:30:41'::timestamp) - extract(epoch from '2026-05-28 15: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.581347 -3.288087)', '2026-05-28 15:30:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581384 -3.288116)'), GeomFromEWKT('SRID=4674;POINT (-38.581347 -3.288087)'))) / (select extract(epoch from '2026-05-28 15:30:44'::timestamp) - extract(epoch from '2026-05-28 15:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581384 -3.288116)'), GeomFromEWKT('SRID=4674;POINT (-38.581347 -3.288087)'))) / (select extract(epoch from '2026-05-28 15:30:44'::timestamp) - extract(epoch from '2026-05-28 15:30: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.581343 -3.288079)', '2026-05-28 15:30:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581347 -3.288087)'), GeomFromEWKT('SRID=4674;POINT (-38.581343 -3.288079)'))) / (select extract(epoch from '2026-05-28 15:30:45'::timestamp) - extract(epoch from '2026-05-28 15:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581347 -3.288087)'), GeomFromEWKT('SRID=4674;POINT (-38.581343 -3.288079)'))) / (select extract(epoch from '2026-05-28 15:30:45'::timestamp) - extract(epoch from '2026-05-28 15: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.581306 -3.28804)', '2026-05-28 15:30:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581343 -3.288079)'), GeomFromEWKT('SRID=4674;POINT (-38.581306 -3.28804)'))) / (select extract(epoch from '2026-05-28 15:30:49'::timestamp) - extract(epoch from '2026-05-28 15:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581343 -3.288079)'), GeomFromEWKT('SRID=4674;POINT (-38.581306 -3.28804)'))) / (select extract(epoch from '2026-05-28 15:30:49'::timestamp) - extract(epoch from '2026-05-28 15:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581256 -3.287983)', '2026-05-28 15:30:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581306 -3.28804)'), GeomFromEWKT('SRID=4674;POINT (-38.581256 -3.287983)'))) / (select extract(epoch from '2026-05-28 15:30:55'::timestamp) - extract(epoch from '2026-05-28 15:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581306 -3.28804)'), GeomFromEWKT('SRID=4674;POINT (-38.581256 -3.287983)'))) / (select extract(epoch from '2026-05-28 15:30:55'::timestamp) - extract(epoch from '2026-05-28 15:30: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.581216 -3.287942)', '2026-05-28 15:30:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581256 -3.287983)'), GeomFromEWKT('SRID=4674;POINT (-38.581216 -3.287942)'))) / (select extract(epoch from '2026-05-28 15:30:59'::timestamp) - extract(epoch from '2026-05-28 15:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581256 -3.287983)'), GeomFromEWKT('SRID=4674;POINT (-38.581216 -3.287942)'))) / (select extract(epoch from '2026-05-28 15:30:59'::timestamp) - extract(epoch from '2026-05-28 15:30: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.581202 -3.287924)', '2026-05-28 15:31:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581216 -3.287942)'), GeomFromEWKT('SRID=4674;POINT (-38.581202 -3.287924)'))) / (select extract(epoch from '2026-05-28 15:31:01'::timestamp) - extract(epoch from '2026-05-28 15:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581216 -3.287942)'), GeomFromEWKT('SRID=4674;POINT (-38.581202 -3.287924)'))) / (select extract(epoch from '2026-05-28 15:31:01'::timestamp) - extract(epoch from '2026-05-28 15:30:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581193 -3.287916)', '2026-05-28 15:31:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581202 -3.287924)'), GeomFromEWKT('SRID=4674;POINT (-38.581193 -3.287916)'))) / (select extract(epoch from '2026-05-28 15:31:02'::timestamp) - extract(epoch from '2026-05-28 15:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581202 -3.287924)'), GeomFromEWKT('SRID=4674;POINT (-38.581193 -3.287916)'))) / (select extract(epoch from '2026-05-28 15:31:02'::timestamp) - extract(epoch from '2026-05-28 15:31: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.581176 -3.287898)', '2026-05-28 15:31:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581193 -3.287916)'), GeomFromEWKT('SRID=4674;POINT (-38.581176 -3.287898)'))) / (select extract(epoch from '2026-05-28 15:31:04'::timestamp) - extract(epoch from '2026-05-28 15:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581193 -3.287916)'), GeomFromEWKT('SRID=4674;POINT (-38.581176 -3.287898)'))) / (select extract(epoch from '2026-05-28 15:31:04'::timestamp) - extract(epoch from '2026-05-28 15:31: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.581155 -3.287884)', '2026-05-28 15:31:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581176 -3.287898)'), GeomFromEWKT('SRID=4674;POINT (-38.581155 -3.287884)'))) / (select extract(epoch from '2026-05-28 15:31:06'::timestamp) - extract(epoch from '2026-05-28 15:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581176 -3.287898)'), GeomFromEWKT('SRID=4674;POINT (-38.581155 -3.287884)'))) / (select extract(epoch from '2026-05-28 15:31:06'::timestamp) - extract(epoch from '2026-05-28 15:31: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.581077 -3.287831)', '2026-05-28 15:31:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581155 -3.287884)'), GeomFromEWKT('SRID=4674;POINT (-38.581077 -3.287831)'))) / (select extract(epoch from '2026-05-28 15:31:13'::timestamp) - extract(epoch from '2026-05-28 15:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581155 -3.287884)'), GeomFromEWKT('SRID=4674;POINT (-38.581077 -3.287831)'))) / (select extract(epoch from '2026-05-28 15:31:13'::timestamp) - extract(epoch from '2026-05-28 15: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.580999 -3.287777)', '2026-05-28 15:31:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581077 -3.287831)'), GeomFromEWKT('SRID=4674;POINT (-38.580999 -3.287777)'))) / (select extract(epoch from '2026-05-28 15:31:20'::timestamp) - extract(epoch from '2026-05-28 15:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581077 -3.287831)'), GeomFromEWKT('SRID=4674;POINT (-38.580999 -3.287777)'))) / (select extract(epoch from '2026-05-28 15:31:20'::timestamp) - extract(epoch from '2026-05-28 15:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580934 -3.287727)', '2026-05-28 15:31:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580999 -3.287777)'), GeomFromEWKT('SRID=4674;POINT (-38.580934 -3.287727)'))) / (select extract(epoch from '2026-05-28 15:31:26'::timestamp) - extract(epoch from '2026-05-28 15:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580999 -3.287777)'), GeomFromEWKT('SRID=4674;POINT (-38.580934 -3.287727)'))) / (select extract(epoch from '2026-05-28 15:31:26'::timestamp) - extract(epoch from '2026-05-28 15:31: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.58091 -3.287714)', '2026-05-28 15:31:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580934 -3.287727)'), GeomFromEWKT('SRID=4674;POINT (-38.58091 -3.287714)'))) / (select extract(epoch from '2026-05-28 15:31:28'::timestamp) - extract(epoch from '2026-05-28 15:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580934 -3.287727)'), GeomFromEWKT('SRID=4674;POINT (-38.58091 -3.287714)'))) / (select extract(epoch from '2026-05-28 15:31:28'::timestamp) - extract(epoch from '2026-05-28 15:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580878 -3.287692)', '2026-05-28 15:31:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58091 -3.287714)'), GeomFromEWKT('SRID=4674;POINT (-38.580878 -3.287692)'))) / (select extract(epoch from '2026-05-28 15:31:31'::timestamp) - extract(epoch from '2026-05-28 15:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58091 -3.287714)'), GeomFromEWKT('SRID=4674;POINT (-38.580878 -3.287692)'))) / (select extract(epoch from '2026-05-28 15:31:31'::timestamp) - extract(epoch from '2026-05-28 15: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.58082 -3.28766)', '2026-05-28 15:31:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580878 -3.287692)'), GeomFromEWKT('SRID=4674;POINT (-38.58082 -3.28766)'))) / (select extract(epoch from '2026-05-28 15:31:36'::timestamp) - extract(epoch from '2026-05-28 15:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580878 -3.287692)'), GeomFromEWKT('SRID=4674;POINT (-38.58082 -3.28766)'))) / (select extract(epoch from '2026-05-28 15:31:36'::timestamp) - extract(epoch from '2026-05-28 15:31: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.580813 -3.287651)', '2026-05-28 15:31:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58082 -3.28766)'), GeomFromEWKT('SRID=4674;POINT (-38.580813 -3.287651)'))) / (select extract(epoch from '2026-05-28 15:31:37'::timestamp) - extract(epoch from '2026-05-28 15:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58082 -3.28766)'), GeomFromEWKT('SRID=4674;POINT (-38.580813 -3.287651)'))) / (select extract(epoch from '2026-05-28 15:31:37'::timestamp) - extract(epoch from '2026-05-28 15:31: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.580771 -3.287623)', '2026-05-28 15:31:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580813 -3.287651)'), GeomFromEWKT('SRID=4674;POINT (-38.580771 -3.287623)'))) / (select extract(epoch from '2026-05-28 15:31:41'::timestamp) - extract(epoch from '2026-05-28 15:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580813 -3.287651)'), GeomFromEWKT('SRID=4674;POINT (-38.580771 -3.287623)'))) / (select extract(epoch from '2026-05-28 15:31:41'::timestamp) - extract(epoch from '2026-05-28 15:31: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.580766 -3.287614)', '2026-05-28 15:31:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580771 -3.287623)'), GeomFromEWKT('SRID=4674;POINT (-38.580766 -3.287614)'))) / (select extract(epoch from '2026-05-28 15:31:42'::timestamp) - extract(epoch from '2026-05-28 15:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580771 -3.287623)'), GeomFromEWKT('SRID=4674;POINT (-38.580766 -3.287614)'))) / (select extract(epoch from '2026-05-28 15:31:42'::timestamp) - extract(epoch from '2026-05-28 15: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.580724 -3.287577)', '2026-05-28 15:31:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580766 -3.287614)'), GeomFromEWKT('SRID=4674;POINT (-38.580724 -3.287577)'))) / (select extract(epoch from '2026-05-28 15:31:46'::timestamp) - extract(epoch from '2026-05-28 15:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580766 -3.287614)'), GeomFromEWKT('SRID=4674;POINT (-38.580724 -3.287577)'))) / (select extract(epoch from '2026-05-28 15:31:46'::timestamp) - extract(epoch from '2026-05-28 15:31: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.580709 -3.287551)', '2026-05-28 15:31:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580724 -3.287577)'), GeomFromEWKT('SRID=4674;POINT (-38.580709 -3.287551)'))) / (select extract(epoch from '2026-05-28 15:31:48'::timestamp) - extract(epoch from '2026-05-28 15:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580724 -3.287577)'), GeomFromEWKT('SRID=4674;POINT (-38.580709 -3.287551)'))) / (select extract(epoch from '2026-05-28 15:31:48'::timestamp) - extract(epoch from '2026-05-28 15:31: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.580689 -3.287535)', '2026-05-28 15:31:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580709 -3.287551)'), GeomFromEWKT('SRID=4674;POINT (-38.580689 -3.287535)'))) / (select extract(epoch from '2026-05-28 15:31:50'::timestamp) - extract(epoch from '2026-05-28 15:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580709 -3.287551)'), GeomFromEWKT('SRID=4674;POINT (-38.580689 -3.287535)'))) / (select extract(epoch from '2026-05-28 15:31:50'::timestamp) - extract(epoch from '2026-05-28 15:31: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.580656 -3.287484)', '2026-05-28 15:31:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580689 -3.287535)'), GeomFromEWKT('SRID=4674;POINT (-38.580656 -3.287484)'))) / (select extract(epoch from '2026-05-28 15:31:55'::timestamp) - extract(epoch from '2026-05-28 15:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580689 -3.287535)'), GeomFromEWKT('SRID=4674;POINT (-38.580656 -3.287484)'))) / (select extract(epoch from '2026-05-28 15:31:55'::timestamp) - extract(epoch from '2026-05-28 15: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.58064 -3.287466)', '2026-05-28 15:31:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580656 -3.287484)'), GeomFromEWKT('SRID=4674;POINT (-38.58064 -3.287466)'))) / (select extract(epoch from '2026-05-28 15:31:57'::timestamp) - extract(epoch from '2026-05-28 15:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580656 -3.287484)'), GeomFromEWKT('SRID=4674;POINT (-38.58064 -3.287466)'))) / (select extract(epoch from '2026-05-28 15:31:57'::timestamp) - extract(epoch from '2026-05-28 15: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.580619 -3.287433)', '2026-05-28 15:32:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58064 -3.287466)'), GeomFromEWKT('SRID=4674;POINT (-38.580619 -3.287433)'))) / (select extract(epoch from '2026-05-28 15:32:00'::timestamp) - extract(epoch from '2026-05-28 15:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58064 -3.287466)'), GeomFromEWKT('SRID=4674;POINT (-38.580619 -3.287433)'))) / (select extract(epoch from '2026-05-28 15:32:00'::timestamp) - extract(epoch from '2026-05-28 15:31: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.58061 -3.287422)', '2026-05-28 15:32:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580619 -3.287433)'), GeomFromEWKT('SRID=4674;POINT (-38.58061 -3.287422)'))) / (select extract(epoch from '2026-05-28 15:32:01'::timestamp) - extract(epoch from '2026-05-28 15:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580619 -3.287433)'), GeomFromEWKT('SRID=4674;POINT (-38.58061 -3.287422)'))) / (select extract(epoch from '2026-05-28 15:32:01'::timestamp) - extract(epoch from '2026-05-28 15:32: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.580593 -3.28741)', '2026-05-28 15:32:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58061 -3.287422)'), GeomFromEWKT('SRID=4674;POINT (-38.580593 -3.28741)'))) / (select extract(epoch from '2026-05-28 15:32:03'::timestamp) - extract(epoch from '2026-05-28 15:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58061 -3.287422)'), GeomFromEWKT('SRID=4674;POINT (-38.580593 -3.28741)'))) / (select extract(epoch from '2026-05-28 15:32:03'::timestamp) - extract(epoch from '2026-05-28 15:32: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.580586 -3.2874)', '2026-05-28 15:32:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580593 -3.28741)'), GeomFromEWKT('SRID=4674;POINT (-38.580586 -3.2874)'))) / (select extract(epoch from '2026-05-28 15:32:04'::timestamp) - extract(epoch from '2026-05-28 15:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580593 -3.28741)'), GeomFromEWKT('SRID=4674;POINT (-38.580586 -3.2874)'))) / (select extract(epoch from '2026-05-28 15:32:04'::timestamp) - extract(epoch from '2026-05-28 15:32: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.580547 -3.287357)', '2026-05-28 15:32:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580586 -3.2874)'), GeomFromEWKT('SRID=4674;POINT (-38.580547 -3.287357)'))) / (select extract(epoch from '2026-05-28 15:32:08'::timestamp) - extract(epoch from '2026-05-28 15:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580586 -3.2874)'), GeomFromEWKT('SRID=4674;POINT (-38.580547 -3.287357)'))) / (select extract(epoch from '2026-05-28 15:32:08'::timestamp) - extract(epoch from '2026-05-28 15: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.580533 -3.287338)', '2026-05-28 15:32:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580547 -3.287357)'), GeomFromEWKT('SRID=4674;POINT (-38.580533 -3.287338)'))) / (select extract(epoch from '2026-05-28 15:32:10'::timestamp) - extract(epoch from '2026-05-28 15:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580547 -3.287357)'), GeomFromEWKT('SRID=4674;POINT (-38.580533 -3.287338)'))) / (select extract(epoch from '2026-05-28 15:32:10'::timestamp) - extract(epoch from '2026-05-28 15:32: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.580488 -3.287286)', '2026-05-28 15:32:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580533 -3.287338)'), GeomFromEWKT('SRID=4674;POINT (-38.580488 -3.287286)'))) / (select extract(epoch from '2026-05-28 15:32:15'::timestamp) - extract(epoch from '2026-05-28 15:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580533 -3.287338)'), GeomFromEWKT('SRID=4674;POINT (-38.580488 -3.287286)'))) / (select extract(epoch from '2026-05-28 15:32:15'::timestamp) - extract(epoch from '2026-05-28 15:32: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.580479 -3.287275)', '2026-05-28 15:32:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580488 -3.287286)'), GeomFromEWKT('SRID=4674;POINT (-38.580479 -3.287275)'))) / (select extract(epoch from '2026-05-28 15:32:16'::timestamp) - extract(epoch from '2026-05-28 15:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580488 -3.287286)'), GeomFromEWKT('SRID=4674;POINT (-38.580479 -3.287275)'))) / (select extract(epoch from '2026-05-28 15:32:16'::timestamp) - extract(epoch from '2026-05-28 15:32: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.580443 -3.287231)', '2026-05-28 15:32:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580479 -3.287275)'), GeomFromEWKT('SRID=4674;POINT (-38.580443 -3.287231)'))) / (select extract(epoch from '2026-05-28 15:32:20'::timestamp) - extract(epoch from '2026-05-28 15:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580479 -3.287275)'), GeomFromEWKT('SRID=4674;POINT (-38.580443 -3.287231)'))) / (select extract(epoch from '2026-05-28 15:32:20'::timestamp) - extract(epoch from '2026-05-28 15:32: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.580375 -3.287165)', '2026-05-28 15:32:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580443 -3.287231)'), GeomFromEWKT('SRID=4674;POINT (-38.580375 -3.287165)'))) / (select extract(epoch from '2026-05-28 15:32:26'::timestamp) - extract(epoch from '2026-05-28 15:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580443 -3.287231)'), GeomFromEWKT('SRID=4674;POINT (-38.580375 -3.287165)'))) / (select extract(epoch from '2026-05-28 15:32:26'::timestamp) - extract(epoch from '2026-05-28 15:32: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.58036 -3.287142)', '2026-05-28 15:32:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580375 -3.287165)'), GeomFromEWKT('SRID=4674;POINT (-38.58036 -3.287142)'))) / (select extract(epoch from '2026-05-28 15:32:28'::timestamp) - extract(epoch from '2026-05-28 15:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580375 -3.287165)'), GeomFromEWKT('SRID=4674;POINT (-38.58036 -3.287142)'))) / (select extract(epoch from '2026-05-28 15:32:28'::timestamp) - extract(epoch from '2026-05-28 15:32:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580339 -3.287124)', '2026-05-28 15:32:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58036 -3.287142)'), GeomFromEWKT('SRID=4674;POINT (-38.580339 -3.287124)'))) / (select extract(epoch from '2026-05-28 15:32:30'::timestamp) - extract(epoch from '2026-05-28 15:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58036 -3.287142)'), GeomFromEWKT('SRID=4674;POINT (-38.580339 -3.287124)'))) / (select extract(epoch from '2026-05-28 15:32:30'::timestamp) - extract(epoch from '2026-05-28 15:32: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.580329 -3.2871)', '2026-05-28 15:32:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580339 -3.287124)'), GeomFromEWKT('SRID=4674;POINT (-38.580329 -3.2871)'))) / (select extract(epoch from '2026-05-28 15:32:32'::timestamp) - extract(epoch from '2026-05-28 15:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580339 -3.287124)'), GeomFromEWKT('SRID=4674;POINT (-38.580329 -3.2871)'))) / (select extract(epoch from '2026-05-28 15:32:32'::timestamp) - extract(epoch from '2026-05-28 15:32: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.580319 -3.287091)', '2026-05-28 15:32:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580329 -3.2871)'), GeomFromEWKT('SRID=4674;POINT (-38.580319 -3.287091)'))) / (select extract(epoch from '2026-05-28 15:32:33'::timestamp) - extract(epoch from '2026-05-28 15:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580329 -3.2871)'), GeomFromEWKT('SRID=4674;POINT (-38.580319 -3.287091)'))) / (select extract(epoch from '2026-05-28 15:32:33'::timestamp) - extract(epoch from '2026-05-28 15: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.580287 -3.287058)', '2026-05-28 15:32:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580319 -3.287091)'), GeomFromEWKT('SRID=4674;POINT (-38.580287 -3.287058)'))) / (select extract(epoch from '2026-05-28 15:32:37'::timestamp) - extract(epoch from '2026-05-28 15:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580319 -3.287091)'), GeomFromEWKT('SRID=4674;POINT (-38.580287 -3.287058)'))) / (select extract(epoch from '2026-05-28 15:32:37'::timestamp) - extract(epoch from '2026-05-28 15:32:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580216 -3.286981)', '2026-05-28 15:32:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580287 -3.287058)'), GeomFromEWKT('SRID=4674;POINT (-38.580216 -3.286981)'))) / (select extract(epoch from '2026-05-28 15:32:44'::timestamp) - extract(epoch from '2026-05-28 15:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580287 -3.287058)'), GeomFromEWKT('SRID=4674;POINT (-38.580216 -3.286981)'))) / (select extract(epoch from '2026-05-28 15:32:44'::timestamp) - extract(epoch from '2026-05-28 15:32: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.580154 -3.286908)', '2026-05-28 15:32:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580216 -3.286981)'), GeomFromEWKT('SRID=4674;POINT (-38.580154 -3.286908)'))) / (select extract(epoch from '2026-05-28 15:32:51'::timestamp) - extract(epoch from '2026-05-28 15:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580216 -3.286981)'), GeomFromEWKT('SRID=4674;POINT (-38.580154 -3.286908)'))) / (select extract(epoch from '2026-05-28 15:32:51'::timestamp) - extract(epoch from '2026-05-28 15: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.580141 -3.286899)', '2026-05-28 15:32:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580154 -3.286908)'), GeomFromEWKT('SRID=4674;POINT (-38.580141 -3.286899)'))) / (select extract(epoch from '2026-05-28 15:32:52'::timestamp) - extract(epoch from '2026-05-28 15:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580154 -3.286908)'), GeomFromEWKT('SRID=4674;POINT (-38.580141 -3.286899)'))) / (select extract(epoch from '2026-05-28 15:32:52'::timestamp) - extract(epoch from '2026-05-28 15:32: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.580066 -3.286833)', '2026-05-28 15:32:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580141 -3.286899)'), GeomFromEWKT('SRID=4674;POINT (-38.580066 -3.286833)'))) / (select extract(epoch from '2026-05-28 15:32:59'::timestamp) - extract(epoch from '2026-05-28 15:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580141 -3.286899)'), GeomFromEWKT('SRID=4674;POINT (-38.580066 -3.286833)'))) / (select extract(epoch from '2026-05-28 15:32:59'::timestamp) - extract(epoch from '2026-05-28 15: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.580013 -3.286786)', '2026-05-28 15:33:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580066 -3.286833)'), GeomFromEWKT('SRID=4674;POINT (-38.580013 -3.286786)'))) / (select extract(epoch from '2026-05-28 15:33:04'::timestamp) - extract(epoch from '2026-05-28 15:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580066 -3.286833)'), GeomFromEWKT('SRID=4674;POINT (-38.580013 -3.286786)'))) / (select extract(epoch from '2026-05-28 15:33:04'::timestamp) - extract(epoch from '2026-05-28 15: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.579985 -3.286769)', '2026-05-28 15:33:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580013 -3.286786)'), GeomFromEWKT('SRID=4674;POINT (-38.579985 -3.286769)'))) / (select extract(epoch from '2026-05-28 15:33:06'::timestamp) - extract(epoch from '2026-05-28 15:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580013 -3.286786)'), GeomFromEWKT('SRID=4674;POINT (-38.579985 -3.286769)'))) / (select extract(epoch from '2026-05-28 15:33:06'::timestamp) - extract(epoch from '2026-05-28 15: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.579978 -3.28676)', '2026-05-28 15:33:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579985 -3.286769)'), GeomFromEWKT('SRID=4674;POINT (-38.579978 -3.28676)'))) / (select extract(epoch from '2026-05-28 15:33:07'::timestamp) - extract(epoch from '2026-05-28 15:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579985 -3.286769)'), GeomFromEWKT('SRID=4674;POINT (-38.579978 -3.28676)'))) / (select extract(epoch from '2026-05-28 15:33:07'::timestamp) - extract(epoch from '2026-05-28 15:33: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.579934 -3.286723)', '2026-05-28 15:33:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579978 -3.28676)'), GeomFromEWKT('SRID=4674;POINT (-38.579934 -3.286723)'))) / (select extract(epoch from '2026-05-28 15:33:11'::timestamp) - extract(epoch from '2026-05-28 15:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579978 -3.28676)'), GeomFromEWKT('SRID=4674;POINT (-38.579934 -3.286723)'))) / (select extract(epoch from '2026-05-28 15:33:11'::timestamp) - extract(epoch from '2026-05-28 15:33: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.579876 -3.286668)', '2026-05-28 15:33:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579934 -3.286723)'), GeomFromEWKT('SRID=4674;POINT (-38.579876 -3.286668)'))) / (select extract(epoch from '2026-05-28 15:33:17'::timestamp) - extract(epoch from '2026-05-28 15:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579934 -3.286723)'), GeomFromEWKT('SRID=4674;POINT (-38.579876 -3.286668)'))) / (select extract(epoch from '2026-05-28 15:33:17'::timestamp) - extract(epoch from '2026-05-28 15:33: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.579808 -3.286605)', '2026-05-28 15:33:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579876 -3.286668)'), GeomFromEWKT('SRID=4674;POINT (-38.579808 -3.286605)'))) / (select extract(epoch from '2026-05-28 15:33:24'::timestamp) - extract(epoch from '2026-05-28 15:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579876 -3.286668)'), GeomFromEWKT('SRID=4674;POINT (-38.579808 -3.286605)'))) / (select extract(epoch from '2026-05-28 15:33:24'::timestamp) - extract(epoch from '2026-05-28 15:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579763 -3.286551)', '2026-05-28 15:33:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579808 -3.286605)'), GeomFromEWKT('SRID=4674;POINT (-38.579763 -3.286551)'))) / (select extract(epoch from '2026-05-28 15:33:30'::timestamp) - extract(epoch from '2026-05-28 15:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579808 -3.286605)'), GeomFromEWKT('SRID=4674;POINT (-38.579763 -3.286551)'))) / (select extract(epoch from '2026-05-28 15:33:30'::timestamp) - extract(epoch from '2026-05-28 15:33: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.579752 -3.286545)', '2026-05-28 15:33:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579763 -3.286551)'), GeomFromEWKT('SRID=4674;POINT (-38.579752 -3.286545)'))) / (select extract(epoch from '2026-05-28 15:33:31'::timestamp) - extract(epoch from '2026-05-28 15:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579763 -3.286551)'), GeomFromEWKT('SRID=4674;POINT (-38.579752 -3.286545)'))) / (select extract(epoch from '2026-05-28 15:33:31'::timestamp) - extract(epoch from '2026-05-28 15:33:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579742 -3.286537)', '2026-05-28 15:33:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579752 -3.286545)'), GeomFromEWKT('SRID=4674;POINT (-38.579742 -3.286537)'))) / (select extract(epoch from '2026-05-28 15:33:32'::timestamp) - extract(epoch from '2026-05-28 15:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579752 -3.286545)'), GeomFromEWKT('SRID=4674;POINT (-38.579742 -3.286537)'))) / (select extract(epoch from '2026-05-28 15:33:32'::timestamp) - extract(epoch from '2026-05-28 15:33: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.579716 -3.286504)', '2026-05-28 15:33:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579742 -3.286537)'), GeomFromEWKT('SRID=4674;POINT (-38.579716 -3.286504)'))) / (select extract(epoch from '2026-05-28 15:33:35'::timestamp) - extract(epoch from '2026-05-28 15:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579742 -3.286537)'), GeomFromEWKT('SRID=4674;POINT (-38.579716 -3.286504)'))) / (select extract(epoch from '2026-05-28 15:33:35'::timestamp) - extract(epoch from '2026-05-28 15:33:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579704 -3.286497)', '2026-05-28 15:33:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579716 -3.286504)'), GeomFromEWKT('SRID=4674;POINT (-38.579704 -3.286497)'))) / (select extract(epoch from '2026-05-28 15:33:36'::timestamp) - extract(epoch from '2026-05-28 15:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579716 -3.286504)'), GeomFromEWKT('SRID=4674;POINT (-38.579704 -3.286497)'))) / (select extract(epoch from '2026-05-28 15:33:36'::timestamp) - extract(epoch from '2026-05-28 15:33: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.579678 -3.28647)', '2026-05-28 15:33:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579704 -3.286497)'), GeomFromEWKT('SRID=4674;POINT (-38.579678 -3.28647)'))) / (select extract(epoch from '2026-05-28 15:33:39'::timestamp) - extract(epoch from '2026-05-28 15:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579704 -3.286497)'), GeomFromEWKT('SRID=4674;POINT (-38.579678 -3.28647)'))) / (select extract(epoch from '2026-05-28 15:33:39'::timestamp) - extract(epoch from '2026-05-28 15:33: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.579659 -3.286444)', '2026-05-28 15:33:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579678 -3.28647)'), GeomFromEWKT('SRID=4674;POINT (-38.579659 -3.286444)'))) / (select extract(epoch from '2026-05-28 15:33:41'::timestamp) - extract(epoch from '2026-05-28 15:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579678 -3.28647)'), GeomFromEWKT('SRID=4674;POINT (-38.579659 -3.286444)'))) / (select extract(epoch from '2026-05-28 15:33:41'::timestamp) - extract(epoch from '2026-05-28 15:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579612 -3.286392)', '2026-05-28 15:33:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579659 -3.286444)'), GeomFromEWKT('SRID=4674;POINT (-38.579612 -3.286392)'))) / (select extract(epoch from '2026-05-28 15:33:46'::timestamp) - extract(epoch from '2026-05-28 15:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579659 -3.286444)'), GeomFromEWKT('SRID=4674;POINT (-38.579612 -3.286392)'))) / (select extract(epoch from '2026-05-28 15:33:46'::timestamp) - extract(epoch from '2026-05-28 15:33: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.579587 -3.286358)', '2026-05-28 15:33:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579612 -3.286392)'), GeomFromEWKT('SRID=4674;POINT (-38.579587 -3.286358)'))) / (select extract(epoch from '2026-05-28 15:33:49'::timestamp) - extract(epoch from '2026-05-28 15:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579612 -3.286392)'), GeomFromEWKT('SRID=4674;POINT (-38.579587 -3.286358)'))) / (select extract(epoch from '2026-05-28 15:33:49'::timestamp) - extract(epoch from '2026-05-28 15:33: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.579562 -3.286324)', '2026-05-28 15:33:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579587 -3.286358)'), GeomFromEWKT('SRID=4674;POINT (-38.579562 -3.286324)'))) / (select extract(epoch from '2026-05-28 15:33:52'::timestamp) - extract(epoch from '2026-05-28 15:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579587 -3.286358)'), GeomFromEWKT('SRID=4674;POINT (-38.579562 -3.286324)'))) / (select extract(epoch from '2026-05-28 15:33:52'::timestamp) - extract(epoch from '2026-05-28 15:33: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.579537 -3.286295)', '2026-05-28 15:33:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579562 -3.286324)'), GeomFromEWKT('SRID=4674;POINT (-38.579537 -3.286295)'))) / (select extract(epoch from '2026-05-28 15:33:55'::timestamp) - extract(epoch from '2026-05-28 15:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579562 -3.286324)'), GeomFromEWKT('SRID=4674;POINT (-38.579537 -3.286295)'))) / (select extract(epoch from '2026-05-28 15:33:55'::timestamp) - extract(epoch from '2026-05-28 15: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.579514 -3.28626)', '2026-05-28 15:33:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579537 -3.286295)'), GeomFromEWKT('SRID=4674;POINT (-38.579514 -3.28626)'))) / (select extract(epoch from '2026-05-28 15:33:58'::timestamp) - extract(epoch from '2026-05-28 15:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579537 -3.286295)'), GeomFromEWKT('SRID=4674;POINT (-38.579514 -3.28626)'))) / (select extract(epoch from '2026-05-28 15:33:58'::timestamp) - extract(epoch from '2026-05-28 15: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.579483 -3.286217)', '2026-05-28 15:34:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579514 -3.28626)'), GeomFromEWKT('SRID=4674;POINT (-38.579483 -3.286217)'))) / (select extract(epoch from '2026-05-28 15:34:02'::timestamp) - extract(epoch from '2026-05-28 15:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579514 -3.28626)'), GeomFromEWKT('SRID=4674;POINT (-38.579483 -3.286217)'))) / (select extract(epoch from '2026-05-28 15:34:02'::timestamp) - extract(epoch from '2026-05-28 15:33: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.579468 -3.286192)', '2026-05-28 15:34:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579483 -3.286217)'), GeomFromEWKT('SRID=4674;POINT (-38.579468 -3.286192)'))) / (select extract(epoch from '2026-05-28 15:34:04'::timestamp) - extract(epoch from '2026-05-28 15:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579483 -3.286217)'), GeomFromEWKT('SRID=4674;POINT (-38.579468 -3.286192)'))) / (select extract(epoch from '2026-05-28 15:34:04'::timestamp) - extract(epoch from '2026-05-28 15: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.579426 -3.286141)', '2026-05-28 15:34:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579468 -3.286192)'), GeomFromEWKT('SRID=4674;POINT (-38.579426 -3.286141)'))) / (select extract(epoch from '2026-05-28 15:34:08'::timestamp) - extract(epoch from '2026-05-28 15:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579468 -3.286192)'), GeomFromEWKT('SRID=4674;POINT (-38.579426 -3.286141)'))) / (select extract(epoch from '2026-05-28 15:34:08'::timestamp) - extract(epoch from '2026-05-28 15:34:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579413 -3.286131)', '2026-05-28 15:34:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579426 -3.286141)'), GeomFromEWKT('SRID=4674;POINT (-38.579413 -3.286131)'))) / (select extract(epoch from '2026-05-28 15:34:09'::timestamp) - extract(epoch from '2026-05-28 15:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579426 -3.286141)'), GeomFromEWKT('SRID=4674;POINT (-38.579413 -3.286131)'))) / (select extract(epoch from '2026-05-28 15:34:09'::timestamp) - extract(epoch from '2026-05-28 15:34: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.579406 -3.28612)', '2026-05-28 15:34:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579413 -3.286131)'), GeomFromEWKT('SRID=4674;POINT (-38.579406 -3.28612)'))) / (select extract(epoch from '2026-05-28 15:34:10'::timestamp) - extract(epoch from '2026-05-28 15:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579413 -3.286131)'), GeomFromEWKT('SRID=4674;POINT (-38.579406 -3.28612)'))) / (select extract(epoch from '2026-05-28 15:34:10'::timestamp) - extract(epoch from '2026-05-28 15: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.579392 -3.286096)', '2026-05-28 15:34:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579406 -3.28612)'), GeomFromEWKT('SRID=4674;POINT (-38.579392 -3.286096)'))) / (select extract(epoch from '2026-05-28 15:34:12'::timestamp) - extract(epoch from '2026-05-28 15:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579406 -3.28612)'), GeomFromEWKT('SRID=4674;POINT (-38.579392 -3.286096)'))) / (select extract(epoch from '2026-05-28 15:34:12'::timestamp) - extract(epoch from '2026-05-28 15:34:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579367 -3.286074)', '2026-05-28 15:34:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579392 -3.286096)'), GeomFromEWKT('SRID=4674;POINT (-38.579367 -3.286074)'))) / (select extract(epoch from '2026-05-28 15:34:14'::timestamp) - extract(epoch from '2026-05-28 15:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579392 -3.286096)'), GeomFromEWKT('SRID=4674;POINT (-38.579367 -3.286074)'))) / (select extract(epoch from '2026-05-28 15:34:14'::timestamp) - extract(epoch from '2026-05-28 15:34: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.579298 -3.285995)', '2026-05-28 15:34:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579367 -3.286074)'), GeomFromEWKT('SRID=4674;POINT (-38.579298 -3.285995)'))) / (select extract(epoch from '2026-05-28 15:34:21'::timestamp) - extract(epoch from '2026-05-28 15:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579367 -3.286074)'), GeomFromEWKT('SRID=4674;POINT (-38.579298 -3.285995)'))) / (select extract(epoch from '2026-05-28 15:34:21'::timestamp) - extract(epoch from '2026-05-28 15: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.579226 -3.28591)', '2026-05-28 15:34:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579298 -3.285995)'), GeomFromEWKT('SRID=4674;POINT (-38.579226 -3.28591)'))) / (select extract(epoch from '2026-05-28 15:34:28'::timestamp) - extract(epoch from '2026-05-28 15:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579298 -3.285995)'), GeomFromEWKT('SRID=4674;POINT (-38.579226 -3.28591)'))) / (select extract(epoch from '2026-05-28 15:34:28'::timestamp) - extract(epoch from '2026-05-28 15: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.57917 -3.285846)', '2026-05-28 15:34:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579226 -3.28591)'), GeomFromEWKT('SRID=4674;POINT (-38.57917 -3.285846)'))) / (select extract(epoch from '2026-05-28 15:34:34'::timestamp) - extract(epoch from '2026-05-28 15:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579226 -3.28591)'), GeomFromEWKT('SRID=4674;POINT (-38.57917 -3.285846)'))) / (select extract(epoch from '2026-05-28 15:34:34'::timestamp) - extract(epoch from '2026-05-28 15:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579156 -3.285822)', '2026-05-28 15:34:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57917 -3.285846)'), GeomFromEWKT('SRID=4674;POINT (-38.579156 -3.285822)'))) / (select extract(epoch from '2026-05-28 15:34:36'::timestamp) - extract(epoch from '2026-05-28 15:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57917 -3.285846)'), GeomFromEWKT('SRID=4674;POINT (-38.579156 -3.285822)'))) / (select extract(epoch from '2026-05-28 15:34:36'::timestamp) - extract(epoch from '2026-05-28 15:34: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.579129 -3.285791)', '2026-05-28 15:34:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579156 -3.285822)'), GeomFromEWKT('SRID=4674;POINT (-38.579129 -3.285791)'))) / (select extract(epoch from '2026-05-28 15:34:39'::timestamp) - extract(epoch from '2026-05-28 15:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579156 -3.285822)'), GeomFromEWKT('SRID=4674;POINT (-38.579129 -3.285791)'))) / (select extract(epoch from '2026-05-28 15:34:39'::timestamp) - extract(epoch from '2026-05-28 15: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.579094 -3.285755)', '2026-05-28 15:34:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579129 -3.285791)'), GeomFromEWKT('SRID=4674;POINT (-38.579094 -3.285755)'))) / (select extract(epoch from '2026-05-28 15:34:43'::timestamp) - extract(epoch from '2026-05-28 15:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579129 -3.285791)'), GeomFromEWKT('SRID=4674;POINT (-38.579094 -3.285755)'))) / (select extract(epoch from '2026-05-28 15:34:43'::timestamp) - extract(epoch from '2026-05-28 15:34: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.579037 -3.285704)', '2026-05-28 15:34:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579094 -3.285755)'), GeomFromEWKT('SRID=4674;POINT (-38.579037 -3.285704)'))) / (select extract(epoch from '2026-05-28 15:34:48'::timestamp) - extract(epoch from '2026-05-28 15:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579094 -3.285755)'), GeomFromEWKT('SRID=4674;POINT (-38.579037 -3.285704)'))) / (select extract(epoch from '2026-05-28 15:34:48'::timestamp) - extract(epoch from '2026-05-28 15:34: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.578963 -3.285642)', '2026-05-28 15:34:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579037 -3.285704)'), GeomFromEWKT('SRID=4674;POINT (-38.578963 -3.285642)'))) / (select extract(epoch from '2026-05-28 15:34:54'::timestamp) - extract(epoch from '2026-05-28 15:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579037 -3.285704)'), GeomFromEWKT('SRID=4674;POINT (-38.578963 -3.285642)'))) / (select extract(epoch from '2026-05-28 15:34:54'::timestamp) - extract(epoch from '2026-05-28 15: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.578923 -3.285604)', '2026-05-28 15:34:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578963 -3.285642)'), GeomFromEWKT('SRID=4674;POINT (-38.578923 -3.285604)'))) / (select extract(epoch from '2026-05-28 15:34:58'::timestamp) - extract(epoch from '2026-05-28 15:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578963 -3.285642)'), GeomFromEWKT('SRID=4674;POINT (-38.578923 -3.285604)'))) / (select extract(epoch from '2026-05-28 15:34:58'::timestamp) - extract(epoch from '2026-05-28 15: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.578908 -3.285597)', '2026-05-28 15:34:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578923 -3.285604)'), GeomFromEWKT('SRID=4674;POINT (-38.578908 -3.285597)'))) / (select extract(epoch from '2026-05-28 15:34:59'::timestamp) - extract(epoch from '2026-05-28 15:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578923 -3.285604)'), GeomFromEWKT('SRID=4674;POINT (-38.578908 -3.285597)'))) / (select extract(epoch from '2026-05-28 15:34:59'::timestamp) - extract(epoch from '2026-05-28 15:34:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578895 -3.285588)', '2026-05-28 15:35:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578908 -3.285597)'), GeomFromEWKT('SRID=4674;POINT (-38.578895 -3.285588)'))) / (select extract(epoch from '2026-05-28 15:35:00'::timestamp) - extract(epoch from '2026-05-28 15:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578908 -3.285597)'), GeomFromEWKT('SRID=4674;POINT (-38.578895 -3.285588)'))) / (select extract(epoch from '2026-05-28 15:35:00'::timestamp) - extract(epoch from '2026-05-28 15: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.578879 -3.285563)', '2026-05-28 15:35:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578895 -3.285588)'), GeomFromEWKT('SRID=4674;POINT (-38.578879 -3.285563)'))) / (select extract(epoch from '2026-05-28 15:35:02'::timestamp) - extract(epoch from '2026-05-28 15:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578895 -3.285588)'), GeomFromEWKT('SRID=4674;POINT (-38.578879 -3.285563)'))) / (select extract(epoch from '2026-05-28 15:35:02'::timestamp) - extract(epoch from '2026-05-28 15:35: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.578863 -3.285553)', '2026-05-28 15:35:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578879 -3.285563)'), GeomFromEWKT('SRID=4674;POINT (-38.578863 -3.285553)'))) / (select extract(epoch from '2026-05-28 15:35:03'::timestamp) - extract(epoch from '2026-05-28 15:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578879 -3.285563)'), GeomFromEWKT('SRID=4674;POINT (-38.578863 -3.285553)'))) / (select extract(epoch from '2026-05-28 15:35:03'::timestamp) - extract(epoch from '2026-05-28 15:35: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.57885 -3.285544)', '2026-05-28 15:35:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578863 -3.285553)'), GeomFromEWKT('SRID=4674;POINT (-38.57885 -3.285544)'))) / (select extract(epoch from '2026-05-28 15:35:04'::timestamp) - extract(epoch from '2026-05-28 15:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578863 -3.285553)'), GeomFromEWKT('SRID=4674;POINT (-38.57885 -3.285544)'))) / (select extract(epoch from '2026-05-28 15:35:04'::timestamp) - extract(epoch from '2026-05-28 15:35: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.578839 -3.285525)', '2026-05-28 15:35:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57885 -3.285544)'), GeomFromEWKT('SRID=4674;POINT (-38.578839 -3.285525)'))) / (select extract(epoch from '2026-05-28 15:35:06'::timestamp) - extract(epoch from '2026-05-28 15:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57885 -3.285544)'), GeomFromEWKT('SRID=4674;POINT (-38.578839 -3.285525)'))) / (select extract(epoch from '2026-05-28 15:35:06'::timestamp) - extract(epoch from '2026-05-28 15:35:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57883 -3.285519)', '2026-05-28 15:35:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578839 -3.285525)'), GeomFromEWKT('SRID=4674;POINT (-38.57883 -3.285519)'))) / (select extract(epoch from '2026-05-28 15:35:07'::timestamp) - extract(epoch from '2026-05-28 15:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578839 -3.285525)'), GeomFromEWKT('SRID=4674;POINT (-38.57883 -3.285519)'))) / (select extract(epoch from '2026-05-28 15:35:07'::timestamp) - extract(epoch from '2026-05-28 15:35: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.578773 -3.285469)', '2026-05-28 15:35:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57883 -3.285519)'), GeomFromEWKT('SRID=4674;POINT (-38.578773 -3.285469)'))) / (select extract(epoch from '2026-05-28 15:35:13'::timestamp) - extract(epoch from '2026-05-28 15:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57883 -3.285519)'), GeomFromEWKT('SRID=4674;POINT (-38.578773 -3.285469)'))) / (select extract(epoch from '2026-05-28 15:35:13'::timestamp) - extract(epoch from '2026-05-28 15:35: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.578729 -3.285434)', '2026-05-28 15:35:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578773 -3.285469)'), GeomFromEWKT('SRID=4674;POINT (-38.578729 -3.285434)'))) / (select extract(epoch from '2026-05-28 15:35:18'::timestamp) - extract(epoch from '2026-05-28 15:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578773 -3.285469)'), GeomFromEWKT('SRID=4674;POINT (-38.578729 -3.285434)'))) / (select extract(epoch from '2026-05-28 15:35:18'::timestamp) - extract(epoch from '2026-05-28 15:35: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.578724 -3.285428)', '2026-05-28 15:35:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578729 -3.285434)'), GeomFromEWKT('SRID=4674;POINT (-38.578724 -3.285428)'))) / (select extract(epoch from '2026-05-28 15:35:19'::timestamp) - extract(epoch from '2026-05-28 15:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578729 -3.285434)'), GeomFromEWKT('SRID=4674;POINT (-38.578724 -3.285428)'))) / (select extract(epoch from '2026-05-28 15:35:19'::timestamp) - extract(epoch from '2026-05-28 15:35: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.578687 -3.285399)', '2026-05-28 15:35:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578724 -3.285428)'), GeomFromEWKT('SRID=4674;POINT (-38.578687 -3.285399)'))) / (select extract(epoch from '2026-05-28 15:35:23'::timestamp) - extract(epoch from '2026-05-28 15:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578724 -3.285428)'), GeomFromEWKT('SRID=4674;POINT (-38.578687 -3.285399)'))) / (select extract(epoch from '2026-05-28 15:35:23'::timestamp) - extract(epoch from '2026-05-28 15:35: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.578679 -3.285392)', '2026-05-28 15:35:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578687 -3.285399)'), GeomFromEWKT('SRID=4674;POINT (-38.578679 -3.285392)'))) / (select extract(epoch from '2026-05-28 15:35:24'::timestamp) - extract(epoch from '2026-05-28 15:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578687 -3.285399)'), GeomFromEWKT('SRID=4674;POINT (-38.578679 -3.285392)'))) / (select extract(epoch from '2026-05-28 15:35:24'::timestamp) - extract(epoch from '2026-05-28 15:35: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.578652 -3.285367)', '2026-05-28 15:35:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578679 -3.285392)'), GeomFromEWKT('SRID=4674;POINT (-38.578652 -3.285367)'))) / (select extract(epoch from '2026-05-28 15:35:27'::timestamp) - extract(epoch from '2026-05-28 15:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578679 -3.285392)'), GeomFromEWKT('SRID=4674;POINT (-38.578652 -3.285367)'))) / (select extract(epoch from '2026-05-28 15:35:27'::timestamp) - extract(epoch from '2026-05-28 15:35: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.57862 -3.285343)', '2026-05-28 15:35:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578652 -3.285367)'), GeomFromEWKT('SRID=4674;POINT (-38.57862 -3.285343)'))) / (select extract(epoch from '2026-05-28 15:35:30'::timestamp) - extract(epoch from '2026-05-28 15:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578652 -3.285367)'), GeomFromEWKT('SRID=4674;POINT (-38.57862 -3.285343)'))) / (select extract(epoch from '2026-05-28 15:35:30'::timestamp) - extract(epoch from '2026-05-28 15:35: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.578563 -3.285305)', '2026-05-28 15:35:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57862 -3.285343)'), GeomFromEWKT('SRID=4674;POINT (-38.578563 -3.285305)'))) / (select extract(epoch from '2026-05-28 15:35:36'::timestamp) - extract(epoch from '2026-05-28 15:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57862 -3.285343)'), GeomFromEWKT('SRID=4674;POINT (-38.578563 -3.285305)'))) / (select extract(epoch from '2026-05-28 15:35:36'::timestamp) - extract(epoch from '2026-05-28 15:35: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.578525 -3.285281)', '2026-05-28 15:35:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578563 -3.285305)'), GeomFromEWKT('SRID=4674;POINT (-38.578525 -3.285281)'))) / (select extract(epoch from '2026-05-28 15:35:39'::timestamp) - extract(epoch from '2026-05-28 15:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578563 -3.285305)'), GeomFromEWKT('SRID=4674;POINT (-38.578525 -3.285281)'))) / (select extract(epoch from '2026-05-28 15:35:39'::timestamp) - extract(epoch from '2026-05-28 15:35:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578511 -3.285269)', '2026-05-28 15:35:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578525 -3.285281)'), GeomFromEWKT('SRID=4674;POINT (-38.578511 -3.285269)'))) / (select extract(epoch from '2026-05-28 15:35:41'::timestamp) - extract(epoch from '2026-05-28 15:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578525 -3.285281)'), GeomFromEWKT('SRID=4674;POINT (-38.578511 -3.285269)'))) / (select extract(epoch from '2026-05-28 15:35:41'::timestamp) - extract(epoch from '2026-05-28 15:35: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.578462 -3.285231)', '2026-05-28 15:35:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578511 -3.285269)'), GeomFromEWKT('SRID=4674;POINT (-38.578462 -3.285231)'))) / (select extract(epoch from '2026-05-28 15:35:47'::timestamp) - extract(epoch from '2026-05-28 15:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578511 -3.285269)'), GeomFromEWKT('SRID=4674;POINT (-38.578462 -3.285231)'))) / (select extract(epoch from '2026-05-28 15:35:47'::timestamp) - extract(epoch from '2026-05-28 15:35: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.578459 -3.285223)', '2026-05-28 15:35:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578462 -3.285231)'), GeomFromEWKT('SRID=4674;POINT (-38.578459 -3.285223)'))) / (select extract(epoch from '2026-05-28 15:35:48'::timestamp) - extract(epoch from '2026-05-28 15:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578462 -3.285231)'), GeomFromEWKT('SRID=4674;POINT (-38.578459 -3.285223)'))) / (select extract(epoch from '2026-05-28 15:35:48'::timestamp) - extract(epoch from '2026-05-28 15:35: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.578428 -3.285195)', '2026-05-28 15:35:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578459 -3.285223)'), GeomFromEWKT('SRID=4674;POINT (-38.578428 -3.285195)'))) / (select extract(epoch from '2026-05-28 15:35:51'::timestamp) - extract(epoch from '2026-05-28 15:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578459 -3.285223)'), GeomFromEWKT('SRID=4674;POINT (-38.578428 -3.285195)'))) / (select extract(epoch from '2026-05-28 15:35:51'::timestamp) - extract(epoch from '2026-05-28 15:35: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.578423 -3.285186)', '2026-05-28 15:35:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578428 -3.285195)'), GeomFromEWKT('SRID=4674;POINT (-38.578423 -3.285186)'))) / (select extract(epoch from '2026-05-28 15:35:52'::timestamp) - extract(epoch from '2026-05-28 15:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578428 -3.285195)'), GeomFromEWKT('SRID=4674;POINT (-38.578423 -3.285186)'))) / (select extract(epoch from '2026-05-28 15:35:52'::timestamp) - extract(epoch from '2026-05-28 15:35:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578384 -3.28513)', '2026-05-28 15:35:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578423 -3.285186)'), GeomFromEWKT('SRID=4674;POINT (-38.578384 -3.28513)'))) / (select extract(epoch from '2026-05-28 15:35:58'::timestamp) - extract(epoch from '2026-05-28 15:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578423 -3.285186)'), GeomFromEWKT('SRID=4674;POINT (-38.578384 -3.28513)'))) / (select extract(epoch from '2026-05-28 15:35:58'::timestamp) - extract(epoch from '2026-05-28 15:35: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.578318 -3.285069)', '2026-05-28 15:36:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578384 -3.28513)'), GeomFromEWKT('SRID=4674;POINT (-38.578318 -3.285069)'))) / (select extract(epoch from '2026-05-28 15:36:05'::timestamp) - extract(epoch from '2026-05-28 15:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578384 -3.28513)'), GeomFromEWKT('SRID=4674;POINT (-38.578318 -3.285069)'))) / (select extract(epoch from '2026-05-28 15:36:05'::timestamp) - extract(epoch from '2026-05-28 15:35: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.578298 -3.285055)', '2026-05-28 15:36:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578318 -3.285069)'), GeomFromEWKT('SRID=4674;POINT (-38.578298 -3.285055)'))) / (select extract(epoch from '2026-05-28 15:36:07'::timestamp) - extract(epoch from '2026-05-28 15:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578318 -3.285069)'), GeomFromEWKT('SRID=4674;POINT (-38.578298 -3.285055)'))) / (select extract(epoch from '2026-05-28 15:36:07'::timestamp) - extract(epoch from '2026-05-28 15:36:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578254 -3.285024)', '2026-05-28 15:36:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578298 -3.285055)'), GeomFromEWKT('SRID=4674;POINT (-38.578254 -3.285024)'))) / (select extract(epoch from '2026-05-28 15:36:11'::timestamp) - extract(epoch from '2026-05-28 15:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578298 -3.285055)'), GeomFromEWKT('SRID=4674;POINT (-38.578254 -3.285024)'))) / (select extract(epoch from '2026-05-28 15:36:11'::timestamp) - extract(epoch from '2026-05-28 15:36: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.578174 -3.284973)', '2026-05-28 15:36:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578254 -3.285024)'), GeomFromEWKT('SRID=4674;POINT (-38.578174 -3.284973)'))) / (select extract(epoch from '2026-05-28 15:36:18'::timestamp) - extract(epoch from '2026-05-28 15:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578254 -3.285024)'), GeomFromEWKT('SRID=4674;POINT (-38.578174 -3.284973)'))) / (select extract(epoch from '2026-05-28 15:36:18'::timestamp) - extract(epoch from '2026-05-28 15:36: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.578125 -3.284938)', '2026-05-28 15:36:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578174 -3.284973)'), GeomFromEWKT('SRID=4674;POINT (-38.578125 -3.284938)'))) / (select extract(epoch from '2026-05-28 15:36:23'::timestamp) - extract(epoch from '2026-05-28 15:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578174 -3.284973)'), GeomFromEWKT('SRID=4674;POINT (-38.578125 -3.284938)'))) / (select extract(epoch from '2026-05-28 15:36:23'::timestamp) - extract(epoch from '2026-05-28 15:36:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578113 -3.284923)', '2026-05-28 15:36:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578125 -3.284938)'), GeomFromEWKT('SRID=4674;POINT (-38.578113 -3.284923)'))) / (select extract(epoch from '2026-05-28 15:36:25'::timestamp) - extract(epoch from '2026-05-28 15:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578125 -3.284938)'), GeomFromEWKT('SRID=4674;POINT (-38.578113 -3.284923)'))) / (select extract(epoch from '2026-05-28 15:36:25'::timestamp) - extract(epoch from '2026-05-28 15:36: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.578086 -3.284901)', '2026-05-28 15:36:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578113 -3.284923)'), GeomFromEWKT('SRID=4674;POINT (-38.578086 -3.284901)'))) / (select extract(epoch from '2026-05-28 15:36:28'::timestamp) - extract(epoch from '2026-05-28 15:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578113 -3.284923)'), GeomFromEWKT('SRID=4674;POINT (-38.578086 -3.284901)'))) / (select extract(epoch from '2026-05-28 15:36:28'::timestamp) - extract(epoch from '2026-05-28 15:36: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.578034 -3.284862)', '2026-05-28 15:36:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578086 -3.284901)'), GeomFromEWKT('SRID=4674;POINT (-38.578034 -3.284862)'))) / (select extract(epoch from '2026-05-28 15:36:33'::timestamp) - extract(epoch from '2026-05-28 15:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578086 -3.284901)'), GeomFromEWKT('SRID=4674;POINT (-38.578034 -3.284862)'))) / (select extract(epoch from '2026-05-28 15:36:33'::timestamp) - extract(epoch from '2026-05-28 15:36: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.577967 -3.284814)', '2026-05-28 15:36:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578034 -3.284862)'), GeomFromEWKT('SRID=4674;POINT (-38.577967 -3.284814)'))) / (select extract(epoch from '2026-05-28 15:36:39'::timestamp) - extract(epoch from '2026-05-28 15:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578034 -3.284862)'), GeomFromEWKT('SRID=4674;POINT (-38.577967 -3.284814)'))) / (select extract(epoch from '2026-05-28 15:36:39'::timestamp) - extract(epoch from '2026-05-28 15:36: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.577956 -3.284806)', '2026-05-28 15:36:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577967 -3.284814)'), GeomFromEWKT('SRID=4674;POINT (-38.577956 -3.284806)'))) / (select extract(epoch from '2026-05-28 15:36:40'::timestamp) - extract(epoch from '2026-05-28 15:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577967 -3.284814)'), GeomFromEWKT('SRID=4674;POINT (-38.577956 -3.284806)'))) / (select extract(epoch from '2026-05-28 15:36:40'::timestamp) - extract(epoch from '2026-05-28 15:36: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.577915 -3.284767)', '2026-05-28 15:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577956 -3.284806)'), GeomFromEWKT('SRID=4674;POINT (-38.577915 -3.284767)'))) / (select extract(epoch from '2026-05-28 15:36:44'::timestamp) - extract(epoch from '2026-05-28 15:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577956 -3.284806)'), GeomFromEWKT('SRID=4674;POINT (-38.577915 -3.284767)'))) / (select extract(epoch from '2026-05-28 15:36:44'::timestamp) - extract(epoch from '2026-05-28 15:36: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.577892 -3.284751)', '2026-05-28 15:36:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577915 -3.284767)'), GeomFromEWKT('SRID=4674;POINT (-38.577892 -3.284751)'))) / (select extract(epoch from '2026-05-28 15:36:46'::timestamp) - extract(epoch from '2026-05-28 15:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577915 -3.284767)'), GeomFromEWKT('SRID=4674;POINT (-38.577892 -3.284751)'))) / (select extract(epoch from '2026-05-28 15:36:46'::timestamp) - extract(epoch from '2026-05-28 15:36: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.577874 -3.284728)', '2026-05-28 15:36:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577892 -3.284751)'), GeomFromEWKT('SRID=4674;POINT (-38.577874 -3.284728)'))) / (select extract(epoch from '2026-05-28 15:36:48'::timestamp) - extract(epoch from '2026-05-28 15:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577892 -3.284751)'), GeomFromEWKT('SRID=4674;POINT (-38.577874 -3.284728)'))) / (select extract(epoch from '2026-05-28 15:36:48'::timestamp) - extract(epoch from '2026-05-28 15:36: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.577836 -3.284684)', '2026-05-28 15:36:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577874 -3.284728)'), GeomFromEWKT('SRID=4674;POINT (-38.577836 -3.284684)'))) / (select extract(epoch from '2026-05-28 15:36:52'::timestamp) - extract(epoch from '2026-05-28 15:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577874 -3.284728)'), GeomFromEWKT('SRID=4674;POINT (-38.577836 -3.284684)'))) / (select extract(epoch from '2026-05-28 15:36:52'::timestamp) - extract(epoch from '2026-05-28 15:36: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.577822 -3.284657)', '2026-05-28 15:36:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577836 -3.284684)'), GeomFromEWKT('SRID=4674;POINT (-38.577822 -3.284657)'))) / (select extract(epoch from '2026-05-28 15:36:54'::timestamp) - extract(epoch from '2026-05-28 15:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577836 -3.284684)'), GeomFromEWKT('SRID=4674;POINT (-38.577822 -3.284657)'))) / (select extract(epoch from '2026-05-28 15:36:54'::timestamp) - extract(epoch from '2026-05-28 15:36:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577779 -3.284613)', '2026-05-28 15:36:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577822 -3.284657)'), GeomFromEWKT('SRID=4674;POINT (-38.577779 -3.284613)'))) / (select extract(epoch from '2026-05-28 15:36:59'::timestamp) - extract(epoch from '2026-05-28 15:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577822 -3.284657)'), GeomFromEWKT('SRID=4674;POINT (-38.577779 -3.284613)'))) / (select extract(epoch from '2026-05-28 15:36:59'::timestamp) - extract(epoch from '2026-05-28 15:36:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577763 -3.284595)', '2026-05-28 15:37:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577779 -3.284613)'), GeomFromEWKT('SRID=4674;POINT (-38.577763 -3.284595)'))) / (select extract(epoch from '2026-05-28 15:37:01'::timestamp) - extract(epoch from '2026-05-28 15:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577779 -3.284613)'), GeomFromEWKT('SRID=4674;POINT (-38.577763 -3.284595)'))) / (select extract(epoch from '2026-05-28 15:37:01'::timestamp) - extract(epoch from '2026-05-28 15: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.577719 -3.284539)', '2026-05-28 15:37:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577763 -3.284595)'), GeomFromEWKT('SRID=4674;POINT (-38.577719 -3.284539)'))) / (select extract(epoch from '2026-05-28 15:37:07'::timestamp) - extract(epoch from '2026-05-28 15:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577763 -3.284595)'), GeomFromEWKT('SRID=4674;POINT (-38.577719 -3.284539)'))) / (select extract(epoch from '2026-05-28 15:37:07'::timestamp) - extract(epoch from '2026-05-28 15:37: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.577678 -3.284491)', '2026-05-28 15:37:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577719 -3.284539)'), GeomFromEWKT('SRID=4674;POINT (-38.577678 -3.284491)'))) / (select extract(epoch from '2026-05-28 15:37:12'::timestamp) - extract(epoch from '2026-05-28 15:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577719 -3.284539)'), GeomFromEWKT('SRID=4674;POINT (-38.577678 -3.284491)'))) / (select extract(epoch from '2026-05-28 15:37:12'::timestamp) - extract(epoch from '2026-05-28 15:37: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.577668 -3.28448)', '2026-05-28 15:37:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577678 -3.284491)'), GeomFromEWKT('SRID=4674;POINT (-38.577668 -3.28448)'))) / (select extract(epoch from '2026-05-28 15:37:13'::timestamp) - extract(epoch from '2026-05-28 15:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577678 -3.284491)'), GeomFromEWKT('SRID=4674;POINT (-38.577668 -3.28448)'))) / (select extract(epoch from '2026-05-28 15:37:13'::timestamp) - extract(epoch from '2026-05-28 15: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.577658 -3.284467)', '2026-05-28 15:37:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577668 -3.28448)'), GeomFromEWKT('SRID=4674;POINT (-38.577658 -3.284467)'))) / (select extract(epoch from '2026-05-28 15:37:14'::timestamp) - extract(epoch from '2026-05-28 15:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577668 -3.28448)'), GeomFromEWKT('SRID=4674;POINT (-38.577658 -3.284467)'))) / (select extract(epoch from '2026-05-28 15:37:14'::timestamp) - extract(epoch from '2026-05-28 15:37:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577643 -3.284452)', '2026-05-28 15:37:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577658 -3.284467)'), GeomFromEWKT('SRID=4674;POINT (-38.577643 -3.284452)'))) / (select extract(epoch from '2026-05-28 15:37:16'::timestamp) - extract(epoch from '2026-05-28 15:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577658 -3.284467)'), GeomFromEWKT('SRID=4674;POINT (-38.577643 -3.284452)'))) / (select extract(epoch from '2026-05-28 15:37:16'::timestamp) - extract(epoch from '2026-05-28 15:37: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.577636 -3.284446)', '2026-05-28 15:37:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577643 -3.284452)'), GeomFromEWKT('SRID=4674;POINT (-38.577636 -3.284446)'))) / (select extract(epoch from '2026-05-28 15:37:17'::timestamp) - extract(epoch from '2026-05-28 15:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577643 -3.284452)'), GeomFromEWKT('SRID=4674;POINT (-38.577636 -3.284446)'))) / (select extract(epoch from '2026-05-28 15:37:17'::timestamp) - extract(epoch from '2026-05-28 15:37: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.577627 -3.284439)', '2026-05-28 15:37:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577636 -3.284446)'), GeomFromEWKT('SRID=4674;POINT (-38.577627 -3.284439)'))) / (select extract(epoch from '2026-05-28 15:37:18'::timestamp) - extract(epoch from '2026-05-28 15:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577636 -3.284446)'), GeomFromEWKT('SRID=4674;POINT (-38.577627 -3.284439)'))) / (select extract(epoch from '2026-05-28 15:37:18'::timestamp) - extract(epoch from '2026-05-28 15:37: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.577601 -3.284408)', '2026-05-28 15:37:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577627 -3.284439)'), GeomFromEWKT('SRID=4674;POINT (-38.577601 -3.284408)'))) / (select extract(epoch from '2026-05-28 15:37:22'::timestamp) - extract(epoch from '2026-05-28 15:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577627 -3.284439)'), GeomFromEWKT('SRID=4674;POINT (-38.577601 -3.284408)'))) / (select extract(epoch from '2026-05-28 15:37:22'::timestamp) - extract(epoch from '2026-05-28 15:37: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.57757 -3.28439)', '2026-05-28 15:37:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577601 -3.284408)'), GeomFromEWKT('SRID=4674;POINT (-38.57757 -3.28439)'))) / (select extract(epoch from '2026-05-28 15:37:25'::timestamp) - extract(epoch from '2026-05-28 15:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577601 -3.284408)'), GeomFromEWKT('SRID=4674;POINT (-38.57757 -3.28439)'))) / (select extract(epoch from '2026-05-28 15:37:25'::timestamp) - extract(epoch from '2026-05-28 15:37: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.577563 -3.284382)', '2026-05-28 15:37:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57757 -3.28439)'), GeomFromEWKT('SRID=4674;POINT (-38.577563 -3.284382)'))) / (select extract(epoch from '2026-05-28 15:37:26'::timestamp) - extract(epoch from '2026-05-28 15:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57757 -3.28439)'), GeomFromEWKT('SRID=4674;POINT (-38.577563 -3.284382)'))) / (select extract(epoch from '2026-05-28 15:37:26'::timestamp) - extract(epoch from '2026-05-28 15:37:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577493 -3.28432)', '2026-05-28 15:37:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577563 -3.284382)'), GeomFromEWKT('SRID=4674;POINT (-38.577493 -3.28432)'))) / (select extract(epoch from '2026-05-28 15:37:33'::timestamp) - extract(epoch from '2026-05-28 15:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577563 -3.284382)'), GeomFromEWKT('SRID=4674;POINT (-38.577493 -3.28432)'))) / (select extract(epoch from '2026-05-28 15:37:33'::timestamp) - extract(epoch from '2026-05-28 15:37:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577422 -3.284248)', '2026-05-28 15:37:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577493 -3.28432)'), GeomFromEWKT('SRID=4674;POINT (-38.577422 -3.284248)'))) / (select extract(epoch from '2026-05-28 15:37:40'::timestamp) - extract(epoch from '2026-05-28 15:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577493 -3.28432)'), GeomFromEWKT('SRID=4674;POINT (-38.577422 -3.284248)'))) / (select extract(epoch from '2026-05-28 15:37:40'::timestamp) - extract(epoch from '2026-05-28 15:37:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577366 -3.284203)', '2026-05-28 15:37:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577422 -3.284248)'), GeomFromEWKT('SRID=4674;POINT (-38.577366 -3.284203)'))) / (select extract(epoch from '2026-05-28 15:37:45'::timestamp) - extract(epoch from '2026-05-28 15:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577422 -3.284248)'), GeomFromEWKT('SRID=4674;POINT (-38.577366 -3.284203)'))) / (select extract(epoch from '2026-05-28 15:37:45'::timestamp) - extract(epoch from '2026-05-28 15:37: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.577344 -3.284182)', '2026-05-28 15:37:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577366 -3.284203)'), GeomFromEWKT('SRID=4674;POINT (-38.577344 -3.284182)'))) / (select extract(epoch from '2026-05-28 15:37:47'::timestamp) - extract(epoch from '2026-05-28 15:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577366 -3.284203)'), GeomFromEWKT('SRID=4674;POINT (-38.577344 -3.284182)'))) / (select extract(epoch from '2026-05-28 15:37:47'::timestamp) - extract(epoch from '2026-05-28 15: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.577324 -3.28416)', '2026-05-28 15:37:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577344 -3.284182)'), GeomFromEWKT('SRID=4674;POINT (-38.577324 -3.28416)'))) / (select extract(epoch from '2026-05-28 15:37:49'::timestamp) - extract(epoch from '2026-05-28 15:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577344 -3.284182)'), GeomFromEWKT('SRID=4674;POINT (-38.577324 -3.28416)'))) / (select extract(epoch from '2026-05-28 15:37:49'::timestamp) - extract(epoch from '2026-05-28 15:37: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.577304 -3.284143)', '2026-05-28 15:37:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577324 -3.28416)'), GeomFromEWKT('SRID=4674;POINT (-38.577304 -3.284143)'))) / (select extract(epoch from '2026-05-28 15:37:51'::timestamp) - extract(epoch from '2026-05-28 15:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577324 -3.28416)'), GeomFromEWKT('SRID=4674;POINT (-38.577304 -3.284143)'))) / (select extract(epoch from '2026-05-28 15:37:51'::timestamp) - extract(epoch from '2026-05-28 15: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.577297 -3.284133)', '2026-05-28 15:37:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577304 -3.284143)'), GeomFromEWKT('SRID=4674;POINT (-38.577297 -3.284133)'))) / (select extract(epoch from '2026-05-28 15:37:52'::timestamp) - extract(epoch from '2026-05-28 15:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577304 -3.284143)'), GeomFromEWKT('SRID=4674;POINT (-38.577297 -3.284133)'))) / (select extract(epoch from '2026-05-28 15:37:52'::timestamp) - extract(epoch from '2026-05-28 15:37: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.577263 -3.284102)', '2026-05-28 15:37:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577297 -3.284133)'), GeomFromEWKT('SRID=4674;POINT (-38.577263 -3.284102)'))) / (select extract(epoch from '2026-05-28 15:37:55'::timestamp) - extract(epoch from '2026-05-28 15:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577297 -3.284133)'), GeomFromEWKT('SRID=4674;POINT (-38.577263 -3.284102)'))) / (select extract(epoch from '2026-05-28 15:37:55'::timestamp) - extract(epoch from '2026-05-28 15: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.577256 -3.284091)', '2026-05-28 15:37:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577263 -3.284102)'), GeomFromEWKT('SRID=4674;POINT (-38.577256 -3.284091)'))) / (select extract(epoch from '2026-05-28 15:37:56'::timestamp) - extract(epoch from '2026-05-28 15:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577263 -3.284102)'), GeomFromEWKT('SRID=4674;POINT (-38.577256 -3.284091)'))) / (select extract(epoch from '2026-05-28 15:37:56'::timestamp) - extract(epoch from '2026-05-28 15: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.577202 -3.284049)', '2026-05-28 15:38:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577256 -3.284091)'), GeomFromEWKT('SRID=4674;POINT (-38.577202 -3.284049)'))) / (select extract(epoch from '2026-05-28 15:38:01'::timestamp) - extract(epoch from '2026-05-28 15:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577256 -3.284091)'), GeomFromEWKT('SRID=4674;POINT (-38.577202 -3.284049)'))) / (select extract(epoch from '2026-05-28 15:38:01'::timestamp) - extract(epoch from '2026-05-28 15:37: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.577166 -3.284022)', '2026-05-28 15:38:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577202 -3.284049)'), GeomFromEWKT('SRID=4674;POINT (-38.577166 -3.284022)'))) / (select extract(epoch from '2026-05-28 15:38:04'::timestamp) - extract(epoch from '2026-05-28 15:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577202 -3.284049)'), GeomFromEWKT('SRID=4674;POINT (-38.577166 -3.284022)'))) / (select extract(epoch from '2026-05-28 15:38:04'::timestamp) - extract(epoch from '2026-05-28 15: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.577134 -3.283994)', '2026-05-28 15:38:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577166 -3.284022)'), GeomFromEWKT('SRID=4674;POINT (-38.577134 -3.283994)'))) / (select extract(epoch from '2026-05-28 15:38:07'::timestamp) - extract(epoch from '2026-05-28 15:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577166 -3.284022)'), GeomFromEWKT('SRID=4674;POINT (-38.577134 -3.283994)'))) / (select extract(epoch from '2026-05-28 15:38:07'::timestamp) - extract(epoch from '2026-05-28 15:38: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.57709 -3.283959)', '2026-05-28 15:38:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577134 -3.283994)'), GeomFromEWKT('SRID=4674;POINT (-38.57709 -3.283959)'))) / (select extract(epoch from '2026-05-28 15:38:11'::timestamp) - extract(epoch from '2026-05-28 15:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577134 -3.283994)'), GeomFromEWKT('SRID=4674;POINT (-38.57709 -3.283959)'))) / (select extract(epoch from '2026-05-28 15:38:11'::timestamp) - extract(epoch from '2026-05-28 15:38:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577074 -3.283933)', '2026-05-28 15:38:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57709 -3.283959)'), GeomFromEWKT('SRID=4674;POINT (-38.577074 -3.283933)'))) / (select extract(epoch from '2026-05-28 15:38:13'::timestamp) - extract(epoch from '2026-05-28 15:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57709 -3.283959)'), GeomFromEWKT('SRID=4674;POINT (-38.577074 -3.283933)'))) / (select extract(epoch from '2026-05-28 15:38:13'::timestamp) - extract(epoch from '2026-05-28 15:38:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577017 -3.283868)', '2026-05-28 15:38:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577074 -3.283933)'), GeomFromEWKT('SRID=4674;POINT (-38.577017 -3.283868)'))) / (select extract(epoch from '2026-05-28 15:38:19'::timestamp) - extract(epoch from '2026-05-28 15:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577074 -3.283933)'), GeomFromEWKT('SRID=4674;POINT (-38.577017 -3.283868)'))) / (select extract(epoch from '2026-05-28 15:38:19'::timestamp) - extract(epoch from '2026-05-28 15:38:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577005 -3.283855)', '2026-05-28 15:38:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577017 -3.283868)'), GeomFromEWKT('SRID=4674;POINT (-38.577005 -3.283855)'))) / (select extract(epoch from '2026-05-28 15:38:20'::timestamp) - extract(epoch from '2026-05-28 15:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577017 -3.283868)'), GeomFromEWKT('SRID=4674;POINT (-38.577005 -3.283855)'))) / (select extract(epoch from '2026-05-28 15:38:20'::timestamp) - extract(epoch from '2026-05-28 15:38:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576971 -3.283807)', '2026-05-28 15:38:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577005 -3.283855)'), GeomFromEWKT('SRID=4674;POINT (-38.576971 -3.283807)'))) / (select extract(epoch from '2026-05-28 15:38:24'::timestamp) - extract(epoch from '2026-05-28 15:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577005 -3.283855)'), GeomFromEWKT('SRID=4674;POINT (-38.576971 -3.283807)'))) / (select extract(epoch from '2026-05-28 15:38:24'::timestamp) - extract(epoch from '2026-05-28 15:38:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576908 -3.283719)', '2026-05-28 15:38:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576971 -3.283807)'), GeomFromEWKT('SRID=4674;POINT (-38.576908 -3.283719)'))) / (select extract(epoch from '2026-05-28 15:38:31'::timestamp) - extract(epoch from '2026-05-28 15:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576971 -3.283807)'), GeomFromEWKT('SRID=4674;POINT (-38.576908 -3.283719)'))) / (select extract(epoch from '2026-05-28 15:38:31'::timestamp) - extract(epoch from '2026-05-28 15:38: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.576854 -3.283643)', '2026-05-28 15:38:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576908 -3.283719)'), GeomFromEWKT('SRID=4674;POINT (-38.576854 -3.283643)'))) / (select extract(epoch from '2026-05-28 15:38:37'::timestamp) - extract(epoch from '2026-05-28 15:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576908 -3.283719)'), GeomFromEWKT('SRID=4674;POINT (-38.576854 -3.283643)'))) / (select extract(epoch from '2026-05-28 15:38:37'::timestamp) - extract(epoch from '2026-05-28 15:38: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.576797 -3.283568)', '2026-05-28 15:38:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576854 -3.283643)'), GeomFromEWKT('SRID=4674;POINT (-38.576797 -3.283568)'))) / (select extract(epoch from '2026-05-28 15:38:43'::timestamp) - extract(epoch from '2026-05-28 15:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576854 -3.283643)'), GeomFromEWKT('SRID=4674;POINT (-38.576797 -3.283568)'))) / (select extract(epoch from '2026-05-28 15:38:43'::timestamp) - extract(epoch from '2026-05-28 15: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.576742 -3.283494)', '2026-05-28 15:38:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576797 -3.283568)'), GeomFromEWKT('SRID=4674;POINT (-38.576742 -3.283494)'))) / (select extract(epoch from '2026-05-28 15:38:49'::timestamp) - extract(epoch from '2026-05-28 15:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576797 -3.283568)'), GeomFromEWKT('SRID=4674;POINT (-38.576742 -3.283494)'))) / (select extract(epoch from '2026-05-28 15:38:49'::timestamp) - extract(epoch from '2026-05-28 15:38: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.576734 -3.283484)', '2026-05-28 15:38:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576742 -3.283494)'), GeomFromEWKT('SRID=4674;POINT (-38.576734 -3.283484)'))) / (select extract(epoch from '2026-05-28 15:38:50'::timestamp) - extract(epoch from '2026-05-28 15:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576742 -3.283494)'), GeomFromEWKT('SRID=4674;POINT (-38.576734 -3.283484)'))) / (select extract(epoch from '2026-05-28 15:38:50'::timestamp) - extract(epoch from '2026-05-28 15:38: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.576719 -3.283446)', '2026-05-28 15:38:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576734 -3.283484)'), GeomFromEWKT('SRID=4674;POINT (-38.576719 -3.283446)'))) / (select extract(epoch from '2026-05-28 15:38:53'::timestamp) - extract(epoch from '2026-05-28 15:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576734 -3.283484)'), GeomFromEWKT('SRID=4674;POINT (-38.576719 -3.283446)'))) / (select extract(epoch from '2026-05-28 15:38:53'::timestamp) - extract(epoch from '2026-05-28 15:38:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576685 -3.28341)', '2026-05-28 15:38:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576719 -3.283446)'), GeomFromEWKT('SRID=4674;POINT (-38.576685 -3.28341)'))) / (select extract(epoch from '2026-05-28 15:38:57'::timestamp) - extract(epoch from '2026-05-28 15:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576719 -3.283446)'), GeomFromEWKT('SRID=4674;POINT (-38.576685 -3.28341)'))) / (select extract(epoch from '2026-05-28 15:38:57'::timestamp) - extract(epoch from '2026-05-28 15:38: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.57667 -3.28339)', '2026-05-28 15:38:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576685 -3.28341)'), GeomFromEWKT('SRID=4674;POINT (-38.57667 -3.28339)'))) / (select extract(epoch from '2026-05-28 15:38:59'::timestamp) - extract(epoch from '2026-05-28 15:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576685 -3.28341)'), GeomFromEWKT('SRID=4674;POINT (-38.57667 -3.28339)'))) / (select extract(epoch from '2026-05-28 15:38:59'::timestamp) - extract(epoch from '2026-05-28 15:38: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.576655 -3.283368)', '2026-05-28 15:39:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57667 -3.28339)'), GeomFromEWKT('SRID=4674;POINT (-38.576655 -3.283368)'))) / (select extract(epoch from '2026-05-28 15:39:01'::timestamp) - extract(epoch from '2026-05-28 15:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57667 -3.28339)'), GeomFromEWKT('SRID=4674;POINT (-38.576655 -3.283368)'))) / (select extract(epoch from '2026-05-28 15:39:01'::timestamp) - extract(epoch from '2026-05-28 15:38:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576631 -3.283336)', '2026-05-28 15:39:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576655 -3.283368)'), GeomFromEWKT('SRID=4674;POINT (-38.576631 -3.283336)'))) / (select extract(epoch from '2026-05-28 15:39:04'::timestamp) - extract(epoch from '2026-05-28 15:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576655 -3.283368)'), GeomFromEWKT('SRID=4674;POINT (-38.576631 -3.283336)'))) / (select extract(epoch from '2026-05-28 15:39:04'::timestamp) - extract(epoch from '2026-05-28 15:39: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.576588 -3.283271)', '2026-05-28 15:39:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576631 -3.283336)'), GeomFromEWKT('SRID=4674;POINT (-38.576588 -3.283271)'))) / (select extract(epoch from '2026-05-28 15:39:10'::timestamp) - extract(epoch from '2026-05-28 15:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576631 -3.283336)'), GeomFromEWKT('SRID=4674;POINT (-38.576588 -3.283271)'))) / (select extract(epoch from '2026-05-28 15:39:10'::timestamp) - extract(epoch from '2026-05-28 15: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.57657 -3.283251)', '2026-05-28 15:39:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576588 -3.283271)'), GeomFromEWKT('SRID=4674;POINT (-38.57657 -3.283251)'))) / (select extract(epoch from '2026-05-28 15:39:12'::timestamp) - extract(epoch from '2026-05-28 15:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576588 -3.283271)'), GeomFromEWKT('SRID=4674;POINT (-38.57657 -3.283251)'))) / (select extract(epoch from '2026-05-28 15:39:12'::timestamp) - extract(epoch from '2026-05-28 15:39: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.576551 -3.283213)', '2026-05-28 15:39:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57657 -3.283251)'), GeomFromEWKT('SRID=4674;POINT (-38.576551 -3.283213)'))) / (select extract(epoch from '2026-05-28 15:39:15'::timestamp) - extract(epoch from '2026-05-28 15:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57657 -3.283251)'), GeomFromEWKT('SRID=4674;POINT (-38.576551 -3.283213)'))) / (select extract(epoch from '2026-05-28 15:39:15'::timestamp) - extract(epoch from '2026-05-28 15: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.576495 -3.283149)', '2026-05-28 15:39:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576551 -3.283213)'), GeomFromEWKT('SRID=4674;POINT (-38.576495 -3.283149)'))) / (select extract(epoch from '2026-05-28 15:39:21'::timestamp) - extract(epoch from '2026-05-28 15:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576551 -3.283213)'), GeomFromEWKT('SRID=4674;POINT (-38.576495 -3.283149)'))) / (select extract(epoch from '2026-05-28 15:39:21'::timestamp) - extract(epoch from '2026-05-28 15:39: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.57645 -3.283103)', '2026-05-28 15:39:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576495 -3.283149)'), GeomFromEWKT('SRID=4674;POINT (-38.57645 -3.283103)'))) / (select extract(epoch from '2026-05-28 15:39:26'::timestamp) - extract(epoch from '2026-05-28 15:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576495 -3.283149)'), GeomFromEWKT('SRID=4674;POINT (-38.57645 -3.283103)'))) / (select extract(epoch from '2026-05-28 15:39:26'::timestamp) - extract(epoch from '2026-05-28 15:39: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.576424 -3.283076)', '2026-05-28 15:39:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57645 -3.283103)'), GeomFromEWKT('SRID=4674;POINT (-38.576424 -3.283076)'))) / (select extract(epoch from '2026-05-28 15:39:29'::timestamp) - extract(epoch from '2026-05-28 15:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57645 -3.283103)'), GeomFromEWKT('SRID=4674;POINT (-38.576424 -3.283076)'))) / (select extract(epoch from '2026-05-28 15:39:29'::timestamp) - extract(epoch from '2026-05-28 15:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576392 -3.283045)', '2026-05-28 15:39:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576424 -3.283076)'), GeomFromEWKT('SRID=4674;POINT (-38.576392 -3.283045)'))) / (select extract(epoch from '2026-05-28 15:39:32'::timestamp) - extract(epoch from '2026-05-28 15:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576424 -3.283076)'), GeomFromEWKT('SRID=4674;POINT (-38.576392 -3.283045)'))) / (select extract(epoch from '2026-05-28 15:39:32'::timestamp) - extract(epoch from '2026-05-28 15:39: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.576329 -3.282978)', '2026-05-28 15:39:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576392 -3.283045)'), GeomFromEWKT('SRID=4674;POINT (-38.576329 -3.282978)'))) / (select extract(epoch from '2026-05-28 15:39:38'::timestamp) - extract(epoch from '2026-05-28 15:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576392 -3.283045)'), GeomFromEWKT('SRID=4674;POINT (-38.576329 -3.282978)'))) / (select extract(epoch from '2026-05-28 15:39:38'::timestamp) - extract(epoch from '2026-05-28 15:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576294 -3.282931)', '2026-05-28 15:39:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576329 -3.282978)'), GeomFromEWKT('SRID=4674;POINT (-38.576294 -3.282931)'))) / (select extract(epoch from '2026-05-28 15:39:42'::timestamp) - extract(epoch from '2026-05-28 15:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576329 -3.282978)'), GeomFromEWKT('SRID=4674;POINT (-38.576294 -3.282931)'))) / (select extract(epoch from '2026-05-28 15:39:42'::timestamp) - extract(epoch from '2026-05-28 15:39: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.576287 -3.282922)', '2026-05-28 15:39:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576294 -3.282931)'), GeomFromEWKT('SRID=4674;POINT (-38.576287 -3.282922)'))) / (select extract(epoch from '2026-05-28 15:39:43'::timestamp) - extract(epoch from '2026-05-28 15:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576294 -3.282931)'), GeomFromEWKT('SRID=4674;POINT (-38.576287 -3.282922)'))) / (select extract(epoch from '2026-05-28 15:39:43'::timestamp) - extract(epoch from '2026-05-28 15:39:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57628 -3.282913)', '2026-05-28 15:39:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576287 -3.282922)'), GeomFromEWKT('SRID=4674;POINT (-38.57628 -3.282913)'))) / (select extract(epoch from '2026-05-28 15:39:44'::timestamp) - extract(epoch from '2026-05-28 15:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576287 -3.282922)'), GeomFromEWKT('SRID=4674;POINT (-38.57628 -3.282913)'))) / (select extract(epoch from '2026-05-28 15:39:44'::timestamp) - extract(epoch from '2026-05-28 15:39: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.576267 -3.282882)', '2026-05-28 15:39:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57628 -3.282913)'), GeomFromEWKT('SRID=4674;POINT (-38.576267 -3.282882)'))) / (select extract(epoch from '2026-05-28 15:39:47'::timestamp) - extract(epoch from '2026-05-28 15:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57628 -3.282913)'), GeomFromEWKT('SRID=4674;POINT (-38.576267 -3.282882)'))) / (select extract(epoch from '2026-05-28 15:39:47'::timestamp) - extract(epoch from '2026-05-28 15:39:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576267 -3.282872)', '2026-05-28 15:39:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576267 -3.282882)'), GeomFromEWKT('SRID=4674;POINT (-38.576267 -3.282872)'))) / (select extract(epoch from '2026-05-28 15:39:48'::timestamp) - extract(epoch from '2026-05-28 15:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576267 -3.282882)'), GeomFromEWKT('SRID=4674;POINT (-38.576267 -3.282872)'))) / (select extract(epoch from '2026-05-28 15:39:48'::timestamp) - extract(epoch from '2026-05-28 15:39: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.576263 -3.282844)', '2026-05-28 15:39:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576267 -3.282872)'), GeomFromEWKT('SRID=4674;POINT (-38.576263 -3.282844)'))) / (select extract(epoch from '2026-05-28 15:39:50'::timestamp) - extract(epoch from '2026-05-28 15:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576267 -3.282872)'), GeomFromEWKT('SRID=4674;POINT (-38.576263 -3.282844)'))) / (select extract(epoch from '2026-05-28 15:39:50'::timestamp) - extract(epoch from '2026-05-28 15:39:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576254 -3.282822)', '2026-05-28 15:39:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576263 -3.282844)'), GeomFromEWKT('SRID=4674;POINT (-38.576254 -3.282822)'))) / (select extract(epoch from '2026-05-28 15:39:52'::timestamp) - extract(epoch from '2026-05-28 15:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576263 -3.282844)'), GeomFromEWKT('SRID=4674;POINT (-38.576254 -3.282822)'))) / (select extract(epoch from '2026-05-28 15:39:52'::timestamp) - extract(epoch from '2026-05-28 15:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576243 -3.282784)', '2026-05-28 15:39:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576254 -3.282822)'), GeomFromEWKT('SRID=4674;POINT (-38.576243 -3.282784)'))) / (select extract(epoch from '2026-05-28 15:39:55'::timestamp) - extract(epoch from '2026-05-28 15:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576254 -3.282822)'), GeomFromEWKT('SRID=4674;POINT (-38.576243 -3.282784)'))) / (select extract(epoch from '2026-05-28 15:39:55'::timestamp) - extract(epoch from '2026-05-28 15:39: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.576234 -3.282754)', '2026-05-28 15:39:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576243 -3.282784)'), GeomFromEWKT('SRID=4674;POINT (-38.576234 -3.282754)'))) / (select extract(epoch from '2026-05-28 15:39:57'::timestamp) - extract(epoch from '2026-05-28 15:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576243 -3.282784)'), GeomFromEWKT('SRID=4674;POINT (-38.576234 -3.282754)'))) / (select extract(epoch from '2026-05-28 15:39:57'::timestamp) - extract(epoch from '2026-05-28 15:39: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.576229 -3.282717)', '2026-05-28 15:40:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576234 -3.282754)'), GeomFromEWKT('SRID=4674;POINT (-38.576229 -3.282717)'))) / (select extract(epoch from '2026-05-28 15:40:00'::timestamp) - extract(epoch from '2026-05-28 15:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576234 -3.282754)'), GeomFromEWKT('SRID=4674;POINT (-38.576229 -3.282717)'))) / (select extract(epoch from '2026-05-28 15:40:00'::timestamp) - extract(epoch from '2026-05-28 15:39: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.576214 -3.282684)', '2026-05-28 15:40:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576229 -3.282717)'), GeomFromEWKT('SRID=4674;POINT (-38.576214 -3.282684)'))) / (select extract(epoch from '2026-05-28 15:40:02'::timestamp) - extract(epoch from '2026-05-28 15:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576229 -3.282717)'), GeomFromEWKT('SRID=4674;POINT (-38.576214 -3.282684)'))) / (select extract(epoch from '2026-05-28 15:40:02'::timestamp) - extract(epoch from '2026-05-28 15:40:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576202 -3.282619)', '2026-05-28 15:40:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576214 -3.282684)'), GeomFromEWKT('SRID=4674;POINT (-38.576202 -3.282619)'))) / (select extract(epoch from '2026-05-28 15:40:06'::timestamp) - extract(epoch from '2026-05-28 15:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576214 -3.282684)'), GeomFromEWKT('SRID=4674;POINT (-38.576202 -3.282619)'))) / (select extract(epoch from '2026-05-28 15:40:06'::timestamp) - extract(epoch from '2026-05-28 15: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.576191 -3.282604)', '2026-05-28 15:40:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576202 -3.282619)'), GeomFromEWKT('SRID=4674;POINT (-38.576191 -3.282604)'))) / (select extract(epoch from '2026-05-28 15:40:07'::timestamp) - extract(epoch from '2026-05-28 15:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576202 -3.282619)'), GeomFromEWKT('SRID=4674;POINT (-38.576191 -3.282604)'))) / (select extract(epoch from '2026-05-28 15:40:07'::timestamp) - extract(epoch from '2026-05-28 15:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576183 -3.282593)', '2026-05-28 15:40:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576191 -3.282604)'), GeomFromEWKT('SRID=4674;POINT (-38.576183 -3.282593)'))) / (select extract(epoch from '2026-05-28 15:40:08'::timestamp) - extract(epoch from '2026-05-28 15:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576191 -3.282604)'), GeomFromEWKT('SRID=4674;POINT (-38.576183 -3.282593)'))) / (select extract(epoch from '2026-05-28 15:40:08'::timestamp) - extract(epoch from '2026-05-28 15:40: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.576169 -3.282544)', '2026-05-28 15:40:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576183 -3.282593)'), GeomFromEWKT('SRID=4674;POINT (-38.576169 -3.282544)'))) / (select extract(epoch from '2026-05-28 15:40:11'::timestamp) - extract(epoch from '2026-05-28 15:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576183 -3.282593)'), GeomFromEWKT('SRID=4674;POINT (-38.576169 -3.282544)'))) / (select extract(epoch from '2026-05-28 15:40:11'::timestamp) - extract(epoch from '2026-05-28 15:40: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.576153 -3.282504)', '2026-05-28 15:40:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576169 -3.282544)'), GeomFromEWKT('SRID=4674;POINT (-38.576153 -3.282504)'))) / (select extract(epoch from '2026-05-28 15:40:14'::timestamp) - extract(epoch from '2026-05-28 15:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576169 -3.282544)'), GeomFromEWKT('SRID=4674;POINT (-38.576153 -3.282504)'))) / (select extract(epoch from '2026-05-28 15:40:14'::timestamp) - extract(epoch from '2026-05-28 15: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.576149 -3.282487)', '2026-05-28 15:40:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576153 -3.282504)'), GeomFromEWKT('SRID=4674;POINT (-38.576149 -3.282487)'))) / (select extract(epoch from '2026-05-28 15:40:15'::timestamp) - extract(epoch from '2026-05-28 15:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576153 -3.282504)'), GeomFromEWKT('SRID=4674;POINT (-38.576149 -3.282487)'))) / (select extract(epoch from '2026-05-28 15:40:15'::timestamp) - extract(epoch from '2026-05-28 15:40:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576123 -3.282445)', '2026-05-28 15:40:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576149 -3.282487)'), GeomFromEWKT('SRID=4674;POINT (-38.576123 -3.282445)'))) / (select extract(epoch from '2026-05-28 15:40:18'::timestamp) - extract(epoch from '2026-05-28 15:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576149 -3.282487)'), GeomFromEWKT('SRID=4674;POINT (-38.576123 -3.282445)'))) / (select extract(epoch from '2026-05-28 15:40:18'::timestamp) - extract(epoch from '2026-05-28 15:40: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.57612 -3.282431)', '2026-05-28 15:40:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576123 -3.282445)'), GeomFromEWKT('SRID=4674;POINT (-38.57612 -3.282431)'))) / (select extract(epoch from '2026-05-28 15:40:19'::timestamp) - extract(epoch from '2026-05-28 15:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576123 -3.282445)'), GeomFromEWKT('SRID=4674;POINT (-38.57612 -3.282431)'))) / (select extract(epoch from '2026-05-28 15:40:19'::timestamp) - extract(epoch from '2026-05-28 15:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576076 -3.282365)', '2026-05-28 15:40:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57612 -3.282431)'), GeomFromEWKT('SRID=4674;POINT (-38.576076 -3.282365)'))) / (select extract(epoch from '2026-05-28 15:40:24'::timestamp) - extract(epoch from '2026-05-28 15:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57612 -3.282431)'), GeomFromEWKT('SRID=4674;POINT (-38.576076 -3.282365)'))) / (select extract(epoch from '2026-05-28 15:40:24'::timestamp) - extract(epoch from '2026-05-28 15:40: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.576035 -3.282295)', '2026-05-28 15:40:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576076 -3.282365)'), GeomFromEWKT('SRID=4674;POINT (-38.576035 -3.282295)'))) / (select extract(epoch from '2026-05-28 15:40:29'::timestamp) - extract(epoch from '2026-05-28 15:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576076 -3.282365)'), GeomFromEWKT('SRID=4674;POINT (-38.576035 -3.282295)'))) / (select extract(epoch from '2026-05-28 15:40:29'::timestamp) - extract(epoch from '2026-05-28 15:40: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.575989 -3.282225)', '2026-05-28 15:40:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576035 -3.282295)'), GeomFromEWKT('SRID=4674;POINT (-38.575989 -3.282225)'))) / (select extract(epoch from '2026-05-28 15:40:35'::timestamp) - extract(epoch from '2026-05-28 15:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576035 -3.282295)'), GeomFromEWKT('SRID=4674;POINT (-38.575989 -3.282225)'))) / (select extract(epoch from '2026-05-28 15:40:35'::timestamp) - extract(epoch from '2026-05-28 15: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.575982 -3.282215)', '2026-05-28 15:40:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575989 -3.282225)'), GeomFromEWKT('SRID=4674;POINT (-38.575982 -3.282215)'))) / (select extract(epoch from '2026-05-28 15:40:36'::timestamp) - extract(epoch from '2026-05-28 15:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575989 -3.282225)'), GeomFromEWKT('SRID=4674;POINT (-38.575982 -3.282215)'))) / (select extract(epoch from '2026-05-28 15:40:36'::timestamp) - extract(epoch from '2026-05-28 15: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.575956 -3.282159)', '2026-05-28 15:40:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575982 -3.282215)'), GeomFromEWKT('SRID=4674;POINT (-38.575956 -3.282159)'))) / (select extract(epoch from '2026-05-28 15:40:40'::timestamp) - extract(epoch from '2026-05-28 15:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575982 -3.282215)'), GeomFromEWKT('SRID=4674;POINT (-38.575956 -3.282159)'))) / (select extract(epoch from '2026-05-28 15:40:40'::timestamp) - extract(epoch from '2026-05-28 15:40: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.575919 -3.282099)', '2026-05-28 15:40:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575956 -3.282159)'), GeomFromEWKT('SRID=4674;POINT (-38.575919 -3.282099)'))) / (select extract(epoch from '2026-05-28 15:40:45'::timestamp) - extract(epoch from '2026-05-28 15:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575956 -3.282159)'), GeomFromEWKT('SRID=4674;POINT (-38.575919 -3.282099)'))) / (select extract(epoch from '2026-05-28 15:40:45'::timestamp) - extract(epoch from '2026-05-28 15:40:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575878 -3.282034)', '2026-05-28 15:40:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575919 -3.282099)'), GeomFromEWKT('SRID=4674;POINT (-38.575878 -3.282034)'))) / (select extract(epoch from '2026-05-28 15:40:50'::timestamp) - extract(epoch from '2026-05-28 15:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575919 -3.282099)'), GeomFromEWKT('SRID=4674;POINT (-38.575878 -3.282034)'))) / (select extract(epoch from '2026-05-28 15:40:50'::timestamp) - extract(epoch from '2026-05-28 15:40: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.575863 -3.282003)', '2026-05-28 15:40:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575878 -3.282034)'), GeomFromEWKT('SRID=4674;POINT (-38.575863 -3.282003)'))) / (select extract(epoch from '2026-05-28 15:40:52'::timestamp) - extract(epoch from '2026-05-28 15:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575878 -3.282034)'), GeomFromEWKT('SRID=4674;POINT (-38.575863 -3.282003)'))) / (select extract(epoch from '2026-05-28 15:40:52'::timestamp) - extract(epoch from '2026-05-28 15:40: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.575839 -3.281978)', '2026-05-28 15:40:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575863 -3.282003)'), GeomFromEWKT('SRID=4674;POINT (-38.575839 -3.281978)'))) / (select extract(epoch from '2026-05-28 15:40:54'::timestamp) - extract(epoch from '2026-05-28 15:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575863 -3.282003)'), GeomFromEWKT('SRID=4674;POINT (-38.575839 -3.281978)'))) / (select extract(epoch from '2026-05-28 15:40:54'::timestamp) - extract(epoch from '2026-05-28 15:40: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.575836 -3.281963)', '2026-05-28 15:40:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575839 -3.281978)'), GeomFromEWKT('SRID=4674;POINT (-38.575836 -3.281963)'))) / (select extract(epoch from '2026-05-28 15:40:55'::timestamp) - extract(epoch from '2026-05-28 15:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575839 -3.281978)'), GeomFromEWKT('SRID=4674;POINT (-38.575836 -3.281963)'))) / (select extract(epoch from '2026-05-28 15:40:55'::timestamp) - extract(epoch from '2026-05-28 15:40: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.575821 -3.281938)', '2026-05-28 15:40:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575836 -3.281963)'), GeomFromEWKT('SRID=4674;POINT (-38.575821 -3.281938)'))) / (select extract(epoch from '2026-05-28 15:40:57'::timestamp) - extract(epoch from '2026-05-28 15:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575836 -3.281963)'), GeomFromEWKT('SRID=4674;POINT (-38.575821 -3.281938)'))) / (select extract(epoch from '2026-05-28 15:40:57'::timestamp) - extract(epoch from '2026-05-28 15:40: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.575798 -3.281918)', '2026-05-28 15:40:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575821 -3.281938)'), GeomFromEWKT('SRID=4674;POINT (-38.575798 -3.281918)'))) / (select extract(epoch from '2026-05-28 15:40:59'::timestamp) - extract(epoch from '2026-05-28 15:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575821 -3.281938)'), GeomFromEWKT('SRID=4674;POINT (-38.575798 -3.281918)'))) / (select extract(epoch from '2026-05-28 15:40:59'::timestamp) - extract(epoch from '2026-05-28 15:40: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.575791 -3.281904)', '2026-05-28 15:41:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575798 -3.281918)'), GeomFromEWKT('SRID=4674;POINT (-38.575791 -3.281904)'))) / (select extract(epoch from '2026-05-28 15:41:00'::timestamp) - extract(epoch from '2026-05-28 15:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575798 -3.281918)'), GeomFromEWKT('SRID=4674;POINT (-38.575791 -3.281904)'))) / (select extract(epoch from '2026-05-28 15:41:00'::timestamp) - extract(epoch from '2026-05-28 15: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.575741 -3.28185)', '2026-05-28 15:41:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575791 -3.281904)'), GeomFromEWKT('SRID=4674;POINT (-38.575741 -3.28185)'))) / (select extract(epoch from '2026-05-28 15:41:05'::timestamp) - extract(epoch from '2026-05-28 15:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575791 -3.281904)'), GeomFromEWKT('SRID=4674;POINT (-38.575741 -3.28185)'))) / (select extract(epoch from '2026-05-28 15:41:05'::timestamp) - extract(epoch from '2026-05-28 15:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575726 -3.281826)', '2026-05-28 15:41:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575741 -3.28185)'), GeomFromEWKT('SRID=4674;POINT (-38.575726 -3.281826)'))) / (select extract(epoch from '2026-05-28 15:41:07'::timestamp) - extract(epoch from '2026-05-28 15:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575741 -3.28185)'), GeomFromEWKT('SRID=4674;POINT (-38.575726 -3.281826)'))) / (select extract(epoch from '2026-05-28 15:41:07'::timestamp) - extract(epoch from '2026-05-28 15:41:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575689 -3.281784)', '2026-05-28 15:41:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575726 -3.281826)'), GeomFromEWKT('SRID=4674;POINT (-38.575689 -3.281784)'))) / (select extract(epoch from '2026-05-28 15:41:11'::timestamp) - extract(epoch from '2026-05-28 15:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575726 -3.281826)'), GeomFromEWKT('SRID=4674;POINT (-38.575689 -3.281784)'))) / (select extract(epoch from '2026-05-28 15:41:11'::timestamp) - extract(epoch from '2026-05-28 15:41:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575648 -3.281735)', '2026-05-28 15:41:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575689 -3.281784)'), GeomFromEWKT('SRID=4674;POINT (-38.575648 -3.281735)'))) / (select extract(epoch from '2026-05-28 15:41:15'::timestamp) - extract(epoch from '2026-05-28 15:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575689 -3.281784)'), GeomFromEWKT('SRID=4674;POINT (-38.575648 -3.281735)'))) / (select extract(epoch from '2026-05-28 15:41:15'::timestamp) - extract(epoch from '2026-05-28 15:41:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575634 -3.281712)', '2026-05-28 15:41:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575648 -3.281735)'), GeomFromEWKT('SRID=4674;POINT (-38.575634 -3.281712)'))) / (select extract(epoch from '2026-05-28 15:41:17'::timestamp) - extract(epoch from '2026-05-28 15:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575648 -3.281735)'), GeomFromEWKT('SRID=4674;POINT (-38.575634 -3.281712)'))) / (select extract(epoch from '2026-05-28 15:41:17'::timestamp) - extract(epoch from '2026-05-28 15:41: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.575563 -3.281643)', '2026-05-28 15:41:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575634 -3.281712)'), GeomFromEWKT('SRID=4674;POINT (-38.575563 -3.281643)'))) / (select extract(epoch from '2026-05-28 15:41:23'::timestamp) - extract(epoch from '2026-05-28 15:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575634 -3.281712)'), GeomFromEWKT('SRID=4674;POINT (-38.575563 -3.281643)'))) / (select extract(epoch from '2026-05-28 15:41:23'::timestamp) - extract(epoch from '2026-05-28 15: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.575507 -3.281582)', '2026-05-28 15:41:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575563 -3.281643)'), GeomFromEWKT('SRID=4674;POINT (-38.575507 -3.281582)'))) / (select extract(epoch from '2026-05-28 15:41:28'::timestamp) - extract(epoch from '2026-05-28 15:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575563 -3.281643)'), GeomFromEWKT('SRID=4674;POINT (-38.575507 -3.281582)'))) / (select extract(epoch from '2026-05-28 15:41:28'::timestamp) - extract(epoch from '2026-05-28 15:41: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.575444 -3.28152)', '2026-05-28 15:41:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575507 -3.281582)'), GeomFromEWKT('SRID=4674;POINT (-38.575444 -3.28152)'))) / (select extract(epoch from '2026-05-28 15:41:34'::timestamp) - extract(epoch from '2026-05-28 15:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575507 -3.281582)'), GeomFromEWKT('SRID=4674;POINT (-38.575444 -3.28152)'))) / (select extract(epoch from '2026-05-28 15:41:34'::timestamp) - extract(epoch from '2026-05-28 15:41:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575391 -3.281465)', '2026-05-28 15:41:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575444 -3.28152)'), GeomFromEWKT('SRID=4674;POINT (-38.575391 -3.281465)'))) / (select extract(epoch from '2026-05-28 15:41:39'::timestamp) - extract(epoch from '2026-05-28 15:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575444 -3.28152)'), GeomFromEWKT('SRID=4674;POINT (-38.575391 -3.281465)'))) / (select extract(epoch from '2026-05-28 15:41:39'::timestamp) - extract(epoch from '2026-05-28 15:41: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.575362 -3.281422)', '2026-05-28 15:41:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575391 -3.281465)'), GeomFromEWKT('SRID=4674;POINT (-38.575362 -3.281422)'))) / (select extract(epoch from '2026-05-28 15:41:42'::timestamp) - extract(epoch from '2026-05-28 15:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575391 -3.281465)'), GeomFromEWKT('SRID=4674;POINT (-38.575362 -3.281422)'))) / (select extract(epoch from '2026-05-28 15:41:42'::timestamp) - extract(epoch from '2026-05-28 15:41:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575344 -3.281396)', '2026-05-28 15:41:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575362 -3.281422)'), GeomFromEWKT('SRID=4674;POINT (-38.575344 -3.281396)'))) / (select extract(epoch from '2026-05-28 15:41:44'::timestamp) - extract(epoch from '2026-05-28 15:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575362 -3.281422)'), GeomFromEWKT('SRID=4674;POINT (-38.575344 -3.281396)'))) / (select extract(epoch from '2026-05-28 15:41:44'::timestamp) - extract(epoch from '2026-05-28 15: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.575286 -3.281325)', '2026-05-28 15:41:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575344 -3.281396)'), GeomFromEWKT('SRID=4674;POINT (-38.575286 -3.281325)'))) / (select extract(epoch from '2026-05-28 15:41:50'::timestamp) - extract(epoch from '2026-05-28 15:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575344 -3.281396)'), GeomFromEWKT('SRID=4674;POINT (-38.575286 -3.281325)'))) / (select extract(epoch from '2026-05-28 15:41:50'::timestamp) - extract(epoch from '2026-05-28 15:41: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.575231 -3.281277)', '2026-05-28 15:41:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575286 -3.281325)'), GeomFromEWKT('SRID=4674;POINT (-38.575231 -3.281277)'))) / (select extract(epoch from '2026-05-28 15:41:55'::timestamp) - extract(epoch from '2026-05-28 15:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575286 -3.281325)'), GeomFromEWKT('SRID=4674;POINT (-38.575231 -3.281277)'))) / (select extract(epoch from '2026-05-28 15:41:55'::timestamp) - extract(epoch from '2026-05-28 15: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.575157 -3.281209)', '2026-05-28 15:42:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575231 -3.281277)'), GeomFromEWKT('SRID=4674;POINT (-38.575157 -3.281209)'))) / (select extract(epoch from '2026-05-28 15:42:02'::timestamp) - extract(epoch from '2026-05-28 15:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575231 -3.281277)'), GeomFromEWKT('SRID=4674;POINT (-38.575157 -3.281209)'))) / (select extract(epoch from '2026-05-28 15:42:02'::timestamp) - extract(epoch from '2026-05-28 15: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.57511 -3.281174)', '2026-05-28 15:42:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575157 -3.281209)'), GeomFromEWKT('SRID=4674;POINT (-38.57511 -3.281174)'))) / (select extract(epoch from '2026-05-28 15:42:06'::timestamp) - extract(epoch from '2026-05-28 15:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575157 -3.281209)'), GeomFromEWKT('SRID=4674;POINT (-38.57511 -3.281174)'))) / (select extract(epoch from '2026-05-28 15:42:06'::timestamp) - extract(epoch from '2026-05-28 15:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575105 -3.281163)', '2026-05-28 15:42:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57511 -3.281174)'), GeomFromEWKT('SRID=4674;POINT (-38.575105 -3.281163)'))) / (select extract(epoch from '2026-05-28 15:42:07'::timestamp) - extract(epoch from '2026-05-28 15:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57511 -3.281174)'), GeomFromEWKT('SRID=4674;POINT (-38.575105 -3.281163)'))) / (select extract(epoch from '2026-05-28 15:42:07'::timestamp) - extract(epoch from '2026-05-28 15:42: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.575084 -3.28114)', '2026-05-28 15:42:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575105 -3.281163)'), GeomFromEWKT('SRID=4674;POINT (-38.575084 -3.28114)'))) / (select extract(epoch from '2026-05-28 15:42:09'::timestamp) - extract(epoch from '2026-05-28 15:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575105 -3.281163)'), GeomFromEWKT('SRID=4674;POINT (-38.575084 -3.28114)'))) / (select extract(epoch from '2026-05-28 15:42:09'::timestamp) - extract(epoch from '2026-05-28 15:42:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575066 -3.281125)', '2026-05-28 15:42:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575084 -3.28114)'), GeomFromEWKT('SRID=4674;POINT (-38.575066 -3.281125)'))) / (select extract(epoch from '2026-05-28 15:42:11'::timestamp) - extract(epoch from '2026-05-28 15:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575084 -3.28114)'), GeomFromEWKT('SRID=4674;POINT (-38.575066 -3.281125)'))) / (select extract(epoch from '2026-05-28 15:42:11'::timestamp) - extract(epoch from '2026-05-28 15:42: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.575061 -3.281114)', '2026-05-28 15:42:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575066 -3.281125)'), GeomFromEWKT('SRID=4674;POINT (-38.575061 -3.281114)'))) / (select extract(epoch from '2026-05-28 15:42:12'::timestamp) - extract(epoch from '2026-05-28 15:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575066 -3.281125)'), GeomFromEWKT('SRID=4674;POINT (-38.575061 -3.281114)'))) / (select extract(epoch from '2026-05-28 15:42:12'::timestamp) - extract(epoch from '2026-05-28 15: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.575031 -3.28109)', '2026-05-28 15:42:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575061 -3.281114)'), GeomFromEWKT('SRID=4674;POINT (-38.575031 -3.28109)'))) / (select extract(epoch from '2026-05-28 15:42:15'::timestamp) - extract(epoch from '2026-05-28 15:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575061 -3.281114)'), GeomFromEWKT('SRID=4674;POINT (-38.575031 -3.28109)'))) / (select extract(epoch from '2026-05-28 15:42:15'::timestamp) - extract(epoch from '2026-05-28 15:42: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.575025 -3.28108)', '2026-05-28 15:42:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575031 -3.28109)'), GeomFromEWKT('SRID=4674;POINT (-38.575025 -3.28108)'))) / (select extract(epoch from '2026-05-28 15:42:16'::timestamp) - extract(epoch from '2026-05-28 15:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575031 -3.28109)'), GeomFromEWKT('SRID=4674;POINT (-38.575025 -3.28108)'))) / (select extract(epoch from '2026-05-28 15:42:16'::timestamp) - extract(epoch from '2026-05-28 15:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575007 -3.281061)', '2026-05-28 15:42:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575025 -3.28108)'), GeomFromEWKT('SRID=4674;POINT (-38.575007 -3.281061)'))) / (select extract(epoch from '2026-05-28 15:42:18'::timestamp) - extract(epoch from '2026-05-28 15:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575025 -3.28108)'), GeomFromEWKT('SRID=4674;POINT (-38.575007 -3.281061)'))) / (select extract(epoch from '2026-05-28 15:42:18'::timestamp) - extract(epoch from '2026-05-28 15:42:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574991 -3.281029)', '2026-05-28 15:42:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575007 -3.281061)'), GeomFromEWKT('SRID=4674;POINT (-38.574991 -3.281029)'))) / (select extract(epoch from '2026-05-28 15:42:21'::timestamp) - extract(epoch from '2026-05-28 15:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575007 -3.281061)'), GeomFromEWKT('SRID=4674;POINT (-38.574991 -3.281029)'))) / (select extract(epoch from '2026-05-28 15:42:21'::timestamp) - extract(epoch from '2026-05-28 15: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.574982 -3.281019)', '2026-05-28 15:42:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574991 -3.281029)'), GeomFromEWKT('SRID=4674;POINT (-38.574982 -3.281019)'))) / (select extract(epoch from '2026-05-28 15:42:22'::timestamp) - extract(epoch from '2026-05-28 15:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574991 -3.281029)'), GeomFromEWKT('SRID=4674;POINT (-38.574982 -3.281019)'))) / (select extract(epoch from '2026-05-28 15:42:22'::timestamp) - extract(epoch from '2026-05-28 15:42: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.57497 -3.281)', '2026-05-28 15:42:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574982 -3.281019)'), GeomFromEWKT('SRID=4674;POINT (-38.57497 -3.281)'))) / (select extract(epoch from '2026-05-28 15:42:24'::timestamp) - extract(epoch from '2026-05-28 15:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574982 -3.281019)'), GeomFromEWKT('SRID=4674;POINT (-38.57497 -3.281)'))) / (select extract(epoch from '2026-05-28 15:42:24'::timestamp) - extract(epoch from '2026-05-28 15:42: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.574963 -3.280978)', '2026-05-28 15:42:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57497 -3.281)'), GeomFromEWKT('SRID=4674;POINT (-38.574963 -3.280978)'))) / (select extract(epoch from '2026-05-28 15:42:26'::timestamp) - extract(epoch from '2026-05-28 15:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57497 -3.281)'), GeomFromEWKT('SRID=4674;POINT (-38.574963 -3.280978)'))) / (select extract(epoch from '2026-05-28 15:42:26'::timestamp) - extract(epoch from '2026-05-28 15: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.574955 -3.280967)', '2026-05-28 15:42:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574963 -3.280978)'), GeomFromEWKT('SRID=4674;POINT (-38.574955 -3.280967)'))) / (select extract(epoch from '2026-05-28 15:42:27'::timestamp) - extract(epoch from '2026-05-28 15:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574963 -3.280978)'), GeomFromEWKT('SRID=4674;POINT (-38.574955 -3.280967)'))) / (select extract(epoch from '2026-05-28 15:42:27'::timestamp) - extract(epoch from '2026-05-28 15:42:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574914 -3.280895)', '2026-05-28 15:42:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574955 -3.280967)'), GeomFromEWKT('SRID=4674;POINT (-38.574914 -3.280895)'))) / (select extract(epoch from '2026-05-28 15:42:33'::timestamp) - extract(epoch from '2026-05-28 15:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574955 -3.280967)'), GeomFromEWKT('SRID=4674;POINT (-38.574914 -3.280895)'))) / (select extract(epoch from '2026-05-28 15:42:33'::timestamp) - extract(epoch from '2026-05-28 15:42: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.574902 -3.280884)', '2026-05-28 15:42:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574914 -3.280895)'), GeomFromEWKT('SRID=4674;POINT (-38.574902 -3.280884)'))) / (select extract(epoch from '2026-05-28 15:42:34'::timestamp) - extract(epoch from '2026-05-28 15:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574914 -3.280895)'), GeomFromEWKT('SRID=4674;POINT (-38.574902 -3.280884)'))) / (select extract(epoch from '2026-05-28 15:42:34'::timestamp) - extract(epoch from '2026-05-28 15:42: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.574893 -3.28087)', '2026-05-28 15:42:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574902 -3.280884)'), GeomFromEWKT('SRID=4674;POINT (-38.574893 -3.28087)'))) / (select extract(epoch from '2026-05-28 15:42:35'::timestamp) - extract(epoch from '2026-05-28 15:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574902 -3.280884)'), GeomFromEWKT('SRID=4674;POINT (-38.574893 -3.28087)'))) / (select extract(epoch from '2026-05-28 15:42:35'::timestamp) - extract(epoch from '2026-05-28 15:42: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.574879 -3.280842)', '2026-05-28 15:42:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574893 -3.28087)'), GeomFromEWKT('SRID=4674;POINT (-38.574879 -3.280842)'))) / (select extract(epoch from '2026-05-28 15:42:37'::timestamp) - extract(epoch from '2026-05-28 15:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574893 -3.28087)'), GeomFromEWKT('SRID=4674;POINT (-38.574879 -3.280842)'))) / (select extract(epoch from '2026-05-28 15:42:37'::timestamp) - extract(epoch from '2026-05-28 15:42:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574861 -3.280819)', '2026-05-28 15:42:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574879 -3.280842)'), GeomFromEWKT('SRID=4674;POINT (-38.574861 -3.280819)'))) / (select extract(epoch from '2026-05-28 15:42:39'::timestamp) - extract(epoch from '2026-05-28 15:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574879 -3.280842)'), GeomFromEWKT('SRID=4674;POINT (-38.574861 -3.280819)'))) / (select extract(epoch from '2026-05-28 15:42:39'::timestamp) - extract(epoch from '2026-05-28 15: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.574815 -3.280753)', '2026-05-28 15:42:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574861 -3.280819)'), GeomFromEWKT('SRID=4674;POINT (-38.574815 -3.280753)'))) / (select extract(epoch from '2026-05-28 15:42:44'::timestamp) - extract(epoch from '2026-05-28 15:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574861 -3.280819)'), GeomFromEWKT('SRID=4674;POINT (-38.574815 -3.280753)'))) / (select extract(epoch from '2026-05-28 15:42:44'::timestamp) - extract(epoch from '2026-05-28 15:42: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.574788 -3.28072)', '2026-05-28 15:42:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574815 -3.280753)'), GeomFromEWKT('SRID=4674;POINT (-38.574788 -3.28072)'))) / (select extract(epoch from '2026-05-28 15:42:48'::timestamp) - extract(epoch from '2026-05-28 15:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574815 -3.280753)'), GeomFromEWKT('SRID=4674;POINT (-38.574788 -3.28072)'))) / (select extract(epoch from '2026-05-28 15:42:48'::timestamp) - extract(epoch from '2026-05-28 15: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.574775 -3.280709)', '2026-05-28 15:42:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574788 -3.28072)'), GeomFromEWKT('SRID=4674;POINT (-38.574775 -3.280709)'))) / (select extract(epoch from '2026-05-28 15:42:49'::timestamp) - extract(epoch from '2026-05-28 15:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574788 -3.28072)'), GeomFromEWKT('SRID=4674;POINT (-38.574775 -3.280709)'))) / (select extract(epoch from '2026-05-28 15:42:49'::timestamp) - extract(epoch from '2026-05-28 15:42: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.574755 -3.280691)', '2026-05-28 15:42:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574775 -3.280709)'), GeomFromEWKT('SRID=4674;POINT (-38.574755 -3.280691)'))) / (select extract(epoch from '2026-05-28 15:42:51'::timestamp) - extract(epoch from '2026-05-28 15:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574775 -3.280709)'), GeomFromEWKT('SRID=4674;POINT (-38.574755 -3.280691)'))) / (select extract(epoch from '2026-05-28 15:42:51'::timestamp) - extract(epoch from '2026-05-28 15:42:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574722 -3.280657)', '2026-05-28 15:42:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574755 -3.280691)'), GeomFromEWKT('SRID=4674;POINT (-38.574722 -3.280657)'))) / (select extract(epoch from '2026-05-28 15:42:54'::timestamp) - extract(epoch from '2026-05-28 15:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574755 -3.280691)'), GeomFromEWKT('SRID=4674;POINT (-38.574722 -3.280657)'))) / (select extract(epoch from '2026-05-28 15:42:54'::timestamp) - extract(epoch from '2026-05-28 15: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.574688 -3.280627)', '2026-05-28 15:42:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574722 -3.280657)'), GeomFromEWKT('SRID=4674;POINT (-38.574688 -3.280627)'))) / (select extract(epoch from '2026-05-28 15:42:57'::timestamp) - extract(epoch from '2026-05-28 15:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574722 -3.280657)'), GeomFromEWKT('SRID=4674;POINT (-38.574688 -3.280627)'))) / (select extract(epoch from '2026-05-28 15:42:57'::timestamp) - extract(epoch from '2026-05-28 15:42: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.574661 -3.280596)', '2026-05-28 15:43:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574688 -3.280627)'), GeomFromEWKT('SRID=4674;POINT (-38.574661 -3.280596)'))) / (select extract(epoch from '2026-05-28 15:43:00'::timestamp) - extract(epoch from '2026-05-28 15:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574688 -3.280627)'), GeomFromEWKT('SRID=4674;POINT (-38.574661 -3.280596)'))) / (select extract(epoch from '2026-05-28 15:43:00'::timestamp) - extract(epoch from '2026-05-28 15: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.574588 -3.280517)', '2026-05-28 15:43:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574661 -3.280596)'), GeomFromEWKT('SRID=4674;POINT (-38.574588 -3.280517)'))) / (select extract(epoch from '2026-05-28 15:43:07'::timestamp) - extract(epoch from '2026-05-28 15:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574661 -3.280596)'), GeomFromEWKT('SRID=4674;POINT (-38.574588 -3.280517)'))) / (select extract(epoch from '2026-05-28 15:43:07'::timestamp) - extract(epoch from '2026-05-28 15:43:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574535 -3.280456)', '2026-05-28 15:43:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574588 -3.280517)'), GeomFromEWKT('SRID=4674;POINT (-38.574535 -3.280456)'))) / (select extract(epoch from '2026-05-28 15:43:12'::timestamp) - extract(epoch from '2026-05-28 15:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574588 -3.280517)'), GeomFromEWKT('SRID=4674;POINT (-38.574535 -3.280456)'))) / (select extract(epoch from '2026-05-28 15:43:12'::timestamp) - extract(epoch from '2026-05-28 15: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.574512 -3.280437)', '2026-05-28 15:43:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574535 -3.280456)'), GeomFromEWKT('SRID=4674;POINT (-38.574512 -3.280437)'))) / (select extract(epoch from '2026-05-28 15:43:14'::timestamp) - extract(epoch from '2026-05-28 15:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574535 -3.280456)'), GeomFromEWKT('SRID=4674;POINT (-38.574512 -3.280437)'))) / (select extract(epoch from '2026-05-28 15:43:14'::timestamp) - extract(epoch from '2026-05-28 15:43: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.574476 -3.280397)', '2026-05-28 15:43:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574512 -3.280437)'), GeomFromEWKT('SRID=4674;POINT (-38.574476 -3.280397)'))) / (select extract(epoch from '2026-05-28 15:43:18'::timestamp) - extract(epoch from '2026-05-28 15:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574512 -3.280437)'), GeomFromEWKT('SRID=4674;POINT (-38.574476 -3.280397)'))) / (select extract(epoch from '2026-05-28 15:43:18'::timestamp) - extract(epoch from '2026-05-28 15: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.57441 -3.280321)', '2026-05-28 15:43:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574476 -3.280397)'), GeomFromEWKT('SRID=4674;POINT (-38.57441 -3.280321)'))) / (select extract(epoch from '2026-05-28 15:43:25'::timestamp) - extract(epoch from '2026-05-28 15:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574476 -3.280397)'), GeomFromEWKT('SRID=4674;POINT (-38.57441 -3.280321)'))) / (select extract(epoch from '2026-05-28 15:43:25'::timestamp) - extract(epoch from '2026-05-28 15:43:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574372 -3.280267)', '2026-05-28 15:43:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57441 -3.280321)'), GeomFromEWKT('SRID=4674;POINT (-38.574372 -3.280267)'))) / (select extract(epoch from '2026-05-28 15:43:30'::timestamp) - extract(epoch from '2026-05-28 15:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57441 -3.280321)'), GeomFromEWKT('SRID=4674;POINT (-38.574372 -3.280267)'))) / (select extract(epoch from '2026-05-28 15:43:30'::timestamp) - extract(epoch from '2026-05-28 15:43:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574339 -3.280219)', '2026-05-28 15:43:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574372 -3.280267)'), GeomFromEWKT('SRID=4674;POINT (-38.574339 -3.280219)'))) / (select extract(epoch from '2026-05-28 15:43:34'::timestamp) - extract(epoch from '2026-05-28 15:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574372 -3.280267)'), GeomFromEWKT('SRID=4674;POINT (-38.574339 -3.280219)'))) / (select extract(epoch from '2026-05-28 15:43:34'::timestamp) - extract(epoch from '2026-05-28 15:43: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.574316 -3.280199)', '2026-05-28 15:43:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574339 -3.280219)'), GeomFromEWKT('SRID=4674;POINT (-38.574316 -3.280199)'))) / (select extract(epoch from '2026-05-28 15:43:36'::timestamp) - extract(epoch from '2026-05-28 15:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574339 -3.280219)'), GeomFromEWKT('SRID=4674;POINT (-38.574316 -3.280199)'))) / (select extract(epoch from '2026-05-28 15:43:36'::timestamp) - extract(epoch from '2026-05-28 15:43: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.574306 -3.280186)', '2026-05-28 15:43:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574316 -3.280199)'), GeomFromEWKT('SRID=4674;POINT (-38.574306 -3.280186)'))) / (select extract(epoch from '2026-05-28 15:43:37'::timestamp) - extract(epoch from '2026-05-28 15:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574316 -3.280199)'), GeomFromEWKT('SRID=4674;POINT (-38.574306 -3.280186)'))) / (select extract(epoch from '2026-05-28 15:43:37'::timestamp) - extract(epoch from '2026-05-28 15:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574278 -3.280141)', '2026-05-28 15:43:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574306 -3.280186)'), GeomFromEWKT('SRID=4674;POINT (-38.574278 -3.280141)'))) / (select extract(epoch from '2026-05-28 15:43:41'::timestamp) - extract(epoch from '2026-05-28 15:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574306 -3.280186)'), GeomFromEWKT('SRID=4674;POINT (-38.574278 -3.280141)'))) / (select extract(epoch from '2026-05-28 15:43:41'::timestamp) - extract(epoch from '2026-05-28 15:43: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.574235 -3.280083)', '2026-05-28 15:43:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574278 -3.280141)'), GeomFromEWKT('SRID=4674;POINT (-38.574235 -3.280083)'))) / (select extract(epoch from '2026-05-28 15:43:46'::timestamp) - extract(epoch from '2026-05-28 15:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574278 -3.280141)'), GeomFromEWKT('SRID=4674;POINT (-38.574235 -3.280083)'))) / (select extract(epoch from '2026-05-28 15:43:46'::timestamp) - extract(epoch from '2026-05-28 15:43: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.574223 -3.280073)', '2026-05-28 15:43:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574235 -3.280083)'), GeomFromEWKT('SRID=4674;POINT (-38.574223 -3.280073)'))) / (select extract(epoch from '2026-05-28 15:43:47'::timestamp) - extract(epoch from '2026-05-28 15:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574235 -3.280083)'), GeomFromEWKT('SRID=4674;POINT (-38.574223 -3.280073)'))) / (select extract(epoch from '2026-05-28 15:43:47'::timestamp) - extract(epoch from '2026-05-28 15:43:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574182 -3.280026)', '2026-05-28 15:43:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574223 -3.280073)'), GeomFromEWKT('SRID=4674;POINT (-38.574182 -3.280026)'))) / (select extract(epoch from '2026-05-28 15:43:52'::timestamp) - extract(epoch from '2026-05-28 15:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574223 -3.280073)'), GeomFromEWKT('SRID=4674;POINT (-38.574182 -3.280026)'))) / (select extract(epoch from '2026-05-28 15:43:52'::timestamp) - extract(epoch from '2026-05-28 15:43:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574172 -3.280019)', '2026-05-28 15:43:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574182 -3.280026)'), GeomFromEWKT('SRID=4674;POINT (-38.574172 -3.280019)'))) / (select extract(epoch from '2026-05-28 15:43:53'::timestamp) - extract(epoch from '2026-05-28 15:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574182 -3.280026)'), GeomFromEWKT('SRID=4674;POINT (-38.574172 -3.280019)'))) / (select extract(epoch from '2026-05-28 15:43:53'::timestamp) - extract(epoch from '2026-05-28 15:43: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.574156 -3.280001)', '2026-05-28 15:43:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574172 -3.280019)'), GeomFromEWKT('SRID=4674;POINT (-38.574156 -3.280001)'))) / (select extract(epoch from '2026-05-28 15:43:55'::timestamp) - extract(epoch from '2026-05-28 15:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574172 -3.280019)'), GeomFromEWKT('SRID=4674;POINT (-38.574156 -3.280001)'))) / (select extract(epoch from '2026-05-28 15:43:55'::timestamp) - extract(epoch from '2026-05-28 15:43:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574129 -3.27997)', '2026-05-28 15:43:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574156 -3.280001)'), GeomFromEWKT('SRID=4674;POINT (-38.574129 -3.27997)'))) / (select extract(epoch from '2026-05-28 15:43:58'::timestamp) - extract(epoch from '2026-05-28 15:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574156 -3.280001)'), GeomFromEWKT('SRID=4674;POINT (-38.574129 -3.27997)'))) / (select extract(epoch from '2026-05-28 15:43:58'::timestamp) - extract(epoch from '2026-05-28 15: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.574113 -3.27995)', '2026-05-28 15:44:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574129 -3.27997)'), GeomFromEWKT('SRID=4674;POINT (-38.574113 -3.27995)'))) / (select extract(epoch from '2026-05-28 15:44:00'::timestamp) - extract(epoch from '2026-05-28 15:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574129 -3.27997)'), GeomFromEWKT('SRID=4674;POINT (-38.574113 -3.27995)'))) / (select extract(epoch from '2026-05-28 15:44:00'::timestamp) - extract(epoch from '2026-05-28 15:43:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.5741 -3.279929)', '2026-05-28 15:44:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574113 -3.27995)'), GeomFromEWKT('SRID=4674;POINT (-38.5741 -3.279929)'))) / (select extract(epoch from '2026-05-28 15:44:02'::timestamp) - extract(epoch from '2026-05-28 15:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574113 -3.27995)'), GeomFromEWKT('SRID=4674;POINT (-38.5741 -3.279929)'))) / (select extract(epoch from '2026-05-28 15:44:02'::timestamp) - extract(epoch from '2026-05-28 15:44: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.574088 -3.279921)', '2026-05-28 15:44:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5741 -3.279929)'), GeomFromEWKT('SRID=4674;POINT (-38.574088 -3.279921)'))) / (select extract(epoch from '2026-05-28 15:44:03'::timestamp) - extract(epoch from '2026-05-28 15:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5741 -3.279929)'), GeomFromEWKT('SRID=4674;POINT (-38.574088 -3.279921)'))) / (select extract(epoch from '2026-05-28 15:44:03'::timestamp) - extract(epoch from '2026-05-28 15:44: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.574053 -3.279895)', '2026-05-28 15:44:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574088 -3.279921)'), GeomFromEWKT('SRID=4674;POINT (-38.574053 -3.279895)'))) / (select extract(epoch from '2026-05-28 15:44:06'::timestamp) - extract(epoch from '2026-05-28 15:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574088 -3.279921)'), GeomFromEWKT('SRID=4674;POINT (-38.574053 -3.279895)'))) / (select extract(epoch from '2026-05-28 15:44:06'::timestamp) - extract(epoch from '2026-05-28 15:44:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574017 -3.27985)', '2026-05-28 15:44:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574053 -3.279895)'), GeomFromEWKT('SRID=4674;POINT (-38.574017 -3.27985)'))) / (select extract(epoch from '2026-05-28 15:44:09'::timestamp) - extract(epoch from '2026-05-28 15:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574053 -3.279895)'), GeomFromEWKT('SRID=4674;POINT (-38.574017 -3.27985)'))) / (select extract(epoch from '2026-05-28 15:44:09'::timestamp) - extract(epoch from '2026-05-28 15:44: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.574007 -3.27984)', '2026-05-28 15:44:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574017 -3.27985)'), GeomFromEWKT('SRID=4674;POINT (-38.574007 -3.27984)'))) / (select extract(epoch from '2026-05-28 15:44:10'::timestamp) - extract(epoch from '2026-05-28 15:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574017 -3.27985)'), GeomFromEWKT('SRID=4674;POINT (-38.574007 -3.27984)'))) / (select extract(epoch from '2026-05-28 15:44:10'::timestamp) - extract(epoch from '2026-05-28 15: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.573987 -3.279818)', '2026-05-28 15:44:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574007 -3.27984)'), GeomFromEWKT('SRID=4674;POINT (-38.573987 -3.279818)'))) / (select extract(epoch from '2026-05-28 15:44:12'::timestamp) - extract(epoch from '2026-05-28 15:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574007 -3.27984)'), GeomFromEWKT('SRID=4674;POINT (-38.573987 -3.279818)'))) / (select extract(epoch from '2026-05-28 15:44:12'::timestamp) - extract(epoch from '2026-05-28 15:44: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.573972 -3.279806)', '2026-05-28 15:44:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573987 -3.279818)'), GeomFromEWKT('SRID=4674;POINT (-38.573972 -3.279806)'))) / (select extract(epoch from '2026-05-28 15:44:13'::timestamp) - extract(epoch from '2026-05-28 15:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573987 -3.279818)'), GeomFromEWKT('SRID=4674;POINT (-38.573972 -3.279806)'))) / (select extract(epoch from '2026-05-28 15:44:13'::timestamp) - extract(epoch from '2026-05-28 15:44: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.573943 -3.279771)', '2026-05-28 15:44:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573972 -3.279806)'), GeomFromEWKT('SRID=4674;POINT (-38.573943 -3.279771)'))) / (select extract(epoch from '2026-05-28 15:44:17'::timestamp) - extract(epoch from '2026-05-28 15:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573972 -3.279806)'), GeomFromEWKT('SRID=4674;POINT (-38.573943 -3.279771)'))) / (select extract(epoch from '2026-05-28 15:44:17'::timestamp) - extract(epoch from '2026-05-28 15:44: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.573929 -3.279757)', '2026-05-28 15:44:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573943 -3.279771)'), GeomFromEWKT('SRID=4674;POINT (-38.573929 -3.279757)'))) / (select extract(epoch from '2026-05-28 15:44:19'::timestamp) - extract(epoch from '2026-05-28 15:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573943 -3.279771)'), GeomFromEWKT('SRID=4674;POINT (-38.573929 -3.279757)'))) / (select extract(epoch from '2026-05-28 15:44:19'::timestamp) - extract(epoch from '2026-05-28 15:44: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.573911 -3.279742)', '2026-05-28 15:44:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573929 -3.279757)'), GeomFromEWKT('SRID=4674;POINT (-38.573911 -3.279742)'))) / (select extract(epoch from '2026-05-28 15:44:21'::timestamp) - extract(epoch from '2026-05-28 15:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573929 -3.279757)'), GeomFromEWKT('SRID=4674;POINT (-38.573911 -3.279742)'))) / (select extract(epoch from '2026-05-28 15:44:21'::timestamp) - extract(epoch from '2026-05-28 15:44: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.573866 -3.279711)', '2026-05-28 15:44:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573911 -3.279742)'), GeomFromEWKT('SRID=4674;POINT (-38.573866 -3.279711)'))) / (select extract(epoch from '2026-05-28 15:44:25'::timestamp) - extract(epoch from '2026-05-28 15:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573911 -3.279742)'), GeomFromEWKT('SRID=4674;POINT (-38.573866 -3.279711)'))) / (select extract(epoch from '2026-05-28 15:44:25'::timestamp) - extract(epoch from '2026-05-28 15:44:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573844 -3.279689)', '2026-05-28 15:44:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573866 -3.279711)'), GeomFromEWKT('SRID=4674;POINT (-38.573844 -3.279689)'))) / (select extract(epoch from '2026-05-28 15:44:27'::timestamp) - extract(epoch from '2026-05-28 15:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573866 -3.279711)'), GeomFromEWKT('SRID=4674;POINT (-38.573844 -3.279689)'))) / (select extract(epoch from '2026-05-28 15:44:27'::timestamp) - extract(epoch from '2026-05-28 15:44: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.573797 -3.279653)', '2026-05-28 15:44:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573844 -3.279689)'), GeomFromEWKT('SRID=4674;POINT (-38.573797 -3.279653)'))) / (select extract(epoch from '2026-05-28 15:44:31'::timestamp) - extract(epoch from '2026-05-28 15:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573844 -3.279689)'), GeomFromEWKT('SRID=4674;POINT (-38.573797 -3.279653)'))) / (select extract(epoch from '2026-05-28 15:44:31'::timestamp) - extract(epoch from '2026-05-28 15: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.573778 -3.27963)', '2026-05-28 15:44:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573797 -3.279653)'), GeomFromEWKT('SRID=4674;POINT (-38.573778 -3.27963)'))) / (select extract(epoch from '2026-05-28 15:44:33'::timestamp) - extract(epoch from '2026-05-28 15:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573797 -3.279653)'), GeomFromEWKT('SRID=4674;POINT (-38.573778 -3.27963)'))) / (select extract(epoch from '2026-05-28 15:44:33'::timestamp) - extract(epoch from '2026-05-28 15:44:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573767 -3.279619)', '2026-05-28 15:44:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573778 -3.27963)'), GeomFromEWKT('SRID=4674;POINT (-38.573767 -3.279619)'))) / (select extract(epoch from '2026-05-28 15:44:34'::timestamp) - extract(epoch from '2026-05-28 15:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573778 -3.27963)'), GeomFromEWKT('SRID=4674;POINT (-38.573767 -3.279619)'))) / (select extract(epoch from '2026-05-28 15:44:34'::timestamp) - extract(epoch from '2026-05-28 15:44: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.573733 -3.279587)', '2026-05-28 15:44:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573767 -3.279619)'), GeomFromEWKT('SRID=4674;POINT (-38.573733 -3.279587)'))) / (select extract(epoch from '2026-05-28 15:44:37'::timestamp) - extract(epoch from '2026-05-28 15:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573767 -3.279619)'), GeomFromEWKT('SRID=4674;POINT (-38.573733 -3.279587)'))) / (select extract(epoch from '2026-05-28 15:44:37'::timestamp) - extract(epoch from '2026-05-28 15:44:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573723 -3.279574)', '2026-05-28 15:44:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573733 -3.279587)'), GeomFromEWKT('SRID=4674;POINT (-38.573723 -3.279574)'))) / (select extract(epoch from '2026-05-28 15:44:38'::timestamp) - extract(epoch from '2026-05-28 15:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573733 -3.279587)'), GeomFromEWKT('SRID=4674;POINT (-38.573723 -3.279574)'))) / (select extract(epoch from '2026-05-28 15:44:38'::timestamp) - extract(epoch from '2026-05-28 15:44: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.573654 -3.2795)', '2026-05-28 15:44:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573723 -3.279574)'), GeomFromEWKT('SRID=4674;POINT (-38.573654 -3.2795)'))) / (select extract(epoch from '2026-05-28 15:44:44'::timestamp) - extract(epoch from '2026-05-28 15:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573723 -3.279574)'), GeomFromEWKT('SRID=4674;POINT (-38.573654 -3.2795)'))) / (select extract(epoch from '2026-05-28 15:44:44'::timestamp) - extract(epoch from '2026-05-28 15:44:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573614 -3.279472)', '2026-05-28 15:44:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573654 -3.2795)'), GeomFromEWKT('SRID=4674;POINT (-38.573614 -3.279472)'))) / (select extract(epoch from '2026-05-28 15:44:47'::timestamp) - extract(epoch from '2026-05-28 15:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573654 -3.2795)'), GeomFromEWKT('SRID=4674;POINT (-38.573614 -3.279472)'))) / (select extract(epoch from '2026-05-28 15:44:47'::timestamp) - extract(epoch from '2026-05-28 15:44: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.573596 -3.279448)', '2026-05-28 15:44:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573614 -3.279472)'), GeomFromEWKT('SRID=4674;POINT (-38.573596 -3.279448)'))) / (select extract(epoch from '2026-05-28 15:44:49'::timestamp) - extract(epoch from '2026-05-28 15:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573614 -3.279472)'), GeomFromEWKT('SRID=4674;POINT (-38.573596 -3.279448)'))) / (select extract(epoch from '2026-05-28 15:44:49'::timestamp) - extract(epoch from '2026-05-28 15:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573539 -3.279385)', '2026-05-28 15:44:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573596 -3.279448)'), GeomFromEWKT('SRID=4674;POINT (-38.573539 -3.279385)'))) / (select extract(epoch from '2026-05-28 15:44:55'::timestamp) - extract(epoch from '2026-05-28 15:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573596 -3.279448)'), GeomFromEWKT('SRID=4674;POINT (-38.573539 -3.279385)'))) / (select extract(epoch from '2026-05-28 15:44:55'::timestamp) - extract(epoch from '2026-05-28 15:44:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57352 -3.279365)', '2026-05-28 15:44:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573539 -3.279385)'), GeomFromEWKT('SRID=4674;POINT (-38.57352 -3.279365)'))) / (select extract(epoch from '2026-05-28 15:44:57'::timestamp) - extract(epoch from '2026-05-28 15:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573539 -3.279385)'), GeomFromEWKT('SRID=4674;POINT (-38.57352 -3.279365)'))) / (select extract(epoch from '2026-05-28 15:44:57'::timestamp) - extract(epoch from '2026-05-28 15:44: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.573489 -3.279331)', '2026-05-28 15:45:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57352 -3.279365)'), GeomFromEWKT('SRID=4674;POINT (-38.573489 -3.279331)'))) / (select extract(epoch from '2026-05-28 15:45:00'::timestamp) - extract(epoch from '2026-05-28 15:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57352 -3.279365)'), GeomFromEWKT('SRID=4674;POINT (-38.573489 -3.279331)'))) / (select extract(epoch from '2026-05-28 15:45:00'::timestamp) - extract(epoch from '2026-05-28 15: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.573439 -3.279275)', '2026-05-28 15:45:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573489 -3.279331)'), GeomFromEWKT('SRID=4674;POINT (-38.573439 -3.279275)'))) / (select extract(epoch from '2026-05-28 15:45:05'::timestamp) - extract(epoch from '2026-05-28 15:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573489 -3.279331)'), GeomFromEWKT('SRID=4674;POINT (-38.573439 -3.279275)'))) / (select extract(epoch from '2026-05-28 15:45:05'::timestamp) - extract(epoch from '2026-05-28 15:45:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573431 -3.279263)', '2026-05-28 15:45:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573439 -3.279275)'), GeomFromEWKT('SRID=4674;POINT (-38.573431 -3.279263)'))) / (select extract(epoch from '2026-05-28 15:45:06'::timestamp) - extract(epoch from '2026-05-28 15:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573439 -3.279275)'), GeomFromEWKT('SRID=4674;POINT (-38.573431 -3.279263)'))) / (select extract(epoch from '2026-05-28 15:45:06'::timestamp) - extract(epoch from '2026-05-28 15:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573386 -3.27922)', '2026-05-28 15:45:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573431 -3.279263)'), GeomFromEWKT('SRID=4674;POINT (-38.573386 -3.27922)'))) / (select extract(epoch from '2026-05-28 15:45:10'::timestamp) - extract(epoch from '2026-05-28 15:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573431 -3.279263)'), GeomFromEWKT('SRID=4674;POINT (-38.573386 -3.27922)'))) / (select extract(epoch from '2026-05-28 15:45:10'::timestamp) - extract(epoch from '2026-05-28 15:45: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.573313 -3.279144)', '2026-05-28 15:45:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573386 -3.27922)'), GeomFromEWKT('SRID=4674;POINT (-38.573313 -3.279144)'))) / (select extract(epoch from '2026-05-28 15:45:17'::timestamp) - extract(epoch from '2026-05-28 15:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573386 -3.27922)'), GeomFromEWKT('SRID=4674;POINT (-38.573313 -3.279144)'))) / (select extract(epoch from '2026-05-28 15:45:17'::timestamp) - extract(epoch from '2026-05-28 15:45:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573238 -3.279063)', '2026-05-28 15:45:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573313 -3.279144)'), GeomFromEWKT('SRID=4674;POINT (-38.573238 -3.279063)'))) / (select extract(epoch from '2026-05-28 15:45:24'::timestamp) - extract(epoch from '2026-05-28 15:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573313 -3.279144)'), GeomFromEWKT('SRID=4674;POINT (-38.573238 -3.279063)'))) / (select extract(epoch from '2026-05-28 15:45:24'::timestamp) - extract(epoch from '2026-05-28 15:45: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.573229 -3.279051)', '2026-05-28 15:45:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573238 -3.279063)'), GeomFromEWKT('SRID=4674;POINT (-38.573229 -3.279051)'))) / (select extract(epoch from '2026-05-28 15:45:25'::timestamp) - extract(epoch from '2026-05-28 15:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573238 -3.279063)'), GeomFromEWKT('SRID=4674;POINT (-38.573229 -3.279051)'))) / (select extract(epoch from '2026-05-28 15:45:25'::timestamp) - extract(epoch from '2026-05-28 15:45: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.573194 -3.279006)', '2026-05-28 15:45:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573229 -3.279051)'), GeomFromEWKT('SRID=4674;POINT (-38.573194 -3.279006)'))) / (select extract(epoch from '2026-05-28 15:45:29'::timestamp) - extract(epoch from '2026-05-28 15:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573229 -3.279051)'), GeomFromEWKT('SRID=4674;POINT (-38.573194 -3.279006)'))) / (select extract(epoch from '2026-05-28 15:45:29'::timestamp) - extract(epoch from '2026-05-28 15:45: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.57319 -3.278998)', '2026-05-28 15:45:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573194 -3.279006)'), GeomFromEWKT('SRID=4674;POINT (-38.57319 -3.278998)'))) / (select extract(epoch from '2026-05-28 15:45:30'::timestamp) - extract(epoch from '2026-05-28 15:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573194 -3.279006)'), GeomFromEWKT('SRID=4674;POINT (-38.57319 -3.278998)'))) / (select extract(epoch from '2026-05-28 15:45:30'::timestamp) - extract(epoch from '2026-05-28 15:45:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573182 -3.278976)', '2026-05-28 15:45:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57319 -3.278998)'), GeomFromEWKT('SRID=4674;POINT (-38.573182 -3.278976)'))) / (select extract(epoch from '2026-05-28 15:45:32'::timestamp) - extract(epoch from '2026-05-28 15:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57319 -3.278998)'), GeomFromEWKT('SRID=4674;POINT (-38.573182 -3.278976)'))) / (select extract(epoch from '2026-05-28 15:45:32'::timestamp) - extract(epoch from '2026-05-28 15:45:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573175 -3.278969)', '2026-05-28 15:45:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573182 -3.278976)'), GeomFromEWKT('SRID=4674;POINT (-38.573175 -3.278969)'))) / (select extract(epoch from '2026-05-28 15:45:33'::timestamp) - extract(epoch from '2026-05-28 15:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573182 -3.278976)'), GeomFromEWKT('SRID=4674;POINT (-38.573175 -3.278969)'))) / (select extract(epoch from '2026-05-28 15:45:33'::timestamp) - extract(epoch from '2026-05-28 15: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.573167 -3.278962)', '2026-05-28 15:45:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573175 -3.278969)'), GeomFromEWKT('SRID=4674;POINT (-38.573167 -3.278962)'))) / (select extract(epoch from '2026-05-28 15:45:34'::timestamp) - extract(epoch from '2026-05-28 15:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573175 -3.278969)'), GeomFromEWKT('SRID=4674;POINT (-38.573167 -3.278962)'))) / (select extract(epoch from '2026-05-28 15:45:34'::timestamp) - extract(epoch from '2026-05-28 15:45:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57314 -3.278927)', '2026-05-28 15:45:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573167 -3.278962)'), GeomFromEWKT('SRID=4674;POINT (-38.57314 -3.278927)'))) / (select extract(epoch from '2026-05-28 15:45:38'::timestamp) - extract(epoch from '2026-05-28 15:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573167 -3.278962)'), GeomFromEWKT('SRID=4674;POINT (-38.57314 -3.278927)'))) / (select extract(epoch from '2026-05-28 15:45:38'::timestamp) - extract(epoch from '2026-05-28 15:45:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57311 -3.27889)', '2026-05-28 15:45:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57314 -3.278927)'), GeomFromEWKT('SRID=4674;POINT (-38.57311 -3.27889)'))) / (select extract(epoch from '2026-05-28 15:45:43'::timestamp) - extract(epoch from '2026-05-28 15:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57314 -3.278927)'), GeomFromEWKT('SRID=4674;POINT (-38.57311 -3.27889)'))) / (select extract(epoch from '2026-05-28 15:45:43'::timestamp) - extract(epoch from '2026-05-28 15: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.573108 -3.278881)', '2026-05-28 15:45:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57311 -3.27889)'), GeomFromEWKT('SRID=4674;POINT (-38.573108 -3.278881)'))) / (select extract(epoch from '2026-05-28 15:45:44'::timestamp) - extract(epoch from '2026-05-28 15:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57311 -3.27889)'), GeomFromEWKT('SRID=4674;POINT (-38.573108 -3.278881)'))) / (select extract(epoch from '2026-05-28 15:45:44'::timestamp) - extract(epoch from '2026-05-28 15:45:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573103 -3.278872)', '2026-05-28 15:45:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573108 -3.278881)'), GeomFromEWKT('SRID=4674;POINT (-38.573103 -3.278872)'))) / (select extract(epoch from '2026-05-28 15:45:45'::timestamp) - extract(epoch from '2026-05-28 15:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573108 -3.278881)'), GeomFromEWKT('SRID=4674;POINT (-38.573103 -3.278872)'))) / (select extract(epoch from '2026-05-28 15:45:45'::timestamp) - extract(epoch from '2026-05-28 15: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.573081 -3.278838)', '2026-05-28 15:45:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573103 -3.278872)'), GeomFromEWKT('SRID=4674;POINT (-38.573081 -3.278838)'))) / (select extract(epoch from '2026-05-28 15:45:49'::timestamp) - extract(epoch from '2026-05-28 15:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573103 -3.278872)'), GeomFromEWKT('SRID=4674;POINT (-38.573081 -3.278838)'))) / (select extract(epoch from '2026-05-28 15:45:49'::timestamp) - extract(epoch from '2026-05-28 15:45:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573065 -3.278818)', '2026-05-28 15:45:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573081 -3.278838)'), GeomFromEWKT('SRID=4674;POINT (-38.573065 -3.278818)'))) / (select extract(epoch from '2026-05-28 15:45:51'::timestamp) - extract(epoch from '2026-05-28 15:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573081 -3.278838)'), GeomFromEWKT('SRID=4674;POINT (-38.573065 -3.278818)'))) / (select extract(epoch from '2026-05-28 15:45:51'::timestamp) - extract(epoch from '2026-05-28 15: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.573042 -3.278791)', '2026-05-28 15:45:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573065 -3.278818)'), GeomFromEWKT('SRID=4674;POINT (-38.573042 -3.278791)'))) / (select extract(epoch from '2026-05-28 15:45:54'::timestamp) - extract(epoch from '2026-05-28 15:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573065 -3.278818)'), GeomFromEWKT('SRID=4674;POINT (-38.573042 -3.278791)'))) / (select extract(epoch from '2026-05-28 15:45:54'::timestamp) - extract(epoch from '2026-05-28 15:45:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573037 -3.278784)', '2026-05-28 15:45:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573042 -3.278791)'), GeomFromEWKT('SRID=4674;POINT (-38.573037 -3.278784)'))) / (select extract(epoch from '2026-05-28 15:45:55'::timestamp) - extract(epoch from '2026-05-28 15:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573042 -3.278791)'), GeomFromEWKT('SRID=4674;POINT (-38.573037 -3.278784)'))) / (select extract(epoch from '2026-05-28 15:45:55'::timestamp) - extract(epoch from '2026-05-28 15:45: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.573006 -3.278746)', '2026-05-28 15:45:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573037 -3.278784)'), GeomFromEWKT('SRID=4674;POINT (-38.573006 -3.278746)'))) / (select extract(epoch from '2026-05-28 15:45:59'::timestamp) - extract(epoch from '2026-05-28 15:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573037 -3.278784)'), GeomFromEWKT('SRID=4674;POINT (-38.573006 -3.278746)'))) / (select extract(epoch from '2026-05-28 15:45:59'::timestamp) - extract(epoch from '2026-05-28 15: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.572956 -3.27868)', '2026-05-28 15:46:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573006 -3.278746)'), GeomFromEWKT('SRID=4674;POINT (-38.572956 -3.27868)'))) / (select extract(epoch from '2026-05-28 15:46:06'::timestamp) - extract(epoch from '2026-05-28 15:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573006 -3.278746)'), GeomFromEWKT('SRID=4674;POINT (-38.572956 -3.27868)'))) / (select extract(epoch from '2026-05-28 15:46:06'::timestamp) - extract(epoch from '2026-05-28 15: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.572933 -3.278645)', '2026-05-28 15:46:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572956 -3.27868)'), GeomFromEWKT('SRID=4674;POINT (-38.572933 -3.278645)'))) / (select extract(epoch from '2026-05-28 15:46:10'::timestamp) - extract(epoch from '2026-05-28 15:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572956 -3.27868)'), GeomFromEWKT('SRID=4674;POINT (-38.572933 -3.278645)'))) / (select extract(epoch from '2026-05-28 15:46:10'::timestamp) - extract(epoch from '2026-05-28 15:46: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.57292 -3.278624)', '2026-05-28 15:46:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572933 -3.278645)'), GeomFromEWKT('SRID=4674;POINT (-38.57292 -3.278624)'))) / (select extract(epoch from '2026-05-28 15:46:12'::timestamp) - extract(epoch from '2026-05-28 15:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572933 -3.278645)'), GeomFromEWKT('SRID=4674;POINT (-38.57292 -3.278624)'))) / (select extract(epoch from '2026-05-28 15:46:12'::timestamp) - extract(epoch from '2026-05-28 15:46: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.572872 -3.278549)', '2026-05-28 15:46:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57292 -3.278624)'), GeomFromEWKT('SRID=4674;POINT (-38.572872 -3.278549)'))) / (select extract(epoch from '2026-05-28 15:46:19'::timestamp) - extract(epoch from '2026-05-28 15:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57292 -3.278624)'), GeomFromEWKT('SRID=4674;POINT (-38.572872 -3.278549)'))) / (select extract(epoch from '2026-05-28 15:46:19'::timestamp) - extract(epoch from '2026-05-28 15:46: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.572822 -3.278483)', '2026-05-28 15:46:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572872 -3.278549)'), GeomFromEWKT('SRID=4674;POINT (-38.572822 -3.278483)'))) / (select extract(epoch from '2026-05-28 15:46:25'::timestamp) - extract(epoch from '2026-05-28 15:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572872 -3.278549)'), GeomFromEWKT('SRID=4674;POINT (-38.572822 -3.278483)'))) / (select extract(epoch from '2026-05-28 15:46:25'::timestamp) - extract(epoch from '2026-05-28 15:46:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572774 -3.278419)', '2026-05-28 15:46:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572822 -3.278483)'), GeomFromEWKT('SRID=4674;POINT (-38.572774 -3.278419)'))) / (select extract(epoch from '2026-05-28 15:46:31'::timestamp) - extract(epoch from '2026-05-28 15:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572822 -3.278483)'), GeomFromEWKT('SRID=4674;POINT (-38.572774 -3.278419)'))) / (select extract(epoch from '2026-05-28 15:46:31'::timestamp) - extract(epoch from '2026-05-28 15: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.57272 -3.278351)', '2026-05-28 15:46:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572774 -3.278419)'), GeomFromEWKT('SRID=4674;POINT (-38.57272 -3.278351)'))) / (select extract(epoch from '2026-05-28 15:46:38'::timestamp) - extract(epoch from '2026-05-28 15:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572774 -3.278419)'), GeomFromEWKT('SRID=4674;POINT (-38.57272 -3.278351)'))) / (select extract(epoch from '2026-05-28 15:46:38'::timestamp) - extract(epoch from '2026-05-28 15:46: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.572697 -3.278312)', '2026-05-28 15:46:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57272 -3.278351)'), GeomFromEWKT('SRID=4674;POINT (-38.572697 -3.278312)'))) / (select extract(epoch from '2026-05-28 15:46:41'::timestamp) - extract(epoch from '2026-05-28 15:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57272 -3.278351)'), GeomFromEWKT('SRID=4674;POINT (-38.572697 -3.278312)'))) / (select extract(epoch from '2026-05-28 15:46:41'::timestamp) - extract(epoch from '2026-05-28 15:46:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572688 -3.27829)', '2026-05-28 15:46:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572697 -3.278312)'), GeomFromEWKT('SRID=4674;POINT (-38.572688 -3.27829)'))) / (select extract(epoch from '2026-05-28 15:46:43'::timestamp) - extract(epoch from '2026-05-28 15:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572697 -3.278312)'), GeomFromEWKT('SRID=4674;POINT (-38.572688 -3.27829)'))) / (select extract(epoch from '2026-05-28 15:46:43'::timestamp) - extract(epoch from '2026-05-28 15:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572677 -3.278273)', '2026-05-28 15:46:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572688 -3.27829)'), GeomFromEWKT('SRID=4674;POINT (-38.572677 -3.278273)'))) / (select extract(epoch from '2026-05-28 15:46:45'::timestamp) - extract(epoch from '2026-05-28 15:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572688 -3.27829)'), GeomFromEWKT('SRID=4674;POINT (-38.572677 -3.278273)'))) / (select extract(epoch from '2026-05-28 15:46:45'::timestamp) - extract(epoch from '2026-05-28 15:46: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.57267 -3.278239)', '2026-05-28 15:46:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572677 -3.278273)'), GeomFromEWKT('SRID=4674;POINT (-38.57267 -3.278239)'))) / (select extract(epoch from '2026-05-28 15:46:48'::timestamp) - extract(epoch from '2026-05-28 15:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572677 -3.278273)'), GeomFromEWKT('SRID=4674;POINT (-38.57267 -3.278239)'))) / (select extract(epoch from '2026-05-28 15:46:48'::timestamp) - extract(epoch from '2026-05-28 15: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.57266 -3.278215)', '2026-05-28 15:46:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57267 -3.278239)'), GeomFromEWKT('SRID=4674;POINT (-38.57266 -3.278215)'))) / (select extract(epoch from '2026-05-28 15:46:50'::timestamp) - extract(epoch from '2026-05-28 15:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57267 -3.278239)'), GeomFromEWKT('SRID=4674;POINT (-38.57266 -3.278215)'))) / (select extract(epoch from '2026-05-28 15:46:50'::timestamp) - extract(epoch from '2026-05-28 15:46: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.572644 -3.278173)', '2026-05-28 15:46:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57266 -3.278215)'), GeomFromEWKT('SRID=4674;POINT (-38.572644 -3.278173)'))) / (select extract(epoch from '2026-05-28 15:46:53'::timestamp) - extract(epoch from '2026-05-28 15:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57266 -3.278215)'), GeomFromEWKT('SRID=4674;POINT (-38.572644 -3.278173)'))) / (select extract(epoch from '2026-05-28 15:46:53'::timestamp) - extract(epoch from '2026-05-28 15:46: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.572642 -3.278158)', '2026-05-28 15:46:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572644 -3.278173)'), GeomFromEWKT('SRID=4674;POINT (-38.572642 -3.278158)'))) / (select extract(epoch from '2026-05-28 15:46:54'::timestamp) - extract(epoch from '2026-05-28 15:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572644 -3.278173)'), GeomFromEWKT('SRID=4674;POINT (-38.572642 -3.278158)'))) / (select extract(epoch from '2026-05-28 15:46:54'::timestamp) - extract(epoch from '2026-05-28 15:46: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.57263 -3.278107)', '2026-05-28 15:46:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572642 -3.278158)'), GeomFromEWKT('SRID=4674;POINT (-38.57263 -3.278107)'))) / (select extract(epoch from '2026-05-28 15:46:57'::timestamp) - extract(epoch from '2026-05-28 15:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572642 -3.278158)'), GeomFromEWKT('SRID=4674;POINT (-38.57263 -3.278107)'))) / (select extract(epoch from '2026-05-28 15:46:57'::timestamp) - extract(epoch from '2026-05-28 15:46: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.572591 -3.278021)', '2026-05-28 15:47:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57263 -3.278107)'), GeomFromEWKT('SRID=4674;POINT (-38.572591 -3.278021)'))) / (select extract(epoch from '2026-05-28 15:47:02'::timestamp) - extract(epoch from '2026-05-28 15:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57263 -3.278107)'), GeomFromEWKT('SRID=4674;POINT (-38.572591 -3.278021)'))) / (select extract(epoch from '2026-05-28 15:47:02'::timestamp) - extract(epoch from '2026-05-28 15:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572584 -3.278006)', '2026-05-28 15:47:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572591 -3.278021)'), GeomFromEWKT('SRID=4674;POINT (-38.572584 -3.278006)'))) / (select extract(epoch from '2026-05-28 15:47:03'::timestamp) - extract(epoch from '2026-05-28 15:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572591 -3.278021)'), GeomFromEWKT('SRID=4674;POINT (-38.572584 -3.278006)'))) / (select extract(epoch from '2026-05-28 15:47:03'::timestamp) - extract(epoch from '2026-05-28 15:47: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.572557 -3.277944)', '2026-05-28 15:47:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572584 -3.278006)'), GeomFromEWKT('SRID=4674;POINT (-38.572557 -3.277944)'))) / (select extract(epoch from '2026-05-28 15:47:07'::timestamp) - extract(epoch from '2026-05-28 15:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572584 -3.278006)'), GeomFromEWKT('SRID=4674;POINT (-38.572557 -3.277944)'))) / (select extract(epoch from '2026-05-28 15:47:07'::timestamp) - extract(epoch from '2026-05-28 15:47:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572525 -3.277896)', '2026-05-28 15:47:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572557 -3.277944)'), GeomFromEWKT('SRID=4674;POINT (-38.572525 -3.277896)'))) / (select extract(epoch from '2026-05-28 15:47:10'::timestamp) - extract(epoch from '2026-05-28 15:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572557 -3.277944)'), GeomFromEWKT('SRID=4674;POINT (-38.572525 -3.277896)'))) / (select extract(epoch from '2026-05-28 15:47:10'::timestamp) - extract(epoch from '2026-05-28 15:47: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.572508 -3.277859)', '2026-05-28 15:47:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572525 -3.277896)'), GeomFromEWKT('SRID=4674;POINT (-38.572508 -3.277859)'))) / (select extract(epoch from '2026-05-28 15:47:12'::timestamp) - extract(epoch from '2026-05-28 15:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572525 -3.277896)'), GeomFromEWKT('SRID=4674;POINT (-38.572508 -3.277859)'))) / (select extract(epoch from '2026-05-28 15:47:12'::timestamp) - extract(epoch from '2026-05-28 15: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.572486 -3.277828)', '2026-05-28 15:47:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572508 -3.277859)'), GeomFromEWKT('SRID=4674;POINT (-38.572486 -3.277828)'))) / (select extract(epoch from '2026-05-28 15:47:14'::timestamp) - extract(epoch from '2026-05-28 15:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572508 -3.277859)'), GeomFromEWKT('SRID=4674;POINT (-38.572486 -3.277828)'))) / (select extract(epoch from '2026-05-28 15:47:14'::timestamp) - extract(epoch from '2026-05-28 15:47: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.572463 -3.277802)', '2026-05-28 15:47:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572486 -3.277828)'), GeomFromEWKT('SRID=4674;POINT (-38.572463 -3.277802)'))) / (select extract(epoch from '2026-05-28 15:47:16'::timestamp) - extract(epoch from '2026-05-28 15:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572486 -3.277828)'), GeomFromEWKT('SRID=4674;POINT (-38.572463 -3.277802)'))) / (select extract(epoch from '2026-05-28 15:47:16'::timestamp) - extract(epoch from '2026-05-28 15: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.572456 -3.277784)', '2026-05-28 15:47:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572463 -3.277802)'), GeomFromEWKT('SRID=4674;POINT (-38.572456 -3.277784)'))) / (select extract(epoch from '2026-05-28 15:47:17'::timestamp) - extract(epoch from '2026-05-28 15:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572463 -3.277802)'), GeomFromEWKT('SRID=4674;POINT (-38.572456 -3.277784)'))) / (select extract(epoch from '2026-05-28 15:47:17'::timestamp) - extract(epoch from '2026-05-28 15:47:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572423 -3.277739)', '2026-05-28 15:47:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572456 -3.277784)'), GeomFromEWKT('SRID=4674;POINT (-38.572423 -3.277739)'))) / (select extract(epoch from '2026-05-28 15:47:20'::timestamp) - extract(epoch from '2026-05-28 15:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572456 -3.277784)'), GeomFromEWKT('SRID=4674;POINT (-38.572423 -3.277739)'))) / (select extract(epoch from '2026-05-28 15:47:20'::timestamp) - extract(epoch from '2026-05-28 15:47: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.572415 -3.277725)', '2026-05-28 15:47:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572423 -3.277739)'), GeomFromEWKT('SRID=4674;POINT (-38.572415 -3.277725)'))) / (select extract(epoch from '2026-05-28 15:47:21'::timestamp) - extract(epoch from '2026-05-28 15:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572423 -3.277739)'), GeomFromEWKT('SRID=4674;POINT (-38.572415 -3.277725)'))) / (select extract(epoch from '2026-05-28 15:47:21'::timestamp) - extract(epoch from '2026-05-28 15: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.572349 -3.277608)', '2026-05-28 15:47:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572415 -3.277725)'), GeomFromEWKT('SRID=4674;POINT (-38.572349 -3.277608)'))) / (select extract(epoch from '2026-05-28 15:47:28'::timestamp) - extract(epoch from '2026-05-28 15:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572415 -3.277725)'), GeomFromEWKT('SRID=4674;POINT (-38.572349 -3.277608)'))) / (select extract(epoch from '2026-05-28 15:47:28'::timestamp) - extract(epoch from '2026-05-28 15:47:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572294 -3.277522)', '2026-05-28 15:47:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572349 -3.277608)'), GeomFromEWKT('SRID=4674;POINT (-38.572294 -3.277522)'))) / (select extract(epoch from '2026-05-28 15:47:33'::timestamp) - extract(epoch from '2026-05-28 15:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572349 -3.277608)'), GeomFromEWKT('SRID=4674;POINT (-38.572294 -3.277522)'))) / (select extract(epoch from '2026-05-28 15:47:33'::timestamp) - extract(epoch from '2026-05-28 15:47:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572282 -3.277509)', '2026-05-28 15:47:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572294 -3.277522)'), GeomFromEWKT('SRID=4674;POINT (-38.572282 -3.277509)'))) / (select extract(epoch from '2026-05-28 15:47:34'::timestamp) - extract(epoch from '2026-05-28 15:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572294 -3.277522)'), GeomFromEWKT('SRID=4674;POINT (-38.572282 -3.277509)'))) / (select extract(epoch from '2026-05-28 15:47:34'::timestamp) - extract(epoch from '2026-05-28 15:47: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.572243 -3.27746)', '2026-05-28 15:47:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572282 -3.277509)'), GeomFromEWKT('SRID=4674;POINT (-38.572243 -3.27746)'))) / (select extract(epoch from '2026-05-28 15:47:38'::timestamp) - extract(epoch from '2026-05-28 15:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572282 -3.277509)'), GeomFromEWKT('SRID=4674;POINT (-38.572243 -3.27746)'))) / (select extract(epoch from '2026-05-28 15:47:38'::timestamp) - extract(epoch from '2026-05-28 15:47:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572183 -3.277362)', '2026-05-28 15:47:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572243 -3.27746)'), GeomFromEWKT('SRID=4674;POINT (-38.572183 -3.277362)'))) / (select extract(epoch from '2026-05-28 15:47:44'::timestamp) - extract(epoch from '2026-05-28 15:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572243 -3.27746)'), GeomFromEWKT('SRID=4674;POINT (-38.572183 -3.277362)'))) / (select extract(epoch from '2026-05-28 15:47:44'::timestamp) - extract(epoch from '2026-05-28 15:47:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572173 -3.277346)', '2026-05-28 15:47:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572183 -3.277362)'), GeomFromEWKT('SRID=4674;POINT (-38.572173 -3.277346)'))) / (select extract(epoch from '2026-05-28 15:47:45'::timestamp) - extract(epoch from '2026-05-28 15:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572183 -3.277362)'), GeomFromEWKT('SRID=4674;POINT (-38.572173 -3.277346)'))) / (select extract(epoch from '2026-05-28 15:47:45'::timestamp) - extract(epoch from '2026-05-28 15:47: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.572152 -3.277323)', '2026-05-28 15:47:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572173 -3.277346)'), GeomFromEWKT('SRID=4674;POINT (-38.572152 -3.277323)'))) / (select extract(epoch from '2026-05-28 15:47:47'::timestamp) - extract(epoch from '2026-05-28 15:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572173 -3.277346)'), GeomFromEWKT('SRID=4674;POINT (-38.572152 -3.277323)'))) / (select extract(epoch from '2026-05-28 15:47:47'::timestamp) - extract(epoch from '2026-05-28 15: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.572146 -3.277306)', '2026-05-28 15:47:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572152 -3.277323)'), GeomFromEWKT('SRID=4674;POINT (-38.572146 -3.277306)'))) / (select extract(epoch from '2026-05-28 15:47:48'::timestamp) - extract(epoch from '2026-05-28 15:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572152 -3.277323)'), GeomFromEWKT('SRID=4674;POINT (-38.572146 -3.277306)'))) / (select extract(epoch from '2026-05-28 15:47:48'::timestamp) - extract(epoch from '2026-05-28 15:47:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572097 -3.277248)', '2026-05-28 15:47:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572146 -3.277306)'), GeomFromEWKT('SRID=4674;POINT (-38.572097 -3.277248)'))) / (select extract(epoch from '2026-05-28 15:47:52'::timestamp) - extract(epoch from '2026-05-28 15:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572146 -3.277306)'), GeomFromEWKT('SRID=4674;POINT (-38.572097 -3.277248)'))) / (select extract(epoch from '2026-05-28 15:47:52'::timestamp) - extract(epoch from '2026-05-28 15:47: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.572058 -3.277187)', '2026-05-28 15:47:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572097 -3.277248)'), GeomFromEWKT('SRID=4674;POINT (-38.572058 -3.277187)'))) / (select extract(epoch from '2026-05-28 15:47:56'::timestamp) - extract(epoch from '2026-05-28 15:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572097 -3.277248)'), GeomFromEWKT('SRID=4674;POINT (-38.572058 -3.277187)'))) / (select extract(epoch from '2026-05-28 15:47:56'::timestamp) - extract(epoch from '2026-05-28 15: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.572011 -3.277129)', '2026-05-28 15:48:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572058 -3.277187)'), GeomFromEWKT('SRID=4674;POINT (-38.572011 -3.277129)'))) / (select extract(epoch from '2026-05-28 15:48:00'::timestamp) - extract(epoch from '2026-05-28 15:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572058 -3.277187)'), GeomFromEWKT('SRID=4674;POINT (-38.572011 -3.277129)'))) / (select extract(epoch from '2026-05-28 15:48:00'::timestamp) - extract(epoch from '2026-05-28 15:47: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.57199 -3.277107)', '2026-05-28 15:48:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572011 -3.277129)'), GeomFromEWKT('SRID=4674;POINT (-38.57199 -3.277107)'))) / (select extract(epoch from '2026-05-28 15:48:02'::timestamp) - extract(epoch from '2026-05-28 15:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572011 -3.277129)'), GeomFromEWKT('SRID=4674;POINT (-38.57199 -3.277107)'))) / (select extract(epoch from '2026-05-28 15:48:02'::timestamp) - extract(epoch from '2026-05-28 15: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.571965 -3.277082)', '2026-05-28 15:48:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57199 -3.277107)'), GeomFromEWKT('SRID=4674;POINT (-38.571965 -3.277082)'))) / (select extract(epoch from '2026-05-28 15:48:04'::timestamp) - extract(epoch from '2026-05-28 15:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57199 -3.277107)'), GeomFromEWKT('SRID=4674;POINT (-38.571965 -3.277082)'))) / (select extract(epoch from '2026-05-28 15:48:04'::timestamp) - extract(epoch from '2026-05-28 15:48: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.571908 -3.277006)', '2026-05-28 15:48:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571965 -3.277082)'), GeomFromEWKT('SRID=4674;POINT (-38.571908 -3.277006)'))) / (select extract(epoch from '2026-05-28 15:48:09'::timestamp) - extract(epoch from '2026-05-28 15:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571965 -3.277082)'), GeomFromEWKT('SRID=4674;POINT (-38.571908 -3.277006)'))) / (select extract(epoch from '2026-05-28 15:48:09'::timestamp) - extract(epoch from '2026-05-28 15:48: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.571853 -3.276914)', '2026-05-28 15:48:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571908 -3.277006)'), GeomFromEWKT('SRID=4674;POINT (-38.571853 -3.276914)'))) / (select extract(epoch from '2026-05-28 15:48:15'::timestamp) - extract(epoch from '2026-05-28 15:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571908 -3.277006)'), GeomFromEWKT('SRID=4674;POINT (-38.571853 -3.276914)'))) / (select extract(epoch from '2026-05-28 15:48:15'::timestamp) - extract(epoch from '2026-05-28 15:48:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571846 -3.276901)', '2026-05-28 15:48:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571853 -3.276914)'), GeomFromEWKT('SRID=4674;POINT (-38.571846 -3.276901)'))) / (select extract(epoch from '2026-05-28 15:48:16'::timestamp) - extract(epoch from '2026-05-28 15:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571853 -3.276914)'), GeomFromEWKT('SRID=4674;POINT (-38.571846 -3.276901)'))) / (select extract(epoch from '2026-05-28 15:48:16'::timestamp) - extract(epoch from '2026-05-28 15:48:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571834 -3.276864)', '2026-05-28 15:48:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571846 -3.276901)'), GeomFromEWKT('SRID=4674;POINT (-38.571834 -3.276864)'))) / (select extract(epoch from '2026-05-28 15:48:18'::timestamp) - extract(epoch from '2026-05-28 15:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571846 -3.276901)'), GeomFromEWKT('SRID=4674;POINT (-38.571834 -3.276864)'))) / (select extract(epoch from '2026-05-28 15:48:18'::timestamp) - extract(epoch from '2026-05-28 15:48: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.571821 -3.276849)', '2026-05-28 15:48:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571834 -3.276864)'), GeomFromEWKT('SRID=4674;POINT (-38.571821 -3.276849)'))) / (select extract(epoch from '2026-05-28 15:48:19'::timestamp) - extract(epoch from '2026-05-28 15:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571834 -3.276864)'), GeomFromEWKT('SRID=4674;POINT (-38.571821 -3.276849)'))) / (select extract(epoch from '2026-05-28 15:48:19'::timestamp) - extract(epoch from '2026-05-28 15:48: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.57181 -3.27683)', '2026-05-28 15:48:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571821 -3.276849)'), GeomFromEWKT('SRID=4674;POINT (-38.57181 -3.27683)'))) / (select extract(epoch from '2026-05-28 15:48:20'::timestamp) - extract(epoch from '2026-05-28 15:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571821 -3.276849)'), GeomFromEWKT('SRID=4674;POINT (-38.57181 -3.27683)'))) / (select extract(epoch from '2026-05-28 15:48:20'::timestamp) - extract(epoch from '2026-05-28 15:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57177 -3.276762)', '2026-05-28 15:48:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57181 -3.27683)'), GeomFromEWKT('SRID=4674;POINT (-38.57177 -3.276762)'))) / (select extract(epoch from '2026-05-28 15:48:24'::timestamp) - extract(epoch from '2026-05-28 15:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57181 -3.27683)'), GeomFromEWKT('SRID=4674;POINT (-38.57177 -3.276762)'))) / (select extract(epoch from '2026-05-28 15:48:24'::timestamp) - extract(epoch from '2026-05-28 15:48:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571711 -3.276662)', '2026-05-28 15:48:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57177 -3.276762)'), GeomFromEWKT('SRID=4674;POINT (-38.571711 -3.276662)'))) / (select extract(epoch from '2026-05-28 15:48:30'::timestamp) - extract(epoch from '2026-05-28 15:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57177 -3.276762)'), GeomFromEWKT('SRID=4674;POINT (-38.571711 -3.276662)'))) / (select extract(epoch from '2026-05-28 15:48:30'::timestamp) - extract(epoch from '2026-05-28 15: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.571674 -3.276588)', '2026-05-28 15:48:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571711 -3.276662)'), GeomFromEWKT('SRID=4674;POINT (-38.571674 -3.276588)'))) / (select extract(epoch from '2026-05-28 15:48:35'::timestamp) - extract(epoch from '2026-05-28 15:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571711 -3.276662)'), GeomFromEWKT('SRID=4674;POINT (-38.571674 -3.276588)'))) / (select extract(epoch from '2026-05-28 15:48:35'::timestamp) - extract(epoch from '2026-05-28 15:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571622 -3.2765)', '2026-05-28 15:48:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571674 -3.276588)'), GeomFromEWKT('SRID=4674;POINT (-38.571622 -3.2765)'))) / (select extract(epoch from '2026-05-28 15:48:41'::timestamp) - extract(epoch from '2026-05-28 15:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571674 -3.276588)'), GeomFromEWKT('SRID=4674;POINT (-38.571622 -3.2765)'))) / (select extract(epoch from '2026-05-28 15:48:41'::timestamp) - extract(epoch from '2026-05-28 15:48:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571563 -3.276408)', '2026-05-28 15:48:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571622 -3.2765)'), GeomFromEWKT('SRID=4674;POINT (-38.571563 -3.276408)'))) / (select extract(epoch from '2026-05-28 15:48:47'::timestamp) - extract(epoch from '2026-05-28 15:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571622 -3.2765)'), GeomFromEWKT('SRID=4674;POINT (-38.571563 -3.276408)'))) / (select extract(epoch from '2026-05-28 15:48:47'::timestamp) - extract(epoch from '2026-05-28 15:48: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.571496 -3.276305)', '2026-05-28 15:48:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571563 -3.276408)'), GeomFromEWKT('SRID=4674;POINT (-38.571496 -3.276305)'))) / (select extract(epoch from '2026-05-28 15:48:54'::timestamp) - extract(epoch from '2026-05-28 15:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571563 -3.276408)'), GeomFromEWKT('SRID=4674;POINT (-38.571496 -3.276305)'))) / (select extract(epoch from '2026-05-28 15:48:54'::timestamp) - extract(epoch from '2026-05-28 15:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571486 -3.27629)', '2026-05-28 15:48:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571496 -3.276305)'), GeomFromEWKT('SRID=4674;POINT (-38.571486 -3.27629)'))) / (select extract(epoch from '2026-05-28 15:48:55'::timestamp) - extract(epoch from '2026-05-28 15:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571496 -3.276305)'), GeomFromEWKT('SRID=4674;POINT (-38.571486 -3.27629)'))) / (select extract(epoch from '2026-05-28 15:48:55'::timestamp) - extract(epoch from '2026-05-28 15: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.571452 -3.276247)', '2026-05-28 15:48:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571486 -3.27629)'), GeomFromEWKT('SRID=4674;POINT (-38.571452 -3.276247)'))) / (select extract(epoch from '2026-05-28 15:48:58'::timestamp) - extract(epoch from '2026-05-28 15:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571486 -3.27629)'), GeomFromEWKT('SRID=4674;POINT (-38.571452 -3.276247)'))) / (select extract(epoch from '2026-05-28 15:48:58'::timestamp) - extract(epoch from '2026-05-28 15:48:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571394 -3.276177)', '2026-05-28 15:49:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571452 -3.276247)'), GeomFromEWKT('SRID=4674;POINT (-38.571394 -3.276177)'))) / (select extract(epoch from '2026-05-28 15:49:03'::timestamp) - extract(epoch from '2026-05-28 15:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571452 -3.276247)'), GeomFromEWKT('SRID=4674;POINT (-38.571394 -3.276177)'))) / (select extract(epoch from '2026-05-28 15:49:03'::timestamp) - extract(epoch from '2026-05-28 15:48:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571325 -3.276091)', '2026-05-28 15:49:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571394 -3.276177)'), GeomFromEWKT('SRID=4674;POINT (-38.571325 -3.276091)'))) / (select extract(epoch from '2026-05-28 15:49:09'::timestamp) - extract(epoch from '2026-05-28 15:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571394 -3.276177)'), GeomFromEWKT('SRID=4674;POINT (-38.571325 -3.276091)'))) / (select extract(epoch from '2026-05-28 15:49:09'::timestamp) - extract(epoch from '2026-05-28 15:49:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571268 -3.276028)', '2026-05-28 15:49:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571325 -3.276091)'), GeomFromEWKT('SRID=4674;POINT (-38.571268 -3.276028)'))) / (select extract(epoch from '2026-05-28 15:49:14'::timestamp) - extract(epoch from '2026-05-28 15:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571325 -3.276091)'), GeomFromEWKT('SRID=4674;POINT (-38.571268 -3.276028)'))) / (select extract(epoch from '2026-05-28 15:49:14'::timestamp) - extract(epoch from '2026-05-28 15:49: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.57119 -3.275951)', '2026-05-28 15:49:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571268 -3.276028)'), GeomFromEWKT('SRID=4674;POINT (-38.57119 -3.275951)'))) / (select extract(epoch from '2026-05-28 15:49:21'::timestamp) - extract(epoch from '2026-05-28 15:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571268 -3.276028)'), GeomFromEWKT('SRID=4674;POINT (-38.57119 -3.275951)'))) / (select extract(epoch from '2026-05-28 15:49:21'::timestamp) - extract(epoch from '2026-05-28 15:49: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.571119 -3.275898)', '2026-05-28 15:49:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57119 -3.275951)'), GeomFromEWKT('SRID=4674;POINT (-38.571119 -3.275898)'))) / (select extract(epoch from '2026-05-28 15:49:27'::timestamp) - extract(epoch from '2026-05-28 15:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57119 -3.275951)'), GeomFromEWKT('SRID=4674;POINT (-38.571119 -3.275898)'))) / (select extract(epoch from '2026-05-28 15:49:27'::timestamp) - extract(epoch from '2026-05-28 15:49:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571051 -3.275837)', '2026-05-28 15:49:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571119 -3.275898)'), GeomFromEWKT('SRID=4674;POINT (-38.571051 -3.275837)'))) / (select extract(epoch from '2026-05-28 15:49:33'::timestamp) - extract(epoch from '2026-05-28 15:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571119 -3.275898)'), GeomFromEWKT('SRID=4674;POINT (-38.571051 -3.275837)'))) / (select extract(epoch from '2026-05-28 15:49:33'::timestamp) - extract(epoch from '2026-05-28 15:49: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.571011 -3.275796)', '2026-05-28 15:49:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571051 -3.275837)'), GeomFromEWKT('SRID=4674;POINT (-38.571011 -3.275796)'))) / (select extract(epoch from '2026-05-28 15:49:37'::timestamp) - extract(epoch from '2026-05-28 15:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571051 -3.275837)'), GeomFromEWKT('SRID=4674;POINT (-38.571011 -3.275796)'))) / (select extract(epoch from '2026-05-28 15:49:37'::timestamp) - extract(epoch from '2026-05-28 15: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.570985 -3.27578)', '2026-05-28 15:49:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571011 -3.275796)'), GeomFromEWKT('SRID=4674;POINT (-38.570985 -3.27578)'))) / (select extract(epoch from '2026-05-28 15:49:39'::timestamp) - extract(epoch from '2026-05-28 15:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571011 -3.275796)'), GeomFromEWKT('SRID=4674;POINT (-38.570985 -3.27578)'))) / (select extract(epoch from '2026-05-28 15:49:39'::timestamp) - extract(epoch from '2026-05-28 15:49:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570928 -3.275714)', '2026-05-28 15:49:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570985 -3.27578)'), GeomFromEWKT('SRID=4674;POINT (-38.570928 -3.275714)'))) / (select extract(epoch from '2026-05-28 15:49:45'::timestamp) - extract(epoch from '2026-05-28 15:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570985 -3.27578)'), GeomFromEWKT('SRID=4674;POINT (-38.570928 -3.275714)'))) / (select extract(epoch from '2026-05-28 15:49:45'::timestamp) - extract(epoch from '2026-05-28 15:49: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.570868 -3.27564)', '2026-05-28 15:49:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570928 -3.275714)'), GeomFromEWKT('SRID=4674;POINT (-38.570868 -3.27564)'))) / (select extract(epoch from '2026-05-28 15:49:51'::timestamp) - extract(epoch from '2026-05-28 15:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570928 -3.275714)'), GeomFromEWKT('SRID=4674;POINT (-38.570868 -3.27564)'))) / (select extract(epoch from '2026-05-28 15:49:51'::timestamp) - extract(epoch from '2026-05-28 15:49: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.570803 -3.275546)', '2026-05-28 15:49:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570868 -3.27564)'), GeomFromEWKT('SRID=4674;POINT (-38.570803 -3.275546)'))) / (select extract(epoch from '2026-05-28 15:49:57'::timestamp) - extract(epoch from '2026-05-28 15:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570868 -3.27564)'), GeomFromEWKT('SRID=4674;POINT (-38.570803 -3.275546)'))) / (select extract(epoch from '2026-05-28 15:49:57'::timestamp) - extract(epoch from '2026-05-28 15:49:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570743 -3.275438)', '2026-05-28 15:50:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570803 -3.275546)'), GeomFromEWKT('SRID=4674;POINT (-38.570743 -3.275438)'))) / (select extract(epoch from '2026-05-28 15:50:04'::timestamp) - extract(epoch from '2026-05-28 15:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570803 -3.275546)'), GeomFromEWKT('SRID=4674;POINT (-38.570743 -3.275438)'))) / (select extract(epoch from '2026-05-28 15:50:04'::timestamp) - extract(epoch from '2026-05-28 15:49: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.570716 -3.275347)', '2026-05-28 15:50:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570743 -3.275438)'), GeomFromEWKT('SRID=4674;POINT (-38.570716 -3.275347)'))) / (select extract(epoch from '2026-05-28 15:50:09'::timestamp) - extract(epoch from '2026-05-28 15:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570743 -3.275438)'), GeomFromEWKT('SRID=4674;POINT (-38.570716 -3.275347)'))) / (select extract(epoch from '2026-05-28 15:50:09'::timestamp) - extract(epoch from '2026-05-28 15: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.570694 -3.275248)', '2026-05-28 15:50:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570716 -3.275347)'), GeomFromEWKT('SRID=4674;POINT (-38.570694 -3.275248)'))) / (select extract(epoch from '2026-05-28 15:50:14'::timestamp) - extract(epoch from '2026-05-28 15:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570716 -3.275347)'), GeomFromEWKT('SRID=4674;POINT (-38.570694 -3.275248)'))) / (select extract(epoch from '2026-05-28 15:50:14'::timestamp) - extract(epoch from '2026-05-28 15:50:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570658 -3.27514)', '2026-05-28 15:50:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570694 -3.275248)'), GeomFromEWKT('SRID=4674;POINT (-38.570658 -3.27514)'))) / (select extract(epoch from '2026-05-28 15:50:20'::timestamp) - extract(epoch from '2026-05-28 15:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570694 -3.275248)'), GeomFromEWKT('SRID=4674;POINT (-38.570658 -3.27514)'))) / (select extract(epoch from '2026-05-28 15:50:20'::timestamp) - extract(epoch from '2026-05-28 15: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.570647 -3.27512)', '2026-05-28 15:50:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570658 -3.27514)'), GeomFromEWKT('SRID=4674;POINT (-38.570647 -3.27512)'))) / (select extract(epoch from '2026-05-28 15:50:21'::timestamp) - extract(epoch from '2026-05-28 15:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570658 -3.27514)'), GeomFromEWKT('SRID=4674;POINT (-38.570647 -3.27512)'))) / (select extract(epoch from '2026-05-28 15:50:21'::timestamp) - extract(epoch from '2026-05-28 15:50: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.570625 -3.275072)', '2026-05-28 15:50:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570647 -3.27512)'), GeomFromEWKT('SRID=4674;POINT (-38.570625 -3.275072)'))) / (select extract(epoch from '2026-05-28 15:50:24'::timestamp) - extract(epoch from '2026-05-28 15:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570647 -3.27512)'), GeomFromEWKT('SRID=4674;POINT (-38.570625 -3.275072)'))) / (select extract(epoch from '2026-05-28 15:50:24'::timestamp) - extract(epoch from '2026-05-28 15:50:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570574 -3.274998)', '2026-05-28 15:50:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570625 -3.275072)'), GeomFromEWKT('SRID=4674;POINT (-38.570574 -3.274998)'))) / (select extract(epoch from '2026-05-28 15:50:29'::timestamp) - extract(epoch from '2026-05-28 15:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570625 -3.275072)'), GeomFromEWKT('SRID=4674;POINT (-38.570574 -3.274998)'))) / (select extract(epoch from '2026-05-28 15:50:29'::timestamp) - extract(epoch from '2026-05-28 15:50:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57056 -3.274971)', '2026-05-28 15:50:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570574 -3.274998)'), GeomFromEWKT('SRID=4674;POINT (-38.57056 -3.274971)'))) / (select extract(epoch from '2026-05-28 15:50:31'::timestamp) - extract(epoch from '2026-05-28 15:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570574 -3.274998)'), GeomFromEWKT('SRID=4674;POINT (-38.57056 -3.274971)'))) / (select extract(epoch from '2026-05-28 15:50:31'::timestamp) - extract(epoch from '2026-05-28 15:50:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570528 -3.274932)', '2026-05-28 15:50:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57056 -3.274971)'), GeomFromEWKT('SRID=4674;POINT (-38.570528 -3.274932)'))) / (select extract(epoch from '2026-05-28 15:50:34'::timestamp) - extract(epoch from '2026-05-28 15:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57056 -3.274971)'), GeomFromEWKT('SRID=4674;POINT (-38.570528 -3.274932)'))) / (select extract(epoch from '2026-05-28 15:50:34'::timestamp) - extract(epoch from '2026-05-28 15:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570508 -3.274903)', '2026-05-28 15:50:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570528 -3.274932)'), GeomFromEWKT('SRID=4674;POINT (-38.570508 -3.274903)'))) / (select extract(epoch from '2026-05-28 15:50:37'::timestamp) - extract(epoch from '2026-05-28 15:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570528 -3.274932)'), GeomFromEWKT('SRID=4674;POINT (-38.570508 -3.274903)'))) / (select extract(epoch from '2026-05-28 15:50:37'::timestamp) - extract(epoch from '2026-05-28 15: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.570496 -3.274893)', '2026-05-28 15:50:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570508 -3.274903)'), GeomFromEWKT('SRID=4674;POINT (-38.570496 -3.274893)'))) / (select extract(epoch from '2026-05-28 15:50:38'::timestamp) - extract(epoch from '2026-05-28 15:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570508 -3.274903)'), GeomFromEWKT('SRID=4674;POINT (-38.570496 -3.274893)'))) / (select extract(epoch from '2026-05-28 15:50:38'::timestamp) - extract(epoch from '2026-05-28 15:50:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570447 -3.274827)', '2026-05-28 15:50:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570496 -3.274893)'), GeomFromEWKT('SRID=4674;POINT (-38.570447 -3.274827)'))) / (select extract(epoch from '2026-05-28 15:50:43'::timestamp) - extract(epoch from '2026-05-28 15:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570496 -3.274893)'), GeomFromEWKT('SRID=4674;POINT (-38.570447 -3.274827)'))) / (select extract(epoch from '2026-05-28 15:50:43'::timestamp) - extract(epoch from '2026-05-28 15:50:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57038 -3.274757)', '2026-05-28 15:50:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570447 -3.274827)'), GeomFromEWKT('SRID=4674;POINT (-38.57038 -3.274757)'))) / (select extract(epoch from '2026-05-28 15:50:49'::timestamp) - extract(epoch from '2026-05-28 15:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570447 -3.274827)'), GeomFromEWKT('SRID=4674;POINT (-38.57038 -3.274757)'))) / (select extract(epoch from '2026-05-28 15:50:49'::timestamp) - extract(epoch from '2026-05-28 15:50: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.570327 -3.274691)', '2026-05-28 15:50:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57038 -3.274757)'), GeomFromEWKT('SRID=4674;POINT (-38.570327 -3.274691)'))) / (select extract(epoch from '2026-05-28 15:50:54'::timestamp) - extract(epoch from '2026-05-28 15:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57038 -3.274757)'), GeomFromEWKT('SRID=4674;POINT (-38.570327 -3.274691)'))) / (select extract(epoch from '2026-05-28 15:50:54'::timestamp) - extract(epoch from '2026-05-28 15:50: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.570238 -3.274572)', '2026-05-28 15:51:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570327 -3.274691)'), GeomFromEWKT('SRID=4674;POINT (-38.570238 -3.274572)'))) / (select extract(epoch from '2026-05-28 15:51:02'::timestamp) - extract(epoch from '2026-05-28 15:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570327 -3.274691)'), GeomFromEWKT('SRID=4674;POINT (-38.570238 -3.274572)'))) / (select extract(epoch from '2026-05-28 15:51:02'::timestamp) - extract(epoch from '2026-05-28 15:50: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.570196 -3.274513)', '2026-05-28 15:51:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570238 -3.274572)'), GeomFromEWKT('SRID=4674;POINT (-38.570196 -3.274513)'))) / (select extract(epoch from '2026-05-28 15:51:06'::timestamp) - extract(epoch from '2026-05-28 15:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570238 -3.274572)'), GeomFromEWKT('SRID=4674;POINT (-38.570196 -3.274513)'))) / (select extract(epoch from '2026-05-28 15:51:06'::timestamp) - extract(epoch from '2026-05-28 15:51: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.570179 -3.274485)', '2026-05-28 15:51:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570196 -3.274513)'), GeomFromEWKT('SRID=4674;POINT (-38.570179 -3.274485)'))) / (select extract(epoch from '2026-05-28 15:51:08'::timestamp) - extract(epoch from '2026-05-28 15:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570196 -3.274513)'), GeomFromEWKT('SRID=4674;POINT (-38.570179 -3.274485)'))) / (select extract(epoch from '2026-05-28 15:51:08'::timestamp) - extract(epoch from '2026-05-28 15:51: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.570131 -3.274428)', '2026-05-28 15:51:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570179 -3.274485)'), GeomFromEWKT('SRID=4674;POINT (-38.570131 -3.274428)'))) / (select extract(epoch from '2026-05-28 15:51:13'::timestamp) - extract(epoch from '2026-05-28 15:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570179 -3.274485)'), GeomFromEWKT('SRID=4674;POINT (-38.570131 -3.274428)'))) / (select extract(epoch from '2026-05-28 15:51:13'::timestamp) - extract(epoch from '2026-05-28 15:51:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57003 -3.274309)', '2026-05-28 15:51:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570131 -3.274428)'), GeomFromEWKT('SRID=4674;POINT (-38.57003 -3.274309)'))) / (select extract(epoch from '2026-05-28 15:51:22'::timestamp) - extract(epoch from '2026-05-28 15:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570131 -3.274428)'), GeomFromEWKT('SRID=4674;POINT (-38.57003 -3.274309)'))) / (select extract(epoch from '2026-05-28 15:51:22'::timestamp) - extract(epoch from '2026-05-28 15:51: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.569953 -3.274224)', '2026-05-28 15:51:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57003 -3.274309)'), GeomFromEWKT('SRID=4674;POINT (-38.569953 -3.274224)'))) / (select extract(epoch from '2026-05-28 15:51:28'::timestamp) - extract(epoch from '2026-05-28 15:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57003 -3.274309)'), GeomFromEWKT('SRID=4674;POINT (-38.569953 -3.274224)'))) / (select extract(epoch from '2026-05-28 15:51:28'::timestamp) - extract(epoch from '2026-05-28 15:51: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.56989 -3.27416)', '2026-05-28 15:51:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569953 -3.274224)'), GeomFromEWKT('SRID=4674;POINT (-38.56989 -3.27416)'))) / (select extract(epoch from '2026-05-28 15:51:33'::timestamp) - extract(epoch from '2026-05-28 15:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569953 -3.274224)'), GeomFromEWKT('SRID=4674;POINT (-38.56989 -3.27416)'))) / (select extract(epoch from '2026-05-28 15:51:33'::timestamp) - extract(epoch from '2026-05-28 15: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.56985 -3.274087)', '2026-05-28 15:51:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56989 -3.27416)'), GeomFromEWKT('SRID=4674;POINT (-38.56985 -3.274087)'))) / (select extract(epoch from '2026-05-28 15:51:38'::timestamp) - extract(epoch from '2026-05-28 15:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56989 -3.27416)'), GeomFromEWKT('SRID=4674;POINT (-38.56985 -3.274087)'))) / (select extract(epoch from '2026-05-28 15:51:38'::timestamp) - extract(epoch from '2026-05-28 15:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569805 -3.273994)', '2026-05-28 15:51:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56985 -3.274087)'), GeomFromEWKT('SRID=4674;POINT (-38.569805 -3.273994)'))) / (select extract(epoch from '2026-05-28 15:51:44'::timestamp) - extract(epoch from '2026-05-28 15:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56985 -3.274087)'), GeomFromEWKT('SRID=4674;POINT (-38.569805 -3.273994)'))) / (select extract(epoch from '2026-05-28 15:51:44'::timestamp) - extract(epoch from '2026-05-28 15:51:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569741 -3.273901)', '2026-05-28 15:51:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569805 -3.273994)'), GeomFromEWKT('SRID=4674;POINT (-38.569741 -3.273901)'))) / (select extract(epoch from '2026-05-28 15:51:51'::timestamp) - extract(epoch from '2026-05-28 15:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569805 -3.273994)'), GeomFromEWKT('SRID=4674;POINT (-38.569741 -3.273901)'))) / (select extract(epoch from '2026-05-28 15:51:51'::timestamp) - extract(epoch from '2026-05-28 15:51:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56971 -3.273863)', '2026-05-28 15:51:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569741 -3.273901)'), GeomFromEWKT('SRID=4674;POINT (-38.56971 -3.273863)'))) / (select extract(epoch from '2026-05-28 15:51:54'::timestamp) - extract(epoch from '2026-05-28 15:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569741 -3.273901)'), GeomFromEWKT('SRID=4674;POINT (-38.56971 -3.273863)'))) / (select extract(epoch from '2026-05-28 15:51:54'::timestamp) - extract(epoch from '2026-05-28 15:51: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.569679 -3.273824)', '2026-05-28 15:51:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56971 -3.273863)'), GeomFromEWKT('SRID=4674;POINT (-38.569679 -3.273824)'))) / (select extract(epoch from '2026-05-28 15:51:57'::timestamp) - extract(epoch from '2026-05-28 15:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56971 -3.273863)'), GeomFromEWKT('SRID=4674;POINT (-38.569679 -3.273824)'))) / (select extract(epoch from '2026-05-28 15:51:57'::timestamp) - extract(epoch from '2026-05-28 15:51: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.569612 -3.273755)', '2026-05-28 15:52:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569679 -3.273824)'), GeomFromEWKT('SRID=4674;POINT (-38.569612 -3.273755)'))) / (select extract(epoch from '2026-05-28 15:52:03'::timestamp) - extract(epoch from '2026-05-28 15:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569679 -3.273824)'), GeomFromEWKT('SRID=4674;POINT (-38.569612 -3.273755)'))) / (select extract(epoch from '2026-05-28 15:52:03'::timestamp) - extract(epoch from '2026-05-28 15: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.569546 -3.27369)', '2026-05-28 15:52:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569612 -3.273755)'), GeomFromEWKT('SRID=4674;POINT (-38.569546 -3.27369)'))) / (select extract(epoch from '2026-05-28 15:52:09'::timestamp) - extract(epoch from '2026-05-28 15:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569612 -3.273755)'), GeomFromEWKT('SRID=4674;POINT (-38.569546 -3.27369)'))) / (select extract(epoch from '2026-05-28 15:52:09'::timestamp) - extract(epoch from '2026-05-28 15:52:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569502 -3.273641)', '2026-05-28 15:52:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569546 -3.27369)'), GeomFromEWKT('SRID=4674;POINT (-38.569502 -3.273641)'))) / (select extract(epoch from '2026-05-28 15:52:14'::timestamp) - extract(epoch from '2026-05-28 15:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569546 -3.27369)'), GeomFromEWKT('SRID=4674;POINT (-38.569502 -3.273641)'))) / (select extract(epoch from '2026-05-28 15:52:14'::timestamp) - extract(epoch from '2026-05-28 15:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569495 -3.273631)', '2026-05-28 15:52:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569502 -3.273641)'), GeomFromEWKT('SRID=4674;POINT (-38.569495 -3.273631)'))) / (select extract(epoch from '2026-05-28 15:52:15'::timestamp) - extract(epoch from '2026-05-28 15:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569502 -3.273641)'), GeomFromEWKT('SRID=4674;POINT (-38.569495 -3.273631)'))) / (select extract(epoch from '2026-05-28 15:52:15'::timestamp) - extract(epoch from '2026-05-28 15:52:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569466 -3.273605)', '2026-05-28 15:52:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569495 -3.273631)'), GeomFromEWKT('SRID=4674;POINT (-38.569466 -3.273605)'))) / (select extract(epoch from '2026-05-28 15:52:18'::timestamp) - extract(epoch from '2026-05-28 15:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569495 -3.273631)'), GeomFromEWKT('SRID=4674;POINT (-38.569466 -3.273605)'))) / (select extract(epoch from '2026-05-28 15:52:18'::timestamp) - extract(epoch from '2026-05-28 15:52: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.569441 -3.273571)', '2026-05-28 15:52:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569466 -3.273605)'), GeomFromEWKT('SRID=4674;POINT (-38.569441 -3.273571)'))) / (select extract(epoch from '2026-05-28 15:52:21'::timestamp) - extract(epoch from '2026-05-28 15:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569466 -3.273605)'), GeomFromEWKT('SRID=4674;POINT (-38.569441 -3.273571)'))) / (select extract(epoch from '2026-05-28 15:52:21'::timestamp) - extract(epoch from '2026-05-28 15:52: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.56939 -3.273506)', '2026-05-28 15:52:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569441 -3.273571)'), GeomFromEWKT('SRID=4674;POINT (-38.56939 -3.273506)'))) / (select extract(epoch from '2026-05-28 15:52:27'::timestamp) - extract(epoch from '2026-05-28 15:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569441 -3.273571)'), GeomFromEWKT('SRID=4674;POINT (-38.56939 -3.273506)'))) / (select extract(epoch from '2026-05-28 15:52:27'::timestamp) - extract(epoch from '2026-05-28 15: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.569341 -3.273445)', '2026-05-28 15:52:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56939 -3.273506)'), GeomFromEWKT('SRID=4674;POINT (-38.569341 -3.273445)'))) / (select extract(epoch from '2026-05-28 15:52:32'::timestamp) - extract(epoch from '2026-05-28 15:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56939 -3.273506)'), GeomFromEWKT('SRID=4674;POINT (-38.569341 -3.273445)'))) / (select extract(epoch from '2026-05-28 15:52:32'::timestamp) - extract(epoch from '2026-05-28 15:52: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.569243 -3.273355)', '2026-05-28 15:52:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569341 -3.273445)'), GeomFromEWKT('SRID=4674;POINT (-38.569243 -3.273355)'))) / (select extract(epoch from '2026-05-28 15:52:40'::timestamp) - extract(epoch from '2026-05-28 15:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569341 -3.273445)'), GeomFromEWKT('SRID=4674;POINT (-38.569243 -3.273355)'))) / (select extract(epoch from '2026-05-28 15:52:40'::timestamp) - extract(epoch from '2026-05-28 15: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.569174 -3.273291)', '2026-05-28 15:52:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569243 -3.273355)'), GeomFromEWKT('SRID=4674;POINT (-38.569174 -3.273291)'))) / (select extract(epoch from '2026-05-28 15:52:46'::timestamp) - extract(epoch from '2026-05-28 15:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569243 -3.273355)'), GeomFromEWKT('SRID=4674;POINT (-38.569174 -3.273291)'))) / (select extract(epoch from '2026-05-28 15:52:46'::timestamp) - extract(epoch from '2026-05-28 15:52: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.569138 -3.273262)', '2026-05-28 15:52:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569174 -3.273291)'), GeomFromEWKT('SRID=4674;POINT (-38.569138 -3.273262)'))) / (select extract(epoch from '2026-05-28 15:52:49'::timestamp) - extract(epoch from '2026-05-28 15:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569174 -3.273291)'), GeomFromEWKT('SRID=4674;POINT (-38.569138 -3.273262)'))) / (select extract(epoch from '2026-05-28 15:52:49'::timestamp) - extract(epoch from '2026-05-28 15:52:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569133 -3.273243)', '2026-05-28 15:52:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569138 -3.273262)'), GeomFromEWKT('SRID=4674;POINT (-38.569133 -3.273243)'))) / (select extract(epoch from '2026-05-28 15:52:51'::timestamp) - extract(epoch from '2026-05-28 15:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569138 -3.273262)'), GeomFromEWKT('SRID=4674;POINT (-38.569133 -3.273243)'))) / (select extract(epoch from '2026-05-28 15:52:51'::timestamp) - extract(epoch from '2026-05-28 15: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.569126 -3.273234)', '2026-05-28 15:52:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569133 -3.273243)'), GeomFromEWKT('SRID=4674;POINT (-38.569126 -3.273234)'))) / (select extract(epoch from '2026-05-28 15:52:52'::timestamp) - extract(epoch from '2026-05-28 15:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569133 -3.273243)'), GeomFromEWKT('SRID=4674;POINT (-38.569126 -3.273234)'))) / (select extract(epoch from '2026-05-28 15:52:52'::timestamp) - extract(epoch from '2026-05-28 15:52: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.569114 -3.273217)', '2026-05-28 15:52:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569126 -3.273234)'), GeomFromEWKT('SRID=4674;POINT (-38.569114 -3.273217)'))) / (select extract(epoch from '2026-05-28 15:52:54'::timestamp) - extract(epoch from '2026-05-28 15:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569126 -3.273234)'), GeomFromEWKT('SRID=4674;POINT (-38.569114 -3.273217)'))) / (select extract(epoch from '2026-05-28 15:52:54'::timestamp) - extract(epoch from '2026-05-28 15:52:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56911 -3.273205)', '2026-05-28 15:52:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569114 -3.273217)'), GeomFromEWKT('SRID=4674;POINT (-38.56911 -3.273205)'))) / (select extract(epoch from '2026-05-28 15:52:55'::timestamp) - extract(epoch from '2026-05-28 15:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569114 -3.273217)'), GeomFromEWKT('SRID=4674;POINT (-38.56911 -3.273205)'))) / (select extract(epoch from '2026-05-28 15:52:55'::timestamp) - extract(epoch from '2026-05-28 15:52: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.569102 -3.273193)', '2026-05-28 15:52:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56911 -3.273205)'), GeomFromEWKT('SRID=4674;POINT (-38.569102 -3.273193)'))) / (select extract(epoch from '2026-05-28 15:52:56'::timestamp) - extract(epoch from '2026-05-28 15:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56911 -3.273205)'), GeomFromEWKT('SRID=4674;POINT (-38.569102 -3.273193)'))) / (select extract(epoch from '2026-05-28 15:52:56'::timestamp) - extract(epoch from '2026-05-28 15:52:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569087 -3.273171)', '2026-05-28 15:52:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569102 -3.273193)'), GeomFromEWKT('SRID=4674;POINT (-38.569087 -3.273171)'))) / (select extract(epoch from '2026-05-28 15:52:58'::timestamp) - extract(epoch from '2026-05-28 15:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569102 -3.273193)'), GeomFromEWKT('SRID=4674;POINT (-38.569087 -3.273171)'))) / (select extract(epoch from '2026-05-28 15:52:58'::timestamp) - extract(epoch from '2026-05-28 15: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.569073 -3.273148)', '2026-05-28 15:53:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569087 -3.273171)'), GeomFromEWKT('SRID=4674;POINT (-38.569073 -3.273148)'))) / (select extract(epoch from '2026-05-28 15:53:00'::timestamp) - extract(epoch from '2026-05-28 15:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569087 -3.273171)'), GeomFromEWKT('SRID=4674;POINT (-38.569073 -3.273148)'))) / (select extract(epoch from '2026-05-28 15:53:00'::timestamp) - extract(epoch from '2026-05-28 15:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569038 -3.273106)', '2026-05-28 15:53:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569073 -3.273148)'), GeomFromEWKT('SRID=4674;POINT (-38.569038 -3.273106)'))) / (select extract(epoch from '2026-05-28 15:53:04'::timestamp) - extract(epoch from '2026-05-28 15:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569073 -3.273148)'), GeomFromEWKT('SRID=4674;POINT (-38.569038 -3.273106)'))) / (select extract(epoch from '2026-05-28 15:53:04'::timestamp) - extract(epoch from '2026-05-28 15:53: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.569024 -3.273097)', '2026-05-28 15:53:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569038 -3.273106)'), GeomFromEWKT('SRID=4674;POINT (-38.569024 -3.273097)'))) / (select extract(epoch from '2026-05-28 15:53:05'::timestamp) - extract(epoch from '2026-05-28 15:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569038 -3.273106)'), GeomFromEWKT('SRID=4674;POINT (-38.569024 -3.273097)'))) / (select extract(epoch from '2026-05-28 15:53:05'::timestamp) - extract(epoch from '2026-05-28 15:53:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569012 -3.273085)', '2026-05-28 15:53:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569024 -3.273097)'), GeomFromEWKT('SRID=4674;POINT (-38.569012 -3.273085)'))) / (select extract(epoch from '2026-05-28 15:53:06'::timestamp) - extract(epoch from '2026-05-28 15:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569024 -3.273097)'), GeomFromEWKT('SRID=4674;POINT (-38.569012 -3.273085)'))) / (select extract(epoch from '2026-05-28 15:53:06'::timestamp) - extract(epoch from '2026-05-28 15:53: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.568978 -3.273054)', '2026-05-28 15:53:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569012 -3.273085)'), GeomFromEWKT('SRID=4674;POINT (-38.568978 -3.273054)'))) / (select extract(epoch from '2026-05-28 15:53:09'::timestamp) - extract(epoch from '2026-05-28 15:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569012 -3.273085)'), GeomFromEWKT('SRID=4674;POINT (-38.568978 -3.273054)'))) / (select extract(epoch from '2026-05-28 15:53:09'::timestamp) - extract(epoch from '2026-05-28 15:53: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.568947 -3.273021)', '2026-05-28 15:53:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568978 -3.273054)'), GeomFromEWKT('SRID=4674;POINT (-38.568947 -3.273021)'))) / (select extract(epoch from '2026-05-28 15:53:12'::timestamp) - extract(epoch from '2026-05-28 15:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568978 -3.273054)'), GeomFromEWKT('SRID=4674;POINT (-38.568947 -3.273021)'))) / (select extract(epoch from '2026-05-28 15:53:12'::timestamp) - extract(epoch from '2026-05-28 15:53: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.568921 -3.273003)', '2026-05-28 15:53:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568947 -3.273021)'), GeomFromEWKT('SRID=4674;POINT (-38.568921 -3.273003)'))) / (select extract(epoch from '2026-05-28 15:53:14'::timestamp) - extract(epoch from '2026-05-28 15:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568947 -3.273021)'), GeomFromEWKT('SRID=4674;POINT (-38.568921 -3.273003)'))) / (select extract(epoch from '2026-05-28 15:53:14'::timestamp) - extract(epoch from '2026-05-28 15:53:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568852 -3.27292)', '2026-05-28 15:53:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568921 -3.273003)'), GeomFromEWKT('SRID=4674;POINT (-38.568852 -3.27292)'))) / (select extract(epoch from '2026-05-28 15:53:21'::timestamp) - extract(epoch from '2026-05-28 15:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568921 -3.273003)'), GeomFromEWKT('SRID=4674;POINT (-38.568852 -3.27292)'))) / (select extract(epoch from '2026-05-28 15:53:21'::timestamp) - extract(epoch from '2026-05-28 15: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.5688 -3.272854)', '2026-05-28 15:53:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568852 -3.27292)'), GeomFromEWKT('SRID=4674;POINT (-38.5688 -3.272854)'))) / (select extract(epoch from '2026-05-28 15:53:26'::timestamp) - extract(epoch from '2026-05-28 15:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568852 -3.27292)'), GeomFromEWKT('SRID=4674;POINT (-38.5688 -3.272854)'))) / (select extract(epoch from '2026-05-28 15:53:26'::timestamp) - extract(epoch from '2026-05-28 15: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.568786 -3.272829)', '2026-05-28 15:53:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5688 -3.272854)'), GeomFromEWKT('SRID=4674;POINT (-38.568786 -3.272829)'))) / (select extract(epoch from '2026-05-28 15:53:28'::timestamp) - extract(epoch from '2026-05-28 15:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5688 -3.272854)'), GeomFromEWKT('SRID=4674;POINT (-38.568786 -3.272829)'))) / (select extract(epoch from '2026-05-28 15:53:28'::timestamp) - extract(epoch from '2026-05-28 15:53:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568756 -3.272794)', '2026-05-28 15:53:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568786 -3.272829)'), GeomFromEWKT('SRID=4674;POINT (-38.568756 -3.272794)'))) / (select extract(epoch from '2026-05-28 15:53:31'::timestamp) - extract(epoch from '2026-05-28 15:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568786 -3.272829)'), GeomFromEWKT('SRID=4674;POINT (-38.568756 -3.272794)'))) / (select extract(epoch from '2026-05-28 15:53:31'::timestamp) - extract(epoch from '2026-05-28 15:53:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568684 -3.272681)', '2026-05-28 15:53:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568756 -3.272794)'), GeomFromEWKT('SRID=4674;POINT (-38.568684 -3.272681)'))) / (select extract(epoch from '2026-05-28 15:53:39'::timestamp) - extract(epoch from '2026-05-28 15:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568756 -3.272794)'), GeomFromEWKT('SRID=4674;POINT (-38.568684 -3.272681)'))) / (select extract(epoch from '2026-05-28 15:53:39'::timestamp) - extract(epoch from '2026-05-28 15:53:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568672 -3.272667)', '2026-05-28 15:53:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568684 -3.272681)'), GeomFromEWKT('SRID=4674;POINT (-38.568672 -3.272667)'))) / (select extract(epoch from '2026-05-28 15:53:40'::timestamp) - extract(epoch from '2026-05-28 15:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568684 -3.272681)'), GeomFromEWKT('SRID=4674;POINT (-38.568672 -3.272667)'))) / (select extract(epoch from '2026-05-28 15:53:40'::timestamp) - extract(epoch from '2026-05-28 15:53: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.568648 -3.272615)', '2026-05-28 15:53:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568672 -3.272667)'), GeomFromEWKT('SRID=4674;POINT (-38.568648 -3.272615)'))) / (select extract(epoch from '2026-05-28 15:53:43'::timestamp) - extract(epoch from '2026-05-28 15:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568672 -3.272667)'), GeomFromEWKT('SRID=4674;POINT (-38.568648 -3.272615)'))) / (select extract(epoch from '2026-05-28 15:53:43'::timestamp) - extract(epoch from '2026-05-28 15:53: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.568602 -3.272539)', '2026-05-28 15:53:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568648 -3.272615)'), GeomFromEWKT('SRID=4674;POINT (-38.568602 -3.272539)'))) / (select extract(epoch from '2026-05-28 15:53:48'::timestamp) - extract(epoch from '2026-05-28 15:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568648 -3.272615)'), GeomFromEWKT('SRID=4674;POINT (-38.568602 -3.272539)'))) / (select extract(epoch from '2026-05-28 15:53:48'::timestamp) - extract(epoch from '2026-05-28 15:53: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.568595 -3.272526)', '2026-05-28 15:53:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568602 -3.272539)'), GeomFromEWKT('SRID=4674;POINT (-38.568595 -3.272526)'))) / (select extract(epoch from '2026-05-28 15:53:49'::timestamp) - extract(epoch from '2026-05-28 15:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568602 -3.272539)'), GeomFromEWKT('SRID=4674;POINT (-38.568595 -3.272526)'))) / (select extract(epoch from '2026-05-28 15:53:49'::timestamp) - extract(epoch from '2026-05-28 15:53:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568559 -3.272463)', '2026-05-28 15:53:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568595 -3.272526)'), GeomFromEWKT('SRID=4674;POINT (-38.568559 -3.272463)'))) / (select extract(epoch from '2026-05-28 15:53:53'::timestamp) - extract(epoch from '2026-05-28 15:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568595 -3.272526)'), GeomFromEWKT('SRID=4674;POINT (-38.568559 -3.272463)'))) / (select extract(epoch from '2026-05-28 15:53:53'::timestamp) - extract(epoch from '2026-05-28 15:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568551 -3.272449)', '2026-05-28 15:53:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568559 -3.272463)'), GeomFromEWKT('SRID=4674;POINT (-38.568551 -3.272449)'))) / (select extract(epoch from '2026-05-28 15:53:54'::timestamp) - extract(epoch from '2026-05-28 15:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568559 -3.272463)'), GeomFromEWKT('SRID=4674;POINT (-38.568551 -3.272449)'))) / (select extract(epoch from '2026-05-28 15:53:54'::timestamp) - extract(epoch from '2026-05-28 15: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.568532 -3.272426)', '2026-05-28 15:53:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568551 -3.272449)'), GeomFromEWKT('SRID=4674;POINT (-38.568532 -3.272426)'))) / (select extract(epoch from '2026-05-28 15:53:56'::timestamp) - extract(epoch from '2026-05-28 15:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568551 -3.272449)'), GeomFromEWKT('SRID=4674;POINT (-38.568532 -3.272426)'))) / (select extract(epoch from '2026-05-28 15:53:56'::timestamp) - extract(epoch from '2026-05-28 15:53:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568526 -3.272408)', '2026-05-28 15:53:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568532 -3.272426)'), GeomFromEWKT('SRID=4674;POINT (-38.568526 -3.272408)'))) / (select extract(epoch from '2026-05-28 15:53:57'::timestamp) - extract(epoch from '2026-05-28 15:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568532 -3.272426)'), GeomFromEWKT('SRID=4674;POINT (-38.568526 -3.272408)'))) / (select extract(epoch from '2026-05-28 15:53:57'::timestamp) - extract(epoch from '2026-05-28 15: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.568483 -3.272329)', '2026-05-28 15:54:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568526 -3.272408)'), GeomFromEWKT('SRID=4674;POINT (-38.568483 -3.272329)'))) / (select extract(epoch from '2026-05-28 15:54:02'::timestamp) - extract(epoch from '2026-05-28 15:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568526 -3.272408)'), GeomFromEWKT('SRID=4674;POINT (-38.568483 -3.272329)'))) / (select extract(epoch from '2026-05-28 15:54:02'::timestamp) - extract(epoch from '2026-05-28 15:53: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.568438 -3.272252)', '2026-05-28 15:54:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568483 -3.272329)'), GeomFromEWKT('SRID=4674;POINT (-38.568438 -3.272252)'))) / (select extract(epoch from '2026-05-28 15:54:07'::timestamp) - extract(epoch from '2026-05-28 15:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568483 -3.272329)'), GeomFromEWKT('SRID=4674;POINT (-38.568438 -3.272252)'))) / (select extract(epoch from '2026-05-28 15:54:07'::timestamp) - extract(epoch from '2026-05-28 15:54: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.568406 -3.27219)', '2026-05-28 15:54:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568438 -3.272252)'), GeomFromEWKT('SRID=4674;POINT (-38.568406 -3.27219)'))) / (select extract(epoch from '2026-05-28 15:54:11'::timestamp) - extract(epoch from '2026-05-28 15:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568438 -3.272252)'), GeomFromEWKT('SRID=4674;POINT (-38.568406 -3.27219)'))) / (select extract(epoch from '2026-05-28 15:54:11'::timestamp) - extract(epoch from '2026-05-28 15:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568362 -3.272113)', '2026-05-28 15:54:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568406 -3.27219)'), GeomFromEWKT('SRID=4674;POINT (-38.568362 -3.272113)'))) / (select extract(epoch from '2026-05-28 15:54:16'::timestamp) - extract(epoch from '2026-05-28 15:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568406 -3.27219)'), GeomFromEWKT('SRID=4674;POINT (-38.568362 -3.272113)'))) / (select extract(epoch from '2026-05-28 15:54:16'::timestamp) - extract(epoch from '2026-05-28 15:54:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568336 -3.272078)', '2026-05-28 15:54:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568362 -3.272113)'), GeomFromEWKT('SRID=4674;POINT (-38.568336 -3.272078)'))) / (select extract(epoch from '2026-05-28 15:54:19'::timestamp) - extract(epoch from '2026-05-28 15:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568362 -3.272113)'), GeomFromEWKT('SRID=4674;POINT (-38.568336 -3.272078)'))) / (select extract(epoch from '2026-05-28 15:54:19'::timestamp) - extract(epoch from '2026-05-28 15:54: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.568325 -3.272046)', '2026-05-28 15:54:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568336 -3.272078)'), GeomFromEWKT('SRID=4674;POINT (-38.568325 -3.272046)'))) / (select extract(epoch from '2026-05-28 15:54:21'::timestamp) - extract(epoch from '2026-05-28 15:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568336 -3.272078)'), GeomFromEWKT('SRID=4674;POINT (-38.568325 -3.272046)'))) / (select extract(epoch from '2026-05-28 15:54:21'::timestamp) - extract(epoch from '2026-05-28 15:54:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568316 -3.272032)', '2026-05-28 15:54:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568325 -3.272046)'), GeomFromEWKT('SRID=4674;POINT (-38.568316 -3.272032)'))) / (select extract(epoch from '2026-05-28 15:54:22'::timestamp) - extract(epoch from '2026-05-28 15:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568325 -3.272046)'), GeomFromEWKT('SRID=4674;POINT (-38.568316 -3.272032)'))) / (select extract(epoch from '2026-05-28 15:54:22'::timestamp) - extract(epoch from '2026-05-28 15:54: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.568301 -3.27201)', '2026-05-28 15:54:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568316 -3.272032)'), GeomFromEWKT('SRID=4674;POINT (-38.568301 -3.27201)'))) / (select extract(epoch from '2026-05-28 15:54:24'::timestamp) - extract(epoch from '2026-05-28 15:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568316 -3.272032)'), GeomFromEWKT('SRID=4674;POINT (-38.568301 -3.27201)'))) / (select extract(epoch from '2026-05-28 15:54:24'::timestamp) - extract(epoch from '2026-05-28 15:54:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568267 -3.27196)', '2026-05-28 15:54:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568301 -3.27201)'), GeomFromEWKT('SRID=4674;POINT (-38.568267 -3.27196)'))) / (select extract(epoch from '2026-05-28 15:54:28'::timestamp) - extract(epoch from '2026-05-28 15:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568301 -3.27201)'), GeomFromEWKT('SRID=4674;POINT (-38.568267 -3.27196)'))) / (select extract(epoch from '2026-05-28 15:54:28'::timestamp) - extract(epoch from '2026-05-28 15:54:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568264 -3.271948)', '2026-05-28 15:54:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568267 -3.27196)'), GeomFromEWKT('SRID=4674;POINT (-38.568264 -3.271948)'))) / (select extract(epoch from '2026-05-28 15:54:29'::timestamp) - extract(epoch from '2026-05-28 15:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568267 -3.27196)'), GeomFromEWKT('SRID=4674;POINT (-38.568264 -3.271948)'))) / (select extract(epoch from '2026-05-28 15:54:29'::timestamp) - extract(epoch from '2026-05-28 15:54:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
