BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.030351 -3.403537)', '2026-06-17 16:38:39', 8, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.030418 -3.40346)', '2026-06-17 16:38:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030351 -3.403537)'), GeomFromEWKT('SRID=4674;POINT (-39.030418 -3.40346)'))) / (select extract(epoch from '2026-06-17 16:38:44'::timestamp) - extract(epoch from '2026-06-17 16:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030351 -3.403537)'), GeomFromEWKT('SRID=4674;POINT (-39.030418 -3.40346)'))) / (select extract(epoch from '2026-06-17 16:38:44'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.030485 -3.403354)', '2026-06-17 16:38:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030418 -3.40346)'), GeomFromEWKT('SRID=4674;POINT (-39.030485 -3.403354)'))) / (select extract(epoch from '2026-06-17 16:38:51'::timestamp) - extract(epoch from '2026-06-17 16:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030418 -3.40346)'), GeomFromEWKT('SRID=4674;POINT (-39.030485 -3.403354)'))) / (select extract(epoch from '2026-06-17 16:38:51'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.030544 -3.403282)', '2026-06-17 16:38:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030485 -3.403354)'), GeomFromEWKT('SRID=4674;POINT (-39.030544 -3.403282)'))) / (select extract(epoch from '2026-06-17 16:38:57'::timestamp) - extract(epoch from '2026-06-17 16:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030485 -3.403354)'), GeomFromEWKT('SRID=4674;POINT (-39.030544 -3.403282)'))) / (select extract(epoch from '2026-06-17 16:38:57'::timestamp) - extract(epoch from '2026-06-17 16:38: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'), 46574, 'SRID=4674;POINT (-39.030629 -3.403135)', '2026-06-17 16:39:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030544 -3.403282)'), GeomFromEWKT('SRID=4674;POINT (-39.030629 -3.403135)'))) / (select extract(epoch from '2026-06-17 16:39:06'::timestamp) - extract(epoch from '2026-06-17 16:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030544 -3.403282)'), GeomFromEWKT('SRID=4674;POINT (-39.030629 -3.403135)'))) / (select extract(epoch from '2026-06-17 16:39:06'::timestamp) - extract(epoch from '2026-06-17 16:38:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.030732 -3.403039)', '2026-06-17 16:39:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030629 -3.403135)'), GeomFromEWKT('SRID=4674;POINT (-39.030732 -3.403039)'))) / (select extract(epoch from '2026-06-17 16:39:14'::timestamp) - extract(epoch from '2026-06-17 16:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030629 -3.403135)'), GeomFromEWKT('SRID=4674;POINT (-39.030732 -3.403039)'))) / (select extract(epoch from '2026-06-17 16:39:14'::timestamp) - extract(epoch from '2026-06-17 16:39: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'), 46574, 'SRID=4674;POINT (-39.030848 -3.402887)', '2026-06-17 16:39:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030732 -3.403039)'), GeomFromEWKT('SRID=4674;POINT (-39.030848 -3.402887)'))) / (select extract(epoch from '2026-06-17 16:39:24'::timestamp) - extract(epoch from '2026-06-17 16:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030732 -3.403039)'), GeomFromEWKT('SRID=4674;POINT (-39.030848 -3.402887)'))) / (select extract(epoch from '2026-06-17 16:39:24'::timestamp) - extract(epoch from '2026-06-17 16:39: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'), 46574, 'SRID=4674;POINT (-39.030924 -3.402747)', '2026-06-17 16:39:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030848 -3.402887)'), GeomFromEWKT('SRID=4674;POINT (-39.030924 -3.402747)'))) / (select extract(epoch from '2026-06-17 16:39:32'::timestamp) - extract(epoch from '2026-06-17 16:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030848 -3.402887)'), GeomFromEWKT('SRID=4674;POINT (-39.030924 -3.402747)'))) / (select extract(epoch from '2026-06-17 16:39:32'::timestamp) - extract(epoch from '2026-06-17 16:39: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'), 46574, 'SRID=4674;POINT (-39.031015 -3.402602)', '2026-06-17 16:39:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030924 -3.402747)'), GeomFromEWKT('SRID=4674;POINT (-39.031015 -3.402602)'))) / (select extract(epoch from '2026-06-17 16:39:41'::timestamp) - extract(epoch from '2026-06-17 16:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030924 -3.402747)'), GeomFromEWKT('SRID=4674;POINT (-39.031015 -3.402602)'))) / (select extract(epoch from '2026-06-17 16:39:41'::timestamp) - extract(epoch from '2026-06-17 16:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.031097 -3.402469)', '2026-06-17 16:39:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031015 -3.402602)'), GeomFromEWKT('SRID=4674;POINT (-39.031097 -3.402469)'))) / (select extract(epoch from '2026-06-17 16:39:49'::timestamp) - extract(epoch from '2026-06-17 16:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031015 -3.402602)'), GeomFromEWKT('SRID=4674;POINT (-39.031097 -3.402469)'))) / (select extract(epoch from '2026-06-17 16:39:49'::timestamp) - extract(epoch from '2026-06-17 16:39: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'), 46574, 'SRID=4674;POINT (-39.031161 -3.402357)', '2026-06-17 16:39:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031097 -3.402469)'), GeomFromEWKT('SRID=4674;POINT (-39.031161 -3.402357)'))) / (select extract(epoch from '2026-06-17 16:39:56'::timestamp) - extract(epoch from '2026-06-17 16:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031097 -3.402469)'), GeomFromEWKT('SRID=4674;POINT (-39.031161 -3.402357)'))) / (select extract(epoch from '2026-06-17 16:39:56'::timestamp) - extract(epoch from '2026-06-17 16:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.031253 -3.402242)', '2026-06-17 16:40:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031161 -3.402357)'), GeomFromEWKT('SRID=4674;POINT (-39.031253 -3.402242)'))) / (select extract(epoch from '2026-06-17 16:40:04'::timestamp) - extract(epoch from '2026-06-17 16:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031161 -3.402357)'), GeomFromEWKT('SRID=4674;POINT (-39.031253 -3.402242)'))) / (select extract(epoch from '2026-06-17 16:40:04'::timestamp) - extract(epoch from '2026-06-17 16:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.031368 -3.402121)', '2026-06-17 16:40:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031253 -3.402242)'), GeomFromEWKT('SRID=4674;POINT (-39.031368 -3.402121)'))) / (select extract(epoch from '2026-06-17 16:40:13'::timestamp) - extract(epoch from '2026-06-17 16:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031253 -3.402242)'), GeomFromEWKT('SRID=4674;POINT (-39.031368 -3.402121)'))) / (select extract(epoch from '2026-06-17 16:40:13'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.031435 -3.401998)', '2026-06-17 16:40:20', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031368 -3.402121)'), GeomFromEWKT('SRID=4674;POINT (-39.031435 -3.401998)'))) / (select extract(epoch from '2026-06-17 16:40:20'::timestamp) - extract(epoch from '2026-06-17 16:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031368 -3.402121)'), GeomFromEWKT('SRID=4674;POINT (-39.031435 -3.401998)'))) / (select extract(epoch from '2026-06-17 16:40:20'::timestamp) - extract(epoch from '2026-06-17 16:40: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'), 46574, 'SRID=4674;POINT (-39.031534 -3.401856)', '2026-06-17 16:40:29', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031435 -3.401998)'), GeomFromEWKT('SRID=4674;POINT (-39.031534 -3.401856)'))) / (select extract(epoch from '2026-06-17 16:40:29'::timestamp) - extract(epoch from '2026-06-17 16:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031435 -3.401998)'), GeomFromEWKT('SRID=4674;POINT (-39.031534 -3.401856)'))) / (select extract(epoch from '2026-06-17 16:40:29'::timestamp) - extract(epoch from '2026-06-17 16:40: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'), 46574, 'SRID=4674;POINT (-39.031626 -3.401716)', '2026-06-17 16:40:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031534 -3.401856)'), GeomFromEWKT('SRID=4674;POINT (-39.031626 -3.401716)'))) / (select extract(epoch from '2026-06-17 16:40:38'::timestamp) - extract(epoch from '2026-06-17 16:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031534 -3.401856)'), GeomFromEWKT('SRID=4674;POINT (-39.031626 -3.401716)'))) / (select extract(epoch from '2026-06-17 16:40:38'::timestamp) - extract(epoch from '2026-06-17 16:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.031687 -3.401595)', '2026-06-17 16:40:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031626 -3.401716)'), GeomFromEWKT('SRID=4674;POINT (-39.031687 -3.401595)'))) / (select extract(epoch from '2026-06-17 16:40:45'::timestamp) - extract(epoch from '2026-06-17 16:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031626 -3.401716)'), GeomFromEWKT('SRID=4674;POINT (-39.031687 -3.401595)'))) / (select extract(epoch from '2026-06-17 16:40:45'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.031772 -3.401476)', '2026-06-17 16:40:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031687 -3.401595)'), GeomFromEWKT('SRID=4674;POINT (-39.031772 -3.401476)'))) / (select extract(epoch from '2026-06-17 16:40:53'::timestamp) - extract(epoch from '2026-06-17 16:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031687 -3.401595)'), GeomFromEWKT('SRID=4674;POINT (-39.031772 -3.401476)'))) / (select extract(epoch from '2026-06-17 16:40:53'::timestamp) - extract(epoch from '2026-06-17 16:40:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.031861 -3.401361)', '2026-06-17 16:41:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031772 -3.401476)'), GeomFromEWKT('SRID=4674;POINT (-39.031861 -3.401361)'))) / (select extract(epoch from '2026-06-17 16:41:00'::timestamp) - extract(epoch from '2026-06-17 16:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031772 -3.401476)'), GeomFromEWKT('SRID=4674;POINT (-39.031861 -3.401361)'))) / (select extract(epoch from '2026-06-17 16:41:00'::timestamp) - extract(epoch from '2026-06-17 16:40: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'), 46574, 'SRID=4674;POINT (-39.031938 -3.401218)', '2026-06-17 16:41:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031861 -3.401361)'), GeomFromEWKT('SRID=4674;POINT (-39.031938 -3.401218)'))) / (select extract(epoch from '2026-06-17 16:41:08'::timestamp) - extract(epoch from '2026-06-17 16:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031861 -3.401361)'), GeomFromEWKT('SRID=4674;POINT (-39.031938 -3.401218)'))) / (select extract(epoch from '2026-06-17 16:41:08'::timestamp) - extract(epoch from '2026-06-17 16:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.032025 -3.40106)', '2026-06-17 16:41:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031938 -3.401218)'), GeomFromEWKT('SRID=4674;POINT (-39.032025 -3.40106)'))) / (select extract(epoch from '2026-06-17 16:41:17'::timestamp) - extract(epoch from '2026-06-17 16:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031938 -3.401218)'), GeomFromEWKT('SRID=4674;POINT (-39.032025 -3.40106)'))) / (select extract(epoch from '2026-06-17 16:41:17'::timestamp) - extract(epoch from '2026-06-17 16:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.032084 -3.400956)', '2026-06-17 16:41:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032025 -3.40106)'), GeomFromEWKT('SRID=4674;POINT (-39.032084 -3.400956)'))) / (select extract(epoch from '2026-06-17 16:41:23'::timestamp) - extract(epoch from '2026-06-17 16:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032025 -3.40106)'), GeomFromEWKT('SRID=4674;POINT (-39.032084 -3.400956)'))) / (select extract(epoch from '2026-06-17 16:41:23'::timestamp) - extract(epoch from '2026-06-17 16:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.032176 -3.400802)', '2026-06-17 16:41:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032084 -3.400956)'), GeomFromEWKT('SRID=4674;POINT (-39.032176 -3.400802)'))) / (select extract(epoch from '2026-06-17 16:41:32'::timestamp) - extract(epoch from '2026-06-17 16:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032084 -3.400956)'), GeomFromEWKT('SRID=4674;POINT (-39.032176 -3.400802)'))) / (select extract(epoch from '2026-06-17 16:41:32'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.032248 -3.400687)', '2026-06-17 16:41:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032176 -3.400802)'), GeomFromEWKT('SRID=4674;POINT (-39.032248 -3.400687)'))) / (select extract(epoch from '2026-06-17 16:41:39'::timestamp) - extract(epoch from '2026-06-17 16:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032176 -3.400802)'), GeomFromEWKT('SRID=4674;POINT (-39.032248 -3.400687)'))) / (select extract(epoch from '2026-06-17 16:41:39'::timestamp) - extract(epoch from '2026-06-17 16:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.032343 -3.400566)', '2026-06-17 16:41:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032248 -3.400687)'), GeomFromEWKT('SRID=4674;POINT (-39.032343 -3.400566)'))) / (select extract(epoch from '2026-06-17 16:41:47'::timestamp) - extract(epoch from '2026-06-17 16:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032248 -3.400687)'), GeomFromEWKT('SRID=4674;POINT (-39.032343 -3.400566)'))) / (select extract(epoch from '2026-06-17 16:41:47'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.032425 -3.400454)', '2026-06-17 16:41:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032343 -3.400566)'), GeomFromEWKT('SRID=4674;POINT (-39.032425 -3.400454)'))) / (select extract(epoch from '2026-06-17 16:41:54'::timestamp) - extract(epoch from '2026-06-17 16:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032343 -3.400566)'), GeomFromEWKT('SRID=4674;POINT (-39.032425 -3.400454)'))) / (select extract(epoch from '2026-06-17 16:41:54'::timestamp) - extract(epoch from '2026-06-17 16:41: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'), 46574, 'SRID=4674;POINT (-39.032496 -3.400335)', '2026-06-17 16:42:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032425 -3.400454)'), GeomFromEWKT('SRID=4674;POINT (-39.032496 -3.400335)'))) / (select extract(epoch from '2026-06-17 16:42:01'::timestamp) - extract(epoch from '2026-06-17 16:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032425 -3.400454)'), GeomFromEWKT('SRID=4674;POINT (-39.032496 -3.400335)'))) / (select extract(epoch from '2026-06-17 16:42:01'::timestamp) - extract(epoch from '2026-06-17 16:41: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'), 46574, 'SRID=4674;POINT (-39.032578 -3.400214)', '2026-06-17 16:42:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032496 -3.400335)'), GeomFromEWKT('SRID=4674;POINT (-39.032578 -3.400214)'))) / (select extract(epoch from '2026-06-17 16:42:08'::timestamp) - extract(epoch from '2026-06-17 16:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032496 -3.400335)'), GeomFromEWKT('SRID=4674;POINT (-39.032578 -3.400214)'))) / (select extract(epoch from '2026-06-17 16:42:08'::timestamp) - extract(epoch from '2026-06-17 16:42: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'), 46574, 'SRID=4674;POINT (-39.03265 -3.400081)', '2026-06-17 16:42:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032578 -3.400214)'), GeomFromEWKT('SRID=4674;POINT (-39.03265 -3.400081)'))) / (select extract(epoch from '2026-06-17 16:42:15'::timestamp) - extract(epoch from '2026-06-17 16:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032578 -3.400214)'), GeomFromEWKT('SRID=4674;POINT (-39.03265 -3.400081)'))) / (select extract(epoch from '2026-06-17 16:42:15'::timestamp) - extract(epoch from '2026-06-17 16:42: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'), 46574, 'SRID=4674;POINT (-39.032739 -3.399942)', '2026-06-17 16:42:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03265 -3.400081)'), GeomFromEWKT('SRID=4674;POINT (-39.032739 -3.399942)'))) / (select extract(epoch from '2026-06-17 16:42:23'::timestamp) - extract(epoch from '2026-06-17 16:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03265 -3.400081)'), GeomFromEWKT('SRID=4674;POINT (-39.032739 -3.399942)'))) / (select extract(epoch from '2026-06-17 16:42:23'::timestamp) - extract(epoch from '2026-06-17 16:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.032828 -3.39977)', '2026-06-17 16:42:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032739 -3.399942)'), GeomFromEWKT('SRID=4674;POINT (-39.032828 -3.39977)'))) / (select extract(epoch from '2026-06-17 16:42:33'::timestamp) - extract(epoch from '2026-06-17 16:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032739 -3.399942)'), GeomFromEWKT('SRID=4674;POINT (-39.032828 -3.39977)'))) / (select extract(epoch from '2026-06-17 16:42:33'::timestamp) - extract(epoch from '2026-06-17 16:42: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'), 46574, 'SRID=4674;POINT (-39.032897 -3.399623)', '2026-06-17 16:42:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032828 -3.39977)'), GeomFromEWKT('SRID=4674;POINT (-39.032897 -3.399623)'))) / (select extract(epoch from '2026-06-17 16:42:41'::timestamp) - extract(epoch from '2026-06-17 16:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032828 -3.39977)'), GeomFromEWKT('SRID=4674;POINT (-39.032897 -3.399623)'))) / (select extract(epoch from '2026-06-17 16:42:41'::timestamp) - extract(epoch from '2026-06-17 16:42:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.032973 -3.399476)', '2026-06-17 16:42:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032897 -3.399623)'), GeomFromEWKT('SRID=4674;POINT (-39.032973 -3.399476)'))) / (select extract(epoch from '2026-06-17 16:42:49'::timestamp) - extract(epoch from '2026-06-17 16:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032897 -3.399623)'), GeomFromEWKT('SRID=4674;POINT (-39.032973 -3.399476)'))) / (select extract(epoch from '2026-06-17 16:42:49'::timestamp) - extract(epoch from '2026-06-17 16:42: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'), 46574, 'SRID=4674;POINT (-39.033028 -3.399348)', '2026-06-17 16:42:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032973 -3.399476)'), GeomFromEWKT('SRID=4674;POINT (-39.033028 -3.399348)'))) / (select extract(epoch from '2026-06-17 16:42:56'::timestamp) - extract(epoch from '2026-06-17 16:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032973 -3.399476)'), GeomFromEWKT('SRID=4674;POINT (-39.033028 -3.399348)'))) / (select extract(epoch from '2026-06-17 16:42:56'::timestamp) - extract(epoch from '2026-06-17 16:42:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.033088 -3.399222)', '2026-06-17 16:43:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033028 -3.399348)'), GeomFromEWKT('SRID=4674;POINT (-39.033088 -3.399222)'))) / (select extract(epoch from '2026-06-17 16:43:04'::timestamp) - extract(epoch from '2026-06-17 16:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033028 -3.399348)'), GeomFromEWKT('SRID=4674;POINT (-39.033088 -3.399222)'))) / (select extract(epoch from '2026-06-17 16:43:04'::timestamp) - extract(epoch from '2026-06-17 16:42: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'), 46574, 'SRID=4674;POINT (-39.03314 -3.399097)', '2026-06-17 16:43:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033088 -3.399222)'), GeomFromEWKT('SRID=4674;POINT (-39.03314 -3.399097)'))) / (select extract(epoch from '2026-06-17 16:43:11'::timestamp) - extract(epoch from '2026-06-17 16:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033088 -3.399222)'), GeomFromEWKT('SRID=4674;POINT (-39.03314 -3.399097)'))) / (select extract(epoch from '2026-06-17 16:43:11'::timestamp) - extract(epoch from '2026-06-17 16:43: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'), 46574, 'SRID=4674;POINT (-39.033212 -3.398953)', '2026-06-17 16:43:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03314 -3.399097)'), GeomFromEWKT('SRID=4674;POINT (-39.033212 -3.398953)'))) / (select extract(epoch from '2026-06-17 16:43:19'::timestamp) - extract(epoch from '2026-06-17 16:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03314 -3.399097)'), GeomFromEWKT('SRID=4674;POINT (-39.033212 -3.398953)'))) / (select extract(epoch from '2026-06-17 16:43:19'::timestamp) - extract(epoch from '2026-06-17 16:43: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'), 46574, 'SRID=4674;POINT (-39.033287 -3.39881)', '2026-06-17 16:43:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033212 -3.398953)'), GeomFromEWKT('SRID=4674;POINT (-39.033287 -3.39881)'))) / (select extract(epoch from '2026-06-17 16:43:27'::timestamp) - extract(epoch from '2026-06-17 16:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033212 -3.398953)'), GeomFromEWKT('SRID=4674;POINT (-39.033287 -3.39881)'))) / (select extract(epoch from '2026-06-17 16:43:27'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.033375 -3.398629)', '2026-06-17 16:43:36', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033287 -3.39881)'), GeomFromEWKT('SRID=4674;POINT (-39.033375 -3.398629)'))) / (select extract(epoch from '2026-06-17 16:43:36'::timestamp) - extract(epoch from '2026-06-17 16:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033287 -3.39881)'), GeomFromEWKT('SRID=4674;POINT (-39.033375 -3.398629)'))) / (select extract(epoch from '2026-06-17 16:43:36'::timestamp) - extract(epoch from '2026-06-17 16:43: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'), 46574, 'SRID=4674;POINT (-39.033443 -3.398503)', '2026-06-17 16:43:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033375 -3.398629)'), GeomFromEWKT('SRID=4674;POINT (-39.033443 -3.398503)'))) / (select extract(epoch from '2026-06-17 16:43:43'::timestamp) - extract(epoch from '2026-06-17 16:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033375 -3.398629)'), GeomFromEWKT('SRID=4674;POINT (-39.033443 -3.398503)'))) / (select extract(epoch from '2026-06-17 16:43:43'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.033525 -3.398371)', '2026-06-17 16:43:51', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033443 -3.398503)'), GeomFromEWKT('SRID=4674;POINT (-39.033525 -3.398371)'))) / (select extract(epoch from '2026-06-17 16:43:51'::timestamp) - extract(epoch from '2026-06-17 16:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033443 -3.398503)'), GeomFromEWKT('SRID=4674;POINT (-39.033525 -3.398371)'))) / (select extract(epoch from '2026-06-17 16:43:51'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.033618 -3.398206)', '2026-06-17 16:44:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033525 -3.398371)'), GeomFromEWKT('SRID=4674;POINT (-39.033618 -3.398206)'))) / (select extract(epoch from '2026-06-17 16:44:01'::timestamp) - extract(epoch from '2026-06-17 16:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033525 -3.398371)'), GeomFromEWKT('SRID=4674;POINT (-39.033618 -3.398206)'))) / (select extract(epoch from '2026-06-17 16:44:01'::timestamp) - extract(epoch from '2026-06-17 16:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.033686 -3.398099)', '2026-06-17 16:44:07', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033618 -3.398206)'), GeomFromEWKT('SRID=4674;POINT (-39.033686 -3.398099)'))) / (select extract(epoch from '2026-06-17 16:44:07'::timestamp) - extract(epoch from '2026-06-17 16:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033618 -3.398206)'), GeomFromEWKT('SRID=4674;POINT (-39.033686 -3.398099)'))) / (select extract(epoch from '2026-06-17 16:44:07'::timestamp) - extract(epoch from '2026-06-17 16:44:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.03376 -3.397954)', '2026-06-17 16:44:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033686 -3.398099)'), GeomFromEWKT('SRID=4674;POINT (-39.03376 -3.397954)'))) / (select extract(epoch from '2026-06-17 16:44:14'::timestamp) - extract(epoch from '2026-06-17 16:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033686 -3.398099)'), GeomFromEWKT('SRID=4674;POINT (-39.03376 -3.397954)'))) / (select extract(epoch from '2026-06-17 16:44:14'::timestamp) - extract(epoch from '2026-06-17 16:44: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'), 46574, 'SRID=4674;POINT (-39.033833 -3.397785)', '2026-06-17 16:44:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03376 -3.397954)'), GeomFromEWKT('SRID=4674;POINT (-39.033833 -3.397785)'))) / (select extract(epoch from '2026-06-17 16:44:22'::timestamp) - extract(epoch from '2026-06-17 16:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03376 -3.397954)'), GeomFromEWKT('SRID=4674;POINT (-39.033833 -3.397785)'))) / (select extract(epoch from '2026-06-17 16:44:22'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.033876 -3.397649)', '2026-06-17 16:44:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033833 -3.397785)'), GeomFromEWKT('SRID=4674;POINT (-39.033876 -3.397649)'))) / (select extract(epoch from '2026-06-17 16:44:29'::timestamp) - extract(epoch from '2026-06-17 16:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033833 -3.397785)'), GeomFromEWKT('SRID=4674;POINT (-39.033876 -3.397649)'))) / (select extract(epoch from '2026-06-17 16:44:29'::timestamp) - extract(epoch from '2026-06-17 16:44: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'), 46574, 'SRID=4674;POINT (-39.033924 -3.397509)', '2026-06-17 16:44:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033876 -3.397649)'), GeomFromEWKT('SRID=4674;POINT (-39.033924 -3.397509)'))) / (select extract(epoch from '2026-06-17 16:44:36'::timestamp) - extract(epoch from '2026-06-17 16:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033876 -3.397649)'), GeomFromEWKT('SRID=4674;POINT (-39.033924 -3.397509)'))) / (select extract(epoch from '2026-06-17 16:44:36'::timestamp) - extract(epoch from '2026-06-17 16:44: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'), 46574, 'SRID=4674;POINT (-39.033977 -3.397363)', '2026-06-17 16:44:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033924 -3.397509)'), GeomFromEWKT('SRID=4674;POINT (-39.033977 -3.397363)'))) / (select extract(epoch from '2026-06-17 16:44:43'::timestamp) - extract(epoch from '2026-06-17 16:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033924 -3.397509)'), GeomFromEWKT('SRID=4674;POINT (-39.033977 -3.397363)'))) / (select extract(epoch from '2026-06-17 16:44:43'::timestamp) - extract(epoch from '2026-06-17 16:44:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.034041 -3.397216)', '2026-06-17 16:44:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033977 -3.397363)'), GeomFromEWKT('SRID=4674;POINT (-39.034041 -3.397216)'))) / (select extract(epoch from '2026-06-17 16:44:50'::timestamp) - extract(epoch from '2026-06-17 16:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033977 -3.397363)'), GeomFromEWKT('SRID=4674;POINT (-39.034041 -3.397216)'))) / (select extract(epoch from '2026-06-17 16:44:50'::timestamp) - extract(epoch from '2026-06-17 16:44:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.03412 -3.39708)', '2026-06-17 16:44:58', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034041 -3.397216)'), GeomFromEWKT('SRID=4674;POINT (-39.03412 -3.39708)'))) / (select extract(epoch from '2026-06-17 16:44:58'::timestamp) - extract(epoch from '2026-06-17 16:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034041 -3.397216)'), GeomFromEWKT('SRID=4674;POINT (-39.03412 -3.39708)'))) / (select extract(epoch from '2026-06-17 16:44:58'::timestamp) - extract(epoch from '2026-06-17 16:44:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.034176 -3.396969)', '2026-06-17 16:45:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03412 -3.39708)'), GeomFromEWKT('SRID=4674;POINT (-39.034176 -3.396969)'))) / (select extract(epoch from '2026-06-17 16:45:04'::timestamp) - extract(epoch from '2026-06-17 16:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03412 -3.39708)'), GeomFromEWKT('SRID=4674;POINT (-39.034176 -3.396969)'))) / (select extract(epoch from '2026-06-17 16:45:04'::timestamp) - extract(epoch from '2026-06-17 16:44: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'), 46574, 'SRID=4674;POINT (-39.034268 -3.396823)', '2026-06-17 16:45:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034176 -3.396969)'), GeomFromEWKT('SRID=4674;POINT (-39.034268 -3.396823)'))) / (select extract(epoch from '2026-06-17 16:45:12'::timestamp) - extract(epoch from '2026-06-17 16:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034176 -3.396969)'), GeomFromEWKT('SRID=4674;POINT (-39.034268 -3.396823)'))) / (select extract(epoch from '2026-06-17 16:45:12'::timestamp) - extract(epoch from '2026-06-17 16:45:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.034363 -3.396684)', '2026-06-17 16:45:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034268 -3.396823)'), GeomFromEWKT('SRID=4674;POINT (-39.034363 -3.396684)'))) / (select extract(epoch from '2026-06-17 16:45:20'::timestamp) - extract(epoch from '2026-06-17 16:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034268 -3.396823)'), GeomFromEWKT('SRID=4674;POINT (-39.034363 -3.396684)'))) / (select extract(epoch from '2026-06-17 16:45:20'::timestamp) - extract(epoch from '2026-06-17 16:45:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.034423 -3.396571)', '2026-06-17 16:45:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034363 -3.396684)'), GeomFromEWKT('SRID=4674;POINT (-39.034423 -3.396571)'))) / (select extract(epoch from '2026-06-17 16:45:26'::timestamp) - extract(epoch from '2026-06-17 16:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034363 -3.396684)'), GeomFromEWKT('SRID=4674;POINT (-39.034423 -3.396571)'))) / (select extract(epoch from '2026-06-17 16:45:26'::timestamp) - extract(epoch from '2026-06-17 16:45: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'), 46574, 'SRID=4674;POINT (-39.034479 -3.396435)', '2026-06-17 16:45:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034423 -3.396571)'), GeomFromEWKT('SRID=4674;POINT (-39.034479 -3.396435)'))) / (select extract(epoch from '2026-06-17 16:45:33'::timestamp) - extract(epoch from '2026-06-17 16:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034423 -3.396571)'), GeomFromEWKT('SRID=4674;POINT (-39.034479 -3.396435)'))) / (select extract(epoch from '2026-06-17 16:45:33'::timestamp) - extract(epoch from '2026-06-17 16:45:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.034551 -3.396322)', '2026-06-17 16:45:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034479 -3.396435)'), GeomFromEWKT('SRID=4674;POINT (-39.034551 -3.396322)'))) / (select extract(epoch from '2026-06-17 16:45:39'::timestamp) - extract(epoch from '2026-06-17 16:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034479 -3.396435)'), GeomFromEWKT('SRID=4674;POINT (-39.034551 -3.396322)'))) / (select extract(epoch from '2026-06-17 16:45:39'::timestamp) - extract(epoch from '2026-06-17 16:45:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.034615 -3.396207)', '2026-06-17 16:45:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034551 -3.396322)'), GeomFromEWKT('SRID=4674;POINT (-39.034615 -3.396207)'))) / (select extract(epoch from '2026-06-17 16:45:46'::timestamp) - extract(epoch from '2026-06-17 16:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034551 -3.396322)'), GeomFromEWKT('SRID=4674;POINT (-39.034615 -3.396207)'))) / (select extract(epoch from '2026-06-17 16:45:46'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.03462 -3.396185)', '2026-06-17 16:45:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034615 -3.396207)'), GeomFromEWKT('SRID=4674;POINT (-39.03462 -3.396185)'))) / (select extract(epoch from '2026-06-17 16:45:47'::timestamp) - extract(epoch from '2026-06-17 16:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034615 -3.396207)'), GeomFromEWKT('SRID=4674;POINT (-39.03462 -3.396185)'))) / (select extract(epoch from '2026-06-17 16:45:47'::timestamp) - extract(epoch from '2026-06-17 16:45: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'), 46574, 'SRID=4674;POINT (-39.034653 -3.396045)', '2026-06-17 16:45:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03462 -3.396185)'), GeomFromEWKT('SRID=4674;POINT (-39.034653 -3.396045)'))) / (select extract(epoch from '2026-06-17 16:45:54'::timestamp) - extract(epoch from '2026-06-17 16:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03462 -3.396185)'), GeomFromEWKT('SRID=4674;POINT (-39.034653 -3.396045)'))) / (select extract(epoch from '2026-06-17 16:45:54'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.034667 -3.395931)', '2026-06-17 16:46:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034653 -3.396045)'), GeomFromEWKT('SRID=4674;POINT (-39.034667 -3.395931)'))) / (select extract(epoch from '2026-06-17 16:46:00'::timestamp) - extract(epoch from '2026-06-17 16:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034653 -3.396045)'), GeomFromEWKT('SRID=4674;POINT (-39.034667 -3.395931)'))) / (select extract(epoch from '2026-06-17 16:46:00'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.034719 -3.395787)', '2026-06-17 16:46:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034667 -3.395931)'), GeomFromEWKT('SRID=4674;POINT (-39.034719 -3.395787)'))) / (select extract(epoch from '2026-06-17 16:46:08'::timestamp) - extract(epoch from '2026-06-17 16:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034667 -3.395931)'), GeomFromEWKT('SRID=4674;POINT (-39.034719 -3.395787)'))) / (select extract(epoch from '2026-06-17 16:46:08'::timestamp) - extract(epoch from '2026-06-17 16:46: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'), 46574, 'SRID=4674;POINT (-39.034758 -3.39564)', '2026-06-17 16:46:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034719 -3.395787)'), GeomFromEWKT('SRID=4674;POINT (-39.034758 -3.39564)'))) / (select extract(epoch from '2026-06-17 16:46:15'::timestamp) - extract(epoch from '2026-06-17 16:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034719 -3.395787)'), GeomFromEWKT('SRID=4674;POINT (-39.034758 -3.39564)'))) / (select extract(epoch from '2026-06-17 16:46:15'::timestamp) - extract(epoch from '2026-06-17 16:46:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.034752 -3.395588)', '2026-06-17 16:46:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034758 -3.39564)'), GeomFromEWKT('SRID=4674;POINT (-39.034752 -3.395588)'))) / (select extract(epoch from '2026-06-17 16:46:20'::timestamp) - extract(epoch from '2026-06-17 16:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034758 -3.39564)'), GeomFromEWKT('SRID=4674;POINT (-39.034752 -3.395588)'))) / (select extract(epoch from '2026-06-17 16:46:20'::timestamp) - extract(epoch from '2026-06-17 16:46:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.034749 -3.395545)', '2026-06-17 16:46:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034752 -3.395588)'), GeomFromEWKT('SRID=4674;POINT (-39.034749 -3.395545)'))) / (select extract(epoch from '2026-06-17 16:46:30'::timestamp) - extract(epoch from '2026-06-17 16:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034752 -3.395588)'), GeomFromEWKT('SRID=4674;POINT (-39.034749 -3.395545)'))) / (select extract(epoch from '2026-06-17 16:46:30'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.0348 -3.395518)', '2026-06-17 16:46:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034749 -3.395545)'), GeomFromEWKT('SRID=4674;POINT (-39.0348 -3.395518)'))) / (select extract(epoch from '2026-06-17 16:46:45'::timestamp) - extract(epoch from '2026-06-17 16:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034749 -3.395545)'), GeomFromEWKT('SRID=4674;POINT (-39.0348 -3.395518)'))) / (select extract(epoch from '2026-06-17 16:46:45'::timestamp) - extract(epoch from '2026-06-17 16:46: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'), 46574, 'SRID=4674;POINT (-39.034849 -3.395491)', '2026-06-17 16:46:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0348 -3.395518)'), GeomFromEWKT('SRID=4674;POINT (-39.034849 -3.395491)'))) / (select extract(epoch from '2026-06-17 16:46:56'::timestamp) - extract(epoch from '2026-06-17 16:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0348 -3.395518)'), GeomFromEWKT('SRID=4674;POINT (-39.034849 -3.395491)'))) / (select extract(epoch from '2026-06-17 16:46:56'::timestamp) - extract(epoch from '2026-06-17 16:46:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.034881 -3.395465)', '2026-06-17 16:47:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034849 -3.395491)'), GeomFromEWKT('SRID=4674;POINT (-39.034881 -3.395465)'))) / (select extract(epoch from '2026-06-17 16:47:07'::timestamp) - extract(epoch from '2026-06-17 16:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034849 -3.395491)'), GeomFromEWKT('SRID=4674;POINT (-39.034881 -3.395465)'))) / (select extract(epoch from '2026-06-17 16:47:07'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.034953 -3.395431)', '2026-06-17 16:47:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034881 -3.395465)'), GeomFromEWKT('SRID=4674;POINT (-39.034953 -3.395431)'))) / (select extract(epoch from '2026-06-17 16:47:23'::timestamp) - extract(epoch from '2026-06-17 16:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034881 -3.395465)'), GeomFromEWKT('SRID=4674;POINT (-39.034953 -3.395431)'))) / (select extract(epoch from '2026-06-17 16:47:23'::timestamp) - extract(epoch from '2026-06-17 16:47:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.035035 -3.395405)', '2026-06-17 16:47:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034953 -3.395431)'), GeomFromEWKT('SRID=4674;POINT (-39.035035 -3.395405)'))) / (select extract(epoch from '2026-06-17 16:47:37'::timestamp) - extract(epoch from '2026-06-17 16:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034953 -3.395431)'), GeomFromEWKT('SRID=4674;POINT (-39.035035 -3.395405)'))) / (select extract(epoch from '2026-06-17 16:47:37'::timestamp) - extract(epoch from '2026-06-17 16:47: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'), 46574, 'SRID=4674;POINT (-39.035124 -3.395372)', '2026-06-17 16:47:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035035 -3.395405)'), GeomFromEWKT('SRID=4674;POINT (-39.035124 -3.395372)'))) / (select extract(epoch from '2026-06-17 16:47:54'::timestamp) - extract(epoch from '2026-06-17 16:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035035 -3.395405)'), GeomFromEWKT('SRID=4674;POINT (-39.035124 -3.395372)'))) / (select extract(epoch from '2026-06-17 16:47:54'::timestamp) - extract(epoch from '2026-06-17 16:47: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'), 46574, 'SRID=4674;POINT (-39.035224 -3.395335)', '2026-06-17 16:48:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035124 -3.395372)'), GeomFromEWKT('SRID=4674;POINT (-39.035224 -3.395335)'))) / (select extract(epoch from '2026-06-17 16:48:13'::timestamp) - extract(epoch from '2026-06-17 16:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035124 -3.395372)'), GeomFromEWKT('SRID=4674;POINT (-39.035224 -3.395335)'))) / (select extract(epoch from '2026-06-17 16:48:13'::timestamp) - extract(epoch from '2026-06-17 16:47: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'), 46574, 'SRID=4674;POINT (-39.035293 -3.395313)', '2026-06-17 16:48:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035224 -3.395335)'), GeomFromEWKT('SRID=4674;POINT (-39.035293 -3.395313)'))) / (select extract(epoch from '2026-06-17 16:48:27'::timestamp) - extract(epoch from '2026-06-17 16:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035224 -3.395335)'), GeomFromEWKT('SRID=4674;POINT (-39.035293 -3.395313)'))) / (select extract(epoch from '2026-06-17 16:48:27'::timestamp) - extract(epoch from '2026-06-17 16:48: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'), 46574, 'SRID=4674;POINT (-39.035356 -3.395294)', '2026-06-17 16:48:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035293 -3.395313)'), GeomFromEWKT('SRID=4674;POINT (-39.035356 -3.395294)'))) / (select extract(epoch from '2026-06-17 16:48:43'::timestamp) - extract(epoch from '2026-06-17 16:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035293 -3.395313)'), GeomFromEWKT('SRID=4674;POINT (-39.035356 -3.395294)'))) / (select extract(epoch from '2026-06-17 16:48:43'::timestamp) - extract(epoch from '2026-06-17 16:48: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'), 46574, 'SRID=4674;POINT (-39.035406 -3.395271)', '2026-06-17 16:48:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035356 -3.395294)'), GeomFromEWKT('SRID=4674;POINT (-39.035406 -3.395271)'))) / (select extract(epoch from '2026-06-17 16:48:56'::timestamp) - extract(epoch from '2026-06-17 16:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035356 -3.395294)'), GeomFromEWKT('SRID=4674;POINT (-39.035406 -3.395271)'))) / (select extract(epoch from '2026-06-17 16:48:56'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.035486 -3.395238)', '2026-06-17 16:49:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035406 -3.395271)'), GeomFromEWKT('SRID=4674;POINT (-39.035486 -3.395238)'))) / (select extract(epoch from '2026-06-17 16:49:12'::timestamp) - extract(epoch from '2026-06-17 16:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035406 -3.395271)'), GeomFromEWKT('SRID=4674;POINT (-39.035486 -3.395238)'))) / (select extract(epoch from '2026-06-17 16:49:12'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.035529 -3.39522)', '2026-06-17 16:49:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035486 -3.395238)'), GeomFromEWKT('SRID=4674;POINT (-39.035529 -3.39522)'))) / (select extract(epoch from '2026-06-17 16:49:22'::timestamp) - extract(epoch from '2026-06-17 16:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035486 -3.395238)'), GeomFromEWKT('SRID=4674;POINT (-39.035529 -3.39522)'))) / (select extract(epoch from '2026-06-17 16:49:22'::timestamp) - extract(epoch from '2026-06-17 16:49:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.035582 -3.395207)', '2026-06-17 16:49:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035529 -3.39522)'), GeomFromEWKT('SRID=4674;POINT (-39.035582 -3.395207)'))) / (select extract(epoch from '2026-06-17 16:49:35'::timestamp) - extract(epoch from '2026-06-17 16:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035529 -3.39522)'), GeomFromEWKT('SRID=4674;POINT (-39.035582 -3.395207)'))) / (select extract(epoch from '2026-06-17 16:49:35'::timestamp) - extract(epoch from '2026-06-17 16:49:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.035614 -3.395214)', '2026-06-17 16:49:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035582 -3.395207)'), GeomFromEWKT('SRID=4674;POINT (-39.035614 -3.395214)'))) / (select extract(epoch from '2026-06-17 16:49:43'::timestamp) - extract(epoch from '2026-06-17 16:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035582 -3.395207)'), GeomFromEWKT('SRID=4674;POINT (-39.035614 -3.395214)'))) / (select extract(epoch from '2026-06-17 16:49:43'::timestamp) - extract(epoch from '2026-06-17 16:49: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'), 46574, 'SRID=4674;POINT (-39.035656 -3.395197)', '2026-06-17 16:49:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035614 -3.395214)'), GeomFromEWKT('SRID=4674;POINT (-39.035656 -3.395197)'))) / (select extract(epoch from '2026-06-17 16:49:54'::timestamp) - extract(epoch from '2026-06-17 16:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035614 -3.395214)'), GeomFromEWKT('SRID=4674;POINT (-39.035656 -3.395197)'))) / (select extract(epoch from '2026-06-17 16:49:54'::timestamp) - extract(epoch from '2026-06-17 16:49: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'), 46574, 'SRID=4674;POINT (-39.035673 -3.39516)', '2026-06-17 16:50:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035656 -3.395197)'), GeomFromEWKT('SRID=4674;POINT (-39.035673 -3.39516)'))) / (select extract(epoch from '2026-06-17 16:50:06'::timestamp) - extract(epoch from '2026-06-17 16:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035656 -3.395197)'), GeomFromEWKT('SRID=4674;POINT (-39.035673 -3.39516)'))) / (select extract(epoch from '2026-06-17 16:50:06'::timestamp) - extract(epoch from '2026-06-17 16:49: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'), 46574, 'SRID=4674;POINT (-39.035678 -3.395164)', '2026-06-17 16:50:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035673 -3.39516)'), GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395164)'))) / (select extract(epoch from '2026-06-17 16:50:16'::timestamp) - extract(epoch from '2026-06-17 16:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035673 -3.39516)'), GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395164)'))) / (select extract(epoch from '2026-06-17 16:50:16'::timestamp) - extract(epoch from '2026-06-17 16:50: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'), 46574, 'SRID=4674;POINT (-39.035685 -3.395172)', '2026-06-17 16:50:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395164)'), GeomFromEWKT('SRID=4674;POINT (-39.035685 -3.395172)'))) / (select extract(epoch from '2026-06-17 16:50:25'::timestamp) - extract(epoch from '2026-06-17 16:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395164)'), GeomFromEWKT('SRID=4674;POINT (-39.035685 -3.395172)'))) / (select extract(epoch from '2026-06-17 16:50:25'::timestamp) - extract(epoch from '2026-06-17 16:50: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'), 46574, 'SRID=4674;POINT (-39.035684 -3.395184)', '2026-06-17 16:50:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035685 -3.395172)'), GeomFromEWKT('SRID=4674;POINT (-39.035684 -3.395184)'))) / (select extract(epoch from '2026-06-17 16:50:32'::timestamp) - extract(epoch from '2026-06-17 16:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035685 -3.395172)'), GeomFromEWKT('SRID=4674;POINT (-39.035684 -3.395184)'))) / (select extract(epoch from '2026-06-17 16:50:32'::timestamp) - extract(epoch from '2026-06-17 16:50: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'), 46574, 'SRID=4674;POINT (-39.035691 -3.395189)', '2026-06-17 16:50:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035684 -3.395184)'), GeomFromEWKT('SRID=4674;POINT (-39.035691 -3.395189)'))) / (select extract(epoch from '2026-06-17 16:50:43'::timestamp) - extract(epoch from '2026-06-17 16:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035684 -3.395184)'), GeomFromEWKT('SRID=4674;POINT (-39.035691 -3.395189)'))) / (select extract(epoch from '2026-06-17 16:50:43'::timestamp) - extract(epoch from '2026-06-17 16:50: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'), 46574, 'SRID=4674;POINT (-39.035692 -3.395191)', '2026-06-17 16:50:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035691 -3.395189)'), GeomFromEWKT('SRID=4674;POINT (-39.035692 -3.395191)'))) / (select extract(epoch from '2026-06-17 16:50:57'::timestamp) - extract(epoch from '2026-06-17 16:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035691 -3.395189)'), GeomFromEWKT('SRID=4674;POINT (-39.035692 -3.395191)'))) / (select extract(epoch from '2026-06-17 16:50:57'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.035693 -3.395195)', '2026-06-17 16:51:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035692 -3.395191)'), GeomFromEWKT('SRID=4674;POINT (-39.035693 -3.395195)'))) / (select extract(epoch from '2026-06-17 16:51:09'::timestamp) - extract(epoch from '2026-06-17 16:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035692 -3.395191)'), GeomFromEWKT('SRID=4674;POINT (-39.035693 -3.395195)'))) / (select extract(epoch from '2026-06-17 16:51:09'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.035696 -3.395193)', '2026-06-17 16:51:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035693 -3.395195)'), GeomFromEWKT('SRID=4674;POINT (-39.035696 -3.395193)'))) / (select extract(epoch from '2026-06-17 16:51:17'::timestamp) - extract(epoch from '2026-06-17 16:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035693 -3.395195)'), GeomFromEWKT('SRID=4674;POINT (-39.035696 -3.395193)'))) / (select extract(epoch from '2026-06-17 16:51:17'::timestamp) - extract(epoch from '2026-06-17 16:51: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'), 46574, 'SRID=4674;POINT (-39.035696 -3.395199)', '2026-06-17 16:51:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035696 -3.395193)'), GeomFromEWKT('SRID=4674;POINT (-39.035696 -3.395199)'))) / (select extract(epoch from '2026-06-17 16:51:32'::timestamp) - extract(epoch from '2026-06-17 16:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035696 -3.395193)'), GeomFromEWKT('SRID=4674;POINT (-39.035696 -3.395199)'))) / (select extract(epoch from '2026-06-17 16:51:32'::timestamp) - extract(epoch from '2026-06-17 16:51: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'), 46574, 'SRID=4674;POINT (-39.035697 -3.395202)', '2026-06-17 16:51:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035696 -3.395199)'), GeomFromEWKT('SRID=4674;POINT (-39.035697 -3.395202)'))) / (select extract(epoch from '2026-06-17 16:51:44'::timestamp) - extract(epoch from '2026-06-17 16:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035696 -3.395199)'), GeomFromEWKT('SRID=4674;POINT (-39.035697 -3.395202)'))) / (select extract(epoch from '2026-06-17 16:51:44'::timestamp) - extract(epoch from '2026-06-17 16:51: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'), 46574, 'SRID=4674;POINT (-39.0357 -3.395207)', '2026-06-17 16:51:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035697 -3.395202)'), GeomFromEWKT('SRID=4674;POINT (-39.0357 -3.395207)'))) / (select extract(epoch from '2026-06-17 16:51:57'::timestamp) - extract(epoch from '2026-06-17 16:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035697 -3.395202)'), GeomFromEWKT('SRID=4674;POINT (-39.0357 -3.395207)'))) / (select extract(epoch from '2026-06-17 16:51:57'::timestamp) - extract(epoch from '2026-06-17 16:51:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.035694 -3.395207)', '2026-06-17 16:52:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0357 -3.395207)'), GeomFromEWKT('SRID=4674;POINT (-39.035694 -3.395207)'))) / (select extract(epoch from '2026-06-17 16:52:08'::timestamp) - extract(epoch from '2026-06-17 16:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0357 -3.395207)'), GeomFromEWKT('SRID=4674;POINT (-39.035694 -3.395207)'))) / (select extract(epoch from '2026-06-17 16:52:08'::timestamp) - extract(epoch from '2026-06-17 16:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.035691 -3.395207)', '2026-06-17 16:52:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035694 -3.395207)'), GeomFromEWKT('SRID=4674;POINT (-39.035691 -3.395207)'))) / (select extract(epoch from '2026-06-17 16:52:17'::timestamp) - extract(epoch from '2026-06-17 16:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035694 -3.395207)'), GeomFromEWKT('SRID=4674;POINT (-39.035691 -3.395207)'))) / (select extract(epoch from '2026-06-17 16:52:17'::timestamp) - extract(epoch from '2026-06-17 16:52: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'), 46574, 'SRID=4674;POINT (-39.035687 -3.395208)', '2026-06-17 16:52:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035691 -3.395207)'), GeomFromEWKT('SRID=4674;POINT (-39.035687 -3.395208)'))) / (select extract(epoch from '2026-06-17 16:52:26'::timestamp) - extract(epoch from '2026-06-17 16:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035691 -3.395207)'), GeomFromEWKT('SRID=4674;POINT (-39.035687 -3.395208)'))) / (select extract(epoch from '2026-06-17 16:52:26'::timestamp) - extract(epoch from '2026-06-17 16:52:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.035686 -3.395217)', '2026-06-17 16:52:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035687 -3.395208)'), GeomFromEWKT('SRID=4674;POINT (-39.035686 -3.395217)'))) / (select extract(epoch from '2026-06-17 16:52:37'::timestamp) - extract(epoch from '2026-06-17 16:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035687 -3.395208)'), GeomFromEWKT('SRID=4674;POINT (-39.035686 -3.395217)'))) / (select extract(epoch from '2026-06-17 16:52:37'::timestamp) - extract(epoch from '2026-06-17 16:52: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'), 46574, 'SRID=4674;POINT (-39.03569 -3.395221)', '2026-06-17 16:52:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035686 -3.395217)'), GeomFromEWKT('SRID=4674;POINT (-39.03569 -3.395221)'))) / (select extract(epoch from '2026-06-17 16:52:50'::timestamp) - extract(epoch from '2026-06-17 16:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035686 -3.395217)'), GeomFromEWKT('SRID=4674;POINT (-39.03569 -3.395221)'))) / (select extract(epoch from '2026-06-17 16:52:50'::timestamp) - extract(epoch from '2026-06-17 16:52: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'), 46574, 'SRID=4674;POINT (-39.035693 -3.395224)', '2026-06-17 16:52:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03569 -3.395221)'), GeomFromEWKT('SRID=4674;POINT (-39.035693 -3.395224)'))) / (select extract(epoch from '2026-06-17 16:52:59'::timestamp) - extract(epoch from '2026-06-17 16:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03569 -3.395221)'), GeomFromEWKT('SRID=4674;POINT (-39.035693 -3.395224)'))) / (select extract(epoch from '2026-06-17 16:52:59'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.035691 -3.395229)', '2026-06-17 16:53:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035693 -3.395224)'), GeomFromEWKT('SRID=4674;POINT (-39.035691 -3.395229)'))) / (select extract(epoch from '2026-06-17 16:53:10'::timestamp) - extract(epoch from '2026-06-17 16:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035693 -3.395224)'), GeomFromEWKT('SRID=4674;POINT (-39.035691 -3.395229)'))) / (select extract(epoch from '2026-06-17 16:53:10'::timestamp) - extract(epoch from '2026-06-17 16:52:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.035689 -3.395229)', '2026-06-17 16:53:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035691 -3.395229)'), GeomFromEWKT('SRID=4674;POINT (-39.035689 -3.395229)'))) / (select extract(epoch from '2026-06-17 16:53:21'::timestamp) - extract(epoch from '2026-06-17 16:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035691 -3.395229)'), GeomFromEWKT('SRID=4674;POINT (-39.035689 -3.395229)'))) / (select extract(epoch from '2026-06-17 16:53:21'::timestamp) - extract(epoch from '2026-06-17 16:53: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'), 46574, 'SRID=4674;POINT (-39.035685 -3.395233)', '2026-06-17 16:53:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035689 -3.395229)'), GeomFromEWKT('SRID=4674;POINT (-39.035685 -3.395233)'))) / (select extract(epoch from '2026-06-17 16:53:33'::timestamp) - extract(epoch from '2026-06-17 16:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035689 -3.395229)'), GeomFromEWKT('SRID=4674;POINT (-39.035685 -3.395233)'))) / (select extract(epoch from '2026-06-17 16:53:33'::timestamp) - extract(epoch from '2026-06-17 16:53:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.035677 -3.395232)', '2026-06-17 16:53:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035685 -3.395233)'), GeomFromEWKT('SRID=4674;POINT (-39.035677 -3.395232)'))) / (select extract(epoch from '2026-06-17 16:53:45'::timestamp) - extract(epoch from '2026-06-17 16:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035685 -3.395233)'), GeomFromEWKT('SRID=4674;POINT (-39.035677 -3.395232)'))) / (select extract(epoch from '2026-06-17 16:53:45'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.035678 -3.395237)', '2026-06-17 16:53:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035677 -3.395232)'), GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395237)'))) / (select extract(epoch from '2026-06-17 16:53:57'::timestamp) - extract(epoch from '2026-06-17 16:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035677 -3.395232)'), GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395237)'))) / (select extract(epoch from '2026-06-17 16:53:57'::timestamp) - extract(epoch from '2026-06-17 16:53: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'), 46574, 'SRID=4674;POINT (-39.035677 -3.39524)', '2026-06-17 16:54:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395237)'), GeomFromEWKT('SRID=4674;POINT (-39.035677 -3.39524)'))) / (select extract(epoch from '2026-06-17 16:54:06'::timestamp) - extract(epoch from '2026-06-17 16:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395237)'), GeomFromEWKT('SRID=4674;POINT (-39.035677 -3.39524)'))) / (select extract(epoch from '2026-06-17 16:54:06'::timestamp) - extract(epoch from '2026-06-17 16:53:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.035671 -3.395245)', '2026-06-17 16:54:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035677 -3.39524)'), GeomFromEWKT('SRID=4674;POINT (-39.035671 -3.395245)'))) / (select extract(epoch from '2026-06-17 16:54:20'::timestamp) - extract(epoch from '2026-06-17 16:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035677 -3.39524)'), GeomFromEWKT('SRID=4674;POINT (-39.035671 -3.395245)'))) / (select extract(epoch from '2026-06-17 16:54:20'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.035664 -3.395244)', '2026-06-17 16:54:30', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035671 -3.395245)'), GeomFromEWKT('SRID=4674;POINT (-39.035664 -3.395244)'))) / (select extract(epoch from '2026-06-17 16:54:30'::timestamp) - extract(epoch from '2026-06-17 16:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035671 -3.395245)'), GeomFromEWKT('SRID=4674;POINT (-39.035664 -3.395244)'))) / (select extract(epoch from '2026-06-17 16:54:30'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.035665 -3.395247)', '2026-06-17 16:54:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035664 -3.395244)'), GeomFromEWKT('SRID=4674;POINT (-39.035665 -3.395247)'))) / (select extract(epoch from '2026-06-17 16:54:41'::timestamp) - extract(epoch from '2026-06-17 16:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035664 -3.395244)'), GeomFromEWKT('SRID=4674;POINT (-39.035665 -3.395247)'))) / (select extract(epoch from '2026-06-17 16:54:41'::timestamp) - extract(epoch from '2026-06-17 16:54: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'), 46574, 'SRID=4674;POINT (-39.035669 -3.395246)', '2026-06-17 16:54:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035665 -3.395247)'), GeomFromEWKT('SRID=4674;POINT (-39.035669 -3.395246)'))) / (select extract(epoch from '2026-06-17 16:54:53'::timestamp) - extract(epoch from '2026-06-17 16:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035665 -3.395247)'), GeomFromEWKT('SRID=4674;POINT (-39.035669 -3.395246)'))) / (select extract(epoch from '2026-06-17 16:54:53'::timestamp) - extract(epoch from '2026-06-17 16:54: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'), 46574, 'SRID=4674;POINT (-39.035677 -3.395256)', '2026-06-17 16:55:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035669 -3.395246)'), GeomFromEWKT('SRID=4674;POINT (-39.035677 -3.395256)'))) / (select extract(epoch from '2026-06-17 16:55:00'::timestamp) - extract(epoch from '2026-06-17 16:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035669 -3.395246)'), GeomFromEWKT('SRID=4674;POINT (-39.035677 -3.395256)'))) / (select extract(epoch from '2026-06-17 16:55:00'::timestamp) - extract(epoch from '2026-06-17 16:54: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'), 46574, 'SRID=4674;POINT (-39.03568 -3.39526)', '2026-06-17 16:55:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035677 -3.395256)'), GeomFromEWKT('SRID=4674;POINT (-39.03568 -3.39526)'))) / (select extract(epoch from '2026-06-17 16:55:08'::timestamp) - extract(epoch from '2026-06-17 16:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035677 -3.395256)'), GeomFromEWKT('SRID=4674;POINT (-39.03568 -3.39526)'))) / (select extract(epoch from '2026-06-17 16:55:08'::timestamp) - extract(epoch from '2026-06-17 16:55: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'), 46574, 'SRID=4674;POINT (-39.035677 -3.395255)', '2026-06-17 16:55:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03568 -3.39526)'), GeomFromEWKT('SRID=4674;POINT (-39.035677 -3.395255)'))) / (select extract(epoch from '2026-06-17 16:55:20'::timestamp) - extract(epoch from '2026-06-17 16:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03568 -3.39526)'), GeomFromEWKT('SRID=4674;POINT (-39.035677 -3.395255)'))) / (select extract(epoch from '2026-06-17 16:55:20'::timestamp) - extract(epoch from '2026-06-17 16:55:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.035676 -3.395252)', '2026-06-17 16:55:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035677 -3.395255)'), GeomFromEWKT('SRID=4674;POINT (-39.035676 -3.395252)'))) / (select extract(epoch from '2026-06-17 16:55:30'::timestamp) - extract(epoch from '2026-06-17 16:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035677 -3.395255)'), GeomFromEWKT('SRID=4674;POINT (-39.035676 -3.395252)'))) / (select extract(epoch from '2026-06-17 16:55:30'::timestamp) - extract(epoch from '2026-06-17 16:55: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'), 46574, 'SRID=4674;POINT (-39.035678 -3.395259)', '2026-06-17 16:55:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035676 -3.395252)'), GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395259)'))) / (select extract(epoch from '2026-06-17 16:55:36'::timestamp) - extract(epoch from '2026-06-17 16:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035676 -3.395252)'), GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395259)'))) / (select extract(epoch from '2026-06-17 16:55:36'::timestamp) - extract(epoch from '2026-06-17 16:55: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'), 46574, 'SRID=4674;POINT (-39.035682 -3.395261)', '2026-06-17 16:55:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395259)'), GeomFromEWKT('SRID=4674;POINT (-39.035682 -3.395261)'))) / (select extract(epoch from '2026-06-17 16:55:48'::timestamp) - extract(epoch from '2026-06-17 16:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395259)'), GeomFromEWKT('SRID=4674;POINT (-39.035682 -3.395261)'))) / (select extract(epoch from '2026-06-17 16:55:48'::timestamp) - extract(epoch from '2026-06-17 16:55:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.035678 -3.395263)', '2026-06-17 16:55:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035682 -3.395261)'), GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395263)'))) / (select extract(epoch from '2026-06-17 16:55:55'::timestamp) - extract(epoch from '2026-06-17 16:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035682 -3.395261)'), GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395263)'))) / (select extract(epoch from '2026-06-17 16:55:55'::timestamp) - extract(epoch from '2026-06-17 16:55: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'), 46574, 'SRID=4674;POINT (-39.035678 -3.395266)', '2026-06-17 16:56:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395263)'), GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395266)'))) / (select extract(epoch from '2026-06-17 16:56:11'::timestamp) - extract(epoch from '2026-06-17 16:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395263)'), GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395266)'))) / (select extract(epoch from '2026-06-17 16:56:11'::timestamp) - extract(epoch from '2026-06-17 16:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.035674 -3.395274)', '2026-06-17 16:56:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395266)'), GeomFromEWKT('SRID=4674;POINT (-39.035674 -3.395274)'))) / (select extract(epoch from '2026-06-17 16:56:21'::timestamp) - extract(epoch from '2026-06-17 16:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035678 -3.395266)'), GeomFromEWKT('SRID=4674;POINT (-39.035674 -3.395274)'))) / (select extract(epoch from '2026-06-17 16:56:21'::timestamp) - extract(epoch from '2026-06-17 16:56: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'), 46574, 'SRID=4674;POINT (-39.035667 -3.395279)', '2026-06-17 16:56:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035674 -3.395274)'), GeomFromEWKT('SRID=4674;POINT (-39.035667 -3.395279)'))) / (select extract(epoch from '2026-06-17 16:56:31'::timestamp) - extract(epoch from '2026-06-17 16:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035674 -3.395274)'), GeomFromEWKT('SRID=4674;POINT (-39.035667 -3.395279)'))) / (select extract(epoch from '2026-06-17 16:56:31'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.035642 -3.395278)', '2026-06-17 16:56:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035667 -3.395279)'), GeomFromEWKT('SRID=4674;POINT (-39.035642 -3.395278)'))) / (select extract(epoch from '2026-06-17 16:56:37'::timestamp) - extract(epoch from '2026-06-17 16:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035667 -3.395279)'), GeomFromEWKT('SRID=4674;POINT (-39.035642 -3.395278)'))) / (select extract(epoch from '2026-06-17 16:56:37'::timestamp) - extract(epoch from '2026-06-17 16:56: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'), 46574, 'SRID=4674;POINT (-39.03566 -3.395272)', '2026-06-17 16:56:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035642 -3.395278)'), GeomFromEWKT('SRID=4674;POINT (-39.03566 -3.395272)'))) / (select extract(epoch from '2026-06-17 16:56:47'::timestamp) - extract(epoch from '2026-06-17 16:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035642 -3.395278)'), GeomFromEWKT('SRID=4674;POINT (-39.03566 -3.395272)'))) / (select extract(epoch from '2026-06-17 16:56:47'::timestamp) - extract(epoch from '2026-06-17 16:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.035672 -3.395256)', '2026-06-17 16:56:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03566 -3.395272)'), GeomFromEWKT('SRID=4674;POINT (-39.035672 -3.395256)'))) / (select extract(epoch from '2026-06-17 16:56:55'::timestamp) - extract(epoch from '2026-06-17 16:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03566 -3.395272)'), GeomFromEWKT('SRID=4674;POINT (-39.035672 -3.395256)'))) / (select extract(epoch from '2026-06-17 16:56:55'::timestamp) - extract(epoch from '2026-06-17 16:56: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'), 46574, 'SRID=4674;POINT (-39.035687 -3.395232)', '2026-06-17 16:57:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035672 -3.395256)'), GeomFromEWKT('SRID=4674;POINT (-39.035687 -3.395232)'))) / (select extract(epoch from '2026-06-17 16:57:07'::timestamp) - extract(epoch from '2026-06-17 16:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035672 -3.395256)'), GeomFromEWKT('SRID=4674;POINT (-39.035687 -3.395232)'))) / (select extract(epoch from '2026-06-17 16:57:07'::timestamp) - extract(epoch from '2026-06-17 16:56: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'), 46574, 'SRID=4674;POINT (-39.035721 -3.395199)', '2026-06-17 16:57:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035687 -3.395232)'), GeomFromEWKT('SRID=4674;POINT (-39.035721 -3.395199)'))) / (select extract(epoch from '2026-06-17 16:57:15'::timestamp) - extract(epoch from '2026-06-17 16:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035687 -3.395232)'), GeomFromEWKT('SRID=4674;POINT (-39.035721 -3.395199)'))) / (select extract(epoch from '2026-06-17 16:57:15'::timestamp) - extract(epoch from '2026-06-17 16: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'), 46574, 'SRID=4674;POINT (-39.03573 -3.395188)', '2026-06-17 16:57:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035721 -3.395199)'), GeomFromEWKT('SRID=4674;POINT (-39.03573 -3.395188)'))) / (select extract(epoch from '2026-06-17 16:57:24'::timestamp) - extract(epoch from '2026-06-17 16:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035721 -3.395199)'), GeomFromEWKT('SRID=4674;POINT (-39.03573 -3.395188)'))) / (select extract(epoch from '2026-06-17 16:57:24'::timestamp) - extract(epoch from '2026-06-17 16:57: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'), 46574, 'SRID=4674;POINT (-39.035732 -3.395174)', '2026-06-17 16:57:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03573 -3.395188)'), GeomFromEWKT('SRID=4674;POINT (-39.035732 -3.395174)'))) / (select extract(epoch from '2026-06-17 16:57:34'::timestamp) - extract(epoch from '2026-06-17 16:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03573 -3.395188)'), GeomFromEWKT('SRID=4674;POINT (-39.035732 -3.395174)'))) / (select extract(epoch from '2026-06-17 16:57:34'::timestamp) - extract(epoch from '2026-06-17 16:57:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.035734 -3.395169)', '2026-06-17 16:57:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035732 -3.395174)'), GeomFromEWKT('SRID=4674;POINT (-39.035734 -3.395169)'))) / (select extract(epoch from '2026-06-17 16:57:42'::timestamp) - extract(epoch from '2026-06-17 16:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035732 -3.395174)'), GeomFromEWKT('SRID=4674;POINT (-39.035734 -3.395169)'))) / (select extract(epoch from '2026-06-17 16:57:42'::timestamp) - extract(epoch from '2026-06-17 16:57: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'), 46574, 'SRID=4674;POINT (-39.035756 -3.395157)', '2026-06-17 16:57:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035734 -3.395169)'), GeomFromEWKT('SRID=4674;POINT (-39.035756 -3.395157)'))) / (select extract(epoch from '2026-06-17 16:57:53'::timestamp) - extract(epoch from '2026-06-17 16:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035734 -3.395169)'), GeomFromEWKT('SRID=4674;POINT (-39.035756 -3.395157)'))) / (select extract(epoch from '2026-06-17 16:57:53'::timestamp) - extract(epoch from '2026-06-17 16:57: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'), 46574, 'SRID=4674;POINT (-39.035793 -3.395127)', '2026-06-17 16:58:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035756 -3.395157)'), GeomFromEWKT('SRID=4674;POINT (-39.035793 -3.395127)'))) / (select extract(epoch from '2026-06-17 16:58:04'::timestamp) - extract(epoch from '2026-06-17 16:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035756 -3.395157)'), GeomFromEWKT('SRID=4674;POINT (-39.035793 -3.395127)'))) / (select extract(epoch from '2026-06-17 16:58:04'::timestamp) - extract(epoch from '2026-06-17 16:57: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'), 46574, 'SRID=4674;POINT (-39.035858 -3.395098)', '2026-06-17 16:58:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035793 -3.395127)'), GeomFromEWKT('SRID=4674;POINT (-39.035858 -3.395098)'))) / (select extract(epoch from '2026-06-17 16:58:18'::timestamp) - extract(epoch from '2026-06-17 16:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035793 -3.395127)'), GeomFromEWKT('SRID=4674;POINT (-39.035858 -3.395098)'))) / (select extract(epoch from '2026-06-17 16:58:18'::timestamp) - extract(epoch from '2026-06-17 16:58:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.035927 -3.395068)', '2026-06-17 16:58:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035858 -3.395098)'), GeomFromEWKT('SRID=4674;POINT (-39.035927 -3.395068)'))) / (select extract(epoch from '2026-06-17 16:58:33'::timestamp) - extract(epoch from '2026-06-17 16:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035858 -3.395098)'), GeomFromEWKT('SRID=4674;POINT (-39.035927 -3.395068)'))) / (select extract(epoch from '2026-06-17 16:58:33'::timestamp) - extract(epoch from '2026-06-17 16:58: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'), 46574, 'SRID=4674;POINT (-39.035997 -3.394996)', '2026-06-17 16:58:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035927 -3.395068)'), GeomFromEWKT('SRID=4674;POINT (-39.035997 -3.394996)'))) / (select extract(epoch from '2026-06-17 16:58:50'::timestamp) - extract(epoch from '2026-06-17 16:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035927 -3.395068)'), GeomFromEWKT('SRID=4674;POINT (-39.035997 -3.394996)'))) / (select extract(epoch from '2026-06-17 16:58:50'::timestamp) - extract(epoch from '2026-06-17 16:58: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'), 46574, 'SRID=4674;POINT (-39.036059 -3.39493)', '2026-06-17 16:59:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035997 -3.394996)'), GeomFromEWKT('SRID=4674;POINT (-39.036059 -3.39493)'))) / (select extract(epoch from '2026-06-17 16:59:06'::timestamp) - extract(epoch from '2026-06-17 16:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.035997 -3.394996)'), GeomFromEWKT('SRID=4674;POINT (-39.036059 -3.39493)'))) / (select extract(epoch from '2026-06-17 16:59:06'::timestamp) - extract(epoch from '2026-06-17 16:58: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'), 46574, 'SRID=4674;POINT (-39.036118 -3.394884)', '2026-06-17 16:59:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036059 -3.39493)'), GeomFromEWKT('SRID=4674;POINT (-39.036118 -3.394884)'))) / (select extract(epoch from '2026-06-17 16:59:20'::timestamp) - extract(epoch from '2026-06-17 16:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036059 -3.39493)'), GeomFromEWKT('SRID=4674;POINT (-39.036118 -3.394884)'))) / (select extract(epoch from '2026-06-17 16:59:20'::timestamp) - extract(epoch from '2026-06-17 16:59: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'), 46574, 'SRID=4674;POINT (-39.036169 -3.394861)', '2026-06-17 16:59:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036118 -3.394884)'), GeomFromEWKT('SRID=4674;POINT (-39.036169 -3.394861)'))) / (select extract(epoch from '2026-06-17 16:59:31'::timestamp) - extract(epoch from '2026-06-17 16:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036118 -3.394884)'), GeomFromEWKT('SRID=4674;POINT (-39.036169 -3.394861)'))) / (select extract(epoch from '2026-06-17 16:59:31'::timestamp) - extract(epoch from '2026-06-17 16:59: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'), 46574, 'SRID=4674;POINT (-39.036221 -3.394827)', '2026-06-17 16:59:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036169 -3.394861)'), GeomFromEWKT('SRID=4674;POINT (-39.036221 -3.394827)'))) / (select extract(epoch from '2026-06-17 16:59:43'::timestamp) - extract(epoch from '2026-06-17 16:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036169 -3.394861)'), GeomFromEWKT('SRID=4674;POINT (-39.036221 -3.394827)'))) / (select extract(epoch from '2026-06-17 16:59:43'::timestamp) - extract(epoch from '2026-06-17 16:59:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.036273 -3.394779)', '2026-06-17 16:59:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036221 -3.394827)'), GeomFromEWKT('SRID=4674;POINT (-39.036273 -3.394779)'))) / (select extract(epoch from '2026-06-17 16:59:59'::timestamp) - extract(epoch from '2026-06-17 16:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036221 -3.394827)'), GeomFromEWKT('SRID=4674;POINT (-39.036273 -3.394779)'))) / (select extract(epoch from '2026-06-17 16:59:59'::timestamp) - extract(epoch from '2026-06-17 16:59: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'), 46574, 'SRID=4674;POINT (-39.036345 -3.394719)', '2026-06-17 17:00:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036273 -3.394779)'), GeomFromEWKT('SRID=4674;POINT (-39.036345 -3.394719)'))) / (select extract(epoch from '2026-06-17 17:00:14'::timestamp) - extract(epoch from '2026-06-17 16:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036273 -3.394779)'), GeomFromEWKT('SRID=4674;POINT (-39.036345 -3.394719)'))) / (select extract(epoch from '2026-06-17 17:00:14'::timestamp) - extract(epoch from '2026-06-17 16:59:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.036369 -3.394685)', '2026-06-17 17:00:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036345 -3.394719)'), GeomFromEWKT('SRID=4674;POINT (-39.036369 -3.394685)'))) / (select extract(epoch from '2026-06-17 17:00:23'::timestamp) - extract(epoch from '2026-06-17 17:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036345 -3.394719)'), GeomFromEWKT('SRID=4674;POINT (-39.036369 -3.394685)'))) / (select extract(epoch from '2026-06-17 17:00:23'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.036435 -3.394634)', '2026-06-17 17:00:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036369 -3.394685)'), GeomFromEWKT('SRID=4674;POINT (-39.036435 -3.394634)'))) / (select extract(epoch from '2026-06-17 17:00:38'::timestamp) - extract(epoch from '2026-06-17 17:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036369 -3.394685)'), GeomFromEWKT('SRID=4674;POINT (-39.036435 -3.394634)'))) / (select extract(epoch from '2026-06-17 17:00:38'::timestamp) - extract(epoch from '2026-06-17 17:00:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.036472 -3.394621)', '2026-06-17 17:00:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036435 -3.394634)'), GeomFromEWKT('SRID=4674;POINT (-39.036472 -3.394621)'))) / (select extract(epoch from '2026-06-17 17:00:49'::timestamp) - extract(epoch from '2026-06-17 17:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036435 -3.394634)'), GeomFromEWKT('SRID=4674;POINT (-39.036472 -3.394621)'))) / (select extract(epoch from '2026-06-17 17:00:49'::timestamp) - extract(epoch from '2026-06-17 17:00:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.036501 -3.394604)', '2026-06-17 17:01:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036472 -3.394621)'), GeomFromEWKT('SRID=4674;POINT (-39.036501 -3.394604)'))) / (select extract(epoch from '2026-06-17 17:01:02'::timestamp) - extract(epoch from '2026-06-17 17:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036472 -3.394621)'), GeomFromEWKT('SRID=4674;POINT (-39.036501 -3.394604)'))) / (select extract(epoch from '2026-06-17 17:01:02'::timestamp) - extract(epoch from '2026-06-17 17:00: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'), 46574, 'SRID=4674;POINT (-39.036558 -3.394555)', '2026-06-17 17:01:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036501 -3.394604)'), GeomFromEWKT('SRID=4674;POINT (-39.036558 -3.394555)'))) / (select extract(epoch from '2026-06-17 17:01:16'::timestamp) - extract(epoch from '2026-06-17 17:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036501 -3.394604)'), GeomFromEWKT('SRID=4674;POINT (-39.036558 -3.394555)'))) / (select extract(epoch from '2026-06-17 17:01:16'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.036644 -3.394503)', '2026-06-17 17:01:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036558 -3.394555)'), GeomFromEWKT('SRID=4674;POINT (-39.036644 -3.394503)'))) / (select extract(epoch from '2026-06-17 17:01:32'::timestamp) - extract(epoch from '2026-06-17 17:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036558 -3.394555)'), GeomFromEWKT('SRID=4674;POINT (-39.036644 -3.394503)'))) / (select extract(epoch from '2026-06-17 17:01:32'::timestamp) - extract(epoch from '2026-06-17 17:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.036687 -3.394457)', '2026-06-17 17:01:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036644 -3.394503)'), GeomFromEWKT('SRID=4674;POINT (-39.036687 -3.394457)'))) / (select extract(epoch from '2026-06-17 17:01:46'::timestamp) - extract(epoch from '2026-06-17 17:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036644 -3.394503)'), GeomFromEWKT('SRID=4674;POINT (-39.036687 -3.394457)'))) / (select extract(epoch from '2026-06-17 17:01:46'::timestamp) - extract(epoch from '2026-06-17 17:01: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'), 46574, 'SRID=4674;POINT (-39.03673 -3.394417)', '2026-06-17 17:01:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036687 -3.394457)'), GeomFromEWKT('SRID=4674;POINT (-39.03673 -3.394417)'))) / (select extract(epoch from '2026-06-17 17:01:59'::timestamp) - extract(epoch from '2026-06-17 17:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036687 -3.394457)'), GeomFromEWKT('SRID=4674;POINT (-39.03673 -3.394417)'))) / (select extract(epoch from '2026-06-17 17:01:59'::timestamp) - extract(epoch from '2026-06-17 17:01:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.036773 -3.394378)', '2026-06-17 17:02:10', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03673 -3.394417)'), GeomFromEWKT('SRID=4674;POINT (-39.036773 -3.394378)'))) / (select extract(epoch from '2026-06-17 17:02:10'::timestamp) - extract(epoch from '2026-06-17 17:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03673 -3.394417)'), GeomFromEWKT('SRID=4674;POINT (-39.036773 -3.394378)'))) / (select extract(epoch from '2026-06-17 17:02:10'::timestamp) - extract(epoch from '2026-06-17 17:01: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'), 46574, 'SRID=4674;POINT (-39.036803 -3.394341)', '2026-06-17 17:02:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036773 -3.394378)'), GeomFromEWKT('SRID=4674;POINT (-39.036803 -3.394341)'))) / (select extract(epoch from '2026-06-17 17:02:23'::timestamp) - extract(epoch from '2026-06-17 17:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036773 -3.394378)'), GeomFromEWKT('SRID=4674;POINT (-39.036803 -3.394341)'))) / (select extract(epoch from '2026-06-17 17:02:23'::timestamp) - extract(epoch from '2026-06-17 17:02:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.036867 -3.394293)', '2026-06-17 17:02:39', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036803 -3.394341)'), GeomFromEWKT('SRID=4674;POINT (-39.036867 -3.394293)'))) / (select extract(epoch from '2026-06-17 17:02:39'::timestamp) - extract(epoch from '2026-06-17 17:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036803 -3.394341)'), GeomFromEWKT('SRID=4674;POINT (-39.036867 -3.394293)'))) / (select extract(epoch from '2026-06-17 17:02:39'::timestamp) - extract(epoch from '2026-06-17 17:02:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.036938 -3.39425)', '2026-06-17 17:02:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036867 -3.394293)'), GeomFromEWKT('SRID=4674;POINT (-39.036938 -3.39425)'))) / (select extract(epoch from '2026-06-17 17:02:53'::timestamp) - extract(epoch from '2026-06-17 17:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036867 -3.394293)'), GeomFromEWKT('SRID=4674;POINT (-39.036938 -3.39425)'))) / (select extract(epoch from '2026-06-17 17:02:53'::timestamp) - extract(epoch from '2026-06-17 17:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.036978 -3.394239)', '2026-06-17 17:03:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036938 -3.39425)'), GeomFromEWKT('SRID=4674;POINT (-39.036978 -3.394239)'))) / (select extract(epoch from '2026-06-17 17:03:02'::timestamp) - extract(epoch from '2026-06-17 17:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036938 -3.39425)'), GeomFromEWKT('SRID=4674;POINT (-39.036978 -3.394239)'))) / (select extract(epoch from '2026-06-17 17:03:02'::timestamp) - extract(epoch from '2026-06-17 17:02: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'), 46574, 'SRID=4674;POINT (-39.036987 -3.394224)', '2026-06-17 17:03:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036978 -3.394239)'), GeomFromEWKT('SRID=4674;POINT (-39.036987 -3.394224)'))) / (select extract(epoch from '2026-06-17 17:03:11'::timestamp) - extract(epoch from '2026-06-17 17:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036978 -3.394239)'), GeomFromEWKT('SRID=4674;POINT (-39.036987 -3.394224)'))) / (select extract(epoch from '2026-06-17 17:03:11'::timestamp) - extract(epoch from '2026-06-17 17:03: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'), 46574, 'SRID=4674;POINT (-39.037027 -3.3942)', '2026-06-17 17:03:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036987 -3.394224)'), GeomFromEWKT('SRID=4674;POINT (-39.037027 -3.3942)'))) / (select extract(epoch from '2026-06-17 17:03:19'::timestamp) - extract(epoch from '2026-06-17 17:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.036987 -3.394224)'), GeomFromEWKT('SRID=4674;POINT (-39.037027 -3.3942)'))) / (select extract(epoch from '2026-06-17 17:03:19'::timestamp) - extract(epoch from '2026-06-17 17:03: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'), 46574, 'SRID=4674;POINT (-39.037063 -3.394196)', '2026-06-17 17:03:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037027 -3.3942)'), GeomFromEWKT('SRID=4674;POINT (-39.037063 -3.394196)'))) / (select extract(epoch from '2026-06-17 17:03:26'::timestamp) - extract(epoch from '2026-06-17 17:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037027 -3.3942)'), GeomFromEWKT('SRID=4674;POINT (-39.037063 -3.394196)'))) / (select extract(epoch from '2026-06-17 17:03:26'::timestamp) - extract(epoch from '2026-06-17 17:03:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.037127 -3.394179)', '2026-06-17 17:03:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037063 -3.394196)'), GeomFromEWKT('SRID=4674;POINT (-39.037127 -3.394179)'))) / (select extract(epoch from '2026-06-17 17:03:38'::timestamp) - extract(epoch from '2026-06-17 17:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037063 -3.394196)'), GeomFromEWKT('SRID=4674;POINT (-39.037127 -3.394179)'))) / (select extract(epoch from '2026-06-17 17:03:38'::timestamp) - extract(epoch from '2026-06-17 17:03: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'), 46574, 'SRID=4674;POINT (-39.037189 -3.39414)', '2026-06-17 17:03:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037127 -3.394179)'), GeomFromEWKT('SRID=4674;POINT (-39.037189 -3.39414)'))) / (select extract(epoch from '2026-06-17 17:03:51'::timestamp) - extract(epoch from '2026-06-17 17:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037127 -3.394179)'), GeomFromEWKT('SRID=4674;POINT (-39.037189 -3.39414)'))) / (select extract(epoch from '2026-06-17 17:03:51'::timestamp) - extract(epoch from '2026-06-17 17:03:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.037208 -3.39411)', '2026-06-17 17:04:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037189 -3.39414)'), GeomFromEWKT('SRID=4674;POINT (-39.037208 -3.39411)'))) / (select extract(epoch from '2026-06-17 17:04:05'::timestamp) - extract(epoch from '2026-06-17 17:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037189 -3.39414)'), GeomFromEWKT('SRID=4674;POINT (-39.037208 -3.39411)'))) / (select extract(epoch from '2026-06-17 17:04:05'::timestamp) - extract(epoch from '2026-06-17 17:03: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'), 46574, 'SRID=4674;POINT (-39.037254 -3.394089)', '2026-06-17 17:04:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037208 -3.39411)'), GeomFromEWKT('SRID=4674;POINT (-39.037254 -3.394089)'))) / (select extract(epoch from '2026-06-17 17:04:18'::timestamp) - extract(epoch from '2026-06-17 17:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037208 -3.39411)'), GeomFromEWKT('SRID=4674;POINT (-39.037254 -3.394089)'))) / (select extract(epoch from '2026-06-17 17:04:18'::timestamp) - extract(epoch from '2026-06-17 17:04: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'), 46574, 'SRID=4674;POINT (-39.037305 -3.394057)', '2026-06-17 17:04:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037254 -3.394089)'), GeomFromEWKT('SRID=4674;POINT (-39.037305 -3.394057)'))) / (select extract(epoch from '2026-06-17 17:04:34'::timestamp) - extract(epoch from '2026-06-17 17:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037254 -3.394089)'), GeomFromEWKT('SRID=4674;POINT (-39.037305 -3.394057)'))) / (select extract(epoch from '2026-06-17 17:04:34'::timestamp) - extract(epoch from '2026-06-17 17:04: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'), 46574, 'SRID=4674;POINT (-39.037337 -3.394043)', '2026-06-17 17:04:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037305 -3.394057)'), GeomFromEWKT('SRID=4674;POINT (-39.037337 -3.394043)'))) / (select extract(epoch from '2026-06-17 17:04:40'::timestamp) - extract(epoch from '2026-06-17 17:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037305 -3.394057)'), GeomFromEWKT('SRID=4674;POINT (-39.037337 -3.394043)'))) / (select extract(epoch from '2026-06-17 17:04:40'::timestamp) - extract(epoch from '2026-06-17 17:04:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.037343 -3.394042)', '2026-06-17 17:04:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037337 -3.394043)'), GeomFromEWKT('SRID=4674;POINT (-39.037343 -3.394042)'))) / (select extract(epoch from '2026-06-17 17:04:41'::timestamp) - extract(epoch from '2026-06-17 17:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037337 -3.394043)'), GeomFromEWKT('SRID=4674;POINT (-39.037343 -3.394042)'))) / (select extract(epoch from '2026-06-17 17:04:41'::timestamp) - extract(epoch from '2026-06-17 17:04: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'), 46574, 'SRID=4674;POINT (-39.037378 -3.394027)', '2026-06-17 17:04:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037343 -3.394042)'), GeomFromEWKT('SRID=4674;POINT (-39.037378 -3.394027)'))) / (select extract(epoch from '2026-06-17 17:04:51'::timestamp) - extract(epoch from '2026-06-17 17:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037343 -3.394042)'), GeomFromEWKT('SRID=4674;POINT (-39.037378 -3.394027)'))) / (select extract(epoch from '2026-06-17 17:04:51'::timestamp) - extract(epoch from '2026-06-17 17:04: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'), 46574, 'SRID=4674;POINT (-39.037436 -3.393969)', '2026-06-17 17:05:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037378 -3.394027)'), GeomFromEWKT('SRID=4674;POINT (-39.037436 -3.393969)'))) / (select extract(epoch from '2026-06-17 17:05:08'::timestamp) - extract(epoch from '2026-06-17 17:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037378 -3.394027)'), GeomFromEWKT('SRID=4674;POINT (-39.037436 -3.393969)'))) / (select extract(epoch from '2026-06-17 17:05:08'::timestamp) - extract(epoch from '2026-06-17 17:04: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'), 46574, 'SRID=4674;POINT (-39.037473 -3.393915)', '2026-06-17 17:05:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037436 -3.393969)'), GeomFromEWKT('SRID=4674;POINT (-39.037473 -3.393915)'))) / (select extract(epoch from '2026-06-17 17:05:25'::timestamp) - extract(epoch from '2026-06-17 17:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037436 -3.393969)'), GeomFromEWKT('SRID=4674;POINT (-39.037473 -3.393915)'))) / (select extract(epoch from '2026-06-17 17:05:25'::timestamp) - extract(epoch from '2026-06-17 17:05:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.037494 -3.3939)', '2026-06-17 17:05:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037473 -3.393915)'), GeomFromEWKT('SRID=4674;POINT (-39.037494 -3.3939)'))) / (select extract(epoch from '2026-06-17 17:05:36'::timestamp) - extract(epoch from '2026-06-17 17:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037473 -3.393915)'), GeomFromEWKT('SRID=4674;POINT (-39.037494 -3.3939)'))) / (select extract(epoch from '2026-06-17 17:05:36'::timestamp) - extract(epoch from '2026-06-17 17:05: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'), 46574, 'SRID=4674;POINT (-39.037494 -3.393906)', '2026-06-17 17:05:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037494 -3.3939)'), GeomFromEWKT('SRID=4674;POINT (-39.037494 -3.393906)'))) / (select extract(epoch from '2026-06-17 17:05:44'::timestamp) - extract(epoch from '2026-06-17 17:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037494 -3.3939)'), GeomFromEWKT('SRID=4674;POINT (-39.037494 -3.393906)'))) / (select extract(epoch from '2026-06-17 17:05:44'::timestamp) - extract(epoch from '2026-06-17 17:05:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.037516 -3.393908)', '2026-06-17 17:06:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037494 -3.393906)'), GeomFromEWKT('SRID=4674;POINT (-39.037516 -3.393908)'))) / (select extract(epoch from '2026-06-17 17:06:00'::timestamp) - extract(epoch from '2026-06-17 17:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037494 -3.393906)'), GeomFromEWKT('SRID=4674;POINT (-39.037516 -3.393908)'))) / (select extract(epoch from '2026-06-17 17:06:00'::timestamp) - extract(epoch from '2026-06-17 17:05:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.037577 -3.393891)', '2026-06-17 17:06:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037516 -3.393908)'), GeomFromEWKT('SRID=4674;POINT (-39.037577 -3.393891)'))) / (select extract(epoch from '2026-06-17 17:06:13'::timestamp) - extract(epoch from '2026-06-17 17:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037516 -3.393908)'), GeomFromEWKT('SRID=4674;POINT (-39.037577 -3.393891)'))) / (select extract(epoch from '2026-06-17 17:06:13'::timestamp) - extract(epoch from '2026-06-17 17:06: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'), 46574, 'SRID=4674;POINT (-39.037667 -3.393878)', '2026-06-17 17:06:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037577 -3.393891)'), GeomFromEWKT('SRID=4674;POINT (-39.037667 -3.393878)'))) / (select extract(epoch from '2026-06-17 17:06:25'::timestamp) - extract(epoch from '2026-06-17 17:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037577 -3.393891)'), GeomFromEWKT('SRID=4674;POINT (-39.037667 -3.393878)'))) / (select extract(epoch from '2026-06-17 17:06:25'::timestamp) - extract(epoch from '2026-06-17 17:06:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.037735 -3.393856)', '2026-06-17 17:06:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037667 -3.393878)'), GeomFromEWKT('SRID=4674;POINT (-39.037735 -3.393856)'))) / (select extract(epoch from '2026-06-17 17:06:38'::timestamp) - extract(epoch from '2026-06-17 17:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037667 -3.393878)'), GeomFromEWKT('SRID=4674;POINT (-39.037735 -3.393856)'))) / (select extract(epoch from '2026-06-17 17:06:38'::timestamp) - extract(epoch from '2026-06-17 17:06: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'), 46574, 'SRID=4674;POINT (-39.037788 -3.393823)', '2026-06-17 17:06:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037735 -3.393856)'), GeomFromEWKT('SRID=4674;POINT (-39.037788 -3.393823)'))) / (select extract(epoch from '2026-06-17 17:06:54'::timestamp) - extract(epoch from '2026-06-17 17:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037735 -3.393856)'), GeomFromEWKT('SRID=4674;POINT (-39.037788 -3.393823)'))) / (select extract(epoch from '2026-06-17 17:06:54'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.037862 -3.39376)', '2026-06-17 17:07:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037788 -3.393823)'), GeomFromEWKT('SRID=4674;POINT (-39.037862 -3.39376)'))) / (select extract(epoch from '2026-06-17 17:07:09'::timestamp) - extract(epoch from '2026-06-17 17:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037788 -3.393823)'), GeomFromEWKT('SRID=4674;POINT (-39.037862 -3.39376)'))) / (select extract(epoch from '2026-06-17 17:07:09'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.037908 -3.393705)', '2026-06-17 17:07:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037862 -3.39376)'), GeomFromEWKT('SRID=4674;POINT (-39.037908 -3.393705)'))) / (select extract(epoch from '2026-06-17 17:07:24'::timestamp) - extract(epoch from '2026-06-17 17:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037862 -3.39376)'), GeomFromEWKT('SRID=4674;POINT (-39.037908 -3.393705)'))) / (select extract(epoch from '2026-06-17 17:07:24'::timestamp) - extract(epoch from '2026-06-17 17:07:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.037959 -3.393668)', '2026-06-17 17:07:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037908 -3.393705)'), GeomFromEWKT('SRID=4674;POINT (-39.037959 -3.393668)'))) / (select extract(epoch from '2026-06-17 17:07:37'::timestamp) - extract(epoch from '2026-06-17 17:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037908 -3.393705)'), GeomFromEWKT('SRID=4674;POINT (-39.037959 -3.393668)'))) / (select extract(epoch from '2026-06-17 17:07:37'::timestamp) - extract(epoch from '2026-06-17 17:07: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'), 46574, 'SRID=4674;POINT (-39.038045 -3.393613)', '2026-06-17 17:07:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037959 -3.393668)'), GeomFromEWKT('SRID=4674;POINT (-39.038045 -3.393613)'))) / (select extract(epoch from '2026-06-17 17:07:57'::timestamp) - extract(epoch from '2026-06-17 17:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.037959 -3.393668)'), GeomFromEWKT('SRID=4674;POINT (-39.038045 -3.393613)'))) / (select extract(epoch from '2026-06-17 17:07:57'::timestamp) - extract(epoch from '2026-06-17 17:07: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'), 46574, 'SRID=4674;POINT (-39.038082 -3.393586)', '2026-06-17 17:08:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038045 -3.393613)'), GeomFromEWKT('SRID=4674;POINT (-39.038082 -3.393586)'))) / (select extract(epoch from '2026-06-17 17:08:10'::timestamp) - extract(epoch from '2026-06-17 17:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038045 -3.393613)'), GeomFromEWKT('SRID=4674;POINT (-39.038082 -3.393586)'))) / (select extract(epoch from '2026-06-17 17:08:10'::timestamp) - extract(epoch from '2026-06-17 17:07: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'), 46574, 'SRID=4674;POINT (-39.038129 -3.393566)', '2026-06-17 17:08:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038082 -3.393586)'), GeomFromEWKT('SRID=4674;POINT (-39.038129 -3.393566)'))) / (select extract(epoch from '2026-06-17 17:08:26'::timestamp) - extract(epoch from '2026-06-17 17:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038082 -3.393586)'), GeomFromEWKT('SRID=4674;POINT (-39.038129 -3.393566)'))) / (select extract(epoch from '2026-06-17 17:08:26'::timestamp) - extract(epoch from '2026-06-17 17:08: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'), 46574, 'SRID=4674;POINT (-39.038208 -3.393518)', '2026-06-17 17:08:43', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038129 -3.393566)'), GeomFromEWKT('SRID=4674;POINT (-39.038208 -3.393518)'))) / (select extract(epoch from '2026-06-17 17:08:43'::timestamp) - extract(epoch from '2026-06-17 17:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038129 -3.393566)'), GeomFromEWKT('SRID=4674;POINT (-39.038208 -3.393518)'))) / (select extract(epoch from '2026-06-17 17:08:43'::timestamp) - extract(epoch from '2026-06-17 17:08: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'), 46574, 'SRID=4674;POINT (-39.038255 -3.393464)', '2026-06-17 17:08:56', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038208 -3.393518)'), GeomFromEWKT('SRID=4674;POINT (-39.038255 -3.393464)'))) / (select extract(epoch from '2026-06-17 17:08:56'::timestamp) - extract(epoch from '2026-06-17 17:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038208 -3.393518)'), GeomFromEWKT('SRID=4674;POINT (-39.038255 -3.393464)'))) / (select extract(epoch from '2026-06-17 17:08:56'::timestamp) - extract(epoch from '2026-06-17 17:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.038311 -3.393427)', '2026-06-17 17:09:12', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038255 -3.393464)'), GeomFromEWKT('SRID=4674;POINT (-39.038311 -3.393427)'))) / (select extract(epoch from '2026-06-17 17:09:12'::timestamp) - extract(epoch from '2026-06-17 17:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038255 -3.393464)'), GeomFromEWKT('SRID=4674;POINT (-39.038311 -3.393427)'))) / (select extract(epoch from '2026-06-17 17:09:12'::timestamp) - extract(epoch from '2026-06-17 17:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.038348 -3.393411)', '2026-06-17 17:09:26', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038311 -3.393427)'), GeomFromEWKT('SRID=4674;POINT (-39.038348 -3.393411)'))) / (select extract(epoch from '2026-06-17 17:09:26'::timestamp) - extract(epoch from '2026-06-17 17:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038311 -3.393427)'), GeomFromEWKT('SRID=4674;POINT (-39.038348 -3.393411)'))) / (select extract(epoch from '2026-06-17 17:09:26'::timestamp) - extract(epoch from '2026-06-17 17:09: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'), 46574, 'SRID=4674;POINT (-39.038397 -3.393392)', '2026-06-17 17:09:39', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038348 -3.393411)'), GeomFromEWKT('SRID=4674;POINT (-39.038397 -3.393392)'))) / (select extract(epoch from '2026-06-17 17:09:39'::timestamp) - extract(epoch from '2026-06-17 17:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038348 -3.393411)'), GeomFromEWKT('SRID=4674;POINT (-39.038397 -3.393392)'))) / (select extract(epoch from '2026-06-17 17:09:39'::timestamp) - extract(epoch from '2026-06-17 17:09:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.038467 -3.393363)', '2026-06-17 17:09:53', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038397 -3.393392)'), GeomFromEWKT('SRID=4674;POINT (-39.038467 -3.393363)'))) / (select extract(epoch from '2026-06-17 17:09:53'::timestamp) - extract(epoch from '2026-06-17 17:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038397 -3.393392)'), GeomFromEWKT('SRID=4674;POINT (-39.038467 -3.393363)'))) / (select extract(epoch from '2026-06-17 17:09:53'::timestamp) - extract(epoch from '2026-06-17 17:09:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.03852 -3.393317)', '2026-06-17 17:10:09', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038467 -3.393363)'), GeomFromEWKT('SRID=4674;POINT (-39.03852 -3.393317)'))) / (select extract(epoch from '2026-06-17 17:10:09'::timestamp) - extract(epoch from '2026-06-17 17:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038467 -3.393363)'), GeomFromEWKT('SRID=4674;POINT (-39.03852 -3.393317)'))) / (select extract(epoch from '2026-06-17 17:10:09'::timestamp) - extract(epoch from '2026-06-17 17:09: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'), 46574, 'SRID=4674;POINT (-39.038559 -3.393273)', '2026-06-17 17:10:20', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03852 -3.393317)'), GeomFromEWKT('SRID=4674;POINT (-39.038559 -3.393273)'))) / (select extract(epoch from '2026-06-17 17:10:20'::timestamp) - extract(epoch from '2026-06-17 17:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03852 -3.393317)'), GeomFromEWKT('SRID=4674;POINT (-39.038559 -3.393273)'))) / (select extract(epoch from '2026-06-17 17:10:20'::timestamp) - extract(epoch from '2026-06-17 17:10: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'), 46574, 'SRID=4674;POINT (-39.038574 -3.393262)', '2026-06-17 17:10:26', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038559 -3.393273)'), GeomFromEWKT('SRID=4674;POINT (-39.038574 -3.393262)'))) / (select extract(epoch from '2026-06-17 17:10:26'::timestamp) - extract(epoch from '2026-06-17 17:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038559 -3.393273)'), GeomFromEWKT('SRID=4674;POINT (-39.038574 -3.393262)'))) / (select extract(epoch from '2026-06-17 17:10:26'::timestamp) - extract(epoch from '2026-06-17 17:10: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'), 46574, 'SRID=4674;POINT (-39.038605 -3.393245)', '2026-06-17 17:10:33', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038574 -3.393262)'), GeomFromEWKT('SRID=4674;POINT (-39.038605 -3.393245)'))) / (select extract(epoch from '2026-06-17 17:10:33'::timestamp) - extract(epoch from '2026-06-17 17:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038574 -3.393262)'), GeomFromEWKT('SRID=4674;POINT (-39.038605 -3.393245)'))) / (select extract(epoch from '2026-06-17 17:10:33'::timestamp) - extract(epoch from '2026-06-17 17:10: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'), 46574, 'SRID=4674;POINT (-39.038651 -3.393227)', '2026-06-17 17:10:40', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038605 -3.393245)'), GeomFromEWKT('SRID=4674;POINT (-39.038651 -3.393227)'))) / (select extract(epoch from '2026-06-17 17:10:40'::timestamp) - extract(epoch from '2026-06-17 17:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038605 -3.393245)'), GeomFromEWKT('SRID=4674;POINT (-39.038651 -3.393227)'))) / (select extract(epoch from '2026-06-17 17:10:40'::timestamp) - extract(epoch from '2026-06-17 17:10: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'), 46574, 'SRID=4674;POINT (-39.038726 -3.393195)', '2026-06-17 17:10:56', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038651 -3.393227)'), GeomFromEWKT('SRID=4674;POINT (-39.038726 -3.393195)'))) / (select extract(epoch from '2026-06-17 17:10:56'::timestamp) - extract(epoch from '2026-06-17 17:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038651 -3.393227)'), GeomFromEWKT('SRID=4674;POINT (-39.038726 -3.393195)'))) / (select extract(epoch from '2026-06-17 17:10:56'::timestamp) - extract(epoch from '2026-06-17 17:10: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'), 46574, 'SRID=4674;POINT (-39.038781 -3.393146)', '2026-06-17 17:11:08', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038726 -3.393195)'), GeomFromEWKT('SRID=4674;POINT (-39.038781 -3.393146)'))) / (select extract(epoch from '2026-06-17 17:11:08'::timestamp) - extract(epoch from '2026-06-17 17:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038726 -3.393195)'), GeomFromEWKT('SRID=4674;POINT (-39.038781 -3.393146)'))) / (select extract(epoch from '2026-06-17 17:11:08'::timestamp) - extract(epoch from '2026-06-17 17:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.038801 -3.393129)', '2026-06-17 17:11:11', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038781 -3.393146)'), GeomFromEWKT('SRID=4674;POINT (-39.038801 -3.393129)'))) / (select extract(epoch from '2026-06-17 17:11:11'::timestamp) - extract(epoch from '2026-06-17 17:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038781 -3.393146)'), GeomFromEWKT('SRID=4674;POINT (-39.038801 -3.393129)'))) / (select extract(epoch from '2026-06-17 17:11:11'::timestamp) - extract(epoch from '2026-06-17 17:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.038817 -3.393115)', '2026-06-17 17:11:14', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038801 -3.393129)'), GeomFromEWKT('SRID=4674;POINT (-39.038817 -3.393115)'))) / (select extract(epoch from '2026-06-17 17:11:14'::timestamp) - extract(epoch from '2026-06-17 17:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038801 -3.393129)'), GeomFromEWKT('SRID=4674;POINT (-39.038817 -3.393115)'))) / (select extract(epoch from '2026-06-17 17:11:14'::timestamp) - extract(epoch from '2026-06-17 17:11: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'), 46574, 'SRID=4674;POINT (-39.038843 -3.393094)', '2026-06-17 17:11:21', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038817 -3.393115)'), GeomFromEWKT('SRID=4674;POINT (-39.038843 -3.393094)'))) / (select extract(epoch from '2026-06-17 17:11:21'::timestamp) - extract(epoch from '2026-06-17 17:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038817 -3.393115)'), GeomFromEWKT('SRID=4674;POINT (-39.038843 -3.393094)'))) / (select extract(epoch from '2026-06-17 17:11:21'::timestamp) - extract(epoch from '2026-06-17 17:11: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'), 46574, 'SRID=4674;POINT (-39.038854 -3.393083)', '2026-06-17 17:11:24', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038843 -3.393094)'), GeomFromEWKT('SRID=4674;POINT (-39.038854 -3.393083)'))) / (select extract(epoch from '2026-06-17 17:11:24'::timestamp) - extract(epoch from '2026-06-17 17:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038843 -3.393094)'), GeomFromEWKT('SRID=4674;POINT (-39.038854 -3.393083)'))) / (select extract(epoch from '2026-06-17 17:11:24'::timestamp) - extract(epoch from '2026-06-17 17:11: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'), 46574, 'SRID=4674;POINT (-39.038867 -3.393074)', '2026-06-17 17:11:28', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038854 -3.393083)'), GeomFromEWKT('SRID=4674;POINT (-39.038867 -3.393074)'))) / (select extract(epoch from '2026-06-17 17:11:28'::timestamp) - extract(epoch from '2026-06-17 17:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038854 -3.393083)'), GeomFromEWKT('SRID=4674;POINT (-39.038867 -3.393074)'))) / (select extract(epoch from '2026-06-17 17:11:28'::timestamp) - extract(epoch from '2026-06-17 17:11:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.038905 -3.393049)', '2026-06-17 17:11:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038867 -3.393074)'), GeomFromEWKT('SRID=4674;POINT (-39.038905 -3.393049)'))) / (select extract(epoch from '2026-06-17 17:11:39'::timestamp) - extract(epoch from '2026-06-17 17:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038867 -3.393074)'), GeomFromEWKT('SRID=4674;POINT (-39.038905 -3.393049)'))) / (select extract(epoch from '2026-06-17 17:11:39'::timestamp) - extract(epoch from '2026-06-17 17:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.038965 -3.392995)', '2026-06-17 17:11:56', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038905 -3.393049)'), GeomFromEWKT('SRID=4674;POINT (-39.038965 -3.392995)'))) / (select extract(epoch from '2026-06-17 17:11:56'::timestamp) - extract(epoch from '2026-06-17 17:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038905 -3.393049)'), GeomFromEWKT('SRID=4674;POINT (-39.038965 -3.392995)'))) / (select extract(epoch from '2026-06-17 17:11:56'::timestamp) - extract(epoch from '2026-06-17 17:11:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.039042 -3.392967)', '2026-06-17 17:12:14', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038965 -3.392995)'), GeomFromEWKT('SRID=4674;POINT (-39.039042 -3.392967)'))) / (select extract(epoch from '2026-06-17 17:12:14'::timestamp) - extract(epoch from '2026-06-17 17:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.038965 -3.392995)'), GeomFromEWKT('SRID=4674;POINT (-39.039042 -3.392967)'))) / (select extract(epoch from '2026-06-17 17:12:14'::timestamp) - extract(epoch from '2026-06-17 17:11: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'), 46574, 'SRID=4674;POINT (-39.039077 -3.392959)', '2026-06-17 17:12:23', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039042 -3.392967)'), GeomFromEWKT('SRID=4674;POINT (-39.039077 -3.392959)'))) / (select extract(epoch from '2026-06-17 17:12:23'::timestamp) - extract(epoch from '2026-06-17 17:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039042 -3.392967)'), GeomFromEWKT('SRID=4674;POINT (-39.039077 -3.392959)'))) / (select extract(epoch from '2026-06-17 17:12:23'::timestamp) - extract(epoch from '2026-06-17 17:12: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'), 46574, 'SRID=4674;POINT (-39.03914 -3.392908)', '2026-06-17 17:12:39', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039077 -3.392959)'), GeomFromEWKT('SRID=4674;POINT (-39.03914 -3.392908)'))) / (select extract(epoch from '2026-06-17 17:12:39'::timestamp) - extract(epoch from '2026-06-17 17:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039077 -3.392959)'), GeomFromEWKT('SRID=4674;POINT (-39.03914 -3.392908)'))) / (select extract(epoch from '2026-06-17 17:12:39'::timestamp) - extract(epoch from '2026-06-17 17:12: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'), 46574, 'SRID=4674;POINT (-39.039211 -3.392847)', '2026-06-17 17:12:56', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03914 -3.392908)'), GeomFromEWKT('SRID=4674;POINT (-39.039211 -3.392847)'))) / (select extract(epoch from '2026-06-17 17:12:56'::timestamp) - extract(epoch from '2026-06-17 17:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03914 -3.392908)'), GeomFromEWKT('SRID=4674;POINT (-39.039211 -3.392847)'))) / (select extract(epoch from '2026-06-17 17:12:56'::timestamp) - extract(epoch from '2026-06-17 17:12: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'), 46574, 'SRID=4674;POINT (-39.039235 -3.392821)', '2026-06-17 17:13:04', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039211 -3.392847)'), GeomFromEWKT('SRID=4674;POINT (-39.039235 -3.392821)'))) / (select extract(epoch from '2026-06-17 17:13:04'::timestamp) - extract(epoch from '2026-06-17 17:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039211 -3.392847)'), GeomFromEWKT('SRID=4674;POINT (-39.039235 -3.392821)'))) / (select extract(epoch from '2026-06-17 17:13:04'::timestamp) - extract(epoch from '2026-06-17 17:12: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'), 46574, 'SRID=4674;POINT (-39.03929 -3.392779)', '2026-06-17 17:13:18', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039235 -3.392821)'), GeomFromEWKT('SRID=4674;POINT (-39.03929 -3.392779)'))) / (select extract(epoch from '2026-06-17 17:13:18'::timestamp) - extract(epoch from '2026-06-17 17:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039235 -3.392821)'), GeomFromEWKT('SRID=4674;POINT (-39.03929 -3.392779)'))) / (select extract(epoch from '2026-06-17 17:13:18'::timestamp) - extract(epoch from '2026-06-17 17:13: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'), 46574, 'SRID=4674;POINT (-39.039325 -3.39276)', '2026-06-17 17:13:26', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03929 -3.392779)'), GeomFromEWKT('SRID=4674;POINT (-39.039325 -3.39276)'))) / (select extract(epoch from '2026-06-17 17:13:26'::timestamp) - extract(epoch from '2026-06-17 17:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03929 -3.392779)'), GeomFromEWKT('SRID=4674;POINT (-39.039325 -3.39276)'))) / (select extract(epoch from '2026-06-17 17:13:26'::timestamp) - extract(epoch from '2026-06-17 17:13: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'), 46574, 'SRID=4674;POINT (-39.039409 -3.392713)', '2026-06-17 17:13:41', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039325 -3.39276)'), GeomFromEWKT('SRID=4674;POINT (-39.039409 -3.392713)'))) / (select extract(epoch from '2026-06-17 17:13:41'::timestamp) - extract(epoch from '2026-06-17 17:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039325 -3.39276)'), GeomFromEWKT('SRID=4674;POINT (-39.039409 -3.392713)'))) / (select extract(epoch from '2026-06-17 17:13:41'::timestamp) - extract(epoch from '2026-06-17 17:13: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'), 46574, 'SRID=4674;POINT (-39.039462 -3.392685)', '2026-06-17 17:13:52', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039409 -3.392713)'), GeomFromEWKT('SRID=4674;POINT (-39.039462 -3.392685)'))) / (select extract(epoch from '2026-06-17 17:13:52'::timestamp) - extract(epoch from '2026-06-17 17:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039409 -3.392713)'), GeomFromEWKT('SRID=4674;POINT (-39.039462 -3.392685)'))) / (select extract(epoch from '2026-06-17 17:13:52'::timestamp) - extract(epoch from '2026-06-17 17:13: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'), 46574, 'SRID=4674;POINT (-39.039512 -3.392652)', '2026-06-17 17:14:05', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039462 -3.392685)'), GeomFromEWKT('SRID=4674;POINT (-39.039512 -3.392652)'))) / (select extract(epoch from '2026-06-17 17:14:05'::timestamp) - extract(epoch from '2026-06-17 17:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039462 -3.392685)'), GeomFromEWKT('SRID=4674;POINT (-39.039512 -3.392652)'))) / (select extract(epoch from '2026-06-17 17:14:05'::timestamp) - extract(epoch from '2026-06-17 17:13: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'), 46574, 'SRID=4674;POINT (-39.03956 -3.392594)', '2026-06-17 17:14:19', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039512 -3.392652)'), GeomFromEWKT('SRID=4674;POINT (-39.03956 -3.392594)'))) / (select extract(epoch from '2026-06-17 17:14:19'::timestamp) - extract(epoch from '2026-06-17 17:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039512 -3.392652)'), GeomFromEWKT('SRID=4674;POINT (-39.03956 -3.392594)'))) / (select extract(epoch from '2026-06-17 17:14:19'::timestamp) - extract(epoch from '2026-06-17 17:14: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'), 46574, 'SRID=4674;POINT (-39.0396 -3.392537)', '2026-06-17 17:14:30', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03956 -3.392594)'), GeomFromEWKT('SRID=4674;POINT (-39.0396 -3.392537)'))) / (select extract(epoch from '2026-06-17 17:14:30'::timestamp) - extract(epoch from '2026-06-17 17:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03956 -3.392594)'), GeomFromEWKT('SRID=4674;POINT (-39.0396 -3.392537)'))) / (select extract(epoch from '2026-06-17 17:14:30'::timestamp) - extract(epoch from '2026-06-17 17:14: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'), 46574, 'SRID=4674;POINT (-39.039663 -3.392492)', '2026-06-17 17:14:44', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0396 -3.392537)'), GeomFromEWKT('SRID=4674;POINT (-39.039663 -3.392492)'))) / (select extract(epoch from '2026-06-17 17:14:44'::timestamp) - extract(epoch from '2026-06-17 17:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0396 -3.392537)'), GeomFromEWKT('SRID=4674;POINT (-39.039663 -3.392492)'))) / (select extract(epoch from '2026-06-17 17:14:44'::timestamp) - extract(epoch from '2026-06-17 17:14: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'), 46574, 'SRID=4674;POINT (-39.039694 -3.392492)', '2026-06-17 17:14:50', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039663 -3.392492)'), GeomFromEWKT('SRID=4674;POINT (-39.039694 -3.392492)'))) / (select extract(epoch from '2026-06-17 17:14:50'::timestamp) - extract(epoch from '2026-06-17 17:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039663 -3.392492)'), GeomFromEWKT('SRID=4674;POINT (-39.039694 -3.392492)'))) / (select extract(epoch from '2026-06-17 17:14:50'::timestamp) - extract(epoch from '2026-06-17 17:14: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'), 46574, 'SRID=4674;POINT (-39.039716 -3.392452)', '2026-06-17 17:14:58', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039694 -3.392492)'), GeomFromEWKT('SRID=4674;POINT (-39.039716 -3.392452)'))) / (select extract(epoch from '2026-06-17 17:14:58'::timestamp) - extract(epoch from '2026-06-17 17:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039694 -3.392492)'), GeomFromEWKT('SRID=4674;POINT (-39.039716 -3.392452)'))) / (select extract(epoch from '2026-06-17 17:14:58'::timestamp) - extract(epoch from '2026-06-17 17:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.039757 -3.392408)', '2026-06-17 17:15:06', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039716 -3.392452)'), GeomFromEWKT('SRID=4674;POINT (-39.039757 -3.392408)'))) / (select extract(epoch from '2026-06-17 17:15:06'::timestamp) - extract(epoch from '2026-06-17 17:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039716 -3.392452)'), GeomFromEWKT('SRID=4674;POINT (-39.039757 -3.392408)'))) / (select extract(epoch from '2026-06-17 17:15:06'::timestamp) - extract(epoch from '2026-06-17 17:14: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'), 46574, 'SRID=4674;POINT (-39.039782 -3.392387)', '2026-06-17 17:15:12', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039757 -3.392408)'), GeomFromEWKT('SRID=4674;POINT (-39.039782 -3.392387)'))) / (select extract(epoch from '2026-06-17 17:15:12'::timestamp) - extract(epoch from '2026-06-17 17:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039757 -3.392408)'), GeomFromEWKT('SRID=4674;POINT (-39.039782 -3.392387)'))) / (select extract(epoch from '2026-06-17 17:15:12'::timestamp) - extract(epoch from '2026-06-17 17:15:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.039824 -3.392356)', '2026-06-17 17:15:21', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039782 -3.392387)'), GeomFromEWKT('SRID=4674;POINT (-39.039824 -3.392356)'))) / (select extract(epoch from '2026-06-17 17:15:21'::timestamp) - extract(epoch from '2026-06-17 17:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039782 -3.392387)'), GeomFromEWKT('SRID=4674;POINT (-39.039824 -3.392356)'))) / (select extract(epoch from '2026-06-17 17:15:21'::timestamp) - extract(epoch from '2026-06-17 17:15: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'), 46574, 'SRID=4674;POINT (-39.039851 -3.39234)', '2026-06-17 17:15:28', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039824 -3.392356)'), GeomFromEWKT('SRID=4674;POINT (-39.039851 -3.39234)'))) / (select extract(epoch from '2026-06-17 17:15:28'::timestamp) - extract(epoch from '2026-06-17 17:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039824 -3.392356)'), GeomFromEWKT('SRID=4674;POINT (-39.039851 -3.39234)'))) / (select extract(epoch from '2026-06-17 17:15:28'::timestamp) - extract(epoch from '2026-06-17 17:15: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'), 46574, 'SRID=4674;POINT (-39.039872 -3.392321)', '2026-06-17 17:15:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039851 -3.39234)'), GeomFromEWKT('SRID=4674;POINT (-39.039872 -3.392321)'))) / (select extract(epoch from '2026-06-17 17:15:36'::timestamp) - extract(epoch from '2026-06-17 17:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039851 -3.39234)'), GeomFromEWKT('SRID=4674;POINT (-39.039872 -3.392321)'))) / (select extract(epoch from '2026-06-17 17:15:36'::timestamp) - extract(epoch from '2026-06-17 17:15: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'), 46574, 'SRID=4674;POINT (-39.039905 -3.392299)', '2026-06-17 17:15:44', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039872 -3.392321)'), GeomFromEWKT('SRID=4674;POINT (-39.039905 -3.392299)'))) / (select extract(epoch from '2026-06-17 17:15:44'::timestamp) - extract(epoch from '2026-06-17 17:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039872 -3.392321)'), GeomFromEWKT('SRID=4674;POINT (-39.039905 -3.392299)'))) / (select extract(epoch from '2026-06-17 17:15:44'::timestamp) - extract(epoch from '2026-06-17 17:15: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'), 46574, 'SRID=4674;POINT (-39.039961 -3.392268)', '2026-06-17 17:15:54', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039905 -3.392299)'), GeomFromEWKT('SRID=4674;POINT (-39.039961 -3.392268)'))) / (select extract(epoch from '2026-06-17 17:15:54'::timestamp) - extract(epoch from '2026-06-17 17:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039905 -3.392299)'), GeomFromEWKT('SRID=4674;POINT (-39.039961 -3.392268)'))) / (select extract(epoch from '2026-06-17 17:15:54'::timestamp) - extract(epoch from '2026-06-17 17:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.039992 -3.392234)', '2026-06-17 17:16:04', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039961 -3.392268)'), GeomFromEWKT('SRID=4674;POINT (-39.039992 -3.392234)'))) / (select extract(epoch from '2026-06-17 17:16:04'::timestamp) - extract(epoch from '2026-06-17 17:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039961 -3.392268)'), GeomFromEWKT('SRID=4674;POINT (-39.039992 -3.392234)'))) / (select extract(epoch from '2026-06-17 17:16:04'::timestamp) - extract(epoch from '2026-06-17 17:15: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'), 46574, 'SRID=4674;POINT (-39.04004 -3.392186)', '2026-06-17 17:16:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039992 -3.392234)'), GeomFromEWKT('SRID=4674;POINT (-39.04004 -3.392186)'))) / (select extract(epoch from '2026-06-17 17:16:17'::timestamp) - extract(epoch from '2026-06-17 17:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.039992 -3.392234)'), GeomFromEWKT('SRID=4674;POINT (-39.04004 -3.392186)'))) / (select extract(epoch from '2026-06-17 17:16:17'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.040084 -3.392142)', '2026-06-17 17:16:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04004 -3.392186)'), GeomFromEWKT('SRID=4674;POINT (-39.040084 -3.392142)'))) / (select extract(epoch from '2026-06-17 17:16:26'::timestamp) - extract(epoch from '2026-06-17 17:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04004 -3.392186)'), GeomFromEWKT('SRID=4674;POINT (-39.040084 -3.392142)'))) / (select extract(epoch from '2026-06-17 17:16:26'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.040121 -3.392116)', '2026-06-17 17:16:34', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040084 -3.392142)'), GeomFromEWKT('SRID=4674;POINT (-39.040121 -3.392116)'))) / (select extract(epoch from '2026-06-17 17:16:34'::timestamp) - extract(epoch from '2026-06-17 17:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040084 -3.392142)'), GeomFromEWKT('SRID=4674;POINT (-39.040121 -3.392116)'))) / (select extract(epoch from '2026-06-17 17:16:34'::timestamp) - extract(epoch from '2026-06-17 17:16:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.040141 -3.39212)', '2026-06-17 17:16:45', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040121 -3.392116)'), GeomFromEWKT('SRID=4674;POINT (-39.040141 -3.39212)'))) / (select extract(epoch from '2026-06-17 17:16:45'::timestamp) - extract(epoch from '2026-06-17 17:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040121 -3.392116)'), GeomFromEWKT('SRID=4674;POINT (-39.040141 -3.39212)'))) / (select extract(epoch from '2026-06-17 17:16:45'::timestamp) - extract(epoch from '2026-06-17 17:16: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'), 46574, 'SRID=4674;POINT (-39.040178 -3.39211)', '2026-06-17 17:16:53', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040141 -3.39212)'), GeomFromEWKT('SRID=4674;POINT (-39.040178 -3.39211)'))) / (select extract(epoch from '2026-06-17 17:16:53'::timestamp) - extract(epoch from '2026-06-17 17:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040141 -3.39212)'), GeomFromEWKT('SRID=4674;POINT (-39.040178 -3.39211)'))) / (select extract(epoch from '2026-06-17 17:16:53'::timestamp) - extract(epoch from '2026-06-17 17:16:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.040226 -3.392091)', '2026-06-17 17:17:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040178 -3.39211)'), GeomFromEWKT('SRID=4674;POINT (-39.040226 -3.392091)'))) / (select extract(epoch from '2026-06-17 17:17:01'::timestamp) - extract(epoch from '2026-06-17 17:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040178 -3.39211)'), GeomFromEWKT('SRID=4674;POINT (-39.040226 -3.392091)'))) / (select extract(epoch from '2026-06-17 17:17:01'::timestamp) - extract(epoch from '2026-06-17 17:16: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'), 46574, 'SRID=4674;POINT (-39.040279 -3.392071)', '2026-06-17 17:17:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040226 -3.392091)'), GeomFromEWKT('SRID=4674;POINT (-39.040279 -3.392071)'))) / (select extract(epoch from '2026-06-17 17:17:11'::timestamp) - extract(epoch from '2026-06-17 17:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040226 -3.392091)'), GeomFromEWKT('SRID=4674;POINT (-39.040279 -3.392071)'))) / (select extract(epoch from '2026-06-17 17:17:11'::timestamp) - extract(epoch from '2026-06-17 17:17: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'), 46574, 'SRID=4674;POINT (-39.040321 -3.392038)', '2026-06-17 17:17:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040279 -3.392071)'), GeomFromEWKT('SRID=4674;POINT (-39.040321 -3.392038)'))) / (select extract(epoch from '2026-06-17 17:17:24'::timestamp) - extract(epoch from '2026-06-17 17:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040279 -3.392071)'), GeomFromEWKT('SRID=4674;POINT (-39.040321 -3.392038)'))) / (select extract(epoch from '2026-06-17 17:17:24'::timestamp) - extract(epoch from '2026-06-17 17:17: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'), 46574, 'SRID=4674;POINT (-39.040355 -3.392)', '2026-06-17 17:17:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040321 -3.392038)'), GeomFromEWKT('SRID=4674;POINT (-39.040355 -3.392)'))) / (select extract(epoch from '2026-06-17 17:17:33'::timestamp) - extract(epoch from '2026-06-17 17:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040321 -3.392038)'), GeomFromEWKT('SRID=4674;POINT (-39.040355 -3.392)'))) / (select extract(epoch from '2026-06-17 17:17:33'::timestamp) - extract(epoch from '2026-06-17 17:17: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'), 46574, 'SRID=4674;POINT (-39.04039 -3.391962)', '2026-06-17 17:17:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040355 -3.392)'), GeomFromEWKT('SRID=4674;POINT (-39.04039 -3.391962)'))) / (select extract(epoch from '2026-06-17 17:17:41'::timestamp) - extract(epoch from '2026-06-17 17:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040355 -3.392)'), GeomFromEWKT('SRID=4674;POINT (-39.04039 -3.391962)'))) / (select extract(epoch from '2026-06-17 17:17:41'::timestamp) - extract(epoch from '2026-06-17 17:17: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'), 46574, 'SRID=4674;POINT (-39.040421 -3.3919)', '2026-06-17 17:17:53', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04039 -3.391962)'), GeomFromEWKT('SRID=4674;POINT (-39.040421 -3.3919)'))) / (select extract(epoch from '2026-06-17 17:17:53'::timestamp) - extract(epoch from '2026-06-17 17:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04039 -3.391962)'), GeomFromEWKT('SRID=4674;POINT (-39.040421 -3.3919)'))) / (select extract(epoch from '2026-06-17 17:17:53'::timestamp) - extract(epoch from '2026-06-17 17:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.040465 -3.391857)', '2026-06-17 17:18:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040421 -3.3919)'), GeomFromEWKT('SRID=4674;POINT (-39.040465 -3.391857)'))) / (select extract(epoch from '2026-06-17 17:18:03'::timestamp) - extract(epoch from '2026-06-17 17:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040421 -3.3919)'), GeomFromEWKT('SRID=4674;POINT (-39.040465 -3.391857)'))) / (select extract(epoch from '2026-06-17 17:18:03'::timestamp) - extract(epoch from '2026-06-17 17:17: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'), 46574, 'SRID=4674;POINT (-39.0405 -3.391814)', '2026-06-17 17:18:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040465 -3.391857)'), GeomFromEWKT('SRID=4674;POINT (-39.0405 -3.391814)'))) / (select extract(epoch from '2026-06-17 17:18:15'::timestamp) - extract(epoch from '2026-06-17 17:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040465 -3.391857)'), GeomFromEWKT('SRID=4674;POINT (-39.0405 -3.391814)'))) / (select extract(epoch from '2026-06-17 17:18:15'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.04056 -3.391792)', '2026-06-17 17:18:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0405 -3.391814)'), GeomFromEWKT('SRID=4674;POINT (-39.04056 -3.391792)'))) / (select extract(epoch from '2026-06-17 17:18:27'::timestamp) - extract(epoch from '2026-06-17 17:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0405 -3.391814)'), GeomFromEWKT('SRID=4674;POINT (-39.04056 -3.391792)'))) / (select extract(epoch from '2026-06-17 17:18:27'::timestamp) - extract(epoch from '2026-06-17 17:18: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'), 46574, 'SRID=4674;POINT (-39.040604 -3.391764)', '2026-06-17 17:18:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04056 -3.391792)'), GeomFromEWKT('SRID=4674;POINT (-39.040604 -3.391764)'))) / (select extract(epoch from '2026-06-17 17:18:35'::timestamp) - extract(epoch from '2026-06-17 17:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04056 -3.391792)'), GeomFromEWKT('SRID=4674;POINT (-39.040604 -3.391764)'))) / (select extract(epoch from '2026-06-17 17:18:35'::timestamp) - extract(epoch from '2026-06-17 17:18: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'), 46574, 'SRID=4674;POINT (-39.040659 -3.391709)', '2026-06-17 17:18:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040604 -3.391764)'), GeomFromEWKT('SRID=4674;POINT (-39.040659 -3.391709)'))) / (select extract(epoch from '2026-06-17 17:18:50'::timestamp) - extract(epoch from '2026-06-17 17:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040604 -3.391764)'), GeomFromEWKT('SRID=4674;POINT (-39.040659 -3.391709)'))) / (select extract(epoch from '2026-06-17 17:18:50'::timestamp) - extract(epoch from '2026-06-17 17:18: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'), 46574, 'SRID=4674;POINT (-39.040701 -3.391681)', '2026-06-17 17:19:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040659 -3.391709)'), GeomFromEWKT('SRID=4674;POINT (-39.040701 -3.391681)'))) / (select extract(epoch from '2026-06-17 17:19:01'::timestamp) - extract(epoch from '2026-06-17 17:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040659 -3.391709)'), GeomFromEWKT('SRID=4674;POINT (-39.040701 -3.391681)'))) / (select extract(epoch from '2026-06-17 17:19:01'::timestamp) - extract(epoch from '2026-06-17 17:18: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'), 46574, 'SRID=4674;POINT (-39.040763 -3.39165)', '2026-06-17 17:19:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040701 -3.391681)'), GeomFromEWKT('SRID=4674;POINT (-39.040763 -3.39165)'))) / (select extract(epoch from '2026-06-17 17:19:15'::timestamp) - extract(epoch from '2026-06-17 17:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040701 -3.391681)'), GeomFromEWKT('SRID=4674;POINT (-39.040763 -3.39165)'))) / (select extract(epoch from '2026-06-17 17:19:15'::timestamp) - extract(epoch from '2026-06-17 17:19: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'), 46574, 'SRID=4674;POINT (-39.040806 -3.391605)', '2026-06-17 17:19:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040763 -3.39165)'), GeomFromEWKT('SRID=4674;POINT (-39.040806 -3.391605)'))) / (select extract(epoch from '2026-06-17 17:19:28'::timestamp) - extract(epoch from '2026-06-17 17:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040763 -3.39165)'), GeomFromEWKT('SRID=4674;POINT (-39.040806 -3.391605)'))) / (select extract(epoch from '2026-06-17 17:19:28'::timestamp) - extract(epoch from '2026-06-17 17:19:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.040817 -3.391579)', '2026-06-17 17:19:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040806 -3.391605)'), GeomFromEWKT('SRID=4674;POINT (-39.040817 -3.391579)'))) / (select extract(epoch from '2026-06-17 17:19:34'::timestamp) - extract(epoch from '2026-06-17 17:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040806 -3.391605)'), GeomFromEWKT('SRID=4674;POINT (-39.040817 -3.391579)'))) / (select extract(epoch from '2026-06-17 17:19:34'::timestamp) - extract(epoch from '2026-06-17 17:19:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.04084 -3.391558)', '2026-06-17 17:19:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040817 -3.391579)'), GeomFromEWKT('SRID=4674;POINT (-39.04084 -3.391558)'))) / (select extract(epoch from '2026-06-17 17:19:39'::timestamp) - extract(epoch from '2026-06-17 17:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040817 -3.391579)'), GeomFromEWKT('SRID=4674;POINT (-39.04084 -3.391558)'))) / (select extract(epoch from '2026-06-17 17:19:39'::timestamp) - extract(epoch from '2026-06-17 17:19:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.04091 -3.391502)', '2026-06-17 17:19:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04084 -3.391558)'), GeomFromEWKT('SRID=4674;POINT (-39.04091 -3.391502)'))) / (select extract(epoch from '2026-06-17 17:19:56'::timestamp) - extract(epoch from '2026-06-17 17:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04084 -3.391558)'), GeomFromEWKT('SRID=4674;POINT (-39.04091 -3.391502)'))) / (select extract(epoch from '2026-06-17 17:19:56'::timestamp) - extract(epoch from '2026-06-17 17:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.040948 -3.391475)', '2026-06-17 17:20:07', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04091 -3.391502)'), GeomFromEWKT('SRID=4674;POINT (-39.040948 -3.391475)'))) / (select extract(epoch from '2026-06-17 17:20:07'::timestamp) - extract(epoch from '2026-06-17 17:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04091 -3.391502)'), GeomFromEWKT('SRID=4674;POINT (-39.040948 -3.391475)'))) / (select extract(epoch from '2026-06-17 17:20:07'::timestamp) - extract(epoch from '2026-06-17 17:19:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.040994 -3.391457)', '2026-06-17 17:20:19', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040948 -3.391475)'), GeomFromEWKT('SRID=4674;POINT (-39.040994 -3.391457)'))) / (select extract(epoch from '2026-06-17 17:20:19'::timestamp) - extract(epoch from '2026-06-17 17:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040948 -3.391475)'), GeomFromEWKT('SRID=4674;POINT (-39.040994 -3.391457)'))) / (select extract(epoch from '2026-06-17 17:20:19'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.041065 -3.391413)', '2026-06-17 17:20:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040994 -3.391457)'), GeomFromEWKT('SRID=4674;POINT (-39.041065 -3.391413)'))) / (select extract(epoch from '2026-06-17 17:20:33'::timestamp) - extract(epoch from '2026-06-17 17:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.040994 -3.391457)'), GeomFromEWKT('SRID=4674;POINT (-39.041065 -3.391413)'))) / (select extract(epoch from '2026-06-17 17:20:33'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.04112 -3.391384)', '2026-06-17 17:20:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041065 -3.391413)'), GeomFromEWKT('SRID=4674;POINT (-39.04112 -3.391384)'))) / (select extract(epoch from '2026-06-17 17:20:42'::timestamp) - extract(epoch from '2026-06-17 17:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041065 -3.391413)'), GeomFromEWKT('SRID=4674;POINT (-39.04112 -3.391384)'))) / (select extract(epoch from '2026-06-17 17:20:42'::timestamp) - extract(epoch from '2026-06-17 17:20: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'), 46574, 'SRID=4674;POINT (-39.041164 -3.391341)', '2026-06-17 17:20:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04112 -3.391384)'), GeomFromEWKT('SRID=4674;POINT (-39.041164 -3.391341)'))) / (select extract(epoch from '2026-06-17 17:20:53'::timestamp) - extract(epoch from '2026-06-17 17:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04112 -3.391384)'), GeomFromEWKT('SRID=4674;POINT (-39.041164 -3.391341)'))) / (select extract(epoch from '2026-06-17 17:20:53'::timestamp) - extract(epoch from '2026-06-17 17:20:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.041182 -3.391309)', '2026-06-17 17:21:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041164 -3.391341)'), GeomFromEWKT('SRID=4674;POINT (-39.041182 -3.391309)'))) / (select extract(epoch from '2026-06-17 17:21:02'::timestamp) - extract(epoch from '2026-06-17 17:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041164 -3.391341)'), GeomFromEWKT('SRID=4674;POINT (-39.041182 -3.391309)'))) / (select extract(epoch from '2026-06-17 17:21:02'::timestamp) - extract(epoch from '2026-06-17 17:20: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'), 46574, 'SRID=4674;POINT (-39.041235 -3.391265)', '2026-06-17 17:21:13', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041182 -3.391309)'), GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.391265)'))) / (select extract(epoch from '2026-06-17 17:21:13'::timestamp) - extract(epoch from '2026-06-17 17:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041182 -3.391309)'), GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.391265)'))) / (select extract(epoch from '2026-06-17 17:21:13'::timestamp) - extract(epoch from '2026-06-17 17:21: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'), 46574, 'SRID=4674;POINT (-39.04131 -3.3912)', '2026-06-17 17:21:31', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.391265)'), GeomFromEWKT('SRID=4674;POINT (-39.04131 -3.3912)'))) / (select extract(epoch from '2026-06-17 17:21:31'::timestamp) - extract(epoch from '2026-06-17 17:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041235 -3.391265)'), GeomFromEWKT('SRID=4674;POINT (-39.04131 -3.3912)'))) / (select extract(epoch from '2026-06-17 17:21:31'::timestamp) - extract(epoch from '2026-06-17 17:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.041361 -3.391145)', '2026-06-17 17:21:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04131 -3.3912)'), GeomFromEWKT('SRID=4674;POINT (-39.041361 -3.391145)'))) / (select extract(epoch from '2026-06-17 17:21:43'::timestamp) - extract(epoch from '2026-06-17 17:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04131 -3.3912)'), GeomFromEWKT('SRID=4674;POINT (-39.041361 -3.391145)'))) / (select extract(epoch from '2026-06-17 17:21:43'::timestamp) - extract(epoch from '2026-06-17 17:21:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.041381 -3.391121)', '2026-06-17 17:21:49', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041361 -3.391145)'), GeomFromEWKT('SRID=4674;POINT (-39.041381 -3.391121)'))) / (select extract(epoch from '2026-06-17 17:21:49'::timestamp) - extract(epoch from '2026-06-17 17:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041361 -3.391145)'), GeomFromEWKT('SRID=4674;POINT (-39.041381 -3.391121)'))) / (select extract(epoch from '2026-06-17 17:21:49'::timestamp) - extract(epoch from '2026-06-17 17:21:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.041438 -3.39109)', '2026-06-17 17:22:01', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041381 -3.391121)'), GeomFromEWKT('SRID=4674;POINT (-39.041438 -3.39109)'))) / (select extract(epoch from '2026-06-17 17:22:01'::timestamp) - extract(epoch from '2026-06-17 17:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041381 -3.391121)'), GeomFromEWKT('SRID=4674;POINT (-39.041438 -3.39109)'))) / (select extract(epoch from '2026-06-17 17:22:01'::timestamp) - extract(epoch from '2026-06-17 17:21:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.041464 -3.391083)', '2026-06-17 17:22:07', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041438 -3.39109)'), GeomFromEWKT('SRID=4674;POINT (-39.041464 -3.391083)'))) / (select extract(epoch from '2026-06-17 17:22:07'::timestamp) - extract(epoch from '2026-06-17 17:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041438 -3.39109)'), GeomFromEWKT('SRID=4674;POINT (-39.041464 -3.391083)'))) / (select extract(epoch from '2026-06-17 17:22:07'::timestamp) - extract(epoch from '2026-06-17 17:22: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'), 46574, 'SRID=4674;POINT (-39.041503 -3.39105)', '2026-06-17 17:22:15', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041464 -3.391083)'), GeomFromEWKT('SRID=4674;POINT (-39.041503 -3.39105)'))) / (select extract(epoch from '2026-06-17 17:22:15'::timestamp) - extract(epoch from '2026-06-17 17:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041464 -3.391083)'), GeomFromEWKT('SRID=4674;POINT (-39.041503 -3.39105)'))) / (select extract(epoch from '2026-06-17 17:22:15'::timestamp) - extract(epoch from '2026-06-17 17:22: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'), 46574, 'SRID=4674;POINT (-39.041535 -3.391023)', '2026-06-17 17:22:22', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041503 -3.39105)'), GeomFromEWKT('SRID=4674;POINT (-39.041535 -3.391023)'))) / (select extract(epoch from '2026-06-17 17:22:22'::timestamp) - extract(epoch from '2026-06-17 17:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041503 -3.39105)'), GeomFromEWKT('SRID=4674;POINT (-39.041535 -3.391023)'))) / (select extract(epoch from '2026-06-17 17:22:22'::timestamp) - extract(epoch from '2026-06-17 17:22: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'), 46574, 'SRID=4674;POINT (-39.041554 -3.390997)', '2026-06-17 17:22:33', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041535 -3.391023)'), GeomFromEWKT('SRID=4674;POINT (-39.041554 -3.390997)'))) / (select extract(epoch from '2026-06-17 17:22:33'::timestamp) - extract(epoch from '2026-06-17 17:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041535 -3.391023)'), GeomFromEWKT('SRID=4674;POINT (-39.041554 -3.390997)'))) / (select extract(epoch from '2026-06-17 17:22:33'::timestamp) - extract(epoch from '2026-06-17 17:22:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.041612 -3.390961)', '2026-06-17 17:22:48', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041554 -3.390997)'), GeomFromEWKT('SRID=4674;POINT (-39.041612 -3.390961)'))) / (select extract(epoch from '2026-06-17 17:22:48'::timestamp) - extract(epoch from '2026-06-17 17:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041554 -3.390997)'), GeomFromEWKT('SRID=4674;POINT (-39.041612 -3.390961)'))) / (select extract(epoch from '2026-06-17 17:22:48'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.041655 -3.390937)', '2026-06-17 17:22:58', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041612 -3.390961)'), GeomFromEWKT('SRID=4674;POINT (-39.041655 -3.390937)'))) / (select extract(epoch from '2026-06-17 17:22:58'::timestamp) - extract(epoch from '2026-06-17 17:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041612 -3.390961)'), GeomFromEWKT('SRID=4674;POINT (-39.041655 -3.390937)'))) / (select extract(epoch from '2026-06-17 17:22:58'::timestamp) - extract(epoch from '2026-06-17 17:22: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'), 46574, 'SRID=4674;POINT (-39.041706 -3.390892)', '2026-06-17 17:23:10', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041655 -3.390937)'), GeomFromEWKT('SRID=4674;POINT (-39.041706 -3.390892)'))) / (select extract(epoch from '2026-06-17 17:23:10'::timestamp) - extract(epoch from '2026-06-17 17:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041655 -3.390937)'), GeomFromEWKT('SRID=4674;POINT (-39.041706 -3.390892)'))) / (select extract(epoch from '2026-06-17 17:23:10'::timestamp) - extract(epoch from '2026-06-17 17:22: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'), 46574, 'SRID=4674;POINT (-39.041765 -3.39085)', '2026-06-17 17:23:23', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041706 -3.390892)'), GeomFromEWKT('SRID=4674;POINT (-39.041765 -3.39085)'))) / (select extract(epoch from '2026-06-17 17:23:23'::timestamp) - extract(epoch from '2026-06-17 17:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041706 -3.390892)'), GeomFromEWKT('SRID=4674;POINT (-39.041765 -3.39085)'))) / (select extract(epoch from '2026-06-17 17:23:23'::timestamp) - extract(epoch from '2026-06-17 17:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.041794 -3.390823)', '2026-06-17 17:23:31', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041765 -3.39085)'), GeomFromEWKT('SRID=4674;POINT (-39.041794 -3.390823)'))) / (select extract(epoch from '2026-06-17 17:23:31'::timestamp) - extract(epoch from '2026-06-17 17:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041765 -3.39085)'), GeomFromEWKT('SRID=4674;POINT (-39.041794 -3.390823)'))) / (select extract(epoch from '2026-06-17 17:23:31'::timestamp) - extract(epoch from '2026-06-17 17:23: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'), 46574, 'SRID=4674;POINT (-39.041837 -3.390779)', '2026-06-17 17:23:45', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041794 -3.390823)'), GeomFromEWKT('SRID=4674;POINT (-39.041837 -3.390779)'))) / (select extract(epoch from '2026-06-17 17:23:45'::timestamp) - extract(epoch from '2026-06-17 17:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041794 -3.390823)'), GeomFromEWKT('SRID=4674;POINT (-39.041837 -3.390779)'))) / (select extract(epoch from '2026-06-17 17:23:45'::timestamp) - extract(epoch from '2026-06-17 17:23: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'), 46574, 'SRID=4674;POINT (-39.041911 -3.390719)', '2026-06-17 17:24:00', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041837 -3.390779)'), GeomFromEWKT('SRID=4674;POINT (-39.041911 -3.390719)'))) / (select extract(epoch from '2026-06-17 17:24:00'::timestamp) - extract(epoch from '2026-06-17 17:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041837 -3.390779)'), GeomFromEWKT('SRID=4674;POINT (-39.041911 -3.390719)'))) / (select extract(epoch from '2026-06-17 17:24:00'::timestamp) - extract(epoch from '2026-06-17 17:23:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.04196 -3.390668)', '2026-06-17 17:24:15', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041911 -3.390719)'), GeomFromEWKT('SRID=4674;POINT (-39.04196 -3.390668)'))) / (select extract(epoch from '2026-06-17 17:24:15'::timestamp) - extract(epoch from '2026-06-17 17:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041911 -3.390719)'), GeomFromEWKT('SRID=4674;POINT (-39.04196 -3.390668)'))) / (select extract(epoch from '2026-06-17 17:24:15'::timestamp) - extract(epoch from '2026-06-17 17:24:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.041999 -3.390641)', '2026-06-17 17:24:24', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04196 -3.390668)'), GeomFromEWKT('SRID=4674;POINT (-39.041999 -3.390641)'))) / (select extract(epoch from '2026-06-17 17:24:24'::timestamp) - extract(epoch from '2026-06-17 17:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04196 -3.390668)'), GeomFromEWKT('SRID=4674;POINT (-39.041999 -3.390641)'))) / (select extract(epoch from '2026-06-17 17:24:24'::timestamp) - extract(epoch from '2026-06-17 17:24: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'), 46574, 'SRID=4674;POINT (-39.042029 -3.390609)', '2026-06-17 17:24:31', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041999 -3.390641)'), GeomFromEWKT('SRID=4674;POINT (-39.042029 -3.390609)'))) / (select extract(epoch from '2026-06-17 17:24:31'::timestamp) - extract(epoch from '2026-06-17 17:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.041999 -3.390641)'), GeomFromEWKT('SRID=4674;POINT (-39.042029 -3.390609)'))) / (select extract(epoch from '2026-06-17 17:24:31'::timestamp) - extract(epoch from '2026-06-17 17:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.042062 -3.390593)', '2026-06-17 17:24:40', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042029 -3.390609)'), GeomFromEWKT('SRID=4674;POINT (-39.042062 -3.390593)'))) / (select extract(epoch from '2026-06-17 17:24:40'::timestamp) - extract(epoch from '2026-06-17 17:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042029 -3.390609)'), GeomFromEWKT('SRID=4674;POINT (-39.042062 -3.390593)'))) / (select extract(epoch from '2026-06-17 17:24:40'::timestamp) - extract(epoch from '2026-06-17 17:24:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.042106 -3.390591)', '2026-06-17 17:24:48', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042062 -3.390593)'), GeomFromEWKT('SRID=4674;POINT (-39.042106 -3.390591)'))) / (select extract(epoch from '2026-06-17 17:24:48'::timestamp) - extract(epoch from '2026-06-17 17:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042062 -3.390593)'), GeomFromEWKT('SRID=4674;POINT (-39.042106 -3.390591)'))) / (select extract(epoch from '2026-06-17 17:24:48'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.04217 -3.390541)', '2026-06-17 17:25:03', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042106 -3.390591)'), GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.390541)'))) / (select extract(epoch from '2026-06-17 17:25:03'::timestamp) - extract(epoch from '2026-06-17 17:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042106 -3.390591)'), GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.390541)'))) / (select extract(epoch from '2026-06-17 17:25:03'::timestamp) - extract(epoch from '2026-06-17 17:24: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'), 46574, 'SRID=4674;POINT (-39.042187 -3.390514)', '2026-06-17 17:25:11', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.390541)'), GeomFromEWKT('SRID=4674;POINT (-39.042187 -3.390514)'))) / (select extract(epoch from '2026-06-17 17:25:11'::timestamp) - extract(epoch from '2026-06-17 17:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04217 -3.390541)'), GeomFromEWKT('SRID=4674;POINT (-39.042187 -3.390514)'))) / (select extract(epoch from '2026-06-17 17:25:11'::timestamp) - extract(epoch from '2026-06-17 17:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.042233 -3.390465)', '2026-06-17 17:25:24', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042187 -3.390514)'), GeomFromEWKT('SRID=4674;POINT (-39.042233 -3.390465)'))) / (select extract(epoch from '2026-06-17 17:25:24'::timestamp) - extract(epoch from '2026-06-17 17:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042187 -3.390514)'), GeomFromEWKT('SRID=4674;POINT (-39.042233 -3.390465)'))) / (select extract(epoch from '2026-06-17 17:25:24'::timestamp) - extract(epoch from '2026-06-17 17:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.042274 -3.390446)', '2026-06-17 17:25:34', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042233 -3.390465)'), GeomFromEWKT('SRID=4674;POINT (-39.042274 -3.390446)'))) / (select extract(epoch from '2026-06-17 17:25:34'::timestamp) - extract(epoch from '2026-06-17 17:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042233 -3.390465)'), GeomFromEWKT('SRID=4674;POINT (-39.042274 -3.390446)'))) / (select extract(epoch from '2026-06-17 17:25:34'::timestamp) - extract(epoch from '2026-06-17 17:25:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.042317 -3.390396)', '2026-06-17 17:25:48', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042274 -3.390446)'), GeomFromEWKT('SRID=4674;POINT (-39.042317 -3.390396)'))) / (select extract(epoch from '2026-06-17 17:25:48'::timestamp) - extract(epoch from '2026-06-17 17:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042274 -3.390446)'), GeomFromEWKT('SRID=4674;POINT (-39.042317 -3.390396)'))) / (select extract(epoch from '2026-06-17 17:25:48'::timestamp) - extract(epoch from '2026-06-17 17:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.042357 -3.390378)', '2026-06-17 17:26:01', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042317 -3.390396)'), GeomFromEWKT('SRID=4674;POINT (-39.042357 -3.390378)'))) / (select extract(epoch from '2026-06-17 17:26:01'::timestamp) - extract(epoch from '2026-06-17 17:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042317 -3.390396)'), GeomFromEWKT('SRID=4674;POINT (-39.042357 -3.390378)'))) / (select extract(epoch from '2026-06-17 17:26:01'::timestamp) - extract(epoch from '2026-06-17 17:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.042417 -3.390316)', '2026-06-17 17:26:15', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042357 -3.390378)'), GeomFromEWKT('SRID=4674;POINT (-39.042417 -3.390316)'))) / (select extract(epoch from '2026-06-17 17:26:15'::timestamp) - extract(epoch from '2026-06-17 17:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042357 -3.390378)'), GeomFromEWKT('SRID=4674;POINT (-39.042417 -3.390316)'))) / (select extract(epoch from '2026-06-17 17:26:15'::timestamp) - extract(epoch from '2026-06-17 17:26: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'), 46574, 'SRID=4674;POINT (-39.042467 -3.390249)', '2026-06-17 17:26:30', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042417 -3.390316)'), GeomFromEWKT('SRID=4674;POINT (-39.042467 -3.390249)'))) / (select extract(epoch from '2026-06-17 17:26:30'::timestamp) - extract(epoch from '2026-06-17 17:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042417 -3.390316)'), GeomFromEWKT('SRID=4674;POINT (-39.042467 -3.390249)'))) / (select extract(epoch from '2026-06-17 17:26:30'::timestamp) - extract(epoch from '2026-06-17 17:26:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.042526 -3.390207)', '2026-06-17 17:26:44', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042467 -3.390249)'), GeomFromEWKT('SRID=4674;POINT (-39.042526 -3.390207)'))) / (select extract(epoch from '2026-06-17 17:26:44'::timestamp) - extract(epoch from '2026-06-17 17:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042467 -3.390249)'), GeomFromEWKT('SRID=4674;POINT (-39.042526 -3.390207)'))) / (select extract(epoch from '2026-06-17 17:26:44'::timestamp) - extract(epoch from '2026-06-17 17:26:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.042559 -3.390173)', '2026-06-17 17:26:52', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042526 -3.390207)'), GeomFromEWKT('SRID=4674;POINT (-39.042559 -3.390173)'))) / (select extract(epoch from '2026-06-17 17:26:52'::timestamp) - extract(epoch from '2026-06-17 17:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042526 -3.390207)'), GeomFromEWKT('SRID=4674;POINT (-39.042559 -3.390173)'))) / (select extract(epoch from '2026-06-17 17:26:52'::timestamp) - extract(epoch from '2026-06-17 17:26:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.042588 -3.390152)', '2026-06-17 17:26:59', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042559 -3.390173)'), GeomFromEWKT('SRID=4674;POINT (-39.042588 -3.390152)'))) / (select extract(epoch from '2026-06-17 17:26:59'::timestamp) - extract(epoch from '2026-06-17 17:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042559 -3.390173)'), GeomFromEWKT('SRID=4674;POINT (-39.042588 -3.390152)'))) / (select extract(epoch from '2026-06-17 17:26:59'::timestamp) - extract(epoch from '2026-06-17 17:26: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'), 46574, 'SRID=4674;POINT (-39.042619 -3.390122)', '2026-06-17 17:27:06', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042588 -3.390152)'), GeomFromEWKT('SRID=4674;POINT (-39.042619 -3.390122)'))) / (select extract(epoch from '2026-06-17 17:27:06'::timestamp) - extract(epoch from '2026-06-17 17:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042588 -3.390152)'), GeomFromEWKT('SRID=4674;POINT (-39.042619 -3.390122)'))) / (select extract(epoch from '2026-06-17 17:27:06'::timestamp) - extract(epoch from '2026-06-17 17:26:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.042657 -3.390097)', '2026-06-17 17:27:16', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042619 -3.390122)'), GeomFromEWKT('SRID=4674;POINT (-39.042657 -3.390097)'))) / (select extract(epoch from '2026-06-17 17:27:16'::timestamp) - extract(epoch from '2026-06-17 17:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042619 -3.390122)'), GeomFromEWKT('SRID=4674;POINT (-39.042657 -3.390097)'))) / (select extract(epoch from '2026-06-17 17:27:16'::timestamp) - extract(epoch from '2026-06-17 17:27: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'), 46574, 'SRID=4674;POINT (-39.042711 -3.390039)', '2026-06-17 17:27:31', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042657 -3.390097)'), GeomFromEWKT('SRID=4674;POINT (-39.042711 -3.390039)'))) / (select extract(epoch from '2026-06-17 17:27:31'::timestamp) - extract(epoch from '2026-06-17 17:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042657 -3.390097)'), GeomFromEWKT('SRID=4674;POINT (-39.042711 -3.390039)'))) / (select extract(epoch from '2026-06-17 17:27:31'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.042772 -3.38997)', '2026-06-17 17:27:48', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042711 -3.390039)'), GeomFromEWKT('SRID=4674;POINT (-39.042772 -3.38997)'))) / (select extract(epoch from '2026-06-17 17:27:48'::timestamp) - extract(epoch from '2026-06-17 17:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042711 -3.390039)'), GeomFromEWKT('SRID=4674;POINT (-39.042772 -3.38997)'))) / (select extract(epoch from '2026-06-17 17:27:48'::timestamp) - extract(epoch from '2026-06-17 17:27:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.042825 -3.389922)', '2026-06-17 17:28:04', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042772 -3.38997)'), GeomFromEWKT('SRID=4674;POINT (-39.042825 -3.389922)'))) / (select extract(epoch from '2026-06-17 17:28:04'::timestamp) - extract(epoch from '2026-06-17 17:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042772 -3.38997)'), GeomFromEWKT('SRID=4674;POINT (-39.042825 -3.389922)'))) / (select extract(epoch from '2026-06-17 17:28:04'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.042893 -3.389874)', '2026-06-17 17:28:19', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042825 -3.389922)'), GeomFromEWKT('SRID=4674;POINT (-39.042893 -3.389874)'))) / (select extract(epoch from '2026-06-17 17:28:19'::timestamp) - extract(epoch from '2026-06-17 17:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042825 -3.389922)'), GeomFromEWKT('SRID=4674;POINT (-39.042893 -3.389874)'))) / (select extract(epoch from '2026-06-17 17:28:19'::timestamp) - extract(epoch from '2026-06-17 17:28: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'), 46574, 'SRID=4674;POINT (-39.042927 -3.389851)', '2026-06-17 17:28:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042893 -3.389874)'), GeomFromEWKT('SRID=4674;POINT (-39.042927 -3.389851)'))) / (select extract(epoch from '2026-06-17 17:28:28'::timestamp) - extract(epoch from '2026-06-17 17:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042893 -3.389874)'), GeomFromEWKT('SRID=4674;POINT (-39.042927 -3.389851)'))) / (select extract(epoch from '2026-06-17 17:28:28'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.04293 -3.389843)', '2026-06-17 17:28:29', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042927 -3.389851)'), GeomFromEWKT('SRID=4674;POINT (-39.04293 -3.389843)'))) / (select extract(epoch from '2026-06-17 17:28:29'::timestamp) - extract(epoch from '2026-06-17 17:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042927 -3.389851)'), GeomFromEWKT('SRID=4674;POINT (-39.04293 -3.389843)'))) / (select extract(epoch from '2026-06-17 17:28:29'::timestamp) - extract(epoch from '2026-06-17 17:28:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.042953 -3.389812)', '2026-06-17 17:28:35', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04293 -3.389843)'), GeomFromEWKT('SRID=4674;POINT (-39.042953 -3.389812)'))) / (select extract(epoch from '2026-06-17 17:28:35'::timestamp) - extract(epoch from '2026-06-17 17:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04293 -3.389843)'), GeomFromEWKT('SRID=4674;POINT (-39.042953 -3.389812)'))) / (select extract(epoch from '2026-06-17 17:28:35'::timestamp) - extract(epoch from '2026-06-17 17:28:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.043012 -3.389771)', '2026-06-17 17:28:47', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042953 -3.389812)'), GeomFromEWKT('SRID=4674;POINT (-39.043012 -3.389771)'))) / (select extract(epoch from '2026-06-17 17:28:47'::timestamp) - extract(epoch from '2026-06-17 17:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.042953 -3.389812)'), GeomFromEWKT('SRID=4674;POINT (-39.043012 -3.389771)'))) / (select extract(epoch from '2026-06-17 17:28:47'::timestamp) - extract(epoch from '2026-06-17 17:28:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.043095 -3.389707)', '2026-06-17 17:29:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043012 -3.389771)'), GeomFromEWKT('SRID=4674;POINT (-39.043095 -3.389707)'))) / (select extract(epoch from '2026-06-17 17:29:03'::timestamp) - extract(epoch from '2026-06-17 17:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043012 -3.389771)'), GeomFromEWKT('SRID=4674;POINT (-39.043095 -3.389707)'))) / (select extract(epoch from '2026-06-17 17:29:03'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.043128 -3.389668)', '2026-06-17 17:29:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043095 -3.389707)'), GeomFromEWKT('SRID=4674;POINT (-39.043128 -3.389668)'))) / (select extract(epoch from '2026-06-17 17:29:13'::timestamp) - extract(epoch from '2026-06-17 17:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043095 -3.389707)'), GeomFromEWKT('SRID=4674;POINT (-39.043128 -3.389668)'))) / (select extract(epoch from '2026-06-17 17:29:13'::timestamp) - extract(epoch from '2026-06-17 17:29: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'), 46574, 'SRID=4674;POINT (-39.043173 -3.389611)', '2026-06-17 17:29:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043128 -3.389668)'), GeomFromEWKT('SRID=4674;POINT (-39.043173 -3.389611)'))) / (select extract(epoch from '2026-06-17 17:29:28'::timestamp) - extract(epoch from '2026-06-17 17:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043128 -3.389668)'), GeomFromEWKT('SRID=4674;POINT (-39.043173 -3.389611)'))) / (select extract(epoch from '2026-06-17 17:29:28'::timestamp) - extract(epoch from '2026-06-17 17:29:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.043226 -3.389569)', '2026-06-17 17:29:43', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043173 -3.389611)'), GeomFromEWKT('SRID=4674;POINT (-39.043226 -3.389569)'))) / (select extract(epoch from '2026-06-17 17:29:43'::timestamp) - extract(epoch from '2026-06-17 17:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043173 -3.389611)'), GeomFromEWKT('SRID=4674;POINT (-39.043226 -3.389569)'))) / (select extract(epoch from '2026-06-17 17:29:43'::timestamp) - extract(epoch from '2026-06-17 17:29: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'), 46574, 'SRID=4674;POINT (-39.043298 -3.389517)', '2026-06-17 17:29:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043226 -3.389569)'), GeomFromEWKT('SRID=4674;POINT (-39.043298 -3.389517)'))) / (select extract(epoch from '2026-06-17 17:29:59'::timestamp) - extract(epoch from '2026-06-17 17:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043226 -3.389569)'), GeomFromEWKT('SRID=4674;POINT (-39.043298 -3.389517)'))) / (select extract(epoch from '2026-06-17 17:29:59'::timestamp) - extract(epoch from '2026-06-17 17:29: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'), 46574, 'SRID=4674;POINT (-39.043351 -3.389466)', '2026-06-17 17:30:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043298 -3.389517)'), GeomFromEWKT('SRID=4674;POINT (-39.043351 -3.389466)'))) / (select extract(epoch from '2026-06-17 17:30:14'::timestamp) - extract(epoch from '2026-06-17 17:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043298 -3.389517)'), GeomFromEWKT('SRID=4674;POINT (-39.043351 -3.389466)'))) / (select extract(epoch from '2026-06-17 17:30:14'::timestamp) - extract(epoch from '2026-06-17 17:29: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'), 46574, 'SRID=4674;POINT (-39.043437 -3.389412)', '2026-06-17 17:30:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043351 -3.389466)'), GeomFromEWKT('SRID=4674;POINT (-39.043437 -3.389412)'))) / (select extract(epoch from '2026-06-17 17:30:30'::timestamp) - extract(epoch from '2026-06-17 17:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043351 -3.389466)'), GeomFromEWKT('SRID=4674;POINT (-39.043437 -3.389412)'))) / (select extract(epoch from '2026-06-17 17:30:30'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.043489 -3.389338)', '2026-06-17 17:30:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043437 -3.389412)'), GeomFromEWKT('SRID=4674;POINT (-39.043489 -3.389338)'))) / (select extract(epoch from '2026-06-17 17:30:45'::timestamp) - extract(epoch from '2026-06-17 17:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043437 -3.389412)'), GeomFromEWKT('SRID=4674;POINT (-39.043489 -3.389338)'))) / (select extract(epoch from '2026-06-17 17:30:45'::timestamp) - extract(epoch from '2026-06-17 17:30: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'), 46574, 'SRID=4674;POINT (-39.043555 -3.389275)', '2026-06-17 17:30:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043489 -3.389338)'), GeomFromEWKT('SRID=4674;POINT (-39.043555 -3.389275)'))) / (select extract(epoch from '2026-06-17 17:30:59'::timestamp) - extract(epoch from '2026-06-17 17:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043489 -3.389338)'), GeomFromEWKT('SRID=4674;POINT (-39.043555 -3.389275)'))) / (select extract(epoch from '2026-06-17 17:30:59'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.043592 -3.389229)', '2026-06-17 17:31:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043555 -3.389275)'), GeomFromEWKT('SRID=4674;POINT (-39.043592 -3.389229)'))) / (select extract(epoch from '2026-06-17 17:31:13'::timestamp) - extract(epoch from '2026-06-17 17:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043555 -3.389275)'), GeomFromEWKT('SRID=4674;POINT (-39.043592 -3.389229)'))) / (select extract(epoch from '2026-06-17 17:31:13'::timestamp) - extract(epoch from '2026-06-17 17:30:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.043636 -3.389192)', '2026-06-17 17:31:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043592 -3.389229)'), GeomFromEWKT('SRID=4674;POINT (-39.043636 -3.389192)'))) / (select extract(epoch from '2026-06-17 17:31:28'::timestamp) - extract(epoch from '2026-06-17 17:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043592 -3.389229)'), GeomFromEWKT('SRID=4674;POINT (-39.043636 -3.389192)'))) / (select extract(epoch from '2026-06-17 17:31:28'::timestamp) - extract(epoch from '2026-06-17 17:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.043668 -3.389161)', '2026-06-17 17:31:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043636 -3.389192)'), GeomFromEWKT('SRID=4674;POINT (-39.043668 -3.389161)'))) / (select extract(epoch from '2026-06-17 17:31:36'::timestamp) - extract(epoch from '2026-06-17 17:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043636 -3.389192)'), GeomFromEWKT('SRID=4674;POINT (-39.043668 -3.389161)'))) / (select extract(epoch from '2026-06-17 17:31:36'::timestamp) - extract(epoch from '2026-06-17 17:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.043732 -3.389125)', '2026-06-17 17:31:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043668 -3.389161)'), GeomFromEWKT('SRID=4674;POINT (-39.043732 -3.389125)'))) / (select extract(epoch from '2026-06-17 17:31:47'::timestamp) - extract(epoch from '2026-06-17 17:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043668 -3.389161)'), GeomFromEWKT('SRID=4674;POINT (-39.043732 -3.389125)'))) / (select extract(epoch from '2026-06-17 17:31:47'::timestamp) - extract(epoch from '2026-06-17 17:31:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.043814 -3.3891)', '2026-06-17 17:32:00', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043732 -3.389125)'), GeomFromEWKT('SRID=4674;POINT (-39.043814 -3.3891)'))) / (select extract(epoch from '2026-06-17 17:32:00'::timestamp) - extract(epoch from '2026-06-17 17:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043732 -3.389125)'), GeomFromEWKT('SRID=4674;POINT (-39.043814 -3.3891)'))) / (select extract(epoch from '2026-06-17 17:32:00'::timestamp) - extract(epoch from '2026-06-17 17:31: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'), 46574, 'SRID=4674;POINT (-39.04385 -3.389076)', '2026-06-17 17:32:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043814 -3.3891)'), GeomFromEWKT('SRID=4674;POINT (-39.04385 -3.389076)'))) / (select extract(epoch from '2026-06-17 17:32:08'::timestamp) - extract(epoch from '2026-06-17 17:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043814 -3.3891)'), GeomFromEWKT('SRID=4674;POINT (-39.04385 -3.389076)'))) / (select extract(epoch from '2026-06-17 17:32:08'::timestamp) - extract(epoch from '2026-06-17 17:32:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.043889 -3.389061)', '2026-06-17 17:32:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04385 -3.389076)'), GeomFromEWKT('SRID=4674;POINT (-39.043889 -3.389061)'))) / (select extract(epoch from '2026-06-17 17:32:15'::timestamp) - extract(epoch from '2026-06-17 17:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04385 -3.389076)'), GeomFromEWKT('SRID=4674;POINT (-39.043889 -3.389061)'))) / (select extract(epoch from '2026-06-17 17:32:15'::timestamp) - extract(epoch from '2026-06-17 17:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.043948 -3.389001)', '2026-06-17 17:32:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043889 -3.389061)'), GeomFromEWKT('SRID=4674;POINT (-39.043948 -3.389001)'))) / (select extract(epoch from '2026-06-17 17:32:27'::timestamp) - extract(epoch from '2026-06-17 17:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043889 -3.389061)'), GeomFromEWKT('SRID=4674;POINT (-39.043948 -3.389001)'))) / (select extract(epoch from '2026-06-17 17:32:27'::timestamp) - extract(epoch from '2026-06-17 17:32:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.043977 -3.388972)', '2026-06-17 17:32:34', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043948 -3.389001)'), GeomFromEWKT('SRID=4674;POINT (-39.043977 -3.388972)'))) / (select extract(epoch from '2026-06-17 17:32:34'::timestamp) - extract(epoch from '2026-06-17 17:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043948 -3.389001)'), GeomFromEWKT('SRID=4674;POINT (-39.043977 -3.388972)'))) / (select extract(epoch from '2026-06-17 17:32:34'::timestamp) - extract(epoch from '2026-06-17 17:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.044001 -3.388946)', '2026-06-17 17:32:44', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043977 -3.388972)'), GeomFromEWKT('SRID=4674;POINT (-39.044001 -3.388946)'))) / (select extract(epoch from '2026-06-17 17:32:44'::timestamp) - extract(epoch from '2026-06-17 17:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.043977 -3.388972)'), GeomFromEWKT('SRID=4674;POINT (-39.044001 -3.388946)'))) / (select extract(epoch from '2026-06-17 17:32:44'::timestamp) - extract(epoch from '2026-06-17 17:32: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'), 46574, 'SRID=4674;POINT (-39.044034 -3.388914)', '2026-06-17 17:32:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044001 -3.388946)'), GeomFromEWKT('SRID=4674;POINT (-39.044034 -3.388914)'))) / (select extract(epoch from '2026-06-17 17:32:51'::timestamp) - extract(epoch from '2026-06-17 17:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044001 -3.388946)'), GeomFromEWKT('SRID=4674;POINT (-39.044034 -3.388914)'))) / (select extract(epoch from '2026-06-17 17:32:51'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.044054 -3.388872)', '2026-06-17 17:32:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044034 -3.388914)'), GeomFromEWKT('SRID=4674;POINT (-39.044054 -3.388872)'))) / (select extract(epoch from '2026-06-17 17:32:58'::timestamp) - extract(epoch from '2026-06-17 17:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044034 -3.388914)'), GeomFromEWKT('SRID=4674;POINT (-39.044054 -3.388872)'))) / (select extract(epoch from '2026-06-17 17:32:58'::timestamp) - extract(epoch from '2026-06-17 17:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.044085 -3.388843)', '2026-06-17 17:33:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044054 -3.388872)'), GeomFromEWKT('SRID=4674;POINT (-39.044085 -3.388843)'))) / (select extract(epoch from '2026-06-17 17:33:06'::timestamp) - extract(epoch from '2026-06-17 17:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044054 -3.388872)'), GeomFromEWKT('SRID=4674;POINT (-39.044085 -3.388843)'))) / (select extract(epoch from '2026-06-17 17:33:06'::timestamp) - extract(epoch from '2026-06-17 17:32:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.044153 -3.388788)', '2026-06-17 17:33:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044085 -3.388843)'), GeomFromEWKT('SRID=4674;POINT (-39.044153 -3.388788)'))) / (select extract(epoch from '2026-06-17 17:33:22'::timestamp) - extract(epoch from '2026-06-17 17:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044085 -3.388843)'), GeomFromEWKT('SRID=4674;POINT (-39.044153 -3.388788)'))) / (select extract(epoch from '2026-06-17 17:33:22'::timestamp) - extract(epoch from '2026-06-17 17:33:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.044224 -3.388723)', '2026-06-17 17:33:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044153 -3.388788)'), GeomFromEWKT('SRID=4674;POINT (-39.044224 -3.388723)'))) / (select extract(epoch from '2026-06-17 17:33:37'::timestamp) - extract(epoch from '2026-06-17 17:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044153 -3.388788)'), GeomFromEWKT('SRID=4674;POINT (-39.044224 -3.388723)'))) / (select extract(epoch from '2026-06-17 17:33:37'::timestamp) - extract(epoch from '2026-06-17 17:33: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'), 46574, 'SRID=4674;POINT (-39.044296 -3.388662)', '2026-06-17 17:33:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044224 -3.388723)'), GeomFromEWKT('SRID=4674;POINT (-39.044296 -3.388662)'))) / (select extract(epoch from '2026-06-17 17:33:53'::timestamp) - extract(epoch from '2026-06-17 17:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044224 -3.388723)'), GeomFromEWKT('SRID=4674;POINT (-39.044296 -3.388662)'))) / (select extract(epoch from '2026-06-17 17:33:53'::timestamp) - extract(epoch from '2026-06-17 17:33: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'), 46574, 'SRID=4674;POINT (-39.044335 -3.388625)', '2026-06-17 17:34:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044296 -3.388662)'), GeomFromEWKT('SRID=4674;POINT (-39.044335 -3.388625)'))) / (select extract(epoch from '2026-06-17 17:34:03'::timestamp) - extract(epoch from '2026-06-17 17:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044296 -3.388662)'), GeomFromEWKT('SRID=4674;POINT (-39.044335 -3.388625)'))) / (select extract(epoch from '2026-06-17 17:34:03'::timestamp) - extract(epoch from '2026-06-17 17:33: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'), 46574, 'SRID=4674;POINT (-39.044393 -3.388579)', '2026-06-17 17:34:16', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044335 -3.388625)'), GeomFromEWKT('SRID=4674;POINT (-39.044393 -3.388579)'))) / (select extract(epoch from '2026-06-17 17:34:16'::timestamp) - extract(epoch from '2026-06-17 17:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044335 -3.388625)'), GeomFromEWKT('SRID=4674;POINT (-39.044393 -3.388579)'))) / (select extract(epoch from '2026-06-17 17:34:16'::timestamp) - extract(epoch from '2026-06-17 17:34: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'), 46574, 'SRID=4674;POINT (-39.044423 -3.388557)', '2026-06-17 17:34:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044393 -3.388579)'), GeomFromEWKT('SRID=4674;POINT (-39.044423 -3.388557)'))) / (select extract(epoch from '2026-06-17 17:34:23'::timestamp) - extract(epoch from '2026-06-17 17:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044393 -3.388579)'), GeomFromEWKT('SRID=4674;POINT (-39.044423 -3.388557)'))) / (select extract(epoch from '2026-06-17 17:34:23'::timestamp) - extract(epoch from '2026-06-17 17:34: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'), 46574, 'SRID=4674;POINT (-39.044469 -3.388515)', '2026-06-17 17:34:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044423 -3.388557)'), GeomFromEWKT('SRID=4674;POINT (-39.044469 -3.388515)'))) / (select extract(epoch from '2026-06-17 17:34:33'::timestamp) - extract(epoch from '2026-06-17 17:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044423 -3.388557)'), GeomFromEWKT('SRID=4674;POINT (-39.044469 -3.388515)'))) / (select extract(epoch from '2026-06-17 17:34:33'::timestamp) - extract(epoch from '2026-06-17 17:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.044499 -3.388495)', '2026-06-17 17:34:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044469 -3.388515)'), GeomFromEWKT('SRID=4674;POINT (-39.044499 -3.388495)'))) / (select extract(epoch from '2026-06-17 17:34:41'::timestamp) - extract(epoch from '2026-06-17 17:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044469 -3.388515)'), GeomFromEWKT('SRID=4674;POINT (-39.044499 -3.388495)'))) / (select extract(epoch from '2026-06-17 17:34:41'::timestamp) - extract(epoch from '2026-06-17 17:34: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'), 46574, 'SRID=4674;POINT (-39.04455 -3.38845)', '2026-06-17 17:34:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044499 -3.388495)'), GeomFromEWKT('SRID=4674;POINT (-39.04455 -3.38845)'))) / (select extract(epoch from '2026-06-17 17:34:56'::timestamp) - extract(epoch from '2026-06-17 17:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044499 -3.388495)'), GeomFromEWKT('SRID=4674;POINT (-39.04455 -3.38845)'))) / (select extract(epoch from '2026-06-17 17:34:56'::timestamp) - extract(epoch from '2026-06-17 17:34:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.0446 -3.38841)', '2026-06-17 17:35:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04455 -3.38845)'), GeomFromEWKT('SRID=4674;POINT (-39.0446 -3.38841)'))) / (select extract(epoch from '2026-06-17 17:35:09'::timestamp) - extract(epoch from '2026-06-17 17:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04455 -3.38845)'), GeomFromEWKT('SRID=4674;POINT (-39.0446 -3.38841)'))) / (select extract(epoch from '2026-06-17 17:35:09'::timestamp) - extract(epoch from '2026-06-17 17:34: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'), 46574, 'SRID=4674;POINT (-39.04464 -3.388361)', '2026-06-17 17:35:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0446 -3.38841)'), GeomFromEWKT('SRID=4674;POINT (-39.04464 -3.388361)'))) / (select extract(epoch from '2026-06-17 17:35:20'::timestamp) - extract(epoch from '2026-06-17 17:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0446 -3.38841)'), GeomFromEWKT('SRID=4674;POINT (-39.04464 -3.388361)'))) / (select extract(epoch from '2026-06-17 17:35:20'::timestamp) - extract(epoch from '2026-06-17 17:35: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'), 46574, 'SRID=4674;POINT (-39.044669 -3.388305)', '2026-06-17 17:35:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04464 -3.388361)'), GeomFromEWKT('SRID=4674;POINT (-39.044669 -3.388305)'))) / (select extract(epoch from '2026-06-17 17:35:31'::timestamp) - extract(epoch from '2026-06-17 17:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04464 -3.388361)'), GeomFromEWKT('SRID=4674;POINT (-39.044669 -3.388305)'))) / (select extract(epoch from '2026-06-17 17:35:31'::timestamp) - extract(epoch from '2026-06-17 17:35: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'), 46574, 'SRID=4674;POINT (-39.044741 -3.388212)', '2026-06-17 17:35:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044669 -3.388305)'), GeomFromEWKT('SRID=4674;POINT (-39.044741 -3.388212)'))) / (select extract(epoch from '2026-06-17 17:35:49'::timestamp) - extract(epoch from '2026-06-17 17:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044669 -3.388305)'), GeomFromEWKT('SRID=4674;POINT (-39.044741 -3.388212)'))) / (select extract(epoch from '2026-06-17 17:35:49'::timestamp) - extract(epoch from '2026-06-17 17:35:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.044804 -3.388157)', '2026-06-17 17:36:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044741 -3.388212)'), GeomFromEWKT('SRID=4674;POINT (-39.044804 -3.388157)'))) / (select extract(epoch from '2026-06-17 17:36:04'::timestamp) - extract(epoch from '2026-06-17 17:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044741 -3.388212)'), GeomFromEWKT('SRID=4674;POINT (-39.044804 -3.388157)'))) / (select extract(epoch from '2026-06-17 17:36:04'::timestamp) - extract(epoch from '2026-06-17 17:35:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.04488 -3.388089)', '2026-06-17 17:36:22', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044804 -3.388157)'), GeomFromEWKT('SRID=4674;POINT (-39.04488 -3.388089)'))) / (select extract(epoch from '2026-06-17 17:36:22'::timestamp) - extract(epoch from '2026-06-17 17:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044804 -3.388157)'), GeomFromEWKT('SRID=4674;POINT (-39.04488 -3.388089)'))) / (select extract(epoch from '2026-06-17 17:36:22'::timestamp) - extract(epoch from '2026-06-17 17:36: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'), 46574, 'SRID=4674;POINT (-39.044916 -3.388023)', '2026-06-17 17:36:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04488 -3.388089)'), GeomFromEWKT('SRID=4674;POINT (-39.044916 -3.388023)'))) / (select extract(epoch from '2026-06-17 17:36:34'::timestamp) - extract(epoch from '2026-06-17 17:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04488 -3.388089)'), GeomFromEWKT('SRID=4674;POINT (-39.044916 -3.388023)'))) / (select extract(epoch from '2026-06-17 17:36:34'::timestamp) - extract(epoch from '2026-06-17 17:36: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'), 46574, 'SRID=4674;POINT (-39.044968 -3.387998)', '2026-06-17 17:36:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044916 -3.388023)'), GeomFromEWKT('SRID=4674;POINT (-39.044968 -3.387998)'))) / (select extract(epoch from '2026-06-17 17:36:46'::timestamp) - extract(epoch from '2026-06-17 17:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044916 -3.388023)'), GeomFromEWKT('SRID=4674;POINT (-39.044968 -3.387998)'))) / (select extract(epoch from '2026-06-17 17:36:46'::timestamp) - extract(epoch from '2026-06-17 17:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.045037 -3.387941)', '2026-06-17 17:37:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044968 -3.387998)'), GeomFromEWKT('SRID=4674;POINT (-39.045037 -3.387941)'))) / (select extract(epoch from '2026-06-17 17:37:01'::timestamp) - extract(epoch from '2026-06-17 17:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.044968 -3.387998)'), GeomFromEWKT('SRID=4674;POINT (-39.045037 -3.387941)'))) / (select extract(epoch from '2026-06-17 17:37:01'::timestamp) - extract(epoch from '2026-06-17 17:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.045091 -3.38789)', '2026-06-17 17:37:14', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045037 -3.387941)'), GeomFromEWKT('SRID=4674;POINT (-39.045091 -3.38789)'))) / (select extract(epoch from '2026-06-17 17:37:14'::timestamp) - extract(epoch from '2026-06-17 17:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045037 -3.387941)'), GeomFromEWKT('SRID=4674;POINT (-39.045091 -3.38789)'))) / (select extract(epoch from '2026-06-17 17:37:14'::timestamp) - extract(epoch from '2026-06-17 17:37:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.045126 -3.387846)', '2026-06-17 17:37:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045091 -3.38789)'), GeomFromEWKT('SRID=4674;POINT (-39.045126 -3.387846)'))) / (select extract(epoch from '2026-06-17 17:37:25'::timestamp) - extract(epoch from '2026-06-17 17:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045091 -3.38789)'), GeomFromEWKT('SRID=4674;POINT (-39.045126 -3.387846)'))) / (select extract(epoch from '2026-06-17 17:37:25'::timestamp) - extract(epoch from '2026-06-17 17:37:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.045196 -3.387804)', '2026-06-17 17:37:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045126 -3.387846)'), GeomFromEWKT('SRID=4674;POINT (-39.045196 -3.387804)'))) / (select extract(epoch from '2026-06-17 17:37:40'::timestamp) - extract(epoch from '2026-06-17 17:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045126 -3.387846)'), GeomFromEWKT('SRID=4674;POINT (-39.045196 -3.387804)'))) / (select extract(epoch from '2026-06-17 17:37:40'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.045249 -3.387797)', '2026-06-17 17:37:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045196 -3.387804)'), GeomFromEWKT('SRID=4674;POINT (-39.045249 -3.387797)'))) / (select extract(epoch from '2026-06-17 17:37:51'::timestamp) - extract(epoch from '2026-06-17 17:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045196 -3.387804)'), GeomFromEWKT('SRID=4674;POINT (-39.045249 -3.387797)'))) / (select extract(epoch from '2026-06-17 17:37:51'::timestamp) - extract(epoch from '2026-06-17 17:37:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.045319 -3.387786)', '2026-06-17 17:38:05', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045249 -3.387797)'), GeomFromEWKT('SRID=4674;POINT (-39.045319 -3.387786)'))) / (select extract(epoch from '2026-06-17 17:38:05'::timestamp) - extract(epoch from '2026-06-17 17:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045249 -3.387797)'), GeomFromEWKT('SRID=4674;POINT (-39.045319 -3.387786)'))) / (select extract(epoch from '2026-06-17 17:38:05'::timestamp) - extract(epoch from '2026-06-17 17:37:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.045383 -3.387763)', '2026-06-17 17:38:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045319 -3.387786)'), GeomFromEWKT('SRID=4674;POINT (-39.045383 -3.387763)'))) / (select extract(epoch from '2026-06-17 17:38:15'::timestamp) - extract(epoch from '2026-06-17 17:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045319 -3.387786)'), GeomFromEWKT('SRID=4674;POINT (-39.045383 -3.387763)'))) / (select extract(epoch from '2026-06-17 17:38:15'::timestamp) - extract(epoch from '2026-06-17 17:38: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'), 46574, 'SRID=4674;POINT (-39.04545 -3.387736)', '2026-06-17 17:38:31', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045383 -3.387763)'), GeomFromEWKT('SRID=4674;POINT (-39.04545 -3.387736)'))) / (select extract(epoch from '2026-06-17 17:38:31'::timestamp) - extract(epoch from '2026-06-17 17:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045383 -3.387763)'), GeomFromEWKT('SRID=4674;POINT (-39.04545 -3.387736)'))) / (select extract(epoch from '2026-06-17 17:38:31'::timestamp) - extract(epoch from '2026-06-17 17:38: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'), 46574, 'SRID=4674;POINT (-39.045519 -3.387708)', '2026-06-17 17:38:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04545 -3.387736)'), GeomFromEWKT('SRID=4674;POINT (-39.045519 -3.387708)'))) / (select extract(epoch from '2026-06-17 17:38:44'::timestamp) - extract(epoch from '2026-06-17 17:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04545 -3.387736)'), GeomFromEWKT('SRID=4674;POINT (-39.045519 -3.387708)'))) / (select extract(epoch from '2026-06-17 17:38:44'::timestamp) - extract(epoch from '2026-06-17 17:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.045603 -3.387703)', '2026-06-17 17:38:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045519 -3.387708)'), GeomFromEWKT('SRID=4674;POINT (-39.045603 -3.387703)'))) / (select extract(epoch from '2026-06-17 17:38:58'::timestamp) - extract(epoch from '2026-06-17 17:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045519 -3.387708)'), GeomFromEWKT('SRID=4674;POINT (-39.045603 -3.387703)'))) / (select extract(epoch from '2026-06-17 17:38:58'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.045657 -3.387689)', '2026-06-17 17:39:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045603 -3.387703)'), GeomFromEWKT('SRID=4674;POINT (-39.045657 -3.387689)'))) / (select extract(epoch from '2026-06-17 17:39:11'::timestamp) - extract(epoch from '2026-06-17 17:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045603 -3.387703)'), GeomFromEWKT('SRID=4674;POINT (-39.045657 -3.387689)'))) / (select extract(epoch from '2026-06-17 17:39:11'::timestamp) - extract(epoch from '2026-06-17 17:38: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'), 46574, 'SRID=4674;POINT (-39.045744 -3.387675)', '2026-06-17 17:39:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045657 -3.387689)'), GeomFromEWKT('SRID=4674;POINT (-39.045744 -3.387675)'))) / (select extract(epoch from '2026-06-17 17:39:26'::timestamp) - extract(epoch from '2026-06-17 17:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045657 -3.387689)'), GeomFromEWKT('SRID=4674;POINT (-39.045744 -3.387675)'))) / (select extract(epoch from '2026-06-17 17:39:26'::timestamp) - extract(epoch from '2026-06-17 17:39:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.045819 -3.387656)', '2026-06-17 17:39:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045744 -3.387675)'), GeomFromEWKT('SRID=4674;POINT (-39.045819 -3.387656)'))) / (select extract(epoch from '2026-06-17 17:39:40'::timestamp) - extract(epoch from '2026-06-17 17:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045744 -3.387675)'), GeomFromEWKT('SRID=4674;POINT (-39.045819 -3.387656)'))) / (select extract(epoch from '2026-06-17 17:39:40'::timestamp) - extract(epoch from '2026-06-17 17:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.045873 -3.387634)', '2026-06-17 17:39:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045819 -3.387656)'), GeomFromEWKT('SRID=4674;POINT (-39.045873 -3.387634)'))) / (select extract(epoch from '2026-06-17 17:39:51'::timestamp) - extract(epoch from '2026-06-17 17:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045819 -3.387656)'), GeomFromEWKT('SRID=4674;POINT (-39.045873 -3.387634)'))) / (select extract(epoch from '2026-06-17 17:39:51'::timestamp) - extract(epoch from '2026-06-17 17:39:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.045948 -3.387627)', '2026-06-17 17:40:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045873 -3.387634)'), GeomFromEWKT('SRID=4674;POINT (-39.045948 -3.387627)'))) / (select extract(epoch from '2026-06-17 17:40:06'::timestamp) - extract(epoch from '2026-06-17 17:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045873 -3.387634)'), GeomFromEWKT('SRID=4674;POINT (-39.045948 -3.387627)'))) / (select extract(epoch from '2026-06-17 17:40:06'::timestamp) - extract(epoch from '2026-06-17 17:39:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.046031 -3.387598)', '2026-06-17 17:40:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045948 -3.387627)'), GeomFromEWKT('SRID=4674;POINT (-39.046031 -3.387598)'))) / (select extract(epoch from '2026-06-17 17:40:21'::timestamp) - extract(epoch from '2026-06-17 17:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.045948 -3.387627)'), GeomFromEWKT('SRID=4674;POINT (-39.046031 -3.387598)'))) / (select extract(epoch from '2026-06-17 17:40:21'::timestamp) - extract(epoch from '2026-06-17 17:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.04611 -3.387566)', '2026-06-17 17:40:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046031 -3.387598)'), GeomFromEWKT('SRID=4674;POINT (-39.04611 -3.387566)'))) / (select extract(epoch from '2026-06-17 17:40:37'::timestamp) - extract(epoch from '2026-06-17 17:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046031 -3.387598)'), GeomFromEWKT('SRID=4674;POINT (-39.04611 -3.387566)'))) / (select extract(epoch from '2026-06-17 17:40:37'::timestamp) - extract(epoch from '2026-06-17 17:40: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'), 46574, 'SRID=4674;POINT (-39.04619 -3.387557)', '2026-06-17 17:40:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04611 -3.387566)'), GeomFromEWKT('SRID=4674;POINT (-39.04619 -3.387557)'))) / (select extract(epoch from '2026-06-17 17:40:51'::timestamp) - extract(epoch from '2026-06-17 17:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04611 -3.387566)'), GeomFromEWKT('SRID=4674;POINT (-39.04619 -3.387557)'))) / (select extract(epoch from '2026-06-17 17:40:51'::timestamp) - extract(epoch from '2026-06-17 17:40: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'), 46574, 'SRID=4674;POINT (-39.04625 -3.387516)', '2026-06-17 17:41:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04619 -3.387557)'), GeomFromEWKT('SRID=4674;POINT (-39.04625 -3.387516)'))) / (select extract(epoch from '2026-06-17 17:41:07'::timestamp) - extract(epoch from '2026-06-17 17:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04619 -3.387557)'), GeomFromEWKT('SRID=4674;POINT (-39.04625 -3.387516)'))) / (select extract(epoch from '2026-06-17 17:41:07'::timestamp) - extract(epoch from '2026-06-17 17:40:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.04634 -3.387492)', '2026-06-17 17:41:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04625 -3.387516)'), GeomFromEWKT('SRID=4674;POINT (-39.04634 -3.387492)'))) / (select extract(epoch from '2026-06-17 17:41:21'::timestamp) - extract(epoch from '2026-06-17 17:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04625 -3.387516)'), GeomFromEWKT('SRID=4674;POINT (-39.04634 -3.387492)'))) / (select extract(epoch from '2026-06-17 17:41:21'::timestamp) - extract(epoch from '2026-06-17 17:41:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.046416 -3.387472)', '2026-06-17 17:41:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04634 -3.387492)'), GeomFromEWKT('SRID=4674;POINT (-39.046416 -3.387472)'))) / (select extract(epoch from '2026-06-17 17:41:36'::timestamp) - extract(epoch from '2026-06-17 17:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04634 -3.387492)'), GeomFromEWKT('SRID=4674;POINT (-39.046416 -3.387472)'))) / (select extract(epoch from '2026-06-17 17:41:36'::timestamp) - extract(epoch from '2026-06-17 17:41: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'), 46574, 'SRID=4674;POINT (-39.046489 -3.387457)', '2026-06-17 17:41:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046416 -3.387472)'), GeomFromEWKT('SRID=4674;POINT (-39.046489 -3.387457)'))) / (select extract(epoch from '2026-06-17 17:41:49'::timestamp) - extract(epoch from '2026-06-17 17:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046416 -3.387472)'), GeomFromEWKT('SRID=4674;POINT (-39.046489 -3.387457)'))) / (select extract(epoch from '2026-06-17 17:41:49'::timestamp) - extract(epoch from '2026-06-17 17:41: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'), 46574, 'SRID=4674;POINT (-39.046545 -3.387452)', '2026-06-17 17:42:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046489 -3.387457)'), GeomFromEWKT('SRID=4674;POINT (-39.046545 -3.387452)'))) / (select extract(epoch from '2026-06-17 17:42:01'::timestamp) - extract(epoch from '2026-06-17 17:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046489 -3.387457)'), GeomFromEWKT('SRID=4674;POINT (-39.046545 -3.387452)'))) / (select extract(epoch from '2026-06-17 17:42:01'::timestamp) - extract(epoch from '2026-06-17 17:41: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'), 46574, 'SRID=4674;POINT (-39.0466 -3.387426)', '2026-06-17 17:42:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046545 -3.387452)'), GeomFromEWKT('SRID=4674;POINT (-39.0466 -3.387426)'))) / (select extract(epoch from '2026-06-17 17:42:13'::timestamp) - extract(epoch from '2026-06-17 17:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046545 -3.387452)'), GeomFromEWKT('SRID=4674;POINT (-39.0466 -3.387426)'))) / (select extract(epoch from '2026-06-17 17:42:13'::timestamp) - extract(epoch from '2026-06-17 17:42: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'), 46574, 'SRID=4674;POINT (-39.046671 -3.387377)', '2026-06-17 17:42:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0466 -3.387426)'), GeomFromEWKT('SRID=4674;POINT (-39.046671 -3.387377)'))) / (select extract(epoch from '2026-06-17 17:42:30'::timestamp) - extract(epoch from '2026-06-17 17:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0466 -3.387426)'), GeomFromEWKT('SRID=4674;POINT (-39.046671 -3.387377)'))) / (select extract(epoch from '2026-06-17 17:42:30'::timestamp) - extract(epoch from '2026-06-17 17:42: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'), 46574, 'SRID=4674;POINT (-39.046727 -3.387385)', '2026-06-17 17:42:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046671 -3.387377)'), GeomFromEWKT('SRID=4674;POINT (-39.046727 -3.387385)'))) / (select extract(epoch from '2026-06-17 17:42:41'::timestamp) - extract(epoch from '2026-06-17 17:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046671 -3.387377)'), GeomFromEWKT('SRID=4674;POINT (-39.046727 -3.387385)'))) / (select extract(epoch from '2026-06-17 17:42:41'::timestamp) - extract(epoch from '2026-06-17 17:42: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'), 46574, 'SRID=4674;POINT (-39.046779 -3.38735)', '2026-06-17 17:42:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046727 -3.387385)'), GeomFromEWKT('SRID=4674;POINT (-39.046779 -3.38735)'))) / (select extract(epoch from '2026-06-17 17:42:53'::timestamp) - extract(epoch from '2026-06-17 17:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046727 -3.387385)'), GeomFromEWKT('SRID=4674;POINT (-39.046779 -3.38735)'))) / (select extract(epoch from '2026-06-17 17:42:53'::timestamp) - extract(epoch from '2026-06-17 17:42: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'), 46574, 'SRID=4674;POINT (-39.046867 -3.387308)', '2026-06-17 17:43:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046779 -3.38735)'), GeomFromEWKT('SRID=4674;POINT (-39.046867 -3.387308)'))) / (select extract(epoch from '2026-06-17 17:43:09'::timestamp) - extract(epoch from '2026-06-17 17:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046779 -3.38735)'), GeomFromEWKT('SRID=4674;POINT (-39.046867 -3.387308)'))) / (select extract(epoch from '2026-06-17 17:43:09'::timestamp) - extract(epoch from '2026-06-17 17:42: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'), 46574, 'SRID=4674;POINT (-39.046916 -3.387311)', '2026-06-17 17:43:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046867 -3.387308)'), GeomFromEWKT('SRID=4674;POINT (-39.046916 -3.387311)'))) / (select extract(epoch from '2026-06-17 17:43:19'::timestamp) - extract(epoch from '2026-06-17 17:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046867 -3.387308)'), GeomFromEWKT('SRID=4674;POINT (-39.046916 -3.387311)'))) / (select extract(epoch from '2026-06-17 17:43:19'::timestamp) - extract(epoch from '2026-06-17 17:43: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'), 46574, 'SRID=4674;POINT (-39.046949 -3.387311)', '2026-06-17 17:43:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046916 -3.387311)'), GeomFromEWKT('SRID=4674;POINT (-39.046949 -3.387311)'))) / (select extract(epoch from '2026-06-17 17:43:27'::timestamp) - extract(epoch from '2026-06-17 17:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046916 -3.387311)'), GeomFromEWKT('SRID=4674;POINT (-39.046949 -3.387311)'))) / (select extract(epoch from '2026-06-17 17:43:27'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.047036 -3.387298)', '2026-06-17 17:43:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046949 -3.387311)'), GeomFromEWKT('SRID=4674;POINT (-39.047036 -3.387298)'))) / (select extract(epoch from '2026-06-17 17:43:42'::timestamp) - extract(epoch from '2026-06-17 17:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.046949 -3.387311)'), GeomFromEWKT('SRID=4674;POINT (-39.047036 -3.387298)'))) / (select extract(epoch from '2026-06-17 17:43:42'::timestamp) - extract(epoch from '2026-06-17 17:43: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'), 46574, 'SRID=4674;POINT (-39.047057 -3.387293)', '2026-06-17 17:43:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047036 -3.387298)'), GeomFromEWKT('SRID=4674;POINT (-39.047057 -3.387293)'))) / (select extract(epoch from '2026-06-17 17:43:48'::timestamp) - extract(epoch from '2026-06-17 17:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047036 -3.387298)'), GeomFromEWKT('SRID=4674;POINT (-39.047057 -3.387293)'))) / (select extract(epoch from '2026-06-17 17:43:48'::timestamp) - extract(epoch from '2026-06-17 17:43: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'), 46574, 'SRID=4674;POINT (-39.047074 -3.38728)', '2026-06-17 17:43:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047057 -3.387293)'), GeomFromEWKT('SRID=4674;POINT (-39.047074 -3.38728)'))) / (select extract(epoch from '2026-06-17 17:43:57'::timestamp) - extract(epoch from '2026-06-17 17:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047057 -3.387293)'), GeomFromEWKT('SRID=4674;POINT (-39.047074 -3.38728)'))) / (select extract(epoch from '2026-06-17 17:43:57'::timestamp) - extract(epoch from '2026-06-17 17:43:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.047082 -3.387283)', '2026-06-17 17:43:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047074 -3.38728)'), GeomFromEWKT('SRID=4674;POINT (-39.047082 -3.387283)'))) / (select extract(epoch from '2026-06-17 17:43:58'::timestamp) - extract(epoch from '2026-06-17 17:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047074 -3.38728)'), GeomFromEWKT('SRID=4674;POINT (-39.047082 -3.387283)'))) / (select extract(epoch from '2026-06-17 17:43:58'::timestamp) - extract(epoch from '2026-06-17 17:43: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'), 46574, 'SRID=4674;POINT (-39.047107 -3.387271)', '2026-06-17 17:44:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047082 -3.387283)'), GeomFromEWKT('SRID=4674;POINT (-39.047107 -3.387271)'))) / (select extract(epoch from '2026-06-17 17:44:02'::timestamp) - extract(epoch from '2026-06-17 17:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047082 -3.387283)'), GeomFromEWKT('SRID=4674;POINT (-39.047107 -3.387271)'))) / (select extract(epoch from '2026-06-17 17:44:02'::timestamp) - extract(epoch from '2026-06-17 17:43:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.047163 -3.387253)', '2026-06-17 17:44:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047107 -3.387271)'), GeomFromEWKT('SRID=4674;POINT (-39.047163 -3.387253)'))) / (select extract(epoch from '2026-06-17 17:44:16'::timestamp) - extract(epoch from '2026-06-17 17:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047107 -3.387271)'), GeomFromEWKT('SRID=4674;POINT (-39.047163 -3.387253)'))) / (select extract(epoch from '2026-06-17 17:44:16'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.047236 -3.387239)', '2026-06-17 17:44:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047163 -3.387253)'), GeomFromEWKT('SRID=4674;POINT (-39.047236 -3.387239)'))) / (select extract(epoch from '2026-06-17 17:44:29'::timestamp) - extract(epoch from '2026-06-17 17:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047163 -3.387253)'), GeomFromEWKT('SRID=4674;POINT (-39.047236 -3.387239)'))) / (select extract(epoch from '2026-06-17 17:44:29'::timestamp) - extract(epoch from '2026-06-17 17:44: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'), 46574, 'SRID=4674;POINT (-39.047285 -3.387222)', '2026-06-17 17:44:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047236 -3.387239)'), GeomFromEWKT('SRID=4674;POINT (-39.047285 -3.387222)'))) / (select extract(epoch from '2026-06-17 17:44:41'::timestamp) - extract(epoch from '2026-06-17 17:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047236 -3.387239)'), GeomFromEWKT('SRID=4674;POINT (-39.047285 -3.387222)'))) / (select extract(epoch from '2026-06-17 17:44:41'::timestamp) - extract(epoch from '2026-06-17 17:44: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'), 46574, 'SRID=4674;POINT (-39.047298 -3.387222)', '2026-06-17 17:44:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047285 -3.387222)'), GeomFromEWKT('SRID=4674;POINT (-39.047298 -3.387222)'))) / (select extract(epoch from '2026-06-17 17:44:49'::timestamp) - extract(epoch from '2026-06-17 17:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047285 -3.387222)'), GeomFromEWKT('SRID=4674;POINT (-39.047298 -3.387222)'))) / (select extract(epoch from '2026-06-17 17:44:49'::timestamp) - extract(epoch from '2026-06-17 17:44: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'), 46574, 'SRID=4674;POINT (-39.047336 -3.387205)', '2026-06-17 17:45:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047298 -3.387222)'), GeomFromEWKT('SRID=4674;POINT (-39.047336 -3.387205)'))) / (select extract(epoch from '2026-06-17 17:45:00'::timestamp) - extract(epoch from '2026-06-17 17:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047298 -3.387222)'), GeomFromEWKT('SRID=4674;POINT (-39.047336 -3.387205)'))) / (select extract(epoch from '2026-06-17 17:45:00'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.047379 -3.387198)', '2026-06-17 17:45:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047336 -3.387205)'), GeomFromEWKT('SRID=4674;POINT (-39.047379 -3.387198)'))) / (select extract(epoch from '2026-06-17 17:45:08'::timestamp) - extract(epoch from '2026-06-17 17:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047336 -3.387205)'), GeomFromEWKT('SRID=4674;POINT (-39.047379 -3.387198)'))) / (select extract(epoch from '2026-06-17 17:45:08'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.047413 -3.387198)', '2026-06-17 17:45:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047379 -3.387198)'), GeomFromEWKT('SRID=4674;POINT (-39.047413 -3.387198)'))) / (select extract(epoch from '2026-06-17 17:45:16'::timestamp) - extract(epoch from '2026-06-17 17:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047379 -3.387198)'), GeomFromEWKT('SRID=4674;POINT (-39.047413 -3.387198)'))) / (select extract(epoch from '2026-06-17 17:45:16'::timestamp) - extract(epoch from '2026-06-17 17:45:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.047527 -3.387177)', '2026-06-17 17:45:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047413 -3.387198)'), GeomFromEWKT('SRID=4674;POINT (-39.047527 -3.387177)'))) / (select extract(epoch from '2026-06-17 17:45:34'::timestamp) - extract(epoch from '2026-06-17 17:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047413 -3.387198)'), GeomFromEWKT('SRID=4674;POINT (-39.047527 -3.387177)'))) / (select extract(epoch from '2026-06-17 17:45:34'::timestamp) - extract(epoch from '2026-06-17 17:45: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'), 46574, 'SRID=4674;POINT (-39.047586 -3.387171)', '2026-06-17 17:45:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047527 -3.387177)'), GeomFromEWKT('SRID=4674;POINT (-39.047586 -3.387171)'))) / (select extract(epoch from '2026-06-17 17:45:45'::timestamp) - extract(epoch from '2026-06-17 17:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047527 -3.387177)'), GeomFromEWKT('SRID=4674;POINT (-39.047586 -3.387171)'))) / (select extract(epoch from '2026-06-17 17:45:45'::timestamp) - extract(epoch from '2026-06-17 17:45:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.047655 -3.387167)', '2026-06-17 17:46:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047586 -3.387171)'), GeomFromEWKT('SRID=4674;POINT (-39.047655 -3.387167)'))) / (select extract(epoch from '2026-06-17 17:46:00'::timestamp) - extract(epoch from '2026-06-17 17:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047586 -3.387171)'), GeomFromEWKT('SRID=4674;POINT (-39.047655 -3.387167)'))) / (select extract(epoch from '2026-06-17 17:46:00'::timestamp) - extract(epoch from '2026-06-17 17:45:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.04774 -3.38712)', '2026-06-17 17:46:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047655 -3.387167)'), GeomFromEWKT('SRID=4674;POINT (-39.04774 -3.38712)'))) / (select extract(epoch from '2026-06-17 17:46:16'::timestamp) - extract(epoch from '2026-06-17 17:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047655 -3.387167)'), GeomFromEWKT('SRID=4674;POINT (-39.04774 -3.38712)'))) / (select extract(epoch from '2026-06-17 17:46:16'::timestamp) - extract(epoch from '2026-06-17 17:46: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'), 46574, 'SRID=4674;POINT (-39.047779 -3.387096)', '2026-06-17 17:46:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04774 -3.38712)'), GeomFromEWKT('SRID=4674;POINT (-39.047779 -3.387096)'))) / (select extract(epoch from '2026-06-17 17:46:29'::timestamp) - extract(epoch from '2026-06-17 17:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04774 -3.38712)'), GeomFromEWKT('SRID=4674;POINT (-39.047779 -3.387096)'))) / (select extract(epoch from '2026-06-17 17:46:29'::timestamp) - extract(epoch from '2026-06-17 17:46: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'), 46574, 'SRID=4674;POINT (-39.047813 -3.38709)', '2026-06-17 17:46:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047779 -3.387096)'), GeomFromEWKT('SRID=4674;POINT (-39.047813 -3.38709)'))) / (select extract(epoch from '2026-06-17 17:46:45'::timestamp) - extract(epoch from '2026-06-17 17:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047779 -3.387096)'), GeomFromEWKT('SRID=4674;POINT (-39.047813 -3.38709)'))) / (select extract(epoch from '2026-06-17 17:46:45'::timestamp) - extract(epoch from '2026-06-17 17:46: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'), 46574, 'SRID=4674;POINT (-39.047854 -3.387087)', '2026-06-17 17:46:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047813 -3.38709)'), GeomFromEWKT('SRID=4674;POINT (-39.047854 -3.387087)'))) / (select extract(epoch from '2026-06-17 17:46:53'::timestamp) - extract(epoch from '2026-06-17 17:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047813 -3.38709)'), GeomFromEWKT('SRID=4674;POINT (-39.047854 -3.387087)'))) / (select extract(epoch from '2026-06-17 17:46:53'::timestamp) - extract(epoch from '2026-06-17 17:46:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.047878 -3.387081)', '2026-06-17 17:46:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047854 -3.387087)'), GeomFromEWKT('SRID=4674;POINT (-39.047878 -3.387081)'))) / (select extract(epoch from '2026-06-17 17:46:58'::timestamp) - extract(epoch from '2026-06-17 17:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047854 -3.387087)'), GeomFromEWKT('SRID=4674;POINT (-39.047878 -3.387081)'))) / (select extract(epoch from '2026-06-17 17:46:58'::timestamp) - extract(epoch from '2026-06-17 17:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.047868 -3.387079)', '2026-06-17 17:47:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047878 -3.387081)'), GeomFromEWKT('SRID=4674;POINT (-39.047868 -3.387079)'))) / (select extract(epoch from '2026-06-17 17:47:00'::timestamp) - extract(epoch from '2026-06-17 17:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047878 -3.387081)'), GeomFromEWKT('SRID=4674;POINT (-39.047868 -3.387079)'))) / (select extract(epoch from '2026-06-17 17:47:00'::timestamp) - extract(epoch from '2026-06-17 17:46: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'), 46574, 'SRID=4674;POINT (-39.047906 -3.387068)', '2026-06-17 17:47:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047868 -3.387079)'), GeomFromEWKT('SRID=4674;POINT (-39.047906 -3.387068)'))) / (select extract(epoch from '2026-06-17 17:47:11'::timestamp) - extract(epoch from '2026-06-17 17:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047868 -3.387079)'), GeomFromEWKT('SRID=4674;POINT (-39.047906 -3.387068)'))) / (select extract(epoch from '2026-06-17 17:47:11'::timestamp) - extract(epoch from '2026-06-17 17:47: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'), 46574, 'SRID=4674;POINT (-39.047978 -3.387055)', '2026-06-17 17:47:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047906 -3.387068)'), GeomFromEWKT('SRID=4674;POINT (-39.047978 -3.387055)'))) / (select extract(epoch from '2026-06-17 17:47:20'::timestamp) - extract(epoch from '2026-06-17 17:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047906 -3.387068)'), GeomFromEWKT('SRID=4674;POINT (-39.047978 -3.387055)'))) / (select extract(epoch from '2026-06-17 17:47:20'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.048027 -3.387036)', '2026-06-17 17:47:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047978 -3.387055)'), GeomFromEWKT('SRID=4674;POINT (-39.048027 -3.387036)'))) / (select extract(epoch from '2026-06-17 17:47:31'::timestamp) - extract(epoch from '2026-06-17 17:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.047978 -3.387055)'), GeomFromEWKT('SRID=4674;POINT (-39.048027 -3.387036)'))) / (select extract(epoch from '2026-06-17 17:47:31'::timestamp) - extract(epoch from '2026-06-17 17:47:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.04808 -3.387006)', '2026-06-17 17:47:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048027 -3.387036)'), GeomFromEWKT('SRID=4674;POINT (-39.04808 -3.387006)'))) / (select extract(epoch from '2026-06-17 17:47:48'::timestamp) - extract(epoch from '2026-06-17 17:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048027 -3.387036)'), GeomFromEWKT('SRID=4674;POINT (-39.04808 -3.387006)'))) / (select extract(epoch from '2026-06-17 17:47:48'::timestamp) - extract(epoch from '2026-06-17 17:47: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'), 46574, 'SRID=4674;POINT (-39.048128 -3.38698)', '2026-06-17 17:47:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04808 -3.387006)'), GeomFromEWKT('SRID=4674;POINT (-39.048128 -3.38698)'))) / (select extract(epoch from '2026-06-17 17:47:59'::timestamp) - extract(epoch from '2026-06-17 17:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04808 -3.387006)'), GeomFromEWKT('SRID=4674;POINT (-39.048128 -3.38698)'))) / (select extract(epoch from '2026-06-17 17:47:59'::timestamp) - extract(epoch from '2026-06-17 17:47:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.048169 -3.386974)', '2026-06-17 17:48:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048128 -3.38698)'), GeomFromEWKT('SRID=4674;POINT (-39.048169 -3.386974)'))) / (select extract(epoch from '2026-06-17 17:48:06'::timestamp) - extract(epoch from '2026-06-17 17:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048128 -3.38698)'), GeomFromEWKT('SRID=4674;POINT (-39.048169 -3.386974)'))) / (select extract(epoch from '2026-06-17 17:48:06'::timestamp) - extract(epoch from '2026-06-17 17:47: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'), 46574, 'SRID=4674;POINT (-39.048251 -3.38696)', '2026-06-17 17:48:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048169 -3.386974)'), GeomFromEWKT('SRID=4674;POINT (-39.048251 -3.38696)'))) / (select extract(epoch from '2026-06-17 17:48:18'::timestamp) - extract(epoch from '2026-06-17 17:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048169 -3.386974)'), GeomFromEWKT('SRID=4674;POINT (-39.048251 -3.38696)'))) / (select extract(epoch from '2026-06-17 17:48:18'::timestamp) - extract(epoch from '2026-06-17 17:48: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'), 46574, 'SRID=4674;POINT (-39.048313 -3.386948)', '2026-06-17 17:48:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048251 -3.38696)'), GeomFromEWKT('SRID=4674;POINT (-39.048313 -3.386948)'))) / (select extract(epoch from '2026-06-17 17:48:27'::timestamp) - extract(epoch from '2026-06-17 17:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048251 -3.38696)'), GeomFromEWKT('SRID=4674;POINT (-39.048313 -3.386948)'))) / (select extract(epoch from '2026-06-17 17:48:27'::timestamp) - extract(epoch from '2026-06-17 17:48:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.048402 -3.386898)', '2026-06-17 17:48:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048313 -3.386948)'), GeomFromEWKT('SRID=4674;POINT (-39.048402 -3.386898)'))) / (select extract(epoch from '2026-06-17 17:48:46'::timestamp) - extract(epoch from '2026-06-17 17:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048313 -3.386948)'), GeomFromEWKT('SRID=4674;POINT (-39.048402 -3.386898)'))) / (select extract(epoch from '2026-06-17 17:48:46'::timestamp) - extract(epoch from '2026-06-17 17:48: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'), 46574, 'SRID=4674;POINT (-39.048483 -3.386882)', '2026-06-17 17:49:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048402 -3.386898)'), GeomFromEWKT('SRID=4674;POINT (-39.048483 -3.386882)'))) / (select extract(epoch from '2026-06-17 17:49:02'::timestamp) - extract(epoch from '2026-06-17 17:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048402 -3.386898)'), GeomFromEWKT('SRID=4674;POINT (-39.048483 -3.386882)'))) / (select extract(epoch from '2026-06-17 17:49:02'::timestamp) - extract(epoch from '2026-06-17 17:48: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'), 46574, 'SRID=4674;POINT (-39.048552 -3.386865)', '2026-06-17 17:49:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048483 -3.386882)'), GeomFromEWKT('SRID=4674;POINT (-39.048552 -3.386865)'))) / (select extract(epoch from '2026-06-17 17:49:18'::timestamp) - extract(epoch from '2026-06-17 17:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048483 -3.386882)'), GeomFromEWKT('SRID=4674;POINT (-39.048552 -3.386865)'))) / (select extract(epoch from '2026-06-17 17:49:18'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.048565 -3.386853)', '2026-06-17 17:49:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048552 -3.386865)'), GeomFromEWKT('SRID=4674;POINT (-39.048565 -3.386853)'))) / (select extract(epoch from '2026-06-17 17:49:26'::timestamp) - extract(epoch from '2026-06-17 17:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048552 -3.386865)'), GeomFromEWKT('SRID=4674;POINT (-39.048565 -3.386853)'))) / (select extract(epoch from '2026-06-17 17:49:26'::timestamp) - extract(epoch from '2026-06-17 17:49: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'), 46574, 'SRID=4674;POINT (-39.048607 -3.386842)', '2026-06-17 17:49:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048565 -3.386853)'), GeomFromEWKT('SRID=4674;POINT (-39.048607 -3.386842)'))) / (select extract(epoch from '2026-06-17 17:49:33'::timestamp) - extract(epoch from '2026-06-17 17:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048565 -3.386853)'), GeomFromEWKT('SRID=4674;POINT (-39.048607 -3.386842)'))) / (select extract(epoch from '2026-06-17 17:49:33'::timestamp) - extract(epoch from '2026-06-17 17:49: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'), 46574, 'SRID=4674;POINT (-39.048666 -3.386839)', '2026-06-17 17:49:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048607 -3.386842)'), GeomFromEWKT('SRID=4674;POINT (-39.048666 -3.386839)'))) / (select extract(epoch from '2026-06-17 17:49:43'::timestamp) - extract(epoch from '2026-06-17 17:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048607 -3.386842)'), GeomFromEWKT('SRID=4674;POINT (-39.048666 -3.386839)'))) / (select extract(epoch from '2026-06-17 17:49:43'::timestamp) - extract(epoch from '2026-06-17 17:49:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.048736 -3.386819)', '2026-06-17 17:50:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048666 -3.386839)'), GeomFromEWKT('SRID=4674;POINT (-39.048736 -3.386819)'))) / (select extract(epoch from '2026-06-17 17:50:01'::timestamp) - extract(epoch from '2026-06-17 17:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048666 -3.386839)'), GeomFromEWKT('SRID=4674;POINT (-39.048736 -3.386819)'))) / (select extract(epoch from '2026-06-17 17:50:01'::timestamp) - extract(epoch from '2026-06-17 17:49: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'), 46574, 'SRID=4674;POINT (-39.048783 -3.386804)', '2026-06-17 17:50:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048736 -3.386819)'), GeomFromEWKT('SRID=4674;POINT (-39.048783 -3.386804)'))) / (select extract(epoch from '2026-06-17 17:50:12'::timestamp) - extract(epoch from '2026-06-17 17:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048736 -3.386819)'), GeomFromEWKT('SRID=4674;POINT (-39.048783 -3.386804)'))) / (select extract(epoch from '2026-06-17 17:50:12'::timestamp) - extract(epoch from '2026-06-17 17:50:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.048806 -3.386798)', '2026-06-17 17:50:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048783 -3.386804)'), GeomFromEWKT('SRID=4674;POINT (-39.048806 -3.386798)'))) / (select extract(epoch from '2026-06-17 17:50:20'::timestamp) - extract(epoch from '2026-06-17 17:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048783 -3.386804)'), GeomFromEWKT('SRID=4674;POINT (-39.048806 -3.386798)'))) / (select extract(epoch from '2026-06-17 17:50:20'::timestamp) - extract(epoch from '2026-06-17 17:50: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'), 46574, 'SRID=4674;POINT (-39.048813 -3.386784)', '2026-06-17 17:50:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048806 -3.386798)'), GeomFromEWKT('SRID=4674;POINT (-39.048813 -3.386784)'))) / (select extract(epoch from '2026-06-17 17:50:29'::timestamp) - extract(epoch from '2026-06-17 17:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048806 -3.386798)'), GeomFromEWKT('SRID=4674;POINT (-39.048813 -3.386784)'))) / (select extract(epoch from '2026-06-17 17:50:29'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.048872 -3.386766)', '2026-06-17 17:50:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048813 -3.386784)'), GeomFromEWKT('SRID=4674;POINT (-39.048872 -3.386766)'))) / (select extract(epoch from '2026-06-17 17:50:41'::timestamp) - extract(epoch from '2026-06-17 17:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048813 -3.386784)'), GeomFromEWKT('SRID=4674;POINT (-39.048872 -3.386766)'))) / (select extract(epoch from '2026-06-17 17:50:41'::timestamp) - extract(epoch from '2026-06-17 17:50:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.048965 -3.386774)', '2026-06-17 17:50:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048872 -3.386766)'), GeomFromEWKT('SRID=4674;POINT (-39.048965 -3.386774)'))) / (select extract(epoch from '2026-06-17 17:50:55'::timestamp) - extract(epoch from '2026-06-17 17:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048872 -3.386766)'), GeomFromEWKT('SRID=4674;POINT (-39.048965 -3.386774)'))) / (select extract(epoch from '2026-06-17 17:50:55'::timestamp) - extract(epoch from '2026-06-17 17:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.049033 -3.386748)', '2026-06-17 17:51:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048965 -3.386774)'), GeomFromEWKT('SRID=4674;POINT (-39.049033 -3.386748)'))) / (select extract(epoch from '2026-06-17 17:51:09'::timestamp) - extract(epoch from '2026-06-17 17:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.048965 -3.386774)'), GeomFromEWKT('SRID=4674;POINT (-39.049033 -3.386748)'))) / (select extract(epoch from '2026-06-17 17:51:09'::timestamp) - extract(epoch from '2026-06-17 17:50: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'), 46574, 'SRID=4674;POINT (-39.04907 -3.386738)', '2026-06-17 17:51:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049033 -3.386748)'), GeomFromEWKT('SRID=4674;POINT (-39.04907 -3.386738)'))) / (select extract(epoch from '2026-06-17 17:51:18'::timestamp) - extract(epoch from '2026-06-17 17:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049033 -3.386748)'), GeomFromEWKT('SRID=4674;POINT (-39.04907 -3.386738)'))) / (select extract(epoch from '2026-06-17 17:51:18'::timestamp) - extract(epoch from '2026-06-17 17:51: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'), 46574, 'SRID=4674;POINT (-39.049074 -3.386735)', '2026-06-17 17:51:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04907 -3.386738)'), GeomFromEWKT('SRID=4674;POINT (-39.049074 -3.386735)'))) / (select extract(epoch from '2026-06-17 17:51:19'::timestamp) - extract(epoch from '2026-06-17 17:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04907 -3.386738)'), GeomFromEWKT('SRID=4674;POINT (-39.049074 -3.386735)'))) / (select extract(epoch from '2026-06-17 17:51:19'::timestamp) - extract(epoch from '2026-06-17 17:51:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.049125 -3.38672)', '2026-06-17 17:51:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049074 -3.386735)'), GeomFromEWKT('SRID=4674;POINT (-39.049125 -3.38672)'))) / (select extract(epoch from '2026-06-17 17:51:32'::timestamp) - extract(epoch from '2026-06-17 17:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049074 -3.386735)'), GeomFromEWKT('SRID=4674;POINT (-39.049125 -3.38672)'))) / (select extract(epoch from '2026-06-17 17:51:32'::timestamp) - extract(epoch from '2026-06-17 17:51: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'), 46574, 'SRID=4674;POINT (-39.049169 -3.386713)', '2026-06-17 17:51:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049125 -3.38672)'), GeomFromEWKT('SRID=4674;POINT (-39.049169 -3.386713)'))) / (select extract(epoch from '2026-06-17 17:51:42'::timestamp) - extract(epoch from '2026-06-17 17:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049125 -3.38672)'), GeomFromEWKT('SRID=4674;POINT (-39.049169 -3.386713)'))) / (select extract(epoch from '2026-06-17 17:51:42'::timestamp) - extract(epoch from '2026-06-17 17:51: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'), 46574, 'SRID=4674;POINT (-39.049219 -3.386681)', '2026-06-17 17:51:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049169 -3.386713)'), GeomFromEWKT('SRID=4674;POINT (-39.049219 -3.386681)'))) / (select extract(epoch from '2026-06-17 17:51:58'::timestamp) - extract(epoch from '2026-06-17 17:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049169 -3.386713)'), GeomFromEWKT('SRID=4674;POINT (-39.049219 -3.386681)'))) / (select extract(epoch from '2026-06-17 17:51:58'::timestamp) - extract(epoch from '2026-06-17 17:51:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.049315 -3.386658)', '2026-06-17 17:52:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049219 -3.386681)'), GeomFromEWKT('SRID=4674;POINT (-39.049315 -3.386658)'))) / (select extract(epoch from '2026-06-17 17:52:16'::timestamp) - extract(epoch from '2026-06-17 17:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049219 -3.386681)'), GeomFromEWKT('SRID=4674;POINT (-39.049315 -3.386658)'))) / (select extract(epoch from '2026-06-17 17:52:16'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.049393 -3.38666)', '2026-06-17 17:52:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049315 -3.386658)'), GeomFromEWKT('SRID=4674;POINT (-39.049393 -3.38666)'))) / (select extract(epoch from '2026-06-17 17:52:26'::timestamp) - extract(epoch from '2026-06-17 17:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049315 -3.386658)'), GeomFromEWKT('SRID=4674;POINT (-39.049393 -3.38666)'))) / (select extract(epoch from '2026-06-17 17:52:26'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.049471 -3.386652)', '2026-06-17 17:52:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049393 -3.38666)'), GeomFromEWKT('SRID=4674;POINT (-39.049471 -3.386652)'))) / (select extract(epoch from '2026-06-17 17:52:38'::timestamp) - extract(epoch from '2026-06-17 17:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049393 -3.38666)'), GeomFromEWKT('SRID=4674;POINT (-39.049471 -3.386652)'))) / (select extract(epoch from '2026-06-17 17:52:38'::timestamp) - extract(epoch from '2026-06-17 17:52: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'), 46574, 'SRID=4674;POINT (-39.049537 -3.386629)', '2026-06-17 17:52:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049471 -3.386652)'), GeomFromEWKT('SRID=4674;POINT (-39.049537 -3.386629)'))) / (select extract(epoch from '2026-06-17 17:52:52'::timestamp) - extract(epoch from '2026-06-17 17:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049471 -3.386652)'), GeomFromEWKT('SRID=4674;POINT (-39.049537 -3.386629)'))) / (select extract(epoch from '2026-06-17 17:52:52'::timestamp) - extract(epoch from '2026-06-17 17:52: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'), 46574, 'SRID=4674;POINT (-39.049564 -3.386608)', '2026-06-17 17:53:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049537 -3.386629)'), GeomFromEWKT('SRID=4674;POINT (-39.049564 -3.386608)'))) / (select extract(epoch from '2026-06-17 17:53:01'::timestamp) - extract(epoch from '2026-06-17 17:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049537 -3.386629)'), GeomFromEWKT('SRID=4674;POINT (-39.049564 -3.386608)'))) / (select extract(epoch from '2026-06-17 17:53:01'::timestamp) - extract(epoch from '2026-06-17 17:52:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.049629 -3.386599)', '2026-06-17 17:53:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049564 -3.386608)'), GeomFromEWKT('SRID=4674;POINT (-39.049629 -3.386599)'))) / (select extract(epoch from '2026-06-17 17:53:17'::timestamp) - extract(epoch from '2026-06-17 17:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049564 -3.386608)'), GeomFromEWKT('SRID=4674;POINT (-39.049629 -3.386599)'))) / (select extract(epoch from '2026-06-17 17:53:17'::timestamp) - extract(epoch from '2026-06-17 17:53: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'), 46574, 'SRID=4674;POINT (-39.049693 -3.386584)', '2026-06-17 17:53:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049629 -3.386599)'), GeomFromEWKT('SRID=4674;POINT (-39.049693 -3.386584)'))) / (select extract(epoch from '2026-06-17 17:53:30'::timestamp) - extract(epoch from '2026-06-17 17:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049629 -3.386599)'), GeomFromEWKT('SRID=4674;POINT (-39.049693 -3.386584)'))) / (select extract(epoch from '2026-06-17 17:53:30'::timestamp) - extract(epoch from '2026-06-17 17:53: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'), 46574, 'SRID=4674;POINT (-39.04976 -3.386574)', '2026-06-17 17:53:44', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049693 -3.386584)'), GeomFromEWKT('SRID=4674;POINT (-39.04976 -3.386574)'))) / (select extract(epoch from '2026-06-17 17:53:44'::timestamp) - extract(epoch from '2026-06-17 17:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049693 -3.386584)'), GeomFromEWKT('SRID=4674;POINT (-39.04976 -3.386574)'))) / (select extract(epoch from '2026-06-17 17:53:44'::timestamp) - extract(epoch from '2026-06-17 17:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.049806 -3.386575)', '2026-06-17 17:53:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04976 -3.386574)'), GeomFromEWKT('SRID=4674;POINT (-39.049806 -3.386575)'))) / (select extract(epoch from '2026-06-17 17:53:55'::timestamp) - extract(epoch from '2026-06-17 17:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.04976 -3.386574)'), GeomFromEWKT('SRID=4674;POINT (-39.049806 -3.386575)'))) / (select extract(epoch from '2026-06-17 17:53:55'::timestamp) - extract(epoch from '2026-06-17 17:53:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.049885 -3.386552)', '2026-06-17 17:54:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049806 -3.386575)'), GeomFromEWKT('SRID=4674;POINT (-39.049885 -3.386552)'))) / (select extract(epoch from '2026-06-17 17:54:12'::timestamp) - extract(epoch from '2026-06-17 17:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049806 -3.386575)'), GeomFromEWKT('SRID=4674;POINT (-39.049885 -3.386552)'))) / (select extract(epoch from '2026-06-17 17:54:12'::timestamp) - extract(epoch from '2026-06-17 17:53: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'), 46574, 'SRID=4674;POINT (-39.049936 -3.386522)', '2026-06-17 17:54:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049885 -3.386552)'), GeomFromEWKT('SRID=4674;POINT (-39.049936 -3.386522)'))) / (select extract(epoch from '2026-06-17 17:54:23'::timestamp) - extract(epoch from '2026-06-17 17:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049885 -3.386552)'), GeomFromEWKT('SRID=4674;POINT (-39.049936 -3.386522)'))) / (select extract(epoch from '2026-06-17 17:54:23'::timestamp) - extract(epoch from '2026-06-17 17:54:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.049984 -3.386506)', '2026-06-17 17:54:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049936 -3.386522)'), GeomFromEWKT('SRID=4674;POINT (-39.049984 -3.386506)'))) / (select extract(epoch from '2026-06-17 17:54:32'::timestamp) - extract(epoch from '2026-06-17 17:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049936 -3.386522)'), GeomFromEWKT('SRID=4674;POINT (-39.049984 -3.386506)'))) / (select extract(epoch from '2026-06-17 17:54:32'::timestamp) - extract(epoch from '2026-06-17 17:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050054 -3.38649)', '2026-06-17 17:54:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049984 -3.386506)'), GeomFromEWKT('SRID=4674;POINT (-39.050054 -3.38649)'))) / (select extract(epoch from '2026-06-17 17:54:46'::timestamp) - extract(epoch from '2026-06-17 17:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.049984 -3.386506)'), GeomFromEWKT('SRID=4674;POINT (-39.050054 -3.38649)'))) / (select extract(epoch from '2026-06-17 17:54:46'::timestamp) - extract(epoch from '2026-06-17 17:54: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'), 46574, 'SRID=4674;POINT (-39.050111 -3.386472)', '2026-06-17 17:54:59', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050054 -3.38649)'), GeomFromEWKT('SRID=4674;POINT (-39.050111 -3.386472)'))) / (select extract(epoch from '2026-06-17 17:54:59'::timestamp) - extract(epoch from '2026-06-17 17:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050054 -3.38649)'), GeomFromEWKT('SRID=4674;POINT (-39.050111 -3.386472)'))) / (select extract(epoch from '2026-06-17 17:54:59'::timestamp) - extract(epoch from '2026-06-17 17:54: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'), 46574, 'SRID=4674;POINT (-39.050188 -3.386465)', '2026-06-17 17:55:16', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050111 -3.386472)'), GeomFromEWKT('SRID=4674;POINT (-39.050188 -3.386465)'))) / (select extract(epoch from '2026-06-17 17:55:16'::timestamp) - extract(epoch from '2026-06-17 17:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050111 -3.386472)'), GeomFromEWKT('SRID=4674;POINT (-39.050188 -3.386465)'))) / (select extract(epoch from '2026-06-17 17:55:16'::timestamp) - extract(epoch from '2026-06-17 17:54: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'), 46574, 'SRID=4674;POINT (-39.050223 -3.386459)', '2026-06-17 17:55:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050188 -3.386465)'), GeomFromEWKT('SRID=4674;POINT (-39.050223 -3.386459)'))) / (select extract(epoch from '2026-06-17 17:55:24'::timestamp) - extract(epoch from '2026-06-17 17:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050188 -3.386465)'), GeomFromEWKT('SRID=4674;POINT (-39.050223 -3.386459)'))) / (select extract(epoch from '2026-06-17 17:55:24'::timestamp) - extract(epoch from '2026-06-17 17:55: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'), 46574, 'SRID=4674;POINT (-39.050278 -3.386441)', '2026-06-17 17:55:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050223 -3.386459)'), GeomFromEWKT('SRID=4674;POINT (-39.050278 -3.386441)'))) / (select extract(epoch from '2026-06-17 17:55:38'::timestamp) - extract(epoch from '2026-06-17 17:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050223 -3.386459)'), GeomFromEWKT('SRID=4674;POINT (-39.050278 -3.386441)'))) / (select extract(epoch from '2026-06-17 17:55:38'::timestamp) - extract(epoch from '2026-06-17 17:55: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'), 46574, 'SRID=4674;POINT (-39.050345 -3.386425)', '2026-06-17 17:55:50', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050278 -3.386441)'), GeomFromEWKT('SRID=4674;POINT (-39.050345 -3.386425)'))) / (select extract(epoch from '2026-06-17 17:55:50'::timestamp) - extract(epoch from '2026-06-17 17:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050278 -3.386441)'), GeomFromEWKT('SRID=4674;POINT (-39.050345 -3.386425)'))) / (select extract(epoch from '2026-06-17 17:55:50'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.050405 -3.386418)', '2026-06-17 17:56:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050345 -3.386425)'), GeomFromEWKT('SRID=4674;POINT (-39.050405 -3.386418)'))) / (select extract(epoch from '2026-06-17 17:56:01'::timestamp) - extract(epoch from '2026-06-17 17:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050345 -3.386425)'), GeomFromEWKT('SRID=4674;POINT (-39.050405 -3.386418)'))) / (select extract(epoch from '2026-06-17 17:56:01'::timestamp) - extract(epoch from '2026-06-17 17:55:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050462 -3.386402)', '2026-06-17 17:56:14', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050405 -3.386418)'), GeomFromEWKT('SRID=4674;POINT (-39.050462 -3.386402)'))) / (select extract(epoch from '2026-06-17 17:56:14'::timestamp) - extract(epoch from '2026-06-17 17:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050405 -3.386418)'), GeomFromEWKT('SRID=4674;POINT (-39.050462 -3.386402)'))) / (select extract(epoch from '2026-06-17 17:56:14'::timestamp) - extract(epoch from '2026-06-17 17:56:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050544 -3.386385)', '2026-06-17 17:56:28', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050462 -3.386402)'), GeomFromEWKT('SRID=4674;POINT (-39.050544 -3.386385)'))) / (select extract(epoch from '2026-06-17 17:56:28'::timestamp) - extract(epoch from '2026-06-17 17:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050462 -3.386402)'), GeomFromEWKT('SRID=4674;POINT (-39.050544 -3.386385)'))) / (select extract(epoch from '2026-06-17 17:56:28'::timestamp) - extract(epoch from '2026-06-17 17:56:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.05061 -3.386356)', '2026-06-17 17:56:42', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050544 -3.386385)'), GeomFromEWKT('SRID=4674;POINT (-39.05061 -3.386356)'))) / (select extract(epoch from '2026-06-17 17:56:42'::timestamp) - extract(epoch from '2026-06-17 17:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050544 -3.386385)'), GeomFromEWKT('SRID=4674;POINT (-39.05061 -3.386356)'))) / (select extract(epoch from '2026-06-17 17:56:42'::timestamp) - extract(epoch from '2026-06-17 17:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050719 -3.386333)', '2026-06-17 17:57:00', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05061 -3.386356)'), GeomFromEWKT('SRID=4674;POINT (-39.050719 -3.386333)'))) / (select extract(epoch from '2026-06-17 17:57:00'::timestamp) - extract(epoch from '2026-06-17 17:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05061 -3.386356)'), GeomFromEWKT('SRID=4674;POINT (-39.050719 -3.386333)'))) / (select extract(epoch from '2026-06-17 17:57:00'::timestamp) - extract(epoch from '2026-06-17 17:56:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050711 -3.386318)', '2026-06-17 17:57:10', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050719 -3.386333)'), GeomFromEWKT('SRID=4674;POINT (-39.050711 -3.386318)'))) / (select extract(epoch from '2026-06-17 17:57:10'::timestamp) - extract(epoch from '2026-06-17 17:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050719 -3.386333)'), GeomFromEWKT('SRID=4674;POINT (-39.050711 -3.386318)'))) / (select extract(epoch from '2026-06-17 17:57:10'::timestamp) - extract(epoch from '2026-06-17 17:57: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'), 46574, 'SRID=4674;POINT (-39.05071 -3.386329)', '2026-06-17 17:57:21', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050711 -3.386318)'), GeomFromEWKT('SRID=4674;POINT (-39.05071 -3.386329)'))) / (select extract(epoch from '2026-06-17 17:57:21'::timestamp) - extract(epoch from '2026-06-17 17:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050711 -3.386318)'), GeomFromEWKT('SRID=4674;POINT (-39.05071 -3.386329)'))) / (select extract(epoch from '2026-06-17 17:57:21'::timestamp) - extract(epoch from '2026-06-17 17:57:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050712 -3.386332)', '2026-06-17 17:57:27', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05071 -3.386329)'), GeomFromEWKT('SRID=4674;POINT (-39.050712 -3.386332)'))) / (select extract(epoch from '2026-06-17 17:57:27'::timestamp) - extract(epoch from '2026-06-17 17:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05071 -3.386329)'), GeomFromEWKT('SRID=4674;POINT (-39.050712 -3.386332)'))) / (select extract(epoch from '2026-06-17 17:57:27'::timestamp) - extract(epoch from '2026-06-17 17:57: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'), 46574, 'SRID=4674;POINT (-39.050711 -3.386342)', '2026-06-17 17:57:34', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050712 -3.386332)'), GeomFromEWKT('SRID=4674;POINT (-39.050711 -3.386342)'))) / (select extract(epoch from '2026-06-17 17:57:34'::timestamp) - extract(epoch from '2026-06-17 17:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050712 -3.386332)'), GeomFromEWKT('SRID=4674;POINT (-39.050711 -3.386342)'))) / (select extract(epoch from '2026-06-17 17:57:34'::timestamp) - extract(epoch from '2026-06-17 17:57:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050701 -3.386348)', '2026-06-17 17:57:48', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050711 -3.386342)'), GeomFromEWKT('SRID=4674;POINT (-39.050701 -3.386348)'))) / (select extract(epoch from '2026-06-17 17:57:48'::timestamp) - extract(epoch from '2026-06-17 17:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050711 -3.386342)'), GeomFromEWKT('SRID=4674;POINT (-39.050701 -3.386348)'))) / (select extract(epoch from '2026-06-17 17:57:48'::timestamp) - extract(epoch from '2026-06-17 17:57: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'), 46574, 'SRID=4674;POINT (-39.050692 -3.386355)', '2026-06-17 17:57:58', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050701 -3.386348)'), GeomFromEWKT('SRID=4674;POINT (-39.050692 -3.386355)'))) / (select extract(epoch from '2026-06-17 17:57:58'::timestamp) - extract(epoch from '2026-06-17 17:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050701 -3.386348)'), GeomFromEWKT('SRID=4674;POINT (-39.050692 -3.386355)'))) / (select extract(epoch from '2026-06-17 17:57:58'::timestamp) - extract(epoch from '2026-06-17 17:57: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'), 46574, 'SRID=4674;POINT (-39.05069 -3.386361)', '2026-06-17 17:58:11', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050692 -3.386355)'), GeomFromEWKT('SRID=4674;POINT (-39.05069 -3.386361)'))) / (select extract(epoch from '2026-06-17 17:58:11'::timestamp) - extract(epoch from '2026-06-17 17:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050692 -3.386355)'), GeomFromEWKT('SRID=4674;POINT (-39.05069 -3.386361)'))) / (select extract(epoch from '2026-06-17 17:58:11'::timestamp) - extract(epoch from '2026-06-17 17:57: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'), 46574, 'SRID=4674;POINT (-39.050687 -3.386366)', '2026-06-17 17:58:19', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05069 -3.386361)'), GeomFromEWKT('SRID=4674;POINT (-39.050687 -3.386366)'))) / (select extract(epoch from '2026-06-17 17:58:19'::timestamp) - extract(epoch from '2026-06-17 17:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05069 -3.386361)'), GeomFromEWKT('SRID=4674;POINT (-39.050687 -3.386366)'))) / (select extract(epoch from '2026-06-17 17:58:19'::timestamp) - extract(epoch from '2026-06-17 17:58: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'), 46574, 'SRID=4674;POINT (-39.050681 -3.386373)', '2026-06-17 17:58:33', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050687 -3.386366)'), GeomFromEWKT('SRID=4674;POINT (-39.050681 -3.386373)'))) / (select extract(epoch from '2026-06-17 17:58:33'::timestamp) - extract(epoch from '2026-06-17 17:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050687 -3.386366)'), GeomFromEWKT('SRID=4674;POINT (-39.050681 -3.386373)'))) / (select extract(epoch from '2026-06-17 17:58:33'::timestamp) - extract(epoch from '2026-06-17 17:58: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'), 46574, 'SRID=4674;POINT (-39.050681 -3.386379)', '2026-06-17 17:58:42', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050681 -3.386373)'), GeomFromEWKT('SRID=4674;POINT (-39.050681 -3.386379)'))) / (select extract(epoch from '2026-06-17 17:58:42'::timestamp) - extract(epoch from '2026-06-17 17:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050681 -3.386373)'), GeomFromEWKT('SRID=4674;POINT (-39.050681 -3.386379)'))) / (select extract(epoch from '2026-06-17 17:58:42'::timestamp) - extract(epoch from '2026-06-17 17:58: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'), 46574, 'SRID=4674;POINT (-39.050679 -3.386397)', '2026-06-17 17:58:52', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050681 -3.386379)'), GeomFromEWKT('SRID=4674;POINT (-39.050679 -3.386397)'))) / (select extract(epoch from '2026-06-17 17:58:52'::timestamp) - extract(epoch from '2026-06-17 17:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050681 -3.386379)'), GeomFromEWKT('SRID=4674;POINT (-39.050679 -3.386397)'))) / (select extract(epoch from '2026-06-17 17:58:52'::timestamp) - extract(epoch from '2026-06-17 17:58: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'), 46574, 'SRID=4674;POINT (-39.050672 -3.386408)', '2026-06-17 17:59:03', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050679 -3.386397)'), GeomFromEWKT('SRID=4674;POINT (-39.050672 -3.386408)'))) / (select extract(epoch from '2026-06-17 17:59:03'::timestamp) - extract(epoch from '2026-06-17 17:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050679 -3.386397)'), GeomFromEWKT('SRID=4674;POINT (-39.050672 -3.386408)'))) / (select extract(epoch from '2026-06-17 17:59:03'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.05068 -3.386408)', '2026-06-17 17:59:13', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050672 -3.386408)'), GeomFromEWKT('SRID=4674;POINT (-39.05068 -3.386408)'))) / (select extract(epoch from '2026-06-17 17:59:13'::timestamp) - extract(epoch from '2026-06-17 17:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050672 -3.386408)'), GeomFromEWKT('SRID=4674;POINT (-39.05068 -3.386408)'))) / (select extract(epoch from '2026-06-17 17:59:13'::timestamp) - extract(epoch from '2026-06-17 17:59:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050688 -3.386419)', '2026-06-17 17:59:26', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05068 -3.386408)'), GeomFromEWKT('SRID=4674;POINT (-39.050688 -3.386419)'))) / (select extract(epoch from '2026-06-17 17:59:26'::timestamp) - extract(epoch from '2026-06-17 17:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05068 -3.386408)'), GeomFromEWKT('SRID=4674;POINT (-39.050688 -3.386419)'))) / (select extract(epoch from '2026-06-17 17:59:26'::timestamp) - extract(epoch from '2026-06-17 17:59: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'), 46574, 'SRID=4674;POINT (-39.050689 -3.386419)', '2026-06-17 17:59:36', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050688 -3.386419)'), GeomFromEWKT('SRID=4674;POINT (-39.050689 -3.386419)'))) / (select extract(epoch from '2026-06-17 17:59:36'::timestamp) - extract(epoch from '2026-06-17 17:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050688 -3.386419)'), GeomFromEWKT('SRID=4674;POINT (-39.050689 -3.386419)'))) / (select extract(epoch from '2026-06-17 17:59:36'::timestamp) - extract(epoch from '2026-06-17 17:59: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'), 46574, 'SRID=4674;POINT (-39.050689 -3.386424)', '2026-06-17 17:59:44', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050689 -3.386419)'), GeomFromEWKT('SRID=4674;POINT (-39.050689 -3.386424)'))) / (select extract(epoch from '2026-06-17 17:59:44'::timestamp) - extract(epoch from '2026-06-17 17:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050689 -3.386419)'), GeomFromEWKT('SRID=4674;POINT (-39.050689 -3.386424)'))) / (select extract(epoch from '2026-06-17 17:59:44'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.050692 -3.386421)', '2026-06-17 17:59:51', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050689 -3.386424)'), GeomFromEWKT('SRID=4674;POINT (-39.050692 -3.386421)'))) / (select extract(epoch from '2026-06-17 17:59:51'::timestamp) - extract(epoch from '2026-06-17 17:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050689 -3.386424)'), GeomFromEWKT('SRID=4674;POINT (-39.050692 -3.386421)'))) / (select extract(epoch from '2026-06-17 17:59:51'::timestamp) - extract(epoch from '2026-06-17 17: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'), 46574, 'SRID=4674;POINT (-39.050693 -3.386424)', '2026-06-17 18:00:01', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050692 -3.386421)'), GeomFromEWKT('SRID=4674;POINT (-39.050693 -3.386424)'))) / (select extract(epoch from '2026-06-17 18:00:01'::timestamp) - extract(epoch from '2026-06-17 17:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050692 -3.386421)'), GeomFromEWKT('SRID=4674;POINT (-39.050693 -3.386424)'))) / (select extract(epoch from '2026-06-17 18:00:01'::timestamp) - extract(epoch from '2026-06-17 17:59: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'), 46574, 'SRID=4674;POINT (-39.050691 -3.386421)', '2026-06-17 18:00:10', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050693 -3.386424)'), GeomFromEWKT('SRID=4674;POINT (-39.050691 -3.386421)'))) / (select extract(epoch from '2026-06-17 18:00:10'::timestamp) - extract(epoch from '2026-06-17 18:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050693 -3.386424)'), GeomFromEWKT('SRID=4674;POINT (-39.050691 -3.386421)'))) / (select extract(epoch from '2026-06-17 18:00:10'::timestamp) - extract(epoch from '2026-06-17 18:00:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050689 -3.386424)', '2026-06-17 18:00:19', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050691 -3.386421)'), GeomFromEWKT('SRID=4674;POINT (-39.050689 -3.386424)'))) / (select extract(epoch from '2026-06-17 18:00:19'::timestamp) - extract(epoch from '2026-06-17 18:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050691 -3.386421)'), GeomFromEWKT('SRID=4674;POINT (-39.050689 -3.386424)'))) / (select extract(epoch from '2026-06-17 18:00:19'::timestamp) - extract(epoch from '2026-06-17 18:00:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050687 -3.386428)', '2026-06-17 18:00:27', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050689 -3.386424)'), GeomFromEWKT('SRID=4674;POINT (-39.050687 -3.386428)'))) / (select extract(epoch from '2026-06-17 18:00:27'::timestamp) - extract(epoch from '2026-06-17 18:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050689 -3.386424)'), GeomFromEWKT('SRID=4674;POINT (-39.050687 -3.386428)'))) / (select extract(epoch from '2026-06-17 18:00:27'::timestamp) - extract(epoch from '2026-06-17 18:00: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'), 46574, 'SRID=4674;POINT (-39.050687 -3.386431)', '2026-06-17 18:00:44', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050687 -3.386428)'), GeomFromEWKT('SRID=4674;POINT (-39.050687 -3.386431)'))) / (select extract(epoch from '2026-06-17 18:00:44'::timestamp) - extract(epoch from '2026-06-17 18:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050687 -3.386428)'), GeomFromEWKT('SRID=4674;POINT (-39.050687 -3.386431)'))) / (select extract(epoch from '2026-06-17 18:00:44'::timestamp) - extract(epoch from '2026-06-17 18:00:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050682 -3.386432)', '2026-06-17 18:00:52', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050687 -3.386431)'), GeomFromEWKT('SRID=4674;POINT (-39.050682 -3.386432)'))) / (select extract(epoch from '2026-06-17 18:00:52'::timestamp) - extract(epoch from '2026-06-17 18:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050687 -3.386431)'), GeomFromEWKT('SRID=4674;POINT (-39.050682 -3.386432)'))) / (select extract(epoch from '2026-06-17 18:00:52'::timestamp) - extract(epoch from '2026-06-17 18:00:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050677 -3.386436)', '2026-06-17 18:01:04', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050682 -3.386432)'), GeomFromEWKT('SRID=4674;POINT (-39.050677 -3.386436)'))) / (select extract(epoch from '2026-06-17 18:01:04'::timestamp) - extract(epoch from '2026-06-17 18:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050682 -3.386432)'), GeomFromEWKT('SRID=4674;POINT (-39.050677 -3.386436)'))) / (select extract(epoch from '2026-06-17 18:01:04'::timestamp) - extract(epoch from '2026-06-17 18:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050672 -3.38644)', '2026-06-17 18:01:13', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050677 -3.386436)'), GeomFromEWKT('SRID=4674;POINT (-39.050672 -3.38644)'))) / (select extract(epoch from '2026-06-17 18:01:13'::timestamp) - extract(epoch from '2026-06-17 18:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050677 -3.386436)'), GeomFromEWKT('SRID=4674;POINT (-39.050672 -3.38644)'))) / (select extract(epoch from '2026-06-17 18:01:13'::timestamp) - extract(epoch from '2026-06-17 18:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050669 -3.386442)', '2026-06-17 18:01:22', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050672 -3.38644)'), GeomFromEWKT('SRID=4674;POINT (-39.050669 -3.386442)'))) / (select extract(epoch from '2026-06-17 18:01:22'::timestamp) - extract(epoch from '2026-06-17 18:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050672 -3.38644)'), GeomFromEWKT('SRID=4674;POINT (-39.050669 -3.386442)'))) / (select extract(epoch from '2026-06-17 18:01:22'::timestamp) - extract(epoch from '2026-06-17 18:01: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'), 46574, 'SRID=4674;POINT (-39.050667 -3.386446)', '2026-06-17 18:01:29', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050669 -3.386442)'), GeomFromEWKT('SRID=4674;POINT (-39.050667 -3.386446)'))) / (select extract(epoch from '2026-06-17 18:01:29'::timestamp) - extract(epoch from '2026-06-17 18:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050669 -3.386442)'), GeomFromEWKT('SRID=4674;POINT (-39.050667 -3.386446)'))) / (select extract(epoch from '2026-06-17 18:01:29'::timestamp) - extract(epoch from '2026-06-17 18:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050669 -3.386457)', '2026-06-17 18:01:38', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050667 -3.386446)'), GeomFromEWKT('SRID=4674;POINT (-39.050669 -3.386457)'))) / (select extract(epoch from '2026-06-17 18:01:38'::timestamp) - extract(epoch from '2026-06-17 18:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050667 -3.386446)'), GeomFromEWKT('SRID=4674;POINT (-39.050669 -3.386457)'))) / (select extract(epoch from '2026-06-17 18:01:38'::timestamp) - extract(epoch from '2026-06-17 18:01:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050674 -3.386464)', '2026-06-17 18:01:48', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050669 -3.386457)'), GeomFromEWKT('SRID=4674;POINT (-39.050674 -3.386464)'))) / (select extract(epoch from '2026-06-17 18:01:48'::timestamp) - extract(epoch from '2026-06-17 18:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050669 -3.386457)'), GeomFromEWKT('SRID=4674;POINT (-39.050674 -3.386464)'))) / (select extract(epoch from '2026-06-17 18:01:48'::timestamp) - extract(epoch from '2026-06-17 18:01: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'), 46574, 'SRID=4674;POINT (-39.050671 -3.386463)', '2026-06-17 18:01:58', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050674 -3.386464)'), GeomFromEWKT('SRID=4674;POINT (-39.050671 -3.386463)'))) / (select extract(epoch from '2026-06-17 18:01:58'::timestamp) - extract(epoch from '2026-06-17 18:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050674 -3.386464)'), GeomFromEWKT('SRID=4674;POINT (-39.050671 -3.386463)'))) / (select extract(epoch from '2026-06-17 18:01:58'::timestamp) - extract(epoch from '2026-06-17 18:01: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'), 46574, 'SRID=4674;POINT (-39.05067 -3.386461)', '2026-06-17 18:02:10', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050671 -3.386463)'), GeomFromEWKT('SRID=4674;POINT (-39.05067 -3.386461)'))) / (select extract(epoch from '2026-06-17 18:02:10'::timestamp) - extract(epoch from '2026-06-17 18:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050671 -3.386463)'), GeomFromEWKT('SRID=4674;POINT (-39.05067 -3.386461)'))) / (select extract(epoch from '2026-06-17 18:02:10'::timestamp) - extract(epoch from '2026-06-17 18:01:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050657 -3.386451)', '2026-06-17 18:02:24', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05067 -3.386461)'), GeomFromEWKT('SRID=4674;POINT (-39.050657 -3.386451)'))) / (select extract(epoch from '2026-06-17 18:02:24'::timestamp) - extract(epoch from '2026-06-17 18:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05067 -3.386461)'), GeomFromEWKT('SRID=4674;POINT (-39.050657 -3.386451)'))) / (select extract(epoch from '2026-06-17 18:02:24'::timestamp) - extract(epoch from '2026-06-17 18:02:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.05066 -3.386447)', '2026-06-17 18:02:37', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050657 -3.386451)'), GeomFromEWKT('SRID=4674;POINT (-39.05066 -3.386447)'))) / (select extract(epoch from '2026-06-17 18:02:37'::timestamp) - extract(epoch from '2026-06-17 18:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050657 -3.386451)'), GeomFromEWKT('SRID=4674;POINT (-39.05066 -3.386447)'))) / (select extract(epoch from '2026-06-17 18:02:37'::timestamp) - extract(epoch from '2026-06-17 18: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'), 46574, 'SRID=4674;POINT (-39.050653 -3.386435)', '2026-06-17 18:02:46', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05066 -3.386447)'), GeomFromEWKT('SRID=4674;POINT (-39.050653 -3.386435)'))) / (select extract(epoch from '2026-06-17 18:02:46'::timestamp) - extract(epoch from '2026-06-17 18:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05066 -3.386447)'), GeomFromEWKT('SRID=4674;POINT (-39.050653 -3.386435)'))) / (select extract(epoch from '2026-06-17 18:02:46'::timestamp) - extract(epoch from '2026-06-17 18:02: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'), 46574, 'SRID=4674;POINT (-39.050653 -3.386431)', '2026-06-17 18:02:55', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050653 -3.386435)'), GeomFromEWKT('SRID=4674;POINT (-39.050653 -3.386431)'))) / (select extract(epoch from '2026-06-17 18:02:55'::timestamp) - extract(epoch from '2026-06-17 18:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050653 -3.386435)'), GeomFromEWKT('SRID=4674;POINT (-39.050653 -3.386431)'))) / (select extract(epoch from '2026-06-17 18:02:55'::timestamp) - extract(epoch from '2026-06-17 18:02: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'), 46574, 'SRID=4674;POINT (-39.050652 -3.386427)', '2026-06-17 18:03:04', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050653 -3.386431)'), GeomFromEWKT('SRID=4674;POINT (-39.050652 -3.386427)'))) / (select extract(epoch from '2026-06-17 18:03:04'::timestamp) - extract(epoch from '2026-06-17 18:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050653 -3.386431)'), GeomFromEWKT('SRID=4674;POINT (-39.050652 -3.386427)'))) / (select extract(epoch from '2026-06-17 18:03:04'::timestamp) - extract(epoch from '2026-06-17 18:02:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050649 -3.386427)', '2026-06-17 18:03:18', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050652 -3.386427)'), GeomFromEWKT('SRID=4674;POINT (-39.050649 -3.386427)'))) / (select extract(epoch from '2026-06-17 18:03:18'::timestamp) - extract(epoch from '2026-06-17 18:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050652 -3.386427)'), GeomFromEWKT('SRID=4674;POINT (-39.050649 -3.386427)'))) / (select extract(epoch from '2026-06-17 18:03:18'::timestamp) - extract(epoch from '2026-06-17 18:03: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'), 46574, 'SRID=4674;POINT (-39.050647 -3.386428)', '2026-06-17 18:03:30', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050649 -3.386427)'), GeomFromEWKT('SRID=4674;POINT (-39.050647 -3.386428)'))) / (select extract(epoch from '2026-06-17 18:03:30'::timestamp) - extract(epoch from '2026-06-17 18:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050649 -3.386427)'), GeomFromEWKT('SRID=4674;POINT (-39.050647 -3.386428)'))) / (select extract(epoch from '2026-06-17 18:03:30'::timestamp) - extract(epoch from '2026-06-17 18:03: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'), 46574, 'SRID=4674;POINT (-39.050647 -3.386428)', '2026-06-17 18:03:37', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050647 -3.386428)'), GeomFromEWKT('SRID=4674;POINT (-39.050647 -3.386428)'))) / (select extract(epoch from '2026-06-17 18:03:37'::timestamp) - extract(epoch from '2026-06-17 18:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050647 -3.386428)'), GeomFromEWKT('SRID=4674;POINT (-39.050647 -3.386428)'))) / (select extract(epoch from '2026-06-17 18:03:37'::timestamp) - extract(epoch from '2026-06-17 18:03:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050637 -3.386427)', '2026-06-17 18:03:48', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050647 -3.386428)'), GeomFromEWKT('SRID=4674;POINT (-39.050637 -3.386427)'))) / (select extract(epoch from '2026-06-17 18:03:48'::timestamp) - extract(epoch from '2026-06-17 18:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050647 -3.386428)'), GeomFromEWKT('SRID=4674;POINT (-39.050637 -3.386427)'))) / (select extract(epoch from '2026-06-17 18:03:48'::timestamp) - extract(epoch from '2026-06-17 18:03: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'), 46574, 'SRID=4674;POINT (-39.050629 -3.386429)', '2026-06-17 18:03:57', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050637 -3.386427)'), GeomFromEWKT('SRID=4674;POINT (-39.050629 -3.386429)'))) / (select extract(epoch from '2026-06-17 18:03:57'::timestamp) - extract(epoch from '2026-06-17 18:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050637 -3.386427)'), GeomFromEWKT('SRID=4674;POINT (-39.050629 -3.386429)'))) / (select extract(epoch from '2026-06-17 18:03:57'::timestamp) - extract(epoch from '2026-06-17 18:03: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'), 46574, 'SRID=4674;POINT (-39.050635 -3.386431)', '2026-06-17 18:04:10', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050629 -3.386429)'), GeomFromEWKT('SRID=4674;POINT (-39.050635 -3.386431)'))) / (select extract(epoch from '2026-06-17 18:04:10'::timestamp) - extract(epoch from '2026-06-17 18:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050629 -3.386429)'), GeomFromEWKT('SRID=4674;POINT (-39.050635 -3.386431)'))) / (select extract(epoch from '2026-06-17 18:04:10'::timestamp) - extract(epoch from '2026-06-17 18:03: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'), 46574, 'SRID=4674;POINT (-39.050635 -3.386441)', '2026-06-17 18:04:20', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050635 -3.386431)'), GeomFromEWKT('SRID=4674;POINT (-39.050635 -3.386441)'))) / (select extract(epoch from '2026-06-17 18:04:20'::timestamp) - extract(epoch from '2026-06-17 18:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050635 -3.386431)'), GeomFromEWKT('SRID=4674;POINT (-39.050635 -3.386441)'))) / (select extract(epoch from '2026-06-17 18:04:20'::timestamp) - extract(epoch from '2026-06-17 18:04: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'), 46574, 'SRID=4674;POINT (-39.050633 -3.386445)', '2026-06-17 18:04:27', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050635 -3.386441)'), GeomFromEWKT('SRID=4674;POINT (-39.050633 -3.386445)'))) / (select extract(epoch from '2026-06-17 18:04:27'::timestamp) - extract(epoch from '2026-06-17 18:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050635 -3.386441)'), GeomFromEWKT('SRID=4674;POINT (-39.050633 -3.386445)'))) / (select extract(epoch from '2026-06-17 18:04:27'::timestamp) - extract(epoch from '2026-06-17 18:04: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'), 46574, 'SRID=4674;POINT (-39.05064 -3.386448)', '2026-06-17 18:04:35', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050633 -3.386445)'), GeomFromEWKT('SRID=4674;POINT (-39.05064 -3.386448)'))) / (select extract(epoch from '2026-06-17 18:04:35'::timestamp) - extract(epoch from '2026-06-17 18:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050633 -3.386445)'), GeomFromEWKT('SRID=4674;POINT (-39.05064 -3.386448)'))) / (select extract(epoch from '2026-06-17 18:04:35'::timestamp) - extract(epoch from '2026-06-17 18:04: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'), 46574, 'SRID=4674;POINT (-39.050648 -3.386446)', '2026-06-17 18:04:43', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05064 -3.386448)'), GeomFromEWKT('SRID=4674;POINT (-39.050648 -3.386446)'))) / (select extract(epoch from '2026-06-17 18:04:43'::timestamp) - extract(epoch from '2026-06-17 18:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.05064 -3.386448)'), GeomFromEWKT('SRID=4674;POINT (-39.050648 -3.386446)'))) / (select extract(epoch from '2026-06-17 18:04:43'::timestamp) - extract(epoch from '2026-06-17 18:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46574, 'SRID=4674;POINT (-39.050646 -3.386449)', '2026-06-17 18:04:53', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050648 -3.386446)'), GeomFromEWKT('SRID=4674;POINT (-39.050646 -3.386449)'))) / (select extract(epoch from '2026-06-17 18:04:53'::timestamp) - extract(epoch from '2026-06-17 18:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.050648 -3.386446)'), GeomFromEWKT('SRID=4674;POINT (-39.050646 -3.386449)'))) / (select extract(epoch from '2026-06-17 18:04:53'::timestamp) - extract(epoch from '2026-06-17 18:04:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
