 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.324398 -3.155571)', '2026-07-13 13:14:55', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.324255 -3.155541)'), GeomFromEWKT('SRID=4674;POINT (-39.324398 -3.155571)'))) / (select extract(epoch from '2026-07-13 13:14:55'::timestamp) - extract(epoch from '2026-07-13 13:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.324255 -3.155541)'), GeomFromEWKT('SRID=4674;POINT (-39.324398 -3.155571)'))) / (select extract(epoch from '2026-07-13 13:14:55'::timestamp) - extract(epoch from '2026-07-13 13:14: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'), 47511, 'SRID=4674;POINT (-39.324522 -3.155609)', '2026-07-13 13:15:01', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.324398 -3.155571)'), GeomFromEWKT('SRID=4674;POINT (-39.324522 -3.155609)'))) / (select extract(epoch from '2026-07-13 13:15:01'::timestamp) - extract(epoch from '2026-07-13 13:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.324398 -3.155571)'), GeomFromEWKT('SRID=4674;POINT (-39.324522 -3.155609)'))) / (select extract(epoch from '2026-07-13 13:15:01'::timestamp) - extract(epoch from '2026-07-13 13:14: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'), 47511, 'SRID=4674;POINT (-39.324627 -3.155635)', '2026-07-13 13:15:07', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.324522 -3.155609)'), GeomFromEWKT('SRID=4674;POINT (-39.324627 -3.155635)'))) / (select extract(epoch from '2026-07-13 13:15:07'::timestamp) - extract(epoch from '2026-07-13 13:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.324522 -3.155609)'), GeomFromEWKT('SRID=4674;POINT (-39.324627 -3.155635)'))) / (select extract(epoch from '2026-07-13 13:15:07'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.324736 -3.15566)', '2026-07-13 13:15:13', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.324627 -3.155635)'), GeomFromEWKT('SRID=4674;POINT (-39.324736 -3.15566)'))) / (select extract(epoch from '2026-07-13 13:15:13'::timestamp) - extract(epoch from '2026-07-13 13:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.324627 -3.155635)'), GeomFromEWKT('SRID=4674;POINT (-39.324736 -3.15566)'))) / (select extract(epoch from '2026-07-13 13:15:13'::timestamp) - extract(epoch from '2026-07-13 13:15: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'), 47511, 'SRID=4674;POINT (-39.324849 -3.155695)', '2026-07-13 13:15:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.324736 -3.15566)'), GeomFromEWKT('SRID=4674;POINT (-39.324849 -3.155695)'))) / (select extract(epoch from '2026-07-13 13:15:19'::timestamp) - extract(epoch from '2026-07-13 13:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.324736 -3.15566)'), GeomFromEWKT('SRID=4674;POINT (-39.324849 -3.155695)'))) / (select extract(epoch from '2026-07-13 13:15:19'::timestamp) - extract(epoch from '2026-07-13 13:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.324955 -3.155728)', '2026-07-13 13:15:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.324849 -3.155695)'), GeomFromEWKT('SRID=4674;POINT (-39.324955 -3.155728)'))) / (select extract(epoch from '2026-07-13 13:15:25'::timestamp) - extract(epoch from '2026-07-13 13:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.324849 -3.155695)'), GeomFromEWKT('SRID=4674;POINT (-39.324955 -3.155728)'))) / (select extract(epoch from '2026-07-13 13:15:25'::timestamp) - extract(epoch from '2026-07-13 13:15:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.325071 -3.155759)', '2026-07-13 13:15:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.324955 -3.155728)'), GeomFromEWKT('SRID=4674;POINT (-39.325071 -3.155759)'))) / (select extract(epoch from '2026-07-13 13:15:31'::timestamp) - extract(epoch from '2026-07-13 13:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.324955 -3.155728)'), GeomFromEWKT('SRID=4674;POINT (-39.325071 -3.155759)'))) / (select extract(epoch from '2026-07-13 13:15:31'::timestamp) - extract(epoch from '2026-07-13 13:15: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'), 47511, 'SRID=4674;POINT (-39.325211 -3.155798)', '2026-07-13 13:15:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.325071 -3.155759)'), GeomFromEWKT('SRID=4674;POINT (-39.325211 -3.155798)'))) / (select extract(epoch from '2026-07-13 13:15:38'::timestamp) - extract(epoch from '2026-07-13 13:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.325071 -3.155759)'), GeomFromEWKT('SRID=4674;POINT (-39.325211 -3.155798)'))) / (select extract(epoch from '2026-07-13 13:15:38'::timestamp) - extract(epoch from '2026-07-13 13:15: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'), 47511, 'SRID=4674;POINT (-39.325354 -3.155833)', '2026-07-13 13:15:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.325211 -3.155798)'), GeomFromEWKT('SRID=4674;POINT (-39.325354 -3.155833)'))) / (select extract(epoch from '2026-07-13 13:15:45'::timestamp) - extract(epoch from '2026-07-13 13:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.325211 -3.155798)'), GeomFromEWKT('SRID=4674;POINT (-39.325354 -3.155833)'))) / (select extract(epoch from '2026-07-13 13:15:45'::timestamp) - extract(epoch from '2026-07-13 13:15: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'), 47511, 'SRID=4674;POINT (-39.325491 -3.155863)', '2026-07-13 13:15:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.325354 -3.155833)'), GeomFromEWKT('SRID=4674;POINT (-39.325491 -3.155863)'))) / (select extract(epoch from '2026-07-13 13:15:52'::timestamp) - extract(epoch from '2026-07-13 13:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.325354 -3.155833)'), GeomFromEWKT('SRID=4674;POINT (-39.325491 -3.155863)'))) / (select extract(epoch from '2026-07-13 13:15:52'::timestamp) - extract(epoch from '2026-07-13 13:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.325606 -3.155886)', '2026-07-13 13:15:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.325491 -3.155863)'), GeomFromEWKT('SRID=4674;POINT (-39.325606 -3.155886)'))) / (select extract(epoch from '2026-07-13 13:15:59'::timestamp) - extract(epoch from '2026-07-13 13:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.325491 -3.155863)'), GeomFromEWKT('SRID=4674;POINT (-39.325606 -3.155886)'))) / (select extract(epoch from '2026-07-13 13:15:59'::timestamp) - extract(epoch from '2026-07-13 13:15: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'), 47511, 'SRID=4674;POINT (-39.325697 -3.155912)', '2026-07-13 13:16:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.325606 -3.155886)'), GeomFromEWKT('SRID=4674;POINT (-39.325697 -3.155912)'))) / (select extract(epoch from '2026-07-13 13:16:04'::timestamp) - extract(epoch from '2026-07-13 13:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.325606 -3.155886)'), GeomFromEWKT('SRID=4674;POINT (-39.325697 -3.155912)'))) / (select extract(epoch from '2026-07-13 13:16:04'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.325823 -3.155944)', '2026-07-13 13:16:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.325697 -3.155912)'), GeomFromEWKT('SRID=4674;POINT (-39.325823 -3.155944)'))) / (select extract(epoch from '2026-07-13 13:16:11'::timestamp) - extract(epoch from '2026-07-13 13:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.325697 -3.155912)'), GeomFromEWKT('SRID=4674;POINT (-39.325823 -3.155944)'))) / (select extract(epoch from '2026-07-13 13:16:11'::timestamp) - extract(epoch from '2026-07-13 13:16: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'), 47511, 'SRID=4674;POINT (-39.325938 -3.155967)', '2026-07-13 13:16:17', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.325823 -3.155944)'), GeomFromEWKT('SRID=4674;POINT (-39.325938 -3.155967)'))) / (select extract(epoch from '2026-07-13 13:16:17'::timestamp) - extract(epoch from '2026-07-13 13:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.325823 -3.155944)'), GeomFromEWKT('SRID=4674;POINT (-39.325938 -3.155967)'))) / (select extract(epoch from '2026-07-13 13:16:17'::timestamp) - extract(epoch from '2026-07-13 13:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.32605 -3.155998)', '2026-07-13 13:16:23', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.325938 -3.155967)'), GeomFromEWKT('SRID=4674;POINT (-39.32605 -3.155998)'))) / (select extract(epoch from '2026-07-13 13:16:23'::timestamp) - extract(epoch from '2026-07-13 13:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.325938 -3.155967)'), GeomFromEWKT('SRID=4674;POINT (-39.32605 -3.155998)'))) / (select extract(epoch from '2026-07-13 13:16:23'::timestamp) - extract(epoch from '2026-07-13 13:16:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.326196 -3.156029)', '2026-07-13 13:16:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.32605 -3.155998)'), GeomFromEWKT('SRID=4674;POINT (-39.326196 -3.156029)'))) / (select extract(epoch from '2026-07-13 13:16:30'::timestamp) - extract(epoch from '2026-07-13 13:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.32605 -3.155998)'), GeomFromEWKT('SRID=4674;POINT (-39.326196 -3.156029)'))) / (select extract(epoch from '2026-07-13 13:16:30'::timestamp) - extract(epoch from '2026-07-13 13:16: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'), 47511, 'SRID=4674;POINT (-39.326311 -3.156069)', '2026-07-13 13:16:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.326196 -3.156029)'), GeomFromEWKT('SRID=4674;POINT (-39.326311 -3.156069)'))) / (select extract(epoch from '2026-07-13 13:16:36'::timestamp) - extract(epoch from '2026-07-13 13:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.326196 -3.156029)'), GeomFromEWKT('SRID=4674;POINT (-39.326311 -3.156069)'))) / (select extract(epoch from '2026-07-13 13:16:36'::timestamp) - extract(epoch from '2026-07-13 13:16: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'), 47511, 'SRID=4674;POINT (-39.326441 -3.156115)', '2026-07-13 13:16:43', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.326311 -3.156069)'), GeomFromEWKT('SRID=4674;POINT (-39.326441 -3.156115)'))) / (select extract(epoch from '2026-07-13 13:16:43'::timestamp) - extract(epoch from '2026-07-13 13:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.326311 -3.156069)'), GeomFromEWKT('SRID=4674;POINT (-39.326441 -3.156115)'))) / (select extract(epoch from '2026-07-13 13:16:43'::timestamp) - extract(epoch from '2026-07-13 13:16: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'), 47511, 'SRID=4674;POINT (-39.326571 -3.156153)', '2026-07-13 13:16:50', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.326441 -3.156115)'), GeomFromEWKT('SRID=4674;POINT (-39.326571 -3.156153)'))) / (select extract(epoch from '2026-07-13 13:16:50'::timestamp) - extract(epoch from '2026-07-13 13:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.326441 -3.156115)'), GeomFromEWKT('SRID=4674;POINT (-39.326571 -3.156153)'))) / (select extract(epoch from '2026-07-13 13:16:50'::timestamp) - extract(epoch from '2026-07-13 13:16:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.326707 -3.156185)', '2026-07-13 13:16:57', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.326571 -3.156153)'), GeomFromEWKT('SRID=4674;POINT (-39.326707 -3.156185)'))) / (select extract(epoch from '2026-07-13 13:16:57'::timestamp) - extract(epoch from '2026-07-13 13:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.326571 -3.156153)'), GeomFromEWKT('SRID=4674;POINT (-39.326707 -3.156185)'))) / (select extract(epoch from '2026-07-13 13:16:57'::timestamp) - extract(epoch from '2026-07-13 13:16: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'), 47511, 'SRID=4674;POINT (-39.326851 -3.15622)', '2026-07-13 13:17:05', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.326707 -3.156185)'), GeomFromEWKT('SRID=4674;POINT (-39.326851 -3.15622)'))) / (select extract(epoch from '2026-07-13 13:17:05'::timestamp) - extract(epoch from '2026-07-13 13:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.326707 -3.156185)'), GeomFromEWKT('SRID=4674;POINT (-39.326851 -3.15622)'))) / (select extract(epoch from '2026-07-13 13:17:05'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.326977 -3.156257)', '2026-07-13 13:17:12', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.326851 -3.15622)'), GeomFromEWKT('SRID=4674;POINT (-39.326977 -3.156257)'))) / (select extract(epoch from '2026-07-13 13:17:12'::timestamp) - extract(epoch from '2026-07-13 13:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.326851 -3.15622)'), GeomFromEWKT('SRID=4674;POINT (-39.326977 -3.156257)'))) / (select extract(epoch from '2026-07-13 13:17:12'::timestamp) - extract(epoch from '2026-07-13 13:17:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.327082 -3.156288)', '2026-07-13 13:17:18', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.326977 -3.156257)'), GeomFromEWKT('SRID=4674;POINT (-39.327082 -3.156288)'))) / (select extract(epoch from '2026-07-13 13:17:18'::timestamp) - extract(epoch from '2026-07-13 13:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.326977 -3.156257)'), GeomFromEWKT('SRID=4674;POINT (-39.327082 -3.156288)'))) / (select extract(epoch from '2026-07-13 13:17:18'::timestamp) - extract(epoch from '2026-07-13 13:17: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'), 47511, 'SRID=4674;POINT (-39.327211 -3.156319)', '2026-07-13 13:17:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.327082 -3.156288)'), GeomFromEWKT('SRID=4674;POINT (-39.327211 -3.156319)'))) / (select extract(epoch from '2026-07-13 13:17:25'::timestamp) - extract(epoch from '2026-07-13 13:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.327082 -3.156288)'), GeomFromEWKT('SRID=4674;POINT (-39.327211 -3.156319)'))) / (select extract(epoch from '2026-07-13 13:17:25'::timestamp) - extract(epoch from '2026-07-13 13:17: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'), 47511, 'SRID=4674;POINT (-39.327347 -3.15635)', '2026-07-13 13:17:32', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.327211 -3.156319)'), GeomFromEWKT('SRID=4674;POINT (-39.327347 -3.15635)'))) / (select extract(epoch from '2026-07-13 13:17:32'::timestamp) - extract(epoch from '2026-07-13 13:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.327211 -3.156319)'), GeomFromEWKT('SRID=4674;POINT (-39.327347 -3.15635)'))) / (select extract(epoch from '2026-07-13 13:17:32'::timestamp) - extract(epoch from '2026-07-13 13:17: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'), 47511, 'SRID=4674;POINT (-39.327476 -3.156395)', '2026-07-13 13:17:39', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.327347 -3.15635)'), GeomFromEWKT('SRID=4674;POINT (-39.327476 -3.156395)'))) / (select extract(epoch from '2026-07-13 13:17:39'::timestamp) - extract(epoch from '2026-07-13 13:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.327347 -3.15635)'), GeomFromEWKT('SRID=4674;POINT (-39.327476 -3.156395)'))) / (select extract(epoch from '2026-07-13 13:17:39'::timestamp) - extract(epoch from '2026-07-13 13:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.327603 -3.156427)', '2026-07-13 13:17:46', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.327476 -3.156395)'), GeomFromEWKT('SRID=4674;POINT (-39.327603 -3.156427)'))) / (select extract(epoch from '2026-07-13 13:17:46'::timestamp) - extract(epoch from '2026-07-13 13:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.327476 -3.156395)'), GeomFromEWKT('SRID=4674;POINT (-39.327603 -3.156427)'))) / (select extract(epoch from '2026-07-13 13:17:46'::timestamp) - extract(epoch from '2026-07-13 13:17: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'), 47511, 'SRID=4674;POINT (-39.327697 -3.156448)', '2026-07-13 13:17:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.327603 -3.156427)'), GeomFromEWKT('SRID=4674;POINT (-39.327697 -3.156448)'))) / (select extract(epoch from '2026-07-13 13:17:51'::timestamp) - extract(epoch from '2026-07-13 13:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.327603 -3.156427)'), GeomFromEWKT('SRID=4674;POINT (-39.327697 -3.156448)'))) / (select extract(epoch from '2026-07-13 13:17:51'::timestamp) - extract(epoch from '2026-07-13 13:17: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'), 47511, 'SRID=4674;POINT (-39.327793 -3.156469)', '2026-07-13 13:17:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.327697 -3.156448)'), GeomFromEWKT('SRID=4674;POINT (-39.327793 -3.156469)'))) / (select extract(epoch from '2026-07-13 13:17:56'::timestamp) - extract(epoch from '2026-07-13 13:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.327697 -3.156448)'), GeomFromEWKT('SRID=4674;POINT (-39.327793 -3.156469)'))) / (select extract(epoch from '2026-07-13 13:17:56'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.327912 -3.156487)', '2026-07-13 13:18:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.327793 -3.156469)'), GeomFromEWKT('SRID=4674;POINT (-39.327912 -3.156487)'))) / (select extract(epoch from '2026-07-13 13:18:03'::timestamp) - extract(epoch from '2026-07-13 13:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.327793 -3.156469)'), GeomFromEWKT('SRID=4674;POINT (-39.327912 -3.156487)'))) / (select extract(epoch from '2026-07-13 13:18:03'::timestamp) - extract(epoch from '2026-07-13 13:17: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'), 47511, 'SRID=4674;POINT (-39.328067 -3.156516)', '2026-07-13 13:18:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.327912 -3.156487)'), GeomFromEWKT('SRID=4674;POINT (-39.328067 -3.156516)'))) / (select extract(epoch from '2026-07-13 13:18:11'::timestamp) - extract(epoch from '2026-07-13 13:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.327912 -3.156487)'), GeomFromEWKT('SRID=4674;POINT (-39.328067 -3.156516)'))) / (select extract(epoch from '2026-07-13 13:18:11'::timestamp) - extract(epoch from '2026-07-13 13:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.328202 -3.156551)', '2026-07-13 13:18:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328067 -3.156516)'), GeomFromEWKT('SRID=4674;POINT (-39.328202 -3.156551)'))) / (select extract(epoch from '2026-07-13 13:18:18'::timestamp) - extract(epoch from '2026-07-13 13:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328067 -3.156516)'), GeomFromEWKT('SRID=4674;POINT (-39.328202 -3.156551)'))) / (select extract(epoch from '2026-07-13 13:18:18'::timestamp) - extract(epoch from '2026-07-13 13:18:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.328295 -3.15658)', '2026-07-13 13:18:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328202 -3.156551)'), GeomFromEWKT('SRID=4674;POINT (-39.328295 -3.15658)'))) / (select extract(epoch from '2026-07-13 13:18:23'::timestamp) - extract(epoch from '2026-07-13 13:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328202 -3.156551)'), GeomFromEWKT('SRID=4674;POINT (-39.328295 -3.15658)'))) / (select extract(epoch from '2026-07-13 13:18:23'::timestamp) - extract(epoch from '2026-07-13 13:18:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.328388 -3.156606)', '2026-07-13 13:18:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328295 -3.15658)'), GeomFromEWKT('SRID=4674;POINT (-39.328388 -3.156606)'))) / (select extract(epoch from '2026-07-13 13:18:28'::timestamp) - extract(epoch from '2026-07-13 13:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328295 -3.15658)'), GeomFromEWKT('SRID=4674;POINT (-39.328388 -3.156606)'))) / (select extract(epoch from '2026-07-13 13:18:28'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.328478 -3.156634)', '2026-07-13 13:18:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328388 -3.156606)'), GeomFromEWKT('SRID=4674;POINT (-39.328478 -3.156634)'))) / (select extract(epoch from '2026-07-13 13:18:33'::timestamp) - extract(epoch from '2026-07-13 13:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328388 -3.156606)'), GeomFromEWKT('SRID=4674;POINT (-39.328478 -3.156634)'))) / (select extract(epoch from '2026-07-13 13:18:33'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.328581 -3.156661)', '2026-07-13 13:18:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328478 -3.156634)'), GeomFromEWKT('SRID=4674;POINT (-39.328581 -3.156661)'))) / (select extract(epoch from '2026-07-13 13:18:38'::timestamp) - extract(epoch from '2026-07-13 13:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328478 -3.156634)'), GeomFromEWKT('SRID=4674;POINT (-39.328581 -3.156661)'))) / (select extract(epoch from '2026-07-13 13:18:38'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.328687 -3.156692)', '2026-07-13 13:18:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328581 -3.156661)'), GeomFromEWKT('SRID=4674;POINT (-39.328687 -3.156692)'))) / (select extract(epoch from '2026-07-13 13:18:44'::timestamp) - extract(epoch from '2026-07-13 13:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328581 -3.156661)'), GeomFromEWKT('SRID=4674;POINT (-39.328687 -3.156692)'))) / (select extract(epoch from '2026-07-13 13:18:44'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.328816 -3.156723)', '2026-07-13 13:18:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328687 -3.156692)'), GeomFromEWKT('SRID=4674;POINT (-39.328816 -3.156723)'))) / (select extract(epoch from '2026-07-13 13:18:51'::timestamp) - extract(epoch from '2026-07-13 13:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328687 -3.156692)'), GeomFromEWKT('SRID=4674;POINT (-39.328816 -3.156723)'))) / (select extract(epoch from '2026-07-13 13:18:51'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.328937 -3.156755)', '2026-07-13 13:18:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328816 -3.156723)'), GeomFromEWKT('SRID=4674;POINT (-39.328937 -3.156755)'))) / (select extract(epoch from '2026-07-13 13:18:57'::timestamp) - extract(epoch from '2026-07-13 13:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328816 -3.156723)'), GeomFromEWKT('SRID=4674;POINT (-39.328937 -3.156755)'))) / (select extract(epoch from '2026-07-13 13:18:57'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.329038 -3.156784)', '2026-07-13 13:19:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328937 -3.156755)'), GeomFromEWKT('SRID=4674;POINT (-39.329038 -3.156784)'))) / (select extract(epoch from '2026-07-13 13:19:02'::timestamp) - extract(epoch from '2026-07-13 13:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.328937 -3.156755)'), GeomFromEWKT('SRID=4674;POINT (-39.329038 -3.156784)'))) / (select extract(epoch from '2026-07-13 13:19:02'::timestamp) - extract(epoch from '2026-07-13 13:18: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'), 47511, 'SRID=4674;POINT (-39.329152 -3.156818)', '2026-07-13 13:19:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329038 -3.156784)'), GeomFromEWKT('SRID=4674;POINT (-39.329152 -3.156818)'))) / (select extract(epoch from '2026-07-13 13:19:08'::timestamp) - extract(epoch from '2026-07-13 13:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329038 -3.156784)'), GeomFromEWKT('SRID=4674;POINT (-39.329152 -3.156818)'))) / (select extract(epoch from '2026-07-13 13:19:08'::timestamp) - extract(epoch from '2026-07-13 13:19: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'), 47511, 'SRID=4674;POINT (-39.329261 -3.156857)', '2026-07-13 13:19:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329152 -3.156818)'), GeomFromEWKT('SRID=4674;POINT (-39.329261 -3.156857)'))) / (select extract(epoch from '2026-07-13 13:19:14'::timestamp) - extract(epoch from '2026-07-13 13:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329152 -3.156818)'), GeomFromEWKT('SRID=4674;POINT (-39.329261 -3.156857)'))) / (select extract(epoch from '2026-07-13 13:19:14'::timestamp) - extract(epoch from '2026-07-13 13:19: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'), 47511, 'SRID=4674;POINT (-39.329376 -3.156884)', '2026-07-13 13:19:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329261 -3.156857)'), GeomFromEWKT('SRID=4674;POINT (-39.329376 -3.156884)'))) / (select extract(epoch from '2026-07-13 13:19:20'::timestamp) - extract(epoch from '2026-07-13 13:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329261 -3.156857)'), GeomFromEWKT('SRID=4674;POINT (-39.329376 -3.156884)'))) / (select extract(epoch from '2026-07-13 13:19:20'::timestamp) - extract(epoch from '2026-07-13 13:19: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'), 47511, 'SRID=4674;POINT (-39.329473 -3.15691)', '2026-07-13 13:19:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329376 -3.156884)'), GeomFromEWKT('SRID=4674;POINT (-39.329473 -3.15691)'))) / (select extract(epoch from '2026-07-13 13:19:25'::timestamp) - extract(epoch from '2026-07-13 13:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329376 -3.156884)'), GeomFromEWKT('SRID=4674;POINT (-39.329473 -3.15691)'))) / (select extract(epoch from '2026-07-13 13:19:25'::timestamp) - extract(epoch from '2026-07-13 13:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.329575 -3.156925)', '2026-07-13 13:19:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329473 -3.15691)'), GeomFromEWKT('SRID=4674;POINT (-39.329575 -3.156925)'))) / (select extract(epoch from '2026-07-13 13:19:31'::timestamp) - extract(epoch from '2026-07-13 13:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329473 -3.15691)'), GeomFromEWKT('SRID=4674;POINT (-39.329575 -3.156925)'))) / (select extract(epoch from '2026-07-13 13:19:31'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.329695 -3.156958)', '2026-07-13 13:19:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329575 -3.156925)'), GeomFromEWKT('SRID=4674;POINT (-39.329695 -3.156958)'))) / (select extract(epoch from '2026-07-13 13:19:37'::timestamp) - extract(epoch from '2026-07-13 13:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329575 -3.156925)'), GeomFromEWKT('SRID=4674;POINT (-39.329695 -3.156958)'))) / (select extract(epoch from '2026-07-13 13:19:37'::timestamp) - extract(epoch from '2026-07-13 13:19:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.329824 -3.156987)', '2026-07-13 13:19:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329695 -3.156958)'), GeomFromEWKT('SRID=4674;POINT (-39.329824 -3.156987)'))) / (select extract(epoch from '2026-07-13 13:19:44'::timestamp) - extract(epoch from '2026-07-13 13:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329695 -3.156958)'), GeomFromEWKT('SRID=4674;POINT (-39.329824 -3.156987)'))) / (select extract(epoch from '2026-07-13 13:19:44'::timestamp) - extract(epoch from '2026-07-13 13:19:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.329906 -3.157002)', '2026-07-13 13:19:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329824 -3.156987)'), GeomFromEWKT('SRID=4674;POINT (-39.329906 -3.157002)'))) / (select extract(epoch from '2026-07-13 13:19:48'::timestamp) - extract(epoch from '2026-07-13 13:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329824 -3.156987)'), GeomFromEWKT('SRID=4674;POINT (-39.329906 -3.157002)'))) / (select extract(epoch from '2026-07-13 13:19:48'::timestamp) - extract(epoch from '2026-07-13 13:19: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'), 47511, 'SRID=4674;POINT (-39.33001 -3.157037)', '2026-07-13 13:19:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329906 -3.157002)'), GeomFromEWKT('SRID=4674;POINT (-39.33001 -3.157037)'))) / (select extract(epoch from '2026-07-13 13:19:53'::timestamp) - extract(epoch from '2026-07-13 13:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.329906 -3.157002)'), GeomFromEWKT('SRID=4674;POINT (-39.33001 -3.157037)'))) / (select extract(epoch from '2026-07-13 13:19:53'::timestamp) - extract(epoch from '2026-07-13 13:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.330135 -3.157083)', '2026-07-13 13:20:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.33001 -3.157037)'), GeomFromEWKT('SRID=4674;POINT (-39.330135 -3.157083)'))) / (select extract(epoch from '2026-07-13 13:20:00'::timestamp) - extract(epoch from '2026-07-13 13:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.33001 -3.157037)'), GeomFromEWKT('SRID=4674;POINT (-39.330135 -3.157083)'))) / (select extract(epoch from '2026-07-13 13:20:00'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.330266 -3.157121)', '2026-07-13 13:20:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.330135 -3.157083)'), GeomFromEWKT('SRID=4674;POINT (-39.330266 -3.157121)'))) / (select extract(epoch from '2026-07-13 13:20:07'::timestamp) - extract(epoch from '2026-07-13 13:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.330135 -3.157083)'), GeomFromEWKT('SRID=4674;POINT (-39.330266 -3.157121)'))) / (select extract(epoch from '2026-07-13 13:20:07'::timestamp) - extract(epoch from '2026-07-13 13:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.330403 -3.157152)', '2026-07-13 13:20:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.330266 -3.157121)'), GeomFromEWKT('SRID=4674;POINT (-39.330403 -3.157152)'))) / (select extract(epoch from '2026-07-13 13:20:14'::timestamp) - extract(epoch from '2026-07-13 13:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.330266 -3.157121)'), GeomFromEWKT('SRID=4674;POINT (-39.330403 -3.157152)'))) / (select extract(epoch from '2026-07-13 13:20:14'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.330512 -3.157181)', '2026-07-13 13:20:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.330403 -3.157152)'), GeomFromEWKT('SRID=4674;POINT (-39.330512 -3.157181)'))) / (select extract(epoch from '2026-07-13 13:20:19'::timestamp) - extract(epoch from '2026-07-13 13:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.330403 -3.157152)'), GeomFromEWKT('SRID=4674;POINT (-39.330512 -3.157181)'))) / (select extract(epoch from '2026-07-13 13:20:19'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.330647 -3.157214)', '2026-07-13 13:20:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.330512 -3.157181)'), GeomFromEWKT('SRID=4674;POINT (-39.330647 -3.157214)'))) / (select extract(epoch from '2026-07-13 13:20:26'::timestamp) - extract(epoch from '2026-07-13 13:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.330512 -3.157181)'), GeomFromEWKT('SRID=4674;POINT (-39.330647 -3.157214)'))) / (select extract(epoch from '2026-07-13 13:20:26'::timestamp) - extract(epoch from '2026-07-13 13:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.330758 -3.157237)', '2026-07-13 13:20:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.330647 -3.157214)'), GeomFromEWKT('SRID=4674;POINT (-39.330758 -3.157237)'))) / (select extract(epoch from '2026-07-13 13:20:32'::timestamp) - extract(epoch from '2026-07-13 13:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.330647 -3.157214)'), GeomFromEWKT('SRID=4674;POINT (-39.330758 -3.157237)'))) / (select extract(epoch from '2026-07-13 13:20:32'::timestamp) - extract(epoch from '2026-07-13 13:20: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'), 47511, 'SRID=4674;POINT (-39.330872 -3.15726)', '2026-07-13 13:20:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.330758 -3.157237)'), GeomFromEWKT('SRID=4674;POINT (-39.330872 -3.15726)'))) / (select extract(epoch from '2026-07-13 13:20:38'::timestamp) - extract(epoch from '2026-07-13 13:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.330758 -3.157237)'), GeomFromEWKT('SRID=4674;POINT (-39.330872 -3.15726)'))) / (select extract(epoch from '2026-07-13 13:20:38'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.331009 -3.157294)', '2026-07-13 13:20:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.330872 -3.15726)'), GeomFromEWKT('SRID=4674;POINT (-39.331009 -3.157294)'))) / (select extract(epoch from '2026-07-13 13:20:45'::timestamp) - extract(epoch from '2026-07-13 13:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.330872 -3.15726)'), GeomFromEWKT('SRID=4674;POINT (-39.331009 -3.157294)'))) / (select extract(epoch from '2026-07-13 13:20:45'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.331134 -3.157331)', '2026-07-13 13:20:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331009 -3.157294)'), GeomFromEWKT('SRID=4674;POINT (-39.331134 -3.157331)'))) / (select extract(epoch from '2026-07-13 13:20:52'::timestamp) - extract(epoch from '2026-07-13 13:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331009 -3.157294)'), GeomFromEWKT('SRID=4674;POINT (-39.331134 -3.157331)'))) / (select extract(epoch from '2026-07-13 13:20:52'::timestamp) - extract(epoch from '2026-07-13 13:20: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'), 47511, 'SRID=4674;POINT (-39.331253 -3.157372)', '2026-07-13 13:20:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331134 -3.157331)'), GeomFromEWKT('SRID=4674;POINT (-39.331253 -3.157372)'))) / (select extract(epoch from '2026-07-13 13:20:58'::timestamp) - extract(epoch from '2026-07-13 13:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331134 -3.157331)'), GeomFromEWKT('SRID=4674;POINT (-39.331253 -3.157372)'))) / (select extract(epoch from '2026-07-13 13:20:58'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.331358 -3.157398)', '2026-07-13 13:21:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331253 -3.157372)'), GeomFromEWKT('SRID=4674;POINT (-39.331358 -3.157398)'))) / (select extract(epoch from '2026-07-13 13:21:03'::timestamp) - extract(epoch from '2026-07-13 13:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331253 -3.157372)'), GeomFromEWKT('SRID=4674;POINT (-39.331358 -3.157398)'))) / (select extract(epoch from '2026-07-13 13:21:03'::timestamp) - extract(epoch from '2026-07-13 13:20:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.331472 -3.157423)', '2026-07-13 13:21:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331358 -3.157398)'), GeomFromEWKT('SRID=4674;POINT (-39.331472 -3.157423)'))) / (select extract(epoch from '2026-07-13 13:21:09'::timestamp) - extract(epoch from '2026-07-13 13:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331358 -3.157398)'), GeomFromEWKT('SRID=4674;POINT (-39.331472 -3.157423)'))) / (select extract(epoch from '2026-07-13 13:21:09'::timestamp) - extract(epoch from '2026-07-13 13:21: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'), 47511, 'SRID=4674;POINT (-39.331601 -3.157455)', '2026-07-13 13:21:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331472 -3.157423)'), GeomFromEWKT('SRID=4674;POINT (-39.331601 -3.157455)'))) / (select extract(epoch from '2026-07-13 13:21:16'::timestamp) - extract(epoch from '2026-07-13 13:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331472 -3.157423)'), GeomFromEWKT('SRID=4674;POINT (-39.331601 -3.157455)'))) / (select extract(epoch from '2026-07-13 13:21:16'::timestamp) - extract(epoch from '2026-07-13 13:21: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'), 47511, 'SRID=4674;POINT (-39.331708 -3.157486)', '2026-07-13 13:21:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331601 -3.157455)'), GeomFromEWKT('SRID=4674;POINT (-39.331708 -3.157486)'))) / (select extract(epoch from '2026-07-13 13:21:22'::timestamp) - extract(epoch from '2026-07-13 13:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331601 -3.157455)'), GeomFromEWKT('SRID=4674;POINT (-39.331708 -3.157486)'))) / (select extract(epoch from '2026-07-13 13:21:22'::timestamp) - extract(epoch from '2026-07-13 13:21: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'), 47511, 'SRID=4674;POINT (-39.331795 -3.157516)', '2026-07-13 13:21:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331708 -3.157486)'), GeomFromEWKT('SRID=4674;POINT (-39.331795 -3.157516)'))) / (select extract(epoch from '2026-07-13 13:21:27'::timestamp) - extract(epoch from '2026-07-13 13:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331708 -3.157486)'), GeomFromEWKT('SRID=4674;POINT (-39.331795 -3.157516)'))) / (select extract(epoch from '2026-07-13 13:21:27'::timestamp) - extract(epoch from '2026-07-13 13:21: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'), 47511, 'SRID=4674;POINT (-39.331887 -3.157542)', '2026-07-13 13:21:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331795 -3.157516)'), GeomFromEWKT('SRID=4674;POINT (-39.331887 -3.157542)'))) / (select extract(epoch from '2026-07-13 13:21:32'::timestamp) - extract(epoch from '2026-07-13 13:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331795 -3.157516)'), GeomFromEWKT('SRID=4674;POINT (-39.331887 -3.157542)'))) / (select extract(epoch from '2026-07-13 13:21:32'::timestamp) - extract(epoch from '2026-07-13 13:21:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.332034 -3.157581)', '2026-07-13 13:21:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331887 -3.157542)'), GeomFromEWKT('SRID=4674;POINT (-39.332034 -3.157581)'))) / (select extract(epoch from '2026-07-13 13:21:40'::timestamp) - extract(epoch from '2026-07-13 13:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.331887 -3.157542)'), GeomFromEWKT('SRID=4674;POINT (-39.332034 -3.157581)'))) / (select extract(epoch from '2026-07-13 13:21:40'::timestamp) - extract(epoch from '2026-07-13 13:21: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'), 47511, 'SRID=4674;POINT (-39.332155 -3.157621)', '2026-07-13 13:21:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.332034 -3.157581)'), GeomFromEWKT('SRID=4674;POINT (-39.332155 -3.157621)'))) / (select extract(epoch from '2026-07-13 13:21:46'::timestamp) - extract(epoch from '2026-07-13 13:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.332034 -3.157581)'), GeomFromEWKT('SRID=4674;POINT (-39.332155 -3.157621)'))) / (select extract(epoch from '2026-07-13 13:21:46'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.332295 -3.157659)', '2026-07-13 13:21:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.332155 -3.157621)'), GeomFromEWKT('SRID=4674;POINT (-39.332295 -3.157659)'))) / (select extract(epoch from '2026-07-13 13:21:53'::timestamp) - extract(epoch from '2026-07-13 13:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.332155 -3.157621)'), GeomFromEWKT('SRID=4674;POINT (-39.332295 -3.157659)'))) / (select extract(epoch from '2026-07-13 13:21:53'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.332417 -3.157694)', '2026-07-13 13:22:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.332295 -3.157659)'), GeomFromEWKT('SRID=4674;POINT (-39.332417 -3.157694)'))) / (select extract(epoch from '2026-07-13 13:22:00'::timestamp) - extract(epoch from '2026-07-13 13:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.332295 -3.157659)'), GeomFromEWKT('SRID=4674;POINT (-39.332417 -3.157694)'))) / (select extract(epoch from '2026-07-13 13:22:00'::timestamp) - extract(epoch from '2026-07-13 13:21: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'), 47511, 'SRID=4674;POINT (-39.332581 -3.157743)', '2026-07-13 13:22:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.332417 -3.157694)'), GeomFromEWKT('SRID=4674;POINT (-39.332581 -3.157743)'))) / (select extract(epoch from '2026-07-13 13:22:08'::timestamp) - extract(epoch from '2026-07-13 13:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.332417 -3.157694)'), GeomFromEWKT('SRID=4674;POINT (-39.332581 -3.157743)'))) / (select extract(epoch from '2026-07-13 13:22:08'::timestamp) - extract(epoch from '2026-07-13 13:22: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'), 47511, 'SRID=4674;POINT (-39.332697 -3.157764)', '2026-07-13 13:22:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.332581 -3.157743)'), GeomFromEWKT('SRID=4674;POINT (-39.332697 -3.157764)'))) / (select extract(epoch from '2026-07-13 13:22:14'::timestamp) - extract(epoch from '2026-07-13 13:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.332581 -3.157743)'), GeomFromEWKT('SRID=4674;POINT (-39.332697 -3.157764)'))) / (select extract(epoch from '2026-07-13 13:22:14'::timestamp) - extract(epoch from '2026-07-13 13:22: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'), 47511, 'SRID=4674;POINT (-39.332818 -3.157799)', '2026-07-13 13:22:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.332697 -3.157764)'), GeomFromEWKT('SRID=4674;POINT (-39.332818 -3.157799)'))) / (select extract(epoch from '2026-07-13 13:22:21'::timestamp) - extract(epoch from '2026-07-13 13:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.332697 -3.157764)'), GeomFromEWKT('SRID=4674;POINT (-39.332818 -3.157799)'))) / (select extract(epoch from '2026-07-13 13:22:21'::timestamp) - extract(epoch from '2026-07-13 13:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.332919 -3.157826)', '2026-07-13 13:22:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.332818 -3.157799)'), GeomFromEWKT('SRID=4674;POINT (-39.332919 -3.157826)'))) / (select extract(epoch from '2026-07-13 13:22:27'::timestamp) - extract(epoch from '2026-07-13 13:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.332818 -3.157799)'), GeomFromEWKT('SRID=4674;POINT (-39.332919 -3.157826)'))) / (select extract(epoch from '2026-07-13 13:22:27'::timestamp) - extract(epoch from '2026-07-13 13:22:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.333022 -3.15785)', '2026-07-13 13:22:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.332919 -3.157826)'), GeomFromEWKT('SRID=4674;POINT (-39.333022 -3.15785)'))) / (select extract(epoch from '2026-07-13 13:22:33'::timestamp) - extract(epoch from '2026-07-13 13:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.332919 -3.157826)'), GeomFromEWKT('SRID=4674;POINT (-39.333022 -3.15785)'))) / (select extract(epoch from '2026-07-13 13:22:33'::timestamp) - extract(epoch from '2026-07-13 13:22: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'), 47511, 'SRID=4674;POINT (-39.333117 -3.157874)', '2026-07-13 13:22:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333022 -3.15785)'), GeomFromEWKT('SRID=4674;POINT (-39.333117 -3.157874)'))) / (select extract(epoch from '2026-07-13 13:22:38'::timestamp) - extract(epoch from '2026-07-13 13:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333022 -3.15785)'), GeomFromEWKT('SRID=4674;POINT (-39.333117 -3.157874)'))) / (select extract(epoch from '2026-07-13 13:22:38'::timestamp) - extract(epoch from '2026-07-13 13:22: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'), 47511, 'SRID=4674;POINT (-39.333248 -3.157915)', '2026-07-13 13:22:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333117 -3.157874)'), GeomFromEWKT('SRID=4674;POINT (-39.333248 -3.157915)'))) / (select extract(epoch from '2026-07-13 13:22:45'::timestamp) - extract(epoch from '2026-07-13 13:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333117 -3.157874)'), GeomFromEWKT('SRID=4674;POINT (-39.333248 -3.157915)'))) / (select extract(epoch from '2026-07-13 13:22:45'::timestamp) - extract(epoch from '2026-07-13 13:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.333378 -3.157957)', '2026-07-13 13:22:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333248 -3.157915)'), GeomFromEWKT('SRID=4674;POINT (-39.333378 -3.157957)'))) / (select extract(epoch from '2026-07-13 13:22:51'::timestamp) - extract(epoch from '2026-07-13 13:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333248 -3.157915)'), GeomFromEWKT('SRID=4674;POINT (-39.333378 -3.157957)'))) / (select extract(epoch from '2026-07-13 13:22:51'::timestamp) - extract(epoch from '2026-07-13 13:22: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'), 47511, 'SRID=4674;POINT (-39.333465 -3.157977)', '2026-07-13 13:22:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333378 -3.157957)'), GeomFromEWKT('SRID=4674;POINT (-39.333465 -3.157977)'))) / (select extract(epoch from '2026-07-13 13:22:56'::timestamp) - extract(epoch from '2026-07-13 13:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333378 -3.157957)'), GeomFromEWKT('SRID=4674;POINT (-39.333465 -3.157977)'))) / (select extract(epoch from '2026-07-13 13:22:56'::timestamp) - extract(epoch from '2026-07-13 13:22:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.333546 -3.157999)', '2026-07-13 13:23:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333465 -3.157977)'), GeomFromEWKT('SRID=4674;POINT (-39.333546 -3.157999)'))) / (select extract(epoch from '2026-07-13 13:23:01'::timestamp) - extract(epoch from '2026-07-13 13:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333465 -3.157977)'), GeomFromEWKT('SRID=4674;POINT (-39.333546 -3.157999)'))) / (select extract(epoch from '2026-07-13 13:23:01'::timestamp) - extract(epoch from '2026-07-13 13:22: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'), 47511, 'SRID=4674;POINT (-39.333648 -3.158042)', '2026-07-13 13:23:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333546 -3.157999)'), GeomFromEWKT('SRID=4674;POINT (-39.333648 -3.158042)'))) / (select extract(epoch from '2026-07-13 13:23:07'::timestamp) - extract(epoch from '2026-07-13 13:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333546 -3.157999)'), GeomFromEWKT('SRID=4674;POINT (-39.333648 -3.158042)'))) / (select extract(epoch from '2026-07-13 13:23:07'::timestamp) - extract(epoch from '2026-07-13 13:23: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'), 47511, 'SRID=4674;POINT (-39.333751 -3.158076)', '2026-07-13 13:23:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333648 -3.158042)'), GeomFromEWKT('SRID=4674;POINT (-39.333751 -3.158076)'))) / (select extract(epoch from '2026-07-13 13:23:13'::timestamp) - extract(epoch from '2026-07-13 13:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333648 -3.158042)'), GeomFromEWKT('SRID=4674;POINT (-39.333751 -3.158076)'))) / (select extract(epoch from '2026-07-13 13:23:13'::timestamp) - extract(epoch from '2026-07-13 13:23:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.333874 -3.158102)', '2026-07-13 13:23:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333751 -3.158076)'), GeomFromEWKT('SRID=4674;POINT (-39.333874 -3.158102)'))) / (select extract(epoch from '2026-07-13 13:23:19'::timestamp) - extract(epoch from '2026-07-13 13:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333751 -3.158076)'), GeomFromEWKT('SRID=4674;POINT (-39.333874 -3.158102)'))) / (select extract(epoch from '2026-07-13 13:23:19'::timestamp) - extract(epoch from '2026-07-13 13:23: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'), 47511, 'SRID=4674;POINT (-39.333982 -3.158135)', '2026-07-13 13:23:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333874 -3.158102)'), GeomFromEWKT('SRID=4674;POINT (-39.333982 -3.158135)'))) / (select extract(epoch from '2026-07-13 13:23:25'::timestamp) - extract(epoch from '2026-07-13 13:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333874 -3.158102)'), GeomFromEWKT('SRID=4674;POINT (-39.333982 -3.158135)'))) / (select extract(epoch from '2026-07-13 13:23:25'::timestamp) - extract(epoch from '2026-07-13 13:23:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.334111 -3.158165)', '2026-07-13 13:23:32', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333982 -3.158135)'), GeomFromEWKT('SRID=4674;POINT (-39.334111 -3.158165)'))) / (select extract(epoch from '2026-07-13 13:23:32'::timestamp) - extract(epoch from '2026-07-13 13:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.333982 -3.158135)'), GeomFromEWKT('SRID=4674;POINT (-39.334111 -3.158165)'))) / (select extract(epoch from '2026-07-13 13:23:32'::timestamp) - extract(epoch from '2026-07-13 13:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.334228 -3.158196)', '2026-07-13 13:23:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.334111 -3.158165)'), GeomFromEWKT('SRID=4674;POINT (-39.334228 -3.158196)'))) / (select extract(epoch from '2026-07-13 13:23:38'::timestamp) - extract(epoch from '2026-07-13 13:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.334111 -3.158165)'), GeomFromEWKT('SRID=4674;POINT (-39.334228 -3.158196)'))) / (select extract(epoch from '2026-07-13 13:23:38'::timestamp) - extract(epoch from '2026-07-13 13:23:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.33435 -3.158215)', '2026-07-13 13:23:44', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.334228 -3.158196)'), GeomFromEWKT('SRID=4674;POINT (-39.33435 -3.158215)'))) / (select extract(epoch from '2026-07-13 13:23:44'::timestamp) - extract(epoch from '2026-07-13 13:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.334228 -3.158196)'), GeomFromEWKT('SRID=4674;POINT (-39.33435 -3.158215)'))) / (select extract(epoch from '2026-07-13 13:23:44'::timestamp) - extract(epoch from '2026-07-13 13:23:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.334454 -3.158239)', '2026-07-13 13:23:50', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.33435 -3.158215)'), GeomFromEWKT('SRID=4674;POINT (-39.334454 -3.158239)'))) / (select extract(epoch from '2026-07-13 13:23:50'::timestamp) - extract(epoch from '2026-07-13 13:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.33435 -3.158215)'), GeomFromEWKT('SRID=4674;POINT (-39.334454 -3.158239)'))) / (select extract(epoch from '2026-07-13 13:23:50'::timestamp) - extract(epoch from '2026-07-13 13:23: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'), 47511, 'SRID=4674;POINT (-39.334572 -3.158272)', '2026-07-13 13:23:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.334454 -3.158239)'), GeomFromEWKT('SRID=4674;POINT (-39.334572 -3.158272)'))) / (select extract(epoch from '2026-07-13 13:23:56'::timestamp) - extract(epoch from '2026-07-13 13:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.334454 -3.158239)'), GeomFromEWKT('SRID=4674;POINT (-39.334572 -3.158272)'))) / (select extract(epoch from '2026-07-13 13:23:56'::timestamp) - extract(epoch from '2026-07-13 13:23: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'), 47511, 'SRID=4674;POINT (-39.334675 -3.158305)', '2026-07-13 13:24:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.334572 -3.158272)'), GeomFromEWKT('SRID=4674;POINT (-39.334675 -3.158305)'))) / (select extract(epoch from '2026-07-13 13:24:02'::timestamp) - extract(epoch from '2026-07-13 13:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.334572 -3.158272)'), GeomFromEWKT('SRID=4674;POINT (-39.334675 -3.158305)'))) / (select extract(epoch from '2026-07-13 13:24:02'::timestamp) - extract(epoch from '2026-07-13 13:23: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'), 47511, 'SRID=4674;POINT (-39.334814 -3.158344)', '2026-07-13 13:24:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.334675 -3.158305)'), GeomFromEWKT('SRID=4674;POINT (-39.334814 -3.158344)'))) / (select extract(epoch from '2026-07-13 13:24:10'::timestamp) - extract(epoch from '2026-07-13 13:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.334675 -3.158305)'), GeomFromEWKT('SRID=4674;POINT (-39.334814 -3.158344)'))) / (select extract(epoch from '2026-07-13 13:24:10'::timestamp) - extract(epoch from '2026-07-13 13:24: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'), 47511, 'SRID=4674;POINT (-39.334943 -3.158367)', '2026-07-13 13:24:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.334814 -3.158344)'), GeomFromEWKT('SRID=4674;POINT (-39.334943 -3.158367)'))) / (select extract(epoch from '2026-07-13 13:24:17'::timestamp) - extract(epoch from '2026-07-13 13:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.334814 -3.158344)'), GeomFromEWKT('SRID=4674;POINT (-39.334943 -3.158367)'))) / (select extract(epoch from '2026-07-13 13:24:17'::timestamp) - extract(epoch from '2026-07-13 13:24: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'), 47511, 'SRID=4674;POINT (-39.335061 -3.158391)', '2026-07-13 13:24:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.334943 -3.158367)'), GeomFromEWKT('SRID=4674;POINT (-39.335061 -3.158391)'))) / (select extract(epoch from '2026-07-13 13:24:23'::timestamp) - extract(epoch from '2026-07-13 13:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.334943 -3.158367)'), GeomFromEWKT('SRID=4674;POINT (-39.335061 -3.158391)'))) / (select extract(epoch from '2026-07-13 13:24:23'::timestamp) - extract(epoch from '2026-07-13 13:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.335152 -3.158421)', '2026-07-13 13:24:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.335061 -3.158391)'), GeomFromEWKT('SRID=4674;POINT (-39.335152 -3.158421)'))) / (select extract(epoch from '2026-07-13 13:24:28'::timestamp) - extract(epoch from '2026-07-13 13:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.335061 -3.158391)'), GeomFromEWKT('SRID=4674;POINT (-39.335152 -3.158421)'))) / (select extract(epoch from '2026-07-13 13:24:28'::timestamp) - extract(epoch from '2026-07-13 13:24: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'), 47511, 'SRID=4674;POINT (-39.33527 -3.158449)', '2026-07-13 13:24:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.335152 -3.158421)'), GeomFromEWKT('SRID=4674;POINT (-39.33527 -3.158449)'))) / (select extract(epoch from '2026-07-13 13:24:34'::timestamp) - extract(epoch from '2026-07-13 13:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.335152 -3.158421)'), GeomFromEWKT('SRID=4674;POINT (-39.33527 -3.158449)'))) / (select extract(epoch from '2026-07-13 13:24:34'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.335375 -3.158478)', '2026-07-13 13:24:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.33527 -3.158449)'), GeomFromEWKT('SRID=4674;POINT (-39.335375 -3.158478)'))) / (select extract(epoch from '2026-07-13 13:24:40'::timestamp) - extract(epoch from '2026-07-13 13:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.33527 -3.158449)'), GeomFromEWKT('SRID=4674;POINT (-39.335375 -3.158478)'))) / (select extract(epoch from '2026-07-13 13:24:40'::timestamp) - extract(epoch from '2026-07-13 13:24: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'), 47511, 'SRID=4674;POINT (-39.335525 -3.158524)', '2026-07-13 13:24:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.335375 -3.158478)'), GeomFromEWKT('SRID=4674;POINT (-39.335525 -3.158524)'))) / (select extract(epoch from '2026-07-13 13:24:49'::timestamp) - extract(epoch from '2026-07-13 13:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.335375 -3.158478)'), GeomFromEWKT('SRID=4674;POINT (-39.335525 -3.158524)'))) / (select extract(epoch from '2026-07-13 13:24:49'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.33563 -3.15855)', '2026-07-13 13:24:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.335525 -3.158524)'), GeomFromEWKT('SRID=4674;POINT (-39.33563 -3.15855)'))) / (select extract(epoch from '2026-07-13 13:24:55'::timestamp) - extract(epoch from '2026-07-13 13:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.335525 -3.158524)'), GeomFromEWKT('SRID=4674;POINT (-39.33563 -3.15855)'))) / (select extract(epoch from '2026-07-13 13:24:55'::timestamp) - extract(epoch from '2026-07-13 13:24:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.335771 -3.158574)', '2026-07-13 13:25:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.33563 -3.15855)'), GeomFromEWKT('SRID=4674;POINT (-39.335771 -3.158574)'))) / (select extract(epoch from '2026-07-13 13:25:02'::timestamp) - extract(epoch from '2026-07-13 13:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.33563 -3.15855)'), GeomFromEWKT('SRID=4674;POINT (-39.335771 -3.158574)'))) / (select extract(epoch from '2026-07-13 13:25:02'::timestamp) - extract(epoch from '2026-07-13 13:24: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'), 47511, 'SRID=4674;POINT (-39.335882 -3.158602)', '2026-07-13 13:25:08', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.335771 -3.158574)'), GeomFromEWKT('SRID=4674;POINT (-39.335882 -3.158602)'))) / (select extract(epoch from '2026-07-13 13:25:08'::timestamp) - extract(epoch from '2026-07-13 13:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.335771 -3.158574)'), GeomFromEWKT('SRID=4674;POINT (-39.335882 -3.158602)'))) / (select extract(epoch from '2026-07-13 13:25:08'::timestamp) - extract(epoch from '2026-07-13 13:25: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'), 47511, 'SRID=4674;POINT (-39.335985 -3.158631)', '2026-07-13 13:25:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.335882 -3.158602)'), GeomFromEWKT('SRID=4674;POINT (-39.335985 -3.158631)'))) / (select extract(epoch from '2026-07-13 13:25:14'::timestamp) - extract(epoch from '2026-07-13 13:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.335882 -3.158602)'), GeomFromEWKT('SRID=4674;POINT (-39.335985 -3.158631)'))) / (select extract(epoch from '2026-07-13 13:25:14'::timestamp) - extract(epoch from '2026-07-13 13:25: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'), 47511, 'SRID=4674;POINT (-39.33609 -3.158664)', '2026-07-13 13:25:20', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.335985 -3.158631)'), GeomFromEWKT('SRID=4674;POINT (-39.33609 -3.158664)'))) / (select extract(epoch from '2026-07-13 13:25:20'::timestamp) - extract(epoch from '2026-07-13 13:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.335985 -3.158631)'), GeomFromEWKT('SRID=4674;POINT (-39.33609 -3.158664)'))) / (select extract(epoch from '2026-07-13 13:25:20'::timestamp) - extract(epoch from '2026-07-13 13:25:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.336254 -3.158701)', '2026-07-13 13:25:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.33609 -3.158664)'), GeomFromEWKT('SRID=4674;POINT (-39.336254 -3.158701)'))) / (select extract(epoch from '2026-07-13 13:25:29'::timestamp) - extract(epoch from '2026-07-13 13:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.33609 -3.158664)'), GeomFromEWKT('SRID=4674;POINT (-39.336254 -3.158701)'))) / (select extract(epoch from '2026-07-13 13:25:29'::timestamp) - extract(epoch from '2026-07-13 13:25: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'), 47511, 'SRID=4674;POINT (-39.33636 -3.158733)', '2026-07-13 13:25:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.336254 -3.158701)'), GeomFromEWKT('SRID=4674;POINT (-39.33636 -3.158733)'))) / (select extract(epoch from '2026-07-13 13:25:35'::timestamp) - extract(epoch from '2026-07-13 13:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.336254 -3.158701)'), GeomFromEWKT('SRID=4674;POINT (-39.33636 -3.158733)'))) / (select extract(epoch from '2026-07-13 13:25:35'::timestamp) - extract(epoch from '2026-07-13 13:25:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.336471 -3.158774)', '2026-07-13 13:25:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.33636 -3.158733)'), GeomFromEWKT('SRID=4674;POINT (-39.336471 -3.158774)'))) / (select extract(epoch from '2026-07-13 13:25:41'::timestamp) - extract(epoch from '2026-07-13 13:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.33636 -3.158733)'), GeomFromEWKT('SRID=4674;POINT (-39.336471 -3.158774)'))) / (select extract(epoch from '2026-07-13 13:25:41'::timestamp) - extract(epoch from '2026-07-13 13:25: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'), 47511, 'SRID=4674;POINT (-39.336642 -3.158825)', '2026-07-13 13:25:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.336471 -3.158774)'), GeomFromEWKT('SRID=4674;POINT (-39.336642 -3.158825)'))) / (select extract(epoch from '2026-07-13 13:25:50'::timestamp) - extract(epoch from '2026-07-13 13:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.336471 -3.158774)'), GeomFromEWKT('SRID=4674;POINT (-39.336642 -3.158825)'))) / (select extract(epoch from '2026-07-13 13:25:50'::timestamp) - extract(epoch from '2026-07-13 13:25: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'), 47511, 'SRID=4674;POINT (-39.336768 -3.158864)', '2026-07-13 13:25:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.336642 -3.158825)'), GeomFromEWKT('SRID=4674;POINT (-39.336768 -3.158864)'))) / (select extract(epoch from '2026-07-13 13:25:57'::timestamp) - extract(epoch from '2026-07-13 13:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.336642 -3.158825)'), GeomFromEWKT('SRID=4674;POINT (-39.336768 -3.158864)'))) / (select extract(epoch from '2026-07-13 13:25:57'::timestamp) - extract(epoch from '2026-07-13 13:25:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.336917 -3.158905)', '2026-07-13 13:26:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.336768 -3.158864)'), GeomFromEWKT('SRID=4674;POINT (-39.336917 -3.158905)'))) / (select extract(epoch from '2026-07-13 13:26:05'::timestamp) - extract(epoch from '2026-07-13 13:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.336768 -3.158864)'), GeomFromEWKT('SRID=4674;POINT (-39.336917 -3.158905)'))) / (select extract(epoch from '2026-07-13 13:26:05'::timestamp) - extract(epoch from '2026-07-13 13:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.337043 -3.158928)', '2026-07-13 13:26:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.336917 -3.158905)'), GeomFromEWKT('SRID=4674;POINT (-39.337043 -3.158928)'))) / (select extract(epoch from '2026-07-13 13:26:12'::timestamp) - extract(epoch from '2026-07-13 13:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.336917 -3.158905)'), GeomFromEWKT('SRID=4674;POINT (-39.337043 -3.158928)'))) / (select extract(epoch from '2026-07-13 13:26:12'::timestamp) - extract(epoch from '2026-07-13 13:26: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'), 47511, 'SRID=4674;POINT (-39.337137 -3.158955)', '2026-07-13 13:26:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337043 -3.158928)'), GeomFromEWKT('SRID=4674;POINT (-39.337137 -3.158955)'))) / (select extract(epoch from '2026-07-13 13:26:17'::timestamp) - extract(epoch from '2026-07-13 13:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337043 -3.158928)'), GeomFromEWKT('SRID=4674;POINT (-39.337137 -3.158955)'))) / (select extract(epoch from '2026-07-13 13:26:17'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.337233 -3.158978)', '2026-07-13 13:26:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337137 -3.158955)'), GeomFromEWKT('SRID=4674;POINT (-39.337233 -3.158978)'))) / (select extract(epoch from '2026-07-13 13:26:22'::timestamp) - extract(epoch from '2026-07-13 13:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337137 -3.158955)'), GeomFromEWKT('SRID=4674;POINT (-39.337233 -3.158978)'))) / (select extract(epoch from '2026-07-13 13:26:22'::timestamp) - extract(epoch from '2026-07-13 13:26:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.337358 -3.159001)', '2026-07-13 13:26:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337233 -3.158978)'), GeomFromEWKT('SRID=4674;POINT (-39.337358 -3.159001)'))) / (select extract(epoch from '2026-07-13 13:26:28'::timestamp) - extract(epoch from '2026-07-13 13:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337233 -3.158978)'), GeomFromEWKT('SRID=4674;POINT (-39.337358 -3.159001)'))) / (select extract(epoch from '2026-07-13 13:26:28'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.337476 -3.159019)', '2026-07-13 13:26:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337358 -3.159001)'), GeomFromEWKT('SRID=4674;POINT (-39.337476 -3.159019)'))) / (select extract(epoch from '2026-07-13 13:26:34'::timestamp) - extract(epoch from '2026-07-13 13:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337358 -3.159001)'), GeomFromEWKT('SRID=4674;POINT (-39.337476 -3.159019)'))) / (select extract(epoch from '2026-07-13 13:26:34'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.337572 -3.159038)', '2026-07-13 13:26:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337476 -3.159019)'), GeomFromEWKT('SRID=4674;POINT (-39.337572 -3.159038)'))) / (select extract(epoch from '2026-07-13 13:26:39'::timestamp) - extract(epoch from '2026-07-13 13:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337476 -3.159019)'), GeomFromEWKT('SRID=4674;POINT (-39.337572 -3.159038)'))) / (select extract(epoch from '2026-07-13 13:26:39'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.337682 -3.159062)', '2026-07-13 13:26:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337572 -3.159038)'), GeomFromEWKT('SRID=4674;POINT (-39.337682 -3.159062)'))) / (select extract(epoch from '2026-07-13 13:26:45'::timestamp) - extract(epoch from '2026-07-13 13:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337572 -3.159038)'), GeomFromEWKT('SRID=4674;POINT (-39.337682 -3.159062)'))) / (select extract(epoch from '2026-07-13 13:26:45'::timestamp) - extract(epoch from '2026-07-13 13:26:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.337798 -3.159097)', '2026-07-13 13:26:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337682 -3.159062)'), GeomFromEWKT('SRID=4674;POINT (-39.337798 -3.159097)'))) / (select extract(epoch from '2026-07-13 13:26:51'::timestamp) - extract(epoch from '2026-07-13 13:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337682 -3.159062)'), GeomFromEWKT('SRID=4674;POINT (-39.337798 -3.159097)'))) / (select extract(epoch from '2026-07-13 13:26:51'::timestamp) - extract(epoch from '2026-07-13 13:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.337916 -3.159138)', '2026-07-13 13:26:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337798 -3.159097)'), GeomFromEWKT('SRID=4674;POINT (-39.337916 -3.159138)'))) / (select extract(epoch from '2026-07-13 13:26:58'::timestamp) - extract(epoch from '2026-07-13 13:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337798 -3.159097)'), GeomFromEWKT('SRID=4674;POINT (-39.337916 -3.159138)'))) / (select extract(epoch from '2026-07-13 13:26:58'::timestamp) - extract(epoch from '2026-07-13 13:26:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.338015 -3.15917)', '2026-07-13 13:27:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337916 -3.159138)'), GeomFromEWKT('SRID=4674;POINT (-39.338015 -3.15917)'))) / (select extract(epoch from '2026-07-13 13:27:04'::timestamp) - extract(epoch from '2026-07-13 13:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.337916 -3.159138)'), GeomFromEWKT('SRID=4674;POINT (-39.338015 -3.15917)'))) / (select extract(epoch from '2026-07-13 13:27:04'::timestamp) - extract(epoch from '2026-07-13 13:26:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.338152 -3.159216)', '2026-07-13 13:27:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.338015 -3.15917)'), GeomFromEWKT('SRID=4674;POINT (-39.338152 -3.159216)'))) / (select extract(epoch from '2026-07-13 13:27:11'::timestamp) - extract(epoch from '2026-07-13 13:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.338015 -3.15917)'), GeomFromEWKT('SRID=4674;POINT (-39.338152 -3.159216)'))) / (select extract(epoch from '2026-07-13 13:27:11'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.338244 -3.159243)', '2026-07-13 13:27:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.338152 -3.159216)'), GeomFromEWKT('SRID=4674;POINT (-39.338244 -3.159243)'))) / (select extract(epoch from '2026-07-13 13:27:16'::timestamp) - extract(epoch from '2026-07-13 13:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.338152 -3.159216)'), GeomFromEWKT('SRID=4674;POINT (-39.338244 -3.159243)'))) / (select extract(epoch from '2026-07-13 13:27:16'::timestamp) - extract(epoch from '2026-07-13 13:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.338352 -3.159265)', '2026-07-13 13:27:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.338244 -3.159243)'), GeomFromEWKT('SRID=4674;POINT (-39.338352 -3.159265)'))) / (select extract(epoch from '2026-07-13 13:27:22'::timestamp) - extract(epoch from '2026-07-13 13:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.338244 -3.159243)'), GeomFromEWKT('SRID=4674;POINT (-39.338352 -3.159265)'))) / (select extract(epoch from '2026-07-13 13:27:22'::timestamp) - extract(epoch from '2026-07-13 13:27: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'), 47511, 'SRID=4674;POINT (-39.338466 -3.159292)', '2026-07-13 13:27:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.338352 -3.159265)'), GeomFromEWKT('SRID=4674;POINT (-39.338466 -3.159292)'))) / (select extract(epoch from '2026-07-13 13:27:28'::timestamp) - extract(epoch from '2026-07-13 13:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.338352 -3.159265)'), GeomFromEWKT('SRID=4674;POINT (-39.338466 -3.159292)'))) / (select extract(epoch from '2026-07-13 13:27:28'::timestamp) - extract(epoch from '2026-07-13 13:27: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'), 47511, 'SRID=4674;POINT (-39.33859 -3.159326)', '2026-07-13 13:27:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.338466 -3.159292)'), GeomFromEWKT('SRID=4674;POINT (-39.33859 -3.159326)'))) / (select extract(epoch from '2026-07-13 13:27:34'::timestamp) - extract(epoch from '2026-07-13 13:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.338466 -3.159292)'), GeomFromEWKT('SRID=4674;POINT (-39.33859 -3.159326)'))) / (select extract(epoch from '2026-07-13 13:27:34'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.33873 -3.159363)', '2026-07-13 13:27:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.33859 -3.159326)'), GeomFromEWKT('SRID=4674;POINT (-39.33873 -3.159363)'))) / (select extract(epoch from '2026-07-13 13:27:41'::timestamp) - extract(epoch from '2026-07-13 13:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.33859 -3.159326)'), GeomFromEWKT('SRID=4674;POINT (-39.33873 -3.159363)'))) / (select extract(epoch from '2026-07-13 13:27:41'::timestamp) - extract(epoch from '2026-07-13 13:27: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'), 47511, 'SRID=4674;POINT (-39.338862 -3.159387)', '2026-07-13 13:27:48', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.33873 -3.159363)'), GeomFromEWKT('SRID=4674;POINT (-39.338862 -3.159387)'))) / (select extract(epoch from '2026-07-13 13:27:48'::timestamp) - extract(epoch from '2026-07-13 13:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.33873 -3.159363)'), GeomFromEWKT('SRID=4674;POINT (-39.338862 -3.159387)'))) / (select extract(epoch from '2026-07-13 13:27:48'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.338983 -3.159408)', '2026-07-13 13:27:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.338862 -3.159387)'), GeomFromEWKT('SRID=4674;POINT (-39.338983 -3.159408)'))) / (select extract(epoch from '2026-07-13 13:27:55'::timestamp) - extract(epoch from '2026-07-13 13:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.338862 -3.159387)'), GeomFromEWKT('SRID=4674;POINT (-39.338983 -3.159408)'))) / (select extract(epoch from '2026-07-13 13:27:55'::timestamp) - extract(epoch from '2026-07-13 13:27: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'), 47511, 'SRID=4674;POINT (-39.339094 -3.159441)', '2026-07-13 13:28:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.338983 -3.159408)'), GeomFromEWKT('SRID=4674;POINT (-39.339094 -3.159441)'))) / (select extract(epoch from '2026-07-13 13:28:01'::timestamp) - extract(epoch from '2026-07-13 13:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.338983 -3.159408)'), GeomFromEWKT('SRID=4674;POINT (-39.339094 -3.159441)'))) / (select extract(epoch from '2026-07-13 13:28:01'::timestamp) - extract(epoch from '2026-07-13 13:27:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.339193 -3.159476)', '2026-07-13 13:28:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.339094 -3.159441)'), GeomFromEWKT('SRID=4674;POINT (-39.339193 -3.159476)'))) / (select extract(epoch from '2026-07-13 13:28:07'::timestamp) - extract(epoch from '2026-07-13 13:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.339094 -3.159441)'), GeomFromEWKT('SRID=4674;POINT (-39.339193 -3.159476)'))) / (select extract(epoch from '2026-07-13 13:28:07'::timestamp) - extract(epoch from '2026-07-13 13:28: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'), 47511, 'SRID=4674;POINT (-39.339312 -3.159505)', '2026-07-13 13:28:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.339193 -3.159476)'), GeomFromEWKT('SRID=4674;POINT (-39.339312 -3.159505)'))) / (select extract(epoch from '2026-07-13 13:28:13'::timestamp) - extract(epoch from '2026-07-13 13:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.339193 -3.159476)'), GeomFromEWKT('SRID=4674;POINT (-39.339312 -3.159505)'))) / (select extract(epoch from '2026-07-13 13:28:13'::timestamp) - extract(epoch from '2026-07-13 13:28: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'), 47511, 'SRID=4674;POINT (-39.339424 -3.159538)', '2026-07-13 13:28:19', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.339312 -3.159505)'), GeomFromEWKT('SRID=4674;POINT (-39.339424 -3.159538)'))) / (select extract(epoch from '2026-07-13 13:28:19'::timestamp) - extract(epoch from '2026-07-13 13:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.339312 -3.159505)'), GeomFromEWKT('SRID=4674;POINT (-39.339424 -3.159538)'))) / (select extract(epoch from '2026-07-13 13:28:19'::timestamp) - extract(epoch from '2026-07-13 13:28:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.339573 -3.159574)', '2026-07-13 13:28:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.339424 -3.159538)'), GeomFromEWKT('SRID=4674;POINT (-39.339573 -3.159574)'))) / (select extract(epoch from '2026-07-13 13:28:27'::timestamp) - extract(epoch from '2026-07-13 13:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.339424 -3.159538)'), GeomFromEWKT('SRID=4674;POINT (-39.339573 -3.159574)'))) / (select extract(epoch from '2026-07-13 13:28:27'::timestamp) - extract(epoch from '2026-07-13 13:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.339694 -3.159598)', '2026-07-13 13:28:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.339573 -3.159574)'), GeomFromEWKT('SRID=4674;POINT (-39.339694 -3.159598)'))) / (select extract(epoch from '2026-07-13 13:28:33'::timestamp) - extract(epoch from '2026-07-13 13:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.339573 -3.159574)'), GeomFromEWKT('SRID=4674;POINT (-39.339694 -3.159598)'))) / (select extract(epoch from '2026-07-13 13:28:33'::timestamp) - extract(epoch from '2026-07-13 13:28: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'), 47511, 'SRID=4674;POINT (-39.339826 -3.159623)', '2026-07-13 13:28:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.339694 -3.159598)'), GeomFromEWKT('SRID=4674;POINT (-39.339826 -3.159623)'))) / (select extract(epoch from '2026-07-13 13:28:40'::timestamp) - extract(epoch from '2026-07-13 13:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.339694 -3.159598)'), GeomFromEWKT('SRID=4674;POINT (-39.339826 -3.159623)'))) / (select extract(epoch from '2026-07-13 13:28:40'::timestamp) - extract(epoch from '2026-07-13 13:28: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'), 47511, 'SRID=4674;POINT (-39.339953 -3.159664)', '2026-07-13 13:28:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.339826 -3.159623)'), GeomFromEWKT('SRID=4674;POINT (-39.339953 -3.159664)'))) / (select extract(epoch from '2026-07-13 13:28:47'::timestamp) - extract(epoch from '2026-07-13 13:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.339826 -3.159623)'), GeomFromEWKT('SRID=4674;POINT (-39.339953 -3.159664)'))) / (select extract(epoch from '2026-07-13 13:28:47'::timestamp) - extract(epoch from '2026-07-13 13:28:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.340086 -3.159701)', '2026-07-13 13:28:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.339953 -3.159664)'), GeomFromEWKT('SRID=4674;POINT (-39.340086 -3.159701)'))) / (select extract(epoch from '2026-07-13 13:28:54'::timestamp) - extract(epoch from '2026-07-13 13:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.339953 -3.159664)'), GeomFromEWKT('SRID=4674;POINT (-39.340086 -3.159701)'))) / (select extract(epoch from '2026-07-13 13:28:54'::timestamp) - extract(epoch from '2026-07-13 13:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.340232 -3.159743)', '2026-07-13 13:29:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.340086 -3.159701)'), GeomFromEWKT('SRID=4674;POINT (-39.340232 -3.159743)'))) / (select extract(epoch from '2026-07-13 13:29:02'::timestamp) - extract(epoch from '2026-07-13 13:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.340086 -3.159701)'), GeomFromEWKT('SRID=4674;POINT (-39.340232 -3.159743)'))) / (select extract(epoch from '2026-07-13 13:29:02'::timestamp) - extract(epoch from '2026-07-13 13:28:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.340367 -3.159777)', '2026-07-13 13:29:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.340232 -3.159743)'), GeomFromEWKT('SRID=4674;POINT (-39.340367 -3.159777)'))) / (select extract(epoch from '2026-07-13 13:29:09'::timestamp) - extract(epoch from '2026-07-13 13:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.340232 -3.159743)'), GeomFromEWKT('SRID=4674;POINT (-39.340367 -3.159777)'))) / (select extract(epoch from '2026-07-13 13:29:09'::timestamp) - extract(epoch from '2026-07-13 13:29: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'), 47511, 'SRID=4674;POINT (-39.340467 -3.159797)', '2026-07-13 13:29:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.340367 -3.159777)'), GeomFromEWKT('SRID=4674;POINT (-39.340467 -3.159797)'))) / (select extract(epoch from '2026-07-13 13:29:14'::timestamp) - extract(epoch from '2026-07-13 13:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.340367 -3.159777)'), GeomFromEWKT('SRID=4674;POINT (-39.340467 -3.159797)'))) / (select extract(epoch from '2026-07-13 13:29:14'::timestamp) - extract(epoch from '2026-07-13 13:29: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'), 47511, 'SRID=4674;POINT (-39.340563 -3.159815)', '2026-07-13 13:29:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.340467 -3.159797)'), GeomFromEWKT('SRID=4674;POINT (-39.340563 -3.159815)'))) / (select extract(epoch from '2026-07-13 13:29:19'::timestamp) - extract(epoch from '2026-07-13 13:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.340467 -3.159797)'), GeomFromEWKT('SRID=4674;POINT (-39.340563 -3.159815)'))) / (select extract(epoch from '2026-07-13 13:29:19'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.340665 -3.159835)', '2026-07-13 13:29:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.340563 -3.159815)'), GeomFromEWKT('SRID=4674;POINT (-39.340665 -3.159835)'))) / (select extract(epoch from '2026-07-13 13:29:24'::timestamp) - extract(epoch from '2026-07-13 13:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.340563 -3.159815)'), GeomFromEWKT('SRID=4674;POINT (-39.340665 -3.159835)'))) / (select extract(epoch from '2026-07-13 13:29:24'::timestamp) - extract(epoch from '2026-07-13 13:29:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.340768 -3.159856)', '2026-07-13 13:29:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.340665 -3.159835)'), GeomFromEWKT('SRID=4674;POINT (-39.340768 -3.159856)'))) / (select extract(epoch from '2026-07-13 13:29:30'::timestamp) - extract(epoch from '2026-07-13 13:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.340665 -3.159835)'), GeomFromEWKT('SRID=4674;POINT (-39.340768 -3.159856)'))) / (select extract(epoch from '2026-07-13 13:29:30'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.340886 -3.159889)', '2026-07-13 13:29:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.340768 -3.159856)'), GeomFromEWKT('SRID=4674;POINT (-39.340886 -3.159889)'))) / (select extract(epoch from '2026-07-13 13:29:37'::timestamp) - extract(epoch from '2026-07-13 13:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.340768 -3.159856)'), GeomFromEWKT('SRID=4674;POINT (-39.340886 -3.159889)'))) / (select extract(epoch from '2026-07-13 13:29:37'::timestamp) - extract(epoch from '2026-07-13 13:29: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'), 47511, 'SRID=4674;POINT (-39.34103 -3.159923)', '2026-07-13 13:29:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.340886 -3.159889)'), GeomFromEWKT('SRID=4674;POINT (-39.34103 -3.159923)'))) / (select extract(epoch from '2026-07-13 13:29:45'::timestamp) - extract(epoch from '2026-07-13 13:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.340886 -3.159889)'), GeomFromEWKT('SRID=4674;POINT (-39.34103 -3.159923)'))) / (select extract(epoch from '2026-07-13 13:29:45'::timestamp) - extract(epoch from '2026-07-13 13:29: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'), 47511, 'SRID=4674;POINT (-39.34112 -3.159951)', '2026-07-13 13:29:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34103 -3.159923)'), GeomFromEWKT('SRID=4674;POINT (-39.34112 -3.159951)'))) / (select extract(epoch from '2026-07-13 13:29:50'::timestamp) - extract(epoch from '2026-07-13 13:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34103 -3.159923)'), GeomFromEWKT('SRID=4674;POINT (-39.34112 -3.159951)'))) / (select extract(epoch from '2026-07-13 13:29:50'::timestamp) - extract(epoch from '2026-07-13 13:29:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.341213 -3.159985)', '2026-07-13 13:29:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34112 -3.159951)'), GeomFromEWKT('SRID=4674;POINT (-39.341213 -3.159985)'))) / (select extract(epoch from '2026-07-13 13:29:55'::timestamp) - extract(epoch from '2026-07-13 13:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34112 -3.159951)'), GeomFromEWKT('SRID=4674;POINT (-39.341213 -3.159985)'))) / (select extract(epoch from '2026-07-13 13:29:55'::timestamp) - extract(epoch from '2026-07-13 13:29: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'), 47511, 'SRID=4674;POINT (-39.341317 -3.160015)', '2026-07-13 13:30:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341213 -3.159985)'), GeomFromEWKT('SRID=4674;POINT (-39.341317 -3.160015)'))) / (select extract(epoch from '2026-07-13 13:30:01'::timestamp) - extract(epoch from '2026-07-13 13:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341213 -3.159985)'), GeomFromEWKT('SRID=4674;POINT (-39.341317 -3.160015)'))) / (select extract(epoch from '2026-07-13 13:30:01'::timestamp) - extract(epoch from '2026-07-13 13:29: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'), 47511, 'SRID=4674;POINT (-39.341437 -3.160044)', '2026-07-13 13:30:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341317 -3.160015)'), GeomFromEWKT('SRID=4674;POINT (-39.341437 -3.160044)'))) / (select extract(epoch from '2026-07-13 13:30:08'::timestamp) - extract(epoch from '2026-07-13 13:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341317 -3.160015)'), GeomFromEWKT('SRID=4674;POINT (-39.341437 -3.160044)'))) / (select extract(epoch from '2026-07-13 13:30:08'::timestamp) - extract(epoch from '2026-07-13 13:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.341553 -3.16008)', '2026-07-13 13:30:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341437 -3.160044)'), GeomFromEWKT('SRID=4674;POINT (-39.341553 -3.16008)'))) / (select extract(epoch from '2026-07-13 13:30:14'::timestamp) - extract(epoch from '2026-07-13 13:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341437 -3.160044)'), GeomFromEWKT('SRID=4674;POINT (-39.341553 -3.16008)'))) / (select extract(epoch from '2026-07-13 13:30:14'::timestamp) - extract(epoch from '2026-07-13 13:30:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.341666 -3.160107)', '2026-07-13 13:30:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341553 -3.16008)'), GeomFromEWKT('SRID=4674;POINT (-39.341666 -3.160107)'))) / (select extract(epoch from '2026-07-13 13:30:20'::timestamp) - extract(epoch from '2026-07-13 13:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341553 -3.16008)'), GeomFromEWKT('SRID=4674;POINT (-39.341666 -3.160107)'))) / (select extract(epoch from '2026-07-13 13:30:20'::timestamp) - extract(epoch from '2026-07-13 13:30: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'), 47511, 'SRID=4674;POINT (-39.341776 -3.160154)', '2026-07-13 13:30:25', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341666 -3.160107)'), GeomFromEWKT('SRID=4674;POINT (-39.341776 -3.160154)'))) / (select extract(epoch from '2026-07-13 13:30:25'::timestamp) - extract(epoch from '2026-07-13 13:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341666 -3.160107)'), GeomFromEWKT('SRID=4674;POINT (-39.341776 -3.160154)'))) / (select extract(epoch from '2026-07-13 13:30:25'::timestamp) - extract(epoch from '2026-07-13 13:30: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'), 47511, 'SRID=4674;POINT (-39.341879 -3.160185)', '2026-07-13 13:30:31', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341776 -3.160154)'), GeomFromEWKT('SRID=4674;POINT (-39.341879 -3.160185)'))) / (select extract(epoch from '2026-07-13 13:30:31'::timestamp) - extract(epoch from '2026-07-13 13:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341776 -3.160154)'), GeomFromEWKT('SRID=4674;POINT (-39.341879 -3.160185)'))) / (select extract(epoch from '2026-07-13 13:30:31'::timestamp) - extract(epoch from '2026-07-13 13:30:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.342005 -3.160209)', '2026-07-13 13:30:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341879 -3.160185)'), GeomFromEWKT('SRID=4674;POINT (-39.342005 -3.160209)'))) / (select extract(epoch from '2026-07-13 13:30:38'::timestamp) - extract(epoch from '2026-07-13 13:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341879 -3.160185)'), GeomFromEWKT('SRID=4674;POINT (-39.342005 -3.160209)'))) / (select extract(epoch from '2026-07-13 13:30:38'::timestamp) - extract(epoch from '2026-07-13 13:30: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'), 47511, 'SRID=4674;POINT (-39.342146 -3.160231)', '2026-07-13 13:30:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342005 -3.160209)'), GeomFromEWKT('SRID=4674;POINT (-39.342146 -3.160231)'))) / (select extract(epoch from '2026-07-13 13:30:45'::timestamp) - extract(epoch from '2026-07-13 13:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342005 -3.160209)'), GeomFromEWKT('SRID=4674;POINT (-39.342146 -3.160231)'))) / (select extract(epoch from '2026-07-13 13:30:45'::timestamp) - extract(epoch from '2026-07-13 13:30: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'), 47511, 'SRID=4674;POINT (-39.342265 -3.160261)', '2026-07-13 13:30:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342146 -3.160231)'), GeomFromEWKT('SRID=4674;POINT (-39.342265 -3.160261)'))) / (select extract(epoch from '2026-07-13 13:30:51'::timestamp) - extract(epoch from '2026-07-13 13:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342146 -3.160231)'), GeomFromEWKT('SRID=4674;POINT (-39.342265 -3.160261)'))) / (select extract(epoch from '2026-07-13 13:30:51'::timestamp) - extract(epoch from '2026-07-13 13:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.342382 -3.160283)', '2026-07-13 13:30:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342265 -3.160261)'), GeomFromEWKT('SRID=4674;POINT (-39.342382 -3.160283)'))) / (select extract(epoch from '2026-07-13 13:30:58'::timestamp) - extract(epoch from '2026-07-13 13:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342265 -3.160261)'), GeomFromEWKT('SRID=4674;POINT (-39.342382 -3.160283)'))) / (select extract(epoch from '2026-07-13 13:30:58'::timestamp) - extract(epoch from '2026-07-13 13:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.342478 -3.16031)', '2026-07-13 13:31:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342382 -3.160283)'), GeomFromEWKT('SRID=4674;POINT (-39.342478 -3.16031)'))) / (select extract(epoch from '2026-07-13 13:31:03'::timestamp) - extract(epoch from '2026-07-13 13:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342382 -3.160283)'), GeomFromEWKT('SRID=4674;POINT (-39.342478 -3.16031)'))) / (select extract(epoch from '2026-07-13 13:31:03'::timestamp) - extract(epoch from '2026-07-13 13:30:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.342623 -3.160358)', '2026-07-13 13:31:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342478 -3.16031)'), GeomFromEWKT('SRID=4674;POINT (-39.342623 -3.160358)'))) / (select extract(epoch from '2026-07-13 13:31:10'::timestamp) - extract(epoch from '2026-07-13 13:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342478 -3.16031)'), GeomFromEWKT('SRID=4674;POINT (-39.342623 -3.160358)'))) / (select extract(epoch from '2026-07-13 13:31:10'::timestamp) - extract(epoch from '2026-07-13 13:31: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'), 47511, 'SRID=4674;POINT (-39.342736 -3.160385)', '2026-07-13 13:31:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342623 -3.160358)'), GeomFromEWKT('SRID=4674;POINT (-39.342736 -3.160385)'))) / (select extract(epoch from '2026-07-13 13:31:16'::timestamp) - extract(epoch from '2026-07-13 13:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342623 -3.160358)'), GeomFromEWKT('SRID=4674;POINT (-39.342736 -3.160385)'))) / (select extract(epoch from '2026-07-13 13:31:16'::timestamp) - extract(epoch from '2026-07-13 13:31: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'), 47511, 'SRID=4674;POINT (-39.342845 -3.160419)', '2026-07-13 13:31:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342736 -3.160385)'), GeomFromEWKT('SRID=4674;POINT (-39.342845 -3.160419)'))) / (select extract(epoch from '2026-07-13 13:31:22'::timestamp) - extract(epoch from '2026-07-13 13:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342736 -3.160385)'), GeomFromEWKT('SRID=4674;POINT (-39.342845 -3.160419)'))) / (select extract(epoch from '2026-07-13 13:31:22'::timestamp) - extract(epoch from '2026-07-13 13:31:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.342993 -3.160463)', '2026-07-13 13:31:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342845 -3.160419)'), GeomFromEWKT('SRID=4674;POINT (-39.342993 -3.160463)'))) / (select extract(epoch from '2026-07-13 13:31:30'::timestamp) - extract(epoch from '2026-07-13 13:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342845 -3.160419)'), GeomFromEWKT('SRID=4674;POINT (-39.342993 -3.160463)'))) / (select extract(epoch from '2026-07-13 13:31:30'::timestamp) - extract(epoch from '2026-07-13 13:31: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'), 47511, 'SRID=4674;POINT (-39.343122 -3.160498)', '2026-07-13 13:31:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342993 -3.160463)'), GeomFromEWKT('SRID=4674;POINT (-39.343122 -3.160498)'))) / (select extract(epoch from '2026-07-13 13:31:37'::timestamp) - extract(epoch from '2026-07-13 13:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342993 -3.160463)'), GeomFromEWKT('SRID=4674;POINT (-39.343122 -3.160498)'))) / (select extract(epoch from '2026-07-13 13:31:37'::timestamp) - extract(epoch from '2026-07-13 13:31: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'), 47511, 'SRID=4674;POINT (-39.343234 -3.160516)', '2026-07-13 13:31:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343122 -3.160498)'), GeomFromEWKT('SRID=4674;POINT (-39.343234 -3.160516)'))) / (select extract(epoch from '2026-07-13 13:31:43'::timestamp) - extract(epoch from '2026-07-13 13:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343122 -3.160498)'), GeomFromEWKT('SRID=4674;POINT (-39.343234 -3.160516)'))) / (select extract(epoch from '2026-07-13 13:31:43'::timestamp) - extract(epoch from '2026-07-13 13:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.343339 -3.160531)', '2026-07-13 13:31:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343234 -3.160516)'), GeomFromEWKT('SRID=4674;POINT (-39.343339 -3.160531)'))) / (select extract(epoch from '2026-07-13 13:31:48'::timestamp) - extract(epoch from '2026-07-13 13:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343234 -3.160516)'), GeomFromEWKT('SRID=4674;POINT (-39.343339 -3.160531)'))) / (select extract(epoch from '2026-07-13 13:31:48'::timestamp) - extract(epoch from '2026-07-13 13:31: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'), 47511, 'SRID=4674;POINT (-39.343446 -3.160549)', '2026-07-13 13:31:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343339 -3.160531)'), GeomFromEWKT('SRID=4674;POINT (-39.343446 -3.160549)'))) / (select extract(epoch from '2026-07-13 13:31:54'::timestamp) - extract(epoch from '2026-07-13 13:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343339 -3.160531)'), GeomFromEWKT('SRID=4674;POINT (-39.343446 -3.160549)'))) / (select extract(epoch from '2026-07-13 13:31:54'::timestamp) - extract(epoch from '2026-07-13 13:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.343585 -3.160578)', '2026-07-13 13:32:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343446 -3.160549)'), GeomFromEWKT('SRID=4674;POINT (-39.343585 -3.160578)'))) / (select extract(epoch from '2026-07-13 13:32:02'::timestamp) - extract(epoch from '2026-07-13 13:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343446 -3.160549)'), GeomFromEWKT('SRID=4674;POINT (-39.343585 -3.160578)'))) / (select extract(epoch from '2026-07-13 13:32:02'::timestamp) - extract(epoch from '2026-07-13 13:31: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'), 47511, 'SRID=4674;POINT (-39.343752 -3.160616)', '2026-07-13 13:32:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343585 -3.160578)'), GeomFromEWKT('SRID=4674;POINT (-39.343752 -3.160616)'))) / (select extract(epoch from '2026-07-13 13:32:11'::timestamp) - extract(epoch from '2026-07-13 13:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343585 -3.160578)'), GeomFromEWKT('SRID=4674;POINT (-39.343752 -3.160616)'))) / (select extract(epoch from '2026-07-13 13:32:11'::timestamp) - extract(epoch from '2026-07-13 13:32: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'), 47511, 'SRID=4674;POINT (-39.343871 -3.160644)', '2026-07-13 13:32:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343752 -3.160616)'), GeomFromEWKT('SRID=4674;POINT (-39.343871 -3.160644)'))) / (select extract(epoch from '2026-07-13 13:32:17'::timestamp) - extract(epoch from '2026-07-13 13:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343752 -3.160616)'), GeomFromEWKT('SRID=4674;POINT (-39.343871 -3.160644)'))) / (select extract(epoch from '2026-07-13 13:32:17'::timestamp) - extract(epoch from '2026-07-13 13:32:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.344005 -3.160671)', '2026-07-13 13:32:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343871 -3.160644)'), GeomFromEWKT('SRID=4674;POINT (-39.344005 -3.160671)'))) / (select extract(epoch from '2026-07-13 13:32:24'::timestamp) - extract(epoch from '2026-07-13 13:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343871 -3.160644)'), GeomFromEWKT('SRID=4674;POINT (-39.344005 -3.160671)'))) / (select extract(epoch from '2026-07-13 13:32:24'::timestamp) - extract(epoch from '2026-07-13 13:32: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'), 47511, 'SRID=4674;POINT (-39.344127 -3.160707)', '2026-07-13 13:32:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344005 -3.160671)'), GeomFromEWKT('SRID=4674;POINT (-39.344127 -3.160707)'))) / (select extract(epoch from '2026-07-13 13:32:31'::timestamp) - extract(epoch from '2026-07-13 13:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344005 -3.160671)'), GeomFromEWKT('SRID=4674;POINT (-39.344127 -3.160707)'))) / (select extract(epoch from '2026-07-13 13:32:31'::timestamp) - extract(epoch from '2026-07-13 13:32: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'), 47511, 'SRID=4674;POINT (-39.344262 -3.160744)', '2026-07-13 13:32:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344127 -3.160707)'), GeomFromEWKT('SRID=4674;POINT (-39.344262 -3.160744)'))) / (select extract(epoch from '2026-07-13 13:32:38'::timestamp) - extract(epoch from '2026-07-13 13:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344127 -3.160707)'), GeomFromEWKT('SRID=4674;POINT (-39.344262 -3.160744)'))) / (select extract(epoch from '2026-07-13 13:32:38'::timestamp) - extract(epoch from '2026-07-13 13:32: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'), 47511, 'SRID=4674;POINT (-39.344373 -3.160768)', '2026-07-13 13:32:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344262 -3.160744)'), GeomFromEWKT('SRID=4674;POINT (-39.344373 -3.160768)'))) / (select extract(epoch from '2026-07-13 13:32:44'::timestamp) - extract(epoch from '2026-07-13 13:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344262 -3.160744)'), GeomFromEWKT('SRID=4674;POINT (-39.344373 -3.160768)'))) / (select extract(epoch from '2026-07-13 13:32:44'::timestamp) - extract(epoch from '2026-07-13 13:32:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.344535 -3.160797)', '2026-07-13 13:32:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344373 -3.160768)'), GeomFromEWKT('SRID=4674;POINT (-39.344535 -3.160797)'))) / (select extract(epoch from '2026-07-13 13:32:52'::timestamp) - extract(epoch from '2026-07-13 13:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344373 -3.160768)'), GeomFromEWKT('SRID=4674;POINT (-39.344535 -3.160797)'))) / (select extract(epoch from '2026-07-13 13:32:52'::timestamp) - extract(epoch from '2026-07-13 13:32:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.344685 -3.160829)', '2026-07-13 13:32:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344535 -3.160797)'), GeomFromEWKT('SRID=4674;POINT (-39.344685 -3.160829)'))) / (select extract(epoch from '2026-07-13 13:32:59'::timestamp) - extract(epoch from '2026-07-13 13:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344535 -3.160797)'), GeomFromEWKT('SRID=4674;POINT (-39.344685 -3.160829)'))) / (select extract(epoch from '2026-07-13 13:32:59'::timestamp) - extract(epoch from '2026-07-13 13:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.34483 -3.160859)', '2026-07-13 13:33:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344685 -3.160829)'), GeomFromEWKT('SRID=4674;POINT (-39.34483 -3.160859)'))) / (select extract(epoch from '2026-07-13 13:33:07'::timestamp) - extract(epoch from '2026-07-13 13:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344685 -3.160829)'), GeomFromEWKT('SRID=4674;POINT (-39.34483 -3.160859)'))) / (select extract(epoch from '2026-07-13 13:33:07'::timestamp) - extract(epoch from '2026-07-13 13:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.34494 -3.160886)', '2026-07-13 13:33:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34483 -3.160859)'), GeomFromEWKT('SRID=4674;POINT (-39.34494 -3.160886)'))) / (select extract(epoch from '2026-07-13 13:33:13'::timestamp) - extract(epoch from '2026-07-13 13:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34483 -3.160859)'), GeomFromEWKT('SRID=4674;POINT (-39.34494 -3.160886)'))) / (select extract(epoch from '2026-07-13 13:33:13'::timestamp) - extract(epoch from '2026-07-13 13:33:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.345016 -3.160906)', '2026-07-13 13:33:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34494 -3.160886)'), GeomFromEWKT('SRID=4674;POINT (-39.345016 -3.160906)'))) / (select extract(epoch from '2026-07-13 13:33:18'::timestamp) - extract(epoch from '2026-07-13 13:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34494 -3.160886)'), GeomFromEWKT('SRID=4674;POINT (-39.345016 -3.160906)'))) / (select extract(epoch from '2026-07-13 13:33:18'::timestamp) - extract(epoch from '2026-07-13 13:33: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'), 47511, 'SRID=4674;POINT (-39.345105 -3.160931)', '2026-07-13 13:33:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345016 -3.160906)'), GeomFromEWKT('SRID=4674;POINT (-39.345105 -3.160931)'))) / (select extract(epoch from '2026-07-13 13:33:23'::timestamp) - extract(epoch from '2026-07-13 13:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345016 -3.160906)'), GeomFromEWKT('SRID=4674;POINT (-39.345105 -3.160931)'))) / (select extract(epoch from '2026-07-13 13:33:23'::timestamp) - extract(epoch from '2026-07-13 13:33: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'), 47511, 'SRID=4674;POINT (-39.345222 -3.160962)', '2026-07-13 13:33:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345105 -3.160931)'), GeomFromEWKT('SRID=4674;POINT (-39.345222 -3.160962)'))) / (select extract(epoch from '2026-07-13 13:33:30'::timestamp) - extract(epoch from '2026-07-13 13:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345105 -3.160931)'), GeomFromEWKT('SRID=4674;POINT (-39.345222 -3.160962)'))) / (select extract(epoch from '2026-07-13 13:33:30'::timestamp) - extract(epoch from '2026-07-13 13:33: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'), 47511, 'SRID=4674;POINT (-39.345341 -3.160971)', '2026-07-13 13:33:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345222 -3.160962)'), GeomFromEWKT('SRID=4674;POINT (-39.345341 -3.160971)'))) / (select extract(epoch from '2026-07-13 13:33:36'::timestamp) - extract(epoch from '2026-07-13 13:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345222 -3.160962)'), GeomFromEWKT('SRID=4674;POINT (-39.345341 -3.160971)'))) / (select extract(epoch from '2026-07-13 13:33:36'::timestamp) - extract(epoch from '2026-07-13 13:33:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.345476 -3.160993)', '2026-07-13 13:33:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345341 -3.160971)'), GeomFromEWKT('SRID=4674;POINT (-39.345476 -3.160993)'))) / (select extract(epoch from '2026-07-13 13:33:43'::timestamp) - extract(epoch from '2026-07-13 13:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345341 -3.160971)'), GeomFromEWKT('SRID=4674;POINT (-39.345476 -3.160993)'))) / (select extract(epoch from '2026-07-13 13:33:43'::timestamp) - extract(epoch from '2026-07-13 13:33:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.345593 -3.161016)', '2026-07-13 13:33:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345476 -3.160993)'), GeomFromEWKT('SRID=4674;POINT (-39.345593 -3.161016)'))) / (select extract(epoch from '2026-07-13 13:33:49'::timestamp) - extract(epoch from '2026-07-13 13:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345476 -3.160993)'), GeomFromEWKT('SRID=4674;POINT (-39.345593 -3.161016)'))) / (select extract(epoch from '2026-07-13 13:33:49'::timestamp) - extract(epoch from '2026-07-13 13:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.345689 -3.16104)', '2026-07-13 13:33:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345593 -3.161016)'), GeomFromEWKT('SRID=4674;POINT (-39.345689 -3.16104)'))) / (select extract(epoch from '2026-07-13 13:33:54'::timestamp) - extract(epoch from '2026-07-13 13:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345593 -3.161016)'), GeomFromEWKT('SRID=4674;POINT (-39.345689 -3.16104)'))) / (select extract(epoch from '2026-07-13 13:33:54'::timestamp) - extract(epoch from '2026-07-13 13:33:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.345792 -3.161064)', '2026-07-13 13:34:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345689 -3.16104)'), GeomFromEWKT('SRID=4674;POINT (-39.345792 -3.161064)'))) / (select extract(epoch from '2026-07-13 13:34:00'::timestamp) - extract(epoch from '2026-07-13 13:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345689 -3.16104)'), GeomFromEWKT('SRID=4674;POINT (-39.345792 -3.161064)'))) / (select extract(epoch from '2026-07-13 13:34:00'::timestamp) - extract(epoch from '2026-07-13 13:33: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'), 47511, 'SRID=4674;POINT (-39.345905 -3.161101)', '2026-07-13 13:34:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345792 -3.161064)'), GeomFromEWKT('SRID=4674;POINT (-39.345905 -3.161101)'))) / (select extract(epoch from '2026-07-13 13:34:07'::timestamp) - extract(epoch from '2026-07-13 13:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345792 -3.161064)'), GeomFromEWKT('SRID=4674;POINT (-39.345905 -3.161101)'))) / (select extract(epoch from '2026-07-13 13:34:07'::timestamp) - extract(epoch from '2026-07-13 13:34:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.346007 -3.161151)', '2026-07-13 13:34:13', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345905 -3.161101)'), GeomFromEWKT('SRID=4674;POINT (-39.346007 -3.161151)'))) / (select extract(epoch from '2026-07-13 13:34:13'::timestamp) - extract(epoch from '2026-07-13 13:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345905 -3.161101)'), GeomFromEWKT('SRID=4674;POINT (-39.346007 -3.161151)'))) / (select extract(epoch from '2026-07-13 13:34:13'::timestamp) - extract(epoch from '2026-07-13 13:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.346099 -3.161176)', '2026-07-13 13:34:18', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346007 -3.161151)'), GeomFromEWKT('SRID=4674;POINT (-39.346099 -3.161176)'))) / (select extract(epoch from '2026-07-13 13:34:18'::timestamp) - extract(epoch from '2026-07-13 13:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346007 -3.161151)'), GeomFromEWKT('SRID=4674;POINT (-39.346099 -3.161176)'))) / (select extract(epoch from '2026-07-13 13:34:18'::timestamp) - extract(epoch from '2026-07-13 13:34: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'), 47511, 'SRID=4674;POINT (-39.346204 -3.161212)', '2026-07-13 13:34:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346099 -3.161176)'), GeomFromEWKT('SRID=4674;POINT (-39.346204 -3.161212)'))) / (select extract(epoch from '2026-07-13 13:34:24'::timestamp) - extract(epoch from '2026-07-13 13:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346099 -3.161176)'), GeomFromEWKT('SRID=4674;POINT (-39.346204 -3.161212)'))) / (select extract(epoch from '2026-07-13 13:34:24'::timestamp) - extract(epoch from '2026-07-13 13:34: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'), 47511, 'SRID=4674;POINT (-39.346323 -3.16124)', '2026-07-13 13:34:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346204 -3.161212)'), GeomFromEWKT('SRID=4674;POINT (-39.346323 -3.16124)'))) / (select extract(epoch from '2026-07-13 13:34:30'::timestamp) - extract(epoch from '2026-07-13 13:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346204 -3.161212)'), GeomFromEWKT('SRID=4674;POINT (-39.346323 -3.16124)'))) / (select extract(epoch from '2026-07-13 13:34:30'::timestamp) - extract(epoch from '2026-07-13 13:34:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.346443 -3.161267)', '2026-07-13 13:34:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346323 -3.16124)'), GeomFromEWKT('SRID=4674;POINT (-39.346443 -3.161267)'))) / (select extract(epoch from '2026-07-13 13:34:37'::timestamp) - extract(epoch from '2026-07-13 13:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346323 -3.16124)'), GeomFromEWKT('SRID=4674;POINT (-39.346443 -3.161267)'))) / (select extract(epoch from '2026-07-13 13:34:37'::timestamp) - extract(epoch from '2026-07-13 13:34:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.34656 -3.161296)', '2026-07-13 13:34:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346443 -3.161267)'), GeomFromEWKT('SRID=4674;POINT (-39.34656 -3.161296)'))) / (select extract(epoch from '2026-07-13 13:34:43'::timestamp) - extract(epoch from '2026-07-13 13:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346443 -3.161267)'), GeomFromEWKT('SRID=4674;POINT (-39.34656 -3.161296)'))) / (select extract(epoch from '2026-07-13 13:34:43'::timestamp) - extract(epoch from '2026-07-13 13:34: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'), 47511, 'SRID=4674;POINT (-39.346664 -3.161323)', '2026-07-13 13:34:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34656 -3.161296)'), GeomFromEWKT('SRID=4674;POINT (-39.346664 -3.161323)'))) / (select extract(epoch from '2026-07-13 13:34:49'::timestamp) - extract(epoch from '2026-07-13 13:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34656 -3.161296)'), GeomFromEWKT('SRID=4674;POINT (-39.346664 -3.161323)'))) / (select extract(epoch from '2026-07-13 13:34:49'::timestamp) - extract(epoch from '2026-07-13 13:34:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.346779 -3.161355)', '2026-07-13 13:34:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346664 -3.161323)'), GeomFromEWKT('SRID=4674;POINT (-39.346779 -3.161355)'))) / (select extract(epoch from '2026-07-13 13:34:55'::timestamp) - extract(epoch from '2026-07-13 13:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346664 -3.161323)'), GeomFromEWKT('SRID=4674;POINT (-39.346779 -3.161355)'))) / (select extract(epoch from '2026-07-13 13:34:55'::timestamp) - extract(epoch from '2026-07-13 13:34: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'), 47511, 'SRID=4674;POINT (-39.3469 -3.161387)', '2026-07-13 13:35:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346779 -3.161355)'), GeomFromEWKT('SRID=4674;POINT (-39.3469 -3.161387)'))) / (select extract(epoch from '2026-07-13 13:35:01'::timestamp) - extract(epoch from '2026-07-13 13:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346779 -3.161355)'), GeomFromEWKT('SRID=4674;POINT (-39.3469 -3.161387)'))) / (select extract(epoch from '2026-07-13 13:35:01'::timestamp) - extract(epoch from '2026-07-13 13:34: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'), 47511, 'SRID=4674;POINT (-39.347031 -3.161406)', '2026-07-13 13:35:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3469 -3.161387)'), GeomFromEWKT('SRID=4674;POINT (-39.347031 -3.161406)'))) / (select extract(epoch from '2026-07-13 13:35:08'::timestamp) - extract(epoch from '2026-07-13 13:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3469 -3.161387)'), GeomFromEWKT('SRID=4674;POINT (-39.347031 -3.161406)'))) / (select extract(epoch from '2026-07-13 13:35:08'::timestamp) - extract(epoch from '2026-07-13 13:35:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.347188 -3.161426)', '2026-07-13 13:35:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347031 -3.161406)'), GeomFromEWKT('SRID=4674;POINT (-39.347188 -3.161426)'))) / (select extract(epoch from '2026-07-13 13:35:16'::timestamp) - extract(epoch from '2026-07-13 13:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347031 -3.161406)'), GeomFromEWKT('SRID=4674;POINT (-39.347188 -3.161426)'))) / (select extract(epoch from '2026-07-13 13:35:16'::timestamp) - extract(epoch from '2026-07-13 13:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.347315 -3.161453)', '2026-07-13 13:35:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347188 -3.161426)'), GeomFromEWKT('SRID=4674;POINT (-39.347315 -3.161453)'))) / (select extract(epoch from '2026-07-13 13:35:23'::timestamp) - extract(epoch from '2026-07-13 13:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347188 -3.161426)'), GeomFromEWKT('SRID=4674;POINT (-39.347315 -3.161453)'))) / (select extract(epoch from '2026-07-13 13:35:23'::timestamp) - extract(epoch from '2026-07-13 13:35:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.347435 -3.161488)', '2026-07-13 13:35:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347315 -3.161453)'), GeomFromEWKT('SRID=4674;POINT (-39.347435 -3.161488)'))) / (select extract(epoch from '2026-07-13 13:35:30'::timestamp) - extract(epoch from '2026-07-13 13:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347315 -3.161453)'), GeomFromEWKT('SRID=4674;POINT (-39.347435 -3.161488)'))) / (select extract(epoch from '2026-07-13 13:35:30'::timestamp) - extract(epoch from '2026-07-13 13:35:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.347546 -3.161512)', '2026-07-13 13:35:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347435 -3.161488)'), GeomFromEWKT('SRID=4674;POINT (-39.347546 -3.161512)'))) / (select extract(epoch from '2026-07-13 13:35:36'::timestamp) - extract(epoch from '2026-07-13 13:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347435 -3.161488)'), GeomFromEWKT('SRID=4674;POINT (-39.347546 -3.161512)'))) / (select extract(epoch from '2026-07-13 13:35:36'::timestamp) - extract(epoch from '2026-07-13 13:35:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.347666 -3.16154)', '2026-07-13 13:35:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347546 -3.161512)'), GeomFromEWKT('SRID=4674;POINT (-39.347666 -3.16154)'))) / (select extract(epoch from '2026-07-13 13:35:43'::timestamp) - extract(epoch from '2026-07-13 13:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347546 -3.161512)'), GeomFromEWKT('SRID=4674;POINT (-39.347666 -3.16154)'))) / (select extract(epoch from '2026-07-13 13:35:43'::timestamp) - extract(epoch from '2026-07-13 13:35:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.34779 -3.161574)', '2026-07-13 13:35:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347666 -3.16154)'), GeomFromEWKT('SRID=4674;POINT (-39.34779 -3.161574)'))) / (select extract(epoch from '2026-07-13 13:35:50'::timestamp) - extract(epoch from '2026-07-13 13:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347666 -3.16154)'), GeomFromEWKT('SRID=4674;POINT (-39.34779 -3.161574)'))) / (select extract(epoch from '2026-07-13 13:35:50'::timestamp) - extract(epoch from '2026-07-13 13:35: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'), 47511, 'SRID=4674;POINT (-39.347947 -3.161615)', '2026-07-13 13:35:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34779 -3.161574)'), GeomFromEWKT('SRID=4674;POINT (-39.347947 -3.161615)'))) / (select extract(epoch from '2026-07-13 13:35:58'::timestamp) - extract(epoch from '2026-07-13 13:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34779 -3.161574)'), GeomFromEWKT('SRID=4674;POINT (-39.347947 -3.161615)'))) / (select extract(epoch from '2026-07-13 13:35:58'::timestamp) - extract(epoch from '2026-07-13 13:35: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'), 47511, 'SRID=4674;POINT (-39.348098 -3.161654)', '2026-07-13 13:36:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347947 -3.161615)'), GeomFromEWKT('SRID=4674;POINT (-39.348098 -3.161654)'))) / (select extract(epoch from '2026-07-13 13:36:06'::timestamp) - extract(epoch from '2026-07-13 13:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347947 -3.161615)'), GeomFromEWKT('SRID=4674;POINT (-39.348098 -3.161654)'))) / (select extract(epoch from '2026-07-13 13:36:06'::timestamp) - extract(epoch from '2026-07-13 13:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.348241 -3.161681)', '2026-07-13 13:36:14', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348098 -3.161654)'), GeomFromEWKT('SRID=4674;POINT (-39.348241 -3.161681)'))) / (select extract(epoch from '2026-07-13 13:36:14'::timestamp) - extract(epoch from '2026-07-13 13:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348098 -3.161654)'), GeomFromEWKT('SRID=4674;POINT (-39.348241 -3.161681)'))) / (select extract(epoch from '2026-07-13 13:36:14'::timestamp) - extract(epoch from '2026-07-13 13:36: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'), 47511, 'SRID=4674;POINT (-39.34837 -3.16171)', '2026-07-13 13:36:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348241 -3.161681)'), GeomFromEWKT('SRID=4674;POINT (-39.34837 -3.16171)'))) / (select extract(epoch from '2026-07-13 13:36:21'::timestamp) - extract(epoch from '2026-07-13 13:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348241 -3.161681)'), GeomFromEWKT('SRID=4674;POINT (-39.34837 -3.16171)'))) / (select extract(epoch from '2026-07-13 13:36:21'::timestamp) - extract(epoch from '2026-07-13 13:36:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.348471 -3.161723)', '2026-07-13 13:36:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34837 -3.16171)'), GeomFromEWKT('SRID=4674;POINT (-39.348471 -3.161723)'))) / (select extract(epoch from '2026-07-13 13:36:26'::timestamp) - extract(epoch from '2026-07-13 13:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34837 -3.16171)'), GeomFromEWKT('SRID=4674;POINT (-39.348471 -3.161723)'))) / (select extract(epoch from '2026-07-13 13:36:26'::timestamp) - extract(epoch from '2026-07-13 13:36: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'), 47511, 'SRID=4674;POINT (-39.348561 -3.161732)', '2026-07-13 13:36:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348471 -3.161723)'), GeomFromEWKT('SRID=4674;POINT (-39.348561 -3.161732)'))) / (select extract(epoch from '2026-07-13 13:36:31'::timestamp) - extract(epoch from '2026-07-13 13:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348471 -3.161723)'), GeomFromEWKT('SRID=4674;POINT (-39.348561 -3.161732)'))) / (select extract(epoch from '2026-07-13 13:36:31'::timestamp) - extract(epoch from '2026-07-13 13:36:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.3487 -3.161749)', '2026-07-13 13:36:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348561 -3.161732)'), GeomFromEWKT('SRID=4674;POINT (-39.3487 -3.161749)'))) / (select extract(epoch from '2026-07-13 13:36:39'::timestamp) - extract(epoch from '2026-07-13 13:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348561 -3.161732)'), GeomFromEWKT('SRID=4674;POINT (-39.3487 -3.161749)'))) / (select extract(epoch from '2026-07-13 13:36:39'::timestamp) - extract(epoch from '2026-07-13 13:36:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.348801 -3.161777)', '2026-07-13 13:36:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3487 -3.161749)'), GeomFromEWKT('SRID=4674;POINT (-39.348801 -3.161777)'))) / (select extract(epoch from '2026-07-13 13:36:45'::timestamp) - extract(epoch from '2026-07-13 13:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3487 -3.161749)'), GeomFromEWKT('SRID=4674;POINT (-39.348801 -3.161777)'))) / (select extract(epoch from '2026-07-13 13:36:45'::timestamp) - extract(epoch from '2026-07-13 13:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.348924 -3.161804)', '2026-07-13 13:36:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348801 -3.161777)'), GeomFromEWKT('SRID=4674;POINT (-39.348924 -3.161804)'))) / (select extract(epoch from '2026-07-13 13:36:51'::timestamp) - extract(epoch from '2026-07-13 13:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348801 -3.161777)'), GeomFromEWKT('SRID=4674;POINT (-39.348924 -3.161804)'))) / (select extract(epoch from '2026-07-13 13:36:51'::timestamp) - extract(epoch from '2026-07-13 13:36: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'), 47511, 'SRID=4674;POINT (-39.349032 -3.161824)', '2026-07-13 13:36:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348924 -3.161804)'), GeomFromEWKT('SRID=4674;POINT (-39.349032 -3.161824)'))) / (select extract(epoch from '2026-07-13 13:36:57'::timestamp) - extract(epoch from '2026-07-13 13:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348924 -3.161804)'), GeomFromEWKT('SRID=4674;POINT (-39.349032 -3.161824)'))) / (select extract(epoch from '2026-07-13 13:36:57'::timestamp) - extract(epoch from '2026-07-13 13:36:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.349162 -3.161837)', '2026-07-13 13:37:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349032 -3.161824)'), GeomFromEWKT('SRID=4674;POINT (-39.349162 -3.161837)'))) / (select extract(epoch from '2026-07-13 13:37:04'::timestamp) - extract(epoch from '2026-07-13 13:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349032 -3.161824)'), GeomFromEWKT('SRID=4674;POINT (-39.349162 -3.161837)'))) / (select extract(epoch from '2026-07-13 13:37:04'::timestamp) - extract(epoch from '2026-07-13 13:36: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'), 47511, 'SRID=4674;POINT (-39.34929 -3.161845)', '2026-07-13 13:37:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349162 -3.161837)'), GeomFromEWKT('SRID=4674;POINT (-39.34929 -3.161845)'))) / (select extract(epoch from '2026-07-13 13:37:11'::timestamp) - extract(epoch from '2026-07-13 13:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349162 -3.161837)'), GeomFromEWKT('SRID=4674;POINT (-39.34929 -3.161845)'))) / (select extract(epoch from '2026-07-13 13:37:11'::timestamp) - extract(epoch from '2026-07-13 13:37:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.34943 -3.161873)', '2026-07-13 13:37:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34929 -3.161845)'), GeomFromEWKT('SRID=4674;POINT (-39.34943 -3.161873)'))) / (select extract(epoch from '2026-07-13 13:37:18'::timestamp) - extract(epoch from '2026-07-13 13:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34929 -3.161845)'), GeomFromEWKT('SRID=4674;POINT (-39.34943 -3.161873)'))) / (select extract(epoch from '2026-07-13 13:37:18'::timestamp) - extract(epoch from '2026-07-13 13:37: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'), 47511, 'SRID=4674;POINT (-39.349582 -3.1619)', '2026-07-13 13:37:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34943 -3.161873)'), GeomFromEWKT('SRID=4674;POINT (-39.349582 -3.1619)'))) / (select extract(epoch from '2026-07-13 13:37:25'::timestamp) - extract(epoch from '2026-07-13 13:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34943 -3.161873)'), GeomFromEWKT('SRID=4674;POINT (-39.349582 -3.1619)'))) / (select extract(epoch from '2026-07-13 13:37:25'::timestamp) - extract(epoch from '2026-07-13 13:37:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.349705 -3.161917)', '2026-07-13 13:37:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349582 -3.1619)'), GeomFromEWKT('SRID=4674;POINT (-39.349705 -3.161917)'))) / (select extract(epoch from '2026-07-13 13:37:31'::timestamp) - extract(epoch from '2026-07-13 13:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349582 -3.1619)'), GeomFromEWKT('SRID=4674;POINT (-39.349705 -3.161917)'))) / (select extract(epoch from '2026-07-13 13:37:31'::timestamp) - extract(epoch from '2026-07-13 13:37:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.349836 -3.16194)', '2026-07-13 13:37:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349705 -3.161917)'), GeomFromEWKT('SRID=4674;POINT (-39.349836 -3.16194)'))) / (select extract(epoch from '2026-07-13 13:37:37'::timestamp) - extract(epoch from '2026-07-13 13:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349705 -3.161917)'), GeomFromEWKT('SRID=4674;POINT (-39.349836 -3.16194)'))) / (select extract(epoch from '2026-07-13 13:37:37'::timestamp) - extract(epoch from '2026-07-13 13:37: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'), 47511, 'SRID=4674;POINT (-39.349943 -3.161952)', '2026-07-13 13:37:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349836 -3.16194)'), GeomFromEWKT('SRID=4674;POINT (-39.349943 -3.161952)'))) / (select extract(epoch from '2026-07-13 13:37:43'::timestamp) - extract(epoch from '2026-07-13 13:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349836 -3.16194)'), GeomFromEWKT('SRID=4674;POINT (-39.349943 -3.161952)'))) / (select extract(epoch from '2026-07-13 13:37:43'::timestamp) - extract(epoch from '2026-07-13 13:37: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'), 47511, 'SRID=4674;POINT (-39.350058 -3.161977)', '2026-07-13 13:37:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349943 -3.161952)'), GeomFromEWKT('SRID=4674;POINT (-39.350058 -3.161977)'))) / (select extract(epoch from '2026-07-13 13:37:49'::timestamp) - extract(epoch from '2026-07-13 13:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349943 -3.161952)'), GeomFromEWKT('SRID=4674;POINT (-39.350058 -3.161977)'))) / (select extract(epoch from '2026-07-13 13:37:49'::timestamp) - extract(epoch from '2026-07-13 13:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.350166 -3.161993)', '2026-07-13 13:37:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350058 -3.161977)'), GeomFromEWKT('SRID=4674;POINT (-39.350166 -3.161993)'))) / (select extract(epoch from '2026-07-13 13:37:54'::timestamp) - extract(epoch from '2026-07-13 13:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350058 -3.161977)'), GeomFromEWKT('SRID=4674;POINT (-39.350166 -3.161993)'))) / (select extract(epoch from '2026-07-13 13:37:54'::timestamp) - extract(epoch from '2026-07-13 13:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.350293 -3.162019)', '2026-07-13 13:38:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350166 -3.161993)'), GeomFromEWKT('SRID=4674;POINT (-39.350293 -3.162019)'))) / (select extract(epoch from '2026-07-13 13:38:01'::timestamp) - extract(epoch from '2026-07-13 13:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350166 -3.161993)'), GeomFromEWKT('SRID=4674;POINT (-39.350293 -3.162019)'))) / (select extract(epoch from '2026-07-13 13:38:01'::timestamp) - extract(epoch from '2026-07-13 13:37: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'), 47511, 'SRID=4674;POINT (-39.350385 -3.162045)', '2026-07-13 13:38:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350293 -3.162019)'), GeomFromEWKT('SRID=4674;POINT (-39.350385 -3.162045)'))) / (select extract(epoch from '2026-07-13 13:38:06'::timestamp) - extract(epoch from '2026-07-13 13:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350293 -3.162019)'), GeomFromEWKT('SRID=4674;POINT (-39.350385 -3.162045)'))) / (select extract(epoch from '2026-07-13 13:38:06'::timestamp) - extract(epoch from '2026-07-13 13:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.350509 -3.162074)', '2026-07-13 13:38:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350385 -3.162045)'), GeomFromEWKT('SRID=4674;POINT (-39.350509 -3.162074)'))) / (select extract(epoch from '2026-07-13 13:38:13'::timestamp) - extract(epoch from '2026-07-13 13:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350385 -3.162045)'), GeomFromEWKT('SRID=4674;POINT (-39.350509 -3.162074)'))) / (select extract(epoch from '2026-07-13 13:38:13'::timestamp) - extract(epoch from '2026-07-13 13:38: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'), 47511, 'SRID=4674;POINT (-39.350639 -3.162105)', '2026-07-13 13:38:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350509 -3.162074)'), GeomFromEWKT('SRID=4674;POINT (-39.350639 -3.162105)'))) / (select extract(epoch from '2026-07-13 13:38:20'::timestamp) - extract(epoch from '2026-07-13 13:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350509 -3.162074)'), GeomFromEWKT('SRID=4674;POINT (-39.350639 -3.162105)'))) / (select extract(epoch from '2026-07-13 13:38:20'::timestamp) - extract(epoch from '2026-07-13 13:38:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.35075 -3.162131)', '2026-07-13 13:38:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350639 -3.162105)'), GeomFromEWKT('SRID=4674;POINT (-39.35075 -3.162131)'))) / (select extract(epoch from '2026-07-13 13:38:26'::timestamp) - extract(epoch from '2026-07-13 13:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350639 -3.162105)'), GeomFromEWKT('SRID=4674;POINT (-39.35075 -3.162131)'))) / (select extract(epoch from '2026-07-13 13:38:26'::timestamp) - extract(epoch from '2026-07-13 13:38:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.35086 -3.162151)', '2026-07-13 13:38:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35075 -3.162131)'), GeomFromEWKT('SRID=4674;POINT (-39.35086 -3.162151)'))) / (select extract(epoch from '2026-07-13 13:38:32'::timestamp) - extract(epoch from '2026-07-13 13:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35075 -3.162131)'), GeomFromEWKT('SRID=4674;POINT (-39.35086 -3.162151)'))) / (select extract(epoch from '2026-07-13 13:38:32'::timestamp) - extract(epoch from '2026-07-13 13:38: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'), 47511, 'SRID=4674;POINT (-39.350979 -3.162185)', '2026-07-13 13:38:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35086 -3.162151)'), GeomFromEWKT('SRID=4674;POINT (-39.350979 -3.162185)'))) / (select extract(epoch from '2026-07-13 13:38:39'::timestamp) - extract(epoch from '2026-07-13 13:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35086 -3.162151)'), GeomFromEWKT('SRID=4674;POINT (-39.350979 -3.162185)'))) / (select extract(epoch from '2026-07-13 13:38:39'::timestamp) - extract(epoch from '2026-07-13 13:38: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'), 47511, 'SRID=4674;POINT (-39.351085 -3.162209)', '2026-07-13 13:38:44', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350979 -3.162185)'), GeomFromEWKT('SRID=4674;POINT (-39.351085 -3.162209)'))) / (select extract(epoch from '2026-07-13 13:38:44'::timestamp) - extract(epoch from '2026-07-13 13:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350979 -3.162185)'), GeomFromEWKT('SRID=4674;POINT (-39.351085 -3.162209)'))) / (select extract(epoch from '2026-07-13 13:38:44'::timestamp) - extract(epoch from '2026-07-13 13:38: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'), 47511, 'SRID=4674;POINT (-39.351207 -3.162248)', '2026-07-13 13:38:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351085 -3.162209)'), GeomFromEWKT('SRID=4674;POINT (-39.351207 -3.162248)'))) / (select extract(epoch from '2026-07-13 13:38:50'::timestamp) - extract(epoch from '2026-07-13 13:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351085 -3.162209)'), GeomFromEWKT('SRID=4674;POINT (-39.351207 -3.162248)'))) / (select extract(epoch from '2026-07-13 13:38:50'::timestamp) - extract(epoch from '2026-07-13 13:38: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'), 47511, 'SRID=4674;POINT (-39.351287 -3.162279)', '2026-07-13 13:38:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351207 -3.162248)'), GeomFromEWKT('SRID=4674;POINT (-39.351287 -3.162279)'))) / (select extract(epoch from '2026-07-13 13:38:55'::timestamp) - extract(epoch from '2026-07-13 13:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351207 -3.162248)'), GeomFromEWKT('SRID=4674;POINT (-39.351287 -3.162279)'))) / (select extract(epoch from '2026-07-13 13:38:55'::timestamp) - extract(epoch from '2026-07-13 13:38:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.351399 -3.162314)', '2026-07-13 13:39:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351287 -3.162279)'), GeomFromEWKT('SRID=4674;POINT (-39.351399 -3.162314)'))) / (select extract(epoch from '2026-07-13 13:39:01'::timestamp) - extract(epoch from '2026-07-13 13:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351287 -3.162279)'), GeomFromEWKT('SRID=4674;POINT (-39.351399 -3.162314)'))) / (select extract(epoch from '2026-07-13 13:39:01'::timestamp) - extract(epoch from '2026-07-13 13:38:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.351542 -3.16235)', '2026-07-13 13:39:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351399 -3.162314)'), GeomFromEWKT('SRID=4674;POINT (-39.351542 -3.16235)'))) / (select extract(epoch from '2026-07-13 13:39:09'::timestamp) - extract(epoch from '2026-07-13 13:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351399 -3.162314)'), GeomFromEWKT('SRID=4674;POINT (-39.351542 -3.16235)'))) / (select extract(epoch from '2026-07-13 13:39:09'::timestamp) - extract(epoch from '2026-07-13 13:39:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.351697 -3.162377)', '2026-07-13 13:39:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351542 -3.16235)'), GeomFromEWKT('SRID=4674;POINT (-39.351697 -3.162377)'))) / (select extract(epoch from '2026-07-13 13:39:17'::timestamp) - extract(epoch from '2026-07-13 13:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351542 -3.16235)'), GeomFromEWKT('SRID=4674;POINT (-39.351697 -3.162377)'))) / (select extract(epoch from '2026-07-13 13:39:17'::timestamp) - extract(epoch from '2026-07-13 13:39:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.351835 -3.162399)', '2026-07-13 13:39:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351697 -3.162377)'), GeomFromEWKT('SRID=4674;POINT (-39.351835 -3.162399)'))) / (select extract(epoch from '2026-07-13 13:39:25'::timestamp) - extract(epoch from '2026-07-13 13:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351697 -3.162377)'), GeomFromEWKT('SRID=4674;POINT (-39.351835 -3.162399)'))) / (select extract(epoch from '2026-07-13 13:39:25'::timestamp) - extract(epoch from '2026-07-13 13:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.351949 -3.162419)', '2026-07-13 13:39:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351835 -3.162399)'), GeomFromEWKT('SRID=4674;POINT (-39.351949 -3.162419)'))) / (select extract(epoch from '2026-07-13 13:39:31'::timestamp) - extract(epoch from '2026-07-13 13:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351835 -3.162399)'), GeomFromEWKT('SRID=4674;POINT (-39.351949 -3.162419)'))) / (select extract(epoch from '2026-07-13 13:39:31'::timestamp) - extract(epoch from '2026-07-13 13:39:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.352088 -3.162454)', '2026-07-13 13:39:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351949 -3.162419)'), GeomFromEWKT('SRID=4674;POINT (-39.352088 -3.162454)'))) / (select extract(epoch from '2026-07-13 13:39:38'::timestamp) - extract(epoch from '2026-07-13 13:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351949 -3.162419)'), GeomFromEWKT('SRID=4674;POINT (-39.352088 -3.162454)'))) / (select extract(epoch from '2026-07-13 13:39:38'::timestamp) - extract(epoch from '2026-07-13 13:39: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'), 47511, 'SRID=4674;POINT (-39.352216 -3.162483)', '2026-07-13 13:39:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352088 -3.162454)'), GeomFromEWKT('SRID=4674;POINT (-39.352216 -3.162483)'))) / (select extract(epoch from '2026-07-13 13:39:45'::timestamp) - extract(epoch from '2026-07-13 13:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352088 -3.162454)'), GeomFromEWKT('SRID=4674;POINT (-39.352216 -3.162483)'))) / (select extract(epoch from '2026-07-13 13:39:45'::timestamp) - extract(epoch from '2026-07-13 13:39:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.352311 -3.162502)', '2026-07-13 13:39:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352216 -3.162483)'), GeomFromEWKT('SRID=4674;POINT (-39.352311 -3.162502)'))) / (select extract(epoch from '2026-07-13 13:39:50'::timestamp) - extract(epoch from '2026-07-13 13:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352216 -3.162483)'), GeomFromEWKT('SRID=4674;POINT (-39.352311 -3.162502)'))) / (select extract(epoch from '2026-07-13 13:39:50'::timestamp) - extract(epoch from '2026-07-13 13:39: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'), 47511, 'SRID=4674;POINT (-39.352409 -3.162523)', '2026-07-13 13:39:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352311 -3.162502)'), GeomFromEWKT('SRID=4674;POINT (-39.352409 -3.162523)'))) / (select extract(epoch from '2026-07-13 13:39:55'::timestamp) - extract(epoch from '2026-07-13 13:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352311 -3.162502)'), GeomFromEWKT('SRID=4674;POINT (-39.352409 -3.162523)'))) / (select extract(epoch from '2026-07-13 13:39:55'::timestamp) - extract(epoch from '2026-07-13 13:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.352515 -3.16256)', '2026-07-13 13:40:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352409 -3.162523)'), GeomFromEWKT('SRID=4674;POINT (-39.352515 -3.16256)'))) / (select extract(epoch from '2026-07-13 13:40:00'::timestamp) - extract(epoch from '2026-07-13 13:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352409 -3.162523)'), GeomFromEWKT('SRID=4674;POINT (-39.352515 -3.16256)'))) / (select extract(epoch from '2026-07-13 13:40:00'::timestamp) - extract(epoch from '2026-07-13 13:39:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.352582 -3.162576)', '2026-07-13 13:40:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352515 -3.16256)'), GeomFromEWKT('SRID=4674;POINT (-39.352582 -3.162576)'))) / (select extract(epoch from '2026-07-13 13:40:04'::timestamp) - extract(epoch from '2026-07-13 13:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352515 -3.16256)'), GeomFromEWKT('SRID=4674;POINT (-39.352582 -3.162576)'))) / (select extract(epoch from '2026-07-13 13:40:04'::timestamp) - extract(epoch from '2026-07-13 13:40:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.352713 -3.162621)', '2026-07-13 13:40:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352582 -3.162576)'), GeomFromEWKT('SRID=4674;POINT (-39.352713 -3.162621)'))) / (select extract(epoch from '2026-07-13 13:40:11'::timestamp) - extract(epoch from '2026-07-13 13:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352582 -3.162576)'), GeomFromEWKT('SRID=4674;POINT (-39.352713 -3.162621)'))) / (select extract(epoch from '2026-07-13 13:40:11'::timestamp) - extract(epoch from '2026-07-13 13:40: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'), 47511, 'SRID=4674;POINT (-39.352855 -3.162664)', '2026-07-13 13:40:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352713 -3.162621)'), GeomFromEWKT('SRID=4674;POINT (-39.352855 -3.162664)'))) / (select extract(epoch from '2026-07-13 13:40:19'::timestamp) - extract(epoch from '2026-07-13 13:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352713 -3.162621)'), GeomFromEWKT('SRID=4674;POINT (-39.352855 -3.162664)'))) / (select extract(epoch from '2026-07-13 13:40:19'::timestamp) - extract(epoch from '2026-07-13 13:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.353003 -3.162704)', '2026-07-13 13:40:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352855 -3.162664)'), GeomFromEWKT('SRID=4674;POINT (-39.353003 -3.162704)'))) / (select extract(epoch from '2026-07-13 13:40:27'::timestamp) - extract(epoch from '2026-07-13 13:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352855 -3.162664)'), GeomFromEWKT('SRID=4674;POINT (-39.353003 -3.162704)'))) / (select extract(epoch from '2026-07-13 13:40:27'::timestamp) - extract(epoch from '2026-07-13 13:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.353122 -3.162728)', '2026-07-13 13:40:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353003 -3.162704)'), GeomFromEWKT('SRID=4674;POINT (-39.353122 -3.162728)'))) / (select extract(epoch from '2026-07-13 13:40:33'::timestamp) - extract(epoch from '2026-07-13 13:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353003 -3.162704)'), GeomFromEWKT('SRID=4674;POINT (-39.353122 -3.162728)'))) / (select extract(epoch from '2026-07-13 13:40:33'::timestamp) - extract(epoch from '2026-07-13 13:40: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'), 47511, 'SRID=4674;POINT (-39.353218 -3.162752)', '2026-07-13 13:40:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353122 -3.162728)'), GeomFromEWKT('SRID=4674;POINT (-39.353218 -3.162752)'))) / (select extract(epoch from '2026-07-13 13:40:38'::timestamp) - extract(epoch from '2026-07-13 13:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353122 -3.162728)'), GeomFromEWKT('SRID=4674;POINT (-39.353218 -3.162752)'))) / (select extract(epoch from '2026-07-13 13:40:38'::timestamp) - extract(epoch from '2026-07-13 13:40: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'), 47511, 'SRID=4674;POINT (-39.353375 -3.16279)', '2026-07-13 13:40:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353218 -3.162752)'), GeomFromEWKT('SRID=4674;POINT (-39.353375 -3.16279)'))) / (select extract(epoch from '2026-07-13 13:40:46'::timestamp) - extract(epoch from '2026-07-13 13:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353218 -3.162752)'), GeomFromEWKT('SRID=4674;POINT (-39.353375 -3.16279)'))) / (select extract(epoch from '2026-07-13 13:40:46'::timestamp) - extract(epoch from '2026-07-13 13:40:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.353496 -3.162815)', '2026-07-13 13:40:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353375 -3.16279)'), GeomFromEWKT('SRID=4674;POINT (-39.353496 -3.162815)'))) / (select extract(epoch from '2026-07-13 13:40:52'::timestamp) - extract(epoch from '2026-07-13 13:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353375 -3.16279)'), GeomFromEWKT('SRID=4674;POINT (-39.353496 -3.162815)'))) / (select extract(epoch from '2026-07-13 13:40:52'::timestamp) - extract(epoch from '2026-07-13 13:40: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'), 47511, 'SRID=4674;POINT (-39.353615 -3.162836)', '2026-07-13 13:40:58', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353496 -3.162815)'), GeomFromEWKT('SRID=4674;POINT (-39.353615 -3.162836)'))) / (select extract(epoch from '2026-07-13 13:40:58'::timestamp) - extract(epoch from '2026-07-13 13:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353496 -3.162815)'), GeomFromEWKT('SRID=4674;POINT (-39.353615 -3.162836)'))) / (select extract(epoch from '2026-07-13 13:40:58'::timestamp) - extract(epoch from '2026-07-13 13:40:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.353767 -3.162878)', '2026-07-13 13:41:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353615 -3.162836)'), GeomFromEWKT('SRID=4674;POINT (-39.353767 -3.162878)'))) / (select extract(epoch from '2026-07-13 13:41:06'::timestamp) - extract(epoch from '2026-07-13 13:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353615 -3.162836)'), GeomFromEWKT('SRID=4674;POINT (-39.353767 -3.162878)'))) / (select extract(epoch from '2026-07-13 13:41:06'::timestamp) - extract(epoch from '2026-07-13 13:40: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'), 47511, 'SRID=4674;POINT (-39.353894 -3.162908)', '2026-07-13 13:41:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353767 -3.162878)'), GeomFromEWKT('SRID=4674;POINT (-39.353894 -3.162908)'))) / (select extract(epoch from '2026-07-13 13:41:13'::timestamp) - extract(epoch from '2026-07-13 13:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353767 -3.162878)'), GeomFromEWKT('SRID=4674;POINT (-39.353894 -3.162908)'))) / (select extract(epoch from '2026-07-13 13:41:13'::timestamp) - extract(epoch from '2026-07-13 13:41: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'), 47511, 'SRID=4674;POINT (-39.353988 -3.162929)', '2026-07-13 13:41:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353894 -3.162908)'), GeomFromEWKT('SRID=4674;POINT (-39.353988 -3.162929)'))) / (select extract(epoch from '2026-07-13 13:41:18'::timestamp) - extract(epoch from '2026-07-13 13:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353894 -3.162908)'), GeomFromEWKT('SRID=4674;POINT (-39.353988 -3.162929)'))) / (select extract(epoch from '2026-07-13 13:41:18'::timestamp) - extract(epoch from '2026-07-13 13:41:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.354066 -3.162939)', '2026-07-13 13:41:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353988 -3.162929)'), GeomFromEWKT('SRID=4674;POINT (-39.354066 -3.162939)'))) / (select extract(epoch from '2026-07-13 13:41:23'::timestamp) - extract(epoch from '2026-07-13 13:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353988 -3.162929)'), GeomFromEWKT('SRID=4674;POINT (-39.354066 -3.162939)'))) / (select extract(epoch from '2026-07-13 13:41:23'::timestamp) - extract(epoch from '2026-07-13 13:41: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'), 47511, 'SRID=4674;POINT (-39.354163 -3.162963)', '2026-07-13 13:41:28', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354066 -3.162939)'), GeomFromEWKT('SRID=4674;POINT (-39.354163 -3.162963)'))) / (select extract(epoch from '2026-07-13 13:41:28'::timestamp) - extract(epoch from '2026-07-13 13:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354066 -3.162939)'), GeomFromEWKT('SRID=4674;POINT (-39.354163 -3.162963)'))) / (select extract(epoch from '2026-07-13 13:41:28'::timestamp) - extract(epoch from '2026-07-13 13:41:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.354279 -3.162988)', '2026-07-13 13:41:34', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354163 -3.162963)'), GeomFromEWKT('SRID=4674;POINT (-39.354279 -3.162988)'))) / (select extract(epoch from '2026-07-13 13:41:34'::timestamp) - extract(epoch from '2026-07-13 13:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354163 -3.162963)'), GeomFromEWKT('SRID=4674;POINT (-39.354279 -3.162988)'))) / (select extract(epoch from '2026-07-13 13:41:34'::timestamp) - extract(epoch from '2026-07-13 13:41:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.354384 -3.163013)', '2026-07-13 13:41:39', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354279 -3.162988)'), GeomFromEWKT('SRID=4674;POINT (-39.354384 -3.163013)'))) / (select extract(epoch from '2026-07-13 13:41:39'::timestamp) - extract(epoch from '2026-07-13 13:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354279 -3.162988)'), GeomFromEWKT('SRID=4674;POINT (-39.354384 -3.163013)'))) / (select extract(epoch from '2026-07-13 13:41:39'::timestamp) - extract(epoch from '2026-07-13 13:41:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.354492 -3.163042)', '2026-07-13 13:41:45', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354384 -3.163013)'), GeomFromEWKT('SRID=4674;POINT (-39.354492 -3.163042)'))) / (select extract(epoch from '2026-07-13 13:41:45'::timestamp) - extract(epoch from '2026-07-13 13:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354384 -3.163013)'), GeomFromEWKT('SRID=4674;POINT (-39.354492 -3.163042)'))) / (select extract(epoch from '2026-07-13 13:41:45'::timestamp) - extract(epoch from '2026-07-13 13:41:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.354591 -3.163061)', '2026-07-13 13:41:51', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354492 -3.163042)'), GeomFromEWKT('SRID=4674;POINT (-39.354591 -3.163061)'))) / (select extract(epoch from '2026-07-13 13:41:51'::timestamp) - extract(epoch from '2026-07-13 13:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354492 -3.163042)'), GeomFromEWKT('SRID=4674;POINT (-39.354591 -3.163061)'))) / (select extract(epoch from '2026-07-13 13:41:51'::timestamp) - extract(epoch from '2026-07-13 13:41: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'), 47511, 'SRID=4674;POINT (-39.354696 -3.163082)', '2026-07-13 13:41:57', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354591 -3.163061)'), GeomFromEWKT('SRID=4674;POINT (-39.354696 -3.163082)'))) / (select extract(epoch from '2026-07-13 13:41:57'::timestamp) - extract(epoch from '2026-07-13 13:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354591 -3.163061)'), GeomFromEWKT('SRID=4674;POINT (-39.354696 -3.163082)'))) / (select extract(epoch from '2026-07-13 13:41:57'::timestamp) - extract(epoch from '2026-07-13 13:41:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.354791 -3.163107)', '2026-07-13 13:42:02', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354696 -3.163082)'), GeomFromEWKT('SRID=4674;POINT (-39.354791 -3.163107)'))) / (select extract(epoch from '2026-07-13 13:42:02'::timestamp) - extract(epoch from '2026-07-13 13:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354696 -3.163082)'), GeomFromEWKT('SRID=4674;POINT (-39.354791 -3.163107)'))) / (select extract(epoch from '2026-07-13 13:42:02'::timestamp) - extract(epoch from '2026-07-13 13:41:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.354937 -3.163141)', '2026-07-13 13:42:10', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354791 -3.163107)'), GeomFromEWKT('SRID=4674;POINT (-39.354937 -3.163141)'))) / (select extract(epoch from '2026-07-13 13:42:10'::timestamp) - extract(epoch from '2026-07-13 13:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354791 -3.163107)'), GeomFromEWKT('SRID=4674;POINT (-39.354937 -3.163141)'))) / (select extract(epoch from '2026-07-13 13:42:10'::timestamp) - extract(epoch from '2026-07-13 13:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.355057 -3.163162)', '2026-07-13 13:42:17', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354937 -3.163141)'), GeomFromEWKT('SRID=4674;POINT (-39.355057 -3.163162)'))) / (select extract(epoch from '2026-07-13 13:42:17'::timestamp) - extract(epoch from '2026-07-13 13:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354937 -3.163141)'), GeomFromEWKT('SRID=4674;POINT (-39.355057 -3.163162)'))) / (select extract(epoch from '2026-07-13 13:42:17'::timestamp) - extract(epoch from '2026-07-13 13:42: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'), 47511, 'SRID=4674;POINT (-39.355199 -3.1632)', '2026-07-13 13:42:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355057 -3.163162)'), GeomFromEWKT('SRID=4674;POINT (-39.355199 -3.1632)'))) / (select extract(epoch from '2026-07-13 13:42:25'::timestamp) - extract(epoch from '2026-07-13 13:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355057 -3.163162)'), GeomFromEWKT('SRID=4674;POINT (-39.355199 -3.1632)'))) / (select extract(epoch from '2026-07-13 13:42:25'::timestamp) - extract(epoch from '2026-07-13 13:42: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'), 47511, 'SRID=4674;POINT (-39.355307 -3.163227)', '2026-07-13 13:42:31', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355199 -3.1632)'), GeomFromEWKT('SRID=4674;POINT (-39.355307 -3.163227)'))) / (select extract(epoch from '2026-07-13 13:42:31'::timestamp) - extract(epoch from '2026-07-13 13:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355199 -3.1632)'), GeomFromEWKT('SRID=4674;POINT (-39.355307 -3.163227)'))) / (select extract(epoch from '2026-07-13 13:42:31'::timestamp) - extract(epoch from '2026-07-13 13:42:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.355421 -3.16325)', '2026-07-13 13:42:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355307 -3.163227)'), GeomFromEWKT('SRID=4674;POINT (-39.355421 -3.16325)'))) / (select extract(epoch from '2026-07-13 13:42:37'::timestamp) - extract(epoch from '2026-07-13 13:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355307 -3.163227)'), GeomFromEWKT('SRID=4674;POINT (-39.355421 -3.16325)'))) / (select extract(epoch from '2026-07-13 13:42:37'::timestamp) - extract(epoch from '2026-07-13 13:42:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.355551 -3.163279)', '2026-07-13 13:42:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355421 -3.16325)'), GeomFromEWKT('SRID=4674;POINT (-39.355551 -3.163279)'))) / (select extract(epoch from '2026-07-13 13:42:43'::timestamp) - extract(epoch from '2026-07-13 13:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355421 -3.16325)'), GeomFromEWKT('SRID=4674;POINT (-39.355551 -3.163279)'))) / (select extract(epoch from '2026-07-13 13:42:43'::timestamp) - extract(epoch from '2026-07-13 13:42:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.355658 -3.163305)', '2026-07-13 13:42:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355551 -3.163279)'), GeomFromEWKT('SRID=4674;POINT (-39.355658 -3.163305)'))) / (select extract(epoch from '2026-07-13 13:42:48'::timestamp) - extract(epoch from '2026-07-13 13:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355551 -3.163279)'), GeomFromEWKT('SRID=4674;POINT (-39.355658 -3.163305)'))) / (select extract(epoch from '2026-07-13 13:42:48'::timestamp) - extract(epoch from '2026-07-13 13:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.355796 -3.163344)', '2026-07-13 13:42:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355658 -3.163305)'), GeomFromEWKT('SRID=4674;POINT (-39.355796 -3.163344)'))) / (select extract(epoch from '2026-07-13 13:42:55'::timestamp) - extract(epoch from '2026-07-13 13:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355658 -3.163305)'), GeomFromEWKT('SRID=4674;POINT (-39.355796 -3.163344)'))) / (select extract(epoch from '2026-07-13 13:42:55'::timestamp) - extract(epoch from '2026-07-13 13:42:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.355921 -3.163379)', '2026-07-13 13:43:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355796 -3.163344)'), GeomFromEWKT('SRID=4674;POINT (-39.355921 -3.163379)'))) / (select extract(epoch from '2026-07-13 13:43:01'::timestamp) - extract(epoch from '2026-07-13 13:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355796 -3.163344)'), GeomFromEWKT('SRID=4674;POINT (-39.355921 -3.163379)'))) / (select extract(epoch from '2026-07-13 13:43:01'::timestamp) - extract(epoch from '2026-07-13 13:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.356013 -3.163399)', '2026-07-13 13:43:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355921 -3.163379)'), GeomFromEWKT('SRID=4674;POINT (-39.356013 -3.163399)'))) / (select extract(epoch from '2026-07-13 13:43:06'::timestamp) - extract(epoch from '2026-07-13 13:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355921 -3.163379)'), GeomFromEWKT('SRID=4674;POINT (-39.356013 -3.163399)'))) / (select extract(epoch from '2026-07-13 13:43:06'::timestamp) - extract(epoch from '2026-07-13 13:43:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.356161 -3.16344)', '2026-07-13 13:43:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356013 -3.163399)'), GeomFromEWKT('SRID=4674;POINT (-39.356161 -3.16344)'))) / (select extract(epoch from '2026-07-13 13:43:13'::timestamp) - extract(epoch from '2026-07-13 13:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356013 -3.163399)'), GeomFromEWKT('SRID=4674;POINT (-39.356161 -3.16344)'))) / (select extract(epoch from '2026-07-13 13:43:13'::timestamp) - extract(epoch from '2026-07-13 13:43: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'), 47511, 'SRID=4674;POINT (-39.356288 -3.163483)', '2026-07-13 13:43:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356161 -3.16344)'), GeomFromEWKT('SRID=4674;POINT (-39.356288 -3.163483)'))) / (select extract(epoch from '2026-07-13 13:43:19'::timestamp) - extract(epoch from '2026-07-13 13:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356161 -3.16344)'), GeomFromEWKT('SRID=4674;POINT (-39.356288 -3.163483)'))) / (select extract(epoch from '2026-07-13 13:43:19'::timestamp) - extract(epoch from '2026-07-13 13:43: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'), 47511, 'SRID=4674;POINT (-39.356373 -3.163514)', '2026-07-13 13:43:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356288 -3.163483)'), GeomFromEWKT('SRID=4674;POINT (-39.356373 -3.163514)'))) / (select extract(epoch from '2026-07-13 13:43:24'::timestamp) - extract(epoch from '2026-07-13 13:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356288 -3.163483)'), GeomFromEWKT('SRID=4674;POINT (-39.356373 -3.163514)'))) / (select extract(epoch from '2026-07-13 13:43:24'::timestamp) - extract(epoch from '2026-07-13 13:43:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.35649 -3.163554)', '2026-07-13 13:43:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356373 -3.163514)'), GeomFromEWKT('SRID=4674;POINT (-39.35649 -3.163554)'))) / (select extract(epoch from '2026-07-13 13:43:30'::timestamp) - extract(epoch from '2026-07-13 13:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356373 -3.163514)'), GeomFromEWKT('SRID=4674;POINT (-39.35649 -3.163554)'))) / (select extract(epoch from '2026-07-13 13:43:30'::timestamp) - extract(epoch from '2026-07-13 13:43: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'), 47511, 'SRID=4674;POINT (-39.356595 -3.163585)', '2026-07-13 13:43:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35649 -3.163554)'), GeomFromEWKT('SRID=4674;POINT (-39.356595 -3.163585)'))) / (select extract(epoch from '2026-07-13 13:43:36'::timestamp) - extract(epoch from '2026-07-13 13:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35649 -3.163554)'), GeomFromEWKT('SRID=4674;POINT (-39.356595 -3.163585)'))) / (select extract(epoch from '2026-07-13 13:43:36'::timestamp) - extract(epoch from '2026-07-13 13:43:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.356732 -3.163621)', '2026-07-13 13:43:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356595 -3.163585)'), GeomFromEWKT('SRID=4674;POINT (-39.356732 -3.163621)'))) / (select extract(epoch from '2026-07-13 13:43:43'::timestamp) - extract(epoch from '2026-07-13 13:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356595 -3.163585)'), GeomFromEWKT('SRID=4674;POINT (-39.356732 -3.163621)'))) / (select extract(epoch from '2026-07-13 13:43:43'::timestamp) - extract(epoch from '2026-07-13 13:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.356875 -3.163633)', '2026-07-13 13:43:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356732 -3.163621)'), GeomFromEWKT('SRID=4674;POINT (-39.356875 -3.163633)'))) / (select extract(epoch from '2026-07-13 13:43:49'::timestamp) - extract(epoch from '2026-07-13 13:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356732 -3.163621)'), GeomFromEWKT('SRID=4674;POINT (-39.356875 -3.163633)'))) / (select extract(epoch from '2026-07-13 13:43:49'::timestamp) - extract(epoch from '2026-07-13 13:43: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'), 47511, 'SRID=4674;POINT (-39.357025 -3.163638)', '2026-07-13 13:43:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356875 -3.163633)'), GeomFromEWKT('SRID=4674;POINT (-39.357025 -3.163638)'))) / (select extract(epoch from '2026-07-13 13:43:56'::timestamp) - extract(epoch from '2026-07-13 13:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356875 -3.163633)'), GeomFromEWKT('SRID=4674;POINT (-39.357025 -3.163638)'))) / (select extract(epoch from '2026-07-13 13:43:56'::timestamp) - extract(epoch from '2026-07-13 13:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.357147 -3.163654)', '2026-07-13 13:44:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357025 -3.163638)'), GeomFromEWKT('SRID=4674;POINT (-39.357147 -3.163654)'))) / (select extract(epoch from '2026-07-13 13:44:02'::timestamp) - extract(epoch from '2026-07-13 13:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357025 -3.163638)'), GeomFromEWKT('SRID=4674;POINT (-39.357147 -3.163654)'))) / (select extract(epoch from '2026-07-13 13:44:02'::timestamp) - extract(epoch from '2026-07-13 13:43: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'), 47511, 'SRID=4674;POINT (-39.357267 -3.163672)', '2026-07-13 13:44:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357147 -3.163654)'), GeomFromEWKT('SRID=4674;POINT (-39.357267 -3.163672)'))) / (select extract(epoch from '2026-07-13 13:44:08'::timestamp) - extract(epoch from '2026-07-13 13:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357147 -3.163654)'), GeomFromEWKT('SRID=4674;POINT (-39.357267 -3.163672)'))) / (select extract(epoch from '2026-07-13 13:44:08'::timestamp) - extract(epoch from '2026-07-13 13:44:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.357392 -3.16369)', '2026-07-13 13:44:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357267 -3.163672)'), GeomFromEWKT('SRID=4674;POINT (-39.357392 -3.16369)'))) / (select extract(epoch from '2026-07-13 13:44:14'::timestamp) - extract(epoch from '2026-07-13 13:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357267 -3.163672)'), GeomFromEWKT('SRID=4674;POINT (-39.357392 -3.16369)'))) / (select extract(epoch from '2026-07-13 13:44:14'::timestamp) - extract(epoch from '2026-07-13 13:44: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'), 47511, 'SRID=4674;POINT (-39.357521 -3.163726)', '2026-07-13 13:44:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357392 -3.16369)'), GeomFromEWKT('SRID=4674;POINT (-39.357521 -3.163726)'))) / (select extract(epoch from '2026-07-13 13:44:21'::timestamp) - extract(epoch from '2026-07-13 13:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357392 -3.16369)'), GeomFromEWKT('SRID=4674;POINT (-39.357521 -3.163726)'))) / (select extract(epoch from '2026-07-13 13:44:21'::timestamp) - extract(epoch from '2026-07-13 13:44:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.357634 -3.16376)', '2026-07-13 13:44:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357521 -3.163726)'), GeomFromEWKT('SRID=4674;POINT (-39.357634 -3.16376)'))) / (select extract(epoch from '2026-07-13 13:44:27'::timestamp) - extract(epoch from '2026-07-13 13:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357521 -3.163726)'), GeomFromEWKT('SRID=4674;POINT (-39.357634 -3.16376)'))) / (select extract(epoch from '2026-07-13 13:44:27'::timestamp) - extract(epoch from '2026-07-13 13:44:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.357727 -3.163792)', '2026-07-13 13:44:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357634 -3.16376)'), GeomFromEWKT('SRID=4674;POINT (-39.357727 -3.163792)'))) / (select extract(epoch from '2026-07-13 13:44:32'::timestamp) - extract(epoch from '2026-07-13 13:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357634 -3.16376)'), GeomFromEWKT('SRID=4674;POINT (-39.357727 -3.163792)'))) / (select extract(epoch from '2026-07-13 13:44:32'::timestamp) - extract(epoch from '2026-07-13 13:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.357826 -3.163811)', '2026-07-13 13:44:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357727 -3.163792)'), GeomFromEWKT('SRID=4674;POINT (-39.357826 -3.163811)'))) / (select extract(epoch from '2026-07-13 13:44:37'::timestamp) - extract(epoch from '2026-07-13 13:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357727 -3.163792)'), GeomFromEWKT('SRID=4674;POINT (-39.357826 -3.163811)'))) / (select extract(epoch from '2026-07-13 13:44:37'::timestamp) - extract(epoch from '2026-07-13 13:44: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'), 47511, 'SRID=4674;POINT (-39.357979 -3.163848)', '2026-07-13 13:44:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357826 -3.163811)'), GeomFromEWKT('SRID=4674;POINT (-39.357979 -3.163848)'))) / (select extract(epoch from '2026-07-13 13:44:44'::timestamp) - extract(epoch from '2026-07-13 13:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357826 -3.163811)'), GeomFromEWKT('SRID=4674;POINT (-39.357979 -3.163848)'))) / (select extract(epoch from '2026-07-13 13:44:44'::timestamp) - extract(epoch from '2026-07-13 13:44:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.358088 -3.163881)', '2026-07-13 13:44:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357979 -3.163848)'), GeomFromEWKT('SRID=4674;POINT (-39.358088 -3.163881)'))) / (select extract(epoch from '2026-07-13 13:44:49'::timestamp) - extract(epoch from '2026-07-13 13:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357979 -3.163848)'), GeomFromEWKT('SRID=4674;POINT (-39.358088 -3.163881)'))) / (select extract(epoch from '2026-07-13 13:44:49'::timestamp) - extract(epoch from '2026-07-13 13:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.358191 -3.163918)', '2026-07-13 13:44:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358088 -3.163881)'), GeomFromEWKT('SRID=4674;POINT (-39.358191 -3.163918)'))) / (select extract(epoch from '2026-07-13 13:44:54'::timestamp) - extract(epoch from '2026-07-13 13:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358088 -3.163881)'), GeomFromEWKT('SRID=4674;POINT (-39.358191 -3.163918)'))) / (select extract(epoch from '2026-07-13 13:44:54'::timestamp) - extract(epoch from '2026-07-13 13:44:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.358296 -3.163955)', '2026-07-13 13:45:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358191 -3.163918)'), GeomFromEWKT('SRID=4674;POINT (-39.358296 -3.163955)'))) / (select extract(epoch from '2026-07-13 13:45:00'::timestamp) - extract(epoch from '2026-07-13 13:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358191 -3.163918)'), GeomFromEWKT('SRID=4674;POINT (-39.358296 -3.163955)'))) / (select extract(epoch from '2026-07-13 13:45:00'::timestamp) - extract(epoch from '2026-07-13 13:44: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'), 47511, 'SRID=4674;POINT (-39.358436 -3.163979)', '2026-07-13 13:45:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358296 -3.163955)'), GeomFromEWKT('SRID=4674;POINT (-39.358436 -3.163979)'))) / (select extract(epoch from '2026-07-13 13:45:07'::timestamp) - extract(epoch from '2026-07-13 13:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358296 -3.163955)'), GeomFromEWKT('SRID=4674;POINT (-39.358436 -3.163979)'))) / (select extract(epoch from '2026-07-13 13:45:07'::timestamp) - extract(epoch from '2026-07-13 13:45:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.358576 -3.164012)', '2026-07-13 13:45:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358436 -3.163979)'), GeomFromEWKT('SRID=4674;POINT (-39.358576 -3.164012)'))) / (select extract(epoch from '2026-07-13 13:45:14'::timestamp) - extract(epoch from '2026-07-13 13:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358436 -3.163979)'), GeomFromEWKT('SRID=4674;POINT (-39.358576 -3.164012)'))) / (select extract(epoch from '2026-07-13 13:45:14'::timestamp) - extract(epoch from '2026-07-13 13:45: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'), 47511, 'SRID=4674;POINT (-39.358726 -3.164059)', '2026-07-13 13:45:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358576 -3.164012)'), GeomFromEWKT('SRID=4674;POINT (-39.358726 -3.164059)'))) / (select extract(epoch from '2026-07-13 13:45:22'::timestamp) - extract(epoch from '2026-07-13 13:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358576 -3.164012)'), GeomFromEWKT('SRID=4674;POINT (-39.358726 -3.164059)'))) / (select extract(epoch from '2026-07-13 13:45:22'::timestamp) - extract(epoch from '2026-07-13 13:45:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.358892 -3.164101)', '2026-07-13 13:45:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358726 -3.164059)'), GeomFromEWKT('SRID=4674;POINT (-39.358892 -3.164101)'))) / (select extract(epoch from '2026-07-13 13:45:30'::timestamp) - extract(epoch from '2026-07-13 13:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358726 -3.164059)'), GeomFromEWKT('SRID=4674;POINT (-39.358892 -3.164101)'))) / (select extract(epoch from '2026-07-13 13:45:30'::timestamp) - extract(epoch from '2026-07-13 13:45:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.359062 -3.164141)', '2026-07-13 13:45:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358892 -3.164101)'), GeomFromEWKT('SRID=4674;POINT (-39.359062 -3.164141)'))) / (select extract(epoch from '2026-07-13 13:45:39'::timestamp) - extract(epoch from '2026-07-13 13:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358892 -3.164101)'), GeomFromEWKT('SRID=4674;POINT (-39.359062 -3.164141)'))) / (select extract(epoch from '2026-07-13 13:45:39'::timestamp) - extract(epoch from '2026-07-13 13:45:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.359202 -3.16417)', '2026-07-13 13:45:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359062 -3.164141)'), GeomFromEWKT('SRID=4674;POINT (-39.359202 -3.16417)'))) / (select extract(epoch from '2026-07-13 13:45:47'::timestamp) - extract(epoch from '2026-07-13 13:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359062 -3.164141)'), GeomFromEWKT('SRID=4674;POINT (-39.359202 -3.16417)'))) / (select extract(epoch from '2026-07-13 13:45:47'::timestamp) - extract(epoch from '2026-07-13 13:45: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'), 47511, 'SRID=4674;POINT (-39.359352 -3.164209)', '2026-07-13 13:45:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359202 -3.16417)'), GeomFromEWKT('SRID=4674;POINT (-39.359352 -3.164209)'))) / (select extract(epoch from '2026-07-13 13:45:54'::timestamp) - extract(epoch from '2026-07-13 13:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359202 -3.16417)'), GeomFromEWKT('SRID=4674;POINT (-39.359352 -3.164209)'))) / (select extract(epoch from '2026-07-13 13:45:54'::timestamp) - extract(epoch from '2026-07-13 13:45: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'), 47511, 'SRID=4674;POINT (-39.359519 -3.164285)', '2026-07-13 13:46:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359352 -3.164209)'), GeomFromEWKT('SRID=4674;POINT (-39.359519 -3.164285)'))) / (select extract(epoch from '2026-07-13 13:46:03'::timestamp) - extract(epoch from '2026-07-13 13:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359352 -3.164209)'), GeomFromEWKT('SRID=4674;POINT (-39.359519 -3.164285)'))) / (select extract(epoch from '2026-07-13 13:46:03'::timestamp) - extract(epoch from '2026-07-13 13:45:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.3597 -3.164347)', '2026-07-13 13:46:13', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359519 -3.164285)'), GeomFromEWKT('SRID=4674;POINT (-39.3597 -3.164347)'))) / (select extract(epoch from '2026-07-13 13:46:13'::timestamp) - extract(epoch from '2026-07-13 13:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359519 -3.164285)'), GeomFromEWKT('SRID=4674;POINT (-39.3597 -3.164347)'))) / (select extract(epoch from '2026-07-13 13:46:13'::timestamp) - extract(epoch from '2026-07-13 13:46:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.359834 -3.164408)', '2026-07-13 13:46:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3597 -3.164347)'), GeomFromEWKT('SRID=4674;POINT (-39.359834 -3.164408)'))) / (select extract(epoch from '2026-07-13 13:46:20'::timestamp) - extract(epoch from '2026-07-13 13:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3597 -3.164347)'), GeomFromEWKT('SRID=4674;POINT (-39.359834 -3.164408)'))) / (select extract(epoch from '2026-07-13 13:46:20'::timestamp) - extract(epoch from '2026-07-13 13:46: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'), 47511, 'SRID=4674;POINT (-39.359973 -3.16445)', '2026-07-13 13:46:27', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359834 -3.164408)'), GeomFromEWKT('SRID=4674;POINT (-39.359973 -3.16445)'))) / (select extract(epoch from '2026-07-13 13:46:27'::timestamp) - extract(epoch from '2026-07-13 13:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359834 -3.164408)'), GeomFromEWKT('SRID=4674;POINT (-39.359973 -3.16445)'))) / (select extract(epoch from '2026-07-13 13:46:27'::timestamp) - extract(epoch from '2026-07-13 13:46: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'), 47511, 'SRID=4674;POINT (-39.360079 -3.164504)', '2026-07-13 13:46:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359973 -3.16445)'), GeomFromEWKT('SRID=4674;POINT (-39.360079 -3.164504)'))) / (select extract(epoch from '2026-07-13 13:46:34'::timestamp) - extract(epoch from '2026-07-13 13:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359973 -3.16445)'), GeomFromEWKT('SRID=4674;POINT (-39.360079 -3.164504)'))) / (select extract(epoch from '2026-07-13 13:46:34'::timestamp) - extract(epoch from '2026-07-13 13:46: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'), 47511, 'SRID=4674;POINT (-39.36022 -3.16458)', '2026-07-13 13:46:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360079 -3.164504)'), GeomFromEWKT('SRID=4674;POINT (-39.36022 -3.16458)'))) / (select extract(epoch from '2026-07-13 13:46:42'::timestamp) - extract(epoch from '2026-07-13 13:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360079 -3.164504)'), GeomFromEWKT('SRID=4674;POINT (-39.36022 -3.16458)'))) / (select extract(epoch from '2026-07-13 13:46:42'::timestamp) - extract(epoch from '2026-07-13 13:46: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'), 47511, 'SRID=4674;POINT (-39.360356 -3.164618)', '2026-07-13 13:46:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36022 -3.16458)'), GeomFromEWKT('SRID=4674;POINT (-39.360356 -3.164618)'))) / (select extract(epoch from '2026-07-13 13:46:49'::timestamp) - extract(epoch from '2026-07-13 13:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36022 -3.16458)'), GeomFromEWKT('SRID=4674;POINT (-39.360356 -3.164618)'))) / (select extract(epoch from '2026-07-13 13:46:49'::timestamp) - extract(epoch from '2026-07-13 13:46: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'), 47511, 'SRID=4674;POINT (-39.360504 -3.164645)', '2026-07-13 13:46:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360356 -3.164618)'), GeomFromEWKT('SRID=4674;POINT (-39.360504 -3.164645)'))) / (select extract(epoch from '2026-07-13 13:46:56'::timestamp) - extract(epoch from '2026-07-13 13:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360356 -3.164618)'), GeomFromEWKT('SRID=4674;POINT (-39.360504 -3.164645)'))) / (select extract(epoch from '2026-07-13 13:46:56'::timestamp) - extract(epoch from '2026-07-13 13:46: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'), 47511, 'SRID=4674;POINT (-39.360657 -3.164685)', '2026-07-13 13:47:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360504 -3.164645)'), GeomFromEWKT('SRID=4674;POINT (-39.360657 -3.164685)'))) / (select extract(epoch from '2026-07-13 13:47:04'::timestamp) - extract(epoch from '2026-07-13 13:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360504 -3.164645)'), GeomFromEWKT('SRID=4674;POINT (-39.360657 -3.164685)'))) / (select extract(epoch from '2026-07-13 13:47:04'::timestamp) - extract(epoch from '2026-07-13 13:46: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'), 47511, 'SRID=4674;POINT (-39.360799 -3.16473)', '2026-07-13 13:47:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360657 -3.164685)'), GeomFromEWKT('SRID=4674;POINT (-39.360799 -3.16473)'))) / (select extract(epoch from '2026-07-13 13:47:11'::timestamp) - extract(epoch from '2026-07-13 13:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360657 -3.164685)'), GeomFromEWKT('SRID=4674;POINT (-39.360799 -3.16473)'))) / (select extract(epoch from '2026-07-13 13:47:11'::timestamp) - extract(epoch from '2026-07-13 13:47: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'), 47511, 'SRID=4674;POINT (-39.360977 -3.164777)', '2026-07-13 13:47:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360799 -3.16473)'), GeomFromEWKT('SRID=4674;POINT (-39.360977 -3.164777)'))) / (select extract(epoch from '2026-07-13 13:47:19'::timestamp) - extract(epoch from '2026-07-13 13:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360799 -3.16473)'), GeomFromEWKT('SRID=4674;POINT (-39.360977 -3.164777)'))) / (select extract(epoch from '2026-07-13 13:47:19'::timestamp) - extract(epoch from '2026-07-13 13:47:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.361134 -3.164814)', '2026-07-13 13:47:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360977 -3.164777)'), GeomFromEWKT('SRID=4674;POINT (-39.361134 -3.164814)'))) / (select extract(epoch from '2026-07-13 13:47:27'::timestamp) - extract(epoch from '2026-07-13 13:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360977 -3.164777)'), GeomFromEWKT('SRID=4674;POINT (-39.361134 -3.164814)'))) / (select extract(epoch from '2026-07-13 13:47:27'::timestamp) - extract(epoch from '2026-07-13 13:47:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.361293 -3.164848)', '2026-07-13 13:47:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361134 -3.164814)'), GeomFromEWKT('SRID=4674;POINT (-39.361293 -3.164848)'))) / (select extract(epoch from '2026-07-13 13:47:35'::timestamp) - extract(epoch from '2026-07-13 13:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361134 -3.164814)'), GeomFromEWKT('SRID=4674;POINT (-39.361293 -3.164848)'))) / (select extract(epoch from '2026-07-13 13:47:35'::timestamp) - extract(epoch from '2026-07-13 13:47:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.361436 -3.164902)', '2026-07-13 13:47:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361293 -3.164848)'), GeomFromEWKT('SRID=4674;POINT (-39.361436 -3.164902)'))) / (select extract(epoch from '2026-07-13 13:47:42'::timestamp) - extract(epoch from '2026-07-13 13:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361293 -3.164848)'), GeomFromEWKT('SRID=4674;POINT (-39.361436 -3.164902)'))) / (select extract(epoch from '2026-07-13 13:47:42'::timestamp) - extract(epoch from '2026-07-13 13:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.36158 -3.164962)', '2026-07-13 13:47:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361436 -3.164902)'), GeomFromEWKT('SRID=4674;POINT (-39.36158 -3.164962)'))) / (select extract(epoch from '2026-07-13 13:47:49'::timestamp) - extract(epoch from '2026-07-13 13:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361436 -3.164902)'), GeomFromEWKT('SRID=4674;POINT (-39.36158 -3.164962)'))) / (select extract(epoch from '2026-07-13 13:47:49'::timestamp) - extract(epoch from '2026-07-13 13:47:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.361737 -3.165013)', '2026-07-13 13:47:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36158 -3.164962)'), GeomFromEWKT('SRID=4674;POINT (-39.361737 -3.165013)'))) / (select extract(epoch from '2026-07-13 13:47:57'::timestamp) - extract(epoch from '2026-07-13 13:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36158 -3.164962)'), GeomFromEWKT('SRID=4674;POINT (-39.361737 -3.165013)'))) / (select extract(epoch from '2026-07-13 13:47:57'::timestamp) - extract(epoch from '2026-07-13 13:47:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.361874 -3.165065)', '2026-07-13 13:48:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361737 -3.165013)'), GeomFromEWKT('SRID=4674;POINT (-39.361874 -3.165065)'))) / (select extract(epoch from '2026-07-13 13:48:04'::timestamp) - extract(epoch from '2026-07-13 13:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361737 -3.165013)'), GeomFromEWKT('SRID=4674;POINT (-39.361874 -3.165065)'))) / (select extract(epoch from '2026-07-13 13:48:04'::timestamp) - extract(epoch from '2026-07-13 13:47: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'), 47511, 'SRID=4674;POINT (-39.361969 -3.165089)', '2026-07-13 13:48:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361874 -3.165065)'), GeomFromEWKT('SRID=4674;POINT (-39.361969 -3.165089)'))) / (select extract(epoch from '2026-07-13 13:48:09'::timestamp) - extract(epoch from '2026-07-13 13:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361874 -3.165065)'), GeomFromEWKT('SRID=4674;POINT (-39.361969 -3.165089)'))) / (select extract(epoch from '2026-07-13 13:48:09'::timestamp) - extract(epoch from '2026-07-13 13:48:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.362089 -3.165141)', '2026-07-13 13:48:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361969 -3.165089)'), GeomFromEWKT('SRID=4674;POINT (-39.362089 -3.165141)'))) / (select extract(epoch from '2026-07-13 13:48:16'::timestamp) - extract(epoch from '2026-07-13 13:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361969 -3.165089)'), GeomFromEWKT('SRID=4674;POINT (-39.362089 -3.165141)'))) / (select extract(epoch from '2026-07-13 13:48:16'::timestamp) - extract(epoch from '2026-07-13 13:48:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.362192 -3.165175)', '2026-07-13 13:48:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362089 -3.165141)'), GeomFromEWKT('SRID=4674;POINT (-39.362192 -3.165175)'))) / (select extract(epoch from '2026-07-13 13:48:22'::timestamp) - extract(epoch from '2026-07-13 13:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362089 -3.165141)'), GeomFromEWKT('SRID=4674;POINT (-39.362192 -3.165175)'))) / (select extract(epoch from '2026-07-13 13:48:22'::timestamp) - extract(epoch from '2026-07-13 13:48:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.362301 -3.16521)', '2026-07-13 13:48:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362192 -3.165175)'), GeomFromEWKT('SRID=4674;POINT (-39.362301 -3.16521)'))) / (select extract(epoch from '2026-07-13 13:48:28'::timestamp) - extract(epoch from '2026-07-13 13:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362192 -3.165175)'), GeomFromEWKT('SRID=4674;POINT (-39.362301 -3.16521)'))) / (select extract(epoch from '2026-07-13 13:48:28'::timestamp) - extract(epoch from '2026-07-13 13:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.36245 -3.165259)', '2026-07-13 13:48:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362301 -3.16521)'), GeomFromEWKT('SRID=4674;POINT (-39.36245 -3.165259)'))) / (select extract(epoch from '2026-07-13 13:48:36'::timestamp) - extract(epoch from '2026-07-13 13:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362301 -3.16521)'), GeomFromEWKT('SRID=4674;POINT (-39.36245 -3.165259)'))) / (select extract(epoch from '2026-07-13 13:48:36'::timestamp) - extract(epoch from '2026-07-13 13:48: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'), 47511, 'SRID=4674;POINT (-39.362585 -3.165285)', '2026-07-13 13:48:43', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36245 -3.165259)'), GeomFromEWKT('SRID=4674;POINT (-39.362585 -3.165285)'))) / (select extract(epoch from '2026-07-13 13:48:43'::timestamp) - extract(epoch from '2026-07-13 13:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36245 -3.165259)'), GeomFromEWKT('SRID=4674;POINT (-39.362585 -3.165285)'))) / (select extract(epoch from '2026-07-13 13:48:43'::timestamp) - extract(epoch from '2026-07-13 13:48:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.362735 -3.165315)', '2026-07-13 13:48:50', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362585 -3.165285)'), GeomFromEWKT('SRID=4674;POINT (-39.362735 -3.165315)'))) / (select extract(epoch from '2026-07-13 13:48:50'::timestamp) - extract(epoch from '2026-07-13 13:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362585 -3.165285)'), GeomFromEWKT('SRID=4674;POINT (-39.362735 -3.165315)'))) / (select extract(epoch from '2026-07-13 13:48:50'::timestamp) - extract(epoch from '2026-07-13 13:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.362841 -3.165362)', '2026-07-13 13:48:56', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362735 -3.165315)'), GeomFromEWKT('SRID=4674;POINT (-39.362841 -3.165362)'))) / (select extract(epoch from '2026-07-13 13:48:56'::timestamp) - extract(epoch from '2026-07-13 13:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362735 -3.165315)'), GeomFromEWKT('SRID=4674;POINT (-39.362841 -3.165362)'))) / (select extract(epoch from '2026-07-13 13:48:56'::timestamp) - extract(epoch from '2026-07-13 13:48:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.362942 -3.165394)', '2026-07-13 13:49:02', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362841 -3.165362)'), GeomFromEWKT('SRID=4674;POINT (-39.362942 -3.165394)'))) / (select extract(epoch from '2026-07-13 13:49:02'::timestamp) - extract(epoch from '2026-07-13 13:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362841 -3.165362)'), GeomFromEWKT('SRID=4674;POINT (-39.362942 -3.165394)'))) / (select extract(epoch from '2026-07-13 13:49:02'::timestamp) - extract(epoch from '2026-07-13 13:48:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.363064 -3.165425)', '2026-07-13 13:49:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362942 -3.165394)'), GeomFromEWKT('SRID=4674;POINT (-39.363064 -3.165425)'))) / (select extract(epoch from '2026-07-13 13:49:07'::timestamp) - extract(epoch from '2026-07-13 13:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362942 -3.165394)'), GeomFromEWKT('SRID=4674;POINT (-39.363064 -3.165425)'))) / (select extract(epoch from '2026-07-13 13:49:07'::timestamp) - extract(epoch from '2026-07-13 13:49:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.363189 -3.165478)', '2026-07-13 13:49:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363064 -3.165425)'), GeomFromEWKT('SRID=4674;POINT (-39.363189 -3.165478)'))) / (select extract(epoch from '2026-07-13 13:49:13'::timestamp) - extract(epoch from '2026-07-13 13:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363064 -3.165425)'), GeomFromEWKT('SRID=4674;POINT (-39.363189 -3.165478)'))) / (select extract(epoch from '2026-07-13 13:49:13'::timestamp) - extract(epoch from '2026-07-13 13:49: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'), 47511, 'SRID=4674;POINT (-39.363286 -3.165526)', '2026-07-13 13:49:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363189 -3.165478)'), GeomFromEWKT('SRID=4674;POINT (-39.363286 -3.165526)'))) / (select extract(epoch from '2026-07-13 13:49:19'::timestamp) - extract(epoch from '2026-07-13 13:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363189 -3.165478)'), GeomFromEWKT('SRID=4674;POINT (-39.363286 -3.165526)'))) / (select extract(epoch from '2026-07-13 13:49:19'::timestamp) - extract(epoch from '2026-07-13 13:49: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'), 47511, 'SRID=4674;POINT (-39.363396 -3.16556)', '2026-07-13 13:49:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363286 -3.165526)'), GeomFromEWKT('SRID=4674;POINT (-39.363396 -3.16556)'))) / (select extract(epoch from '2026-07-13 13:49:25'::timestamp) - extract(epoch from '2026-07-13 13:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363286 -3.165526)'), GeomFromEWKT('SRID=4674;POINT (-39.363396 -3.16556)'))) / (select extract(epoch from '2026-07-13 13:49:25'::timestamp) - extract(epoch from '2026-07-13 13:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.36353 -3.165616)', '2026-07-13 13:49:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363396 -3.16556)'), GeomFromEWKT('SRID=4674;POINT (-39.36353 -3.165616)'))) / (select extract(epoch from '2026-07-13 13:49:32'::timestamp) - extract(epoch from '2026-07-13 13:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363396 -3.16556)'), GeomFromEWKT('SRID=4674;POINT (-39.36353 -3.165616)'))) / (select extract(epoch from '2026-07-13 13:49:32'::timestamp) - extract(epoch from '2026-07-13 13:49: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'), 47511, 'SRID=4674;POINT (-39.363665 -3.165676)', '2026-07-13 13:49:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36353 -3.165616)'), GeomFromEWKT('SRID=4674;POINT (-39.363665 -3.165676)'))) / (select extract(epoch from '2026-07-13 13:49:39'::timestamp) - extract(epoch from '2026-07-13 13:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36353 -3.165616)'), GeomFromEWKT('SRID=4674;POINT (-39.363665 -3.165676)'))) / (select extract(epoch from '2026-07-13 13:49:39'::timestamp) - extract(epoch from '2026-07-13 13:49: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'), 47511, 'SRID=4674;POINT (-39.363802 -3.165716)', '2026-07-13 13:49:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363665 -3.165676)'), GeomFromEWKT('SRID=4674;POINT (-39.363802 -3.165716)'))) / (select extract(epoch from '2026-07-13 13:49:46'::timestamp) - extract(epoch from '2026-07-13 13:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363665 -3.165676)'), GeomFromEWKT('SRID=4674;POINT (-39.363802 -3.165716)'))) / (select extract(epoch from '2026-07-13 13:49:46'::timestamp) - extract(epoch from '2026-07-13 13:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.363941 -3.165758)', '2026-07-13 13:49:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363802 -3.165716)'), GeomFromEWKT('SRID=4674;POINT (-39.363941 -3.165758)'))) / (select extract(epoch from '2026-07-13 13:49:53'::timestamp) - extract(epoch from '2026-07-13 13:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363802 -3.165716)'), GeomFromEWKT('SRID=4674;POINT (-39.363941 -3.165758)'))) / (select extract(epoch from '2026-07-13 13:49:53'::timestamp) - extract(epoch from '2026-07-13 13:49: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'), 47511, 'SRID=4674;POINT (-39.36406 -3.165792)', '2026-07-13 13:49:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363941 -3.165758)'), GeomFromEWKT('SRID=4674;POINT (-39.36406 -3.165792)'))) / (select extract(epoch from '2026-07-13 13:49:59'::timestamp) - extract(epoch from '2026-07-13 13:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363941 -3.165758)'), GeomFromEWKT('SRID=4674;POINT (-39.36406 -3.165792)'))) / (select extract(epoch from '2026-07-13 13:49:59'::timestamp) - extract(epoch from '2026-07-13 13:49: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'), 47511, 'SRID=4674;POINT (-39.364229 -3.16584)', '2026-07-13 13:50:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36406 -3.165792)'), GeomFromEWKT('SRID=4674;POINT (-39.364229 -3.16584)'))) / (select extract(epoch from '2026-07-13 13:50:07'::timestamp) - extract(epoch from '2026-07-13 13:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36406 -3.165792)'), GeomFromEWKT('SRID=4674;POINT (-39.364229 -3.16584)'))) / (select extract(epoch from '2026-07-13 13:50:07'::timestamp) - extract(epoch from '2026-07-13 13:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.364351 -3.165873)', '2026-07-13 13:50:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364229 -3.16584)'), GeomFromEWKT('SRID=4674;POINT (-39.364351 -3.165873)'))) / (select extract(epoch from '2026-07-13 13:50:13'::timestamp) - extract(epoch from '2026-07-13 13:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364229 -3.16584)'), GeomFromEWKT('SRID=4674;POINT (-39.364351 -3.165873)'))) / (select extract(epoch from '2026-07-13 13:50:13'::timestamp) - extract(epoch from '2026-07-13 13:50: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'), 47511, 'SRID=4674;POINT (-39.364483 -3.165902)', '2026-07-13 13:50:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364351 -3.165873)'), GeomFromEWKT('SRID=4674;POINT (-39.364483 -3.165902)'))) / (select extract(epoch from '2026-07-13 13:50:20'::timestamp) - extract(epoch from '2026-07-13 13:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364351 -3.165873)'), GeomFromEWKT('SRID=4674;POINT (-39.364483 -3.165902)'))) / (select extract(epoch from '2026-07-13 13:50:20'::timestamp) - extract(epoch from '2026-07-13 13:50:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.364597 -3.165944)', '2026-07-13 13:50:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364483 -3.165902)'), GeomFromEWKT('SRID=4674;POINT (-39.364597 -3.165944)'))) / (select extract(epoch from '2026-07-13 13:50:26'::timestamp) - extract(epoch from '2026-07-13 13:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364483 -3.165902)'), GeomFromEWKT('SRID=4674;POINT (-39.364597 -3.165944)'))) / (select extract(epoch from '2026-07-13 13:50:26'::timestamp) - extract(epoch from '2026-07-13 13:50:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.364688 -3.165965)', '2026-07-13 13:50:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364597 -3.165944)'), GeomFromEWKT('SRID=4674;POINT (-39.364688 -3.165965)'))) / (select extract(epoch from '2026-07-13 13:50:31'::timestamp) - extract(epoch from '2026-07-13 13:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364597 -3.165944)'), GeomFromEWKT('SRID=4674;POINT (-39.364688 -3.165965)'))) / (select extract(epoch from '2026-07-13 13:50:31'::timestamp) - extract(epoch from '2026-07-13 13:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.364794 -3.165989)', '2026-07-13 13:50:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364688 -3.165965)'), GeomFromEWKT('SRID=4674;POINT (-39.364794 -3.165989)'))) / (select extract(epoch from '2026-07-13 13:50:36'::timestamp) - extract(epoch from '2026-07-13 13:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364688 -3.165965)'), GeomFromEWKT('SRID=4674;POINT (-39.364794 -3.165989)'))) / (select extract(epoch from '2026-07-13 13:50:36'::timestamp) - extract(epoch from '2026-07-13 13:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.364934 -3.166019)', '2026-07-13 13:50:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364794 -3.165989)'), GeomFromEWKT('SRID=4674;POINT (-39.364934 -3.166019)'))) / (select extract(epoch from '2026-07-13 13:50:43'::timestamp) - extract(epoch from '2026-07-13 13:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364794 -3.165989)'), GeomFromEWKT('SRID=4674;POINT (-39.364934 -3.166019)'))) / (select extract(epoch from '2026-07-13 13:50:43'::timestamp) - extract(epoch from '2026-07-13 13:50: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'), 47511, 'SRID=4674;POINT (-39.365061 -3.166058)', '2026-07-13 13:50:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364934 -3.166019)'), GeomFromEWKT('SRID=4674;POINT (-39.365061 -3.166058)'))) / (select extract(epoch from '2026-07-13 13:50:50'::timestamp) - extract(epoch from '2026-07-13 13:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364934 -3.166019)'), GeomFromEWKT('SRID=4674;POINT (-39.365061 -3.166058)'))) / (select extract(epoch from '2026-07-13 13:50:50'::timestamp) - extract(epoch from '2026-07-13 13:50:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.365193 -3.166106)', '2026-07-13 13:50:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365061 -3.166058)'), GeomFromEWKT('SRID=4674;POINT (-39.365193 -3.166106)'))) / (select extract(epoch from '2026-07-13 13:50:57'::timestamp) - extract(epoch from '2026-07-13 13:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365061 -3.166058)'), GeomFromEWKT('SRID=4674;POINT (-39.365193 -3.166106)'))) / (select extract(epoch from '2026-07-13 13:50:57'::timestamp) - extract(epoch from '2026-07-13 13:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.36533 -3.166151)', '2026-07-13 13:51:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365193 -3.166106)'), GeomFromEWKT('SRID=4674;POINT (-39.36533 -3.166151)'))) / (select extract(epoch from '2026-07-13 13:51:04'::timestamp) - extract(epoch from '2026-07-13 13:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365193 -3.166106)'), GeomFromEWKT('SRID=4674;POINT (-39.36533 -3.166151)'))) / (select extract(epoch from '2026-07-13 13:51:04'::timestamp) - extract(epoch from '2026-07-13 13:50: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'), 47511, 'SRID=4674;POINT (-39.365444 -3.166192)', '2026-07-13 13:51:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36533 -3.166151)'), GeomFromEWKT('SRID=4674;POINT (-39.365444 -3.166192)'))) / (select extract(epoch from '2026-07-13 13:51:10'::timestamp) - extract(epoch from '2026-07-13 13:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36533 -3.166151)'), GeomFromEWKT('SRID=4674;POINT (-39.365444 -3.166192)'))) / (select extract(epoch from '2026-07-13 13:51:10'::timestamp) - extract(epoch from '2026-07-13 13:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.365568 -3.16622)', '2026-07-13 13:51:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365444 -3.166192)'), GeomFromEWKT('SRID=4674;POINT (-39.365568 -3.16622)'))) / (select extract(epoch from '2026-07-13 13:51:16'::timestamp) - extract(epoch from '2026-07-13 13:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365444 -3.166192)'), GeomFromEWKT('SRID=4674;POINT (-39.365568 -3.16622)'))) / (select extract(epoch from '2026-07-13 13:51:16'::timestamp) - extract(epoch from '2026-07-13 13:51: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'), 47511, 'SRID=4674;POINT (-39.365709 -3.166253)', '2026-07-13 13:51:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365568 -3.16622)'), GeomFromEWKT('SRID=4674;POINT (-39.365709 -3.166253)'))) / (select extract(epoch from '2026-07-13 13:51:23'::timestamp) - extract(epoch from '2026-07-13 13:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365568 -3.16622)'), GeomFromEWKT('SRID=4674;POINT (-39.365709 -3.166253)'))) / (select extract(epoch from '2026-07-13 13:51:23'::timestamp) - extract(epoch from '2026-07-13 13:51: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'), 47511, 'SRID=4674;POINT (-39.365843 -3.166294)', '2026-07-13 13:51:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365709 -3.166253)'), GeomFromEWKT('SRID=4674;POINT (-39.365843 -3.166294)'))) / (select extract(epoch from '2026-07-13 13:51:29'::timestamp) - extract(epoch from '2026-07-13 13:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365709 -3.166253)'), GeomFromEWKT('SRID=4674;POINT (-39.365843 -3.166294)'))) / (select extract(epoch from '2026-07-13 13:51:29'::timestamp) - extract(epoch from '2026-07-13 13:51: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'), 47511, 'SRID=4674;POINT (-39.365963 -3.166322)', '2026-07-13 13:51:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365843 -3.166294)'), GeomFromEWKT('SRID=4674;POINT (-39.365963 -3.166322)'))) / (select extract(epoch from '2026-07-13 13:51:35'::timestamp) - extract(epoch from '2026-07-13 13:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365843 -3.166294)'), GeomFromEWKT('SRID=4674;POINT (-39.365963 -3.166322)'))) / (select extract(epoch from '2026-07-13 13:51:35'::timestamp) - extract(epoch from '2026-07-13 13:51: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'), 47511, 'SRID=4674;POINT (-39.366082 -3.166359)', '2026-07-13 13:51:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365963 -3.166322)'), GeomFromEWKT('SRID=4674;POINT (-39.366082 -3.166359)'))) / (select extract(epoch from '2026-07-13 13:51:41'::timestamp) - extract(epoch from '2026-07-13 13:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365963 -3.166322)'), GeomFromEWKT('SRID=4674;POINT (-39.366082 -3.166359)'))) / (select extract(epoch from '2026-07-13 13:51:41'::timestamp) - extract(epoch from '2026-07-13 13:51: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'), 47511, 'SRID=4674;POINT (-39.366202 -3.166409)', '2026-07-13 13:51:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366082 -3.166359)'), GeomFromEWKT('SRID=4674;POINT (-39.366202 -3.166409)'))) / (select extract(epoch from '2026-07-13 13:51:47'::timestamp) - extract(epoch from '2026-07-13 13:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366082 -3.166359)'), GeomFromEWKT('SRID=4674;POINT (-39.366202 -3.166409)'))) / (select extract(epoch from '2026-07-13 13:51:47'::timestamp) - extract(epoch from '2026-07-13 13:51:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.366307 -3.166449)', '2026-07-13 13:51:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366202 -3.166409)'), GeomFromEWKT('SRID=4674;POINT (-39.366307 -3.166449)'))) / (select extract(epoch from '2026-07-13 13:51:52'::timestamp) - extract(epoch from '2026-07-13 13:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366202 -3.166409)'), GeomFromEWKT('SRID=4674;POINT (-39.366307 -3.166449)'))) / (select extract(epoch from '2026-07-13 13:51:52'::timestamp) - extract(epoch from '2026-07-13 13:51: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'), 47511, 'SRID=4674;POINT (-39.366425 -3.166481)', '2026-07-13 13:51:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366307 -3.166449)'), GeomFromEWKT('SRID=4674;POINT (-39.366425 -3.166481)'))) / (select extract(epoch from '2026-07-13 13:51:58'::timestamp) - extract(epoch from '2026-07-13 13:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366307 -3.166449)'), GeomFromEWKT('SRID=4674;POINT (-39.366425 -3.166481)'))) / (select extract(epoch from '2026-07-13 13:51:58'::timestamp) - extract(epoch from '2026-07-13 13:51:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.366512 -3.166512)', '2026-07-13 13:52:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366425 -3.166481)'), GeomFromEWKT('SRID=4674;POINT (-39.366512 -3.166512)'))) / (select extract(epoch from '2026-07-13 13:52:03'::timestamp) - extract(epoch from '2026-07-13 13:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366425 -3.166481)'), GeomFromEWKT('SRID=4674;POINT (-39.366512 -3.166512)'))) / (select extract(epoch from '2026-07-13 13:52:03'::timestamp) - extract(epoch from '2026-07-13 13:51: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'), 47511, 'SRID=4674;POINT (-39.366629 -3.166567)', '2026-07-13 13:52:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366512 -3.166512)'), GeomFromEWKT('SRID=4674;POINT (-39.366629 -3.166567)'))) / (select extract(epoch from '2026-07-13 13:52:09'::timestamp) - extract(epoch from '2026-07-13 13:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366512 -3.166512)'), GeomFromEWKT('SRID=4674;POINT (-39.366629 -3.166567)'))) / (select extract(epoch from '2026-07-13 13:52:09'::timestamp) - extract(epoch from '2026-07-13 13:52:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.366756 -3.166623)', '2026-07-13 13:52:16', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366629 -3.166567)'), GeomFromEWKT('SRID=4674;POINT (-39.366756 -3.166623)'))) / (select extract(epoch from '2026-07-13 13:52:16'::timestamp) - extract(epoch from '2026-07-13 13:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366629 -3.166567)'), GeomFromEWKT('SRID=4674;POINT (-39.366756 -3.166623)'))) / (select extract(epoch from '2026-07-13 13:52:16'::timestamp) - extract(epoch from '2026-07-13 13:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.366879 -3.166692)', '2026-07-13 13:52:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366756 -3.166623)'), GeomFromEWKT('SRID=4674;POINT (-39.366879 -3.166692)'))) / (select extract(epoch from '2026-07-13 13:52:23'::timestamp) - extract(epoch from '2026-07-13 13:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366756 -3.166623)'), GeomFromEWKT('SRID=4674;POINT (-39.366879 -3.166692)'))) / (select extract(epoch from '2026-07-13 13:52:23'::timestamp) - extract(epoch from '2026-07-13 13:52:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.367002 -3.166753)', '2026-07-13 13:52:30', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366879 -3.166692)'), GeomFromEWKT('SRID=4674;POINT (-39.367002 -3.166753)'))) / (select extract(epoch from '2026-07-13 13:52:30'::timestamp) - extract(epoch from '2026-07-13 13:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366879 -3.166692)'), GeomFromEWKT('SRID=4674;POINT (-39.367002 -3.166753)'))) / (select extract(epoch from '2026-07-13 13:52:30'::timestamp) - extract(epoch from '2026-07-13 13:52: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'), 47511, 'SRID=4674;POINT (-39.367118 -3.166792)', '2026-07-13 13:52:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367002 -3.166753)'), GeomFromEWKT('SRID=4674;POINT (-39.367118 -3.166792)'))) / (select extract(epoch from '2026-07-13 13:52:36'::timestamp) - extract(epoch from '2026-07-13 13:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367002 -3.166753)'), GeomFromEWKT('SRID=4674;POINT (-39.367118 -3.166792)'))) / (select extract(epoch from '2026-07-13 13:52:36'::timestamp) - extract(epoch from '2026-07-13 13:52:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.367282 -3.166853)', '2026-07-13 13:52:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367118 -3.166792)'), GeomFromEWKT('SRID=4674;POINT (-39.367282 -3.166853)'))) / (select extract(epoch from '2026-07-13 13:52:44'::timestamp) - extract(epoch from '2026-07-13 13:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367118 -3.166792)'), GeomFromEWKT('SRID=4674;POINT (-39.367282 -3.166853)'))) / (select extract(epoch from '2026-07-13 13:52:44'::timestamp) - extract(epoch from '2026-07-13 13:52: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'), 47511, 'SRID=4674;POINT (-39.367394 -3.166903)', '2026-07-13 13:52:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367282 -3.166853)'), GeomFromEWKT('SRID=4674;POINT (-39.367394 -3.166903)'))) / (select extract(epoch from '2026-07-13 13:52:50'::timestamp) - extract(epoch from '2026-07-13 13:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367282 -3.166853)'), GeomFromEWKT('SRID=4674;POINT (-39.367394 -3.166903)'))) / (select extract(epoch from '2026-07-13 13:52:50'::timestamp) - extract(epoch from '2026-07-13 13:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.367555 -3.166982)', '2026-07-13 13:52:58', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367394 -3.166903)'), GeomFromEWKT('SRID=4674;POINT (-39.367555 -3.166982)'))) / (select extract(epoch from '2026-07-13 13:52:58'::timestamp) - extract(epoch from '2026-07-13 13:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367394 -3.166903)'), GeomFromEWKT('SRID=4674;POINT (-39.367555 -3.166982)'))) / (select extract(epoch from '2026-07-13 13:52:58'::timestamp) - extract(epoch from '2026-07-13 13:52: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'), 47511, 'SRID=4674;POINT (-39.367669 -3.167029)', '2026-07-13 13:53:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367555 -3.166982)'), GeomFromEWKT('SRID=4674;POINT (-39.367669 -3.167029)'))) / (select extract(epoch from '2026-07-13 13:53:04'::timestamp) - extract(epoch from '2026-07-13 13:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367555 -3.166982)'), GeomFromEWKT('SRID=4674;POINT (-39.367669 -3.167029)'))) / (select extract(epoch from '2026-07-13 13:53:04'::timestamp) - extract(epoch from '2026-07-13 13:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.367809 -3.167104)', '2026-07-13 13:53:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367669 -3.167029)'), GeomFromEWKT('SRID=4674;POINT (-39.367809 -3.167104)'))) / (select extract(epoch from '2026-07-13 13:53:12'::timestamp) - extract(epoch from '2026-07-13 13:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367669 -3.167029)'), GeomFromEWKT('SRID=4674;POINT (-39.367809 -3.167104)'))) / (select extract(epoch from '2026-07-13 13:53:12'::timestamp) - extract(epoch from '2026-07-13 13:53:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.367939 -3.16717)', '2026-07-13 13:53:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367809 -3.167104)'), GeomFromEWKT('SRID=4674;POINT (-39.367939 -3.16717)'))) / (select extract(epoch from '2026-07-13 13:53:19'::timestamp) - extract(epoch from '2026-07-13 13:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367809 -3.167104)'), GeomFromEWKT('SRID=4674;POINT (-39.367939 -3.16717)'))) / (select extract(epoch from '2026-07-13 13:53:19'::timestamp) - extract(epoch from '2026-07-13 13:53:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.368052 -3.167224)', '2026-07-13 13:53:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367939 -3.16717)'), GeomFromEWKT('SRID=4674;POINT (-39.368052 -3.167224)'))) / (select extract(epoch from '2026-07-13 13:53:25'::timestamp) - extract(epoch from '2026-07-13 13:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367939 -3.16717)'), GeomFromEWKT('SRID=4674;POINT (-39.368052 -3.167224)'))) / (select extract(epoch from '2026-07-13 13:53:25'::timestamp) - extract(epoch from '2026-07-13 13:53:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.368195 -3.167285)', '2026-07-13 13:53:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368052 -3.167224)'), GeomFromEWKT('SRID=4674;POINT (-39.368195 -3.167285)'))) / (select extract(epoch from '2026-07-13 13:53:33'::timestamp) - extract(epoch from '2026-07-13 13:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368052 -3.167224)'), GeomFromEWKT('SRID=4674;POINT (-39.368195 -3.167285)'))) / (select extract(epoch from '2026-07-13 13:53:33'::timestamp) - extract(epoch from '2026-07-13 13:53: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'), 47511, 'SRID=4674;POINT (-39.368278 -3.16732)', '2026-07-13 13:53:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368195 -3.167285)'), GeomFromEWKT('SRID=4674;POINT (-39.368278 -3.16732)'))) / (select extract(epoch from '2026-07-13 13:53:38'::timestamp) - extract(epoch from '2026-07-13 13:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368195 -3.167285)'), GeomFromEWKT('SRID=4674;POINT (-39.368278 -3.16732)'))) / (select extract(epoch from '2026-07-13 13:53:38'::timestamp) - extract(epoch from '2026-07-13 13:53: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'), 47511, 'SRID=4674;POINT (-39.368373 -3.167363)', '2026-07-13 13:53:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368278 -3.16732)'), GeomFromEWKT('SRID=4674;POINT (-39.368373 -3.167363)'))) / (select extract(epoch from '2026-07-13 13:53:43'::timestamp) - extract(epoch from '2026-07-13 13:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368278 -3.16732)'), GeomFromEWKT('SRID=4674;POINT (-39.368373 -3.167363)'))) / (select extract(epoch from '2026-07-13 13:53:43'::timestamp) - extract(epoch from '2026-07-13 13:53: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'), 47511, 'SRID=4674;POINT (-39.368474 -3.167423)', '2026-07-13 13:53:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368373 -3.167363)'), GeomFromEWKT('SRID=4674;POINT (-39.368474 -3.167423)'))) / (select extract(epoch from '2026-07-13 13:53:48'::timestamp) - extract(epoch from '2026-07-13 13:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368373 -3.167363)'), GeomFromEWKT('SRID=4674;POINT (-39.368474 -3.167423)'))) / (select extract(epoch from '2026-07-13 13:53:48'::timestamp) - extract(epoch from '2026-07-13 13:53:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.368557 -3.167468)', '2026-07-13 13:53:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368474 -3.167423)'), GeomFromEWKT('SRID=4674;POINT (-39.368557 -3.167468)'))) / (select extract(epoch from '2026-07-13 13:53:53'::timestamp) - extract(epoch from '2026-07-13 13:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368474 -3.167423)'), GeomFromEWKT('SRID=4674;POINT (-39.368557 -3.167468)'))) / (select extract(epoch from '2026-07-13 13:53:53'::timestamp) - extract(epoch from '2026-07-13 13:53:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.368688 -3.16754)', '2026-07-13 13:54:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368557 -3.167468)'), GeomFromEWKT('SRID=4674;POINT (-39.368688 -3.16754)'))) / (select extract(epoch from '2026-07-13 13:54:00'::timestamp) - extract(epoch from '2026-07-13 13:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368557 -3.167468)'), GeomFromEWKT('SRID=4674;POINT (-39.368688 -3.16754)'))) / (select extract(epoch from '2026-07-13 13:54:00'::timestamp) - extract(epoch from '2026-07-13 13:53:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.368792 -3.167598)', '2026-07-13 13:54:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368688 -3.16754)'), GeomFromEWKT('SRID=4674;POINT (-39.368792 -3.167598)'))) / (select extract(epoch from '2026-07-13 13:54:06'::timestamp) - extract(epoch from '2026-07-13 13:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368688 -3.16754)'), GeomFromEWKT('SRID=4674;POINT (-39.368792 -3.167598)'))) / (select extract(epoch from '2026-07-13 13:54:06'::timestamp) - extract(epoch from '2026-07-13 13:54: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'), 47511, 'SRID=4674;POINT (-39.368914 -3.16767)', '2026-07-13 13:54:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368792 -3.167598)'), GeomFromEWKT('SRID=4674;POINT (-39.368914 -3.16767)'))) / (select extract(epoch from '2026-07-13 13:54:13'::timestamp) - extract(epoch from '2026-07-13 13:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368792 -3.167598)'), GeomFromEWKT('SRID=4674;POINT (-39.368914 -3.16767)'))) / (select extract(epoch from '2026-07-13 13:54:13'::timestamp) - extract(epoch from '2026-07-13 13:54:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.369033 -3.167736)', '2026-07-13 13:54:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368914 -3.16767)'), GeomFromEWKT('SRID=4674;POINT (-39.369033 -3.167736)'))) / (select extract(epoch from '2026-07-13 13:54:20'::timestamp) - extract(epoch from '2026-07-13 13:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368914 -3.16767)'), GeomFromEWKT('SRID=4674;POINT (-39.369033 -3.167736)'))) / (select extract(epoch from '2026-07-13 13:54:20'::timestamp) - extract(epoch from '2026-07-13 13:54: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'), 47511, 'SRID=4674;POINT (-39.36919 -3.167834)', '2026-07-13 13:54:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369033 -3.167736)'), GeomFromEWKT('SRID=4674;POINT (-39.36919 -3.167834)'))) / (select extract(epoch from '2026-07-13 13:54:29'::timestamp) - extract(epoch from '2026-07-13 13:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369033 -3.167736)'), GeomFromEWKT('SRID=4674;POINT (-39.36919 -3.167834)'))) / (select extract(epoch from '2026-07-13 13:54:29'::timestamp) - extract(epoch from '2026-07-13 13:54:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.369293 -3.1679)', '2026-07-13 13:54:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36919 -3.167834)'), GeomFromEWKT('SRID=4674;POINT (-39.369293 -3.1679)'))) / (select extract(epoch from '2026-07-13 13:54:35'::timestamp) - extract(epoch from '2026-07-13 13:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36919 -3.167834)'), GeomFromEWKT('SRID=4674;POINT (-39.369293 -3.1679)'))) / (select extract(epoch from '2026-07-13 13:54:35'::timestamp) - extract(epoch from '2026-07-13 13:54: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'), 47511, 'SRID=4674;POINT (-39.369413 -3.167965)', '2026-07-13 13:54:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369293 -3.1679)'), GeomFromEWKT('SRID=4674;POINT (-39.369413 -3.167965)'))) / (select extract(epoch from '2026-07-13 13:54:42'::timestamp) - extract(epoch from '2026-07-13 13:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369293 -3.1679)'), GeomFromEWKT('SRID=4674;POINT (-39.369413 -3.167965)'))) / (select extract(epoch from '2026-07-13 13:54:42'::timestamp) - extract(epoch from '2026-07-13 13:54: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'), 47511, 'SRID=4674;POINT (-39.369508 -3.168017)', '2026-07-13 13:54:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369413 -3.167965)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.168017)'))) / (select extract(epoch from '2026-07-13 13:54:47'::timestamp) - extract(epoch from '2026-07-13 13:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369413 -3.167965)'), GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.168017)'))) / (select extract(epoch from '2026-07-13 13:54:47'::timestamp) - extract(epoch from '2026-07-13 13:54: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'), 47511, 'SRID=4674;POINT (-39.369638 -3.168077)', '2026-07-13 13:54:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.168017)'), GeomFromEWKT('SRID=4674;POINT (-39.369638 -3.168077)'))) / (select extract(epoch from '2026-07-13 13:54:54'::timestamp) - extract(epoch from '2026-07-13 13:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369508 -3.168017)'), GeomFromEWKT('SRID=4674;POINT (-39.369638 -3.168077)'))) / (select extract(epoch from '2026-07-13 13:54:54'::timestamp) - extract(epoch from '2026-07-13 13:54: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'), 47511, 'SRID=4674;POINT (-39.369786 -3.168139)', '2026-07-13 13:55:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369638 -3.168077)'), GeomFromEWKT('SRID=4674;POINT (-39.369786 -3.168139)'))) / (select extract(epoch from '2026-07-13 13:55:02'::timestamp) - extract(epoch from '2026-07-13 13:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369638 -3.168077)'), GeomFromEWKT('SRID=4674;POINT (-39.369786 -3.168139)'))) / (select extract(epoch from '2026-07-13 13:55:02'::timestamp) - extract(epoch from '2026-07-13 13:54:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.369918 -3.168207)', '2026-07-13 13:55:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369786 -3.168139)'), GeomFromEWKT('SRID=4674;POINT (-39.369918 -3.168207)'))) / (select extract(epoch from '2026-07-13 13:55:09'::timestamp) - extract(epoch from '2026-07-13 13:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369786 -3.168139)'), GeomFromEWKT('SRID=4674;POINT (-39.369918 -3.168207)'))) / (select extract(epoch from '2026-07-13 13:55:09'::timestamp) - extract(epoch from '2026-07-13 13:55: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'), 47511, 'SRID=4674;POINT (-39.370036 -3.168265)', '2026-07-13 13:55:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369918 -3.168207)'), GeomFromEWKT('SRID=4674;POINT (-39.370036 -3.168265)'))) / (select extract(epoch from '2026-07-13 13:55:15'::timestamp) - extract(epoch from '2026-07-13 13:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369918 -3.168207)'), GeomFromEWKT('SRID=4674;POINT (-39.370036 -3.168265)'))) / (select extract(epoch from '2026-07-13 13:55:15'::timestamp) - extract(epoch from '2026-07-13 13:55:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.370185 -3.168323)', '2026-07-13 13:55:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370036 -3.168265)'), GeomFromEWKT('SRID=4674;POINT (-39.370185 -3.168323)'))) / (select extract(epoch from '2026-07-13 13:55:23'::timestamp) - extract(epoch from '2026-07-13 13:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370036 -3.168265)'), GeomFromEWKT('SRID=4674;POINT (-39.370185 -3.168323)'))) / (select extract(epoch from '2026-07-13 13:55:23'::timestamp) - extract(epoch from '2026-07-13 13:55: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'), 47511, 'SRID=4674;POINT (-39.370329 -3.16841)', '2026-07-13 13:55:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370185 -3.168323)'), GeomFromEWKT('SRID=4674;POINT (-39.370329 -3.16841)'))) / (select extract(epoch from '2026-07-13 13:55:31'::timestamp) - extract(epoch from '2026-07-13 13:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370185 -3.168323)'), GeomFromEWKT('SRID=4674;POINT (-39.370329 -3.16841)'))) / (select extract(epoch from '2026-07-13 13:55:31'::timestamp) - extract(epoch from '2026-07-13 13:55: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'), 47511, 'SRID=4674;POINT (-39.37044 -3.168486)', '2026-07-13 13:55:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370329 -3.16841)'), GeomFromEWKT('SRID=4674;POINT (-39.37044 -3.168486)'))) / (select extract(epoch from '2026-07-13 13:55:38'::timestamp) - extract(epoch from '2026-07-13 13:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370329 -3.16841)'), GeomFromEWKT('SRID=4674;POINT (-39.37044 -3.168486)'))) / (select extract(epoch from '2026-07-13 13:55:38'::timestamp) - extract(epoch from '2026-07-13 13:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.370538 -3.168558)', '2026-07-13 13:55:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37044 -3.168486)'), GeomFromEWKT('SRID=4674;POINT (-39.370538 -3.168558)'))) / (select extract(epoch from '2026-07-13 13:55:44'::timestamp) - extract(epoch from '2026-07-13 13:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37044 -3.168486)'), GeomFromEWKT('SRID=4674;POINT (-39.370538 -3.168558)'))) / (select extract(epoch from '2026-07-13 13:55:44'::timestamp) - extract(epoch from '2026-07-13 13:55: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'), 47511, 'SRID=4674;POINT (-39.370647 -3.168654)', '2026-07-13 13:55:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370538 -3.168558)'), GeomFromEWKT('SRID=4674;POINT (-39.370647 -3.168654)'))) / (select extract(epoch from '2026-07-13 13:55:51'::timestamp) - extract(epoch from '2026-07-13 13:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370538 -3.168558)'), GeomFromEWKT('SRID=4674;POINT (-39.370647 -3.168654)'))) / (select extract(epoch from '2026-07-13 13:55:51'::timestamp) - extract(epoch from '2026-07-13 13:55: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'), 47511, 'SRID=4674;POINT (-39.370757 -3.168751)', '2026-07-13 13:55:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370647 -3.168654)'), GeomFromEWKT('SRID=4674;POINT (-39.370757 -3.168751)'))) / (select extract(epoch from '2026-07-13 13:55:59'::timestamp) - extract(epoch from '2026-07-13 13:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370647 -3.168654)'), GeomFromEWKT('SRID=4674;POINT (-39.370757 -3.168751)'))) / (select extract(epoch from '2026-07-13 13:55:59'::timestamp) - extract(epoch from '2026-07-13 13:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.370855 -3.168819)', '2026-07-13 13:56:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370757 -3.168751)'), GeomFromEWKT('SRID=4674;POINT (-39.370855 -3.168819)'))) / (select extract(epoch from '2026-07-13 13:56:05'::timestamp) - extract(epoch from '2026-07-13 13:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370757 -3.168751)'), GeomFromEWKT('SRID=4674;POINT (-39.370855 -3.168819)'))) / (select extract(epoch from '2026-07-13 13:56:05'::timestamp) - extract(epoch from '2026-07-13 13:55: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'), 47511, 'SRID=4674;POINT (-39.370985 -3.168919)', '2026-07-13 13:56:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370855 -3.168819)'), GeomFromEWKT('SRID=4674;POINT (-39.370985 -3.168919)'))) / (select extract(epoch from '2026-07-13 13:56:13'::timestamp) - extract(epoch from '2026-07-13 13:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370855 -3.168819)'), GeomFromEWKT('SRID=4674;POINT (-39.370985 -3.168919)'))) / (select extract(epoch from '2026-07-13 13:56:13'::timestamp) - extract(epoch from '2026-07-13 13:56:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.371107 -3.169014)', '2026-07-13 13:56:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370985 -3.168919)'), GeomFromEWKT('SRID=4674;POINT (-39.371107 -3.169014)'))) / (select extract(epoch from '2026-07-13 13:56:21'::timestamp) - extract(epoch from '2026-07-13 13:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370985 -3.168919)'), GeomFromEWKT('SRID=4674;POINT (-39.371107 -3.169014)'))) / (select extract(epoch from '2026-07-13 13:56:21'::timestamp) - extract(epoch from '2026-07-13 13:56: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'), 47511, 'SRID=4674;POINT (-39.371242 -3.169108)', '2026-07-13 13:56:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371107 -3.169014)'), GeomFromEWKT('SRID=4674;POINT (-39.371242 -3.169108)'))) / (select extract(epoch from '2026-07-13 13:56:29'::timestamp) - extract(epoch from '2026-07-13 13:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371107 -3.169014)'), GeomFromEWKT('SRID=4674;POINT (-39.371242 -3.169108)'))) / (select extract(epoch from '2026-07-13 13:56:29'::timestamp) - extract(epoch from '2026-07-13 13:56:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.371341 -3.169178)', '2026-07-13 13:56:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371242 -3.169108)'), GeomFromEWKT('SRID=4674;POINT (-39.371341 -3.169178)'))) / (select extract(epoch from '2026-07-13 13:56:35'::timestamp) - extract(epoch from '2026-07-13 13:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371242 -3.169108)'), GeomFromEWKT('SRID=4674;POINT (-39.371341 -3.169178)'))) / (select extract(epoch from '2026-07-13 13:56:35'::timestamp) - extract(epoch from '2026-07-13 13:56: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'), 47511, 'SRID=4674;POINT (-39.371474 -3.169268)', '2026-07-13 13:56:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371341 -3.169178)'), GeomFromEWKT('SRID=4674;POINT (-39.371474 -3.169268)'))) / (select extract(epoch from '2026-07-13 13:56:43'::timestamp) - extract(epoch from '2026-07-13 13:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371341 -3.169178)'), GeomFromEWKT('SRID=4674;POINT (-39.371474 -3.169268)'))) / (select extract(epoch from '2026-07-13 13:56:43'::timestamp) - extract(epoch from '2026-07-13 13:56: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'), 47511, 'SRID=4674;POINT (-39.371556 -3.169336)', '2026-07-13 13:56:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371474 -3.169268)'), GeomFromEWKT('SRID=4674;POINT (-39.371556 -3.169336)'))) / (select extract(epoch from '2026-07-13 13:56:49'::timestamp) - extract(epoch from '2026-07-13 13:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371474 -3.169268)'), GeomFromEWKT('SRID=4674;POINT (-39.371556 -3.169336)'))) / (select extract(epoch from '2026-07-13 13:56:49'::timestamp) - extract(epoch from '2026-07-13 13:56:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.371614 -3.169379)', '2026-07-13 13:56:54', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371556 -3.169336)'), GeomFromEWKT('SRID=4674;POINT (-39.371614 -3.169379)'))) / (select extract(epoch from '2026-07-13 13:56:54'::timestamp) - extract(epoch from '2026-07-13 13:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371556 -3.169336)'), GeomFromEWKT('SRID=4674;POINT (-39.371614 -3.169379)'))) / (select extract(epoch from '2026-07-13 13:56:54'::timestamp) - extract(epoch from '2026-07-13 13:56:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.371712 -3.169454)', '2026-07-13 13:57:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371614 -3.169379)'), GeomFromEWKT('SRID=4674;POINT (-39.371712 -3.169454)'))) / (select extract(epoch from '2026-07-13 13:57:01'::timestamp) - extract(epoch from '2026-07-13 13:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371614 -3.169379)'), GeomFromEWKT('SRID=4674;POINT (-39.371712 -3.169454)'))) / (select extract(epoch from '2026-07-13 13:57:01'::timestamp) - extract(epoch from '2026-07-13 13:56: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'), 47511, 'SRID=4674;POINT (-39.371807 -3.169533)', '2026-07-13 13:57:07', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371712 -3.169454)'), GeomFromEWKT('SRID=4674;POINT (-39.371807 -3.169533)'))) / (select extract(epoch from '2026-07-13 13:57:07'::timestamp) - extract(epoch from '2026-07-13 13:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371712 -3.169454)'), GeomFromEWKT('SRID=4674;POINT (-39.371807 -3.169533)'))) / (select extract(epoch from '2026-07-13 13:57:07'::timestamp) - extract(epoch from '2026-07-13 13:57:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.37191 -3.169624)', '2026-07-13 13:57:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371807 -3.169533)'), GeomFromEWKT('SRID=4674;POINT (-39.37191 -3.169624)'))) / (select extract(epoch from '2026-07-13 13:57:14'::timestamp) - extract(epoch from '2026-07-13 13:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371807 -3.169533)'), GeomFromEWKT('SRID=4674;POINT (-39.37191 -3.169624)'))) / (select extract(epoch from '2026-07-13 13:57:14'::timestamp) - extract(epoch from '2026-07-13 13:57: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'), 47511, 'SRID=4674;POINT (-39.372029 -3.169725)', '2026-07-13 13:57:22', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37191 -3.169624)'), GeomFromEWKT('SRID=4674;POINT (-39.372029 -3.169725)'))) / (select extract(epoch from '2026-07-13 13:57:22'::timestamp) - extract(epoch from '2026-07-13 13:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37191 -3.169624)'), GeomFromEWKT('SRID=4674;POINT (-39.372029 -3.169725)'))) / (select extract(epoch from '2026-07-13 13:57:22'::timestamp) - extract(epoch from '2026-07-13 13:57: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'), 47511, 'SRID=4674;POINT (-39.372159 -3.169824)', '2026-07-13 13:57:30', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372029 -3.169725)'), GeomFromEWKT('SRID=4674;POINT (-39.372159 -3.169824)'))) / (select extract(epoch from '2026-07-13 13:57:30'::timestamp) - extract(epoch from '2026-07-13 13:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372029 -3.169725)'), GeomFromEWKT('SRID=4674;POINT (-39.372159 -3.169824)'))) / (select extract(epoch from '2026-07-13 13:57:30'::timestamp) - extract(epoch from '2026-07-13 13:57:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.372276 -3.169902)', '2026-07-13 13:57:38', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372159 -3.169824)'), GeomFromEWKT('SRID=4674;POINT (-39.372276 -3.169902)'))) / (select extract(epoch from '2026-07-13 13:57:38'::timestamp) - extract(epoch from '2026-07-13 13:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372159 -3.169824)'), GeomFromEWKT('SRID=4674;POINT (-39.372276 -3.169902)'))) / (select extract(epoch from '2026-07-13 13:57:38'::timestamp) - extract(epoch from '2026-07-13 13:57: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'), 47511, 'SRID=4674;POINT (-39.372375 -3.169983)', '2026-07-13 13:57:45', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372276 -3.169902)'), GeomFromEWKT('SRID=4674;POINT (-39.372375 -3.169983)'))) / (select extract(epoch from '2026-07-13 13:57:45'::timestamp) - extract(epoch from '2026-07-13 13:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372276 -3.169902)'), GeomFromEWKT('SRID=4674;POINT (-39.372375 -3.169983)'))) / (select extract(epoch from '2026-07-13 13:57:45'::timestamp) - extract(epoch from '2026-07-13 13:57:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.372514 -3.170091)', '2026-07-13 13:57:54', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372375 -3.169983)'), GeomFromEWKT('SRID=4674;POINT (-39.372514 -3.170091)'))) / (select extract(epoch from '2026-07-13 13:57:54'::timestamp) - extract(epoch from '2026-07-13 13:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372375 -3.169983)'), GeomFromEWKT('SRID=4674;POINT (-39.372514 -3.170091)'))) / (select extract(epoch from '2026-07-13 13:57:54'::timestamp) - extract(epoch from '2026-07-13 13:57: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'), 47511, 'SRID=4674;POINT (-39.372619 -3.170191)', '2026-07-13 13:58:01', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372514 -3.170091)'), GeomFromEWKT('SRID=4674;POINT (-39.372619 -3.170191)'))) / (select extract(epoch from '2026-07-13 13:58:01'::timestamp) - extract(epoch from '2026-07-13 13:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372514 -3.170091)'), GeomFromEWKT('SRID=4674;POINT (-39.372619 -3.170191)'))) / (select extract(epoch from '2026-07-13 13:58:01'::timestamp) - extract(epoch from '2026-07-13 13:57: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'), 47511, 'SRID=4674;POINT (-39.372747 -3.170295)', '2026-07-13 13:58:10', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372619 -3.170191)'), GeomFromEWKT('SRID=4674;POINT (-39.372747 -3.170295)'))) / (select extract(epoch from '2026-07-13 13:58:10'::timestamp) - extract(epoch from '2026-07-13 13:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372619 -3.170191)'), GeomFromEWKT('SRID=4674;POINT (-39.372747 -3.170295)'))) / (select extract(epoch from '2026-07-13 13:58:10'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.372861 -3.170372)', '2026-07-13 13:58:17', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372747 -3.170295)'), GeomFromEWKT('SRID=4674;POINT (-39.372861 -3.170372)'))) / (select extract(epoch from '2026-07-13 13:58:17'::timestamp) - extract(epoch from '2026-07-13 13:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372747 -3.170295)'), GeomFromEWKT('SRID=4674;POINT (-39.372861 -3.170372)'))) / (select extract(epoch from '2026-07-13 13:58:17'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.373024 -3.17047)', '2026-07-13 13:58:26', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372861 -3.170372)'), GeomFromEWKT('SRID=4674;POINT (-39.373024 -3.17047)'))) / (select extract(epoch from '2026-07-13 13:58:26'::timestamp) - extract(epoch from '2026-07-13 13:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372861 -3.170372)'), GeomFromEWKT('SRID=4674;POINT (-39.373024 -3.17047)'))) / (select extract(epoch from '2026-07-13 13:58:26'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.373165 -3.170537)', '2026-07-13 13:58:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373024 -3.17047)'), GeomFromEWKT('SRID=4674;POINT (-39.373165 -3.170537)'))) / (select extract(epoch from '2026-07-13 13:58:34'::timestamp) - extract(epoch from '2026-07-13 13:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373024 -3.17047)'), GeomFromEWKT('SRID=4674;POINT (-39.373165 -3.170537)'))) / (select extract(epoch from '2026-07-13 13:58:34'::timestamp) - extract(epoch from '2026-07-13 13:58: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'), 47511, 'SRID=4674;POINT (-39.373327 -3.170601)', '2026-07-13 13:58:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373165 -3.170537)'), GeomFromEWKT('SRID=4674;POINT (-39.373327 -3.170601)'))) / (select extract(epoch from '2026-07-13 13:58:44'::timestamp) - extract(epoch from '2026-07-13 13:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373165 -3.170537)'), GeomFromEWKT('SRID=4674;POINT (-39.373327 -3.170601)'))) / (select extract(epoch from '2026-07-13 13:58:44'::timestamp) - extract(epoch from '2026-07-13 13:58: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'), 47511, 'SRID=4674;POINT (-39.373434 -3.170694)', '2026-07-13 13:58:52', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373327 -3.170601)'), GeomFromEWKT('SRID=4674;POINT (-39.373434 -3.170694)'))) / (select extract(epoch from '2026-07-13 13:58:52'::timestamp) - extract(epoch from '2026-07-13 13:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373327 -3.170601)'), GeomFromEWKT('SRID=4674;POINT (-39.373434 -3.170694)'))) / (select extract(epoch from '2026-07-13 13:58:52'::timestamp) - extract(epoch from '2026-07-13 13:58: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'), 47511, 'SRID=4674;POINT (-39.373507 -3.170802)', '2026-07-13 13:58:59', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373434 -3.170694)'), GeomFromEWKT('SRID=4674;POINT (-39.373507 -3.170802)'))) / (select extract(epoch from '2026-07-13 13:58:59'::timestamp) - extract(epoch from '2026-07-13 13:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373434 -3.170694)'), GeomFromEWKT('SRID=4674;POINT (-39.373507 -3.170802)'))) / (select extract(epoch from '2026-07-13 13:58:59'::timestamp) - extract(epoch from '2026-07-13 13:58:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.373599 -3.170947)', '2026-07-13 13:59:08', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373507 -3.170802)'), GeomFromEWKT('SRID=4674;POINT (-39.373599 -3.170947)'))) / (select extract(epoch from '2026-07-13 13:59:08'::timestamp) - extract(epoch from '2026-07-13 13:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373507 -3.170802)'), GeomFromEWKT('SRID=4674;POINT (-39.373599 -3.170947)'))) / (select extract(epoch from '2026-07-13 13:59:08'::timestamp) - extract(epoch from '2026-07-13 13:58: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'), 47511, 'SRID=4674;POINT (-39.373686 -3.171061)', '2026-07-13 13:59:16', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373599 -3.170947)'), GeomFromEWKT('SRID=4674;POINT (-39.373686 -3.171061)'))) / (select extract(epoch from '2026-07-13 13:59:16'::timestamp) - extract(epoch from '2026-07-13 13:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373599 -3.170947)'), GeomFromEWKT('SRID=4674;POINT (-39.373686 -3.171061)'))) / (select extract(epoch from '2026-07-13 13:59:16'::timestamp) - extract(epoch from '2026-07-13 13:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.373767 -3.171169)', '2026-07-13 13:59:23', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373686 -3.171061)'), GeomFromEWKT('SRID=4674;POINT (-39.373767 -3.171169)'))) / (select extract(epoch from '2026-07-13 13:59:23'::timestamp) - extract(epoch from '2026-07-13 13:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373686 -3.171061)'), GeomFromEWKT('SRID=4674;POINT (-39.373767 -3.171169)'))) / (select extract(epoch from '2026-07-13 13:59:23'::timestamp) - extract(epoch from '2026-07-13 13:59: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'), 47511, 'SRID=4674;POINT (-39.373862 -3.171267)', '2026-07-13 13:59:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373767 -3.171169)'), GeomFromEWKT('SRID=4674;POINT (-39.373862 -3.171267)'))) / (select extract(epoch from '2026-07-13 13:59:30'::timestamp) - extract(epoch from '2026-07-13 13:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373767 -3.171169)'), GeomFromEWKT('SRID=4674;POINT (-39.373862 -3.171267)'))) / (select extract(epoch from '2026-07-13 13:59:30'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.373944 -3.171331)', '2026-07-13 13:59:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373862 -3.171267)'), GeomFromEWKT('SRID=4674;POINT (-39.373944 -3.171331)'))) / (select extract(epoch from '2026-07-13 13:59:36'::timestamp) - extract(epoch from '2026-07-13 13:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373862 -3.171267)'), GeomFromEWKT('SRID=4674;POINT (-39.373944 -3.171331)'))) / (select extract(epoch from '2026-07-13 13:59:36'::timestamp) - extract(epoch from '2026-07-13 13:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.374065 -3.171437)', '2026-07-13 13:59:44', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373944 -3.171331)'), GeomFromEWKT('SRID=4674;POINT (-39.374065 -3.171437)'))) / (select extract(epoch from '2026-07-13 13:59:44'::timestamp) - extract(epoch from '2026-07-13 13:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373944 -3.171331)'), GeomFromEWKT('SRID=4674;POINT (-39.374065 -3.171437)'))) / (select extract(epoch from '2026-07-13 13:59:44'::timestamp) - extract(epoch from '2026-07-13 13:59: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'), 47511, 'SRID=4674;POINT (-39.374186 -3.171515)', '2026-07-13 13:59:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374065 -3.171437)'), GeomFromEWKT('SRID=4674;POINT (-39.374186 -3.171515)'))) / (select extract(epoch from '2026-07-13 13:59:52'::timestamp) - extract(epoch from '2026-07-13 13:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374065 -3.171437)'), GeomFromEWKT('SRID=4674;POINT (-39.374186 -3.171515)'))) / (select extract(epoch from '2026-07-13 13:59:52'::timestamp) - extract(epoch from '2026-07-13 13: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'), 47511, 'SRID=4674;POINT (-39.374311 -3.171615)', '2026-07-13 14:00:00', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374186 -3.171515)'), GeomFromEWKT('SRID=4674;POINT (-39.374311 -3.171615)'))) / (select extract(epoch from '2026-07-13 14:00:00'::timestamp) - extract(epoch from '2026-07-13 13:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374186 -3.171515)'), GeomFromEWKT('SRID=4674;POINT (-39.374311 -3.171615)'))) / (select extract(epoch from '2026-07-13 14:00:00'::timestamp) - extract(epoch from '2026-07-13 13:59: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'), 47511, 'SRID=4674;POINT (-39.37443 -3.171708)', '2026-07-13 14:00:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374311 -3.171615)'), GeomFromEWKT('SRID=4674;POINT (-39.37443 -3.171708)'))) / (select extract(epoch from '2026-07-13 14:00:08'::timestamp) - extract(epoch from '2026-07-13 14:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374311 -3.171615)'), GeomFromEWKT('SRID=4674;POINT (-39.37443 -3.171708)'))) / (select extract(epoch from '2026-07-13 14:00:08'::timestamp) - extract(epoch from '2026-07-13 14:00: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'), 47511, 'SRID=4674;POINT (-39.374504 -3.171781)', '2026-07-13 14:00:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37443 -3.171708)'), GeomFromEWKT('SRID=4674;POINT (-39.374504 -3.171781)'))) / (select extract(epoch from '2026-07-13 14:00:14'::timestamp) - extract(epoch from '2026-07-13 14:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37443 -3.171708)'), GeomFromEWKT('SRID=4674;POINT (-39.374504 -3.171781)'))) / (select extract(epoch from '2026-07-13 14:00:14'::timestamp) - extract(epoch from '2026-07-13 14:00: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'), 47511, 'SRID=4674;POINT (-39.374592 -3.171866)', '2026-07-13 14:00:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374504 -3.171781)'), GeomFromEWKT('SRID=4674;POINT (-39.374592 -3.171866)'))) / (select extract(epoch from '2026-07-13 14:00:22'::timestamp) - extract(epoch from '2026-07-13 14:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374504 -3.171781)'), GeomFromEWKT('SRID=4674;POINT (-39.374592 -3.171866)'))) / (select extract(epoch from '2026-07-13 14:00:22'::timestamp) - extract(epoch from '2026-07-13 14:00:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.374722 -3.171984)', '2026-07-13 14:00:31', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374592 -3.171866)'), GeomFromEWKT('SRID=4674;POINT (-39.374722 -3.171984)'))) / (select extract(epoch from '2026-07-13 14:00:31'::timestamp) - extract(epoch from '2026-07-13 14:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374592 -3.171866)'), GeomFromEWKT('SRID=4674;POINT (-39.374722 -3.171984)'))) / (select extract(epoch from '2026-07-13 14:00:31'::timestamp) - extract(epoch from '2026-07-13 14:00:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.374827 -3.172089)', '2026-07-13 14:00:39', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374722 -3.171984)'), GeomFromEWKT('SRID=4674;POINT (-39.374827 -3.172089)'))) / (select extract(epoch from '2026-07-13 14:00:39'::timestamp) - extract(epoch from '2026-07-13 14:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374722 -3.171984)'), GeomFromEWKT('SRID=4674;POINT (-39.374827 -3.172089)'))) / (select extract(epoch from '2026-07-13 14:00:39'::timestamp) - extract(epoch from '2026-07-13 14:00: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'), 47511, 'SRID=4674;POINT (-39.374927 -3.172202)', '2026-07-13 14:00:47', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374827 -3.172089)'), GeomFromEWKT('SRID=4674;POINT (-39.374927 -3.172202)'))) / (select extract(epoch from '2026-07-13 14:00:47'::timestamp) - extract(epoch from '2026-07-13 14:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374827 -3.172089)'), GeomFromEWKT('SRID=4674;POINT (-39.374927 -3.172202)'))) / (select extract(epoch from '2026-07-13 14:00:47'::timestamp) - extract(epoch from '2026-07-13 14:00: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'), 47511, 'SRID=4674;POINT (-39.375026 -3.172294)', '2026-07-13 14:00:54', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374927 -3.172202)'), GeomFromEWKT('SRID=4674;POINT (-39.375026 -3.172294)'))) / (select extract(epoch from '2026-07-13 14:00:54'::timestamp) - extract(epoch from '2026-07-13 14:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374927 -3.172202)'), GeomFromEWKT('SRID=4674;POINT (-39.375026 -3.172294)'))) / (select extract(epoch from '2026-07-13 14:00:54'::timestamp) - extract(epoch from '2026-07-13 14: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'), 47511, 'SRID=4674;POINT (-39.375143 -3.172405)', '2026-07-13 14:01:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375026 -3.172294)'), GeomFromEWKT('SRID=4674;POINT (-39.375143 -3.172405)'))) / (select extract(epoch from '2026-07-13 14:01:02'::timestamp) - extract(epoch from '2026-07-13 14:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375026 -3.172294)'), GeomFromEWKT('SRID=4674;POINT (-39.375143 -3.172405)'))) / (select extract(epoch from '2026-07-13 14:01:02'::timestamp) - extract(epoch from '2026-07-13 14:00: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'), 47511, 'SRID=4674;POINT (-39.375257 -3.172538)', '2026-07-13 14:01:11', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375143 -3.172405)'), GeomFromEWKT('SRID=4674;POINT (-39.375257 -3.172538)'))) / (select extract(epoch from '2026-07-13 14:01:11'::timestamp) - extract(epoch from '2026-07-13 14:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375143 -3.172405)'), GeomFromEWKT('SRID=4674;POINT (-39.375257 -3.172538)'))) / (select extract(epoch from '2026-07-13 14:01:11'::timestamp) - extract(epoch from '2026-07-13 14:01: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'), 47511, 'SRID=4674;POINT (-39.375395 -3.172671)', '2026-07-13 14:01:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375257 -3.172538)'), GeomFromEWKT('SRID=4674;POINT (-39.375395 -3.172671)'))) / (select extract(epoch from '2026-07-13 14:01:21'::timestamp) - extract(epoch from '2026-07-13 14:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375257 -3.172538)'), GeomFromEWKT('SRID=4674;POINT (-39.375395 -3.172671)'))) / (select extract(epoch from '2026-07-13 14:01:21'::timestamp) - extract(epoch from '2026-07-13 14:01: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'), 47511, 'SRID=4674;POINT (-39.375482 -3.172772)', '2026-07-13 14:01:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375395 -3.172671)'), GeomFromEWKT('SRID=4674;POINT (-39.375482 -3.172772)'))) / (select extract(epoch from '2026-07-13 14:01:28'::timestamp) - extract(epoch from '2026-07-13 14:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375395 -3.172671)'), GeomFromEWKT('SRID=4674;POINT (-39.375482 -3.172772)'))) / (select extract(epoch from '2026-07-13 14:01:28'::timestamp) - extract(epoch from '2026-07-13 14:01: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'), 47511, 'SRID=4674;POINT (-39.375576 -3.172913)', '2026-07-13 14:01:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375482 -3.172772)'), GeomFromEWKT('SRID=4674;POINT (-39.375576 -3.172913)'))) / (select extract(epoch from '2026-07-13 14:01:37'::timestamp) - extract(epoch from '2026-07-13 14:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375482 -3.172772)'), GeomFromEWKT('SRID=4674;POINT (-39.375576 -3.172913)'))) / (select extract(epoch from '2026-07-13 14:01:37'::timestamp) - extract(epoch from '2026-07-13 14: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'), 47511, 'SRID=4674;POINT (-39.37567 -3.173012)', '2026-07-13 14:01:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375576 -3.172913)'), GeomFromEWKT('SRID=4674;POINT (-39.37567 -3.173012)'))) / (select extract(epoch from '2026-07-13 14:01:44'::timestamp) - extract(epoch from '2026-07-13 14:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375576 -3.172913)'), GeomFromEWKT('SRID=4674;POINT (-39.37567 -3.173012)'))) / (select extract(epoch from '2026-07-13 14:01:44'::timestamp) - extract(epoch from '2026-07-13 14:01: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'), 47511, 'SRID=4674;POINT (-39.375769 -3.173108)', '2026-07-13 14:01:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37567 -3.173012)'), GeomFromEWKT('SRID=4674;POINT (-39.375769 -3.173108)'))) / (select extract(epoch from '2026-07-13 14:01:51'::timestamp) - extract(epoch from '2026-07-13 14:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37567 -3.173012)'), GeomFromEWKT('SRID=4674;POINT (-39.375769 -3.173108)'))) / (select extract(epoch from '2026-07-13 14:01:51'::timestamp) - extract(epoch from '2026-07-13 14:01:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.375878 -3.17322)', '2026-07-13 14:02:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375769 -3.173108)'), GeomFromEWKT('SRID=4674;POINT (-39.375878 -3.17322)'))) / (select extract(epoch from '2026-07-13 14:02:00'::timestamp) - extract(epoch from '2026-07-13 14:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375769 -3.173108)'), GeomFromEWKT('SRID=4674;POINT (-39.375878 -3.17322)'))) / (select extract(epoch from '2026-07-13 14:02:00'::timestamp) - extract(epoch from '2026-07-13 14: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'), 47511, 'SRID=4674;POINT (-39.37598 -3.17336)', '2026-07-13 14:02:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375878 -3.17322)'), GeomFromEWKT('SRID=4674;POINT (-39.37598 -3.17336)'))) / (select extract(epoch from '2026-07-13 14:02:09'::timestamp) - extract(epoch from '2026-07-13 14:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375878 -3.17322)'), GeomFromEWKT('SRID=4674;POINT (-39.37598 -3.17336)'))) / (select extract(epoch from '2026-07-13 14:02:09'::timestamp) - extract(epoch from '2026-07-13 14: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'), 47511, 'SRID=4674;POINT (-39.376057 -3.173468)', '2026-07-13 14:02:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37598 -3.17336)'), GeomFromEWKT('SRID=4674;POINT (-39.376057 -3.173468)'))) / (select extract(epoch from '2026-07-13 14:02:16'::timestamp) - extract(epoch from '2026-07-13 14:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37598 -3.17336)'), GeomFromEWKT('SRID=4674;POINT (-39.376057 -3.173468)'))) / (select extract(epoch from '2026-07-13 14:02:16'::timestamp) - extract(epoch from '2026-07-13 14:02:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.376138 -3.173581)', '2026-07-13 14:02:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376057 -3.173468)'), GeomFromEWKT('SRID=4674;POINT (-39.376138 -3.173581)'))) / (select extract(epoch from '2026-07-13 14:02:24'::timestamp) - extract(epoch from '2026-07-13 14:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376057 -3.173468)'), GeomFromEWKT('SRID=4674;POINT (-39.376138 -3.173581)'))) / (select extract(epoch from '2026-07-13 14:02:24'::timestamp) - extract(epoch from '2026-07-13 14: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'), 47511, 'SRID=4674;POINT (-39.376257 -3.173695)', '2026-07-13 14:02:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376138 -3.173581)'), GeomFromEWKT('SRID=4674;POINT (-39.376257 -3.173695)'))) / (select extract(epoch from '2026-07-13 14:02:33'::timestamp) - extract(epoch from '2026-07-13 14:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376138 -3.173581)'), GeomFromEWKT('SRID=4674;POINT (-39.376257 -3.173695)'))) / (select extract(epoch from '2026-07-13 14:02:33'::timestamp) - extract(epoch from '2026-07-13 14:02: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'), 47511, 'SRID=4674;POINT (-39.376351 -3.173823)', '2026-07-13 14:02:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376257 -3.173695)'), GeomFromEWKT('SRID=4674;POINT (-39.376351 -3.173823)'))) / (select extract(epoch from '2026-07-13 14:02:41'::timestamp) - extract(epoch from '2026-07-13 14:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376257 -3.173695)'), GeomFromEWKT('SRID=4674;POINT (-39.376351 -3.173823)'))) / (select extract(epoch from '2026-07-13 14:02:41'::timestamp) - extract(epoch from '2026-07-13 14: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'), 47511, 'SRID=4674;POINT (-39.376438 -3.173932)', '2026-07-13 14:02:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376351 -3.173823)'), GeomFromEWKT('SRID=4674;POINT (-39.376438 -3.173932)'))) / (select extract(epoch from '2026-07-13 14:02:49'::timestamp) - extract(epoch from '2026-07-13 14:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376351 -3.173823)'), GeomFromEWKT('SRID=4674;POINT (-39.376438 -3.173932)'))) / (select extract(epoch from '2026-07-13 14:02:49'::timestamp) - extract(epoch from '2026-07-13 14:02: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'), 47511, 'SRID=4674;POINT (-39.376534 -3.174049)', '2026-07-13 14:02:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376438 -3.173932)'), GeomFromEWKT('SRID=4674;POINT (-39.376534 -3.174049)'))) / (select extract(epoch from '2026-07-13 14:02:58'::timestamp) - extract(epoch from '2026-07-13 14:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376438 -3.173932)'), GeomFromEWKT('SRID=4674;POINT (-39.376534 -3.174049)'))) / (select extract(epoch from '2026-07-13 14:02:58'::timestamp) - extract(epoch from '2026-07-13 14: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'), 47511, 'SRID=4674;POINT (-39.376637 -3.174161)', '2026-07-13 14:03:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376534 -3.174049)'), GeomFromEWKT('SRID=4674;POINT (-39.376637 -3.174161)'))) / (select extract(epoch from '2026-07-13 14:03:06'::timestamp) - extract(epoch from '2026-07-13 14:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376534 -3.174049)'), GeomFromEWKT('SRID=4674;POINT (-39.376637 -3.174161)'))) / (select extract(epoch from '2026-07-13 14:03:06'::timestamp) - extract(epoch from '2026-07-13 14:02:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.376738 -3.17429)', '2026-07-13 14:03:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376637 -3.174161)'), GeomFromEWKT('SRID=4674;POINT (-39.376738 -3.17429)'))) / (select extract(epoch from '2026-07-13 14:03:14'::timestamp) - extract(epoch from '2026-07-13 14:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376637 -3.174161)'), GeomFromEWKT('SRID=4674;POINT (-39.376738 -3.17429)'))) / (select extract(epoch from '2026-07-13 14:03:14'::timestamp) - extract(epoch from '2026-07-13 14: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'), 47511, 'SRID=4674;POINT (-39.376821 -3.174396)', '2026-07-13 14:03:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376738 -3.17429)'), GeomFromEWKT('SRID=4674;POINT (-39.376821 -3.174396)'))) / (select extract(epoch from '2026-07-13 14:03:21'::timestamp) - extract(epoch from '2026-07-13 14:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376738 -3.17429)'), GeomFromEWKT('SRID=4674;POINT (-39.376821 -3.174396)'))) / (select extract(epoch from '2026-07-13 14:03:21'::timestamp) - extract(epoch from '2026-07-13 14:03: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'), 47511, 'SRID=4674;POINT (-39.376928 -3.174511)', '2026-07-13 14:03:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376821 -3.174396)'), GeomFromEWKT('SRID=4674;POINT (-39.376928 -3.174511)'))) / (select extract(epoch from '2026-07-13 14:03:29'::timestamp) - extract(epoch from '2026-07-13 14:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376821 -3.174396)'), GeomFromEWKT('SRID=4674;POINT (-39.376928 -3.174511)'))) / (select extract(epoch from '2026-07-13 14:03:29'::timestamp) - extract(epoch from '2026-07-13 14:03: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'), 47511, 'SRID=4674;POINT (-39.377018 -3.174614)', '2026-07-13 14:03:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376928 -3.174511)'), GeomFromEWKT('SRID=4674;POINT (-39.377018 -3.174614)'))) / (select extract(epoch from '2026-07-13 14:03:36'::timestamp) - extract(epoch from '2026-07-13 14:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376928 -3.174511)'), GeomFromEWKT('SRID=4674;POINT (-39.377018 -3.174614)'))) / (select extract(epoch from '2026-07-13 14:03:36'::timestamp) - extract(epoch from '2026-07-13 14: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'), 47511, 'SRID=4674;POINT (-39.377122 -3.174719)', '2026-07-13 14:03:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377018 -3.174614)'), GeomFromEWKT('SRID=4674;POINT (-39.377122 -3.174719)'))) / (select extract(epoch from '2026-07-13 14:03:44'::timestamp) - extract(epoch from '2026-07-13 14:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377018 -3.174614)'), GeomFromEWKT('SRID=4674;POINT (-39.377122 -3.174719)'))) / (select extract(epoch from '2026-07-13 14:03:44'::timestamp) - extract(epoch from '2026-07-13 14: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'), 47511, 'SRID=4674;POINT (-39.37726 -3.174831)', '2026-07-13 14:03:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377122 -3.174719)'), GeomFromEWKT('SRID=4674;POINT (-39.37726 -3.174831)'))) / (select extract(epoch from '2026-07-13 14:03:53'::timestamp) - extract(epoch from '2026-07-13 14:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377122 -3.174719)'), GeomFromEWKT('SRID=4674;POINT (-39.37726 -3.174831)'))) / (select extract(epoch from '2026-07-13 14:03:53'::timestamp) - extract(epoch from '2026-07-13 14: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'), 47511, 'SRID=4674;POINT (-39.377352 -3.174928)', '2026-07-13 14:04:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37726 -3.174831)'), GeomFromEWKT('SRID=4674;POINT (-39.377352 -3.174928)'))) / (select extract(epoch from '2026-07-13 14:04:00'::timestamp) - extract(epoch from '2026-07-13 14:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37726 -3.174831)'), GeomFromEWKT('SRID=4674;POINT (-39.377352 -3.174928)'))) / (select extract(epoch from '2026-07-13 14:04:00'::timestamp) - extract(epoch from '2026-07-13 14:03: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'), 47511, 'SRID=4674;POINT (-39.377428 -3.175042)', '2026-07-13 14:04:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377352 -3.174928)'), GeomFromEWKT('SRID=4674;POINT (-39.377428 -3.175042)'))) / (select extract(epoch from '2026-07-13 14:04:07'::timestamp) - extract(epoch from '2026-07-13 14:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377352 -3.174928)'), GeomFromEWKT('SRID=4674;POINT (-39.377428 -3.175042)'))) / (select extract(epoch from '2026-07-13 14:04:07'::timestamp) - extract(epoch from '2026-07-13 14:04:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.377523 -3.17518)', '2026-07-13 14:04:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377428 -3.175042)'), GeomFromEWKT('SRID=4674;POINT (-39.377523 -3.17518)'))) / (select extract(epoch from '2026-07-13 14:04:15'::timestamp) - extract(epoch from '2026-07-13 14:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377428 -3.175042)'), GeomFromEWKT('SRID=4674;POINT (-39.377523 -3.17518)'))) / (select extract(epoch from '2026-07-13 14:04:15'::timestamp) - extract(epoch from '2026-07-13 14:04:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.377623 -3.175292)', '2026-07-13 14:04:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377523 -3.17518)'), GeomFromEWKT('SRID=4674;POINT (-39.377623 -3.175292)'))) / (select extract(epoch from '2026-07-13 14:04:23'::timestamp) - extract(epoch from '2026-07-13 14:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377523 -3.17518)'), GeomFromEWKT('SRID=4674;POINT (-39.377623 -3.175292)'))) / (select extract(epoch from '2026-07-13 14:04:23'::timestamp) - extract(epoch from '2026-07-13 14:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.377702 -3.175402)', '2026-07-13 14:04:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377623 -3.175292)'), GeomFromEWKT('SRID=4674;POINT (-39.377702 -3.175402)'))) / (select extract(epoch from '2026-07-13 14:04:31'::timestamp) - extract(epoch from '2026-07-13 14:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377623 -3.175292)'), GeomFromEWKT('SRID=4674;POINT (-39.377702 -3.175402)'))) / (select extract(epoch from '2026-07-13 14:04:31'::timestamp) - extract(epoch from '2026-07-13 14:04:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.377802 -3.175525)', '2026-07-13 14:04:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377702 -3.175402)'), GeomFromEWKT('SRID=4674;POINT (-39.377802 -3.175525)'))) / (select extract(epoch from '2026-07-13 14:04:39'::timestamp) - extract(epoch from '2026-07-13 14:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377702 -3.175402)'), GeomFromEWKT('SRID=4674;POINT (-39.377802 -3.175525)'))) / (select extract(epoch from '2026-07-13 14:04:39'::timestamp) - extract(epoch from '2026-07-13 14:04: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'), 47511, 'SRID=4674;POINT (-39.377874 -3.175612)', '2026-07-13 14:04:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377802 -3.175525)'), GeomFromEWKT('SRID=4674;POINT (-39.377874 -3.175612)'))) / (select extract(epoch from '2026-07-13 14:04:45'::timestamp) - extract(epoch from '2026-07-13 14:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377802 -3.175525)'), GeomFromEWKT('SRID=4674;POINT (-39.377874 -3.175612)'))) / (select extract(epoch from '2026-07-13 14:04:45'::timestamp) - extract(epoch from '2026-07-13 14: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'), 47511, 'SRID=4674;POINT (-39.37798 -3.175756)', '2026-07-13 14:04:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377874 -3.175612)'), GeomFromEWKT('SRID=4674;POINT (-39.37798 -3.175756)'))) / (select extract(epoch from '2026-07-13 14:04:54'::timestamp) - extract(epoch from '2026-07-13 14:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377874 -3.175612)'), GeomFromEWKT('SRID=4674;POINT (-39.37798 -3.175756)'))) / (select extract(epoch from '2026-07-13 14:04:54'::timestamp) - extract(epoch from '2026-07-13 14:04: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'), 47511, 'SRID=4674;POINT (-39.378069 -3.175876)', '2026-07-13 14:05:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37798 -3.175756)'), GeomFromEWKT('SRID=4674;POINT (-39.378069 -3.175876)'))) / (select extract(epoch from '2026-07-13 14:05:02'::timestamp) - extract(epoch from '2026-07-13 14:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37798 -3.175756)'), GeomFromEWKT('SRID=4674;POINT (-39.378069 -3.175876)'))) / (select extract(epoch from '2026-07-13 14:05:02'::timestamp) - extract(epoch from '2026-07-13 14: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'), 47511, 'SRID=4674;POINT (-39.378185 -3.176015)', '2026-07-13 14:05:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378069 -3.175876)'), GeomFromEWKT('SRID=4674;POINT (-39.378185 -3.176015)'))) / (select extract(epoch from '2026-07-13 14:05:11'::timestamp) - extract(epoch from '2026-07-13 14:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378069 -3.175876)'), GeomFromEWKT('SRID=4674;POINT (-39.378185 -3.176015)'))) / (select extract(epoch from '2026-07-13 14:05:11'::timestamp) - extract(epoch from '2026-07-13 14:05:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.378273 -3.176125)', '2026-07-13 14:05:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378185 -3.176015)'), GeomFromEWKT('SRID=4674;POINT (-39.378273 -3.176125)'))) / (select extract(epoch from '2026-07-13 14:05:19'::timestamp) - extract(epoch from '2026-07-13 14:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378185 -3.176015)'), GeomFromEWKT('SRID=4674;POINT (-39.378273 -3.176125)'))) / (select extract(epoch from '2026-07-13 14:05:19'::timestamp) - extract(epoch from '2026-07-13 14:05: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'), 47511, 'SRID=4674;POINT (-39.378355 -3.176234)', '2026-07-13 14:05:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378273 -3.176125)'), GeomFromEWKT('SRID=4674;POINT (-39.378355 -3.176234)'))) / (select extract(epoch from '2026-07-13 14:05:26'::timestamp) - extract(epoch from '2026-07-13 14:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378273 -3.176125)'), GeomFromEWKT('SRID=4674;POINT (-39.378355 -3.176234)'))) / (select extract(epoch from '2026-07-13 14:05:26'::timestamp) - extract(epoch from '2026-07-13 14:05:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.378452 -3.176377)', '2026-07-13 14:05:35', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378355 -3.176234)'), GeomFromEWKT('SRID=4674;POINT (-39.378452 -3.176377)'))) / (select extract(epoch from '2026-07-13 14:05:35'::timestamp) - extract(epoch from '2026-07-13 14:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378355 -3.176234)'), GeomFromEWKT('SRID=4674;POINT (-39.378452 -3.176377)'))) / (select extract(epoch from '2026-07-13 14:05:35'::timestamp) - extract(epoch from '2026-07-13 14:05: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'), 47511, 'SRID=4674;POINT (-39.378543 -3.17649)', '2026-07-13 14:05:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378452 -3.176377)'), GeomFromEWKT('SRID=4674;POINT (-39.378543 -3.17649)'))) / (select extract(epoch from '2026-07-13 14:05:42'::timestamp) - extract(epoch from '2026-07-13 14:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378452 -3.176377)'), GeomFromEWKT('SRID=4674;POINT (-39.378543 -3.17649)'))) / (select extract(epoch from '2026-07-13 14:05:42'::timestamp) - extract(epoch from '2026-07-13 14:05:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.378635 -3.176614)', '2026-07-13 14:05:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378543 -3.17649)'), GeomFromEWKT('SRID=4674;POINT (-39.378635 -3.176614)'))) / (select extract(epoch from '2026-07-13 14:05:50'::timestamp) - extract(epoch from '2026-07-13 14:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378543 -3.17649)'), GeomFromEWKT('SRID=4674;POINT (-39.378635 -3.176614)'))) / (select extract(epoch from '2026-07-13 14:05:50'::timestamp) - extract(epoch from '2026-07-13 14: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'), 47511, 'SRID=4674;POINT (-39.378715 -3.176743)', '2026-07-13 14:05:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378635 -3.176614)'), GeomFromEWKT('SRID=4674;POINT (-39.378715 -3.176743)'))) / (select extract(epoch from '2026-07-13 14:05:57'::timestamp) - extract(epoch from '2026-07-13 14:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378635 -3.176614)'), GeomFromEWKT('SRID=4674;POINT (-39.378715 -3.176743)'))) / (select extract(epoch from '2026-07-13 14:05:57'::timestamp) - extract(epoch from '2026-07-13 14:05: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'), 47511, 'SRID=4674;POINT (-39.378821 -3.176885)', '2026-07-13 14:06:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378715 -3.176743)'), GeomFromEWKT('SRID=4674;POINT (-39.378821 -3.176885)'))) / (select extract(epoch from '2026-07-13 14:06:06'::timestamp) - extract(epoch from '2026-07-13 14:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378715 -3.176743)'), GeomFromEWKT('SRID=4674;POINT (-39.378821 -3.176885)'))) / (select extract(epoch from '2026-07-13 14:06:06'::timestamp) - extract(epoch from '2026-07-13 14:05: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'), 47511, 'SRID=4674;POINT (-39.378913 -3.177035)', '2026-07-13 14:06:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378821 -3.176885)'), GeomFromEWKT('SRID=4674;POINT (-39.378913 -3.177035)'))) / (select extract(epoch from '2026-07-13 14:06:16'::timestamp) - extract(epoch from '2026-07-13 14:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378821 -3.176885)'), GeomFromEWKT('SRID=4674;POINT (-39.378913 -3.177035)'))) / (select extract(epoch from '2026-07-13 14:06:16'::timestamp) - extract(epoch from '2026-07-13 14:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.378981 -3.177129)', '2026-07-13 14:06:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378913 -3.177035)'), GeomFromEWKT('SRID=4674;POINT (-39.378981 -3.177129)'))) / (select extract(epoch from '2026-07-13 14:06:22'::timestamp) - extract(epoch from '2026-07-13 14:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378913 -3.177035)'), GeomFromEWKT('SRID=4674;POINT (-39.378981 -3.177129)'))) / (select extract(epoch from '2026-07-13 14:06:22'::timestamp) - extract(epoch from '2026-07-13 14:06: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'), 47511, 'SRID=4674;POINT (-39.379061 -3.177247)', '2026-07-13 14:06:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378981 -3.177129)'), GeomFromEWKT('SRID=4674;POINT (-39.379061 -3.177247)'))) / (select extract(epoch from '2026-07-13 14:06:29'::timestamp) - extract(epoch from '2026-07-13 14:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378981 -3.177129)'), GeomFromEWKT('SRID=4674;POINT (-39.379061 -3.177247)'))) / (select extract(epoch from '2026-07-13 14:06:29'::timestamp) - extract(epoch from '2026-07-13 14:06:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.379175 -3.177398)', '2026-07-13 14:06:38', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379061 -3.177247)'), GeomFromEWKT('SRID=4674;POINT (-39.379175 -3.177398)'))) / (select extract(epoch from '2026-07-13 14:06:38'::timestamp) - extract(epoch from '2026-07-13 14:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379061 -3.177247)'), GeomFromEWKT('SRID=4674;POINT (-39.379175 -3.177398)'))) / (select extract(epoch from '2026-07-13 14:06:38'::timestamp) - extract(epoch from '2026-07-13 14:06: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'), 47511, 'SRID=4674;POINT (-39.379287 -3.17754)', '2026-07-13 14:06:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379175 -3.177398)'), GeomFromEWKT('SRID=4674;POINT (-39.379287 -3.17754)'))) / (select extract(epoch from '2026-07-13 14:06:47'::timestamp) - extract(epoch from '2026-07-13 14:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379175 -3.177398)'), GeomFromEWKT('SRID=4674;POINT (-39.379287 -3.17754)'))) / (select extract(epoch from '2026-07-13 14:06:47'::timestamp) - extract(epoch from '2026-07-13 14:06:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.379356 -3.177634)', '2026-07-13 14:06:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379287 -3.17754)'), GeomFromEWKT('SRID=4674;POINT (-39.379356 -3.177634)'))) / (select extract(epoch from '2026-07-13 14:06:54'::timestamp) - extract(epoch from '2026-07-13 14:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379287 -3.17754)'), GeomFromEWKT('SRID=4674;POINT (-39.379356 -3.177634)'))) / (select extract(epoch from '2026-07-13 14:06:54'::timestamp) - extract(epoch from '2026-07-13 14: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'), 47511, 'SRID=4674;POINT (-39.379465 -3.177803)', '2026-07-13 14:07:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379356 -3.177634)'), GeomFromEWKT('SRID=4674;POINT (-39.379465 -3.177803)'))) / (select extract(epoch from '2026-07-13 14:07:05'::timestamp) - extract(epoch from '2026-07-13 14:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379356 -3.177634)'), GeomFromEWKT('SRID=4674;POINT (-39.379465 -3.177803)'))) / (select extract(epoch from '2026-07-13 14:07:05'::timestamp) - extract(epoch from '2026-07-13 14:06:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.379564 -3.177933)', '2026-07-13 14:07:13', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379465 -3.177803)'), GeomFromEWKT('SRID=4674;POINT (-39.379564 -3.177933)'))) / (select extract(epoch from '2026-07-13 14:07:13'::timestamp) - extract(epoch from '2026-07-13 14:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379465 -3.177803)'), GeomFromEWKT('SRID=4674;POINT (-39.379564 -3.177933)'))) / (select extract(epoch from '2026-07-13 14:07:13'::timestamp) - extract(epoch from '2026-07-13 14:07: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'), 47511, 'SRID=4674;POINT (-39.379638 -3.178059)', '2026-07-13 14:07:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379564 -3.177933)'), GeomFromEWKT('SRID=4674;POINT (-39.379638 -3.178059)'))) / (select extract(epoch from '2026-07-13 14:07:20'::timestamp) - extract(epoch from '2026-07-13 14:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379564 -3.177933)'), GeomFromEWKT('SRID=4674;POINT (-39.379638 -3.178059)'))) / (select extract(epoch from '2026-07-13 14:07:20'::timestamp) - extract(epoch from '2026-07-13 14:07: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'), 47511, 'SRID=4674;POINT (-39.37971 -3.178141)', '2026-07-13 14:07:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379638 -3.178059)'), GeomFromEWKT('SRID=4674;POINT (-39.37971 -3.178141)'))) / (select extract(epoch from '2026-07-13 14:07:26'::timestamp) - extract(epoch from '2026-07-13 14:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379638 -3.178059)'), GeomFromEWKT('SRID=4674;POINT (-39.37971 -3.178141)'))) / (select extract(epoch from '2026-07-13 14:07:26'::timestamp) - extract(epoch from '2026-07-13 14: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'), 47511, 'SRID=4674;POINT (-39.379839 -3.178274)', '2026-07-13 14:07:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37971 -3.178141)'), GeomFromEWKT('SRID=4674;POINT (-39.379839 -3.178274)'))) / (select extract(epoch from '2026-07-13 14:07:35'::timestamp) - extract(epoch from '2026-07-13 14:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37971 -3.178141)'), GeomFromEWKT('SRID=4674;POINT (-39.379839 -3.178274)'))) / (select extract(epoch from '2026-07-13 14:07:35'::timestamp) - extract(epoch from '2026-07-13 14:07:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.379928 -3.178388)', '2026-07-13 14:07:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379839 -3.178274)'), GeomFromEWKT('SRID=4674;POINT (-39.379928 -3.178388)'))) / (select extract(epoch from '2026-07-13 14:07:41'::timestamp) - extract(epoch from '2026-07-13 14:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379839 -3.178274)'), GeomFromEWKT('SRID=4674;POINT (-39.379928 -3.178388)'))) / (select extract(epoch from '2026-07-13 14:07:41'::timestamp) - extract(epoch from '2026-07-13 14: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'), 47511, 'SRID=4674;POINT (-39.379992 -3.178466)', '2026-07-13 14:07:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379928 -3.178388)'), GeomFromEWKT('SRID=4674;POINT (-39.379992 -3.178466)'))) / (select extract(epoch from '2026-07-13 14:07:47'::timestamp) - extract(epoch from '2026-07-13 14:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379928 -3.178388)'), GeomFromEWKT('SRID=4674;POINT (-39.379992 -3.178466)'))) / (select extract(epoch from '2026-07-13 14:07:47'::timestamp) - extract(epoch from '2026-07-13 14:07:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47511, 'SRID=4674;POINT (-39.380071 -3.178587)', '2026-07-13 14:07:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379992 -3.178466)'), GeomFromEWKT('SRID=4674;POINT (-39.380071 -3.178587)'))) / (select extract(epoch from '2026-07-13 14:07:54'::timestamp) - extract(epoch from '2026-07-13 14:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379992 -3.178466)'), GeomFromEWKT('SRID=4674;POINT (-39.380071 -3.178587)'))) / (select extract(epoch from '2026-07-13 14:07:54'::timestamp) - extract(epoch from '2026-07-13 14:07: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'), 47511, 'SRID=4674;POINT (-39.380171 -3.178725)', '2026-07-13 14:08:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380071 -3.178587)'), GeomFromEWKT('SRID=4674;POINT (-39.380171 -3.178725)'))) / (select extract(epoch from '2026-07-13 14:08:03'::timestamp) - extract(epoch from '2026-07-13 14:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380071 -3.178587)'), GeomFromEWKT('SRID=4674;POINT (-39.380171 -3.178725)'))) / (select extract(epoch from '2026-07-13 14:08:03'::timestamp) - extract(epoch from '2026-07-13 14:07: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'), 47511, 'SRID=4674;POINT (-39.380244 -3.178853)', '2026-07-13 14:08:11', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380171 -3.178725)'), GeomFromEWKT('SRID=4674;POINT (-39.380244 -3.178853)'))) / (select extract(epoch from '2026-07-13 14:08:11'::timestamp) - extract(epoch from '2026-07-13 14:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380171 -3.178725)'), GeomFromEWKT('SRID=4674;POINT (-39.380244 -3.178853)'))) / (select extract(epoch from '2026-07-13 14:08:11'::timestamp) - extract(epoch from '2026-07-13 14:08:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
