 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56669 -3.295528)', '2026-05-31 14:57:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566724 -3.295447)'), GeomFromEWKT('SRID=4674;POINT (-38.56669 -3.295528)'))) / (select extract(epoch from '2026-05-31 14:57:37'::timestamp) - extract(epoch from '2026-05-31 14:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566724 -3.295447)'), GeomFromEWKT('SRID=4674;POINT (-38.56669 -3.295528)'))) / (select extract(epoch from '2026-05-31 14:57:37'::timestamp) - extract(epoch from '2026-05-31 14:57: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.56667 -3.29556)', '2026-05-31 14:57:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56669 -3.295528)'), GeomFromEWKT('SRID=4674;POINT (-38.56667 -3.29556)'))) / (select extract(epoch from '2026-05-31 14:57:41'::timestamp) - extract(epoch from '2026-05-31 14:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56669 -3.295528)'), GeomFromEWKT('SRID=4674;POINT (-38.56667 -3.29556)'))) / (select extract(epoch from '2026-05-31 14:57:41'::timestamp) - extract(epoch from '2026-05-31 14:57:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566655 -3.295586)', '2026-05-31 14:57:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56667 -3.29556)'), GeomFromEWKT('SRID=4674;POINT (-38.566655 -3.295586)'))) / (select extract(epoch from '2026-05-31 14:57:44'::timestamp) - extract(epoch from '2026-05-31 14:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56667 -3.29556)'), GeomFromEWKT('SRID=4674;POINT (-38.566655 -3.295586)'))) / (select extract(epoch from '2026-05-31 14:57:44'::timestamp) - extract(epoch from '2026-05-31 14:57: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.566625 -3.295655)', '2026-05-31 14:57:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566655 -3.295586)'), GeomFromEWKT('SRID=4674;POINT (-38.566625 -3.295655)'))) / (select extract(epoch from '2026-05-31 14:57:51'::timestamp) - extract(epoch from '2026-05-31 14:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566655 -3.295586)'), GeomFromEWKT('SRID=4674;POINT (-38.566625 -3.295655)'))) / (select extract(epoch from '2026-05-31 14:57:51'::timestamp) - extract(epoch from '2026-05-31 14:57:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566622 -3.295666)', '2026-05-31 14:57:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566625 -3.295655)'), GeomFromEWKT('SRID=4674;POINT (-38.566622 -3.295666)'))) / (select extract(epoch from '2026-05-31 14:57:52'::timestamp) - extract(epoch from '2026-05-31 14:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566625 -3.295655)'), GeomFromEWKT('SRID=4674;POINT (-38.566622 -3.295666)'))) / (select extract(epoch from '2026-05-31 14:57:52'::timestamp) - extract(epoch from '2026-05-31 14:57: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.566613 -3.295705)', '2026-05-31 14:57:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566622 -3.295666)'), GeomFromEWKT('SRID=4674;POINT (-38.566613 -3.295705)'))) / (select extract(epoch from '2026-05-31 14:57:57'::timestamp) - extract(epoch from '2026-05-31 14:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566622 -3.295666)'), GeomFromEWKT('SRID=4674;POINT (-38.566613 -3.295705)'))) / (select extract(epoch from '2026-05-31 14:57:57'::timestamp) - extract(epoch from '2026-05-31 14:57:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566605 -3.295741)', '2026-05-31 14:58:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566613 -3.295705)'), GeomFromEWKT('SRID=4674;POINT (-38.566605 -3.295741)'))) / (select extract(epoch from '2026-05-31 14:58:01'::timestamp) - extract(epoch from '2026-05-31 14:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566613 -3.295705)'), GeomFromEWKT('SRID=4674;POINT (-38.566605 -3.295741)'))) / (select extract(epoch from '2026-05-31 14:58:01'::timestamp) - extract(epoch from '2026-05-31 14:57: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.566594 -3.295769)', '2026-05-31 14:58:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566605 -3.295741)'), GeomFromEWKT('SRID=4674;POINT (-38.566594 -3.295769)'))) / (select extract(epoch from '2026-05-31 14:58:04'::timestamp) - extract(epoch from '2026-05-31 14:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566605 -3.295741)'), GeomFromEWKT('SRID=4674;POINT (-38.566594 -3.295769)'))) / (select extract(epoch from '2026-05-31 14:58:04'::timestamp) - extract(epoch from '2026-05-31 14:58: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.566569 -3.295828)', '2026-05-31 14:58:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566594 -3.295769)'), GeomFromEWKT('SRID=4674;POINT (-38.566569 -3.295828)'))) / (select extract(epoch from '2026-05-31 14:58:10'::timestamp) - extract(epoch from '2026-05-31 14:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566594 -3.295769)'), GeomFromEWKT('SRID=4674;POINT (-38.566569 -3.295828)'))) / (select extract(epoch from '2026-05-31 14:58:10'::timestamp) - extract(epoch from '2026-05-31 14:58:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566549 -3.295888)', '2026-05-31 14:58:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566569 -3.295828)'), GeomFromEWKT('SRID=4674;POINT (-38.566549 -3.295888)'))) / (select extract(epoch from '2026-05-31 14:58:17'::timestamp) - extract(epoch from '2026-05-31 14:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566569 -3.295828)'), GeomFromEWKT('SRID=4674;POINT (-38.566549 -3.295888)'))) / (select extract(epoch from '2026-05-31 14:58:17'::timestamp) - extract(epoch from '2026-05-31 14:58:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566535 -3.295939)', '2026-05-31 14:58:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566549 -3.295888)'), GeomFromEWKT('SRID=4674;POINT (-38.566535 -3.295939)'))) / (select extract(epoch from '2026-05-31 14:58:22'::timestamp) - extract(epoch from '2026-05-31 14:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566549 -3.295888)'), GeomFromEWKT('SRID=4674;POINT (-38.566535 -3.295939)'))) / (select extract(epoch from '2026-05-31 14:58:22'::timestamp) - extract(epoch from '2026-05-31 14:58: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.56653 -3.295961)', '2026-05-31 14:58:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566535 -3.295939)'), GeomFromEWKT('SRID=4674;POINT (-38.56653 -3.295961)'))) / (select extract(epoch from '2026-05-31 14:58:24'::timestamp) - extract(epoch from '2026-05-31 14:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566535 -3.295939)'), GeomFromEWKT('SRID=4674;POINT (-38.56653 -3.295961)'))) / (select extract(epoch from '2026-05-31 14:58:24'::timestamp) - extract(epoch from '2026-05-31 14:58: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.566521 -3.296031)', '2026-05-31 14:58:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56653 -3.295961)'), GeomFromEWKT('SRID=4674;POINT (-38.566521 -3.296031)'))) / (select extract(epoch from '2026-05-31 14:58:30'::timestamp) - extract(epoch from '2026-05-31 14:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56653 -3.295961)'), GeomFromEWKT('SRID=4674;POINT (-38.566521 -3.296031)'))) / (select extract(epoch from '2026-05-31 14:58:30'::timestamp) - extract(epoch from '2026-05-31 14:58: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.566514 -3.296096)', '2026-05-31 14:58:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566521 -3.296031)'), GeomFromEWKT('SRID=4674;POINT (-38.566514 -3.296096)'))) / (select extract(epoch from '2026-05-31 14:58:37'::timestamp) - extract(epoch from '2026-05-31 14:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566521 -3.296031)'), GeomFromEWKT('SRID=4674;POINT (-38.566514 -3.296096)'))) / (select extract(epoch from '2026-05-31 14:58:37'::timestamp) - extract(epoch from '2026-05-31 14:58: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.566507 -3.296193)', '2026-05-31 14:58:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566514 -3.296096)'), GeomFromEWKT('SRID=4674;POINT (-38.566507 -3.296193)'))) / (select extract(epoch from '2026-05-31 14:58:46'::timestamp) - extract(epoch from '2026-05-31 14:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566514 -3.296096)'), GeomFromEWKT('SRID=4674;POINT (-38.566507 -3.296193)'))) / (select extract(epoch from '2026-05-31 14:58:46'::timestamp) - extract(epoch from '2026-05-31 14:58:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566505 -3.296219)', '2026-05-31 14:58:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566507 -3.296193)'), GeomFromEWKT('SRID=4674;POINT (-38.566505 -3.296219)'))) / (select extract(epoch from '2026-05-31 14:58:49'::timestamp) - extract(epoch from '2026-05-31 14:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566507 -3.296193)'), GeomFromEWKT('SRID=4674;POINT (-38.566505 -3.296219)'))) / (select extract(epoch from '2026-05-31 14:58:49'::timestamp) - extract(epoch from '2026-05-31 14:58: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.566503 -3.296257)', '2026-05-31 14:58:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566505 -3.296219)'), GeomFromEWKT('SRID=4674;POINT (-38.566503 -3.296257)'))) / (select extract(epoch from '2026-05-31 14:58:53'::timestamp) - extract(epoch from '2026-05-31 14:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566505 -3.296219)'), GeomFromEWKT('SRID=4674;POINT (-38.566503 -3.296257)'))) / (select extract(epoch from '2026-05-31 14:58:53'::timestamp) - extract(epoch from '2026-05-31 14:58: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.566514 -3.296292)', '2026-05-31 14:58:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566503 -3.296257)'), GeomFromEWKT('SRID=4674;POINT (-38.566514 -3.296292)'))) / (select extract(epoch from '2026-05-31 14:58:57'::timestamp) - extract(epoch from '2026-05-31 14:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566503 -3.296257)'), GeomFromEWKT('SRID=4674;POINT (-38.566514 -3.296292)'))) / (select extract(epoch from '2026-05-31 14:58:57'::timestamp) - extract(epoch from '2026-05-31 14:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566513 -3.2963)', '2026-05-31 14:58:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566514 -3.296292)'), GeomFromEWKT('SRID=4674;POINT (-38.566513 -3.2963)'))) / (select extract(epoch from '2026-05-31 14:58:58'::timestamp) - extract(epoch from '2026-05-31 14:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566514 -3.296292)'), GeomFromEWKT('SRID=4674;POINT (-38.566513 -3.2963)'))) / (select extract(epoch from '2026-05-31 14:58:58'::timestamp) - extract(epoch from '2026-05-31 14:58: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.566518 -3.296356)', '2026-05-31 14:59:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566513 -3.2963)'), GeomFromEWKT('SRID=4674;POINT (-38.566518 -3.296356)'))) / (select extract(epoch from '2026-05-31 14:59:03'::timestamp) - extract(epoch from '2026-05-31 14:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566513 -3.2963)'), GeomFromEWKT('SRID=4674;POINT (-38.566518 -3.296356)'))) / (select extract(epoch from '2026-05-31 14:59:03'::timestamp) - extract(epoch from '2026-05-31 14:58: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.566516 -3.296365)', '2026-05-31 14:59:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566518 -3.296356)'), GeomFromEWKT('SRID=4674;POINT (-38.566516 -3.296365)'))) / (select extract(epoch from '2026-05-31 14:59:04'::timestamp) - extract(epoch from '2026-05-31 14:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566518 -3.296356)'), GeomFromEWKT('SRID=4674;POINT (-38.566516 -3.296365)'))) / (select extract(epoch from '2026-05-31 14:59:04'::timestamp) - extract(epoch from '2026-05-31 14:59:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566516 -3.296375)', '2026-05-31 14:59:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566516 -3.296365)'), GeomFromEWKT('SRID=4674;POINT (-38.566516 -3.296375)'))) / (select extract(epoch from '2026-05-31 14:59:05'::timestamp) - extract(epoch from '2026-05-31 14:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566516 -3.296365)'), GeomFromEWKT('SRID=4674;POINT (-38.566516 -3.296375)'))) / (select extract(epoch from '2026-05-31 14:59:05'::timestamp) - extract(epoch from '2026-05-31 14:59: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.566521 -3.296395)', '2026-05-31 14:59:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566516 -3.296375)'), GeomFromEWKT('SRID=4674;POINT (-38.566521 -3.296395)'))) / (select extract(epoch from '2026-05-31 14:59:07'::timestamp) - extract(epoch from '2026-05-31 14:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566516 -3.296375)'), GeomFromEWKT('SRID=4674;POINT (-38.566521 -3.296395)'))) / (select extract(epoch from '2026-05-31 14:59:07'::timestamp) - extract(epoch from '2026-05-31 14:59: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.566517 -3.296429)', '2026-05-31 14:59:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566521 -3.296395)'), GeomFromEWKT('SRID=4674;POINT (-38.566517 -3.296429)'))) / (select extract(epoch from '2026-05-31 14:59:10'::timestamp) - extract(epoch from '2026-05-31 14:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566521 -3.296395)'), GeomFromEWKT('SRID=4674;POINT (-38.566517 -3.296429)'))) / (select extract(epoch from '2026-05-31 14:59:10'::timestamp) - extract(epoch from '2026-05-31 14:59: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.566515 -3.296513)', '2026-05-31 14:59:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566517 -3.296429)'), GeomFromEWKT('SRID=4674;POINT (-38.566515 -3.296513)'))) / (select extract(epoch from '2026-05-31 14:59:17'::timestamp) - extract(epoch from '2026-05-31 14:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566517 -3.296429)'), GeomFromEWKT('SRID=4674;POINT (-38.566515 -3.296513)'))) / (select extract(epoch from '2026-05-31 14:59:17'::timestamp) - extract(epoch from '2026-05-31 14:59: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.566522 -3.296577)', '2026-05-31 14:59:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566515 -3.296513)'), GeomFromEWKT('SRID=4674;POINT (-38.566522 -3.296577)'))) / (select extract(epoch from '2026-05-31 14:59:23'::timestamp) - extract(epoch from '2026-05-31 14:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566515 -3.296513)'), GeomFromEWKT('SRID=4674;POINT (-38.566522 -3.296577)'))) / (select extract(epoch from '2026-05-31 14:59:23'::timestamp) - extract(epoch from '2026-05-31 14:59: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.566522 -3.296587)', '2026-05-31 14:59:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566522 -3.296577)'), GeomFromEWKT('SRID=4674;POINT (-38.566522 -3.296587)'))) / (select extract(epoch from '2026-05-31 14:59:24'::timestamp) - extract(epoch from '2026-05-31 14:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566522 -3.296577)'), GeomFromEWKT('SRID=4674;POINT (-38.566522 -3.296587)'))) / (select extract(epoch from '2026-05-31 14:59:24'::timestamp) - extract(epoch from '2026-05-31 14:59:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56651 -3.296622)', '2026-05-31 14:59:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566522 -3.296587)'), GeomFromEWKT('SRID=4674;POINT (-38.56651 -3.296622)'))) / (select extract(epoch from '2026-05-31 14:59:28'::timestamp) - extract(epoch from '2026-05-31 14:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566522 -3.296587)'), GeomFromEWKT('SRID=4674;POINT (-38.56651 -3.296622)'))) / (select extract(epoch from '2026-05-31 14:59:28'::timestamp) - extract(epoch from '2026-05-31 14:59:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56651 -3.296646)', '2026-05-31 14:59:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56651 -3.296622)'), GeomFromEWKT('SRID=4674;POINT (-38.56651 -3.296646)'))) / (select extract(epoch from '2026-05-31 14:59:31'::timestamp) - extract(epoch from '2026-05-31 14:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56651 -3.296622)'), GeomFromEWKT('SRID=4674;POINT (-38.56651 -3.296646)'))) / (select extract(epoch from '2026-05-31 14:59:31'::timestamp) - extract(epoch from '2026-05-31 14:59:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566501 -3.29668)', '2026-05-31 14:59:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56651 -3.296646)'), GeomFromEWKT('SRID=4674;POINT (-38.566501 -3.29668)'))) / (select extract(epoch from '2026-05-31 14:59:34'::timestamp) - extract(epoch from '2026-05-31 14:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56651 -3.296646)'), GeomFromEWKT('SRID=4674;POINT (-38.566501 -3.29668)'))) / (select extract(epoch from '2026-05-31 14:59:34'::timestamp) - extract(epoch from '2026-05-31 14:59: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.566497 -3.296712)', '2026-05-31 14:59:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566501 -3.29668)'), GeomFromEWKT('SRID=4674;POINT (-38.566497 -3.296712)'))) / (select extract(epoch from '2026-05-31 14:59:37'::timestamp) - extract(epoch from '2026-05-31 14:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566501 -3.29668)'), GeomFromEWKT('SRID=4674;POINT (-38.566497 -3.296712)'))) / (select extract(epoch from '2026-05-31 14:59:37'::timestamp) - extract(epoch from '2026-05-31 14:59: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.566496 -3.296732)', '2026-05-31 14:59:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566497 -3.296712)'), GeomFromEWKT('SRID=4674;POINT (-38.566496 -3.296732)'))) / (select extract(epoch from '2026-05-31 14:59:39'::timestamp) - extract(epoch from '2026-05-31 14:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566497 -3.296712)'), GeomFromEWKT('SRID=4674;POINT (-38.566496 -3.296732)'))) / (select extract(epoch from '2026-05-31 14:59:39'::timestamp) - extract(epoch from '2026-05-31 14:59: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.566503 -3.29674)', '2026-05-31 14:59:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566496 -3.296732)'), GeomFromEWKT('SRID=4674;POINT (-38.566503 -3.29674)'))) / (select extract(epoch from '2026-05-31 14:59:40'::timestamp) - extract(epoch from '2026-05-31 14:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566496 -3.296732)'), GeomFromEWKT('SRID=4674;POINT (-38.566503 -3.29674)'))) / (select extract(epoch from '2026-05-31 14:59:40'::timestamp) - extract(epoch from '2026-05-31 14:59: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.566501 -3.29675)', '2026-05-31 14:59:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566503 -3.29674)'), GeomFromEWKT('SRID=4674;POINT (-38.566501 -3.29675)'))) / (select extract(epoch from '2026-05-31 14:59:41'::timestamp) - extract(epoch from '2026-05-31 14:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566503 -3.29674)'), GeomFromEWKT('SRID=4674;POINT (-38.566501 -3.29675)'))) / (select extract(epoch from '2026-05-31 14:59:41'::timestamp) - extract(epoch from '2026-05-31 14:59: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.566491 -3.296778)', '2026-05-31 14:59:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566501 -3.29675)'), GeomFromEWKT('SRID=4674;POINT (-38.566491 -3.296778)'))) / (select extract(epoch from '2026-05-31 14:59:44'::timestamp) - extract(epoch from '2026-05-31 14:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566501 -3.29675)'), GeomFromEWKT('SRID=4674;POINT (-38.566491 -3.296778)'))) / (select extract(epoch from '2026-05-31 14:59:44'::timestamp) - extract(epoch from '2026-05-31 14:59: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.566492 -3.2968)', '2026-05-31 14:59:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566491 -3.296778)'), GeomFromEWKT('SRID=4674;POINT (-38.566492 -3.2968)'))) / (select extract(epoch from '2026-05-31 14:59:46'::timestamp) - extract(epoch from '2026-05-31 14:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566491 -3.296778)'), GeomFromEWKT('SRID=4674;POINT (-38.566492 -3.2968)'))) / (select extract(epoch from '2026-05-31 14:59:46'::timestamp) - extract(epoch from '2026-05-31 14:59: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.566487 -3.296836)', '2026-05-31 14:59:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566492 -3.2968)'), GeomFromEWKT('SRID=4674;POINT (-38.566487 -3.296836)'))) / (select extract(epoch from '2026-05-31 14:59:49'::timestamp) - extract(epoch from '2026-05-31 14:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566492 -3.2968)'), GeomFromEWKT('SRID=4674;POINT (-38.566487 -3.296836)'))) / (select extract(epoch from '2026-05-31 14:59:49'::timestamp) - extract(epoch from '2026-05-31 14:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566487 -3.296845)', '2026-05-31 14:59:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566487 -3.296836)'), GeomFromEWKT('SRID=4674;POINT (-38.566487 -3.296845)'))) / (select extract(epoch from '2026-05-31 14:59:50'::timestamp) - extract(epoch from '2026-05-31 14:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566487 -3.296836)'), GeomFromEWKT('SRID=4674;POINT (-38.566487 -3.296845)'))) / (select extract(epoch from '2026-05-31 14:59:50'::timestamp) - extract(epoch from '2026-05-31 14:59:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566479 -3.296876)', '2026-05-31 14:59:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566487 -3.296845)'), GeomFromEWKT('SRID=4674;POINT (-38.566479 -3.296876)'))) / (select extract(epoch from '2026-05-31 14:59:53'::timestamp) - extract(epoch from '2026-05-31 14:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566487 -3.296845)'), GeomFromEWKT('SRID=4674;POINT (-38.566479 -3.296876)'))) / (select extract(epoch from '2026-05-31 14:59:53'::timestamp) - extract(epoch from '2026-05-31 14:59:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566472 -3.296909)', '2026-05-31 14:59:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566479 -3.296876)'), GeomFromEWKT('SRID=4674;POINT (-38.566472 -3.296909)'))) / (select extract(epoch from '2026-05-31 14:59:56'::timestamp) - extract(epoch from '2026-05-31 14:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566479 -3.296876)'), GeomFromEWKT('SRID=4674;POINT (-38.566472 -3.296909)'))) / (select extract(epoch from '2026-05-31 14:59:56'::timestamp) - extract(epoch from '2026-05-31 14:59: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.566466 -3.296935)', '2026-05-31 14:59:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566472 -3.296909)'), GeomFromEWKT('SRID=4674;POINT (-38.566466 -3.296935)'))) / (select extract(epoch from '2026-05-31 14:59:59'::timestamp) - extract(epoch from '2026-05-31 14:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566472 -3.296909)'), GeomFromEWKT('SRID=4674;POINT (-38.566466 -3.296935)'))) / (select extract(epoch from '2026-05-31 14:59:59'::timestamp) - extract(epoch from '2026-05-31 14:59: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.566463 -3.296965)', '2026-05-31 15:00:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566466 -3.296935)'), GeomFromEWKT('SRID=4674;POINT (-38.566463 -3.296965)'))) / (select extract(epoch from '2026-05-31 15:00:02'::timestamp) - extract(epoch from '2026-05-31 14:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566466 -3.296935)'), GeomFromEWKT('SRID=4674;POINT (-38.566463 -3.296965)'))) / (select extract(epoch from '2026-05-31 15:00:02'::timestamp) - extract(epoch from '2026-05-31 14:59:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566455 -3.297018)', '2026-05-31 15:00:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566463 -3.296965)'), GeomFromEWKT('SRID=4674;POINT (-38.566455 -3.297018)'))) / (select extract(epoch from '2026-05-31 15:00:07'::timestamp) - extract(epoch from '2026-05-31 15:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566463 -3.296965)'), GeomFromEWKT('SRID=4674;POINT (-38.566455 -3.297018)'))) / (select extract(epoch from '2026-05-31 15:00:07'::timestamp) - extract(epoch from '2026-05-31 15:00:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566457 -3.297038)', '2026-05-31 15:00:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566455 -3.297018)'), GeomFromEWKT('SRID=4674;POINT (-38.566457 -3.297038)'))) / (select extract(epoch from '2026-05-31 15:00:09'::timestamp) - extract(epoch from '2026-05-31 15:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566455 -3.297018)'), GeomFromEWKT('SRID=4674;POINT (-38.566457 -3.297038)'))) / (select extract(epoch from '2026-05-31 15:00:09'::timestamp) - extract(epoch from '2026-05-31 15:00: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.566454 -3.297077)', '2026-05-31 15:00:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566457 -3.297038)'), GeomFromEWKT('SRID=4674;POINT (-38.566454 -3.297077)'))) / (select extract(epoch from '2026-05-31 15:00:13'::timestamp) - extract(epoch from '2026-05-31 15:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566457 -3.297038)'), GeomFromEWKT('SRID=4674;POINT (-38.566454 -3.297077)'))) / (select extract(epoch from '2026-05-31 15:00:13'::timestamp) - extract(epoch from '2026-05-31 15:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566454 -3.297109)', '2026-05-31 15:00:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566454 -3.297077)'), GeomFromEWKT('SRID=4674;POINT (-38.566454 -3.297109)'))) / (select extract(epoch from '2026-05-31 15:00:16'::timestamp) - extract(epoch from '2026-05-31 15:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566454 -3.297077)'), GeomFromEWKT('SRID=4674;POINT (-38.566454 -3.297109)'))) / (select extract(epoch from '2026-05-31 15:00:16'::timestamp) - extract(epoch from '2026-05-31 15:00: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.566449 -3.297177)', '2026-05-31 15:00:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566454 -3.297109)'), GeomFromEWKT('SRID=4674;POINT (-38.566449 -3.297177)'))) / (select extract(epoch from '2026-05-31 15:00:23'::timestamp) - extract(epoch from '2026-05-31 15:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566454 -3.297109)'), GeomFromEWKT('SRID=4674;POINT (-38.566449 -3.297177)'))) / (select extract(epoch from '2026-05-31 15:00:23'::timestamp) - extract(epoch from '2026-05-31 15:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566447 -3.297212)', '2026-05-31 15:00:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566449 -3.297177)'), GeomFromEWKT('SRID=4674;POINT (-38.566447 -3.297212)'))) / (select extract(epoch from '2026-05-31 15:00:27'::timestamp) - extract(epoch from '2026-05-31 15:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566449 -3.297177)'), GeomFromEWKT('SRID=4674;POINT (-38.566447 -3.297212)'))) / (select extract(epoch from '2026-05-31 15:00:27'::timestamp) - extract(epoch from '2026-05-31 15:00: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.566452 -3.297235)', '2026-05-31 15:00:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566447 -3.297212)'), GeomFromEWKT('SRID=4674;POINT (-38.566452 -3.297235)'))) / (select extract(epoch from '2026-05-31 15:00:29'::timestamp) - extract(epoch from '2026-05-31 15:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566447 -3.297212)'), GeomFromEWKT('SRID=4674;POINT (-38.566452 -3.297235)'))) / (select extract(epoch from '2026-05-31 15:00:29'::timestamp) - extract(epoch from '2026-05-31 15:00:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566451 -3.297245)', '2026-05-31 15:00:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566452 -3.297235)'), GeomFromEWKT('SRID=4674;POINT (-38.566451 -3.297245)'))) / (select extract(epoch from '2026-05-31 15:00:30'::timestamp) - extract(epoch from '2026-05-31 15:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566452 -3.297235)'), GeomFromEWKT('SRID=4674;POINT (-38.566451 -3.297245)'))) / (select extract(epoch from '2026-05-31 15:00:30'::timestamp) - extract(epoch from '2026-05-31 15:00: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.56645 -3.297263)', '2026-05-31 15:00:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566451 -3.297245)'), GeomFromEWKT('SRID=4674;POINT (-38.56645 -3.297263)'))) / (select extract(epoch from '2026-05-31 15:00:32'::timestamp) - extract(epoch from '2026-05-31 15:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566451 -3.297245)'), GeomFromEWKT('SRID=4674;POINT (-38.56645 -3.297263)'))) / (select extract(epoch from '2026-05-31 15:00:32'::timestamp) - extract(epoch from '2026-05-31 15:00: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.566458 -3.297298)', '2026-05-31 15:00:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56645 -3.297263)'), GeomFromEWKT('SRID=4674;POINT (-38.566458 -3.297298)'))) / (select extract(epoch from '2026-05-31 15:00:36'::timestamp) - extract(epoch from '2026-05-31 15:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56645 -3.297263)'), GeomFromEWKT('SRID=4674;POINT (-38.566458 -3.297298)'))) / (select extract(epoch from '2026-05-31 15:00:36'::timestamp) - extract(epoch from '2026-05-31 15:00:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566458 -3.297317)', '2026-05-31 15:00:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566458 -3.297298)'), GeomFromEWKT('SRID=4674;POINT (-38.566458 -3.297317)'))) / (select extract(epoch from '2026-05-31 15:00:38'::timestamp) - extract(epoch from '2026-05-31 15:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566458 -3.297298)'), GeomFromEWKT('SRID=4674;POINT (-38.566458 -3.297317)'))) / (select extract(epoch from '2026-05-31 15:00:38'::timestamp) - extract(epoch from '2026-05-31 15:00: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.566454 -3.297336)', '2026-05-31 15:00:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566458 -3.297317)'), GeomFromEWKT('SRID=4674;POINT (-38.566454 -3.297336)'))) / (select extract(epoch from '2026-05-31 15:00:40'::timestamp) - extract(epoch from '2026-05-31 15:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566458 -3.297317)'), GeomFromEWKT('SRID=4674;POINT (-38.566454 -3.297336)'))) / (select extract(epoch from '2026-05-31 15:00:40'::timestamp) - extract(epoch from '2026-05-31 15:00: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.56646 -3.297357)', '2026-05-31 15:00:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566454 -3.297336)'), GeomFromEWKT('SRID=4674;POINT (-38.56646 -3.297357)'))) / (select extract(epoch from '2026-05-31 15:00:42'::timestamp) - extract(epoch from '2026-05-31 15:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566454 -3.297336)'), GeomFromEWKT('SRID=4674;POINT (-38.56646 -3.297357)'))) / (select extract(epoch from '2026-05-31 15:00:42'::timestamp) - extract(epoch from '2026-05-31 15:00:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566459 -3.297378)', '2026-05-31 15:00:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56646 -3.297357)'), GeomFromEWKT('SRID=4674;POINT (-38.566459 -3.297378)'))) / (select extract(epoch from '2026-05-31 15:00:44'::timestamp) - extract(epoch from '2026-05-31 15:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56646 -3.297357)'), GeomFromEWKT('SRID=4674;POINT (-38.566459 -3.297378)'))) / (select extract(epoch from '2026-05-31 15:00:44'::timestamp) - extract(epoch from '2026-05-31 15:00:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566459 -3.297414)', '2026-05-31 15:00:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566459 -3.297378)'), GeomFromEWKT('SRID=4674;POINT (-38.566459 -3.297414)'))) / (select extract(epoch from '2026-05-31 15:00:47'::timestamp) - extract(epoch from '2026-05-31 15:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566459 -3.297378)'), GeomFromEWKT('SRID=4674;POINT (-38.566459 -3.297414)'))) / (select extract(epoch from '2026-05-31 15:00:47'::timestamp) - extract(epoch from '2026-05-31 15:00: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.566467 -3.297471)', '2026-05-31 15:00:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566459 -3.297414)'), GeomFromEWKT('SRID=4674;POINT (-38.566467 -3.297471)'))) / (select extract(epoch from '2026-05-31 15:00:52'::timestamp) - extract(epoch from '2026-05-31 15:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566459 -3.297414)'), GeomFromEWKT('SRID=4674;POINT (-38.566467 -3.297471)'))) / (select extract(epoch from '2026-05-31 15:00:52'::timestamp) - extract(epoch from '2026-05-31 15:00:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566463 -3.29753)', '2026-05-31 15:00:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566467 -3.297471)'), GeomFromEWKT('SRID=4674;POINT (-38.566463 -3.29753)'))) / (select extract(epoch from '2026-05-31 15:00:58'::timestamp) - extract(epoch from '2026-05-31 15:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566467 -3.297471)'), GeomFromEWKT('SRID=4674;POINT (-38.566463 -3.29753)'))) / (select extract(epoch from '2026-05-31 15:00:58'::timestamp) - extract(epoch from '2026-05-31 15:00: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.566462 -3.297541)', '2026-05-31 15:00:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566463 -3.29753)'), GeomFromEWKT('SRID=4674;POINT (-38.566462 -3.297541)'))) / (select extract(epoch from '2026-05-31 15:00:59'::timestamp) - extract(epoch from '2026-05-31 15:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566463 -3.29753)'), GeomFromEWKT('SRID=4674;POINT (-38.566462 -3.297541)'))) / (select extract(epoch from '2026-05-31 15:00:59'::timestamp) - extract(epoch from '2026-05-31 15:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566456 -3.297585)', '2026-05-31 15:01:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566462 -3.297541)'), GeomFromEWKT('SRID=4674;POINT (-38.566456 -3.297585)'))) / (select extract(epoch from '2026-05-31 15:01:04'::timestamp) - extract(epoch from '2026-05-31 15:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566462 -3.297541)'), GeomFromEWKT('SRID=4674;POINT (-38.566456 -3.297585)'))) / (select extract(epoch from '2026-05-31 15:01:04'::timestamp) - extract(epoch from '2026-05-31 15:00: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.566454 -3.297607)', '2026-05-31 15:01:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566456 -3.297585)'), GeomFromEWKT('SRID=4674;POINT (-38.566454 -3.297607)'))) / (select extract(epoch from '2026-05-31 15:01:06'::timestamp) - extract(epoch from '2026-05-31 15:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566456 -3.297585)'), GeomFromEWKT('SRID=4674;POINT (-38.566454 -3.297607)'))) / (select extract(epoch from '2026-05-31 15:01:06'::timestamp) - extract(epoch from '2026-05-31 15:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566455 -3.29765)', '2026-05-31 15:01:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566454 -3.297607)'), GeomFromEWKT('SRID=4674;POINT (-38.566455 -3.29765)'))) / (select extract(epoch from '2026-05-31 15:01:10'::timestamp) - extract(epoch from '2026-05-31 15:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566454 -3.297607)'), GeomFromEWKT('SRID=4674;POINT (-38.566455 -3.29765)'))) / (select extract(epoch from '2026-05-31 15:01:10'::timestamp) - extract(epoch from '2026-05-31 15:01:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566447 -3.297698)', '2026-05-31 15:01:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566455 -3.29765)'), GeomFromEWKT('SRID=4674;POINT (-38.566447 -3.297698)'))) / (select extract(epoch from '2026-05-31 15:01:15'::timestamp) - extract(epoch from '2026-05-31 15:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566455 -3.29765)'), GeomFromEWKT('SRID=4674;POINT (-38.566447 -3.297698)'))) / (select extract(epoch from '2026-05-31 15:01:15'::timestamp) - extract(epoch from '2026-05-31 15:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566443 -3.29771)', '2026-05-31 15:01:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566447 -3.297698)'), GeomFromEWKT('SRID=4674;POINT (-38.566443 -3.29771)'))) / (select extract(epoch from '2026-05-31 15:01:16'::timestamp) - extract(epoch from '2026-05-31 15:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566447 -3.297698)'), GeomFromEWKT('SRID=4674;POINT (-38.566443 -3.29771)'))) / (select extract(epoch from '2026-05-31 15:01:16'::timestamp) - extract(epoch from '2026-05-31 15:01:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566428 -3.297776)', '2026-05-31 15:01:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566443 -3.29771)'), GeomFromEWKT('SRID=4674;POINT (-38.566428 -3.297776)'))) / (select extract(epoch from '2026-05-31 15:01:22'::timestamp) - extract(epoch from '2026-05-31 15:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566443 -3.29771)'), GeomFromEWKT('SRID=4674;POINT (-38.566428 -3.297776)'))) / (select extract(epoch from '2026-05-31 15:01:22'::timestamp) - extract(epoch from '2026-05-31 15:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56642 -3.297841)', '2026-05-31 15:01:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566428 -3.297776)'), GeomFromEWKT('SRID=4674;POINT (-38.56642 -3.297841)'))) / (select extract(epoch from '2026-05-31 15:01:28'::timestamp) - extract(epoch from '2026-05-31 15:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566428 -3.297776)'), GeomFromEWKT('SRID=4674;POINT (-38.56642 -3.297841)'))) / (select extract(epoch from '2026-05-31 15:01:28'::timestamp) - extract(epoch from '2026-05-31 15:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566416 -3.297851)', '2026-05-31 15:01:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56642 -3.297841)'), GeomFromEWKT('SRID=4674;POINT (-38.566416 -3.297851)'))) / (select extract(epoch from '2026-05-31 15:01:29'::timestamp) - extract(epoch from '2026-05-31 15:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56642 -3.297841)'), GeomFromEWKT('SRID=4674;POINT (-38.566416 -3.297851)'))) / (select extract(epoch from '2026-05-31 15:01:29'::timestamp) - extract(epoch from '2026-05-31 15:01:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566401 -3.297889)', '2026-05-31 15:01:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566416 -3.297851)'), GeomFromEWKT('SRID=4674;POINT (-38.566401 -3.297889)'))) / (select extract(epoch from '2026-05-31 15:01:33'::timestamp) - extract(epoch from '2026-05-31 15:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566416 -3.297851)'), GeomFromEWKT('SRID=4674;POINT (-38.566401 -3.297889)'))) / (select extract(epoch from '2026-05-31 15:01:33'::timestamp) - extract(epoch from '2026-05-31 15:01:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566378 -3.297957)', '2026-05-31 15:01:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566401 -3.297889)'), GeomFromEWKT('SRID=4674;POINT (-38.566378 -3.297957)'))) / (select extract(epoch from '2026-05-31 15:01:40'::timestamp) - extract(epoch from '2026-05-31 15:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566401 -3.297889)'), GeomFromEWKT('SRID=4674;POINT (-38.566378 -3.297957)'))) / (select extract(epoch from '2026-05-31 15:01:40'::timestamp) - extract(epoch from '2026-05-31 15:01: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.566379 -3.297976)', '2026-05-31 15:01:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566378 -3.297957)'), GeomFromEWKT('SRID=4674;POINT (-38.566379 -3.297976)'))) / (select extract(epoch from '2026-05-31 15:01:42'::timestamp) - extract(epoch from '2026-05-31 15:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566378 -3.297957)'), GeomFromEWKT('SRID=4674;POINT (-38.566379 -3.297976)'))) / (select extract(epoch from '2026-05-31 15:01:42'::timestamp) - extract(epoch from '2026-05-31 15:01:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566363 -3.298004)', '2026-05-31 15:01:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566379 -3.297976)'), GeomFromEWKT('SRID=4674;POINT (-38.566363 -3.298004)'))) / (select extract(epoch from '2026-05-31 15:01:45'::timestamp) - extract(epoch from '2026-05-31 15:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566379 -3.297976)'), GeomFromEWKT('SRID=4674;POINT (-38.566363 -3.298004)'))) / (select extract(epoch from '2026-05-31 15:01:45'::timestamp) - extract(epoch from '2026-05-31 15:01: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.566363 -3.298016)', '2026-05-31 15:01:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566363 -3.298004)'), GeomFromEWKT('SRID=4674;POINT (-38.566363 -3.298016)'))) / (select extract(epoch from '2026-05-31 15:01:46'::timestamp) - extract(epoch from '2026-05-31 15:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566363 -3.298004)'), GeomFromEWKT('SRID=4674;POINT (-38.566363 -3.298016)'))) / (select extract(epoch from '2026-05-31 15:01:46'::timestamp) - extract(epoch from '2026-05-31 15:01:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566354 -3.298061)', '2026-05-31 15:01:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566363 -3.298016)'), GeomFromEWKT('SRID=4674;POINT (-38.566354 -3.298061)'))) / (select extract(epoch from '2026-05-31 15:01:50'::timestamp) - extract(epoch from '2026-05-31 15:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566363 -3.298016)'), GeomFromEWKT('SRID=4674;POINT (-38.566354 -3.298061)'))) / (select extract(epoch from '2026-05-31 15:01:50'::timestamp) - extract(epoch from '2026-05-31 15:01: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.56635 -3.298071)', '2026-05-31 15:01:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566354 -3.298061)'), GeomFromEWKT('SRID=4674;POINT (-38.56635 -3.298071)'))) / (select extract(epoch from '2026-05-31 15:01:51'::timestamp) - extract(epoch from '2026-05-31 15:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566354 -3.298061)'), GeomFromEWKT('SRID=4674;POINT (-38.56635 -3.298071)'))) / (select extract(epoch from '2026-05-31 15:01:51'::timestamp) - extract(epoch from '2026-05-31 15:01: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.566327 -3.298159)', '2026-05-31 15:02:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56635 -3.298071)'), GeomFromEWKT('SRID=4674;POINT (-38.566327 -3.298159)'))) / (select extract(epoch from '2026-05-31 15:02:00'::timestamp) - extract(epoch from '2026-05-31 15:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56635 -3.298071)'), GeomFromEWKT('SRID=4674;POINT (-38.566327 -3.298159)'))) / (select extract(epoch from '2026-05-31 15:02:00'::timestamp) - extract(epoch from '2026-05-31 15:01:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566306 -3.298216)', '2026-05-31 15:02:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566327 -3.298159)'), GeomFromEWKT('SRID=4674;POINT (-38.566306 -3.298216)'))) / (select extract(epoch from '2026-05-31 15:02:06'::timestamp) - extract(epoch from '2026-05-31 15:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566327 -3.298159)'), GeomFromEWKT('SRID=4674;POINT (-38.566306 -3.298216)'))) / (select extract(epoch from '2026-05-31 15:02:06'::timestamp) - extract(epoch from '2026-05-31 15:02: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.566303 -3.298236)', '2026-05-31 15:02:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566306 -3.298216)'), GeomFromEWKT('SRID=4674;POINT (-38.566303 -3.298236)'))) / (select extract(epoch from '2026-05-31 15:02:08'::timestamp) - extract(epoch from '2026-05-31 15:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566306 -3.298216)'), GeomFromEWKT('SRID=4674;POINT (-38.566303 -3.298236)'))) / (select extract(epoch from '2026-05-31 15:02:08'::timestamp) - extract(epoch from '2026-05-31 15:02: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.566297 -3.298254)', '2026-05-31 15:02:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566303 -3.298236)'), GeomFromEWKT('SRID=4674;POINT (-38.566297 -3.298254)'))) / (select extract(epoch from '2026-05-31 15:02:10'::timestamp) - extract(epoch from '2026-05-31 15:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566303 -3.298236)'), GeomFromEWKT('SRID=4674;POINT (-38.566297 -3.298254)'))) / (select extract(epoch from '2026-05-31 15:02:10'::timestamp) - extract(epoch from '2026-05-31 15:02: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.566299 -3.298303)', '2026-05-31 15:02:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566297 -3.298254)'), GeomFromEWKT('SRID=4674;POINT (-38.566299 -3.298303)'))) / (select extract(epoch from '2026-05-31 15:02:16'::timestamp) - extract(epoch from '2026-05-31 15:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566297 -3.298254)'), GeomFromEWKT('SRID=4674;POINT (-38.566299 -3.298303)'))) / (select extract(epoch from '2026-05-31 15:02:16'::timestamp) - extract(epoch from '2026-05-31 15:02: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.566291 -3.298366)', '2026-05-31 15:02:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566299 -3.298303)'), GeomFromEWKT('SRID=4674;POINT (-38.566291 -3.298366)'))) / (select extract(epoch from '2026-05-31 15:02:23'::timestamp) - extract(epoch from '2026-05-31 15:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566299 -3.298303)'), GeomFromEWKT('SRID=4674;POINT (-38.566291 -3.298366)'))) / (select extract(epoch from '2026-05-31 15:02:23'::timestamp) - extract(epoch from '2026-05-31 15:02:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566289 -3.298394)', '2026-05-31 15:02:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566291 -3.298366)'), GeomFromEWKT('SRID=4674;POINT (-38.566289 -3.298394)'))) / (select extract(epoch from '2026-05-31 15:02:26'::timestamp) - extract(epoch from '2026-05-31 15:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566291 -3.298366)'), GeomFromEWKT('SRID=4674;POINT (-38.566289 -3.298394)'))) / (select extract(epoch from '2026-05-31 15:02:26'::timestamp) - extract(epoch from '2026-05-31 15:02:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566287 -3.298413)', '2026-05-31 15:02:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566289 -3.298394)'), GeomFromEWKT('SRID=4674;POINT (-38.566287 -3.298413)'))) / (select extract(epoch from '2026-05-31 15:02:28'::timestamp) - extract(epoch from '2026-05-31 15:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566289 -3.298394)'), GeomFromEWKT('SRID=4674;POINT (-38.566287 -3.298413)'))) / (select extract(epoch from '2026-05-31 15:02:28'::timestamp) - extract(epoch from '2026-05-31 15:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566293 -3.298425)', '2026-05-31 15:02:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566287 -3.298413)'), GeomFromEWKT('SRID=4674;POINT (-38.566293 -3.298425)'))) / (select extract(epoch from '2026-05-31 15:02:29'::timestamp) - extract(epoch from '2026-05-31 15:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566287 -3.298413)'), GeomFromEWKT('SRID=4674;POINT (-38.566293 -3.298425)'))) / (select extract(epoch from '2026-05-31 15:02:29'::timestamp) - extract(epoch from '2026-05-31 15:02: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.566294 -3.298434)', '2026-05-31 15:02:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566293 -3.298425)'), GeomFromEWKT('SRID=4674;POINT (-38.566294 -3.298434)'))) / (select extract(epoch from '2026-05-31 15:02:30'::timestamp) - extract(epoch from '2026-05-31 15:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566293 -3.298425)'), GeomFromEWKT('SRID=4674;POINT (-38.566294 -3.298434)'))) / (select extract(epoch from '2026-05-31 15:02:30'::timestamp) - extract(epoch from '2026-05-31 15:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566282 -3.298457)', '2026-05-31 15:02:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566294 -3.298434)'), GeomFromEWKT('SRID=4674;POINT (-38.566282 -3.298457)'))) / (select extract(epoch from '2026-05-31 15:02:33'::timestamp) - extract(epoch from '2026-05-31 15:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566294 -3.298434)'), GeomFromEWKT('SRID=4674;POINT (-38.566282 -3.298457)'))) / (select extract(epoch from '2026-05-31 15:02:33'::timestamp) - extract(epoch from '2026-05-31 15:02: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.566278 -3.298466)', '2026-05-31 15:02:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566282 -3.298457)'), GeomFromEWKT('SRID=4674;POINT (-38.566278 -3.298466)'))) / (select extract(epoch from '2026-05-31 15:02:34'::timestamp) - extract(epoch from '2026-05-31 15:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566282 -3.298457)'), GeomFromEWKT('SRID=4674;POINT (-38.566278 -3.298466)'))) / (select extract(epoch from '2026-05-31 15:02:34'::timestamp) - extract(epoch from '2026-05-31 15:02:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566271 -3.298513)', '2026-05-31 15:02:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566278 -3.298466)'), GeomFromEWKT('SRID=4674;POINT (-38.566271 -3.298513)'))) / (select extract(epoch from '2026-05-31 15:02:38'::timestamp) - extract(epoch from '2026-05-31 15:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566278 -3.298466)'), GeomFromEWKT('SRID=4674;POINT (-38.566271 -3.298513)'))) / (select extract(epoch from '2026-05-31 15:02:38'::timestamp) - extract(epoch from '2026-05-31 15:02: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.566256 -3.298551)', '2026-05-31 15:02:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566271 -3.298513)'), GeomFromEWKT('SRID=4674;POINT (-38.566256 -3.298551)'))) / (select extract(epoch from '2026-05-31 15:02:42'::timestamp) - extract(epoch from '2026-05-31 15:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566271 -3.298513)'), GeomFromEWKT('SRID=4674;POINT (-38.566256 -3.298551)'))) / (select extract(epoch from '2026-05-31 15:02:42'::timestamp) - extract(epoch from '2026-05-31 15:02: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.566252 -3.298576)', '2026-05-31 15:02:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566256 -3.298551)'), GeomFromEWKT('SRID=4674;POINT (-38.566252 -3.298576)'))) / (select extract(epoch from '2026-05-31 15:02:44'::timestamp) - extract(epoch from '2026-05-31 15:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566256 -3.298551)'), GeomFromEWKT('SRID=4674;POINT (-38.566252 -3.298576)'))) / (select extract(epoch from '2026-05-31 15:02:44'::timestamp) - extract(epoch from '2026-05-31 15:02: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.566241 -3.29862)', '2026-05-31 15:02:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566252 -3.298576)'), GeomFromEWKT('SRID=4674;POINT (-38.566241 -3.29862)'))) / (select extract(epoch from '2026-05-31 15:02:48'::timestamp) - extract(epoch from '2026-05-31 15:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566252 -3.298576)'), GeomFromEWKT('SRID=4674;POINT (-38.566241 -3.29862)'))) / (select extract(epoch from '2026-05-31 15:02:48'::timestamp) - extract(epoch from '2026-05-31 15:02:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566242 -3.298628)', '2026-05-31 15:02:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566241 -3.29862)'), GeomFromEWKT('SRID=4674;POINT (-38.566242 -3.298628)'))) / (select extract(epoch from '2026-05-31 15:02:49'::timestamp) - extract(epoch from '2026-05-31 15:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566241 -3.29862)'), GeomFromEWKT('SRID=4674;POINT (-38.566242 -3.298628)'))) / (select extract(epoch from '2026-05-31 15:02:49'::timestamp) - extract(epoch from '2026-05-31 15:02: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.566232 -3.298652)', '2026-05-31 15:02:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566242 -3.298628)'), GeomFromEWKT('SRID=4674;POINT (-38.566232 -3.298652)'))) / (select extract(epoch from '2026-05-31 15:02:52'::timestamp) - extract(epoch from '2026-05-31 15:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566242 -3.298628)'), GeomFromEWKT('SRID=4674;POINT (-38.566232 -3.298652)'))) / (select extract(epoch from '2026-05-31 15:02:52'::timestamp) - extract(epoch from '2026-05-31 15:02: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.566223 -3.298684)', '2026-05-31 15:02:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566232 -3.298652)'), GeomFromEWKT('SRID=4674;POINT (-38.566223 -3.298684)'))) / (select extract(epoch from '2026-05-31 15:02:55'::timestamp) - extract(epoch from '2026-05-31 15:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566232 -3.298652)'), GeomFromEWKT('SRID=4674;POINT (-38.566223 -3.298684)'))) / (select extract(epoch from '2026-05-31 15:02:55'::timestamp) - extract(epoch from '2026-05-31 15:02: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.566201 -3.298749)', '2026-05-31 15:03:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566223 -3.298684)'), GeomFromEWKT('SRID=4674;POINT (-38.566201 -3.298749)'))) / (select extract(epoch from '2026-05-31 15:03:01'::timestamp) - extract(epoch from '2026-05-31 15:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566223 -3.298684)'), GeomFromEWKT('SRID=4674;POINT (-38.566201 -3.298749)'))) / (select extract(epoch from '2026-05-31 15:03:01'::timestamp) - extract(epoch from '2026-05-31 15:02: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.566178 -3.298806)', '2026-05-31 15:03:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566201 -3.298749)'), GeomFromEWKT('SRID=4674;POINT (-38.566178 -3.298806)'))) / (select extract(epoch from '2026-05-31 15:03:06'::timestamp) - extract(epoch from '2026-05-31 15:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566201 -3.298749)'), GeomFromEWKT('SRID=4674;POINT (-38.566178 -3.298806)'))) / (select extract(epoch from '2026-05-31 15:03:06'::timestamp) - extract(epoch from '2026-05-31 15:03: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.56617 -3.298833)', '2026-05-31 15:03:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566178 -3.298806)'), GeomFromEWKT('SRID=4674;POINT (-38.56617 -3.298833)'))) / (select extract(epoch from '2026-05-31 15:03:09'::timestamp) - extract(epoch from '2026-05-31 15:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566178 -3.298806)'), GeomFromEWKT('SRID=4674;POINT (-38.56617 -3.298833)'))) / (select extract(epoch from '2026-05-31 15:03:09'::timestamp) - extract(epoch from '2026-05-31 15:03:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566157 -3.298886)', '2026-05-31 15:03:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56617 -3.298833)'), GeomFromEWKT('SRID=4674;POINT (-38.566157 -3.298886)'))) / (select extract(epoch from '2026-05-31 15:03:15'::timestamp) - extract(epoch from '2026-05-31 15:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56617 -3.298833)'), GeomFromEWKT('SRID=4674;POINT (-38.566157 -3.298886)'))) / (select extract(epoch from '2026-05-31 15:03:15'::timestamp) - extract(epoch from '2026-05-31 15:03: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.566137 -3.298948)', '2026-05-31 15:03:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566157 -3.298886)'), GeomFromEWKT('SRID=4674;POINT (-38.566137 -3.298948)'))) / (select extract(epoch from '2026-05-31 15:03:22'::timestamp) - extract(epoch from '2026-05-31 15:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566157 -3.298886)'), GeomFromEWKT('SRID=4674;POINT (-38.566137 -3.298948)'))) / (select extract(epoch from '2026-05-31 15:03:22'::timestamp) - extract(epoch from '2026-05-31 15:03: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.566118 -3.299014)', '2026-05-31 15:03:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566137 -3.298948)'), GeomFromEWKT('SRID=4674;POINT (-38.566118 -3.299014)'))) / (select extract(epoch from '2026-05-31 15:03:29'::timestamp) - extract(epoch from '2026-05-31 15:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566137 -3.298948)'), GeomFromEWKT('SRID=4674;POINT (-38.566118 -3.299014)'))) / (select extract(epoch from '2026-05-31 15:03:29'::timestamp) - extract(epoch from '2026-05-31 15:03: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.566107 -3.299086)', '2026-05-31 15:03:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566118 -3.299014)'), GeomFromEWKT('SRID=4674;POINT (-38.566107 -3.299086)'))) / (select extract(epoch from '2026-05-31 15:03:36'::timestamp) - extract(epoch from '2026-05-31 15:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566118 -3.299014)'), GeomFromEWKT('SRID=4674;POINT (-38.566107 -3.299086)'))) / (select extract(epoch from '2026-05-31 15:03:36'::timestamp) - extract(epoch from '2026-05-31 15:03: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.566107 -3.299147)', '2026-05-31 15:03:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566107 -3.299086)'), GeomFromEWKT('SRID=4674;POINT (-38.566107 -3.299147)'))) / (select extract(epoch from '2026-05-31 15:03:44'::timestamp) - extract(epoch from '2026-05-31 15:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566107 -3.299086)'), GeomFromEWKT('SRID=4674;POINT (-38.566107 -3.299147)'))) / (select extract(epoch from '2026-05-31 15:03:44'::timestamp) - extract(epoch from '2026-05-31 15:03: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.566104 -3.29918)', '2026-05-31 15:03:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566107 -3.299147)'), GeomFromEWKT('SRID=4674;POINT (-38.566104 -3.29918)'))) / (select extract(epoch from '2026-05-31 15:03:50'::timestamp) - extract(epoch from '2026-05-31 15:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566107 -3.299147)'), GeomFromEWKT('SRID=4674;POINT (-38.566104 -3.29918)'))) / (select extract(epoch from '2026-05-31 15:03:50'::timestamp) - extract(epoch from '2026-05-31 15:03: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.566127 -3.299232)', '2026-05-31 15:03:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566104 -3.29918)'), GeomFromEWKT('SRID=4674;POINT (-38.566127 -3.299232)'))) / (select extract(epoch from '2026-05-31 15:03:59'::timestamp) - extract(epoch from '2026-05-31 15:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566104 -3.29918)'), GeomFromEWKT('SRID=4674;POINT (-38.566127 -3.299232)'))) / (select extract(epoch from '2026-05-31 15:03:59'::timestamp) - extract(epoch from '2026-05-31 15:03:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566138 -3.299319)', '2026-05-31 15:04:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566127 -3.299232)'), GeomFromEWKT('SRID=4674;POINT (-38.566138 -3.299319)'))) / (select extract(epoch from '2026-05-31 15:04:08'::timestamp) - extract(epoch from '2026-05-31 15:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566127 -3.299232)'), GeomFromEWKT('SRID=4674;POINT (-38.566138 -3.299319)'))) / (select extract(epoch from '2026-05-31 15:04:08'::timestamp) - extract(epoch from '2026-05-31 15:03: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.566149 -3.299367)', '2026-05-31 15:04:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566138 -3.299319)'), GeomFromEWKT('SRID=4674;POINT (-38.566149 -3.299367)'))) / (select extract(epoch from '2026-05-31 15:04:13'::timestamp) - extract(epoch from '2026-05-31 15:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566138 -3.299319)'), GeomFromEWKT('SRID=4674;POINT (-38.566149 -3.299367)'))) / (select extract(epoch from '2026-05-31 15:04:13'::timestamp) - extract(epoch from '2026-05-31 15:04:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566164 -3.299472)', '2026-05-31 15:04:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566149 -3.299367)'), GeomFromEWKT('SRID=4674;POINT (-38.566164 -3.299472)'))) / (select extract(epoch from '2026-05-31 15:04:22'::timestamp) - extract(epoch from '2026-05-31 15:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566149 -3.299367)'), GeomFromEWKT('SRID=4674;POINT (-38.566164 -3.299472)'))) / (select extract(epoch from '2026-05-31 15:04:22'::timestamp) - extract(epoch from '2026-05-31 15:04:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56617 -3.299553)', '2026-05-31 15:04:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566164 -3.299472)'), GeomFromEWKT('SRID=4674;POINT (-38.56617 -3.299553)'))) / (select extract(epoch from '2026-05-31 15:04:29'::timestamp) - extract(epoch from '2026-05-31 15:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566164 -3.299472)'), GeomFromEWKT('SRID=4674;POINT (-38.56617 -3.299553)'))) / (select extract(epoch from '2026-05-31 15:04:29'::timestamp) - extract(epoch from '2026-05-31 15:04:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566167 -3.299596)', '2026-05-31 15:04:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56617 -3.299553)'), GeomFromEWKT('SRID=4674;POINT (-38.566167 -3.299596)'))) / (select extract(epoch from '2026-05-31 15:04:33'::timestamp) - extract(epoch from '2026-05-31 15:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56617 -3.299553)'), GeomFromEWKT('SRID=4674;POINT (-38.566167 -3.299596)'))) / (select extract(epoch from '2026-05-31 15:04:33'::timestamp) - extract(epoch from '2026-05-31 15:04:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56617 -3.299609)', '2026-05-31 15:04:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566167 -3.299596)'), GeomFromEWKT('SRID=4674;POINT (-38.56617 -3.299609)'))) / (select extract(epoch from '2026-05-31 15:04:34'::timestamp) - extract(epoch from '2026-05-31 15:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566167 -3.299596)'), GeomFromEWKT('SRID=4674;POINT (-38.56617 -3.299609)'))) / (select extract(epoch from '2026-05-31 15:04:34'::timestamp) - extract(epoch from '2026-05-31 15:04:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566178 -3.299636)', '2026-05-31 15:04:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56617 -3.299609)'), GeomFromEWKT('SRID=4674;POINT (-38.566178 -3.299636)'))) / (select extract(epoch from '2026-05-31 15:04:36'::timestamp) - extract(epoch from '2026-05-31 15:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56617 -3.299609)'), GeomFromEWKT('SRID=4674;POINT (-38.566178 -3.299636)'))) / (select extract(epoch from '2026-05-31 15:04:36'::timestamp) - extract(epoch from '2026-05-31 15:04:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566173 -3.299656)', '2026-05-31 15:04:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566178 -3.299636)'), GeomFromEWKT('SRID=4674;POINT (-38.566173 -3.299656)'))) / (select extract(epoch from '2026-05-31 15:04:38'::timestamp) - extract(epoch from '2026-05-31 15:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566178 -3.299636)'), GeomFromEWKT('SRID=4674;POINT (-38.566173 -3.299656)'))) / (select extract(epoch from '2026-05-31 15:04:38'::timestamp) - extract(epoch from '2026-05-31 15:04: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.566174 -3.299666)', '2026-05-31 15:04:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566173 -3.299656)'), GeomFromEWKT('SRID=4674;POINT (-38.566174 -3.299666)'))) / (select extract(epoch from '2026-05-31 15:04:39'::timestamp) - extract(epoch from '2026-05-31 15:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566173 -3.299656)'), GeomFromEWKT('SRID=4674;POINT (-38.566174 -3.299666)'))) / (select extract(epoch from '2026-05-31 15:04:39'::timestamp) - extract(epoch from '2026-05-31 15:04: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.566174 -3.29976)', '2026-05-31 15:04:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566174 -3.299666)'), GeomFromEWKT('SRID=4674;POINT (-38.566174 -3.29976)'))) / (select extract(epoch from '2026-05-31 15:04:48'::timestamp) - extract(epoch from '2026-05-31 15:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566174 -3.299666)'), GeomFromEWKT('SRID=4674;POINT (-38.566174 -3.29976)'))) / (select extract(epoch from '2026-05-31 15:04:48'::timestamp) - extract(epoch from '2026-05-31 15:04: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.566168 -3.299829)', '2026-05-31 15:04:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566174 -3.29976)'), GeomFromEWKT('SRID=4674;POINT (-38.566168 -3.299829)'))) / (select extract(epoch from '2026-05-31 15:04:54'::timestamp) - extract(epoch from '2026-05-31 15:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566174 -3.29976)'), GeomFromEWKT('SRID=4674;POINT (-38.566168 -3.299829)'))) / (select extract(epoch from '2026-05-31 15:04:54'::timestamp) - extract(epoch from '2026-05-31 15:04: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.566163 -3.299892)', '2026-05-31 15:05:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566168 -3.299829)'), GeomFromEWKT('SRID=4674;POINT (-38.566163 -3.299892)'))) / (select extract(epoch from '2026-05-31 15:05:00'::timestamp) - extract(epoch from '2026-05-31 15:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566168 -3.299829)'), GeomFromEWKT('SRID=4674;POINT (-38.566163 -3.299892)'))) / (select extract(epoch from '2026-05-31 15:05:00'::timestamp) - extract(epoch from '2026-05-31 15:04: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.566161 -3.299986)', '2026-05-31 15:05:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566163 -3.299892)'), GeomFromEWKT('SRID=4674;POINT (-38.566161 -3.299986)'))) / (select extract(epoch from '2026-05-31 15:05:08'::timestamp) - extract(epoch from '2026-05-31 15:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566163 -3.299892)'), GeomFromEWKT('SRID=4674;POINT (-38.566161 -3.299986)'))) / (select extract(epoch from '2026-05-31 15:05:08'::timestamp) - extract(epoch from '2026-05-31 15:05: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.566166 -3.300068)', '2026-05-31 15:05:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566161 -3.299986)'), GeomFromEWKT('SRID=4674;POINT (-38.566166 -3.300068)'))) / (select extract(epoch from '2026-05-31 15:05:15'::timestamp) - extract(epoch from '2026-05-31 15:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566161 -3.299986)'), GeomFromEWKT('SRID=4674;POINT (-38.566166 -3.300068)'))) / (select extract(epoch from '2026-05-31 15:05:15'::timestamp) - extract(epoch from '2026-05-31 15:05: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.566166 -3.300143)', '2026-05-31 15:05:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566166 -3.300068)'), GeomFromEWKT('SRID=4674;POINT (-38.566166 -3.300143)'))) / (select extract(epoch from '2026-05-31 15:05:21'::timestamp) - extract(epoch from '2026-05-31 15:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566166 -3.300068)'), GeomFromEWKT('SRID=4674;POINT (-38.566166 -3.300143)'))) / (select extract(epoch from '2026-05-31 15:05:21'::timestamp) - extract(epoch from '2026-05-31 15:05: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.566163 -3.300155)', '2026-05-31 15:05:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566166 -3.300143)'), GeomFromEWKT('SRID=4674;POINT (-38.566163 -3.300155)'))) / (select extract(epoch from '2026-05-31 15:05:22'::timestamp) - extract(epoch from '2026-05-31 15:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566166 -3.300143)'), GeomFromEWKT('SRID=4674;POINT (-38.566163 -3.300155)'))) / (select extract(epoch from '2026-05-31 15:05:22'::timestamp) - extract(epoch from '2026-05-31 15:05:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566153 -3.300247)', '2026-05-31 15:05:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566163 -3.300155)'), GeomFromEWKT('SRID=4674;POINT (-38.566153 -3.300247)'))) / (select extract(epoch from '2026-05-31 15:05:30'::timestamp) - extract(epoch from '2026-05-31 15:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566163 -3.300155)'), GeomFromEWKT('SRID=4674;POINT (-38.566153 -3.300247)'))) / (select extract(epoch from '2026-05-31 15:05:30'::timestamp) - extract(epoch from '2026-05-31 15:05: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.566147 -3.300311)', '2026-05-31 15:05:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566153 -3.300247)'), GeomFromEWKT('SRID=4674;POINT (-38.566147 -3.300311)'))) / (select extract(epoch from '2026-05-31 15:05:36'::timestamp) - extract(epoch from '2026-05-31 15:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566153 -3.300247)'), GeomFromEWKT('SRID=4674;POINT (-38.566147 -3.300311)'))) / (select extract(epoch from '2026-05-31 15:05:36'::timestamp) - extract(epoch from '2026-05-31 15:05:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566141 -3.300381)', '2026-05-31 15:05:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566147 -3.300311)'), GeomFromEWKT('SRID=4674;POINT (-38.566141 -3.300381)'))) / (select extract(epoch from '2026-05-31 15:05:42'::timestamp) - extract(epoch from '2026-05-31 15:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566147 -3.300311)'), GeomFromEWKT('SRID=4674;POINT (-38.566141 -3.300381)'))) / (select extract(epoch from '2026-05-31 15:05:42'::timestamp) - extract(epoch from '2026-05-31 15:05:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566137 -3.300449)', '2026-05-31 15:05:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566141 -3.300381)'), GeomFromEWKT('SRID=4674;POINT (-38.566137 -3.300449)'))) / (select extract(epoch from '2026-05-31 15:05:48'::timestamp) - extract(epoch from '2026-05-31 15:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566141 -3.300381)'), GeomFromEWKT('SRID=4674;POINT (-38.566137 -3.300449)'))) / (select extract(epoch from '2026-05-31 15:05:48'::timestamp) - extract(epoch from '2026-05-31 15:05:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566135 -3.300457)', '2026-05-31 15:05:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566137 -3.300449)'), GeomFromEWKT('SRID=4674;POINT (-38.566135 -3.300457)'))) / (select extract(epoch from '2026-05-31 15:05:49'::timestamp) - extract(epoch from '2026-05-31 15:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566137 -3.300449)'), GeomFromEWKT('SRID=4674;POINT (-38.566135 -3.300457)'))) / (select extract(epoch from '2026-05-31 15:05:49'::timestamp) - extract(epoch from '2026-05-31 15:05:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566126 -3.300474)', '2026-05-31 15:05:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566135 -3.300457)'), GeomFromEWKT('SRID=4674;POINT (-38.566126 -3.300474)'))) / (select extract(epoch from '2026-05-31 15:05:51'::timestamp) - extract(epoch from '2026-05-31 15:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566135 -3.300457)'), GeomFromEWKT('SRID=4674;POINT (-38.566126 -3.300474)'))) / (select extract(epoch from '2026-05-31 15:05:51'::timestamp) - extract(epoch from '2026-05-31 15:05: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.566121 -3.300514)', '2026-05-31 15:05:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566126 -3.300474)'), GeomFromEWKT('SRID=4674;POINT (-38.566121 -3.300514)'))) / (select extract(epoch from '2026-05-31 15:05:55'::timestamp) - extract(epoch from '2026-05-31 15:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566126 -3.300474)'), GeomFromEWKT('SRID=4674;POINT (-38.566121 -3.300514)'))) / (select extract(epoch from '2026-05-31 15:05:55'::timestamp) - extract(epoch from '2026-05-31 15:05:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566118 -3.300521)', '2026-05-31 15:05:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566121 -3.300514)'), GeomFromEWKT('SRID=4674;POINT (-38.566118 -3.300521)'))) / (select extract(epoch from '2026-05-31 15:05:56'::timestamp) - extract(epoch from '2026-05-31 15:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566121 -3.300514)'), GeomFromEWKT('SRID=4674;POINT (-38.566118 -3.300521)'))) / (select extract(epoch from '2026-05-31 15:05:56'::timestamp) - extract(epoch from '2026-05-31 15:05: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.566092 -3.30061)', '2026-05-31 15:06:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566118 -3.300521)'), GeomFromEWKT('SRID=4674;POINT (-38.566092 -3.30061)'))) / (select extract(epoch from '2026-05-31 15:06:05'::timestamp) - extract(epoch from '2026-05-31 15:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566118 -3.300521)'), GeomFromEWKT('SRID=4674;POINT (-38.566092 -3.30061)'))) / (select extract(epoch from '2026-05-31 15:06:05'::timestamp) - extract(epoch from '2026-05-31 15:05: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.566072 -3.300673)', '2026-05-31 15:06:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566092 -3.30061)'), GeomFromEWKT('SRID=4674;POINT (-38.566072 -3.300673)'))) / (select extract(epoch from '2026-05-31 15:06:12'::timestamp) - extract(epoch from '2026-05-31 15:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566092 -3.30061)'), GeomFromEWKT('SRID=4674;POINT (-38.566072 -3.300673)'))) / (select extract(epoch from '2026-05-31 15:06:12'::timestamp) - extract(epoch from '2026-05-31 15:06: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.566069 -3.300683)', '2026-05-31 15:06:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566072 -3.300673)'), GeomFromEWKT('SRID=4674;POINT (-38.566069 -3.300683)'))) / (select extract(epoch from '2026-05-31 15:06:13'::timestamp) - extract(epoch from '2026-05-31 15:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566072 -3.300673)'), GeomFromEWKT('SRID=4674;POINT (-38.566069 -3.300683)'))) / (select extract(epoch from '2026-05-31 15:06:13'::timestamp) - extract(epoch from '2026-05-31 15:06: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.566061 -3.300738)', '2026-05-31 15:06:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566069 -3.300683)'), GeomFromEWKT('SRID=4674;POINT (-38.566061 -3.300738)'))) / (select extract(epoch from '2026-05-31 15:06:18'::timestamp) - extract(epoch from '2026-05-31 15:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566069 -3.300683)'), GeomFromEWKT('SRID=4674;POINT (-38.566061 -3.300738)'))) / (select extract(epoch from '2026-05-31 15:06:18'::timestamp) - extract(epoch from '2026-05-31 15:06:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566052 -3.300766)', '2026-05-31 15:06:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566061 -3.300738)'), GeomFromEWKT('SRID=4674;POINT (-38.566052 -3.300766)'))) / (select extract(epoch from '2026-05-31 15:06:21'::timestamp) - extract(epoch from '2026-05-31 15:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566061 -3.300738)'), GeomFromEWKT('SRID=4674;POINT (-38.566052 -3.300766)'))) / (select extract(epoch from '2026-05-31 15:06:21'::timestamp) - extract(epoch from '2026-05-31 15:06: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.566053 -3.300793)', '2026-05-31 15:06:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566052 -3.300766)'), GeomFromEWKT('SRID=4674;POINT (-38.566053 -3.300793)'))) / (select extract(epoch from '2026-05-31 15:06:24'::timestamp) - extract(epoch from '2026-05-31 15:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566052 -3.300766)'), GeomFromEWKT('SRID=4674;POINT (-38.566053 -3.300793)'))) / (select extract(epoch from '2026-05-31 15:06:24'::timestamp) - extract(epoch from '2026-05-31 15:06: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.566051 -3.300869)', '2026-05-31 15:06:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566053 -3.300793)'), GeomFromEWKT('SRID=4674;POINT (-38.566051 -3.300869)'))) / (select extract(epoch from '2026-05-31 15:06:31'::timestamp) - extract(epoch from '2026-05-31 15:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566053 -3.300793)'), GeomFromEWKT('SRID=4674;POINT (-38.566051 -3.300869)'))) / (select extract(epoch from '2026-05-31 15:06:31'::timestamp) - extract(epoch from '2026-05-31 15:06:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566037 -3.300932)', '2026-05-31 15:06:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566051 -3.300869)'), GeomFromEWKT('SRID=4674;POINT (-38.566037 -3.300932)'))) / (select extract(epoch from '2026-05-31 15:06:37'::timestamp) - extract(epoch from '2026-05-31 15:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566051 -3.300869)'), GeomFromEWKT('SRID=4674;POINT (-38.566037 -3.300932)'))) / (select extract(epoch from '2026-05-31 15:06:37'::timestamp) - extract(epoch from '2026-05-31 15:06:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566019 -3.300996)', '2026-05-31 15:06:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566037 -3.300932)'), GeomFromEWKT('SRID=4674;POINT (-38.566019 -3.300996)'))) / (select extract(epoch from '2026-05-31 15:06:43'::timestamp) - extract(epoch from '2026-05-31 15:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566037 -3.300932)'), GeomFromEWKT('SRID=4674;POINT (-38.566019 -3.300996)'))) / (select extract(epoch from '2026-05-31 15:06:43'::timestamp) - extract(epoch from '2026-05-31 15:06:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566011 -3.30103)', '2026-05-31 15:06:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566019 -3.300996)'), GeomFromEWKT('SRID=4674;POINT (-38.566011 -3.30103)'))) / (select extract(epoch from '2026-05-31 15:06:47'::timestamp) - extract(epoch from '2026-05-31 15:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566019 -3.300996)'), GeomFromEWKT('SRID=4674;POINT (-38.566011 -3.30103)'))) / (select extract(epoch from '2026-05-31 15:06:47'::timestamp) - extract(epoch from '2026-05-31 15:06: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.566002 -3.301046)', '2026-05-31 15:06:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566011 -3.30103)'), GeomFromEWKT('SRID=4674;POINT (-38.566002 -3.301046)'))) / (select extract(epoch from '2026-05-31 15:06:49'::timestamp) - extract(epoch from '2026-05-31 15:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566011 -3.30103)'), GeomFromEWKT('SRID=4674;POINT (-38.566002 -3.301046)'))) / (select extract(epoch from '2026-05-31 15:06:49'::timestamp) - extract(epoch from '2026-05-31 15:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565991 -3.301074)', '2026-05-31 15:06:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566002 -3.301046)'), GeomFromEWKT('SRID=4674;POINT (-38.565991 -3.301074)'))) / (select extract(epoch from '2026-05-31 15:06:52'::timestamp) - extract(epoch from '2026-05-31 15:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566002 -3.301046)'), GeomFromEWKT('SRID=4674;POINT (-38.565991 -3.301074)'))) / (select extract(epoch from '2026-05-31 15:06:52'::timestamp) - extract(epoch from '2026-05-31 15:06: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.56599 -3.30111)', '2026-05-31 15:06:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565991 -3.301074)'), GeomFromEWKT('SRID=4674;POINT (-38.56599 -3.30111)'))) / (select extract(epoch from '2026-05-31 15:06:55'::timestamp) - extract(epoch from '2026-05-31 15:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565991 -3.301074)'), GeomFromEWKT('SRID=4674;POINT (-38.56599 -3.30111)'))) / (select extract(epoch from '2026-05-31 15:06:55'::timestamp) - extract(epoch from '2026-05-31 15:06:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565987 -3.301184)', '2026-05-31 15:07:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56599 -3.30111)'), GeomFromEWKT('SRID=4674;POINT (-38.565987 -3.301184)'))) / (select extract(epoch from '2026-05-31 15:07:02'::timestamp) - extract(epoch from '2026-05-31 15:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56599 -3.30111)'), GeomFromEWKT('SRID=4674;POINT (-38.565987 -3.301184)'))) / (select extract(epoch from '2026-05-31 15:07:02'::timestamp) - extract(epoch from '2026-05-31 15:06: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.565982 -3.301231)', '2026-05-31 15:07:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565987 -3.301184)'), GeomFromEWKT('SRID=4674;POINT (-38.565982 -3.301231)'))) / (select extract(epoch from '2026-05-31 15:07:07'::timestamp) - extract(epoch from '2026-05-31 15:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565987 -3.301184)'), GeomFromEWKT('SRID=4674;POINT (-38.565982 -3.301231)'))) / (select extract(epoch from '2026-05-31 15:07:07'::timestamp) - extract(epoch from '2026-05-31 15:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565985 -3.301254)', '2026-05-31 15:07:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565982 -3.301231)'), GeomFromEWKT('SRID=4674;POINT (-38.565985 -3.301254)'))) / (select extract(epoch from '2026-05-31 15:07:09'::timestamp) - extract(epoch from '2026-05-31 15:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565982 -3.301231)'), GeomFromEWKT('SRID=4674;POINT (-38.565985 -3.301254)'))) / (select extract(epoch from '2026-05-31 15:07:09'::timestamp) - extract(epoch from '2026-05-31 15:07: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.56598 -3.301266)', '2026-05-31 15:07:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565985 -3.301254)'), GeomFromEWKT('SRID=4674;POINT (-38.56598 -3.301266)'))) / (select extract(epoch from '2026-05-31 15:07:10'::timestamp) - extract(epoch from '2026-05-31 15:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565985 -3.301254)'), GeomFromEWKT('SRID=4674;POINT (-38.56598 -3.301266)'))) / (select extract(epoch from '2026-05-31 15:07:10'::timestamp) - extract(epoch from '2026-05-31 15:07:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56597 -3.301317)', '2026-05-31 15:07:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56598 -3.301266)'), GeomFromEWKT('SRID=4674;POINT (-38.56597 -3.301317)'))) / (select extract(epoch from '2026-05-31 15:07:15'::timestamp) - extract(epoch from '2026-05-31 15:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56598 -3.301266)'), GeomFromEWKT('SRID=4674;POINT (-38.56597 -3.301317)'))) / (select extract(epoch from '2026-05-31 15:07:15'::timestamp) - extract(epoch from '2026-05-31 15:07: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.56596 -3.301347)', '2026-05-31 15:07:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56597 -3.301317)'), GeomFromEWKT('SRID=4674;POINT (-38.56596 -3.301347)'))) / (select extract(epoch from '2026-05-31 15:07:18'::timestamp) - extract(epoch from '2026-05-31 15:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56597 -3.301317)'), GeomFromEWKT('SRID=4674;POINT (-38.56596 -3.301347)'))) / (select extract(epoch from '2026-05-31 15:07:18'::timestamp) - extract(epoch from '2026-05-31 15:07: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.565959 -3.301367)', '2026-05-31 15:07:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56596 -3.301347)'), GeomFromEWKT('SRID=4674;POINT (-38.565959 -3.301367)'))) / (select extract(epoch from '2026-05-31 15:07:20'::timestamp) - extract(epoch from '2026-05-31 15:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56596 -3.301347)'), GeomFromEWKT('SRID=4674;POINT (-38.565959 -3.301367)'))) / (select extract(epoch from '2026-05-31 15:07:20'::timestamp) - extract(epoch from '2026-05-31 15:07:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565963 -3.301456)', '2026-05-31 15:07:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565959 -3.301367)'), GeomFromEWKT('SRID=4674;POINT (-38.565963 -3.301456)'))) / (select extract(epoch from '2026-05-31 15:07:29'::timestamp) - extract(epoch from '2026-05-31 15:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565959 -3.301367)'), GeomFromEWKT('SRID=4674;POINT (-38.565963 -3.301456)'))) / (select extract(epoch from '2026-05-31 15:07:29'::timestamp) - extract(epoch from '2026-05-31 15:07: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.565944 -3.301517)', '2026-05-31 15:07:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565963 -3.301456)'), GeomFromEWKT('SRID=4674;POINT (-38.565944 -3.301517)'))) / (select extract(epoch from '2026-05-31 15:07:35'::timestamp) - extract(epoch from '2026-05-31 15:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565963 -3.301456)'), GeomFromEWKT('SRID=4674;POINT (-38.565944 -3.301517)'))) / (select extract(epoch from '2026-05-31 15:07:35'::timestamp) - extract(epoch from '2026-05-31 15:07: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.565909 -3.301601)', '2026-05-31 15:07:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565944 -3.301517)'), GeomFromEWKT('SRID=4674;POINT (-38.565909 -3.301601)'))) / (select extract(epoch from '2026-05-31 15:07:44'::timestamp) - extract(epoch from '2026-05-31 15:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565944 -3.301517)'), GeomFromEWKT('SRID=4674;POINT (-38.565909 -3.301601)'))) / (select extract(epoch from '2026-05-31 15:07:44'::timestamp) - extract(epoch from '2026-05-31 15:07: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.565882 -3.301652)', '2026-05-31 15:07:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565909 -3.301601)'), GeomFromEWKT('SRID=4674;POINT (-38.565882 -3.301652)'))) / (select extract(epoch from '2026-05-31 15:07:49'::timestamp) - extract(epoch from '2026-05-31 15:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565909 -3.301601)'), GeomFromEWKT('SRID=4674;POINT (-38.565882 -3.301652)'))) / (select extract(epoch from '2026-05-31 15:07:49'::timestamp) - extract(epoch from '2026-05-31 15:07: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.565875 -3.301666)', '2026-05-31 15:07:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565882 -3.301652)'), GeomFromEWKT('SRID=4674;POINT (-38.565875 -3.301666)'))) / (select extract(epoch from '2026-05-31 15:07:51'::timestamp) - extract(epoch from '2026-05-31 15:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565882 -3.301652)'), GeomFromEWKT('SRID=4674;POINT (-38.565875 -3.301666)'))) / (select extract(epoch from '2026-05-31 15:07:51'::timestamp) - extract(epoch from '2026-05-31 15:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565869 -3.301683)', '2026-05-31 15:07:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565875 -3.301666)'), GeomFromEWKT('SRID=4674;POINT (-38.565869 -3.301683)'))) / (select extract(epoch from '2026-05-31 15:07:53'::timestamp) - extract(epoch from '2026-05-31 15:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565875 -3.301666)'), GeomFromEWKT('SRID=4674;POINT (-38.565869 -3.301683)'))) / (select extract(epoch from '2026-05-31 15:07:53'::timestamp) - extract(epoch from '2026-05-31 15:07: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.565865 -3.301714)', '2026-05-31 15:07:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565869 -3.301683)'), GeomFromEWKT('SRID=4674;POINT (-38.565865 -3.301714)'))) / (select extract(epoch from '2026-05-31 15:07:56'::timestamp) - extract(epoch from '2026-05-31 15:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565869 -3.301683)'), GeomFromEWKT('SRID=4674;POINT (-38.565865 -3.301714)'))) / (select extract(epoch from '2026-05-31 15:07:56'::timestamp) - extract(epoch from '2026-05-31 15:07:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565862 -3.301744)', '2026-05-31 15:08:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565865 -3.301714)'), GeomFromEWKT('SRID=4674;POINT (-38.565862 -3.301744)'))) / (select extract(epoch from '2026-05-31 15:08:00'::timestamp) - extract(epoch from '2026-05-31 15:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565865 -3.301714)'), GeomFromEWKT('SRID=4674;POINT (-38.565862 -3.301744)'))) / (select extract(epoch from '2026-05-31 15:08:00'::timestamp) - extract(epoch from '2026-05-31 15:07:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565854 -3.301769)', '2026-05-31 15:08:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565862 -3.301744)'), GeomFromEWKT('SRID=4674;POINT (-38.565854 -3.301769)'))) / (select extract(epoch from '2026-05-31 15:08:03'::timestamp) - extract(epoch from '2026-05-31 15:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565862 -3.301744)'), GeomFromEWKT('SRID=4674;POINT (-38.565854 -3.301769)'))) / (select extract(epoch from '2026-05-31 15:08:03'::timestamp) - extract(epoch from '2026-05-31 15:08:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565854 -3.301777)', '2026-05-31 15:08:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565854 -3.301769)'), GeomFromEWKT('SRID=4674;POINT (-38.565854 -3.301777)'))) / (select extract(epoch from '2026-05-31 15:08:04'::timestamp) - extract(epoch from '2026-05-31 15:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565854 -3.301769)'), GeomFromEWKT('SRID=4674;POINT (-38.565854 -3.301777)'))) / (select extract(epoch from '2026-05-31 15:08:04'::timestamp) - extract(epoch from '2026-05-31 15:08: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.565849 -3.301809)', '2026-05-31 15:08:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565854 -3.301777)'), GeomFromEWKT('SRID=4674;POINT (-38.565849 -3.301809)'))) / (select extract(epoch from '2026-05-31 15:08:08'::timestamp) - extract(epoch from '2026-05-31 15:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565854 -3.301777)'), GeomFromEWKT('SRID=4674;POINT (-38.565849 -3.301809)'))) / (select extract(epoch from '2026-05-31 15:08:08'::timestamp) - extract(epoch from '2026-05-31 15:08:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565858 -3.30185)', '2026-05-31 15:08:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565849 -3.301809)'), GeomFromEWKT('SRID=4674;POINT (-38.565858 -3.30185)'))) / (select extract(epoch from '2026-05-31 15:08:14'::timestamp) - extract(epoch from '2026-05-31 15:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565849 -3.301809)'), GeomFromEWKT('SRID=4674;POINT (-38.565858 -3.30185)'))) / (select extract(epoch from '2026-05-31 15:08:14'::timestamp) - extract(epoch from '2026-05-31 15:08: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.565846 -3.301921)', '2026-05-31 15:08:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565858 -3.30185)'), GeomFromEWKT('SRID=4674;POINT (-38.565846 -3.301921)'))) / (select extract(epoch from '2026-05-31 15:08:21'::timestamp) - extract(epoch from '2026-05-31 15:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565858 -3.30185)'), GeomFromEWKT('SRID=4674;POINT (-38.565846 -3.301921)'))) / (select extract(epoch from '2026-05-31 15:08:21'::timestamp) - extract(epoch from '2026-05-31 15:08: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.565843 -3.301938)', '2026-05-31 15:08:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565846 -3.301921)'), GeomFromEWKT('SRID=4674;POINT (-38.565843 -3.301938)'))) / (select extract(epoch from '2026-05-31 15:08:23'::timestamp) - extract(epoch from '2026-05-31 15:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565846 -3.301921)'), GeomFromEWKT('SRID=4674;POINT (-38.565843 -3.301938)'))) / (select extract(epoch from '2026-05-31 15:08:23'::timestamp) - extract(epoch from '2026-05-31 15:08: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.565832 -3.301998)', '2026-05-31 15:08:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565843 -3.301938)'), GeomFromEWKT('SRID=4674;POINT (-38.565832 -3.301998)'))) / (select extract(epoch from '2026-05-31 15:08:29'::timestamp) - extract(epoch from '2026-05-31 15:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565843 -3.301938)'), GeomFromEWKT('SRID=4674;POINT (-38.565832 -3.301998)'))) / (select extract(epoch from '2026-05-31 15:08:29'::timestamp) - extract(epoch from '2026-05-31 15:08: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.565832 -3.30201)', '2026-05-31 15:08:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565832 -3.301998)'), GeomFromEWKT('SRID=4674;POINT (-38.565832 -3.30201)'))) / (select extract(epoch from '2026-05-31 15:08:30'::timestamp) - extract(epoch from '2026-05-31 15:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565832 -3.301998)'), GeomFromEWKT('SRID=4674;POINT (-38.565832 -3.30201)'))) / (select extract(epoch from '2026-05-31 15:08:30'::timestamp) - extract(epoch from '2026-05-31 15:08:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565827 -3.30204)', '2026-05-31 15:08:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565832 -3.30201)'), GeomFromEWKT('SRID=4674;POINT (-38.565827 -3.30204)'))) / (select extract(epoch from '2026-05-31 15:08:33'::timestamp) - extract(epoch from '2026-05-31 15:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565832 -3.30201)'), GeomFromEWKT('SRID=4674;POINT (-38.565827 -3.30204)'))) / (select extract(epoch from '2026-05-31 15:08:33'::timestamp) - extract(epoch from '2026-05-31 15:08: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.56582 -3.302071)', '2026-05-31 15:08:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565827 -3.30204)'), GeomFromEWKT('SRID=4674;POINT (-38.56582 -3.302071)'))) / (select extract(epoch from '2026-05-31 15:08:36'::timestamp) - extract(epoch from '2026-05-31 15:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565827 -3.30204)'), GeomFromEWKT('SRID=4674;POINT (-38.56582 -3.302071)'))) / (select extract(epoch from '2026-05-31 15:08:36'::timestamp) - extract(epoch from '2026-05-31 15:08: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.565815 -3.302096)', '2026-05-31 15:08:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56582 -3.302071)'), GeomFromEWKT('SRID=4674;POINT (-38.565815 -3.302096)'))) / (select extract(epoch from '2026-05-31 15:08:39'::timestamp) - extract(epoch from '2026-05-31 15:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56582 -3.302071)'), GeomFromEWKT('SRID=4674;POINT (-38.565815 -3.302096)'))) / (select extract(epoch from '2026-05-31 15:08:39'::timestamp) - extract(epoch from '2026-05-31 15:08:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565805 -3.302126)', '2026-05-31 15:08:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565815 -3.302096)'), GeomFromEWKT('SRID=4674;POINT (-38.565805 -3.302126)'))) / (select extract(epoch from '2026-05-31 15:08:42'::timestamp) - extract(epoch from '2026-05-31 15:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565815 -3.302096)'), GeomFromEWKT('SRID=4674;POINT (-38.565805 -3.302126)'))) / (select extract(epoch from '2026-05-31 15:08:42'::timestamp) - extract(epoch from '2026-05-31 15:08: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.565804 -3.302137)', '2026-05-31 15:08:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565805 -3.302126)'), GeomFromEWKT('SRID=4674;POINT (-38.565804 -3.302137)'))) / (select extract(epoch from '2026-05-31 15:08:43'::timestamp) - extract(epoch from '2026-05-31 15:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565805 -3.302126)'), GeomFromEWKT('SRID=4674;POINT (-38.565804 -3.302137)'))) / (select extract(epoch from '2026-05-31 15:08:43'::timestamp) - extract(epoch from '2026-05-31 15:08:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565799 -3.302157)', '2026-05-31 15:08:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565804 -3.302137)'), GeomFromEWKT('SRID=4674;POINT (-38.565799 -3.302157)'))) / (select extract(epoch from '2026-05-31 15:08:45'::timestamp) - extract(epoch from '2026-05-31 15:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565804 -3.302137)'), GeomFromEWKT('SRID=4674;POINT (-38.565799 -3.302157)'))) / (select extract(epoch from '2026-05-31 15:08:45'::timestamp) - extract(epoch from '2026-05-31 15:08: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.565792 -3.302194)', '2026-05-31 15:08:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565799 -3.302157)'), GeomFromEWKT('SRID=4674;POINT (-38.565792 -3.302194)'))) / (select extract(epoch from '2026-05-31 15:08:49'::timestamp) - extract(epoch from '2026-05-31 15:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565799 -3.302157)'), GeomFromEWKT('SRID=4674;POINT (-38.565792 -3.302194)'))) / (select extract(epoch from '2026-05-31 15:08:49'::timestamp) - extract(epoch from '2026-05-31 15:08: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.565785 -3.302235)', '2026-05-31 15:08:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565792 -3.302194)'), GeomFromEWKT('SRID=4674;POINT (-38.565785 -3.302235)'))) / (select extract(epoch from '2026-05-31 15:08:54'::timestamp) - extract(epoch from '2026-05-31 15:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565792 -3.302194)'), GeomFromEWKT('SRID=4674;POINT (-38.565785 -3.302235)'))) / (select extract(epoch from '2026-05-31 15:08:54'::timestamp) - extract(epoch from '2026-05-31 15:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565783 -3.302257)', '2026-05-31 15:08:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565785 -3.302235)'), GeomFromEWKT('SRID=4674;POINT (-38.565783 -3.302257)'))) / (select extract(epoch from '2026-05-31 15:08:56'::timestamp) - extract(epoch from '2026-05-31 15:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565785 -3.302235)'), GeomFromEWKT('SRID=4674;POINT (-38.565783 -3.302257)'))) / (select extract(epoch from '2026-05-31 15:08:56'::timestamp) - extract(epoch from '2026-05-31 15:08: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.565764 -3.302313)', '2026-05-31 15:09:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565783 -3.302257)'), GeomFromEWKT('SRID=4674;POINT (-38.565764 -3.302313)'))) / (select extract(epoch from '2026-05-31 15:09:02'::timestamp) - extract(epoch from '2026-05-31 15:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565783 -3.302257)'), GeomFromEWKT('SRID=4674;POINT (-38.565764 -3.302313)'))) / (select extract(epoch from '2026-05-31 15:09:02'::timestamp) - extract(epoch from '2026-05-31 15:08: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.565755 -3.30239)', '2026-05-31 15:09:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565764 -3.302313)'), GeomFromEWKT('SRID=4674;POINT (-38.565755 -3.30239)'))) / (select extract(epoch from '2026-05-31 15:09:09'::timestamp) - extract(epoch from '2026-05-31 15:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565764 -3.302313)'), GeomFromEWKT('SRID=4674;POINT (-38.565755 -3.30239)'))) / (select extract(epoch from '2026-05-31 15:09:09'::timestamp) - extract(epoch from '2026-05-31 15:09:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565753 -3.302399)', '2026-05-31 15:09:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565755 -3.30239)'), GeomFromEWKT('SRID=4674;POINT (-38.565753 -3.302399)'))) / (select extract(epoch from '2026-05-31 15:09:10'::timestamp) - extract(epoch from '2026-05-31 15:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565755 -3.30239)'), GeomFromEWKT('SRID=4674;POINT (-38.565753 -3.302399)'))) / (select extract(epoch from '2026-05-31 15:09:10'::timestamp) - extract(epoch from '2026-05-31 15:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565749 -3.302475)', '2026-05-31 15:09:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565753 -3.302399)'), GeomFromEWKT('SRID=4674;POINT (-38.565749 -3.302475)'))) / (select extract(epoch from '2026-05-31 15:09:17'::timestamp) - extract(epoch from '2026-05-31 15:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565753 -3.302399)'), GeomFromEWKT('SRID=4674;POINT (-38.565749 -3.302475)'))) / (select extract(epoch from '2026-05-31 15:09:17'::timestamp) - extract(epoch from '2026-05-31 15:09: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.565746 -3.302563)', '2026-05-31 15:09:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565749 -3.302475)'), GeomFromEWKT('SRID=4674;POINT (-38.565746 -3.302563)'))) / (select extract(epoch from '2026-05-31 15:09:25'::timestamp) - extract(epoch from '2026-05-31 15:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565749 -3.302475)'), GeomFromEWKT('SRID=4674;POINT (-38.565746 -3.302563)'))) / (select extract(epoch from '2026-05-31 15:09:25'::timestamp) - extract(epoch from '2026-05-31 15:09:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565741 -3.302576)', '2026-05-31 15:09:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565746 -3.302563)'), GeomFromEWKT('SRID=4674;POINT (-38.565741 -3.302576)'))) / (select extract(epoch from '2026-05-31 15:09:26'::timestamp) - extract(epoch from '2026-05-31 15:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565746 -3.302563)'), GeomFromEWKT('SRID=4674;POINT (-38.565741 -3.302576)'))) / (select extract(epoch from '2026-05-31 15:09:26'::timestamp) - extract(epoch from '2026-05-31 15:09: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.565739 -3.302623)', '2026-05-31 15:09:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565741 -3.302576)'), GeomFromEWKT('SRID=4674;POINT (-38.565739 -3.302623)'))) / (select extract(epoch from '2026-05-31 15:09:30'::timestamp) - extract(epoch from '2026-05-31 15:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565741 -3.302576)'), GeomFromEWKT('SRID=4674;POINT (-38.565739 -3.302623)'))) / (select extract(epoch from '2026-05-31 15:09:30'::timestamp) - extract(epoch from '2026-05-31 15:09: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.565741 -3.302672)', '2026-05-31 15:09:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565739 -3.302623)'), GeomFromEWKT('SRID=4674;POINT (-38.565741 -3.302672)'))) / (select extract(epoch from '2026-05-31 15:09:35'::timestamp) - extract(epoch from '2026-05-31 15:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565739 -3.302623)'), GeomFromEWKT('SRID=4674;POINT (-38.565741 -3.302672)'))) / (select extract(epoch from '2026-05-31 15:09:35'::timestamp) - extract(epoch from '2026-05-31 15:09: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.565743 -3.302691)', '2026-05-31 15:09:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565741 -3.302672)'), GeomFromEWKT('SRID=4674;POINT (-38.565743 -3.302691)'))) / (select extract(epoch from '2026-05-31 15:09:37'::timestamp) - extract(epoch from '2026-05-31 15:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565741 -3.302672)'), GeomFromEWKT('SRID=4674;POINT (-38.565743 -3.302691)'))) / (select extract(epoch from '2026-05-31 15:09:37'::timestamp) - extract(epoch from '2026-05-31 15:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565738 -3.30277)', '2026-05-31 15:09:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565743 -3.302691)'), GeomFromEWKT('SRID=4674;POINT (-38.565738 -3.30277)'))) / (select extract(epoch from '2026-05-31 15:09:44'::timestamp) - extract(epoch from '2026-05-31 15:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565743 -3.302691)'), GeomFromEWKT('SRID=4674;POINT (-38.565738 -3.30277)'))) / (select extract(epoch from '2026-05-31 15:09:44'::timestamp) - extract(epoch from '2026-05-31 15:09: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.565722 -3.302824)', '2026-05-31 15:09:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565738 -3.30277)'), GeomFromEWKT('SRID=4674;POINT (-38.565722 -3.302824)'))) / (select extract(epoch from '2026-05-31 15:09:49'::timestamp) - extract(epoch from '2026-05-31 15:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565738 -3.30277)'), GeomFromEWKT('SRID=4674;POINT (-38.565722 -3.302824)'))) / (select extract(epoch from '2026-05-31 15:09:49'::timestamp) - extract(epoch from '2026-05-31 15:09: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.565724 -3.302846)', '2026-05-31 15:09:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565722 -3.302824)'), GeomFromEWKT('SRID=4674;POINT (-38.565724 -3.302846)'))) / (select extract(epoch from '2026-05-31 15:09:51'::timestamp) - extract(epoch from '2026-05-31 15:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565722 -3.302824)'), GeomFromEWKT('SRID=4674;POINT (-38.565724 -3.302846)'))) / (select extract(epoch from '2026-05-31 15:09:51'::timestamp) - extract(epoch from '2026-05-31 15:09: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.56572 -3.302855)', '2026-05-31 15:09:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565724 -3.302846)'), GeomFromEWKT('SRID=4674;POINT (-38.56572 -3.302855)'))) / (select extract(epoch from '2026-05-31 15:09:52'::timestamp) - extract(epoch from '2026-05-31 15:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565724 -3.302846)'), GeomFromEWKT('SRID=4674;POINT (-38.56572 -3.302855)'))) / (select extract(epoch from '2026-05-31 15:09:52'::timestamp) - extract(epoch from '2026-05-31 15:09: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.565712 -3.302899)', '2026-05-31 15:09:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56572 -3.302855)'), GeomFromEWKT('SRID=4674;POINT (-38.565712 -3.302899)'))) / (select extract(epoch from '2026-05-31 15:09:57'::timestamp) - extract(epoch from '2026-05-31 15:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56572 -3.302855)'), GeomFromEWKT('SRID=4674;POINT (-38.565712 -3.302899)'))) / (select extract(epoch from '2026-05-31 15:09:57'::timestamp) - extract(epoch from '2026-05-31 15:09: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.565695 -3.302951)', '2026-05-31 15:10:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565712 -3.302899)'), GeomFromEWKT('SRID=4674;POINT (-38.565695 -3.302951)'))) / (select extract(epoch from '2026-05-31 15:10:04'::timestamp) - extract(epoch from '2026-05-31 15:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565712 -3.302899)'), GeomFromEWKT('SRID=4674;POINT (-38.565695 -3.302951)'))) / (select extract(epoch from '2026-05-31 15:10:04'::timestamp) - extract(epoch from '2026-05-31 15:09: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.565679 -3.303015)', '2026-05-31 15:10:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565695 -3.302951)'), GeomFromEWKT('SRID=4674;POINT (-38.565679 -3.303015)'))) / (select extract(epoch from '2026-05-31 15:10:11'::timestamp) - extract(epoch from '2026-05-31 15:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565695 -3.302951)'), GeomFromEWKT('SRID=4674;POINT (-38.565679 -3.303015)'))) / (select extract(epoch from '2026-05-31 15:10:11'::timestamp) - extract(epoch from '2026-05-31 15:10: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.565678 -3.303024)', '2026-05-31 15:10:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565679 -3.303015)'), GeomFromEWKT('SRID=4674;POINT (-38.565678 -3.303024)'))) / (select extract(epoch from '2026-05-31 15:10:12'::timestamp) - extract(epoch from '2026-05-31 15:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565679 -3.303015)'), GeomFromEWKT('SRID=4674;POINT (-38.565678 -3.303024)'))) / (select extract(epoch from '2026-05-31 15:10:12'::timestamp) - extract(epoch from '2026-05-31 15:10: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.565677 -3.303067)', '2026-05-31 15:10:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565678 -3.303024)'), GeomFromEWKT('SRID=4674;POINT (-38.565677 -3.303067)'))) / (select extract(epoch from '2026-05-31 15:10:16'::timestamp) - extract(epoch from '2026-05-31 15:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565678 -3.303024)'), GeomFromEWKT('SRID=4674;POINT (-38.565677 -3.303067)'))) / (select extract(epoch from '2026-05-31 15:10:16'::timestamp) - extract(epoch from '2026-05-31 15:10: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.565676 -3.303111)', '2026-05-31 15:10:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565677 -3.303067)'), GeomFromEWKT('SRID=4674;POINT (-38.565676 -3.303111)'))) / (select extract(epoch from '2026-05-31 15:10:22'::timestamp) - extract(epoch from '2026-05-31 15:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565677 -3.303067)'), GeomFromEWKT('SRID=4674;POINT (-38.565676 -3.303111)'))) / (select extract(epoch from '2026-05-31 15:10:22'::timestamp) - extract(epoch from '2026-05-31 15:10: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.565673 -3.303169)', '2026-05-31 15:10:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565676 -3.303111)'), GeomFromEWKT('SRID=4674;POINT (-38.565673 -3.303169)'))) / (select extract(epoch from '2026-05-31 15:10:30'::timestamp) - extract(epoch from '2026-05-31 15:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565676 -3.303111)'), GeomFromEWKT('SRID=4674;POINT (-38.565673 -3.303169)'))) / (select extract(epoch from '2026-05-31 15:10:30'::timestamp) - extract(epoch from '2026-05-31 15:10:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565679 -3.303236)', '2026-05-31 15:10:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565673 -3.303169)'), GeomFromEWKT('SRID=4674;POINT (-38.565679 -3.303236)'))) / (select extract(epoch from '2026-05-31 15:10:38'::timestamp) - extract(epoch from '2026-05-31 15:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565673 -3.303169)'), GeomFromEWKT('SRID=4674;POINT (-38.565679 -3.303236)'))) / (select extract(epoch from '2026-05-31 15:10:38'::timestamp) - extract(epoch from '2026-05-31 15:10:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56568 -3.303245)', '2026-05-31 15:10:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565679 -3.303236)'), GeomFromEWKT('SRID=4674;POINT (-38.56568 -3.303245)'))) / (select extract(epoch from '2026-05-31 15:10:39'::timestamp) - extract(epoch from '2026-05-31 15:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565679 -3.303236)'), GeomFromEWKT('SRID=4674;POINT (-38.56568 -3.303245)'))) / (select extract(epoch from '2026-05-31 15:10:39'::timestamp) - extract(epoch from '2026-05-31 15:10: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.565688 -3.303261)', '2026-05-31 15:10:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56568 -3.303245)'), GeomFromEWKT('SRID=4674;POINT (-38.565688 -3.303261)'))) / (select extract(epoch from '2026-05-31 15:10:41'::timestamp) - extract(epoch from '2026-05-31 15:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56568 -3.303245)'), GeomFromEWKT('SRID=4674;POINT (-38.565688 -3.303261)'))) / (select extract(epoch from '2026-05-31 15:10:41'::timestamp) - extract(epoch from '2026-05-31 15:10: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.565698 -3.30328)', '2026-05-31 15:10:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565688 -3.303261)'), GeomFromEWKT('SRID=4674;POINT (-38.565698 -3.30328)'))) / (select extract(epoch from '2026-05-31 15:10:43'::timestamp) - extract(epoch from '2026-05-31 15:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565688 -3.303261)'), GeomFromEWKT('SRID=4674;POINT (-38.565698 -3.30328)'))) / (select extract(epoch from '2026-05-31 15:10:43'::timestamp) - extract(epoch from '2026-05-31 15:10: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.565698 -3.30329)', '2026-05-31 15:10:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565698 -3.30328)'), GeomFromEWKT('SRID=4674;POINT (-38.565698 -3.30329)'))) / (select extract(epoch from '2026-05-31 15:10:44'::timestamp) - extract(epoch from '2026-05-31 15:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565698 -3.30328)'), GeomFromEWKT('SRID=4674;POINT (-38.565698 -3.30329)'))) / (select extract(epoch from '2026-05-31 15:10:44'::timestamp) - extract(epoch from '2026-05-31 15:10:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565695 -3.30331)', '2026-05-31 15:10:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565698 -3.30329)'), GeomFromEWKT('SRID=4674;POINT (-38.565695 -3.30331)'))) / (select extract(epoch from '2026-05-31 15:10:46'::timestamp) - extract(epoch from '2026-05-31 15:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565698 -3.30329)'), GeomFromEWKT('SRID=4674;POINT (-38.565695 -3.30331)'))) / (select extract(epoch from '2026-05-31 15:10:46'::timestamp) - extract(epoch from '2026-05-31 15:10: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.565703 -3.303332)', '2026-05-31 15:10:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565695 -3.30331)'), GeomFromEWKT('SRID=4674;POINT (-38.565703 -3.303332)'))) / (select extract(epoch from '2026-05-31 15:10:48'::timestamp) - extract(epoch from '2026-05-31 15:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565695 -3.30331)'), GeomFromEWKT('SRID=4674;POINT (-38.565703 -3.303332)'))) / (select extract(epoch from '2026-05-31 15:10:48'::timestamp) - extract(epoch from '2026-05-31 15:10: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.565703 -3.303343)', '2026-05-31 15:10:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565703 -3.303332)'), GeomFromEWKT('SRID=4674;POINT (-38.565703 -3.303343)'))) / (select extract(epoch from '2026-05-31 15:10:49'::timestamp) - extract(epoch from '2026-05-31 15:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565703 -3.303332)'), GeomFromEWKT('SRID=4674;POINT (-38.565703 -3.303343)'))) / (select extract(epoch from '2026-05-31 15:10:49'::timestamp) - extract(epoch from '2026-05-31 15:10: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.565703 -3.303403)', '2026-05-31 15:10:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565703 -3.303343)'), GeomFromEWKT('SRID=4674;POINT (-38.565703 -3.303403)'))) / (select extract(epoch from '2026-05-31 15:10:55'::timestamp) - extract(epoch from '2026-05-31 15:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565703 -3.303343)'), GeomFromEWKT('SRID=4674;POINT (-38.565703 -3.303403)'))) / (select extract(epoch from '2026-05-31 15:10:55'::timestamp) - extract(epoch from '2026-05-31 15:10: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.565702 -3.303412)', '2026-05-31 15:10:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565703 -3.303403)'), GeomFromEWKT('SRID=4674;POINT (-38.565702 -3.303412)'))) / (select extract(epoch from '2026-05-31 15:10:56'::timestamp) - extract(epoch from '2026-05-31 15:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565703 -3.303403)'), GeomFromEWKT('SRID=4674;POINT (-38.565702 -3.303412)'))) / (select extract(epoch from '2026-05-31 15:10:56'::timestamp) - extract(epoch from '2026-05-31 15:10: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.565705 -3.303471)', '2026-05-31 15:11:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565702 -3.303412)'), GeomFromEWKT('SRID=4674;POINT (-38.565705 -3.303471)'))) / (select extract(epoch from '2026-05-31 15:11:01'::timestamp) - extract(epoch from '2026-05-31 15:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565702 -3.303412)'), GeomFromEWKT('SRID=4674;POINT (-38.565705 -3.303471)'))) / (select extract(epoch from '2026-05-31 15:11:01'::timestamp) - extract(epoch from '2026-05-31 15:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565715 -3.303558)', '2026-05-31 15:11:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565705 -3.303471)'), GeomFromEWKT('SRID=4674;POINT (-38.565715 -3.303558)'))) / (select extract(epoch from '2026-05-31 15:11:09'::timestamp) - extract(epoch from '2026-05-31 15:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565705 -3.303471)'), GeomFromEWKT('SRID=4674;POINT (-38.565715 -3.303558)'))) / (select extract(epoch from '2026-05-31 15:11:09'::timestamp) - extract(epoch from '2026-05-31 15:11:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565728 -3.303627)', '2026-05-31 15:11:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565715 -3.303558)'), GeomFromEWKT('SRID=4674;POINT (-38.565728 -3.303627)'))) / (select extract(epoch from '2026-05-31 15:11:16'::timestamp) - extract(epoch from '2026-05-31 15:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565715 -3.303558)'), GeomFromEWKT('SRID=4674;POINT (-38.565728 -3.303627)'))) / (select extract(epoch from '2026-05-31 15:11:16'::timestamp) - extract(epoch from '2026-05-31 15:11: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.565742 -3.303688)', '2026-05-31 15:11:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565728 -3.303627)'), GeomFromEWKT('SRID=4674;POINT (-38.565742 -3.303688)'))) / (select extract(epoch from '2026-05-31 15:11:22'::timestamp) - extract(epoch from '2026-05-31 15:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565728 -3.303627)'), GeomFromEWKT('SRID=4674;POINT (-38.565742 -3.303688)'))) / (select extract(epoch from '2026-05-31 15:11:22'::timestamp) - extract(epoch from '2026-05-31 15:11: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.565749 -3.303712)', '2026-05-31 15:11:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565742 -3.303688)'), GeomFromEWKT('SRID=4674;POINT (-38.565749 -3.303712)'))) / (select extract(epoch from '2026-05-31 15:11:24'::timestamp) - extract(epoch from '2026-05-31 15:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565742 -3.303688)'), GeomFromEWKT('SRID=4674;POINT (-38.565749 -3.303712)'))) / (select extract(epoch from '2026-05-31 15:11:24'::timestamp) - extract(epoch from '2026-05-31 15:11: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.56574 -3.303751)', '2026-05-31 15:11:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565749 -3.303712)'), GeomFromEWKT('SRID=4674;POINT (-38.56574 -3.303751)'))) / (select extract(epoch from '2026-05-31 15:11:28'::timestamp) - extract(epoch from '2026-05-31 15:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565749 -3.303712)'), GeomFromEWKT('SRID=4674;POINT (-38.56574 -3.303751)'))) / (select extract(epoch from '2026-05-31 15:11:28'::timestamp) - extract(epoch from '2026-05-31 15:11:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565739 -3.303852)', '2026-05-31 15:11:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56574 -3.303751)'), GeomFromEWKT('SRID=4674;POINT (-38.565739 -3.303852)'))) / (select extract(epoch from '2026-05-31 15:11:36'::timestamp) - extract(epoch from '2026-05-31 15:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56574 -3.303751)'), GeomFromEWKT('SRID=4674;POINT (-38.565739 -3.303852)'))) / (select extract(epoch from '2026-05-31 15:11:36'::timestamp) - extract(epoch from '2026-05-31 15:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56574 -3.303866)', '2026-05-31 15:11:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565739 -3.303852)'), GeomFromEWKT('SRID=4674;POINT (-38.56574 -3.303866)'))) / (select extract(epoch from '2026-05-31 15:11:37'::timestamp) - extract(epoch from '2026-05-31 15:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565739 -3.303852)'), GeomFromEWKT('SRID=4674;POINT (-38.56574 -3.303866)'))) / (select extract(epoch from '2026-05-31 15:11:37'::timestamp) - extract(epoch from '2026-05-31 15:11: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.565748 -3.303889)', '2026-05-31 15:11:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56574 -3.303866)'), GeomFromEWKT('SRID=4674;POINT (-38.565748 -3.303889)'))) / (select extract(epoch from '2026-05-31 15:11:39'::timestamp) - extract(epoch from '2026-05-31 15:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56574 -3.303866)'), GeomFromEWKT('SRID=4674;POINT (-38.565748 -3.303889)'))) / (select extract(epoch from '2026-05-31 15:11:39'::timestamp) - extract(epoch from '2026-05-31 15:11: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.565743 -3.303909)', '2026-05-31 15:11:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565748 -3.303889)'), GeomFromEWKT('SRID=4674;POINT (-38.565743 -3.303909)'))) / (select extract(epoch from '2026-05-31 15:11:41'::timestamp) - extract(epoch from '2026-05-31 15:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565748 -3.303889)'), GeomFromEWKT('SRID=4674;POINT (-38.565743 -3.303909)'))) / (select extract(epoch from '2026-05-31 15:11:41'::timestamp) - extract(epoch from '2026-05-31 15:11: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.565745 -3.303942)', '2026-05-31 15:11:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565743 -3.303909)'), GeomFromEWKT('SRID=4674;POINT (-38.565745 -3.303942)'))) / (select extract(epoch from '2026-05-31 15:11:44'::timestamp) - extract(epoch from '2026-05-31 15:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565743 -3.303909)'), GeomFromEWKT('SRID=4674;POINT (-38.565745 -3.303942)'))) / (select extract(epoch from '2026-05-31 15:11:44'::timestamp) - extract(epoch from '2026-05-31 15:11:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565736 -3.303964)', '2026-05-31 15:11:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565745 -3.303942)'), GeomFromEWKT('SRID=4674;POINT (-38.565736 -3.303964)'))) / (select extract(epoch from '2026-05-31 15:11:46'::timestamp) - extract(epoch from '2026-05-31 15:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565745 -3.303942)'), GeomFromEWKT('SRID=4674;POINT (-38.565736 -3.303964)'))) / (select extract(epoch from '2026-05-31 15:11:46'::timestamp) - extract(epoch from '2026-05-31 15:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565735 -3.303977)', '2026-05-31 15:11:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565736 -3.303964)'), GeomFromEWKT('SRID=4674;POINT (-38.565735 -3.303977)'))) / (select extract(epoch from '2026-05-31 15:11:48'::timestamp) - extract(epoch from '2026-05-31 15:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565736 -3.303964)'), GeomFromEWKT('SRID=4674;POINT (-38.565735 -3.303977)'))) / (select extract(epoch from '2026-05-31 15:11:48'::timestamp) - extract(epoch from '2026-05-31 15:11: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.565738 -3.303995)', '2026-05-31 15:11:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565735 -3.303977)'), GeomFromEWKT('SRID=4674;POINT (-38.565738 -3.303995)'))) / (select extract(epoch from '2026-05-31 15:11:50'::timestamp) - extract(epoch from '2026-05-31 15:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565735 -3.303977)'), GeomFromEWKT('SRID=4674;POINT (-38.565738 -3.303995)'))) / (select extract(epoch from '2026-05-31 15:11:50'::timestamp) - extract(epoch from '2026-05-31 15:11: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.565733 -3.304012)', '2026-05-31 15:11:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565738 -3.303995)'), GeomFromEWKT('SRID=4674;POINT (-38.565733 -3.304012)'))) / (select extract(epoch from '2026-05-31 15:11:52'::timestamp) - extract(epoch from '2026-05-31 15:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565738 -3.303995)'), GeomFromEWKT('SRID=4674;POINT (-38.565733 -3.304012)'))) / (select extract(epoch from '2026-05-31 15:11:52'::timestamp) - extract(epoch from '2026-05-31 15:11:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565732 -3.304021)', '2026-05-31 15:11:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565733 -3.304012)'), GeomFromEWKT('SRID=4674;POINT (-38.565732 -3.304021)'))) / (select extract(epoch from '2026-05-31 15:11:53'::timestamp) - extract(epoch from '2026-05-31 15:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565733 -3.304012)'), GeomFromEWKT('SRID=4674;POINT (-38.565732 -3.304021)'))) / (select extract(epoch from '2026-05-31 15:11:53'::timestamp) - extract(epoch from '2026-05-31 15:11: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.56573 -3.304056)', '2026-05-31 15:11:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565732 -3.304021)'), GeomFromEWKT('SRID=4674;POINT (-38.56573 -3.304056)'))) / (select extract(epoch from '2026-05-31 15:11:57'::timestamp) - extract(epoch from '2026-05-31 15:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565732 -3.304021)'), GeomFromEWKT('SRID=4674;POINT (-38.56573 -3.304056)'))) / (select extract(epoch from '2026-05-31 15:11:57'::timestamp) - extract(epoch from '2026-05-31 15:11:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565737 -3.304094)', '2026-05-31 15:12:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56573 -3.304056)'), GeomFromEWKT('SRID=4674;POINT (-38.565737 -3.304094)'))) / (select extract(epoch from '2026-05-31 15:12:01'::timestamp) - extract(epoch from '2026-05-31 15:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56573 -3.304056)'), GeomFromEWKT('SRID=4674;POINT (-38.565737 -3.304094)'))) / (select extract(epoch from '2026-05-31 15:12:01'::timestamp) - extract(epoch from '2026-05-31 15:11:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565731 -3.304127)', '2026-05-31 15:12:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565737 -3.304094)'), GeomFromEWKT('SRID=4674;POINT (-38.565731 -3.304127)'))) / (select extract(epoch from '2026-05-31 15:12:04'::timestamp) - extract(epoch from '2026-05-31 15:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565737 -3.304094)'), GeomFromEWKT('SRID=4674;POINT (-38.565731 -3.304127)'))) / (select extract(epoch from '2026-05-31 15:12:04'::timestamp) - extract(epoch from '2026-05-31 15:12: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.565725 -3.304195)', '2026-05-31 15:12:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565731 -3.304127)'), GeomFromEWKT('SRID=4674;POINT (-38.565725 -3.304195)'))) / (select extract(epoch from '2026-05-31 15:12:11'::timestamp) - extract(epoch from '2026-05-31 15:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565731 -3.304127)'), GeomFromEWKT('SRID=4674;POINT (-38.565725 -3.304195)'))) / (select extract(epoch from '2026-05-31 15:12:11'::timestamp) - extract(epoch from '2026-05-31 15:12: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.565726 -3.304219)', '2026-05-31 15:12:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565725 -3.304195)'), GeomFromEWKT('SRID=4674;POINT (-38.565726 -3.304219)'))) / (select extract(epoch from '2026-05-31 15:12:13'::timestamp) - extract(epoch from '2026-05-31 15:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565725 -3.304195)'), GeomFromEWKT('SRID=4674;POINT (-38.565726 -3.304219)'))) / (select extract(epoch from '2026-05-31 15:12:13'::timestamp) - extract(epoch from '2026-05-31 15:12: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.565726 -3.304244)', '2026-05-31 15:12:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565726 -3.304219)'), GeomFromEWKT('SRID=4674;POINT (-38.565726 -3.304244)'))) / (select extract(epoch from '2026-05-31 15:12:16'::timestamp) - extract(epoch from '2026-05-31 15:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565726 -3.304219)'), GeomFromEWKT('SRID=4674;POINT (-38.565726 -3.304244)'))) / (select extract(epoch from '2026-05-31 15:12:16'::timestamp) - extract(epoch from '2026-05-31 15:12:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565725 -3.304303)', '2026-05-31 15:12:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565726 -3.304244)'), GeomFromEWKT('SRID=4674;POINT (-38.565725 -3.304303)'))) / (select extract(epoch from '2026-05-31 15:12:22'::timestamp) - extract(epoch from '2026-05-31 15:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565726 -3.304244)'), GeomFromEWKT('SRID=4674;POINT (-38.565725 -3.304303)'))) / (select extract(epoch from '2026-05-31 15:12:22'::timestamp) - extract(epoch from '2026-05-31 15:12:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565715 -3.304374)', '2026-05-31 15:12:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565725 -3.304303)'), GeomFromEWKT('SRID=4674;POINT (-38.565715 -3.304374)'))) / (select extract(epoch from '2026-05-31 15:12:29'::timestamp) - extract(epoch from '2026-05-31 15:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565725 -3.304303)'), GeomFromEWKT('SRID=4674;POINT (-38.565715 -3.304374)'))) / (select extract(epoch from '2026-05-31 15:12:29'::timestamp) - extract(epoch from '2026-05-31 15:12:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565713 -3.304386)', '2026-05-31 15:12:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565715 -3.304374)'), GeomFromEWKT('SRID=4674;POINT (-38.565713 -3.304386)'))) / (select extract(epoch from '2026-05-31 15:12:30'::timestamp) - extract(epoch from '2026-05-31 15:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565715 -3.304374)'), GeomFromEWKT('SRID=4674;POINT (-38.565713 -3.304386)'))) / (select extract(epoch from '2026-05-31 15:12:30'::timestamp) - extract(epoch from '2026-05-31 15:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565706 -3.304423)', '2026-05-31 15:12:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565713 -3.304386)'), GeomFromEWKT('SRID=4674;POINT (-38.565706 -3.304423)'))) / (select extract(epoch from '2026-05-31 15:12:34'::timestamp) - extract(epoch from '2026-05-31 15:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565713 -3.304386)'), GeomFromEWKT('SRID=4674;POINT (-38.565706 -3.304423)'))) / (select extract(epoch from '2026-05-31 15:12:34'::timestamp) - extract(epoch from '2026-05-31 15:12: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.565705 -3.30446)', '2026-05-31 15:12:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565706 -3.304423)'), GeomFromEWKT('SRID=4674;POINT (-38.565705 -3.30446)'))) / (select extract(epoch from '2026-05-31 15:12:38'::timestamp) - extract(epoch from '2026-05-31 15:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565706 -3.304423)'), GeomFromEWKT('SRID=4674;POINT (-38.565705 -3.30446)'))) / (select extract(epoch from '2026-05-31 15:12:38'::timestamp) - extract(epoch from '2026-05-31 15:12: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.565698 -3.304497)', '2026-05-31 15:12:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565705 -3.30446)'), GeomFromEWKT('SRID=4674;POINT (-38.565698 -3.304497)'))) / (select extract(epoch from '2026-05-31 15:12:41'::timestamp) - extract(epoch from '2026-05-31 15:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565705 -3.30446)'), GeomFromEWKT('SRID=4674;POINT (-38.565698 -3.304497)'))) / (select extract(epoch from '2026-05-31 15:12:41'::timestamp) - extract(epoch from '2026-05-31 15:12: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.565694 -3.304519)', '2026-05-31 15:12:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565698 -3.304497)'), GeomFromEWKT('SRID=4674;POINT (-38.565694 -3.304519)'))) / (select extract(epoch from '2026-05-31 15:12:43'::timestamp) - extract(epoch from '2026-05-31 15:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565698 -3.304497)'), GeomFromEWKT('SRID=4674;POINT (-38.565694 -3.304519)'))) / (select extract(epoch from '2026-05-31 15:12:43'::timestamp) - extract(epoch from '2026-05-31 15:12:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565685 -3.304537)', '2026-05-31 15:12:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565694 -3.304519)'), GeomFromEWKT('SRID=4674;POINT (-38.565685 -3.304537)'))) / (select extract(epoch from '2026-05-31 15:12:45'::timestamp) - extract(epoch from '2026-05-31 15:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565694 -3.304519)'), GeomFromEWKT('SRID=4674;POINT (-38.565685 -3.304537)'))) / (select extract(epoch from '2026-05-31 15:12:45'::timestamp) - extract(epoch from '2026-05-31 15:12: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.565685 -3.304548)', '2026-05-31 15:12:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565685 -3.304537)'), GeomFromEWKT('SRID=4674;POINT (-38.565685 -3.304548)'))) / (select extract(epoch from '2026-05-31 15:12:46'::timestamp) - extract(epoch from '2026-05-31 15:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565685 -3.304537)'), GeomFromEWKT('SRID=4674;POINT (-38.565685 -3.304548)'))) / (select extract(epoch from '2026-05-31 15:12:46'::timestamp) - extract(epoch from '2026-05-31 15:12: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.56568 -3.304564)', '2026-05-31 15:12:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565685 -3.304548)'), GeomFromEWKT('SRID=4674;POINT (-38.56568 -3.304564)'))) / (select extract(epoch from '2026-05-31 15:12:48'::timestamp) - extract(epoch from '2026-05-31 15:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565685 -3.304548)'), GeomFromEWKT('SRID=4674;POINT (-38.56568 -3.304564)'))) / (select extract(epoch from '2026-05-31 15:12:48'::timestamp) - extract(epoch from '2026-05-31 15:12: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.565665 -3.304601)', '2026-05-31 15:12:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56568 -3.304564)'), GeomFromEWKT('SRID=4674;POINT (-38.565665 -3.304601)'))) / (select extract(epoch from '2026-05-31 15:12:52'::timestamp) - extract(epoch from '2026-05-31 15:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56568 -3.304564)'), GeomFromEWKT('SRID=4674;POINT (-38.565665 -3.304601)'))) / (select extract(epoch from '2026-05-31 15:12:52'::timestamp) - extract(epoch from '2026-05-31 15:12: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.565654 -3.304631)', '2026-05-31 15:12:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565665 -3.304601)'), GeomFromEWKT('SRID=4674;POINT (-38.565654 -3.304631)'))) / (select extract(epoch from '2026-05-31 15:12:55'::timestamp) - extract(epoch from '2026-05-31 15:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565665 -3.304601)'), GeomFromEWKT('SRID=4674;POINT (-38.565654 -3.304631)'))) / (select extract(epoch from '2026-05-31 15:12:55'::timestamp) - extract(epoch from '2026-05-31 15:12: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.565655 -3.304653)', '2026-05-31 15:12:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565654 -3.304631)'), GeomFromEWKT('SRID=4674;POINT (-38.565655 -3.304653)'))) / (select extract(epoch from '2026-05-31 15:12:58'::timestamp) - extract(epoch from '2026-05-31 15:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565654 -3.304631)'), GeomFromEWKT('SRID=4674;POINT (-38.565655 -3.304653)'))) / (select extract(epoch from '2026-05-31 15:12:58'::timestamp) - extract(epoch from '2026-05-31 15:12:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565644 -3.304731)', '2026-05-31 15:13:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565655 -3.304653)'), GeomFromEWKT('SRID=4674;POINT (-38.565644 -3.304731)'))) / (select extract(epoch from '2026-05-31 15:13:08'::timestamp) - extract(epoch from '2026-05-31 15:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565655 -3.304653)'), GeomFromEWKT('SRID=4674;POINT (-38.565644 -3.304731)'))) / (select extract(epoch from '2026-05-31 15:13:08'::timestamp) - extract(epoch from '2026-05-31 15:12: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.565627 -3.304786)', '2026-05-31 15:13:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565644 -3.304731)'), GeomFromEWKT('SRID=4674;POINT (-38.565627 -3.304786)'))) / (select extract(epoch from '2026-05-31 15:13:16'::timestamp) - extract(epoch from '2026-05-31 15:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565644 -3.304731)'), GeomFromEWKT('SRID=4674;POINT (-38.565627 -3.304786)'))) / (select extract(epoch from '2026-05-31 15:13:16'::timestamp) - extract(epoch from '2026-05-31 15:13:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565611 -3.30485)', '2026-05-31 15:13:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565627 -3.304786)'), GeomFromEWKT('SRID=4674;POINT (-38.565611 -3.30485)'))) / (select extract(epoch from '2026-05-31 15:13:24'::timestamp) - extract(epoch from '2026-05-31 15:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565627 -3.304786)'), GeomFromEWKT('SRID=4674;POINT (-38.565611 -3.30485)'))) / (select extract(epoch from '2026-05-31 15:13:24'::timestamp) - extract(epoch from '2026-05-31 15:13: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.565601 -3.30492)', '2026-05-31 15:13:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565611 -3.30485)'), GeomFromEWKT('SRID=4674;POINT (-38.565601 -3.30492)'))) / (select extract(epoch from '2026-05-31 15:13:32'::timestamp) - extract(epoch from '2026-05-31 15:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565611 -3.30485)'), GeomFromEWKT('SRID=4674;POINT (-38.565601 -3.30492)'))) / (select extract(epoch from '2026-05-31 15:13:32'::timestamp) - extract(epoch from '2026-05-31 15:13: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.565604 -3.30493)', '2026-05-31 15:13:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565601 -3.30492)'), GeomFromEWKT('SRID=4674;POINT (-38.565604 -3.30493)'))) / (select extract(epoch from '2026-05-31 15:13:33'::timestamp) - extract(epoch from '2026-05-31 15:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565601 -3.30492)'), GeomFromEWKT('SRID=4674;POINT (-38.565604 -3.30493)'))) / (select extract(epoch from '2026-05-31 15:13:33'::timestamp) - extract(epoch from '2026-05-31 15:13:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565602 -3.304953)', '2026-05-31 15:13:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565604 -3.30493)'), GeomFromEWKT('SRID=4674;POINT (-38.565602 -3.304953)'))) / (select extract(epoch from '2026-05-31 15:13:35'::timestamp) - extract(epoch from '2026-05-31 15:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565604 -3.30493)'), GeomFromEWKT('SRID=4674;POINT (-38.565602 -3.304953)'))) / (select extract(epoch from '2026-05-31 15:13:35'::timestamp) - extract(epoch from '2026-05-31 15:13: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.565596 -3.304969)', '2026-05-31 15:13:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565602 -3.304953)'), GeomFromEWKT('SRID=4674;POINT (-38.565596 -3.304969)'))) / (select extract(epoch from '2026-05-31 15:13:37'::timestamp) - extract(epoch from '2026-05-31 15:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565602 -3.304953)'), GeomFromEWKT('SRID=4674;POINT (-38.565596 -3.304969)'))) / (select extract(epoch from '2026-05-31 15:13:37'::timestamp) - extract(epoch from '2026-05-31 15:13: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.565599 -3.304987)', '2026-05-31 15:13:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565596 -3.304969)'), GeomFromEWKT('SRID=4674;POINT (-38.565599 -3.304987)'))) / (select extract(epoch from '2026-05-31 15:13:39'::timestamp) - extract(epoch from '2026-05-31 15:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565596 -3.304969)'), GeomFromEWKT('SRID=4674;POINT (-38.565599 -3.304987)'))) / (select extract(epoch from '2026-05-31 15:13:39'::timestamp) - extract(epoch from '2026-05-31 15:13: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.565587 -3.305034)', '2026-05-31 15:13:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565599 -3.304987)'), GeomFromEWKT('SRID=4674;POINT (-38.565587 -3.305034)'))) / (select extract(epoch from '2026-05-31 15:13:44'::timestamp) - extract(epoch from '2026-05-31 15:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565599 -3.304987)'), GeomFromEWKT('SRID=4674;POINT (-38.565587 -3.305034)'))) / (select extract(epoch from '2026-05-31 15:13:44'::timestamp) - extract(epoch from '2026-05-31 15:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565568 -3.305109)', '2026-05-31 15:13:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565587 -3.305034)'), GeomFromEWKT('SRID=4674;POINT (-38.565568 -3.305109)'))) / (select extract(epoch from '2026-05-31 15:13:51'::timestamp) - extract(epoch from '2026-05-31 15:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565587 -3.305034)'), GeomFromEWKT('SRID=4674;POINT (-38.565568 -3.305109)'))) / (select extract(epoch from '2026-05-31 15:13:51'::timestamp) - extract(epoch from '2026-05-31 15:13: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.565545 -3.305164)', '2026-05-31 15:13:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565568 -3.305109)'), GeomFromEWKT('SRID=4674;POINT (-38.565545 -3.305164)'))) / (select extract(epoch from '2026-05-31 15:13:58'::timestamp) - extract(epoch from '2026-05-31 15:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565568 -3.305109)'), GeomFromEWKT('SRID=4674;POINT (-38.565545 -3.305164)'))) / (select extract(epoch from '2026-05-31 15:13:58'::timestamp) - extract(epoch from '2026-05-31 15:13: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.565508 -3.30523)', '2026-05-31 15:14:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565545 -3.305164)'), GeomFromEWKT('SRID=4674;POINT (-38.565508 -3.30523)'))) / (select extract(epoch from '2026-05-31 15:14:06'::timestamp) - extract(epoch from '2026-05-31 15:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565545 -3.305164)'), GeomFromEWKT('SRID=4674;POINT (-38.565508 -3.30523)'))) / (select extract(epoch from '2026-05-31 15:14:06'::timestamp) - extract(epoch from '2026-05-31 15:13: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.565465 -3.305269)', '2026-05-31 15:14:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565508 -3.30523)'), GeomFromEWKT('SRID=4674;POINT (-38.565465 -3.305269)'))) / (select extract(epoch from '2026-05-31 15:14:12'::timestamp) - extract(epoch from '2026-05-31 15:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565508 -3.30523)'), GeomFromEWKT('SRID=4674;POINT (-38.565465 -3.305269)'))) / (select extract(epoch from '2026-05-31 15:14:12'::timestamp) - extract(epoch from '2026-05-31 15:14: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.565455 -3.305289)', '2026-05-31 15:14:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565465 -3.305269)'), GeomFromEWKT('SRID=4674;POINT (-38.565455 -3.305289)'))) / (select extract(epoch from '2026-05-31 15:14:14'::timestamp) - extract(epoch from '2026-05-31 15:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565465 -3.305269)'), GeomFromEWKT('SRID=4674;POINT (-38.565455 -3.305289)'))) / (select extract(epoch from '2026-05-31 15:14:14'::timestamp) - extract(epoch from '2026-05-31 15:14: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.565439 -3.305303)', '2026-05-31 15:14:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565455 -3.305289)'), GeomFromEWKT('SRID=4674;POINT (-38.565439 -3.305303)'))) / (select extract(epoch from '2026-05-31 15:14:17'::timestamp) - extract(epoch from '2026-05-31 15:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565455 -3.305289)'), GeomFromEWKT('SRID=4674;POINT (-38.565439 -3.305303)'))) / (select extract(epoch from '2026-05-31 15:14:17'::timestamp) - extract(epoch from '2026-05-31 15:14: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.565434 -3.305308)', '2026-05-31 15:14:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565439 -3.305303)'), GeomFromEWKT('SRID=4674;POINT (-38.565434 -3.305308)'))) / (select extract(epoch from '2026-05-31 15:14:18'::timestamp) - extract(epoch from '2026-05-31 15:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565439 -3.305303)'), GeomFromEWKT('SRID=4674;POINT (-38.565434 -3.305308)'))) / (select extract(epoch from '2026-05-31 15:14:18'::timestamp) - extract(epoch from '2026-05-31 15:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565414 -3.305333)', '2026-05-31 15:14:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565434 -3.305308)'), GeomFromEWKT('SRID=4674;POINT (-38.565414 -3.305333)'))) / (select extract(epoch from '2026-05-31 15:14:21'::timestamp) - extract(epoch from '2026-05-31 15:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565434 -3.305308)'), GeomFromEWKT('SRID=4674;POINT (-38.565414 -3.305333)'))) / (select extract(epoch from '2026-05-31 15:14:21'::timestamp) - extract(epoch from '2026-05-31 15:14: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.565393 -3.305362)', '2026-05-31 15:14:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565414 -3.305333)'), GeomFromEWKT('SRID=4674;POINT (-38.565393 -3.305362)'))) / (select extract(epoch from '2026-05-31 15:14:24'::timestamp) - extract(epoch from '2026-05-31 15:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565414 -3.305333)'), GeomFromEWKT('SRID=4674;POINT (-38.565393 -3.305362)'))) / (select extract(epoch from '2026-05-31 15:14:24'::timestamp) - extract(epoch from '2026-05-31 15:14: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.565393 -3.305383)', '2026-05-31 15:14:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565393 -3.305362)'), GeomFromEWKT('SRID=4674;POINT (-38.565393 -3.305383)'))) / (select extract(epoch from '2026-05-31 15:14:26'::timestamp) - extract(epoch from '2026-05-31 15:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565393 -3.305362)'), GeomFromEWKT('SRID=4674;POINT (-38.565393 -3.305383)'))) / (select extract(epoch from '2026-05-31 15:14:26'::timestamp) - extract(epoch from '2026-05-31 15:14: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.565371 -3.30541)', '2026-05-31 15:14:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565393 -3.305383)'), GeomFromEWKT('SRID=4674;POINT (-38.565371 -3.30541)'))) / (select extract(epoch from '2026-05-31 15:14:29'::timestamp) - extract(epoch from '2026-05-31 15:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565393 -3.305383)'), GeomFromEWKT('SRID=4674;POINT (-38.565371 -3.30541)'))) / (select extract(epoch from '2026-05-31 15:14:29'::timestamp) - extract(epoch from '2026-05-31 15:14:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565371 -3.305429)', '2026-05-31 15:14:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565371 -3.30541)'), GeomFromEWKT('SRID=4674;POINT (-38.565371 -3.305429)'))) / (select extract(epoch from '2026-05-31 15:14:31'::timestamp) - extract(epoch from '2026-05-31 15:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565371 -3.30541)'), GeomFromEWKT('SRID=4674;POINT (-38.565371 -3.305429)'))) / (select extract(epoch from '2026-05-31 15:14:31'::timestamp) - extract(epoch from '2026-05-31 15:14:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565341 -3.305495)', '2026-05-31 15:14:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565371 -3.305429)'), GeomFromEWKT('SRID=4674;POINT (-38.565341 -3.305495)'))) / (select extract(epoch from '2026-05-31 15:14:38'::timestamp) - extract(epoch from '2026-05-31 15:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565371 -3.305429)'), GeomFromEWKT('SRID=4674;POINT (-38.565341 -3.305495)'))) / (select extract(epoch from '2026-05-31 15:14:38'::timestamp) - extract(epoch from '2026-05-31 15:14:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565318 -3.305547)', '2026-05-31 15:14:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565341 -3.305495)'), GeomFromEWKT('SRID=4674;POINT (-38.565318 -3.305547)'))) / (select extract(epoch from '2026-05-31 15:14:43'::timestamp) - extract(epoch from '2026-05-31 15:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565341 -3.305495)'), GeomFromEWKT('SRID=4674;POINT (-38.565318 -3.305547)'))) / (select extract(epoch from '2026-05-31 15:14:43'::timestamp) - extract(epoch from '2026-05-31 15:14: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.565305 -3.305566)', '2026-05-31 15:14:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565318 -3.305547)'), GeomFromEWKT('SRID=4674;POINT (-38.565305 -3.305566)'))) / (select extract(epoch from '2026-05-31 15:14:45'::timestamp) - extract(epoch from '2026-05-31 15:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565318 -3.305547)'), GeomFromEWKT('SRID=4674;POINT (-38.565305 -3.305566)'))) / (select extract(epoch from '2026-05-31 15:14:45'::timestamp) - extract(epoch from '2026-05-31 15:14: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.565271 -3.305651)', '2026-05-31 15:14:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565305 -3.305566)'), GeomFromEWKT('SRID=4674;POINT (-38.565271 -3.305651)'))) / (select extract(epoch from '2026-05-31 15:14:54'::timestamp) - extract(epoch from '2026-05-31 15:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565305 -3.305566)'), GeomFromEWKT('SRID=4674;POINT (-38.565271 -3.305651)'))) / (select extract(epoch from '2026-05-31 15:14:54'::timestamp) - extract(epoch from '2026-05-31 15:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565247 -3.305711)', '2026-05-31 15:15:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565271 -3.305651)'), GeomFromEWKT('SRID=4674;POINT (-38.565247 -3.305711)'))) / (select extract(epoch from '2026-05-31 15:15:01'::timestamp) - extract(epoch from '2026-05-31 15:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565271 -3.305651)'), GeomFromEWKT('SRID=4674;POINT (-38.565247 -3.305711)'))) / (select extract(epoch from '2026-05-31 15:15:01'::timestamp) - extract(epoch from '2026-05-31 15:14:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565245 -3.305719)', '2026-05-31 15:15:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565247 -3.305711)'), GeomFromEWKT('SRID=4674;POINT (-38.565245 -3.305719)'))) / (select extract(epoch from '2026-05-31 15:15:02'::timestamp) - extract(epoch from '2026-05-31 15:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565247 -3.305711)'), GeomFromEWKT('SRID=4674;POINT (-38.565245 -3.305719)'))) / (select extract(epoch from '2026-05-31 15:15:02'::timestamp) - extract(epoch from '2026-05-31 15:15: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.565221 -3.305772)', '2026-05-31 15:15:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565245 -3.305719)'), GeomFromEWKT('SRID=4674;POINT (-38.565221 -3.305772)'))) / (select extract(epoch from '2026-05-31 15:15:08'::timestamp) - extract(epoch from '2026-05-31 15:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565245 -3.305719)'), GeomFromEWKT('SRID=4674;POINT (-38.565221 -3.305772)'))) / (select extract(epoch from '2026-05-31 15:15:08'::timestamp) - extract(epoch from '2026-05-31 15:15: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.565199 -3.305825)', '2026-05-31 15:15:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565221 -3.305772)'), GeomFromEWKT('SRID=4674;POINT (-38.565199 -3.305825)'))) / (select extract(epoch from '2026-05-31 15:15:15'::timestamp) - extract(epoch from '2026-05-31 15:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565221 -3.305772)'), GeomFromEWKT('SRID=4674;POINT (-38.565199 -3.305825)'))) / (select extract(epoch from '2026-05-31 15:15:15'::timestamp) - extract(epoch from '2026-05-31 15:15:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565181 -3.305869)', '2026-05-31 15:15:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565199 -3.305825)'), GeomFromEWKT('SRID=4674;POINT (-38.565181 -3.305869)'))) / (select extract(epoch from '2026-05-31 15:15:20'::timestamp) - extract(epoch from '2026-05-31 15:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565199 -3.305825)'), GeomFromEWKT('SRID=4674;POINT (-38.565181 -3.305869)'))) / (select extract(epoch from '2026-05-31 15:15:20'::timestamp) - extract(epoch from '2026-05-31 15:15: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.565165 -3.3059)', '2026-05-31 15:15:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565181 -3.305869)'), GeomFromEWKT('SRID=4674;POINT (-38.565165 -3.3059)'))) / (select extract(epoch from '2026-05-31 15:15:23'::timestamp) - extract(epoch from '2026-05-31 15:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565181 -3.305869)'), GeomFromEWKT('SRID=4674;POINT (-38.565165 -3.3059)'))) / (select extract(epoch from '2026-05-31 15:15:23'::timestamp) - extract(epoch from '2026-05-31 15:15:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565159 -3.305954)', '2026-05-31 15:15:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565165 -3.3059)'), GeomFromEWKT('SRID=4674;POINT (-38.565159 -3.305954)'))) / (select extract(epoch from '2026-05-31 15:15:29'::timestamp) - extract(epoch from '2026-05-31 15:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565165 -3.3059)'), GeomFromEWKT('SRID=4674;POINT (-38.565159 -3.305954)'))) / (select extract(epoch from '2026-05-31 15:15:29'::timestamp) - extract(epoch from '2026-05-31 15:15: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.56516 -3.30601)', '2026-05-31 15:15:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565159 -3.305954)'), GeomFromEWKT('SRID=4674;POINT (-38.56516 -3.30601)'))) / (select extract(epoch from '2026-05-31 15:15:37'::timestamp) - extract(epoch from '2026-05-31 15:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565159 -3.305954)'), GeomFromEWKT('SRID=4674;POINT (-38.56516 -3.30601)'))) / (select extract(epoch from '2026-05-31 15:15:37'::timestamp) - extract(epoch from '2026-05-31 15:15: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.565165 -3.306095)', '2026-05-31 15:15:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56516 -3.30601)'), GeomFromEWKT('SRID=4674;POINT (-38.565165 -3.306095)'))) / (select extract(epoch from '2026-05-31 15:15:46'::timestamp) - extract(epoch from '2026-05-31 15:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56516 -3.30601)'), GeomFromEWKT('SRID=4674;POINT (-38.565165 -3.306095)'))) / (select extract(epoch from '2026-05-31 15:15:46'::timestamp) - extract(epoch from '2026-05-31 15:15:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565162 -3.306113)', '2026-05-31 15:15:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565165 -3.306095)'), GeomFromEWKT('SRID=4674;POINT (-38.565162 -3.306113)'))) / (select extract(epoch from '2026-05-31 15:15:48'::timestamp) - extract(epoch from '2026-05-31 15:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565165 -3.306095)'), GeomFromEWKT('SRID=4674;POINT (-38.565162 -3.306113)'))) / (select extract(epoch from '2026-05-31 15:15:48'::timestamp) - extract(epoch from '2026-05-31 15:15:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565167 -3.306146)', '2026-05-31 15:15:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565162 -3.306113)'), GeomFromEWKT('SRID=4674;POINT (-38.565167 -3.306146)'))) / (select extract(epoch from '2026-05-31 15:15:51'::timestamp) - extract(epoch from '2026-05-31 15:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565162 -3.306113)'), GeomFromEWKT('SRID=4674;POINT (-38.565167 -3.306146)'))) / (select extract(epoch from '2026-05-31 15:15:51'::timestamp) - extract(epoch from '2026-05-31 15:15: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.565162 -3.306172)', '2026-05-31 15:15:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565167 -3.306146)'), GeomFromEWKT('SRID=4674;POINT (-38.565162 -3.306172)'))) / (select extract(epoch from '2026-05-31 15:15:53'::timestamp) - extract(epoch from '2026-05-31 15:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565167 -3.306146)'), GeomFromEWKT('SRID=4674;POINT (-38.565162 -3.306172)'))) / (select extract(epoch from '2026-05-31 15:15:53'::timestamp) - extract(epoch from '2026-05-31 15:15:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565166 -3.306193)', '2026-05-31 15:15:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565162 -3.306172)'), GeomFromEWKT('SRID=4674;POINT (-38.565166 -3.306193)'))) / (select extract(epoch from '2026-05-31 15:15:55'::timestamp) - extract(epoch from '2026-05-31 15:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565162 -3.306172)'), GeomFromEWKT('SRID=4674;POINT (-38.565166 -3.306193)'))) / (select extract(epoch from '2026-05-31 15:15:55'::timestamp) - extract(epoch from '2026-05-31 15:15: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.565163 -3.306202)', '2026-05-31 15:15:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565166 -3.306193)'), GeomFromEWKT('SRID=4674;POINT (-38.565163 -3.306202)'))) / (select extract(epoch from '2026-05-31 15:15:56'::timestamp) - extract(epoch from '2026-05-31 15:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565166 -3.306193)'), GeomFromEWKT('SRID=4674;POINT (-38.565163 -3.306202)'))) / (select extract(epoch from '2026-05-31 15:15:56'::timestamp) - extract(epoch from '2026-05-31 15:15: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.565164 -3.306213)', '2026-05-31 15:15:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565163 -3.306202)'), GeomFromEWKT('SRID=4674;POINT (-38.565164 -3.306213)'))) / (select extract(epoch from '2026-05-31 15:15:57'::timestamp) - extract(epoch from '2026-05-31 15:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565163 -3.306202)'), GeomFromEWKT('SRID=4674;POINT (-38.565164 -3.306213)'))) / (select extract(epoch from '2026-05-31 15:15:57'::timestamp) - extract(epoch from '2026-05-31 15:15: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.565169 -3.306234)', '2026-05-31 15:15:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565164 -3.306213)'), GeomFromEWKT('SRID=4674;POINT (-38.565169 -3.306234)'))) / (select extract(epoch from '2026-05-31 15:15:59'::timestamp) - extract(epoch from '2026-05-31 15:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565164 -3.306213)'), GeomFromEWKT('SRID=4674;POINT (-38.565169 -3.306234)'))) / (select extract(epoch from '2026-05-31 15:15:59'::timestamp) - extract(epoch from '2026-05-31 15:15:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565169 -3.306254)', '2026-05-31 15:16:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565169 -3.306234)'), GeomFromEWKT('SRID=4674;POINT (-38.565169 -3.306254)'))) / (select extract(epoch from '2026-05-31 15:16:01'::timestamp) - extract(epoch from '2026-05-31 15:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565169 -3.306234)'), GeomFromEWKT('SRID=4674;POINT (-38.565169 -3.306254)'))) / (select extract(epoch from '2026-05-31 15:16:01'::timestamp) - extract(epoch from '2026-05-31 15:15: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.565182 -3.306295)', '2026-05-31 15:16:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565169 -3.306254)'), GeomFromEWKT('SRID=4674;POINT (-38.565182 -3.306295)'))) / (select extract(epoch from '2026-05-31 15:16:05'::timestamp) - extract(epoch from '2026-05-31 15:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565169 -3.306254)'), GeomFromEWKT('SRID=4674;POINT (-38.565182 -3.306295)'))) / (select extract(epoch from '2026-05-31 15:16:05'::timestamp) - extract(epoch from '2026-05-31 15:16:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565179 -3.306305)', '2026-05-31 15:16:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565182 -3.306295)'), GeomFromEWKT('SRID=4674;POINT (-38.565179 -3.306305)'))) / (select extract(epoch from '2026-05-31 15:16:06'::timestamp) - extract(epoch from '2026-05-31 15:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565182 -3.306295)'), GeomFromEWKT('SRID=4674;POINT (-38.565179 -3.306305)'))) / (select extract(epoch from '2026-05-31 15:16:06'::timestamp) - extract(epoch from '2026-05-31 15:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565184 -3.306313)', '2026-05-31 15:16:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565179 -3.306305)'), GeomFromEWKT('SRID=4674;POINT (-38.565184 -3.306313)'))) / (select extract(epoch from '2026-05-31 15:16:07'::timestamp) - extract(epoch from '2026-05-31 15:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565179 -3.306305)'), GeomFromEWKT('SRID=4674;POINT (-38.565184 -3.306313)'))) / (select extract(epoch from '2026-05-31 15:16:07'::timestamp) - extract(epoch from '2026-05-31 15:16:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565196 -3.306334)', '2026-05-31 15:16:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565184 -3.306313)'), GeomFromEWKT('SRID=4674;POINT (-38.565196 -3.306334)'))) / (select extract(epoch from '2026-05-31 15:16:09'::timestamp) - extract(epoch from '2026-05-31 15:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565184 -3.306313)'), GeomFromEWKT('SRID=4674;POINT (-38.565196 -3.306334)'))) / (select extract(epoch from '2026-05-31 15:16:09'::timestamp) - extract(epoch from '2026-05-31 15:16: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.565203 -3.306388)', '2026-05-31 15:16:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565196 -3.306334)'), GeomFromEWKT('SRID=4674;POINT (-38.565203 -3.306388)'))) / (select extract(epoch from '2026-05-31 15:16:14'::timestamp) - extract(epoch from '2026-05-31 15:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565196 -3.306334)'), GeomFromEWKT('SRID=4674;POINT (-38.565203 -3.306388)'))) / (select extract(epoch from '2026-05-31 15:16:14'::timestamp) - extract(epoch from '2026-05-31 15:16: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.565211 -3.306443)', '2026-05-31 15:16:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565203 -3.306388)'), GeomFromEWKT('SRID=4674;POINT (-38.565211 -3.306443)'))) / (select extract(epoch from '2026-05-31 15:16:20'::timestamp) - extract(epoch from '2026-05-31 15:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565203 -3.306388)'), GeomFromEWKT('SRID=4674;POINT (-38.565211 -3.306443)'))) / (select extract(epoch from '2026-05-31 15:16:20'::timestamp) - extract(epoch from '2026-05-31 15:16: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.565213 -3.306503)', '2026-05-31 15:16:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565211 -3.306443)'), GeomFromEWKT('SRID=4674;POINT (-38.565213 -3.306503)'))) / (select extract(epoch from '2026-05-31 15:16:26'::timestamp) - extract(epoch from '2026-05-31 15:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565211 -3.306443)'), GeomFromEWKT('SRID=4674;POINT (-38.565213 -3.306503)'))) / (select extract(epoch from '2026-05-31 15:16:26'::timestamp) - extract(epoch from '2026-05-31 15:16:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565211 -3.306515)', '2026-05-31 15:16:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565213 -3.306503)'), GeomFromEWKT('SRID=4674;POINT (-38.565211 -3.306515)'))) / (select extract(epoch from '2026-05-31 15:16:27'::timestamp) - extract(epoch from '2026-05-31 15:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565213 -3.306503)'), GeomFromEWKT('SRID=4674;POINT (-38.565211 -3.306515)'))) / (select extract(epoch from '2026-05-31 15:16:27'::timestamp) - extract(epoch from '2026-05-31 15:16:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565217 -3.306538)', '2026-05-31 15:16:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565211 -3.306515)'), GeomFromEWKT('SRID=4674;POINT (-38.565217 -3.306538)'))) / (select extract(epoch from '2026-05-31 15:16:29'::timestamp) - extract(epoch from '2026-05-31 15:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565211 -3.306515)'), GeomFromEWKT('SRID=4674;POINT (-38.565217 -3.306538)'))) / (select extract(epoch from '2026-05-31 15:16:29'::timestamp) - extract(epoch from '2026-05-31 15:16: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.565225 -3.306565)', '2026-05-31 15:16:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565217 -3.306538)'), GeomFromEWKT('SRID=4674;POINT (-38.565225 -3.306565)'))) / (select extract(epoch from '2026-05-31 15:16:32'::timestamp) - extract(epoch from '2026-05-31 15:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565217 -3.306538)'), GeomFromEWKT('SRID=4674;POINT (-38.565225 -3.306565)'))) / (select extract(epoch from '2026-05-31 15:16:32'::timestamp) - extract(epoch from '2026-05-31 15:16: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.565221 -3.306644)', '2026-05-31 15:16:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565225 -3.306565)'), GeomFromEWKT('SRID=4674;POINT (-38.565221 -3.306644)'))) / (select extract(epoch from '2026-05-31 15:16:39'::timestamp) - extract(epoch from '2026-05-31 15:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565225 -3.306565)'), GeomFromEWKT('SRID=4674;POINT (-38.565221 -3.306644)'))) / (select extract(epoch from '2026-05-31 15:16:39'::timestamp) - extract(epoch from '2026-05-31 15:16: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.565224 -3.306678)', '2026-05-31 15:16:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565221 -3.306644)'), GeomFromEWKT('SRID=4674;POINT (-38.565224 -3.306678)'))) / (select extract(epoch from '2026-05-31 15:16:42'::timestamp) - extract(epoch from '2026-05-31 15:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565221 -3.306644)'), GeomFromEWKT('SRID=4674;POINT (-38.565224 -3.306678)'))) / (select extract(epoch from '2026-05-31 15:16:42'::timestamp) - extract(epoch from '2026-05-31 15:16: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.565215 -3.306714)', '2026-05-31 15:16:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565224 -3.306678)'), GeomFromEWKT('SRID=4674;POINT (-38.565215 -3.306714)'))) / (select extract(epoch from '2026-05-31 15:16:45'::timestamp) - extract(epoch from '2026-05-31 15:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565224 -3.306678)'), GeomFromEWKT('SRID=4674;POINT (-38.565215 -3.306714)'))) / (select extract(epoch from '2026-05-31 15:16:45'::timestamp) - extract(epoch from '2026-05-31 15:16: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.565199 -3.306779)', '2026-05-31 15:16:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565215 -3.306714)'), GeomFromEWKT('SRID=4674;POINT (-38.565199 -3.306779)'))) / (select extract(epoch from '2026-05-31 15:16:51'::timestamp) - extract(epoch from '2026-05-31 15:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565215 -3.306714)'), GeomFromEWKT('SRID=4674;POINT (-38.565199 -3.306779)'))) / (select extract(epoch from '2026-05-31 15:16:51'::timestamp) - extract(epoch from '2026-05-31 15:16:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565188 -3.306835)', '2026-05-31 15:16:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565199 -3.306779)'), GeomFromEWKT('SRID=4674;POINT (-38.565188 -3.306835)'))) / (select extract(epoch from '2026-05-31 15:16:57'::timestamp) - extract(epoch from '2026-05-31 15:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565199 -3.306779)'), GeomFromEWKT('SRID=4674;POINT (-38.565188 -3.306835)'))) / (select extract(epoch from '2026-05-31 15:16:57'::timestamp) - extract(epoch from '2026-05-31 15:16: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.565174 -3.306895)', '2026-05-31 15:17:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565188 -3.306835)'), GeomFromEWKT('SRID=4674;POINT (-38.565174 -3.306895)'))) / (select extract(epoch from '2026-05-31 15:17:03'::timestamp) - extract(epoch from '2026-05-31 15:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565188 -3.306835)'), GeomFromEWKT('SRID=4674;POINT (-38.565174 -3.306895)'))) / (select extract(epoch from '2026-05-31 15:17:03'::timestamp) - extract(epoch from '2026-05-31 15:16:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565156 -3.306954)', '2026-05-31 15:17:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565174 -3.306895)'), GeomFromEWKT('SRID=4674;POINT (-38.565156 -3.306954)'))) / (select extract(epoch from '2026-05-31 15:17:08'::timestamp) - extract(epoch from '2026-05-31 15:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565174 -3.306895)'), GeomFromEWKT('SRID=4674;POINT (-38.565156 -3.306954)'))) / (select extract(epoch from '2026-05-31 15:17:08'::timestamp) - extract(epoch from '2026-05-31 15:17: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.565147 -3.306961)', '2026-05-31 15:17:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565156 -3.306954)'), GeomFromEWKT('SRID=4674;POINT (-38.565147 -3.306961)'))) / (select extract(epoch from '2026-05-31 15:17:09'::timestamp) - extract(epoch from '2026-05-31 15:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565156 -3.306954)'), GeomFromEWKT('SRID=4674;POINT (-38.565147 -3.306961)'))) / (select extract(epoch from '2026-05-31 15:17:09'::timestamp) - extract(epoch from '2026-05-31 15:17: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.565125 -3.307025)', '2026-05-31 15:17:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565147 -3.306961)'), GeomFromEWKT('SRID=4674;POINT (-38.565125 -3.307025)'))) / (select extract(epoch from '2026-05-31 15:17:15'::timestamp) - extract(epoch from '2026-05-31 15:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565147 -3.306961)'), GeomFromEWKT('SRID=4674;POINT (-38.565125 -3.307025)'))) / (select extract(epoch from '2026-05-31 15:17:15'::timestamp) - extract(epoch from '2026-05-31 15:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565102 -3.307085)', '2026-05-31 15:17:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565125 -3.307025)'), GeomFromEWKT('SRID=4674;POINT (-38.565102 -3.307085)'))) / (select extract(epoch from '2026-05-31 15:17:22'::timestamp) - extract(epoch from '2026-05-31 15:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565125 -3.307025)'), GeomFromEWKT('SRID=4674;POINT (-38.565102 -3.307085)'))) / (select extract(epoch from '2026-05-31 15:17:22'::timestamp) - extract(epoch from '2026-05-31 15:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565083 -3.307121)', '2026-05-31 15:17:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565102 -3.307085)'), GeomFromEWKT('SRID=4674;POINT (-38.565083 -3.307121)'))) / (select extract(epoch from '2026-05-31 15:17:26'::timestamp) - extract(epoch from '2026-05-31 15:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565102 -3.307085)'), GeomFromEWKT('SRID=4674;POINT (-38.565083 -3.307121)'))) / (select extract(epoch from '2026-05-31 15:17:26'::timestamp) - extract(epoch from '2026-05-31 15:17: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.565072 -3.30714)', '2026-05-31 15:17:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565083 -3.307121)'), GeomFromEWKT('SRID=4674;POINT (-38.565072 -3.30714)'))) / (select extract(epoch from '2026-05-31 15:17:28'::timestamp) - extract(epoch from '2026-05-31 15:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565083 -3.307121)'), GeomFromEWKT('SRID=4674;POINT (-38.565072 -3.30714)'))) / (select extract(epoch from '2026-05-31 15:17:28'::timestamp) - extract(epoch from '2026-05-31 15:17:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565034 -3.307206)', '2026-05-31 15:17:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565072 -3.30714)'), GeomFromEWKT('SRID=4674;POINT (-38.565034 -3.307206)'))) / (select extract(epoch from '2026-05-31 15:17:35'::timestamp) - extract(epoch from '2026-05-31 15:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565072 -3.30714)'), GeomFromEWKT('SRID=4674;POINT (-38.565034 -3.307206)'))) / (select extract(epoch from '2026-05-31 15:17:35'::timestamp) - extract(epoch from '2026-05-31 15:17: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.565016 -3.307259)', '2026-05-31 15:17:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565034 -3.307206)'), GeomFromEWKT('SRID=4674;POINT (-38.565016 -3.307259)'))) / (select extract(epoch from '2026-05-31 15:17:41'::timestamp) - extract(epoch from '2026-05-31 15:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565034 -3.307206)'), GeomFromEWKT('SRID=4674;POINT (-38.565016 -3.307259)'))) / (select extract(epoch from '2026-05-31 15:17:41'::timestamp) - extract(epoch from '2026-05-31 15:17: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.564983 -3.30735)', '2026-05-31 15:17:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565016 -3.307259)'), GeomFromEWKT('SRID=4674;POINT (-38.564983 -3.30735)'))) / (select extract(epoch from '2026-05-31 15:17:51'::timestamp) - extract(epoch from '2026-05-31 15:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565016 -3.307259)'), GeomFromEWKT('SRID=4674;POINT (-38.564983 -3.30735)'))) / (select extract(epoch from '2026-05-31 15:17:51'::timestamp) - extract(epoch from '2026-05-31 15:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564953 -3.307443)', '2026-05-31 15:18:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564983 -3.30735)'), GeomFromEWKT('SRID=4674;POINT (-38.564953 -3.307443)'))) / (select extract(epoch from '2026-05-31 15:18:02'::timestamp) - extract(epoch from '2026-05-31 15:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564983 -3.30735)'), GeomFromEWKT('SRID=4674;POINT (-38.564953 -3.307443)'))) / (select extract(epoch from '2026-05-31 15:18:02'::timestamp) - extract(epoch from '2026-05-31 15:17:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564959 -3.307517)', '2026-05-31 15:18:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564953 -3.307443)'), GeomFromEWKT('SRID=4674;POINT (-38.564959 -3.307517)'))) / (select extract(epoch from '2026-05-31 15:18:09'::timestamp) - extract(epoch from '2026-05-31 15:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564953 -3.307443)'), GeomFromEWKT('SRID=4674;POINT (-38.564959 -3.307517)'))) / (select extract(epoch from '2026-05-31 15:18:09'::timestamp) - extract(epoch from '2026-05-31 15:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564958 -3.307588)', '2026-05-31 15:18:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564959 -3.307517)'), GeomFromEWKT('SRID=4674;POINT (-38.564958 -3.307588)'))) / (select extract(epoch from '2026-05-31 15:18:16'::timestamp) - extract(epoch from '2026-05-31 15:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564959 -3.307517)'), GeomFromEWKT('SRID=4674;POINT (-38.564958 -3.307588)'))) / (select extract(epoch from '2026-05-31 15:18:16'::timestamp) - extract(epoch from '2026-05-31 15:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564959 -3.307637)', '2026-05-31 15:18:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564958 -3.307588)'), GeomFromEWKT('SRID=4674;POINT (-38.564959 -3.307637)'))) / (select extract(epoch from '2026-05-31 15:18:21'::timestamp) - extract(epoch from '2026-05-31 15:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564958 -3.307588)'), GeomFromEWKT('SRID=4674;POINT (-38.564959 -3.307637)'))) / (select extract(epoch from '2026-05-31 15:18:21'::timestamp) - extract(epoch from '2026-05-31 15:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564962 -3.307655)', '2026-05-31 15:18:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564959 -3.307637)'), GeomFromEWKT('SRID=4674;POINT (-38.564962 -3.307655)'))) / (select extract(epoch from '2026-05-31 15:18:23'::timestamp) - extract(epoch from '2026-05-31 15:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564959 -3.307637)'), GeomFromEWKT('SRID=4674;POINT (-38.564962 -3.307655)'))) / (select extract(epoch from '2026-05-31 15:18:23'::timestamp) - extract(epoch from '2026-05-31 15:18:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564962 -3.307681)', '2026-05-31 15:18:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564962 -3.307655)'), GeomFromEWKT('SRID=4674;POINT (-38.564962 -3.307681)'))) / (select extract(epoch from '2026-05-31 15:18:26'::timestamp) - extract(epoch from '2026-05-31 15:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564962 -3.307655)'), GeomFromEWKT('SRID=4674;POINT (-38.564962 -3.307681)'))) / (select extract(epoch from '2026-05-31 15:18:26'::timestamp) - extract(epoch from '2026-05-31 15:18: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.564963 -3.307695)', '2026-05-31 15:18:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564962 -3.307681)'), GeomFromEWKT('SRID=4674;POINT (-38.564963 -3.307695)'))) / (select extract(epoch from '2026-05-31 15:18:28'::timestamp) - extract(epoch from '2026-05-31 15:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564962 -3.307681)'), GeomFromEWKT('SRID=4674;POINT (-38.564963 -3.307695)'))) / (select extract(epoch from '2026-05-31 15:18:28'::timestamp) - extract(epoch from '2026-05-31 15:18: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.564964 -3.307737)', '2026-05-31 15:18:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564963 -3.307695)'), GeomFromEWKT('SRID=4674;POINT (-38.564964 -3.307737)'))) / (select extract(epoch from '2026-05-31 15:18:33'::timestamp) - extract(epoch from '2026-05-31 15:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564963 -3.307695)'), GeomFromEWKT('SRID=4674;POINT (-38.564964 -3.307737)'))) / (select extract(epoch from '2026-05-31 15:18:33'::timestamp) - extract(epoch from '2026-05-31 15:18:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564961 -3.307767)', '2026-05-31 15:18:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564964 -3.307737)'), GeomFromEWKT('SRID=4674;POINT (-38.564961 -3.307767)'))) / (select extract(epoch from '2026-05-31 15:18:37'::timestamp) - extract(epoch from '2026-05-31 15:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564964 -3.307737)'), GeomFromEWKT('SRID=4674;POINT (-38.564961 -3.307767)'))) / (select extract(epoch from '2026-05-31 15:18:37'::timestamp) - extract(epoch from '2026-05-31 15:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564962 -3.307778)', '2026-05-31 15:18:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564961 -3.307767)'), GeomFromEWKT('SRID=4674;POINT (-38.564962 -3.307778)'))) / (select extract(epoch from '2026-05-31 15:18:38'::timestamp) - extract(epoch from '2026-05-31 15:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564961 -3.307767)'), GeomFromEWKT('SRID=4674;POINT (-38.564962 -3.307778)'))) / (select extract(epoch from '2026-05-31 15:18:38'::timestamp) - extract(epoch from '2026-05-31 15:18:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564963 -3.307787)', '2026-05-31 15:18:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564962 -3.307778)'), GeomFromEWKT('SRID=4674;POINT (-38.564963 -3.307787)'))) / (select extract(epoch from '2026-05-31 15:18:39'::timestamp) - extract(epoch from '2026-05-31 15:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564962 -3.307778)'), GeomFromEWKT('SRID=4674;POINT (-38.564963 -3.307787)'))) / (select extract(epoch from '2026-05-31 15:18:39'::timestamp) - extract(epoch from '2026-05-31 15:18:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564953 -3.307829)', '2026-05-31 15:18:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564963 -3.307787)'), GeomFromEWKT('SRID=4674;POINT (-38.564953 -3.307829)'))) / (select extract(epoch from '2026-05-31 15:18:44'::timestamp) - extract(epoch from '2026-05-31 15:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564963 -3.307787)'), GeomFromEWKT('SRID=4674;POINT (-38.564953 -3.307829)'))) / (select extract(epoch from '2026-05-31 15:18:44'::timestamp) - extract(epoch from '2026-05-31 15:18: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.564942 -3.307867)', '2026-05-31 15:18:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564953 -3.307829)'), GeomFromEWKT('SRID=4674;POINT (-38.564942 -3.307867)'))) / (select extract(epoch from '2026-05-31 15:18:49'::timestamp) - extract(epoch from '2026-05-31 15:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564953 -3.307829)'), GeomFromEWKT('SRID=4674;POINT (-38.564942 -3.307867)'))) / (select extract(epoch from '2026-05-31 15:18:49'::timestamp) - extract(epoch from '2026-05-31 15:18: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.564939 -3.307885)', '2026-05-31 15:18:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564942 -3.307867)'), GeomFromEWKT('SRID=4674;POINT (-38.564939 -3.307885)'))) / (select extract(epoch from '2026-05-31 15:18:51'::timestamp) - extract(epoch from '2026-05-31 15:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564942 -3.307867)'), GeomFromEWKT('SRID=4674;POINT (-38.564939 -3.307885)'))) / (select extract(epoch from '2026-05-31 15:18:51'::timestamp) - extract(epoch from '2026-05-31 15:18: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.564912 -3.307952)', '2026-05-31 15:19:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564939 -3.307885)'), GeomFromEWKT('SRID=4674;POINT (-38.564912 -3.307952)'))) / (select extract(epoch from '2026-05-31 15:19:00'::timestamp) - extract(epoch from '2026-05-31 15:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564939 -3.307885)'), GeomFromEWKT('SRID=4674;POINT (-38.564912 -3.307952)'))) / (select extract(epoch from '2026-05-31 15:19:00'::timestamp) - extract(epoch from '2026-05-31 15:18:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564893 -3.308009)', '2026-05-31 15:19:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564912 -3.307952)'), GeomFromEWKT('SRID=4674;POINT (-38.564893 -3.308009)'))) / (select extract(epoch from '2026-05-31 15:19:07'::timestamp) - extract(epoch from '2026-05-31 15:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564912 -3.307952)'), GeomFromEWKT('SRID=4674;POINT (-38.564893 -3.308009)'))) / (select extract(epoch from '2026-05-31 15:19:07'::timestamp) - extract(epoch from '2026-05-31 15:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564887 -3.308087)', '2026-05-31 15:19:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564893 -3.308009)'), GeomFromEWKT('SRID=4674;POINT (-38.564887 -3.308087)'))) / (select extract(epoch from '2026-05-31 15:19:15'::timestamp) - extract(epoch from '2026-05-31 15:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564893 -3.308009)'), GeomFromEWKT('SRID=4674;POINT (-38.564887 -3.308087)'))) / (select extract(epoch from '2026-05-31 15:19:15'::timestamp) - extract(epoch from '2026-05-31 15:19:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564886 -3.308155)', '2026-05-31 15:19:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564887 -3.308087)'), GeomFromEWKT('SRID=4674;POINT (-38.564886 -3.308155)'))) / (select extract(epoch from '2026-05-31 15:19:21'::timestamp) - extract(epoch from '2026-05-31 15:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564887 -3.308087)'), GeomFromEWKT('SRID=4674;POINT (-38.564886 -3.308155)'))) / (select extract(epoch from '2026-05-31 15:19:21'::timestamp) - extract(epoch from '2026-05-31 15:19:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564881 -3.308164)', '2026-05-31 15:19:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564886 -3.308155)'), GeomFromEWKT('SRID=4674;POINT (-38.564881 -3.308164)'))) / (select extract(epoch from '2026-05-31 15:19:22'::timestamp) - extract(epoch from '2026-05-31 15:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564886 -3.308155)'), GeomFromEWKT('SRID=4674;POINT (-38.564881 -3.308164)'))) / (select extract(epoch from '2026-05-31 15:19:22'::timestamp) - extract(epoch from '2026-05-31 15:19: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.564876 -3.308189)', '2026-05-31 15:19:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564881 -3.308164)'), GeomFromEWKT('SRID=4674;POINT (-38.564876 -3.308189)'))) / (select extract(epoch from '2026-05-31 15:19:25'::timestamp) - extract(epoch from '2026-05-31 15:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564881 -3.308164)'), GeomFromEWKT('SRID=4674;POINT (-38.564876 -3.308189)'))) / (select extract(epoch from '2026-05-31 15:19:25'::timestamp) - extract(epoch from '2026-05-31 15:19:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564871 -3.308221)', '2026-05-31 15:19:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564876 -3.308189)'), GeomFromEWKT('SRID=4674;POINT (-38.564871 -3.308221)'))) / (select extract(epoch from '2026-05-31 15:19:28'::timestamp) - extract(epoch from '2026-05-31 15:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564876 -3.308189)'), GeomFromEWKT('SRID=4674;POINT (-38.564871 -3.308221)'))) / (select extract(epoch from '2026-05-31 15:19:28'::timestamp) - extract(epoch from '2026-05-31 15:19:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564858 -3.308298)', '2026-05-31 15:19:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564871 -3.308221)'), GeomFromEWKT('SRID=4674;POINT (-38.564858 -3.308298)'))) / (select extract(epoch from '2026-05-31 15:19:35'::timestamp) - extract(epoch from '2026-05-31 15:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564871 -3.308221)'), GeomFromEWKT('SRID=4674;POINT (-38.564858 -3.308298)'))) / (select extract(epoch from '2026-05-31 15:19:35'::timestamp) - extract(epoch from '2026-05-31 15:19: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.564855 -3.308343)', '2026-05-31 15:19:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564858 -3.308298)'), GeomFromEWKT('SRID=4674;POINT (-38.564855 -3.308343)'))) / (select extract(epoch from '2026-05-31 15:19:39'::timestamp) - extract(epoch from '2026-05-31 15:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564858 -3.308298)'), GeomFromEWKT('SRID=4674;POINT (-38.564855 -3.308343)'))) / (select extract(epoch from '2026-05-31 15:19:39'::timestamp) - extract(epoch from '2026-05-31 15:19:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564847 -3.308369)', '2026-05-31 15:19:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564855 -3.308343)'), GeomFromEWKT('SRID=4674;POINT (-38.564847 -3.308369)'))) / (select extract(epoch from '2026-05-31 15:19:41'::timestamp) - extract(epoch from '2026-05-31 15:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564855 -3.308343)'), GeomFromEWKT('SRID=4674;POINT (-38.564847 -3.308369)'))) / (select extract(epoch from '2026-05-31 15:19:41'::timestamp) - extract(epoch from '2026-05-31 15:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564846 -3.308382)', '2026-05-31 15:19:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564847 -3.308369)'), GeomFromEWKT('SRID=4674;POINT (-38.564846 -3.308382)'))) / (select extract(epoch from '2026-05-31 15:19:42'::timestamp) - extract(epoch from '2026-05-31 15:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564847 -3.308369)'), GeomFromEWKT('SRID=4674;POINT (-38.564846 -3.308382)'))) / (select extract(epoch from '2026-05-31 15:19:42'::timestamp) - extract(epoch from '2026-05-31 15:19:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564835 -3.30843)', '2026-05-31 15:19:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564846 -3.308382)'), GeomFromEWKT('SRID=4674;POINT (-38.564835 -3.30843)'))) / (select extract(epoch from '2026-05-31 15:19:46'::timestamp) - extract(epoch from '2026-05-31 15:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564846 -3.308382)'), GeomFromEWKT('SRID=4674;POINT (-38.564835 -3.30843)'))) / (select extract(epoch from '2026-05-31 15:19:46'::timestamp) - extract(epoch from '2026-05-31 15:19: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.564836 -3.308443)', '2026-05-31 15:19:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564835 -3.30843)'), GeomFromEWKT('SRID=4674;POINT (-38.564836 -3.308443)'))) / (select extract(epoch from '2026-05-31 15:19:47'::timestamp) - extract(epoch from '2026-05-31 15:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564835 -3.30843)'), GeomFromEWKT('SRID=4674;POINT (-38.564836 -3.308443)'))) / (select extract(epoch from '2026-05-31 15:19:47'::timestamp) - extract(epoch from '2026-05-31 15:19: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.564838 -3.308523)', '2026-05-31 15:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564836 -3.308443)'), GeomFromEWKT('SRID=4674;POINT (-38.564838 -3.308523)'))) / (select extract(epoch from '2026-05-31 15:19:53'::timestamp) - extract(epoch from '2026-05-31 15:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564836 -3.308443)'), GeomFromEWKT('SRID=4674;POINT (-38.564838 -3.308523)'))) / (select extract(epoch from '2026-05-31 15:19:53'::timestamp) - extract(epoch from '2026-05-31 15:19:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564845 -3.308538)', '2026-05-31 15:19:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564838 -3.308523)'), GeomFromEWKT('SRID=4674;POINT (-38.564845 -3.308538)'))) / (select extract(epoch from '2026-05-31 15:19:54'::timestamp) - extract(epoch from '2026-05-31 15:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564838 -3.308523)'), GeomFromEWKT('SRID=4674;POINT (-38.564845 -3.308538)'))) / (select extract(epoch from '2026-05-31 15:19:54'::timestamp) - extract(epoch from '2026-05-31 15:19: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.564864 -3.308605)', '2026-05-31 15:19:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564845 -3.308538)'), GeomFromEWKT('SRID=4674;POINT (-38.564864 -3.308605)'))) / (select extract(epoch from '2026-05-31 15:19:59'::timestamp) - extract(epoch from '2026-05-31 15:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564845 -3.308538)'), GeomFromEWKT('SRID=4674;POINT (-38.564864 -3.308605)'))) / (select extract(epoch from '2026-05-31 15:19:59'::timestamp) - extract(epoch from '2026-05-31 15:19: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.564877 -3.308718)', '2026-05-31 15:20:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564864 -3.308605)'), GeomFromEWKT('SRID=4674;POINT (-38.564877 -3.308718)'))) / (select extract(epoch from '2026-05-31 15:20:07'::timestamp) - extract(epoch from '2026-05-31 15:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564864 -3.308605)'), GeomFromEWKT('SRID=4674;POINT (-38.564877 -3.308718)'))) / (select extract(epoch from '2026-05-31 15:20:07'::timestamp) - extract(epoch from '2026-05-31 15:19: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.564867 -3.308816)', '2026-05-31 15:20:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564877 -3.308718)'), GeomFromEWKT('SRID=4674;POINT (-38.564867 -3.308816)'))) / (select extract(epoch from '2026-05-31 15:20:14'::timestamp) - extract(epoch from '2026-05-31 15:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564877 -3.308718)'), GeomFromEWKT('SRID=4674;POINT (-38.564867 -3.308816)'))) / (select extract(epoch from '2026-05-31 15:20:14'::timestamp) - extract(epoch from '2026-05-31 15:20:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564861 -3.308903)', '2026-05-31 15:20:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564867 -3.308816)'), GeomFromEWKT('SRID=4674;POINT (-38.564861 -3.308903)'))) / (select extract(epoch from '2026-05-31 15:20:21'::timestamp) - extract(epoch from '2026-05-31 15:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564867 -3.308816)'), GeomFromEWKT('SRID=4674;POINT (-38.564861 -3.308903)'))) / (select extract(epoch from '2026-05-31 15:20:21'::timestamp) - extract(epoch from '2026-05-31 15:20: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.564862 -3.308958)', '2026-05-31 15:20:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564861 -3.308903)'), GeomFromEWKT('SRID=4674;POINT (-38.564862 -3.308958)'))) / (select extract(epoch from '2026-05-31 15:20:25'::timestamp) - extract(epoch from '2026-05-31 15:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564861 -3.308903)'), GeomFromEWKT('SRID=4674;POINT (-38.564862 -3.308958)'))) / (select extract(epoch from '2026-05-31 15:20:25'::timestamp) - extract(epoch from '2026-05-31 15:20: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.56486 -3.308979)', '2026-05-31 15:20:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564862 -3.308958)'), GeomFromEWKT('SRID=4674;POINT (-38.56486 -3.308979)'))) / (select extract(epoch from '2026-05-31 15:20:27'::timestamp) - extract(epoch from '2026-05-31 15:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564862 -3.308958)'), GeomFromEWKT('SRID=4674;POINT (-38.56486 -3.308979)'))) / (select extract(epoch from '2026-05-31 15:20:27'::timestamp) - extract(epoch from '2026-05-31 15:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564856 -3.309001)', '2026-05-31 15:20:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56486 -3.308979)'), GeomFromEWKT('SRID=4674;POINT (-38.564856 -3.309001)'))) / (select extract(epoch from '2026-05-31 15:20:29'::timestamp) - extract(epoch from '2026-05-31 15:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56486 -3.308979)'), GeomFromEWKT('SRID=4674;POINT (-38.564856 -3.309001)'))) / (select extract(epoch from '2026-05-31 15:20:29'::timestamp) - extract(epoch from '2026-05-31 15:20: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.564865 -3.309025)', '2026-05-31 15:20:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564856 -3.309001)'), GeomFromEWKT('SRID=4674;POINT (-38.564865 -3.309025)'))) / (select extract(epoch from '2026-05-31 15:20:31'::timestamp) - extract(epoch from '2026-05-31 15:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564856 -3.309001)'), GeomFromEWKT('SRID=4674;POINT (-38.564865 -3.309025)'))) / (select extract(epoch from '2026-05-31 15:20:31'::timestamp) - extract(epoch from '2026-05-31 15:20: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.564864 -3.309037)', '2026-05-31 15:20:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564865 -3.309025)'), GeomFromEWKT('SRID=4674;POINT (-38.564864 -3.309037)'))) / (select extract(epoch from '2026-05-31 15:20:32'::timestamp) - extract(epoch from '2026-05-31 15:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564865 -3.309025)'), GeomFromEWKT('SRID=4674;POINT (-38.564864 -3.309037)'))) / (select extract(epoch from '2026-05-31 15:20:32'::timestamp) - extract(epoch from '2026-05-31 15:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564851 -3.309106)', '2026-05-31 15:20:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564864 -3.309037)'), GeomFromEWKT('SRID=4674;POINT (-38.564851 -3.309106)'))) / (select extract(epoch from '2026-05-31 15:20:38'::timestamp) - extract(epoch from '2026-05-31 15:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564864 -3.309037)'), GeomFromEWKT('SRID=4674;POINT (-38.564851 -3.309106)'))) / (select extract(epoch from '2026-05-31 15:20:38'::timestamp) - extract(epoch from '2026-05-31 15:20:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564826 -3.309188)', '2026-05-31 15:20:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564851 -3.309106)'), GeomFromEWKT('SRID=4674;POINT (-38.564826 -3.309188)'))) / (select extract(epoch from '2026-05-31 15:20:46'::timestamp) - extract(epoch from '2026-05-31 15:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564851 -3.309106)'), GeomFromEWKT('SRID=4674;POINT (-38.564826 -3.309188)'))) / (select extract(epoch from '2026-05-31 15:20:46'::timestamp) - extract(epoch from '2026-05-31 15:20:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564817 -3.309254)', '2026-05-31 15:20:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564826 -3.309188)'), GeomFromEWKT('SRID=4674;POINT (-38.564817 -3.309254)'))) / (select extract(epoch from '2026-05-31 15:20:52'::timestamp) - extract(epoch from '2026-05-31 15:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564826 -3.309188)'), GeomFromEWKT('SRID=4674;POINT (-38.564817 -3.309254)'))) / (select extract(epoch from '2026-05-31 15:20:52'::timestamp) - extract(epoch from '2026-05-31 15:20: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.564814 -3.30933)', '2026-05-31 15:20:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564817 -3.309254)'), GeomFromEWKT('SRID=4674;POINT (-38.564814 -3.30933)'))) / (select extract(epoch from '2026-05-31 15:20:59'::timestamp) - extract(epoch from '2026-05-31 15:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564817 -3.309254)'), GeomFromEWKT('SRID=4674;POINT (-38.564814 -3.30933)'))) / (select extract(epoch from '2026-05-31 15:20:59'::timestamp) - extract(epoch from '2026-05-31 15:20: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.564808 -3.309421)', '2026-05-31 15:21:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564814 -3.30933)'), GeomFromEWKT('SRID=4674;POINT (-38.564808 -3.309421)'))) / (select extract(epoch from '2026-05-31 15:21:06'::timestamp) - extract(epoch from '2026-05-31 15:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564814 -3.30933)'), GeomFromEWKT('SRID=4674;POINT (-38.564808 -3.309421)'))) / (select extract(epoch from '2026-05-31 15:21:06'::timestamp) - extract(epoch from '2026-05-31 15:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564812 -3.309444)', '2026-05-31 15:21:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564808 -3.309421)'), GeomFromEWKT('SRID=4674;POINT (-38.564812 -3.309444)'))) / (select extract(epoch from '2026-05-31 15:21:08'::timestamp) - extract(epoch from '2026-05-31 15:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564808 -3.309421)'), GeomFromEWKT('SRID=4674;POINT (-38.564812 -3.309444)'))) / (select extract(epoch from '2026-05-31 15:21:08'::timestamp) - extract(epoch from '2026-05-31 15:21:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564808 -3.309495)', '2026-05-31 15:21:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564812 -3.309444)'), GeomFromEWKT('SRID=4674;POINT (-38.564808 -3.309495)'))) / (select extract(epoch from '2026-05-31 15:21:12'::timestamp) - extract(epoch from '2026-05-31 15:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564812 -3.309444)'), GeomFromEWKT('SRID=4674;POINT (-38.564808 -3.309495)'))) / (select extract(epoch from '2026-05-31 15:21:12'::timestamp) - extract(epoch from '2026-05-31 15:21:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564801 -3.309555)', '2026-05-31 15:21:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564808 -3.309495)'), GeomFromEWKT('SRID=4674;POINT (-38.564801 -3.309555)'))) / (select extract(epoch from '2026-05-31 15:21:17'::timestamp) - extract(epoch from '2026-05-31 15:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564808 -3.309495)'), GeomFromEWKT('SRID=4674;POINT (-38.564801 -3.309555)'))) / (select extract(epoch from '2026-05-31 15:21:17'::timestamp) - extract(epoch from '2026-05-31 15:21:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564803 -3.309564)', '2026-05-31 15:21:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564801 -3.309555)'), GeomFromEWKT('SRID=4674;POINT (-38.564803 -3.309564)'))) / (select extract(epoch from '2026-05-31 15:21:18'::timestamp) - extract(epoch from '2026-05-31 15:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564801 -3.309555)'), GeomFromEWKT('SRID=4674;POINT (-38.564803 -3.309564)'))) / (select extract(epoch from '2026-05-31 15:21:18'::timestamp) - extract(epoch from '2026-05-31 15:21: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.564796 -3.309599)', '2026-05-31 15:21:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564803 -3.309564)'), GeomFromEWKT('SRID=4674;POINT (-38.564796 -3.309599)'))) / (select extract(epoch from '2026-05-31 15:21:21'::timestamp) - extract(epoch from '2026-05-31 15:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564803 -3.309564)'), GeomFromEWKT('SRID=4674;POINT (-38.564796 -3.309599)'))) / (select extract(epoch from '2026-05-31 15:21:21'::timestamp) - extract(epoch from '2026-05-31 15:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564794 -3.309625)', '2026-05-31 15:21:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564796 -3.309599)'), GeomFromEWKT('SRID=4674;POINT (-38.564794 -3.309625)'))) / (select extract(epoch from '2026-05-31 15:21:23'::timestamp) - extract(epoch from '2026-05-31 15:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564796 -3.309599)'), GeomFromEWKT('SRID=4674;POINT (-38.564794 -3.309625)'))) / (select extract(epoch from '2026-05-31 15:21:23'::timestamp) - extract(epoch from '2026-05-31 15:21: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.564782 -3.309715)', '2026-05-31 15:21:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564794 -3.309625)'), GeomFromEWKT('SRID=4674;POINT (-38.564782 -3.309715)'))) / (select extract(epoch from '2026-05-31 15:21:31'::timestamp) - extract(epoch from '2026-05-31 15:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564794 -3.309625)'), GeomFromEWKT('SRID=4674;POINT (-38.564782 -3.309715)'))) / (select extract(epoch from '2026-05-31 15:21:31'::timestamp) - extract(epoch from '2026-05-31 15:21: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.564783 -3.309757)', '2026-05-31 15:21:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564782 -3.309715)'), GeomFromEWKT('SRID=4674;POINT (-38.564783 -3.309757)'))) / (select extract(epoch from '2026-05-31 15:21:35'::timestamp) - extract(epoch from '2026-05-31 15:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564782 -3.309715)'), GeomFromEWKT('SRID=4674;POINT (-38.564783 -3.309757)'))) / (select extract(epoch from '2026-05-31 15:21:35'::timestamp) - extract(epoch from '2026-05-31 15:21: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.564781 -3.309786)', '2026-05-31 15:21:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564783 -3.309757)'), GeomFromEWKT('SRID=4674;POINT (-38.564781 -3.309786)'))) / (select extract(epoch from '2026-05-31 15:21:38'::timestamp) - extract(epoch from '2026-05-31 15:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564783 -3.309757)'), GeomFromEWKT('SRID=4674;POINT (-38.564781 -3.309786)'))) / (select extract(epoch from '2026-05-31 15:21:38'::timestamp) - extract(epoch from '2026-05-31 15:21:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564785 -3.309808)', '2026-05-31 15:21:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564781 -3.309786)'), GeomFromEWKT('SRID=4674;POINT (-38.564785 -3.309808)'))) / (select extract(epoch from '2026-05-31 15:21:40'::timestamp) - extract(epoch from '2026-05-31 15:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564781 -3.309786)'), GeomFromEWKT('SRID=4674;POINT (-38.564785 -3.309808)'))) / (select extract(epoch from '2026-05-31 15:21:40'::timestamp) - extract(epoch from '2026-05-31 15:21:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564788 -3.309853)', '2026-05-31 15:21:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564785 -3.309808)'), GeomFromEWKT('SRID=4674;POINT (-38.564788 -3.309853)'))) / (select extract(epoch from '2026-05-31 15:21:44'::timestamp) - extract(epoch from '2026-05-31 15:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564785 -3.309808)'), GeomFromEWKT('SRID=4674;POINT (-38.564788 -3.309853)'))) / (select extract(epoch from '2026-05-31 15:21:44'::timestamp) - extract(epoch from '2026-05-31 15:21:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564788 -3.309871)', '2026-05-31 15:21:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564788 -3.309853)'), GeomFromEWKT('SRID=4674;POINT (-38.564788 -3.309871)'))) / (select extract(epoch from '2026-05-31 15:21:46'::timestamp) - extract(epoch from '2026-05-31 15:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564788 -3.309853)'), GeomFromEWKT('SRID=4674;POINT (-38.564788 -3.309871)'))) / (select extract(epoch from '2026-05-31 15:21:46'::timestamp) - extract(epoch from '2026-05-31 15:21:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564786 -3.309891)', '2026-05-31 15:21:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564788 -3.309871)'), GeomFromEWKT('SRID=4674;POINT (-38.564786 -3.309891)'))) / (select extract(epoch from '2026-05-31 15:21:48'::timestamp) - extract(epoch from '2026-05-31 15:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564788 -3.309871)'), GeomFromEWKT('SRID=4674;POINT (-38.564786 -3.309891)'))) / (select extract(epoch from '2026-05-31 15:21:48'::timestamp) - extract(epoch from '2026-05-31 15:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56479 -3.309904)', '2026-05-31 15:21:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564786 -3.309891)'), GeomFromEWKT('SRID=4674;POINT (-38.56479 -3.309904)'))) / (select extract(epoch from '2026-05-31 15:21:49'::timestamp) - extract(epoch from '2026-05-31 15:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564786 -3.309891)'), GeomFromEWKT('SRID=4674;POINT (-38.56479 -3.309904)'))) / (select extract(epoch from '2026-05-31 15:21:49'::timestamp) - extract(epoch from '2026-05-31 15:21:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564794 -3.309994)', '2026-05-31 15:21:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56479 -3.309904)'), GeomFromEWKT('SRID=4674;POINT (-38.564794 -3.309994)'))) / (select extract(epoch from '2026-05-31 15:21:57'::timestamp) - extract(epoch from '2026-05-31 15:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56479 -3.309904)'), GeomFromEWKT('SRID=4674;POINT (-38.564794 -3.309994)'))) / (select extract(epoch from '2026-05-31 15:21:57'::timestamp) - extract(epoch from '2026-05-31 15:21:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564792 -3.31006)', '2026-05-31 15:22:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564794 -3.309994)'), GeomFromEWKT('SRID=4674;POINT (-38.564792 -3.31006)'))) / (select extract(epoch from '2026-05-31 15:22:04'::timestamp) - extract(epoch from '2026-05-31 15:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564794 -3.309994)'), GeomFromEWKT('SRID=4674;POINT (-38.564792 -3.31006)'))) / (select extract(epoch from '2026-05-31 15:22:04'::timestamp) - extract(epoch from '2026-05-31 15:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564801 -3.310074)', '2026-05-31 15:22:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564792 -3.31006)'), GeomFromEWKT('SRID=4674;POINT (-38.564801 -3.310074)'))) / (select extract(epoch from '2026-05-31 15:22:05'::timestamp) - extract(epoch from '2026-05-31 15:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564792 -3.31006)'), GeomFromEWKT('SRID=4674;POINT (-38.564801 -3.310074)'))) / (select extract(epoch from '2026-05-31 15:22:05'::timestamp) - extract(epoch from '2026-05-31 15:22:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564809 -3.310134)', '2026-05-31 15:22:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564801 -3.310074)'), GeomFromEWKT('SRID=4674;POINT (-38.564809 -3.310134)'))) / (select extract(epoch from '2026-05-31 15:22:10'::timestamp) - extract(epoch from '2026-05-31 15:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564801 -3.310074)'), GeomFromEWKT('SRID=4674;POINT (-38.564809 -3.310134)'))) / (select extract(epoch from '2026-05-31 15:22:10'::timestamp) - extract(epoch from '2026-05-31 15:22:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564817 -3.310213)', '2026-05-31 15:22:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564809 -3.310134)'), GeomFromEWKT('SRID=4674;POINT (-38.564817 -3.310213)'))) / (select extract(epoch from '2026-05-31 15:22:16'::timestamp) - extract(epoch from '2026-05-31 15:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564809 -3.310134)'), GeomFromEWKT('SRID=4674;POINT (-38.564817 -3.310213)'))) / (select extract(epoch from '2026-05-31 15:22:16'::timestamp) - extract(epoch from '2026-05-31 15:22:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564823 -3.3103)', '2026-05-31 15:22:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564817 -3.310213)'), GeomFromEWKT('SRID=4674;POINT (-38.564823 -3.3103)'))) / (select extract(epoch from '2026-05-31 15:22:22'::timestamp) - extract(epoch from '2026-05-31 15:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564817 -3.310213)'), GeomFromEWKT('SRID=4674;POINT (-38.564823 -3.3103)'))) / (select extract(epoch from '2026-05-31 15:22:22'::timestamp) - extract(epoch from '2026-05-31 15:22:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564844 -3.310393)', '2026-05-31 15:22:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564823 -3.3103)'), GeomFromEWKT('SRID=4674;POINT (-38.564844 -3.310393)'))) / (select extract(epoch from '2026-05-31 15:22:29'::timestamp) - extract(epoch from '2026-05-31 15:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564823 -3.3103)'), GeomFromEWKT('SRID=4674;POINT (-38.564844 -3.310393)'))) / (select extract(epoch from '2026-05-31 15:22:29'::timestamp) - extract(epoch from '2026-05-31 15:22: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.56486 -3.310459)', '2026-05-31 15:22:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564844 -3.310393)'), GeomFromEWKT('SRID=4674;POINT (-38.56486 -3.310459)'))) / (select extract(epoch from '2026-05-31 15:22:34'::timestamp) - extract(epoch from '2026-05-31 15:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564844 -3.310393)'), GeomFromEWKT('SRID=4674;POINT (-38.56486 -3.310459)'))) / (select extract(epoch from '2026-05-31 15:22:34'::timestamp) - extract(epoch from '2026-05-31 15:22: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.564869 -3.310472)', '2026-05-31 15:22:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56486 -3.310459)'), GeomFromEWKT('SRID=4674;POINT (-38.564869 -3.310472)'))) / (select extract(epoch from '2026-05-31 15:22:35'::timestamp) - extract(epoch from '2026-05-31 15:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56486 -3.310459)'), GeomFromEWKT('SRID=4674;POINT (-38.564869 -3.310472)'))) / (select extract(epoch from '2026-05-31 15:22:35'::timestamp) - extract(epoch from '2026-05-31 15:22: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.564903 -3.310547)', '2026-05-31 15:22:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564869 -3.310472)'), GeomFromEWKT('SRID=4674;POINT (-38.564903 -3.310547)'))) / (select extract(epoch from '2026-05-31 15:22:41'::timestamp) - extract(epoch from '2026-05-31 15:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564869 -3.310472)'), GeomFromEWKT('SRID=4674;POINT (-38.564903 -3.310547)'))) / (select extract(epoch from '2026-05-31 15:22:41'::timestamp) - extract(epoch from '2026-05-31 15:22: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.564937 -3.310653)', '2026-05-31 15:22:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564903 -3.310547)'), GeomFromEWKT('SRID=4674;POINT (-38.564937 -3.310653)'))) / (select extract(epoch from '2026-05-31 15:22:49'::timestamp) - extract(epoch from '2026-05-31 15:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564903 -3.310547)'), GeomFromEWKT('SRID=4674;POINT (-38.564937 -3.310653)'))) / (select extract(epoch from '2026-05-31 15:22:49'::timestamp) - extract(epoch from '2026-05-31 15:22: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.564968 -3.310755)', '2026-05-31 15:22:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564937 -3.310653)'), GeomFromEWKT('SRID=4674;POINT (-38.564968 -3.310755)'))) / (select extract(epoch from '2026-05-31 15:22:57'::timestamp) - extract(epoch from '2026-05-31 15:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564937 -3.310653)'), GeomFromEWKT('SRID=4674;POINT (-38.564968 -3.310755)'))) / (select extract(epoch from '2026-05-31 15:22:57'::timestamp) - extract(epoch from '2026-05-31 15:22: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.565011 -3.310861)', '2026-05-31 15:23:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564968 -3.310755)'), GeomFromEWKT('SRID=4674;POINT (-38.565011 -3.310861)'))) / (select extract(epoch from '2026-05-31 15:23:05'::timestamp) - extract(epoch from '2026-05-31 15:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564968 -3.310755)'), GeomFromEWKT('SRID=4674;POINT (-38.565011 -3.310861)'))) / (select extract(epoch from '2026-05-31 15:23:05'::timestamp) - extract(epoch from '2026-05-31 15:22:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565019 -3.310872)', '2026-05-31 15:23:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565011 -3.310861)'), GeomFromEWKT('SRID=4674;POINT (-38.565019 -3.310872)'))) / (select extract(epoch from '2026-05-31 15:23:06'::timestamp) - extract(epoch from '2026-05-31 15:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565011 -3.310861)'), GeomFromEWKT('SRID=4674;POINT (-38.565019 -3.310872)'))) / (select extract(epoch from '2026-05-31 15:23:06'::timestamp) - extract(epoch from '2026-05-31 15:23:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565029 -3.310909)', '2026-05-31 15:23:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565019 -3.310872)'), GeomFromEWKT('SRID=4674;POINT (-38.565029 -3.310909)'))) / (select extract(epoch from '2026-05-31 15:23:09'::timestamp) - extract(epoch from '2026-05-31 15:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565019 -3.310872)'), GeomFromEWKT('SRID=4674;POINT (-38.565029 -3.310909)'))) / (select extract(epoch from '2026-05-31 15:23:09'::timestamp) - extract(epoch from '2026-05-31 15:23: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.565054 -3.310976)', '2026-05-31 15:23:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565029 -3.310909)'), GeomFromEWKT('SRID=4674;POINT (-38.565054 -3.310976)'))) / (select extract(epoch from '2026-05-31 15:23:14'::timestamp) - extract(epoch from '2026-05-31 15:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565029 -3.310909)'), GeomFromEWKT('SRID=4674;POINT (-38.565054 -3.310976)'))) / (select extract(epoch from '2026-05-31 15:23:14'::timestamp) - extract(epoch from '2026-05-31 15:23: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.565076 -3.311063)', '2026-05-31 15:23:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565054 -3.310976)'), GeomFromEWKT('SRID=4674;POINT (-38.565076 -3.311063)'))) / (select extract(epoch from '2026-05-31 15:23:20'::timestamp) - extract(epoch from '2026-05-31 15:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565054 -3.310976)'), GeomFromEWKT('SRID=4674;POINT (-38.565076 -3.311063)'))) / (select extract(epoch from '2026-05-31 15:23:20'::timestamp) - extract(epoch from '2026-05-31 15:23: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.565092 -3.311144)', '2026-05-31 15:23:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565076 -3.311063)'), GeomFromEWKT('SRID=4674;POINT (-38.565092 -3.311144)'))) / (select extract(epoch from '2026-05-31 15:23:26'::timestamp) - extract(epoch from '2026-05-31 15:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565076 -3.311063)'), GeomFromEWKT('SRID=4674;POINT (-38.565092 -3.311144)'))) / (select extract(epoch from '2026-05-31 15:23:26'::timestamp) - extract(epoch from '2026-05-31 15:23: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.565112 -3.311259)', '2026-05-31 15:23:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565092 -3.311144)'), GeomFromEWKT('SRID=4674;POINT (-38.565112 -3.311259)'))) / (select extract(epoch from '2026-05-31 15:23:35'::timestamp) - extract(epoch from '2026-05-31 15:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565092 -3.311144)'), GeomFromEWKT('SRID=4674;POINT (-38.565112 -3.311259)'))) / (select extract(epoch from '2026-05-31 15:23:35'::timestamp) - extract(epoch from '2026-05-31 15:23:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565118 -3.311307)', '2026-05-31 15:23:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565112 -3.311259)'), GeomFromEWKT('SRID=4674;POINT (-38.565118 -3.311307)'))) / (select extract(epoch from '2026-05-31 15:23:39'::timestamp) - extract(epoch from '2026-05-31 15:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565112 -3.311259)'), GeomFromEWKT('SRID=4674;POINT (-38.565118 -3.311307)'))) / (select extract(epoch from '2026-05-31 15:23:39'::timestamp) - extract(epoch from '2026-05-31 15:23:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565128 -3.311329)', '2026-05-31 15:23:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565118 -3.311307)'), GeomFromEWKT('SRID=4674;POINT (-38.565128 -3.311329)'))) / (select extract(epoch from '2026-05-31 15:23:41'::timestamp) - extract(epoch from '2026-05-31 15:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565118 -3.311307)'), GeomFromEWKT('SRID=4674;POINT (-38.565128 -3.311329)'))) / (select extract(epoch from '2026-05-31 15:23:41'::timestamp) - extract(epoch from '2026-05-31 15:23: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.565142 -3.311393)', '2026-05-31 15:23:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565128 -3.311329)'), GeomFromEWKT('SRID=4674;POINT (-38.565142 -3.311393)'))) / (select extract(epoch from '2026-05-31 15:23:46'::timestamp) - extract(epoch from '2026-05-31 15:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565128 -3.311329)'), GeomFromEWKT('SRID=4674;POINT (-38.565142 -3.311393)'))) / (select extract(epoch from '2026-05-31 15:23:46'::timestamp) - extract(epoch from '2026-05-31 15:23: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.565156 -3.311469)', '2026-05-31 15:23:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565142 -3.311393)'), GeomFromEWKT('SRID=4674;POINT (-38.565156 -3.311469)'))) / (select extract(epoch from '2026-05-31 15:23:53'::timestamp) - extract(epoch from '2026-05-31 15:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565142 -3.311393)'), GeomFromEWKT('SRID=4674;POINT (-38.565156 -3.311469)'))) / (select extract(epoch from '2026-05-31 15:23:53'::timestamp) - extract(epoch from '2026-05-31 15:23: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.565155 -3.311551)', '2026-05-31 15:24:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565156 -3.311469)'), GeomFromEWKT('SRID=4674;POINT (-38.565155 -3.311551)'))) / (select extract(epoch from '2026-05-31 15:24:00'::timestamp) - extract(epoch from '2026-05-31 15:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565156 -3.311469)'), GeomFromEWKT('SRID=4674;POINT (-38.565155 -3.311551)'))) / (select extract(epoch from '2026-05-31 15:24:00'::timestamp) - extract(epoch from '2026-05-31 15:23: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.565162 -3.311651)', '2026-05-31 15:24:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565155 -3.311551)'), GeomFromEWKT('SRID=4674;POINT (-38.565162 -3.311651)'))) / (select extract(epoch from '2026-05-31 15:24:08'::timestamp) - extract(epoch from '2026-05-31 15:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565155 -3.311551)'), GeomFromEWKT('SRID=4674;POINT (-38.565162 -3.311651)'))) / (select extract(epoch from '2026-05-31 15:24:08'::timestamp) - extract(epoch from '2026-05-31 15:24: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.565162 -3.31168)', '2026-05-31 15:24:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565162 -3.311651)'), GeomFromEWKT('SRID=4674;POINT (-38.565162 -3.31168)'))) / (select extract(epoch from '2026-05-31 15:24:11'::timestamp) - extract(epoch from '2026-05-31 15:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565162 -3.311651)'), GeomFromEWKT('SRID=4674;POINT (-38.565162 -3.31168)'))) / (select extract(epoch from '2026-05-31 15:24:11'::timestamp) - extract(epoch from '2026-05-31 15:24: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.565157 -3.3117)', '2026-05-31 15:24:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565162 -3.31168)'), GeomFromEWKT('SRID=4674;POINT (-38.565157 -3.3117)'))) / (select extract(epoch from '2026-05-31 15:24:13'::timestamp) - extract(epoch from '2026-05-31 15:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565162 -3.31168)'), GeomFromEWKT('SRID=4674;POINT (-38.565157 -3.3117)'))) / (select extract(epoch from '2026-05-31 15:24:13'::timestamp) - extract(epoch from '2026-05-31 15:24:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565153 -3.311762)', '2026-05-31 15:24:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565157 -3.3117)'), GeomFromEWKT('SRID=4674;POINT (-38.565153 -3.311762)'))) / (select extract(epoch from '2026-05-31 15:24:18'::timestamp) - extract(epoch from '2026-05-31 15:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565157 -3.3117)'), GeomFromEWKT('SRID=4674;POINT (-38.565153 -3.311762)'))) / (select extract(epoch from '2026-05-31 15:24:18'::timestamp) - extract(epoch from '2026-05-31 15:24: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.565158 -3.311781)', '2026-05-31 15:24:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565153 -3.311762)'), GeomFromEWKT('SRID=4674;POINT (-38.565158 -3.311781)'))) / (select extract(epoch from '2026-05-31 15:24:20'::timestamp) - extract(epoch from '2026-05-31 15:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565153 -3.311762)'), GeomFromEWKT('SRID=4674;POINT (-38.565158 -3.311781)'))) / (select extract(epoch from '2026-05-31 15:24:20'::timestamp) - extract(epoch from '2026-05-31 15:24: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.565154 -3.311799)', '2026-05-31 15:24:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565158 -3.311781)'), GeomFromEWKT('SRID=4674;POINT (-38.565154 -3.311799)'))) / (select extract(epoch from '2026-05-31 15:24:22'::timestamp) - extract(epoch from '2026-05-31 15:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565158 -3.311781)'), GeomFromEWKT('SRID=4674;POINT (-38.565154 -3.311799)'))) / (select extract(epoch from '2026-05-31 15:24:22'::timestamp) - extract(epoch from '2026-05-31 15:24: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.565168 -3.311829)', '2026-05-31 15:24:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565154 -3.311799)'), GeomFromEWKT('SRID=4674;POINT (-38.565168 -3.311829)'))) / (select extract(epoch from '2026-05-31 15:24:25'::timestamp) - extract(epoch from '2026-05-31 15:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565154 -3.311799)'), GeomFromEWKT('SRID=4674;POINT (-38.565168 -3.311829)'))) / (select extract(epoch from '2026-05-31 15:24:25'::timestamp) - extract(epoch from '2026-05-31 15:24: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.565154 -3.311854)', '2026-05-31 15:24:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565168 -3.311829)'), GeomFromEWKT('SRID=4674;POINT (-38.565154 -3.311854)'))) / (select extract(epoch from '2026-05-31 15:24:27'::timestamp) - extract(epoch from '2026-05-31 15:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565168 -3.311829)'), GeomFromEWKT('SRID=4674;POINT (-38.565154 -3.311854)'))) / (select extract(epoch from '2026-05-31 15:24:27'::timestamp) - extract(epoch from '2026-05-31 15:24:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565158 -3.311865)', '2026-05-31 15:24:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565154 -3.311854)'), GeomFromEWKT('SRID=4674;POINT (-38.565158 -3.311865)'))) / (select extract(epoch from '2026-05-31 15:24:28'::timestamp) - extract(epoch from '2026-05-31 15:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565154 -3.311854)'), GeomFromEWKT('SRID=4674;POINT (-38.565158 -3.311865)'))) / (select extract(epoch from '2026-05-31 15:24:28'::timestamp) - extract(epoch from '2026-05-31 15:24: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.565173 -3.311886)', '2026-05-31 15:24:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565158 -3.311865)'), GeomFromEWKT('SRID=4674;POINT (-38.565173 -3.311886)'))) / (select extract(epoch from '2026-05-31 15:24:30'::timestamp) - extract(epoch from '2026-05-31 15:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565158 -3.311865)'), GeomFromEWKT('SRID=4674;POINT (-38.565173 -3.311886)'))) / (select extract(epoch from '2026-05-31 15:24:30'::timestamp) - extract(epoch from '2026-05-31 15:24: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.565171 -3.311924)', '2026-05-31 15:24:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565173 -3.311886)'), GeomFromEWKT('SRID=4674;POINT (-38.565171 -3.311924)'))) / (select extract(epoch from '2026-05-31 15:24:33'::timestamp) - extract(epoch from '2026-05-31 15:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565173 -3.311886)'), GeomFromEWKT('SRID=4674;POINT (-38.565171 -3.311924)'))) / (select extract(epoch from '2026-05-31 15:24:33'::timestamp) - extract(epoch from '2026-05-31 15:24:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565182 -3.312003)', '2026-05-31 15:24:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565171 -3.311924)'), GeomFromEWKT('SRID=4674;POINT (-38.565182 -3.312003)'))) / (select extract(epoch from '2026-05-31 15:24:40'::timestamp) - extract(epoch from '2026-05-31 15:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565171 -3.311924)'), GeomFromEWKT('SRID=4674;POINT (-38.565182 -3.312003)'))) / (select extract(epoch from '2026-05-31 15:24:40'::timestamp) - extract(epoch from '2026-05-31 15:24: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.565191 -3.312097)', '2026-05-31 15:24:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565182 -3.312003)'), GeomFromEWKT('SRID=4674;POINT (-38.565191 -3.312097)'))) / (select extract(epoch from '2026-05-31 15:24:47'::timestamp) - extract(epoch from '2026-05-31 15:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565182 -3.312003)'), GeomFromEWKT('SRID=4674;POINT (-38.565191 -3.312097)'))) / (select extract(epoch from '2026-05-31 15:24:47'::timestamp) - extract(epoch from '2026-05-31 15:24:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565197 -3.312148)', '2026-05-31 15:24:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565191 -3.312097)'), GeomFromEWKT('SRID=4674;POINT (-38.565197 -3.312148)'))) / (select extract(epoch from '2026-05-31 15:24:51'::timestamp) - extract(epoch from '2026-05-31 15:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565191 -3.312097)'), GeomFromEWKT('SRID=4674;POINT (-38.565197 -3.312148)'))) / (select extract(epoch from '2026-05-31 15:24:51'::timestamp) - extract(epoch from '2026-05-31 15:24: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.565206 -3.312179)', '2026-05-31 15:24:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565197 -3.312148)'), GeomFromEWKT('SRID=4674;POINT (-38.565206 -3.312179)'))) / (select extract(epoch from '2026-05-31 15:24:54'::timestamp) - extract(epoch from '2026-05-31 15:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565197 -3.312148)'), GeomFromEWKT('SRID=4674;POINT (-38.565206 -3.312179)'))) / (select extract(epoch from '2026-05-31 15:24:54'::timestamp) - extract(epoch from '2026-05-31 15:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565204 -3.312225)', '2026-05-31 15:24:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565206 -3.312179)'), GeomFromEWKT('SRID=4674;POINT (-38.565204 -3.312225)'))) / (select extract(epoch from '2026-05-31 15:24:57'::timestamp) - extract(epoch from '2026-05-31 15:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565206 -3.312179)'), GeomFromEWKT('SRID=4674;POINT (-38.565204 -3.312225)'))) / (select extract(epoch from '2026-05-31 15:24:57'::timestamp) - extract(epoch from '2026-05-31 15:24: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.565217 -3.312249)', '2026-05-31 15:24:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565204 -3.312225)'), GeomFromEWKT('SRID=4674;POINT (-38.565217 -3.312249)'))) / (select extract(epoch from '2026-05-31 15:24:59'::timestamp) - extract(epoch from '2026-05-31 15:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565204 -3.312225)'), GeomFromEWKT('SRID=4674;POINT (-38.565217 -3.312249)'))) / (select extract(epoch from '2026-05-31 15:24:59'::timestamp) - extract(epoch from '2026-05-31 15:24: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.565226 -3.312272)', '2026-05-31 15:25:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565217 -3.312249)'), GeomFromEWKT('SRID=4674;POINT (-38.565226 -3.312272)'))) / (select extract(epoch from '2026-05-31 15:25:01'::timestamp) - extract(epoch from '2026-05-31 15:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565217 -3.312249)'), GeomFromEWKT('SRID=4674;POINT (-38.565226 -3.312272)'))) / (select extract(epoch from '2026-05-31 15:25:01'::timestamp) - extract(epoch from '2026-05-31 15:24:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565242 -3.312331)', '2026-05-31 15:25:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565226 -3.312272)'), GeomFromEWKT('SRID=4674;POINT (-38.565242 -3.312331)'))) / (select extract(epoch from '2026-05-31 15:25:06'::timestamp) - extract(epoch from '2026-05-31 15:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565226 -3.312272)'), GeomFromEWKT('SRID=4674;POINT (-38.565242 -3.312331)'))) / (select extract(epoch from '2026-05-31 15:25:06'::timestamp) - extract(epoch from '2026-05-31 15:25: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.565246 -3.312345)', '2026-05-31 15:25:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565242 -3.312331)'), GeomFromEWKT('SRID=4674;POINT (-38.565246 -3.312345)'))) / (select extract(epoch from '2026-05-31 15:25:07'::timestamp) - extract(epoch from '2026-05-31 15:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565242 -3.312331)'), GeomFromEWKT('SRID=4674;POINT (-38.565246 -3.312345)'))) / (select extract(epoch from '2026-05-31 15:25:07'::timestamp) - extract(epoch from '2026-05-31 15:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565257 -3.312364)', '2026-05-31 15:25:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565246 -3.312345)'), GeomFromEWKT('SRID=4674;POINT (-38.565257 -3.312364)'))) / (select extract(epoch from '2026-05-31 15:25:09'::timestamp) - extract(epoch from '2026-05-31 15:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565246 -3.312345)'), GeomFromEWKT('SRID=4674;POINT (-38.565257 -3.312364)'))) / (select extract(epoch from '2026-05-31 15:25:09'::timestamp) - extract(epoch from '2026-05-31 15:25: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.565263 -3.312385)', '2026-05-31 15:25:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565257 -3.312364)'), GeomFromEWKT('SRID=4674;POINT (-38.565263 -3.312385)'))) / (select extract(epoch from '2026-05-31 15:25:11'::timestamp) - extract(epoch from '2026-05-31 15:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565257 -3.312364)'), GeomFromEWKT('SRID=4674;POINT (-38.565263 -3.312385)'))) / (select extract(epoch from '2026-05-31 15:25:11'::timestamp) - extract(epoch from '2026-05-31 15:25:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565275 -3.312491)', '2026-05-31 15:25:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565263 -3.312385)'), GeomFromEWKT('SRID=4674;POINT (-38.565275 -3.312491)'))) / (select extract(epoch from '2026-05-31 15:25:18'::timestamp) - extract(epoch from '2026-05-31 15:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565263 -3.312385)'), GeomFromEWKT('SRID=4674;POINT (-38.565275 -3.312491)'))) / (select extract(epoch from '2026-05-31 15:25:18'::timestamp) - extract(epoch from '2026-05-31 15:25: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.565288 -3.312565)', '2026-05-31 15:25:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565275 -3.312491)'), GeomFromEWKT('SRID=4674;POINT (-38.565288 -3.312565)'))) / (select extract(epoch from '2026-05-31 15:25:24'::timestamp) - extract(epoch from '2026-05-31 15:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565275 -3.312491)'), GeomFromEWKT('SRID=4674;POINT (-38.565288 -3.312565)'))) / (select extract(epoch from '2026-05-31 15:25:24'::timestamp) - extract(epoch from '2026-05-31 15:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565302 -3.31264)', '2026-05-31 15:25:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565288 -3.312565)'), GeomFromEWKT('SRID=4674;POINT (-38.565302 -3.31264)'))) / (select extract(epoch from '2026-05-31 15:25:30'::timestamp) - extract(epoch from '2026-05-31 15:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565288 -3.312565)'), GeomFromEWKT('SRID=4674;POINT (-38.565302 -3.31264)'))) / (select extract(epoch from '2026-05-31 15:25:30'::timestamp) - extract(epoch from '2026-05-31 15:25:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565303 -3.312653)', '2026-05-31 15:25:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565302 -3.31264)'), GeomFromEWKT('SRID=4674;POINT (-38.565303 -3.312653)'))) / (select extract(epoch from '2026-05-31 15:25:31'::timestamp) - extract(epoch from '2026-05-31 15:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565302 -3.31264)'), GeomFromEWKT('SRID=4674;POINT (-38.565303 -3.312653)'))) / (select extract(epoch from '2026-05-31 15:25:31'::timestamp) - extract(epoch from '2026-05-31 15:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565316 -3.312687)', '2026-05-31 15:25:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565303 -3.312653)'), GeomFromEWKT('SRID=4674;POINT (-38.565316 -3.312687)'))) / (select extract(epoch from '2026-05-31 15:25:34'::timestamp) - extract(epoch from '2026-05-31 15:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565303 -3.312653)'), GeomFromEWKT('SRID=4674;POINT (-38.565316 -3.312687)'))) / (select extract(epoch from '2026-05-31 15:25:34'::timestamp) - extract(epoch from '2026-05-31 15:25: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.565323 -3.312707)', '2026-05-31 15:25:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565316 -3.312687)'), GeomFromEWKT('SRID=4674;POINT (-38.565323 -3.312707)'))) / (select extract(epoch from '2026-05-31 15:25:36'::timestamp) - extract(epoch from '2026-05-31 15:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565316 -3.312687)'), GeomFromEWKT('SRID=4674;POINT (-38.565323 -3.312707)'))) / (select extract(epoch from '2026-05-31 15:25:36'::timestamp) - extract(epoch from '2026-05-31 15:25: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.565332 -3.312751)', '2026-05-31 15:25:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565323 -3.312707)'), GeomFromEWKT('SRID=4674;POINT (-38.565332 -3.312751)'))) / (select extract(epoch from '2026-05-31 15:25:40'::timestamp) - extract(epoch from '2026-05-31 15:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565323 -3.312707)'), GeomFromEWKT('SRID=4674;POINT (-38.565332 -3.312751)'))) / (select extract(epoch from '2026-05-31 15:25:40'::timestamp) - extract(epoch from '2026-05-31 15:25:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565337 -3.312776)', '2026-05-31 15:25:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565332 -3.312751)'), GeomFromEWKT('SRID=4674;POINT (-38.565337 -3.312776)'))) / (select extract(epoch from '2026-05-31 15:25:42'::timestamp) - extract(epoch from '2026-05-31 15:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565332 -3.312751)'), GeomFromEWKT('SRID=4674;POINT (-38.565337 -3.312776)'))) / (select extract(epoch from '2026-05-31 15:25:42'::timestamp) - extract(epoch from '2026-05-31 15:25: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.565339 -3.312823)', '2026-05-31 15:25:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565337 -3.312776)'), GeomFromEWKT('SRID=4674;POINT (-38.565339 -3.312823)'))) / (select extract(epoch from '2026-05-31 15:25:47'::timestamp) - extract(epoch from '2026-05-31 15:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565337 -3.312776)'), GeomFromEWKT('SRID=4674;POINT (-38.565339 -3.312823)'))) / (select extract(epoch from '2026-05-31 15:25:47'::timestamp) - extract(epoch from '2026-05-31 15:25: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.565339 -3.312834)', '2026-05-31 15:25:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565339 -3.312823)'), GeomFromEWKT('SRID=4674;POINT (-38.565339 -3.312834)'))) / (select extract(epoch from '2026-05-31 15:25:48'::timestamp) - extract(epoch from '2026-05-31 15:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565339 -3.312823)'), GeomFromEWKT('SRID=4674;POINT (-38.565339 -3.312834)'))) / (select extract(epoch from '2026-05-31 15:25:48'::timestamp) - extract(epoch from '2026-05-31 15:25: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.565346 -3.312868)', '2026-05-31 15:25:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565339 -3.312834)'), GeomFromEWKT('SRID=4674;POINT (-38.565346 -3.312868)'))) / (select extract(epoch from '2026-05-31 15:25:51'::timestamp) - extract(epoch from '2026-05-31 15:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565339 -3.312834)'), GeomFromEWKT('SRID=4674;POINT (-38.565346 -3.312868)'))) / (select extract(epoch from '2026-05-31 15:25:51'::timestamp) - extract(epoch from '2026-05-31 15:25: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.565354 -3.312888)', '2026-05-31 15:25:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565346 -3.312868)'), GeomFromEWKT('SRID=4674;POINT (-38.565354 -3.312888)'))) / (select extract(epoch from '2026-05-31 15:25:53'::timestamp) - extract(epoch from '2026-05-31 15:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565346 -3.312868)'), GeomFromEWKT('SRID=4674;POINT (-38.565354 -3.312888)'))) / (select extract(epoch from '2026-05-31 15:25:53'::timestamp) - extract(epoch from '2026-05-31 15:25: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.565371 -3.312913)', '2026-05-31 15:25:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565354 -3.312888)'), GeomFromEWKT('SRID=4674;POINT (-38.565371 -3.312913)'))) / (select extract(epoch from '2026-05-31 15:25:56'::timestamp) - extract(epoch from '2026-05-31 15:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565354 -3.312888)'), GeomFromEWKT('SRID=4674;POINT (-38.565371 -3.312913)'))) / (select extract(epoch from '2026-05-31 15:25:56'::timestamp) - extract(epoch from '2026-05-31 15:25: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.565379 -3.312934)', '2026-05-31 15:25:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565371 -3.312913)'), GeomFromEWKT('SRID=4674;POINT (-38.565379 -3.312934)'))) / (select extract(epoch from '2026-05-31 15:25:58'::timestamp) - extract(epoch from '2026-05-31 15:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565371 -3.312913)'), GeomFromEWKT('SRID=4674;POINT (-38.565379 -3.312934)'))) / (select extract(epoch from '2026-05-31 15:25:58'::timestamp) - extract(epoch from '2026-05-31 15:25:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56542 -3.313006)', '2026-05-31 15:26:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565379 -3.312934)'), GeomFromEWKT('SRID=4674;POINT (-38.56542 -3.313006)'))) / (select extract(epoch from '2026-05-31 15:26:04'::timestamp) - extract(epoch from '2026-05-31 15:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565379 -3.312934)'), GeomFromEWKT('SRID=4674;POINT (-38.56542 -3.313006)'))) / (select extract(epoch from '2026-05-31 15:26:04'::timestamp) - extract(epoch from '2026-05-31 15:25: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.56545 -3.313087)', '2026-05-31 15:26:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56542 -3.313006)'), GeomFromEWKT('SRID=4674;POINT (-38.56545 -3.313087)'))) / (select extract(epoch from '2026-05-31 15:26:11'::timestamp) - extract(epoch from '2026-05-31 15:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56542 -3.313006)'), GeomFromEWKT('SRID=4674;POINT (-38.56545 -3.313087)'))) / (select extract(epoch from '2026-05-31 15:26:11'::timestamp) - extract(epoch from '2026-05-31 15:26:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565453 -3.313101)', '2026-05-31 15:26:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56545 -3.313087)'), GeomFromEWKT('SRID=4674;POINT (-38.565453 -3.313101)'))) / (select extract(epoch from '2026-05-31 15:26:12'::timestamp) - extract(epoch from '2026-05-31 15:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56545 -3.313087)'), GeomFromEWKT('SRID=4674;POINT (-38.565453 -3.313101)'))) / (select extract(epoch from '2026-05-31 15:26:12'::timestamp) - extract(epoch from '2026-05-31 15:26: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.565456 -3.313139)', '2026-05-31 15:26:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565453 -3.313101)'), GeomFromEWKT('SRID=4674;POINT (-38.565456 -3.313139)'))) / (select extract(epoch from '2026-05-31 15:26:15'::timestamp) - extract(epoch from '2026-05-31 15:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565453 -3.313101)'), GeomFromEWKT('SRID=4674;POINT (-38.565456 -3.313139)'))) / (select extract(epoch from '2026-05-31 15:26:15'::timestamp) - extract(epoch from '2026-05-31 15:26: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.565467 -3.313225)', '2026-05-31 15:26:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565456 -3.313139)'), GeomFromEWKT('SRID=4674;POINT (-38.565467 -3.313225)'))) / (select extract(epoch from '2026-05-31 15:26:22'::timestamp) - extract(epoch from '2026-05-31 15:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565456 -3.313139)'), GeomFromEWKT('SRID=4674;POINT (-38.565467 -3.313225)'))) / (select extract(epoch from '2026-05-31 15:26:22'::timestamp) - extract(epoch from '2026-05-31 15:26: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.565491 -3.313303)', '2026-05-31 15:26:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565467 -3.313225)'), GeomFromEWKT('SRID=4674;POINT (-38.565491 -3.313303)'))) / (select extract(epoch from '2026-05-31 15:26:28'::timestamp) - extract(epoch from '2026-05-31 15:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565467 -3.313225)'), GeomFromEWKT('SRID=4674;POINT (-38.565491 -3.313303)'))) / (select extract(epoch from '2026-05-31 15:26:28'::timestamp) - extract(epoch from '2026-05-31 15:26: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.56549 -3.313316)', '2026-05-31 15:26:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565491 -3.313303)'), GeomFromEWKT('SRID=4674;POINT (-38.56549 -3.313316)'))) / (select extract(epoch from '2026-05-31 15:26:29'::timestamp) - extract(epoch from '2026-05-31 15:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565491 -3.313303)'), GeomFromEWKT('SRID=4674;POINT (-38.56549 -3.313316)'))) / (select extract(epoch from '2026-05-31 15:26:29'::timestamp) - extract(epoch from '2026-05-31 15:26: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.565503 -3.313386)', '2026-05-31 15:26:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56549 -3.313316)'), GeomFromEWKT('SRID=4674;POINT (-38.565503 -3.313386)'))) / (select extract(epoch from '2026-05-31 15:26:34'::timestamp) - extract(epoch from '2026-05-31 15:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56549 -3.313316)'), GeomFromEWKT('SRID=4674;POINT (-38.565503 -3.313386)'))) / (select extract(epoch from '2026-05-31 15:26:34'::timestamp) - extract(epoch from '2026-05-31 15:26:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565504 -3.313397)', '2026-05-31 15:26:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565503 -3.313386)'), GeomFromEWKT('SRID=4674;POINT (-38.565504 -3.313397)'))) / (select extract(epoch from '2026-05-31 15:26:35'::timestamp) - extract(epoch from '2026-05-31 15:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565503 -3.313386)'), GeomFromEWKT('SRID=4674;POINT (-38.565504 -3.313397)'))) / (select extract(epoch from '2026-05-31 15:26:35'::timestamp) - extract(epoch from '2026-05-31 15:26: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.565509 -3.313484)', '2026-05-31 15:26:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565504 -3.313397)'), GeomFromEWKT('SRID=4674;POINT (-38.565509 -3.313484)'))) / (select extract(epoch from '2026-05-31 15:26:42'::timestamp) - extract(epoch from '2026-05-31 15:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565504 -3.313397)'), GeomFromEWKT('SRID=4674;POINT (-38.565509 -3.313484)'))) / (select extract(epoch from '2026-05-31 15:26:42'::timestamp) - extract(epoch from '2026-05-31 15:26: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.565512 -3.313507)', '2026-05-31 15:26:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565509 -3.313484)'), GeomFromEWKT('SRID=4674;POINT (-38.565512 -3.313507)'))) / (select extract(epoch from '2026-05-31 15:26:44'::timestamp) - extract(epoch from '2026-05-31 15:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565509 -3.313484)'), GeomFromEWKT('SRID=4674;POINT (-38.565512 -3.313507)'))) / (select extract(epoch from '2026-05-31 15:26:44'::timestamp) - extract(epoch from '2026-05-31 15:26:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565515 -3.313553)', '2026-05-31 15:26:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565512 -3.313507)'), GeomFromEWKT('SRID=4674;POINT (-38.565515 -3.313553)'))) / (select extract(epoch from '2026-05-31 15:26:49'::timestamp) - extract(epoch from '2026-05-31 15:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565512 -3.313507)'), GeomFromEWKT('SRID=4674;POINT (-38.565515 -3.313553)'))) / (select extract(epoch from '2026-05-31 15:26:49'::timestamp) - extract(epoch from '2026-05-31 15:26: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.565532 -3.313642)', '2026-05-31 15:26:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565515 -3.313553)'), GeomFromEWKT('SRID=4674;POINT (-38.565532 -3.313642)'))) / (select extract(epoch from '2026-05-31 15:26:57'::timestamp) - extract(epoch from '2026-05-31 15:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565515 -3.313553)'), GeomFromEWKT('SRID=4674;POINT (-38.565532 -3.313642)'))) / (select extract(epoch from '2026-05-31 15:26:57'::timestamp) - extract(epoch from '2026-05-31 15:26: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.565535 -3.313667)', '2026-05-31 15:26:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565532 -3.313642)'), GeomFromEWKT('SRID=4674;POINT (-38.565535 -3.313667)'))) / (select extract(epoch from '2026-05-31 15:26:59'::timestamp) - extract(epoch from '2026-05-31 15:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565532 -3.313642)'), GeomFromEWKT('SRID=4674;POINT (-38.565535 -3.313667)'))) / (select extract(epoch from '2026-05-31 15:26:59'::timestamp) - extract(epoch from '2026-05-31 15:26: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.565537 -3.313724)', '2026-05-31 15:27:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565535 -3.313667)'), GeomFromEWKT('SRID=4674;POINT (-38.565537 -3.313724)'))) / (select extract(epoch from '2026-05-31 15:27:04'::timestamp) - extract(epoch from '2026-05-31 15:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565535 -3.313667)'), GeomFromEWKT('SRID=4674;POINT (-38.565537 -3.313724)'))) / (select extract(epoch from '2026-05-31 15:27:04'::timestamp) - extract(epoch from '2026-05-31 15:26: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.565538 -3.313768)', '2026-05-31 15:27:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565537 -3.313724)'), GeomFromEWKT('SRID=4674;POINT (-38.565538 -3.313768)'))) / (select extract(epoch from '2026-05-31 15:27:08'::timestamp) - extract(epoch from '2026-05-31 15:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565537 -3.313724)'), GeomFromEWKT('SRID=4674;POINT (-38.565538 -3.313768)'))) / (select extract(epoch from '2026-05-31 15:27:08'::timestamp) - extract(epoch from '2026-05-31 15:27:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56554 -3.31379)', '2026-05-31 15:27:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565538 -3.313768)'), GeomFromEWKT('SRID=4674;POINT (-38.56554 -3.31379)'))) / (select extract(epoch from '2026-05-31 15:27:10'::timestamp) - extract(epoch from '2026-05-31 15:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565538 -3.313768)'), GeomFromEWKT('SRID=4674;POINT (-38.56554 -3.31379)'))) / (select extract(epoch from '2026-05-31 15:27:10'::timestamp) - extract(epoch from '2026-05-31 15:27:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565549 -3.313877)', '2026-05-31 15:27:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56554 -3.31379)'), GeomFromEWKT('SRID=4674;POINT (-38.565549 -3.313877)'))) / (select extract(epoch from '2026-05-31 15:27:17'::timestamp) - extract(epoch from '2026-05-31 15:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56554 -3.31379)'), GeomFromEWKT('SRID=4674;POINT (-38.565549 -3.313877)'))) / (select extract(epoch from '2026-05-31 15:27:17'::timestamp) - extract(epoch from '2026-05-31 15:27:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565552 -3.313949)', '2026-05-31 15:27:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565549 -3.313877)'), GeomFromEWKT('SRID=4674;POINT (-38.565552 -3.313949)'))) / (select extract(epoch from '2026-05-31 15:27:23'::timestamp) - extract(epoch from '2026-05-31 15:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565549 -3.313877)'), GeomFromEWKT('SRID=4674;POINT (-38.565552 -3.313949)'))) / (select extract(epoch from '2026-05-31 15:27:23'::timestamp) - extract(epoch from '2026-05-31 15:27:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565553 -3.313958)', '2026-05-31 15:27:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565552 -3.313949)'), GeomFromEWKT('SRID=4674;POINT (-38.565553 -3.313958)'))) / (select extract(epoch from '2026-05-31 15:27:24'::timestamp) - extract(epoch from '2026-05-31 15:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565552 -3.313949)'), GeomFromEWKT('SRID=4674;POINT (-38.565553 -3.313958)'))) / (select extract(epoch from '2026-05-31 15:27:24'::timestamp) - extract(epoch from '2026-05-31 15:27: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.56557 -3.314001)', '2026-05-31 15:27:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565553 -3.313958)'), GeomFromEWKT('SRID=4674;POINT (-38.56557 -3.314001)'))) / (select extract(epoch from '2026-05-31 15:27:28'::timestamp) - extract(epoch from '2026-05-31 15:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565553 -3.313958)'), GeomFromEWKT('SRID=4674;POINT (-38.56557 -3.314001)'))) / (select extract(epoch from '2026-05-31 15:27:28'::timestamp) - extract(epoch from '2026-05-31 15:27:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565585 -3.314085)', '2026-05-31 15:27:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56557 -3.314001)'), GeomFromEWKT('SRID=4674;POINT (-38.565585 -3.314085)'))) / (select extract(epoch from '2026-05-31 15:27:35'::timestamp) - extract(epoch from '2026-05-31 15:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56557 -3.314001)'), GeomFromEWKT('SRID=4674;POINT (-38.565585 -3.314085)'))) / (select extract(epoch from '2026-05-31 15:27:35'::timestamp) - extract(epoch from '2026-05-31 15:27: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.565587 -3.314097)', '2026-05-31 15:27:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565585 -3.314085)'), GeomFromEWKT('SRID=4674;POINT (-38.565587 -3.314097)'))) / (select extract(epoch from '2026-05-31 15:27:36'::timestamp) - extract(epoch from '2026-05-31 15:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565585 -3.314085)'), GeomFromEWKT('SRID=4674;POINT (-38.565587 -3.314097)'))) / (select extract(epoch from '2026-05-31 15:27:36'::timestamp) - extract(epoch from '2026-05-31 15:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565603 -3.31416)', '2026-05-31 15:27:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565587 -3.314097)'), GeomFromEWKT('SRID=4674;POINT (-38.565603 -3.31416)'))) / (select extract(epoch from '2026-05-31 15:27:41'::timestamp) - extract(epoch from '2026-05-31 15:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565587 -3.314097)'), GeomFromEWKT('SRID=4674;POINT (-38.565603 -3.31416)'))) / (select extract(epoch from '2026-05-31 15:27:41'::timestamp) - extract(epoch from '2026-05-31 15:27: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.565612 -3.314219)', '2026-05-31 15:27:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565603 -3.31416)'), GeomFromEWKT('SRID=4674;POINT (-38.565612 -3.314219)'))) / (select extract(epoch from '2026-05-31 15:27:46'::timestamp) - extract(epoch from '2026-05-31 15:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565603 -3.31416)'), GeomFromEWKT('SRID=4674;POINT (-38.565612 -3.314219)'))) / (select extract(epoch from '2026-05-31 15:27:46'::timestamp) - extract(epoch from '2026-05-31 15:27: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.565616 -3.31423)', '2026-05-31 15:27:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565612 -3.314219)'), GeomFromEWKT('SRID=4674;POINT (-38.565616 -3.31423)'))) / (select extract(epoch from '2026-05-31 15:27:47'::timestamp) - extract(epoch from '2026-05-31 15:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565612 -3.314219)'), GeomFromEWKT('SRID=4674;POINT (-38.565616 -3.31423)'))) / (select extract(epoch from '2026-05-31 15:27:47'::timestamp) - extract(epoch from '2026-05-31 15:27: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.565626 -3.314288)', '2026-05-31 15:27:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565616 -3.31423)'), GeomFromEWKT('SRID=4674;POINT (-38.565626 -3.314288)'))) / (select extract(epoch from '2026-05-31 15:27:52'::timestamp) - extract(epoch from '2026-05-31 15:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565616 -3.31423)'), GeomFromEWKT('SRID=4674;POINT (-38.565626 -3.314288)'))) / (select extract(epoch from '2026-05-31 15:27:52'::timestamp) - extract(epoch from '2026-05-31 15:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565645 -3.314373)', '2026-05-31 15:27:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565626 -3.314288)'), GeomFromEWKT('SRID=4674;POINT (-38.565645 -3.314373)'))) / (select extract(epoch from '2026-05-31 15:27:59'::timestamp) - extract(epoch from '2026-05-31 15:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565626 -3.314288)'), GeomFromEWKT('SRID=4674;POINT (-38.565645 -3.314373)'))) / (select extract(epoch from '2026-05-31 15:27:59'::timestamp) - extract(epoch from '2026-05-31 15:27: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.565649 -3.314439)', '2026-05-31 15:28:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565645 -3.314373)'), GeomFromEWKT('SRID=4674;POINT (-38.565649 -3.314439)'))) / (select extract(epoch from '2026-05-31 15:28:05'::timestamp) - extract(epoch from '2026-05-31 15:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565645 -3.314373)'), GeomFromEWKT('SRID=4674;POINT (-38.565649 -3.314439)'))) / (select extract(epoch from '2026-05-31 15:28:05'::timestamp) - extract(epoch from '2026-05-31 15:27: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.565656 -3.314523)', '2026-05-31 15:28:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565649 -3.314439)'), GeomFromEWKT('SRID=4674;POINT (-38.565656 -3.314523)'))) / (select extract(epoch from '2026-05-31 15:28:12'::timestamp) - extract(epoch from '2026-05-31 15:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565649 -3.314439)'), GeomFromEWKT('SRID=4674;POINT (-38.565656 -3.314523)'))) / (select extract(epoch from '2026-05-31 15:28:12'::timestamp) - extract(epoch from '2026-05-31 15:28: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.565664 -3.314581)', '2026-05-31 15:28:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565656 -3.314523)'), GeomFromEWKT('SRID=4674;POINT (-38.565664 -3.314581)'))) / (select extract(epoch from '2026-05-31 15:28:17'::timestamp) - extract(epoch from '2026-05-31 15:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565656 -3.314523)'), GeomFromEWKT('SRID=4674;POINT (-38.565664 -3.314581)'))) / (select extract(epoch from '2026-05-31 15:28:17'::timestamp) - extract(epoch from '2026-05-31 15:28: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.565663 -3.314621)', '2026-05-31 15:28:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565664 -3.314581)'), GeomFromEWKT('SRID=4674;POINT (-38.565663 -3.314621)'))) / (select extract(epoch from '2026-05-31 15:28:20'::timestamp) - extract(epoch from '2026-05-31 15:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565664 -3.314581)'), GeomFromEWKT('SRID=4674;POINT (-38.565663 -3.314621)'))) / (select extract(epoch from '2026-05-31 15:28:20'::timestamp) - extract(epoch from '2026-05-31 15:28: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.56566 -3.314641)', '2026-05-31 15:28:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565663 -3.314621)'), GeomFromEWKT('SRID=4674;POINT (-38.56566 -3.314641)'))) / (select extract(epoch from '2026-05-31 15:28:22'::timestamp) - extract(epoch from '2026-05-31 15:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565663 -3.314621)'), GeomFromEWKT('SRID=4674;POINT (-38.56566 -3.314641)'))) / (select extract(epoch from '2026-05-31 15:28:22'::timestamp) - extract(epoch from '2026-05-31 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.565661 -3.314665)', '2026-05-31 15:28:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56566 -3.314641)'), GeomFromEWKT('SRID=4674;POINT (-38.565661 -3.314665)'))) / (select extract(epoch from '2026-05-31 15:28:24'::timestamp) - extract(epoch from '2026-05-31 15:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56566 -3.314641)'), GeomFromEWKT('SRID=4674;POINT (-38.565661 -3.314665)'))) / (select extract(epoch from '2026-05-31 15:28:24'::timestamp) - extract(epoch from '2026-05-31 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.56566 -3.314692)', '2026-05-31 15:28:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565661 -3.314665)'), GeomFromEWKT('SRID=4674;POINT (-38.56566 -3.314692)'))) / (select extract(epoch from '2026-05-31 15:28:26'::timestamp) - extract(epoch from '2026-05-31 15:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565661 -3.314665)'), GeomFromEWKT('SRID=4674;POINT (-38.56566 -3.314692)'))) / (select extract(epoch from '2026-05-31 15:28:26'::timestamp) - extract(epoch from '2026-05-31 15:28:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56566 -3.314715)', '2026-05-31 15:28:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56566 -3.314692)'), GeomFromEWKT('SRID=4674;POINT (-38.56566 -3.314715)'))) / (select extract(epoch from '2026-05-31 15:28:28'::timestamp) - extract(epoch from '2026-05-31 15:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56566 -3.314692)'), GeomFromEWKT('SRID=4674;POINT (-38.56566 -3.314715)'))) / (select extract(epoch from '2026-05-31 15:28:28'::timestamp) - extract(epoch from '2026-05-31 15:28: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.565657 -3.314754)', '2026-05-31 15:28:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56566 -3.314715)'), GeomFromEWKT('SRID=4674;POINT (-38.565657 -3.314754)'))) / (select extract(epoch from '2026-05-31 15:28:32'::timestamp) - extract(epoch from '2026-05-31 15:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56566 -3.314715)'), GeomFromEWKT('SRID=4674;POINT (-38.565657 -3.314754)'))) / (select extract(epoch from '2026-05-31 15:28:32'::timestamp) - extract(epoch from '2026-05-31 15:28:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565652 -3.314822)', '2026-05-31 15:28:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565657 -3.314754)'), GeomFromEWKT('SRID=4674;POINT (-38.565652 -3.314822)'))) / (select extract(epoch from '2026-05-31 15:28:39'::timestamp) - extract(epoch from '2026-05-31 15:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565657 -3.314754)'), GeomFromEWKT('SRID=4674;POINT (-38.565652 -3.314822)'))) / (select extract(epoch from '2026-05-31 15:28:39'::timestamp) - extract(epoch from '2026-05-31 15:28: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.565642 -3.314894)', '2026-05-31 15:28:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565652 -3.314822)'), GeomFromEWKT('SRID=4674;POINT (-38.565642 -3.314894)'))) / (select extract(epoch from '2026-05-31 15:28:46'::timestamp) - extract(epoch from '2026-05-31 15:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565652 -3.314822)'), GeomFromEWKT('SRID=4674;POINT (-38.565642 -3.314894)'))) / (select extract(epoch from '2026-05-31 15:28:46'::timestamp) - extract(epoch from '2026-05-31 15:28: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.565636 -3.314971)', '2026-05-31 15:28:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565642 -3.314894)'), GeomFromEWKT('SRID=4674;POINT (-38.565636 -3.314971)'))) / (select extract(epoch from '2026-05-31 15:28:53'::timestamp) - extract(epoch from '2026-05-31 15:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565642 -3.314894)'), GeomFromEWKT('SRID=4674;POINT (-38.565636 -3.314971)'))) / (select extract(epoch from '2026-05-31 15:28:53'::timestamp) - extract(epoch from '2026-05-31 15:28: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.565631 -3.314996)', '2026-05-31 15:28:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565636 -3.314971)'), GeomFromEWKT('SRID=4674;POINT (-38.565631 -3.314996)'))) / (select extract(epoch from '2026-05-31 15:28:55'::timestamp) - extract(epoch from '2026-05-31 15:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565636 -3.314971)'), GeomFromEWKT('SRID=4674;POINT (-38.565631 -3.314996)'))) / (select extract(epoch from '2026-05-31 15:28:55'::timestamp) - extract(epoch from '2026-05-31 15:28:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565626 -3.315053)', '2026-05-31 15:29:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565631 -3.314996)'), GeomFromEWKT('SRID=4674;POINT (-38.565626 -3.315053)'))) / (select extract(epoch from '2026-05-31 15:29:00'::timestamp) - extract(epoch from '2026-05-31 15:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565631 -3.314996)'), GeomFromEWKT('SRID=4674;POINT (-38.565626 -3.315053)'))) / (select extract(epoch from '2026-05-31 15:29:00'::timestamp) - extract(epoch from '2026-05-31 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.565634 -3.315125)', '2026-05-31 15:29:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565626 -3.315053)'), GeomFromEWKT('SRID=4674;POINT (-38.565634 -3.315125)'))) / (select extract(epoch from '2026-05-31 15:29:06'::timestamp) - extract(epoch from '2026-05-31 15:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565626 -3.315053)'), GeomFromEWKT('SRID=4674;POINT (-38.565634 -3.315125)'))) / (select extract(epoch from '2026-05-31 15:29:06'::timestamp) - extract(epoch from '2026-05-31 15:29: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.565654 -3.315194)', '2026-05-31 15:29:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565634 -3.315125)'), GeomFromEWKT('SRID=4674;POINT (-38.565654 -3.315194)'))) / (select extract(epoch from '2026-05-31 15:29:12'::timestamp) - extract(epoch from '2026-05-31 15:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565634 -3.315125)'), GeomFromEWKT('SRID=4674;POINT (-38.565654 -3.315194)'))) / (select extract(epoch from '2026-05-31 15:29:12'::timestamp) - extract(epoch from '2026-05-31 15:29:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565657 -3.315216)', '2026-05-31 15:29:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565654 -3.315194)'), GeomFromEWKT('SRID=4674;POINT (-38.565657 -3.315216)'))) / (select extract(epoch from '2026-05-31 15:29:14'::timestamp) - extract(epoch from '2026-05-31 15:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565654 -3.315194)'), GeomFromEWKT('SRID=4674;POINT (-38.565657 -3.315216)'))) / (select extract(epoch from '2026-05-31 15:29:14'::timestamp) - extract(epoch from '2026-05-31 15:29:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565668 -3.315265)', '2026-05-31 15:29:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565657 -3.315216)'), GeomFromEWKT('SRID=4674;POINT (-38.565668 -3.315265)'))) / (select extract(epoch from '2026-05-31 15:29:18'::timestamp) - extract(epoch from '2026-05-31 15:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565657 -3.315216)'), GeomFromEWKT('SRID=4674;POINT (-38.565668 -3.315265)'))) / (select extract(epoch from '2026-05-31 15:29:18'::timestamp) - extract(epoch from '2026-05-31 15:29: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.565665 -3.315289)', '2026-05-31 15:29:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565668 -3.315265)'), GeomFromEWKT('SRID=4674;POINT (-38.565665 -3.315289)'))) / (select extract(epoch from '2026-05-31 15:29:20'::timestamp) - extract(epoch from '2026-05-31 15:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565668 -3.315265)'), GeomFromEWKT('SRID=4674;POINT (-38.565665 -3.315289)'))) / (select extract(epoch from '2026-05-31 15:29:20'::timestamp) - extract(epoch from '2026-05-31 15:29:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565679 -3.315325)', '2026-05-31 15:29:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565665 -3.315289)'), GeomFromEWKT('SRID=4674;POINT (-38.565679 -3.315325)'))) / (select extract(epoch from '2026-05-31 15:29:23'::timestamp) - extract(epoch from '2026-05-31 15:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565665 -3.315289)'), GeomFromEWKT('SRID=4674;POINT (-38.565679 -3.315325)'))) / (select extract(epoch from '2026-05-31 15:29:23'::timestamp) - extract(epoch from '2026-05-31 15:29: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.565679 -3.315338)', '2026-05-31 15:29:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565679 -3.315325)'), GeomFromEWKT('SRID=4674;POINT (-38.565679 -3.315338)'))) / (select extract(epoch from '2026-05-31 15:29:24'::timestamp) - extract(epoch from '2026-05-31 15:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565679 -3.315325)'), GeomFromEWKT('SRID=4674;POINT (-38.565679 -3.315338)'))) / (select extract(epoch from '2026-05-31 15:29:24'::timestamp) - extract(epoch from '2026-05-31 15:29: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.565699 -3.315434)', '2026-05-31 15:29:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565679 -3.315338)'), GeomFromEWKT('SRID=4674;POINT (-38.565699 -3.315434)'))) / (select extract(epoch from '2026-05-31 15:29:32'::timestamp) - extract(epoch from '2026-05-31 15:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565679 -3.315338)'), GeomFromEWKT('SRID=4674;POINT (-38.565699 -3.315434)'))) / (select extract(epoch from '2026-05-31 15:29:32'::timestamp) - extract(epoch from '2026-05-31 15:29:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565711 -3.31552)', '2026-05-31 15:29:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565699 -3.315434)'), GeomFromEWKT('SRID=4674;POINT (-38.565711 -3.31552)'))) / (select extract(epoch from '2026-05-31 15:29:38'::timestamp) - extract(epoch from '2026-05-31 15:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565699 -3.315434)'), GeomFromEWKT('SRID=4674;POINT (-38.565711 -3.31552)'))) / (select extract(epoch from '2026-05-31 15:29:38'::timestamp) - extract(epoch from '2026-05-31 15:29:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
