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'), 46774, 'SRID=4674;POINT (-39.519838 -3.096826)', '2026-06-09 04:26:18', -3, 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'), 46774, 'SRID=4674;POINT (-39.519829 -3.096648)', '2026-06-09 04:26:27', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519838 -3.096826)'), GeomFromEWKT('SRID=4674;POINT (-39.519829 -3.096648)'))) / (select extract(epoch from '2026-06-09 04:26:27'::timestamp) - extract(epoch from '2026-06-09 04:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519838 -3.096826)'), GeomFromEWKT('SRID=4674;POINT (-39.519829 -3.096648)'))) / (select extract(epoch from '2026-06-09 04:26:27'::timestamp) - extract(epoch from '2026-06-09 04:26: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'), 46774, 'SRID=4674;POINT (-39.519839 -3.096497)', '2026-06-09 04:26:34', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519829 -3.096648)'), GeomFromEWKT('SRID=4674;POINT (-39.519839 -3.096497)'))) / (select extract(epoch from '2026-06-09 04:26:34'::timestamp) - extract(epoch from '2026-06-09 04:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519829 -3.096648)'), GeomFromEWKT('SRID=4674;POINT (-39.519839 -3.096497)'))) / (select extract(epoch from '2026-06-09 04:26:34'::timestamp) - extract(epoch from '2026-06-09 04:26: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'), 46774, 'SRID=4674;POINT (-39.519858 -3.096372)', '2026-06-09 04:26:40', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519839 -3.096497)'), GeomFromEWKT('SRID=4674;POINT (-39.519858 -3.096372)'))) / (select extract(epoch from '2026-06-09 04:26:40'::timestamp) - extract(epoch from '2026-06-09 04:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519839 -3.096497)'), GeomFromEWKT('SRID=4674;POINT (-39.519858 -3.096372)'))) / (select extract(epoch from '2026-06-09 04:26:40'::timestamp) - extract(epoch from '2026-06-09 04:26:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.51988 -3.096205)', '2026-06-09 04:26:48', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519858 -3.096372)'), GeomFromEWKT('SRID=4674;POINT (-39.51988 -3.096205)'))) / (select extract(epoch from '2026-06-09 04:26:48'::timestamp) - extract(epoch from '2026-06-09 04:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519858 -3.096372)'), GeomFromEWKT('SRID=4674;POINT (-39.51988 -3.096205)'))) / (select extract(epoch from '2026-06-09 04:26:48'::timestamp) - extract(epoch from '2026-06-09 04:26:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.519891 -3.096076)', '2026-06-09 04:26:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51988 -3.096205)'), GeomFromEWKT('SRID=4674;POINT (-39.519891 -3.096076)'))) / (select extract(epoch from '2026-06-09 04:26:54'::timestamp) - extract(epoch from '2026-06-09 04:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51988 -3.096205)'), GeomFromEWKT('SRID=4674;POINT (-39.519891 -3.096076)'))) / (select extract(epoch from '2026-06-09 04:26:54'::timestamp) - extract(epoch from '2026-06-09 04:26: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'), 46774, 'SRID=4674;POINT (-39.519897 -3.095925)', '2026-06-09 04:27:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519891 -3.096076)'), GeomFromEWKT('SRID=4674;POINT (-39.519897 -3.095925)'))) / (select extract(epoch from '2026-06-09 04:27:01'::timestamp) - extract(epoch from '2026-06-09 04:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519891 -3.096076)'), GeomFromEWKT('SRID=4674;POINT (-39.519897 -3.095925)'))) / (select extract(epoch from '2026-06-09 04:27:01'::timestamp) - extract(epoch from '2026-06-09 04:26: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'), 46774, 'SRID=4674;POINT (-39.519904 -3.095774)', '2026-06-09 04:27:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519897 -3.095925)'), GeomFromEWKT('SRID=4674;POINT (-39.519904 -3.095774)'))) / (select extract(epoch from '2026-06-09 04:27:08'::timestamp) - extract(epoch from '2026-06-09 04:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519897 -3.095925)'), GeomFromEWKT('SRID=4674;POINT (-39.519904 -3.095774)'))) / (select extract(epoch from '2026-06-09 04:27:08'::timestamp) - extract(epoch from '2026-06-09 04:27: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'), 46774, 'SRID=4674;POINT (-39.519908 -3.095627)', '2026-06-09 04:27:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519904 -3.095774)'), GeomFromEWKT('SRID=4674;POINT (-39.519908 -3.095627)'))) / (select extract(epoch from '2026-06-09 04:27:15'::timestamp) - extract(epoch from '2026-06-09 04:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519904 -3.095774)'), GeomFromEWKT('SRID=4674;POINT (-39.519908 -3.095627)'))) / (select extract(epoch from '2026-06-09 04:27:15'::timestamp) - extract(epoch from '2026-06-09 04:27:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.519915 -3.095499)', '2026-06-09 04:27:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519908 -3.095627)'), GeomFromEWKT('SRID=4674;POINT (-39.519915 -3.095499)'))) / (select extract(epoch from '2026-06-09 04:27:21'::timestamp) - extract(epoch from '2026-06-09 04:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519908 -3.095627)'), GeomFromEWKT('SRID=4674;POINT (-39.519915 -3.095499)'))) / (select extract(epoch from '2026-06-09 04:27:21'::timestamp) - extract(epoch from '2026-06-09 04:27:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.519927 -3.095373)', '2026-06-09 04:27:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519915 -3.095499)'), GeomFromEWKT('SRID=4674;POINT (-39.519927 -3.095373)'))) / (select extract(epoch from '2026-06-09 04:27:27'::timestamp) - extract(epoch from '2026-06-09 04:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519915 -3.095499)'), GeomFromEWKT('SRID=4674;POINT (-39.519927 -3.095373)'))) / (select extract(epoch from '2026-06-09 04:27:27'::timestamp) - extract(epoch from '2026-06-09 04:27: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'), 46774, 'SRID=4674;POINT (-39.519935 -3.095205)', '2026-06-09 04:27:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519927 -3.095373)'), GeomFromEWKT('SRID=4674;POINT (-39.519935 -3.095205)'))) / (select extract(epoch from '2026-06-09 04:27:35'::timestamp) - extract(epoch from '2026-06-09 04:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519927 -3.095373)'), GeomFromEWKT('SRID=4674;POINT (-39.519935 -3.095205)'))) / (select extract(epoch from '2026-06-09 04:27:35'::timestamp) - extract(epoch from '2026-06-09 04:27: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'), 46774, 'SRID=4674;POINT (-39.519942 -3.0951)', '2026-06-09 04:27:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519935 -3.095205)'), GeomFromEWKT('SRID=4674;POINT (-39.519942 -3.0951)'))) / (select extract(epoch from '2026-06-09 04:27:40'::timestamp) - extract(epoch from '2026-06-09 04:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519935 -3.095205)'), GeomFromEWKT('SRID=4674;POINT (-39.519942 -3.0951)'))) / (select extract(epoch from '2026-06-09 04:27:40'::timestamp) - extract(epoch from '2026-06-09 04:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.51996 -3.094954)', '2026-06-09 04:27:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519942 -3.0951)'), GeomFromEWKT('SRID=4674;POINT (-39.51996 -3.094954)'))) / (select extract(epoch from '2026-06-09 04:27:47'::timestamp) - extract(epoch from '2026-06-09 04:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519942 -3.0951)'), GeomFromEWKT('SRID=4674;POINT (-39.51996 -3.094954)'))) / (select extract(epoch from '2026-06-09 04:27:47'::timestamp) - extract(epoch from '2026-06-09 04:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.519984 -3.094825)', '2026-06-09 04:27:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51996 -3.094954)'), GeomFromEWKT('SRID=4674;POINT (-39.519984 -3.094825)'))) / (select extract(epoch from '2026-06-09 04:27:53'::timestamp) - extract(epoch from '2026-06-09 04:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.51996 -3.094954)'), GeomFromEWKT('SRID=4674;POINT (-39.519984 -3.094825)'))) / (select extract(epoch from '2026-06-09 04:27:53'::timestamp) - extract(epoch from '2026-06-09 04:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.52 -3.094695)', '2026-06-09 04:27:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519984 -3.094825)'), GeomFromEWKT('SRID=4674;POINT (-39.52 -3.094695)'))) / (select extract(epoch from '2026-06-09 04:27:59'::timestamp) - extract(epoch from '2026-06-09 04:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.519984 -3.094825)'), GeomFromEWKT('SRID=4674;POINT (-39.52 -3.094695)'))) / (select extract(epoch from '2026-06-09 04:27:59'::timestamp) - extract(epoch from '2026-06-09 04:27: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'), 46774, 'SRID=4674;POINT (-39.520015 -3.094522)', '2026-06-09 04:28:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52 -3.094695)'), GeomFromEWKT('SRID=4674;POINT (-39.520015 -3.094522)'))) / (select extract(epoch from '2026-06-09 04:28:07'::timestamp) - extract(epoch from '2026-06-09 04:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52 -3.094695)'), GeomFromEWKT('SRID=4674;POINT (-39.520015 -3.094522)'))) / (select extract(epoch from '2026-06-09 04:28:07'::timestamp) - extract(epoch from '2026-06-09 04:27:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520028 -3.094346)', '2026-06-09 04:28:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520015 -3.094522)'), GeomFromEWKT('SRID=4674;POINT (-39.520028 -3.094346)'))) / (select extract(epoch from '2026-06-09 04:28:15'::timestamp) - extract(epoch from '2026-06-09 04:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520015 -3.094522)'), GeomFromEWKT('SRID=4674;POINT (-39.520028 -3.094346)'))) / (select extract(epoch from '2026-06-09 04:28:15'::timestamp) - extract(epoch from '2026-06-09 04:28:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520045 -3.094196)', '2026-06-09 04:28:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520028 -3.094346)'), GeomFromEWKT('SRID=4674;POINT (-39.520045 -3.094196)'))) / (select extract(epoch from '2026-06-09 04:28:22'::timestamp) - extract(epoch from '2026-06-09 04:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520028 -3.094346)'), GeomFromEWKT('SRID=4674;POINT (-39.520045 -3.094196)'))) / (select extract(epoch from '2026-06-09 04:28:22'::timestamp) - extract(epoch from '2026-06-09 04:28: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'), 46774, 'SRID=4674;POINT (-39.520063 -3.094072)', '2026-06-09 04:28:28', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520045 -3.094196)'), GeomFromEWKT('SRID=4674;POINT (-39.520063 -3.094072)'))) / (select extract(epoch from '2026-06-09 04:28:28'::timestamp) - extract(epoch from '2026-06-09 04:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520045 -3.094196)'), GeomFromEWKT('SRID=4674;POINT (-39.520063 -3.094072)'))) / (select extract(epoch from '2026-06-09 04:28:28'::timestamp) - extract(epoch from '2026-06-09 04:28:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520099 -3.093902)', '2026-06-09 04:28:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520063 -3.094072)'), GeomFromEWKT('SRID=4674;POINT (-39.520099 -3.093902)'))) / (select extract(epoch from '2026-06-09 04:28:36'::timestamp) - extract(epoch from '2026-06-09 04:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520063 -3.094072)'), GeomFromEWKT('SRID=4674;POINT (-39.520099 -3.093902)'))) / (select extract(epoch from '2026-06-09 04:28:36'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.520141 -3.093739)', '2026-06-09 04:28:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520099 -3.093902)'), GeomFromEWKT('SRID=4674;POINT (-39.520141 -3.093739)'))) / (select extract(epoch from '2026-06-09 04:28:44'::timestamp) - extract(epoch from '2026-06-09 04:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520099 -3.093902)'), GeomFromEWKT('SRID=4674;POINT (-39.520141 -3.093739)'))) / (select extract(epoch from '2026-06-09 04:28:44'::timestamp) - extract(epoch from '2026-06-09 04:28: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'), 46774, 'SRID=4674;POINT (-39.520174 -3.093546)', '2026-06-09 04:28:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520141 -3.093739)'), GeomFromEWKT('SRID=4674;POINT (-39.520174 -3.093546)'))) / (select extract(epoch from '2026-06-09 04:28:53'::timestamp) - extract(epoch from '2026-06-09 04:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520141 -3.093739)'), GeomFromEWKT('SRID=4674;POINT (-39.520174 -3.093546)'))) / (select extract(epoch from '2026-06-09 04:28:53'::timestamp) - extract(epoch from '2026-06-09 04:28: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'), 46774, 'SRID=4674;POINT (-39.520192 -3.09342)', '2026-06-09 04:28:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520174 -3.093546)'), GeomFromEWKT('SRID=4674;POINT (-39.520192 -3.09342)'))) / (select extract(epoch from '2026-06-09 04:28:59'::timestamp) - extract(epoch from '2026-06-09 04:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520174 -3.093546)'), GeomFromEWKT('SRID=4674;POINT (-39.520192 -3.09342)'))) / (select extract(epoch from '2026-06-09 04:28:59'::timestamp) - extract(epoch from '2026-06-09 04:28:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520218 -3.093275)', '2026-06-09 04:29:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520192 -3.09342)'), GeomFromEWKT('SRID=4674;POINT (-39.520218 -3.093275)'))) / (select extract(epoch from '2026-06-09 04:29:06'::timestamp) - extract(epoch from '2026-06-09 04:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520192 -3.09342)'), GeomFromEWKT('SRID=4674;POINT (-39.520218 -3.093275)'))) / (select extract(epoch from '2026-06-09 04:29:06'::timestamp) - extract(epoch from '2026-06-09 04:28:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520251 -3.093149)', '2026-06-09 04:29:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520218 -3.093275)'), GeomFromEWKT('SRID=4674;POINT (-39.520251 -3.093149)'))) / (select extract(epoch from '2026-06-09 04:29:12'::timestamp) - extract(epoch from '2026-06-09 04:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520218 -3.093275)'), GeomFromEWKT('SRID=4674;POINT (-39.520251 -3.093149)'))) / (select extract(epoch from '2026-06-09 04:29:12'::timestamp) - extract(epoch from '2026-06-09 04:29:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520296 -3.092983)', '2026-06-09 04:29:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520251 -3.093149)'), GeomFromEWKT('SRID=4674;POINT (-39.520296 -3.092983)'))) / (select extract(epoch from '2026-06-09 04:29:20'::timestamp) - extract(epoch from '2026-06-09 04:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520251 -3.093149)'), GeomFromEWKT('SRID=4674;POINT (-39.520296 -3.092983)'))) / (select extract(epoch from '2026-06-09 04:29:20'::timestamp) - extract(epoch from '2026-06-09 04:29:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520312 -3.092873)', '2026-06-09 04:29:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520296 -3.092983)'), GeomFromEWKT('SRID=4674;POINT (-39.520312 -3.092873)'))) / (select extract(epoch from '2026-06-09 04:29:25'::timestamp) - extract(epoch from '2026-06-09 04:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520296 -3.092983)'), GeomFromEWKT('SRID=4674;POINT (-39.520312 -3.092873)'))) / (select extract(epoch from '2026-06-09 04:29:25'::timestamp) - extract(epoch from '2026-06-09 04:29:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520337 -3.092719)', '2026-06-09 04:29:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520312 -3.092873)'), GeomFromEWKT('SRID=4674;POINT (-39.520337 -3.092719)'))) / (select extract(epoch from '2026-06-09 04:29:32'::timestamp) - extract(epoch from '2026-06-09 04:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520312 -3.092873)'), GeomFromEWKT('SRID=4674;POINT (-39.520337 -3.092719)'))) / (select extract(epoch from '2026-06-09 04:29:32'::timestamp) - extract(epoch from '2026-06-09 04:29: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'), 46774, 'SRID=4674;POINT (-39.520354 -3.092589)', '2026-06-09 04:29:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520337 -3.092719)'), GeomFromEWKT('SRID=4674;POINT (-39.520354 -3.092589)'))) / (select extract(epoch from '2026-06-09 04:29:38'::timestamp) - extract(epoch from '2026-06-09 04:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520337 -3.092719)'), GeomFromEWKT('SRID=4674;POINT (-39.520354 -3.092589)'))) / (select extract(epoch from '2026-06-09 04:29:38'::timestamp) - extract(epoch from '2026-06-09 04:29: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'), 46774, 'SRID=4674;POINT (-39.520365 -3.092414)', '2026-06-09 04:29:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520354 -3.092589)'), GeomFromEWKT('SRID=4674;POINT (-39.520365 -3.092414)'))) / (select extract(epoch from '2026-06-09 04:29:46'::timestamp) - extract(epoch from '2026-06-09 04:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520354 -3.092589)'), GeomFromEWKT('SRID=4674;POINT (-39.520365 -3.092414)'))) / (select extract(epoch from '2026-06-09 04:29:46'::timestamp) - extract(epoch from '2026-06-09 04:29:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520385 -3.092243)', '2026-06-09 04:29:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520365 -3.092414)'), GeomFromEWKT('SRID=4674;POINT (-39.520385 -3.092243)'))) / (select extract(epoch from '2026-06-09 04:29:54'::timestamp) - extract(epoch from '2026-06-09 04:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520365 -3.092414)'), GeomFromEWKT('SRID=4674;POINT (-39.520385 -3.092243)'))) / (select extract(epoch from '2026-06-09 04:29:54'::timestamp) - extract(epoch from '2026-06-09 04:29:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520413 -3.092096)', '2026-06-09 04:30:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520385 -3.092243)'), GeomFromEWKT('SRID=4674;POINT (-39.520413 -3.092096)'))) / (select extract(epoch from '2026-06-09 04:30:01'::timestamp) - extract(epoch from '2026-06-09 04:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520385 -3.092243)'), GeomFromEWKT('SRID=4674;POINT (-39.520413 -3.092096)'))) / (select extract(epoch from '2026-06-09 04:30:01'::timestamp) - extract(epoch from '2026-06-09 04:29: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'), 46774, 'SRID=4674;POINT (-39.520441 -3.091949)', '2026-06-09 04:30:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520413 -3.092096)'), GeomFromEWKT('SRID=4674;POINT (-39.520441 -3.091949)'))) / (select extract(epoch from '2026-06-09 04:30:08'::timestamp) - extract(epoch from '2026-06-09 04:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520413 -3.092096)'), GeomFromEWKT('SRID=4674;POINT (-39.520441 -3.091949)'))) / (select extract(epoch from '2026-06-09 04:30:08'::timestamp) - extract(epoch from '2026-06-09 04:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.52046 -3.091824)', '2026-06-09 04:30:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520441 -3.091949)'), GeomFromEWKT('SRID=4674;POINT (-39.52046 -3.091824)'))) / (select extract(epoch from '2026-06-09 04:30:14'::timestamp) - extract(epoch from '2026-06-09 04:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520441 -3.091949)'), GeomFromEWKT('SRID=4674;POINT (-39.52046 -3.091824)'))) / (select extract(epoch from '2026-06-09 04:30:14'::timestamp) - extract(epoch from '2026-06-09 04:30:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520509 -3.091656)', '2026-06-09 04:30:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52046 -3.091824)'), GeomFromEWKT('SRID=4674;POINT (-39.520509 -3.091656)'))) / (select extract(epoch from '2026-06-09 04:30:22'::timestamp) - extract(epoch from '2026-06-09 04:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52046 -3.091824)'), GeomFromEWKT('SRID=4674;POINT (-39.520509 -3.091656)'))) / (select extract(epoch from '2026-06-09 04:30:22'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.520533 -3.091551)', '2026-06-09 04:30:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520509 -3.091656)'), GeomFromEWKT('SRID=4674;POINT (-39.520533 -3.091551)'))) / (select extract(epoch from '2026-06-09 04:30:27'::timestamp) - extract(epoch from '2026-06-09 04:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520509 -3.091656)'), GeomFromEWKT('SRID=4674;POINT (-39.520533 -3.091551)'))) / (select extract(epoch from '2026-06-09 04:30:27'::timestamp) - extract(epoch from '2026-06-09 04:30:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520544 -3.091513)', '2026-06-09 04:30:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520533 -3.091551)'), GeomFromEWKT('SRID=4674;POINT (-39.520544 -3.091513)'))) / (select extract(epoch from '2026-06-09 04:30:29'::timestamp) - extract(epoch from '2026-06-09 04:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520533 -3.091551)'), GeomFromEWKT('SRID=4674;POINT (-39.520544 -3.091513)'))) / (select extract(epoch from '2026-06-09 04:30:29'::timestamp) - extract(epoch from '2026-06-09 04:30: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'), 46774, 'SRID=4674;POINT (-39.520567 -3.091382)', '2026-06-09 04:30:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520544 -3.091513)'), GeomFromEWKT('SRID=4674;POINT (-39.520567 -3.091382)'))) / (select extract(epoch from '2026-06-09 04:30:35'::timestamp) - extract(epoch from '2026-06-09 04:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520544 -3.091513)'), GeomFromEWKT('SRID=4674;POINT (-39.520567 -3.091382)'))) / (select extract(epoch from '2026-06-09 04:30:35'::timestamp) - extract(epoch from '2026-06-09 04:30:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.52059 -3.091253)', '2026-06-09 04:30:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520567 -3.091382)'), GeomFromEWKT('SRID=4674;POINT (-39.52059 -3.091253)'))) / (select extract(epoch from '2026-06-09 04:30:41'::timestamp) - extract(epoch from '2026-06-09 04:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520567 -3.091382)'), GeomFromEWKT('SRID=4674;POINT (-39.52059 -3.091253)'))) / (select extract(epoch from '2026-06-09 04:30:41'::timestamp) - extract(epoch from '2026-06-09 04:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520624 -3.091124)', '2026-06-09 04:30:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52059 -3.091253)'), GeomFromEWKT('SRID=4674;POINT (-39.520624 -3.091124)'))) / (select extract(epoch from '2026-06-09 04:30:47'::timestamp) - extract(epoch from '2026-06-09 04:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52059 -3.091253)'), GeomFromEWKT('SRID=4674;POINT (-39.520624 -3.091124)'))) / (select extract(epoch from '2026-06-09 04:30:47'::timestamp) - extract(epoch from '2026-06-09 04:30:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520652 -3.090956)', '2026-06-09 04:30:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520624 -3.091124)'), GeomFromEWKT('SRID=4674;POINT (-39.520652 -3.090956)'))) / (select extract(epoch from '2026-06-09 04:30:55'::timestamp) - extract(epoch from '2026-06-09 04:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520624 -3.091124)'), GeomFromEWKT('SRID=4674;POINT (-39.520652 -3.090956)'))) / (select extract(epoch from '2026-06-09 04:30:55'::timestamp) - extract(epoch from '2026-06-09 04:30: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'), 46774, 'SRID=4674;POINT (-39.520659 -3.090827)', '2026-06-09 04:31:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520652 -3.090956)'), GeomFromEWKT('SRID=4674;POINT (-39.520659 -3.090827)'))) / (select extract(epoch from '2026-06-09 04:31:01'::timestamp) - extract(epoch from '2026-06-09 04:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520652 -3.090956)'), GeomFromEWKT('SRID=4674;POINT (-39.520659 -3.090827)'))) / (select extract(epoch from '2026-06-09 04:31:01'::timestamp) - extract(epoch from '2026-06-09 04:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520678 -3.090676)', '2026-06-09 04:31:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520659 -3.090827)'), GeomFromEWKT('SRID=4674;POINT (-39.520678 -3.090676)'))) / (select extract(epoch from '2026-06-09 04:31:08'::timestamp) - extract(epoch from '2026-06-09 04:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520659 -3.090827)'), GeomFromEWKT('SRID=4674;POINT (-39.520678 -3.090676)'))) / (select extract(epoch from '2026-06-09 04:31:08'::timestamp) - extract(epoch from '2026-06-09 04:31:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520689 -3.090529)', '2026-06-09 04:31:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520678 -3.090676)'), GeomFromEWKT('SRID=4674;POINT (-39.520689 -3.090529)'))) / (select extract(epoch from '2026-06-09 04:31:15'::timestamp) - extract(epoch from '2026-06-09 04:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520678 -3.090676)'), GeomFromEWKT('SRID=4674;POINT (-39.520689 -3.090529)'))) / (select extract(epoch from '2026-06-09 04:31:15'::timestamp) - extract(epoch from '2026-06-09 04:31: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'), 46774, 'SRID=4674;POINT (-39.520703 -3.090401)', '2026-06-09 04:31:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520689 -3.090529)'), GeomFromEWKT('SRID=4674;POINT (-39.520703 -3.090401)'))) / (select extract(epoch from '2026-06-09 04:31:21'::timestamp) - extract(epoch from '2026-06-09 04:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520689 -3.090529)'), GeomFromEWKT('SRID=4674;POINT (-39.520703 -3.090401)'))) / (select extract(epoch from '2026-06-09 04:31:21'::timestamp) - extract(epoch from '2026-06-09 04:31: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'), 46774, 'SRID=4674;POINT (-39.520714 -3.090246)', '2026-06-09 04:31:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520703 -3.090401)'), GeomFromEWKT('SRID=4674;POINT (-39.520714 -3.090246)'))) / (select extract(epoch from '2026-06-09 04:31:28'::timestamp) - extract(epoch from '2026-06-09 04:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520703 -3.090401)'), GeomFromEWKT('SRID=4674;POINT (-39.520714 -3.090246)'))) / (select extract(epoch from '2026-06-09 04:31:28'::timestamp) - extract(epoch from '2026-06-09 04:31: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'), 46774, 'SRID=4674;POINT (-39.520726 -3.090095)', '2026-06-09 04:31:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520714 -3.090246)'), GeomFromEWKT('SRID=4674;POINT (-39.520726 -3.090095)'))) / (select extract(epoch from '2026-06-09 04:31:35'::timestamp) - extract(epoch from '2026-06-09 04:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520714 -3.090246)'), GeomFromEWKT('SRID=4674;POINT (-39.520726 -3.090095)'))) / (select extract(epoch from '2026-06-09 04:31:35'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.520737 -3.089965)', '2026-06-09 04:31:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520726 -3.090095)'), GeomFromEWKT('SRID=4674;POINT (-39.520737 -3.089965)'))) / (select extract(epoch from '2026-06-09 04:31:41'::timestamp) - extract(epoch from '2026-06-09 04:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520726 -3.090095)'), GeomFromEWKT('SRID=4674;POINT (-39.520737 -3.089965)'))) / (select extract(epoch from '2026-06-09 04:31:41'::timestamp) - extract(epoch from '2026-06-09 04:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520755 -3.089838)', '2026-06-09 04:31:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520737 -3.089965)'), GeomFromEWKT('SRID=4674;POINT (-39.520755 -3.089838)'))) / (select extract(epoch from '2026-06-09 04:31:47'::timestamp) - extract(epoch from '2026-06-09 04:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520737 -3.089965)'), GeomFromEWKT('SRID=4674;POINT (-39.520755 -3.089838)'))) / (select extract(epoch from '2026-06-09 04:31:47'::timestamp) - extract(epoch from '2026-06-09 04:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520782 -3.08971)', '2026-06-09 04:31:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520755 -3.089838)'), GeomFromEWKT('SRID=4674;POINT (-39.520782 -3.08971)'))) / (select extract(epoch from '2026-06-09 04:31:53'::timestamp) - extract(epoch from '2026-06-09 04:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520755 -3.089838)'), GeomFromEWKT('SRID=4674;POINT (-39.520782 -3.08971)'))) / (select extract(epoch from '2026-06-09 04:31:53'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.520799 -3.089581)', '2026-06-09 04:31:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520782 -3.08971)'), GeomFromEWKT('SRID=4674;POINT (-39.520799 -3.089581)'))) / (select extract(epoch from '2026-06-09 04:31:59'::timestamp) - extract(epoch from '2026-06-09 04:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520782 -3.08971)'), GeomFromEWKT('SRID=4674;POINT (-39.520799 -3.089581)'))) / (select extract(epoch from '2026-06-09 04:31:59'::timestamp) - extract(epoch from '2026-06-09 04:31: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'), 46774, 'SRID=4674;POINT (-39.520834 -3.089412)', '2026-06-09 04:32:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520799 -3.089581)'), GeomFromEWKT('SRID=4674;POINT (-39.520834 -3.089412)'))) / (select extract(epoch from '2026-06-09 04:32:07'::timestamp) - extract(epoch from '2026-06-09 04:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520799 -3.089581)'), GeomFromEWKT('SRID=4674;POINT (-39.520834 -3.089412)'))) / (select extract(epoch from '2026-06-09 04:32:07'::timestamp) - extract(epoch from '2026-06-09 04:31: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'), 46774, 'SRID=4674;POINT (-39.520854 -3.089216)', '2026-06-09 04:32:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520834 -3.089412)'), GeomFromEWKT('SRID=4674;POINT (-39.520854 -3.089216)'))) / (select extract(epoch from '2026-06-09 04:32:16'::timestamp) - extract(epoch from '2026-06-09 04:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520834 -3.089412)'), GeomFromEWKT('SRID=4674;POINT (-39.520854 -3.089216)'))) / (select extract(epoch from '2026-06-09 04:32:16'::timestamp) - extract(epoch from '2026-06-09 04:32: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'), 46774, 'SRID=4674;POINT (-39.520862 -3.089063)', '2026-06-09 04:32:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520854 -3.089216)'), GeomFromEWKT('SRID=4674;POINT (-39.520862 -3.089063)'))) / (select extract(epoch from '2026-06-09 04:32:23'::timestamp) - extract(epoch from '2026-06-09 04:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520854 -3.089216)'), GeomFromEWKT('SRID=4674;POINT (-39.520862 -3.089063)'))) / (select extract(epoch from '2026-06-09 04:32:23'::timestamp) - extract(epoch from '2026-06-09 04:32:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520859 -3.088909)', '2026-06-09 04:32:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520862 -3.089063)'), GeomFromEWKT('SRID=4674;POINT (-39.520859 -3.088909)'))) / (select extract(epoch from '2026-06-09 04:32:30'::timestamp) - extract(epoch from '2026-06-09 04:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520862 -3.089063)'), GeomFromEWKT('SRID=4674;POINT (-39.520859 -3.088909)'))) / (select extract(epoch from '2026-06-09 04:32:30'::timestamp) - extract(epoch from '2026-06-09 04:32: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'), 46774, 'SRID=4674;POINT (-39.520856 -3.088757)', '2026-06-09 04:32:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520859 -3.088909)'), GeomFromEWKT('SRID=4674;POINT (-39.520856 -3.088757)'))) / (select extract(epoch from '2026-06-09 04:32:37'::timestamp) - extract(epoch from '2026-06-09 04:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520859 -3.088909)'), GeomFromEWKT('SRID=4674;POINT (-39.520856 -3.088757)'))) / (select extract(epoch from '2026-06-09 04:32:37'::timestamp) - extract(epoch from '2026-06-09 04:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520853 -3.088605)', '2026-06-09 04:32:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520856 -3.088757)'), GeomFromEWKT('SRID=4674;POINT (-39.520853 -3.088605)'))) / (select extract(epoch from '2026-06-09 04:32:44'::timestamp) - extract(epoch from '2026-06-09 04:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520856 -3.088757)'), GeomFromEWKT('SRID=4674;POINT (-39.520853 -3.088605)'))) / (select extract(epoch from '2026-06-09 04:32:44'::timestamp) - extract(epoch from '2026-06-09 04:32:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520887 -3.088433)', '2026-06-09 04:32:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520853 -3.088605)'), GeomFromEWKT('SRID=4674;POINT (-39.520887 -3.088433)'))) / (select extract(epoch from '2026-06-09 04:32:52'::timestamp) - extract(epoch from '2026-06-09 04:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520853 -3.088605)'), GeomFromEWKT('SRID=4674;POINT (-39.520887 -3.088433)'))) / (select extract(epoch from '2026-06-09 04:32:52'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.520933 -3.088288)', '2026-06-09 04:32:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520887 -3.088433)'), GeomFromEWKT('SRID=4674;POINT (-39.520933 -3.088288)'))) / (select extract(epoch from '2026-06-09 04:32:59'::timestamp) - extract(epoch from '2026-06-09 04:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520887 -3.088433)'), GeomFromEWKT('SRID=4674;POINT (-39.520933 -3.088288)'))) / (select extract(epoch from '2026-06-09 04:32:59'::timestamp) - extract(epoch from '2026-06-09 04:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.520985 -3.088143)', '2026-06-09 04:33:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520933 -3.088288)'), GeomFromEWKT('SRID=4674;POINT (-39.520985 -3.088143)'))) / (select extract(epoch from '2026-06-09 04:33:06'::timestamp) - extract(epoch from '2026-06-09 04:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520933 -3.088288)'), GeomFromEWKT('SRID=4674;POINT (-39.520985 -3.088143)'))) / (select extract(epoch from '2026-06-09 04:33:06'::timestamp) - extract(epoch from '2026-06-09 04:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.52104 -3.088)', '2026-06-09 04:33:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520985 -3.088143)'), GeomFromEWKT('SRID=4674;POINT (-39.52104 -3.088)'))) / (select extract(epoch from '2026-06-09 04:33:13'::timestamp) - extract(epoch from '2026-06-09 04:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.520985 -3.088143)'), GeomFromEWKT('SRID=4674;POINT (-39.52104 -3.088)'))) / (select extract(epoch from '2026-06-09 04:33:13'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.521088 -3.087876)', '2026-06-09 04:33:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52104 -3.088)'), GeomFromEWKT('SRID=4674;POINT (-39.521088 -3.087876)'))) / (select extract(epoch from '2026-06-09 04:33:19'::timestamp) - extract(epoch from '2026-06-09 04:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52104 -3.088)'), GeomFromEWKT('SRID=4674;POINT (-39.521088 -3.087876)'))) / (select extract(epoch from '2026-06-09 04:33:19'::timestamp) - extract(epoch from '2026-06-09 04:33:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.521149 -3.08774)', '2026-06-09 04:33:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521088 -3.087876)'), GeomFromEWKT('SRID=4674;POINT (-39.521149 -3.08774)'))) / (select extract(epoch from '2026-06-09 04:33:26'::timestamp) - extract(epoch from '2026-06-09 04:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521088 -3.087876)'), GeomFromEWKT('SRID=4674;POINT (-39.521149 -3.08774)'))) / (select extract(epoch from '2026-06-09 04:33:26'::timestamp) - extract(epoch from '2026-06-09 04:33: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'), 46774, 'SRID=4674;POINT (-39.521196 -3.087637)', '2026-06-09 04:33:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521149 -3.08774)'), GeomFromEWKT('SRID=4674;POINT (-39.521196 -3.087637)'))) / (select extract(epoch from '2026-06-09 04:33:31'::timestamp) - extract(epoch from '2026-06-09 04:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521149 -3.08774)'), GeomFromEWKT('SRID=4674;POINT (-39.521196 -3.087637)'))) / (select extract(epoch from '2026-06-09 04:33:31'::timestamp) - extract(epoch from '2026-06-09 04:33: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'), 46774, 'SRID=4674;POINT (-39.521272 -3.087476)', '2026-06-09 04:33:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521196 -3.087637)'), GeomFromEWKT('SRID=4674;POINT (-39.521272 -3.087476)'))) / (select extract(epoch from '2026-06-09 04:33:39'::timestamp) - extract(epoch from '2026-06-09 04:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521196 -3.087637)'), GeomFromEWKT('SRID=4674;POINT (-39.521272 -3.087476)'))) / (select extract(epoch from '2026-06-09 04:33:39'::timestamp) - extract(epoch from '2026-06-09 04:33:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.521337 -3.087358)', '2026-06-09 04:33:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521272 -3.087476)'), GeomFromEWKT('SRID=4674;POINT (-39.521337 -3.087358)'))) / (select extract(epoch from '2026-06-09 04:33:45'::timestamp) - extract(epoch from '2026-06-09 04:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521272 -3.087476)'), GeomFromEWKT('SRID=4674;POINT (-39.521337 -3.087358)'))) / (select extract(epoch from '2026-06-09 04:33:45'::timestamp) - extract(epoch from '2026-06-09 04:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.521415 -3.087223)', '2026-06-09 04:33:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521337 -3.087358)'), GeomFromEWKT('SRID=4674;POINT (-39.521415 -3.087223)'))) / (select extract(epoch from '2026-06-09 04:33:52'::timestamp) - extract(epoch from '2026-06-09 04:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521337 -3.087358)'), GeomFromEWKT('SRID=4674;POINT (-39.521415 -3.087223)'))) / (select extract(epoch from '2026-06-09 04:33:52'::timestamp) - extract(epoch from '2026-06-09 04:33: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'), 46774, 'SRID=4674;POINT (-39.521471 -3.087081)', '2026-06-09 04:33:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521415 -3.087223)'), GeomFromEWKT('SRID=4674;POINT (-39.521471 -3.087081)'))) / (select extract(epoch from '2026-06-09 04:33:59'::timestamp) - extract(epoch from '2026-06-09 04:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521415 -3.087223)'), GeomFromEWKT('SRID=4674;POINT (-39.521471 -3.087081)'))) / (select extract(epoch from '2026-06-09 04:33:59'::timestamp) - extract(epoch from '2026-06-09 04:33:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.521517 -3.08696)', '2026-06-09 04:34:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521471 -3.087081)'), GeomFromEWKT('SRID=4674;POINT (-39.521517 -3.08696)'))) / (select extract(epoch from '2026-06-09 04:34:05'::timestamp) - extract(epoch from '2026-06-09 04:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521471 -3.087081)'), GeomFromEWKT('SRID=4674;POINT (-39.521517 -3.08696)'))) / (select extract(epoch from '2026-06-09 04:34:05'::timestamp) - extract(epoch from '2026-06-09 04:33: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'), 46774, 'SRID=4674;POINT (-39.521558 -3.086858)', '2026-06-09 04:34:10', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521517 -3.08696)'), GeomFromEWKT('SRID=4674;POINT (-39.521558 -3.086858)'))) / (select extract(epoch from '2026-06-09 04:34:10'::timestamp) - extract(epoch from '2026-06-09 04:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521517 -3.08696)'), GeomFromEWKT('SRID=4674;POINT (-39.521558 -3.086858)'))) / (select extract(epoch from '2026-06-09 04:34:10'::timestamp) - extract(epoch from '2026-06-09 04:34: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'), 46774, 'SRID=4674;POINT (-39.521601 -3.086735)', '2026-06-09 04:34:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521558 -3.086858)'), GeomFromEWKT('SRID=4674;POINT (-39.521601 -3.086735)'))) / (select extract(epoch from '2026-06-09 04:34:16'::timestamp) - extract(epoch from '2026-06-09 04:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521558 -3.086858)'), GeomFromEWKT('SRID=4674;POINT (-39.521601 -3.086735)'))) / (select extract(epoch from '2026-06-09 04:34:16'::timestamp) - extract(epoch from '2026-06-09 04:34:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.521636 -3.086603)', '2026-06-09 04:34:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521601 -3.086735)'), GeomFromEWKT('SRID=4674;POINT (-39.521636 -3.086603)'))) / (select extract(epoch from '2026-06-09 04:34:22'::timestamp) - extract(epoch from '2026-06-09 04:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521601 -3.086735)'), GeomFromEWKT('SRID=4674;POINT (-39.521636 -3.086603)'))) / (select extract(epoch from '2026-06-09 04:34:22'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.521677 -3.086452)', '2026-06-09 04:34:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521636 -3.086603)'), GeomFromEWKT('SRID=4674;POINT (-39.521677 -3.086452)'))) / (select extract(epoch from '2026-06-09 04:34:29'::timestamp) - extract(epoch from '2026-06-09 04:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521636 -3.086603)'), GeomFromEWKT('SRID=4674;POINT (-39.521677 -3.086452)'))) / (select extract(epoch from '2026-06-09 04:34:29'::timestamp) - extract(epoch from '2026-06-09 04:34: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'), 46774, 'SRID=4674;POINT (-39.521712 -3.086329)', '2026-06-09 04:34:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521677 -3.086452)'), GeomFromEWKT('SRID=4674;POINT (-39.521712 -3.086329)'))) / (select extract(epoch from '2026-06-09 04:34:35'::timestamp) - extract(epoch from '2026-06-09 04:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521677 -3.086452)'), GeomFromEWKT('SRID=4674;POINT (-39.521712 -3.086329)'))) / (select extract(epoch from '2026-06-09 04:34:35'::timestamp) - extract(epoch from '2026-06-09 04:34:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.521756 -3.086205)', '2026-06-09 04:34:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521712 -3.086329)'), GeomFromEWKT('SRID=4674;POINT (-39.521756 -3.086205)'))) / (select extract(epoch from '2026-06-09 04:34:41'::timestamp) - extract(epoch from '2026-06-09 04:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521712 -3.086329)'), GeomFromEWKT('SRID=4674;POINT (-39.521756 -3.086205)'))) / (select extract(epoch from '2026-06-09 04:34:41'::timestamp) - extract(epoch from '2026-06-09 04:34:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.521796 -3.086104)', '2026-06-09 04:34:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521756 -3.086205)'), GeomFromEWKT('SRID=4674;POINT (-39.521796 -3.086104)'))) / (select extract(epoch from '2026-06-09 04:34:46'::timestamp) - extract(epoch from '2026-06-09 04:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521756 -3.086205)'), GeomFromEWKT('SRID=4674;POINT (-39.521796 -3.086104)'))) / (select extract(epoch from '2026-06-09 04:34:46'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.521849 -3.085961)', '2026-06-09 04:34:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521796 -3.086104)'), GeomFromEWKT('SRID=4674;POINT (-39.521849 -3.085961)'))) / (select extract(epoch from '2026-06-09 04:34:53'::timestamp) - extract(epoch from '2026-06-09 04:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521796 -3.086104)'), GeomFromEWKT('SRID=4674;POINT (-39.521849 -3.085961)'))) / (select extract(epoch from '2026-06-09 04:34:53'::timestamp) - extract(epoch from '2026-06-09 04:34: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'), 46774, 'SRID=4674;POINT (-39.521915 -3.085797)', '2026-06-09 04:35:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521849 -3.085961)'), GeomFromEWKT('SRID=4674;POINT (-39.521915 -3.085797)'))) / (select extract(epoch from '2026-06-09 04:35:01'::timestamp) - extract(epoch from '2026-06-09 04:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521849 -3.085961)'), GeomFromEWKT('SRID=4674;POINT (-39.521915 -3.085797)'))) / (select extract(epoch from '2026-06-09 04:35:01'::timestamp) - extract(epoch from '2026-06-09 04:34: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'), 46774, 'SRID=4674;POINT (-39.521971 -3.085674)', '2026-06-09 04:35:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521915 -3.085797)'), GeomFromEWKT('SRID=4674;POINT (-39.521971 -3.085674)'))) / (select extract(epoch from '2026-06-09 04:35:07'::timestamp) - extract(epoch from '2026-06-09 04:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521915 -3.085797)'), GeomFromEWKT('SRID=4674;POINT (-39.521971 -3.085674)'))) / (select extract(epoch from '2026-06-09 04:35:07'::timestamp) - extract(epoch from '2026-06-09 04:35:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.522019 -3.085578)', '2026-06-09 04:35:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521971 -3.085674)'), GeomFromEWKT('SRID=4674;POINT (-39.522019 -3.085578)'))) / (select extract(epoch from '2026-06-09 04:35:12'::timestamp) - extract(epoch from '2026-06-09 04:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.521971 -3.085674)'), GeomFromEWKT('SRID=4674;POINT (-39.522019 -3.085578)'))) / (select extract(epoch from '2026-06-09 04:35:12'::timestamp) - extract(epoch from '2026-06-09 04:35:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.522067 -3.085453)', '2026-06-09 04:35:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522019 -3.085578)'), GeomFromEWKT('SRID=4674;POINT (-39.522067 -3.085453)'))) / (select extract(epoch from '2026-06-09 04:35:18'::timestamp) - extract(epoch from '2026-06-09 04:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522019 -3.085578)'), GeomFromEWKT('SRID=4674;POINT (-39.522067 -3.085453)'))) / (select extract(epoch from '2026-06-09 04:35:18'::timestamp) - extract(epoch from '2026-06-09 04:35: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'), 46774, 'SRID=4674;POINT (-39.522112 -3.085328)', '2026-06-09 04:35:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522067 -3.085453)'), GeomFromEWKT('SRID=4674;POINT (-39.522112 -3.085328)'))) / (select extract(epoch from '2026-06-09 04:35:24'::timestamp) - extract(epoch from '2026-06-09 04:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522067 -3.085453)'), GeomFromEWKT('SRID=4674;POINT (-39.522112 -3.085328)'))) / (select extract(epoch from '2026-06-09 04:35:24'::timestamp) - extract(epoch from '2026-06-09 04:35:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.522168 -3.085191)', '2026-06-09 04:35:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522112 -3.085328)'), GeomFromEWKT('SRID=4674;POINT (-39.522168 -3.085191)'))) / (select extract(epoch from '2026-06-09 04:35:31'::timestamp) - extract(epoch from '2026-06-09 04:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522112 -3.085328)'), GeomFromEWKT('SRID=4674;POINT (-39.522168 -3.085191)'))) / (select extract(epoch from '2026-06-09 04:35:31'::timestamp) - extract(epoch from '2026-06-09 04:35:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.522207 -3.085087)', '2026-06-09 04:35:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522168 -3.085191)'), GeomFromEWKT('SRID=4674;POINT (-39.522207 -3.085087)'))) / (select extract(epoch from '2026-06-09 04:35:36'::timestamp) - extract(epoch from '2026-06-09 04:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522168 -3.085191)'), GeomFromEWKT('SRID=4674;POINT (-39.522207 -3.085087)'))) / (select extract(epoch from '2026-06-09 04:35:36'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.522256 -3.084967)', '2026-06-09 04:35:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522207 -3.085087)'), GeomFromEWKT('SRID=4674;POINT (-39.522256 -3.084967)'))) / (select extract(epoch from '2026-06-09 04:35:42'::timestamp) - extract(epoch from '2026-06-09 04:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522207 -3.085087)'), GeomFromEWKT('SRID=4674;POINT (-39.522256 -3.084967)'))) / (select extract(epoch from '2026-06-09 04:35:42'::timestamp) - extract(epoch from '2026-06-09 04:35:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.5223 -3.084841)', '2026-06-09 04:35:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522256 -3.084967)'), GeomFromEWKT('SRID=4674;POINT (-39.5223 -3.084841)'))) / (select extract(epoch from '2026-06-09 04:35:48'::timestamp) - extract(epoch from '2026-06-09 04:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522256 -3.084967)'), GeomFromEWKT('SRID=4674;POINT (-39.5223 -3.084841)'))) / (select extract(epoch from '2026-06-09 04:35:48'::timestamp) - extract(epoch from '2026-06-09 04:35: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'), 46774, 'SRID=4674;POINT (-39.522339 -3.084671)', '2026-06-09 04:35:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5223 -3.084841)'), GeomFromEWKT('SRID=4674;POINT (-39.522339 -3.084671)'))) / (select extract(epoch from '2026-06-09 04:35:56'::timestamp) - extract(epoch from '2026-06-09 04:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5223 -3.084841)'), GeomFromEWKT('SRID=4674;POINT (-39.522339 -3.084671)'))) / (select extract(epoch from '2026-06-09 04:35:56'::timestamp) - extract(epoch from '2026-06-09 04:35:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.522364 -3.084563)', '2026-06-09 04:36:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522339 -3.084671)'), GeomFromEWKT('SRID=4674;POINT (-39.522364 -3.084563)'))) / (select extract(epoch from '2026-06-09 04:36:01'::timestamp) - extract(epoch from '2026-06-09 04:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522339 -3.084671)'), GeomFromEWKT('SRID=4674;POINT (-39.522364 -3.084563)'))) / (select extract(epoch from '2026-06-09 04:36:01'::timestamp) - extract(epoch from '2026-06-09 04:35: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'), 46774, 'SRID=4674;POINT (-39.522419 -3.084448)', '2026-06-09 04:36:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522364 -3.084563)'), GeomFromEWKT('SRID=4674;POINT (-39.522419 -3.084448)'))) / (select extract(epoch from '2026-06-09 04:36:07'::timestamp) - extract(epoch from '2026-06-09 04:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522364 -3.084563)'), GeomFromEWKT('SRID=4674;POINT (-39.522419 -3.084448)'))) / (select extract(epoch from '2026-06-09 04:36:07'::timestamp) - extract(epoch from '2026-06-09 04:36: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'), 46774, 'SRID=4674;POINT (-39.522469 -3.084327)', '2026-06-09 04:36:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522419 -3.084448)'), GeomFromEWKT('SRID=4674;POINT (-39.522469 -3.084327)'))) / (select extract(epoch from '2026-06-09 04:36:13'::timestamp) - extract(epoch from '2026-06-09 04:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522419 -3.084448)'), GeomFromEWKT('SRID=4674;POINT (-39.522469 -3.084327)'))) / (select extract(epoch from '2026-06-09 04:36:13'::timestamp) - extract(epoch from '2026-06-09 04:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.522508 -3.084205)', '2026-06-09 04:36:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522469 -3.084327)'), GeomFromEWKT('SRID=4674;POINT (-39.522508 -3.084205)'))) / (select extract(epoch from '2026-06-09 04:36:19'::timestamp) - extract(epoch from '2026-06-09 04:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522469 -3.084327)'), GeomFromEWKT('SRID=4674;POINT (-39.522508 -3.084205)'))) / (select extract(epoch from '2026-06-09 04:36:19'::timestamp) - extract(epoch from '2026-06-09 04:36: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'), 46774, 'SRID=4674;POINT (-39.522545 -3.084074)', '2026-06-09 04:36:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522508 -3.084205)'), GeomFromEWKT('SRID=4674;POINT (-39.522545 -3.084074)'))) / (select extract(epoch from '2026-06-09 04:36:25'::timestamp) - extract(epoch from '2026-06-09 04:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522508 -3.084205)'), GeomFromEWKT('SRID=4674;POINT (-39.522545 -3.084074)'))) / (select extract(epoch from '2026-06-09 04:36:25'::timestamp) - extract(epoch from '2026-06-09 04:36: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'), 46774, 'SRID=4674;POINT (-39.522594 -3.083908)', '2026-06-09 04:36:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522545 -3.084074)'), GeomFromEWKT('SRID=4674;POINT (-39.522594 -3.083908)'))) / (select extract(epoch from '2026-06-09 04:36:33'::timestamp) - extract(epoch from '2026-06-09 04:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522545 -3.084074)'), GeomFromEWKT('SRID=4674;POINT (-39.522594 -3.083908)'))) / (select extract(epoch from '2026-06-09 04:36:33'::timestamp) - extract(epoch from '2026-06-09 04:36:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.522642 -3.083787)', '2026-06-09 04:36:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522594 -3.083908)'), GeomFromEWKT('SRID=4674;POINT (-39.522642 -3.083787)'))) / (select extract(epoch from '2026-06-09 04:36:39'::timestamp) - extract(epoch from '2026-06-09 04:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522594 -3.083908)'), GeomFromEWKT('SRID=4674;POINT (-39.522642 -3.083787)'))) / (select extract(epoch from '2026-06-09 04:36:39'::timestamp) - extract(epoch from '2026-06-09 04:36:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.522678 -3.083711)', '2026-06-09 04:36:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522642 -3.083787)'), GeomFromEWKT('SRID=4674;POINT (-39.522678 -3.083711)'))) / (select extract(epoch from '2026-06-09 04:36:43'::timestamp) - extract(epoch from '2026-06-09 04:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522642 -3.083787)'), GeomFromEWKT('SRID=4674;POINT (-39.522678 -3.083711)'))) / (select extract(epoch from '2026-06-09 04:36:43'::timestamp) - extract(epoch from '2026-06-09 04:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.522728 -3.083595)', '2026-06-09 04:36:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522678 -3.083711)'), GeomFromEWKT('SRID=4674;POINT (-39.522728 -3.083595)'))) / (select extract(epoch from '2026-06-09 04:36:49'::timestamp) - extract(epoch from '2026-06-09 04:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522678 -3.083711)'), GeomFromEWKT('SRID=4674;POINT (-39.522728 -3.083595)'))) / (select extract(epoch from '2026-06-09 04:36:49'::timestamp) - extract(epoch from '2026-06-09 04:36:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.522774 -3.083444)', '2026-06-09 04:36:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522728 -3.083595)'), GeomFromEWKT('SRID=4674;POINT (-39.522774 -3.083444)'))) / (select extract(epoch from '2026-06-09 04:36:56'::timestamp) - extract(epoch from '2026-06-09 04:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522728 -3.083595)'), GeomFromEWKT('SRID=4674;POINT (-39.522774 -3.083444)'))) / (select extract(epoch from '2026-06-09 04:36:56'::timestamp) - extract(epoch from '2026-06-09 04:36: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'), 46774, 'SRID=4674;POINT (-39.52279 -3.083312)', '2026-06-09 04:37:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522774 -3.083444)'), GeomFromEWKT('SRID=4674;POINT (-39.52279 -3.083312)'))) / (select extract(epoch from '2026-06-09 04:37:02'::timestamp) - extract(epoch from '2026-06-09 04:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522774 -3.083444)'), GeomFromEWKT('SRID=4674;POINT (-39.52279 -3.083312)'))) / (select extract(epoch from '2026-06-09 04:37:02'::timestamp) - extract(epoch from '2026-06-09 04:36: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'), 46774, 'SRID=4674;POINT (-39.522806 -3.083183)', '2026-06-09 04:37:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52279 -3.083312)'), GeomFromEWKT('SRID=4674;POINT (-39.522806 -3.083183)'))) / (select extract(epoch from '2026-06-09 04:37:08'::timestamp) - extract(epoch from '2026-06-09 04:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52279 -3.083312)'), GeomFromEWKT('SRID=4674;POINT (-39.522806 -3.083183)'))) / (select extract(epoch from '2026-06-09 04:37:08'::timestamp) - extract(epoch from '2026-06-09 04:37: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'), 46774, 'SRID=4674;POINT (-39.522832 -3.08306)', '2026-06-09 04:37:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522806 -3.083183)'), GeomFromEWKT('SRID=4674;POINT (-39.522832 -3.08306)'))) / (select extract(epoch from '2026-06-09 04:37:14'::timestamp) - extract(epoch from '2026-06-09 04:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522806 -3.083183)'), GeomFromEWKT('SRID=4674;POINT (-39.522832 -3.08306)'))) / (select extract(epoch from '2026-06-09 04:37:14'::timestamp) - extract(epoch from '2026-06-09 04:37: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'), 46774, 'SRID=4674;POINT (-39.522862 -3.08291)', '2026-06-09 04:37:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522832 -3.08306)'), GeomFromEWKT('SRID=4674;POINT (-39.522862 -3.08291)'))) / (select extract(epoch from '2026-06-09 04:37:21'::timestamp) - extract(epoch from '2026-06-09 04:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522832 -3.08306)'), GeomFromEWKT('SRID=4674;POINT (-39.522862 -3.08291)'))) / (select extract(epoch from '2026-06-09 04:37:21'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.522898 -3.08276)', '2026-06-09 04:37:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522862 -3.08291)'), GeomFromEWKT('SRID=4674;POINT (-39.522898 -3.08276)'))) / (select extract(epoch from '2026-06-09 04:37:28'::timestamp) - extract(epoch from '2026-06-09 04:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522862 -3.08291)'), GeomFromEWKT('SRID=4674;POINT (-39.522898 -3.08276)'))) / (select extract(epoch from '2026-06-09 04:37:28'::timestamp) - extract(epoch from '2026-06-09 04:37: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'), 46774, 'SRID=4674;POINT (-39.522929 -3.082635)', '2026-06-09 04:37:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522898 -3.08276)'), GeomFromEWKT('SRID=4674;POINT (-39.522929 -3.082635)'))) / (select extract(epoch from '2026-06-09 04:37:34'::timestamp) - extract(epoch from '2026-06-09 04:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522898 -3.08276)'), GeomFromEWKT('SRID=4674;POINT (-39.522929 -3.082635)'))) / (select extract(epoch from '2026-06-09 04:37:34'::timestamp) - extract(epoch from '2026-06-09 04:37: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'), 46774, 'SRID=4674;POINT (-39.522968 -3.082483)', '2026-06-09 04:37:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522929 -3.082635)'), GeomFromEWKT('SRID=4674;POINT (-39.522968 -3.082483)'))) / (select extract(epoch from '2026-06-09 04:37:41'::timestamp) - extract(epoch from '2026-06-09 04:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522929 -3.082635)'), GeomFromEWKT('SRID=4674;POINT (-39.522968 -3.082483)'))) / (select extract(epoch from '2026-06-09 04:37:41'::timestamp) - extract(epoch from '2026-06-09 04:37: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'), 46774, 'SRID=4674;POINT (-39.523015 -3.082336)', '2026-06-09 04:37:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522968 -3.082483)'), GeomFromEWKT('SRID=4674;POINT (-39.523015 -3.082336)'))) / (select extract(epoch from '2026-06-09 04:37:48'::timestamp) - extract(epoch from '2026-06-09 04:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.522968 -3.082483)'), GeomFromEWKT('SRID=4674;POINT (-39.523015 -3.082336)'))) / (select extract(epoch from '2026-06-09 04:37:48'::timestamp) - extract(epoch from '2026-06-09 04:37: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'), 46774, 'SRID=4674;POINT (-39.523061 -3.082195)', '2026-06-09 04:37:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523015 -3.082336)'), GeomFromEWKT('SRID=4674;POINT (-39.523061 -3.082195)'))) / (select extract(epoch from '2026-06-09 04:37:55'::timestamp) - extract(epoch from '2026-06-09 04:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523015 -3.082336)'), GeomFromEWKT('SRID=4674;POINT (-39.523061 -3.082195)'))) / (select extract(epoch from '2026-06-09 04:37:55'::timestamp) - extract(epoch from '2026-06-09 04:37: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'), 46774, 'SRID=4674;POINT (-39.523094 -3.08206)', '2026-06-09 04:38:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523061 -3.082195)'), GeomFromEWKT('SRID=4674;POINT (-39.523094 -3.08206)'))) / (select extract(epoch from '2026-06-09 04:38:01'::timestamp) - extract(epoch from '2026-06-09 04:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523061 -3.082195)'), GeomFromEWKT('SRID=4674;POINT (-39.523094 -3.08206)'))) / (select extract(epoch from '2026-06-09 04:38:01'::timestamp) - extract(epoch from '2026-06-09 04:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.523121 -3.081953)', '2026-06-09 04:38:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523094 -3.08206)'), GeomFromEWKT('SRID=4674;POINT (-39.523121 -3.081953)'))) / (select extract(epoch from '2026-06-09 04:38:06'::timestamp) - extract(epoch from '2026-06-09 04:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523094 -3.08206)'), GeomFromEWKT('SRID=4674;POINT (-39.523121 -3.081953)'))) / (select extract(epoch from '2026-06-09 04:38:06'::timestamp) - extract(epoch from '2026-06-09 04:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.523143 -3.081845)', '2026-06-09 04:38:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523121 -3.081953)'), GeomFromEWKT('SRID=4674;POINT (-39.523143 -3.081845)'))) / (select extract(epoch from '2026-06-09 04:38:11'::timestamp) - extract(epoch from '2026-06-09 04:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523121 -3.081953)'), GeomFromEWKT('SRID=4674;POINT (-39.523143 -3.081845)'))) / (select extract(epoch from '2026-06-09 04:38:11'::timestamp) - extract(epoch from '2026-06-09 04:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.523159 -3.081691)', '2026-06-09 04:38:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523143 -3.081845)'), GeomFromEWKT('SRID=4674;POINT (-39.523159 -3.081691)'))) / (select extract(epoch from '2026-06-09 04:38:18'::timestamp) - extract(epoch from '2026-06-09 04:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523143 -3.081845)'), GeomFromEWKT('SRID=4674;POINT (-39.523159 -3.081691)'))) / (select extract(epoch from '2026-06-09 04:38:18'::timestamp) - extract(epoch from '2026-06-09 04:38:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.523176 -3.081587)', '2026-06-09 04:38:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523159 -3.081691)'), GeomFromEWKT('SRID=4674;POINT (-39.523176 -3.081587)'))) / (select extract(epoch from '2026-06-09 04:38:23'::timestamp) - extract(epoch from '2026-06-09 04:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523159 -3.081691)'), GeomFromEWKT('SRID=4674;POINT (-39.523176 -3.081587)'))) / (select extract(epoch from '2026-06-09 04:38:23'::timestamp) - extract(epoch from '2026-06-09 04:38: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'), 46774, 'SRID=4674;POINT (-39.523198 -3.081439)', '2026-06-09 04:38:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523176 -3.081587)'), GeomFromEWKT('SRID=4674;POINT (-39.523198 -3.081439)'))) / (select extract(epoch from '2026-06-09 04:38:30'::timestamp) - extract(epoch from '2026-06-09 04:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523176 -3.081587)'), GeomFromEWKT('SRID=4674;POINT (-39.523198 -3.081439)'))) / (select extract(epoch from '2026-06-09 04:38:30'::timestamp) - extract(epoch from '2026-06-09 04:38: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'), 46774, 'SRID=4674;POINT (-39.523212 -3.081313)', '2026-06-09 04:38:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523198 -3.081439)'), GeomFromEWKT('SRID=4674;POINT (-39.523212 -3.081313)'))) / (select extract(epoch from '2026-06-09 04:38:36'::timestamp) - extract(epoch from '2026-06-09 04:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523198 -3.081439)'), GeomFromEWKT('SRID=4674;POINT (-39.523212 -3.081313)'))) / (select extract(epoch from '2026-06-09 04:38:36'::timestamp) - extract(epoch from '2026-06-09 04:38: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'), 46774, 'SRID=4674;POINT (-39.523252 -3.081193)', '2026-06-09 04:38:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523212 -3.081313)'), GeomFromEWKT('SRID=4674;POINT (-39.523252 -3.081193)'))) / (select extract(epoch from '2026-06-09 04:38:42'::timestamp) - extract(epoch from '2026-06-09 04:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523212 -3.081313)'), GeomFromEWKT('SRID=4674;POINT (-39.523252 -3.081193)'))) / (select extract(epoch from '2026-06-09 04:38:42'::timestamp) - extract(epoch from '2026-06-09 04:38: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'), 46774, 'SRID=4674;POINT (-39.523325 -3.081069)', '2026-06-09 04:38:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523252 -3.081193)'), GeomFromEWKT('SRID=4674;POINT (-39.523325 -3.081069)'))) / (select extract(epoch from '2026-06-09 04:38:49'::timestamp) - extract(epoch from '2026-06-09 04:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523252 -3.081193)'), GeomFromEWKT('SRID=4674;POINT (-39.523325 -3.081069)'))) / (select extract(epoch from '2026-06-09 04:38:49'::timestamp) - extract(epoch from '2026-06-09 04:38: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'), 46774, 'SRID=4674;POINT (-39.523414 -3.08095)', '2026-06-09 04:38:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523325 -3.081069)'), GeomFromEWKT('SRID=4674;POINT (-39.523414 -3.08095)'))) / (select extract(epoch from '2026-06-09 04:38:56'::timestamp) - extract(epoch from '2026-06-09 04:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523325 -3.081069)'), GeomFromEWKT('SRID=4674;POINT (-39.523414 -3.08095)'))) / (select extract(epoch from '2026-06-09 04:38:56'::timestamp) - extract(epoch from '2026-06-09 04:38:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.523476 -3.080861)', '2026-06-09 04:39:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523414 -3.08095)'), GeomFromEWKT('SRID=4674;POINT (-39.523476 -3.080861)'))) / (select extract(epoch from '2026-06-09 04:39:01'::timestamp) - extract(epoch from '2026-06-09 04:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523414 -3.08095)'), GeomFromEWKT('SRID=4674;POINT (-39.523476 -3.080861)'))) / (select extract(epoch from '2026-06-09 04:39:01'::timestamp) - extract(epoch from '2026-06-09 04:38: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'), 46774, 'SRID=4674;POINT (-39.523553 -3.08076)', '2026-06-09 04:39:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523476 -3.080861)'), GeomFromEWKT('SRID=4674;POINT (-39.523553 -3.08076)'))) / (select extract(epoch from '2026-06-09 04:39:07'::timestamp) - extract(epoch from '2026-06-09 04:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523476 -3.080861)'), GeomFromEWKT('SRID=4674;POINT (-39.523553 -3.08076)'))) / (select extract(epoch from '2026-06-09 04:39:07'::timestamp) - extract(epoch from '2026-06-09 04:39:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.52364 -3.080633)', '2026-06-09 04:39:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523553 -3.08076)'), GeomFromEWKT('SRID=4674;POINT (-39.52364 -3.080633)'))) / (select extract(epoch from '2026-06-09 04:39:14'::timestamp) - extract(epoch from '2026-06-09 04:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523553 -3.08076)'), GeomFromEWKT('SRID=4674;POINT (-39.52364 -3.080633)'))) / (select extract(epoch from '2026-06-09 04:39:14'::timestamp) - extract(epoch from '2026-06-09 04:39: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'), 46774, 'SRID=4674;POINT (-39.523706 -3.080517)', '2026-06-09 04:39:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52364 -3.080633)'), GeomFromEWKT('SRID=4674;POINT (-39.523706 -3.080517)'))) / (select extract(epoch from '2026-06-09 04:39:20'::timestamp) - extract(epoch from '2026-06-09 04:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52364 -3.080633)'), GeomFromEWKT('SRID=4674;POINT (-39.523706 -3.080517)'))) / (select extract(epoch from '2026-06-09 04:39:20'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.523784 -3.080356)', '2026-06-09 04:39:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523706 -3.080517)'), GeomFromEWKT('SRID=4674;POINT (-39.523784 -3.080356)'))) / (select extract(epoch from '2026-06-09 04:39:28'::timestamp) - extract(epoch from '2026-06-09 04:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523706 -3.080517)'), GeomFromEWKT('SRID=4674;POINT (-39.523784 -3.080356)'))) / (select extract(epoch from '2026-06-09 04:39:28'::timestamp) - extract(epoch from '2026-06-09 04:39: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'), 46774, 'SRID=4674;POINT (-39.523873 -3.080227)', '2026-06-09 04:39:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523784 -3.080356)'), GeomFromEWKT('SRID=4674;POINT (-39.523873 -3.080227)'))) / (select extract(epoch from '2026-06-09 04:39:35'::timestamp) - extract(epoch from '2026-06-09 04:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523784 -3.080356)'), GeomFromEWKT('SRID=4674;POINT (-39.523873 -3.080227)'))) / (select extract(epoch from '2026-06-09 04:39:35'::timestamp) - extract(epoch from '2026-06-09 04:39: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'), 46774, 'SRID=4674;POINT (-39.523949 -3.080116)', '2026-06-09 04:39:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523873 -3.080227)'), GeomFromEWKT('SRID=4674;POINT (-39.523949 -3.080116)'))) / (select extract(epoch from '2026-06-09 04:39:41'::timestamp) - extract(epoch from '2026-06-09 04:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523873 -3.080227)'), GeomFromEWKT('SRID=4674;POINT (-39.523949 -3.080116)'))) / (select extract(epoch from '2026-06-09 04:39:41'::timestamp) - extract(epoch from '2026-06-09 04:39: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'), 46774, 'SRID=4674;POINT (-39.524036 -3.079986)', '2026-06-09 04:39:48', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523949 -3.080116)'), GeomFromEWKT('SRID=4674;POINT (-39.524036 -3.079986)'))) / (select extract(epoch from '2026-06-09 04:39:48'::timestamp) - extract(epoch from '2026-06-09 04:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.523949 -3.080116)'), GeomFromEWKT('SRID=4674;POINT (-39.524036 -3.079986)'))) / (select extract(epoch from '2026-06-09 04:39:48'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.52411 -3.079899)', '2026-06-09 04:39:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524036 -3.079986)'), GeomFromEWKT('SRID=4674;POINT (-39.52411 -3.079899)'))) / (select extract(epoch from '2026-06-09 04:39:53'::timestamp) - extract(epoch from '2026-06-09 04:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524036 -3.079986)'), GeomFromEWKT('SRID=4674;POINT (-39.52411 -3.079899)'))) / (select extract(epoch from '2026-06-09 04:39:53'::timestamp) - extract(epoch from '2026-06-09 04:39:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.524213 -3.079749)', '2026-06-09 04:40:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52411 -3.079899)'), GeomFromEWKT('SRID=4674;POINT (-39.524213 -3.079749)'))) / (select extract(epoch from '2026-06-09 04:40:01'::timestamp) - extract(epoch from '2026-06-09 04:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52411 -3.079899)'), GeomFromEWKT('SRID=4674;POINT (-39.524213 -3.079749)'))) / (select extract(epoch from '2026-06-09 04:40:01'::timestamp) - extract(epoch from '2026-06-09 04:39: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'), 46774, 'SRID=4674;POINT (-39.524286 -3.079631)', '2026-06-09 04:40:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524213 -3.079749)'), GeomFromEWKT('SRID=4674;POINT (-39.524286 -3.079631)'))) / (select extract(epoch from '2026-06-09 04:40:07'::timestamp) - extract(epoch from '2026-06-09 04:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524213 -3.079749)'), GeomFromEWKT('SRID=4674;POINT (-39.524286 -3.079631)'))) / (select extract(epoch from '2026-06-09 04:40:07'::timestamp) - extract(epoch from '2026-06-09 04:40: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'), 46774, 'SRID=4674;POINT (-39.524352 -3.079518)', '2026-06-09 04:40:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524286 -3.079631)'), GeomFromEWKT('SRID=4674;POINT (-39.524352 -3.079518)'))) / (select extract(epoch from '2026-06-09 04:40:13'::timestamp) - extract(epoch from '2026-06-09 04:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524286 -3.079631)'), GeomFromEWKT('SRID=4674;POINT (-39.524352 -3.079518)'))) / (select extract(epoch from '2026-06-09 04:40:13'::timestamp) - extract(epoch from '2026-06-09 04:40:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.524427 -3.079412)', '2026-06-09 04:40:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524352 -3.079518)'), GeomFromEWKT('SRID=4674;POINT (-39.524427 -3.079412)'))) / (select extract(epoch from '2026-06-09 04:40:19'::timestamp) - extract(epoch from '2026-06-09 04:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524352 -3.079518)'), GeomFromEWKT('SRID=4674;POINT (-39.524427 -3.079412)'))) / (select extract(epoch from '2026-06-09 04:40:19'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.524508 -3.079306)', '2026-06-09 04:40:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524427 -3.079412)'), GeomFromEWKT('SRID=4674;POINT (-39.524508 -3.079306)'))) / (select extract(epoch from '2026-06-09 04:40:25'::timestamp) - extract(epoch from '2026-06-09 04:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524427 -3.079412)'), GeomFromEWKT('SRID=4674;POINT (-39.524508 -3.079306)'))) / (select extract(epoch from '2026-06-09 04:40:25'::timestamp) - extract(epoch from '2026-06-09 04:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.524533 -3.079277)', '2026-06-09 04:40:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524508 -3.079306)'), GeomFromEWKT('SRID=4674;POINT (-39.524533 -3.079277)'))) / (select extract(epoch from '2026-06-09 04:40:27'::timestamp) - extract(epoch from '2026-06-09 04:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524508 -3.079306)'), GeomFromEWKT('SRID=4674;POINT (-39.524533 -3.079277)'))) / (select extract(epoch from '2026-06-09 04:40:27'::timestamp) - extract(epoch from '2026-06-09 04:40: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'), 46774, 'SRID=4674;POINT (-39.524543 -3.079233)', '2026-06-09 04:40:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524533 -3.079277)'), GeomFromEWKT('SRID=4674;POINT (-39.524543 -3.079233)'))) / (select extract(epoch from '2026-06-09 04:40:29'::timestamp) - extract(epoch from '2026-06-09 04:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524533 -3.079277)'), GeomFromEWKT('SRID=4674;POINT (-39.524543 -3.079233)'))) / (select extract(epoch from '2026-06-09 04:40:29'::timestamp) - extract(epoch from '2026-06-09 04:40:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.524569 -3.079105)', '2026-06-09 04:40:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524543 -3.079233)'), GeomFromEWKT('SRID=4674;POINT (-39.524569 -3.079105)'))) / (select extract(epoch from '2026-06-09 04:40:35'::timestamp) - extract(epoch from '2026-06-09 04:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524543 -3.079233)'), GeomFromEWKT('SRID=4674;POINT (-39.524569 -3.079105)'))) / (select extract(epoch from '2026-06-09 04:40:35'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.524567 -3.07893)', '2026-06-09 04:40:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524569 -3.079105)'), GeomFromEWKT('SRID=4674;POINT (-39.524567 -3.07893)'))) / (select extract(epoch from '2026-06-09 04:40:43'::timestamp) - extract(epoch from '2026-06-09 04:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524569 -3.079105)'), GeomFromEWKT('SRID=4674;POINT (-39.524567 -3.07893)'))) / (select extract(epoch from '2026-06-09 04:40:43'::timestamp) - extract(epoch from '2026-06-09 04:40:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.524561 -3.078799)', '2026-06-09 04:40:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524567 -3.07893)'), GeomFromEWKT('SRID=4674;POINT (-39.524561 -3.078799)'))) / (select extract(epoch from '2026-06-09 04:40:49'::timestamp) - extract(epoch from '2026-06-09 04:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524567 -3.07893)'), GeomFromEWKT('SRID=4674;POINT (-39.524561 -3.078799)'))) / (select extract(epoch from '2026-06-09 04:40:49'::timestamp) - extract(epoch from '2026-06-09 04:40: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'), 46774, 'SRID=4674;POINT (-39.52458 -3.078651)', '2026-06-09 04:40:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524561 -3.078799)'), GeomFromEWKT('SRID=4674;POINT (-39.52458 -3.078651)'))) / (select extract(epoch from '2026-06-09 04:40:56'::timestamp) - extract(epoch from '2026-06-09 04:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524561 -3.078799)'), GeomFromEWKT('SRID=4674;POINT (-39.52458 -3.078651)'))) / (select extract(epoch from '2026-06-09 04:40:56'::timestamp) - extract(epoch from '2026-06-09 04:40: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'), 46774, 'SRID=4674;POINT (-39.52462 -3.07853)', '2026-06-09 04:41:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52458 -3.078651)'), GeomFromEWKT('SRID=4674;POINT (-39.52462 -3.07853)'))) / (select extract(epoch from '2026-06-09 04:41:02'::timestamp) - extract(epoch from '2026-06-09 04:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52458 -3.078651)'), GeomFromEWKT('SRID=4674;POINT (-39.52462 -3.07853)'))) / (select extract(epoch from '2026-06-09 04:41:02'::timestamp) - extract(epoch from '2026-06-09 04:40: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'), 46774, 'SRID=4674;POINT (-39.524668 -3.078389)', '2026-06-09 04:41:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52462 -3.07853)'), GeomFromEWKT('SRID=4674;POINT (-39.524668 -3.078389)'))) / (select extract(epoch from '2026-06-09 04:41:09'::timestamp) - extract(epoch from '2026-06-09 04:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52462 -3.07853)'), GeomFromEWKT('SRID=4674;POINT (-39.524668 -3.078389)'))) / (select extract(epoch from '2026-06-09 04:41:09'::timestamp) - extract(epoch from '2026-06-09 04:41: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'), 46774, 'SRID=4674;POINT (-39.524712 -3.078244)', '2026-06-09 04:41:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524668 -3.078389)'), GeomFromEWKT('SRID=4674;POINT (-39.524712 -3.078244)'))) / (select extract(epoch from '2026-06-09 04:41:16'::timestamp) - extract(epoch from '2026-06-09 04:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524668 -3.078389)'), GeomFromEWKT('SRID=4674;POINT (-39.524712 -3.078244)'))) / (select extract(epoch from '2026-06-09 04:41:16'::timestamp) - extract(epoch from '2026-06-09 04:41: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'), 46774, 'SRID=4674;POINT (-39.524723 -3.078204)', '2026-06-09 04:41:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524712 -3.078244)'), GeomFromEWKT('SRID=4674;POINT (-39.524723 -3.078204)'))) / (select extract(epoch from '2026-06-09 04:41:18'::timestamp) - extract(epoch from '2026-06-09 04:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524712 -3.078244)'), GeomFromEWKT('SRID=4674;POINT (-39.524723 -3.078204)'))) / (select extract(epoch from '2026-06-09 04:41:18'::timestamp) - extract(epoch from '2026-06-09 04:41: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'), 46774, 'SRID=4674;POINT (-39.524742 -3.078165)', '2026-06-09 04:41:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524723 -3.078204)'), GeomFromEWKT('SRID=4674;POINT (-39.524742 -3.078165)'))) / (select extract(epoch from '2026-06-09 04:41:20'::timestamp) - extract(epoch from '2026-06-09 04:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524723 -3.078204)'), GeomFromEWKT('SRID=4674;POINT (-39.524742 -3.078165)'))) / (select extract(epoch from '2026-06-09 04:41:20'::timestamp) - extract(epoch from '2026-06-09 04:41:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.524768 -3.078057)', '2026-06-09 04:41:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524742 -3.078165)'), GeomFromEWKT('SRID=4674;POINT (-39.524768 -3.078057)'))) / (select extract(epoch from '2026-06-09 04:41:25'::timestamp) - extract(epoch from '2026-06-09 04:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524742 -3.078165)'), GeomFromEWKT('SRID=4674;POINT (-39.524768 -3.078057)'))) / (select extract(epoch from '2026-06-09 04:41:25'::timestamp) - extract(epoch from '2026-06-09 04:41:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.52479 -3.077954)', '2026-06-09 04:41:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524768 -3.078057)'), GeomFromEWKT('SRID=4674;POINT (-39.52479 -3.077954)'))) / (select extract(epoch from '2026-06-09 04:41:30'::timestamp) - extract(epoch from '2026-06-09 04:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524768 -3.078057)'), GeomFromEWKT('SRID=4674;POINT (-39.52479 -3.077954)'))) / (select extract(epoch from '2026-06-09 04:41:30'::timestamp) - extract(epoch from '2026-06-09 04:41: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'), 46774, 'SRID=4674;POINT (-39.524842 -3.077837)', '2026-06-09 04:41:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52479 -3.077954)'), GeomFromEWKT('SRID=4674;POINT (-39.524842 -3.077837)'))) / (select extract(epoch from '2026-06-09 04:41:36'::timestamp) - extract(epoch from '2026-06-09 04:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52479 -3.077954)'), GeomFromEWKT('SRID=4674;POINT (-39.524842 -3.077837)'))) / (select extract(epoch from '2026-06-09 04:41:36'::timestamp) - extract(epoch from '2026-06-09 04:41: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'), 46774, 'SRID=4674;POINT (-39.524891 -3.077741)', '2026-06-09 04:41:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524842 -3.077837)'), GeomFromEWKT('SRID=4674;POINT (-39.524891 -3.077741)'))) / (select extract(epoch from '2026-06-09 04:41:41'::timestamp) - extract(epoch from '2026-06-09 04:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524842 -3.077837)'), GeomFromEWKT('SRID=4674;POINT (-39.524891 -3.077741)'))) / (select extract(epoch from '2026-06-09 04:41:41'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.524938 -3.077645)', '2026-06-09 04:41:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524891 -3.077741)'), GeomFromEWKT('SRID=4674;POINT (-39.524938 -3.077645)'))) / (select extract(epoch from '2026-06-09 04:41:46'::timestamp) - extract(epoch from '2026-06-09 04:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524891 -3.077741)'), GeomFromEWKT('SRID=4674;POINT (-39.524938 -3.077645)'))) / (select extract(epoch from '2026-06-09 04:41:46'::timestamp) - extract(epoch from '2026-06-09 04:41: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'), 46774, 'SRID=4674;POINT (-39.524993 -3.07753)', '2026-06-09 04:41:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524938 -3.077645)'), GeomFromEWKT('SRID=4674;POINT (-39.524993 -3.07753)'))) / (select extract(epoch from '2026-06-09 04:41:52'::timestamp) - extract(epoch from '2026-06-09 04:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524938 -3.077645)'), GeomFromEWKT('SRID=4674;POINT (-39.524993 -3.07753)'))) / (select extract(epoch from '2026-06-09 04:41:52'::timestamp) - extract(epoch from '2026-06-09 04:41: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'), 46774, 'SRID=4674;POINT (-39.525056 -3.077388)', '2026-06-09 04:41:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524993 -3.07753)'), GeomFromEWKT('SRID=4674;POINT (-39.525056 -3.077388)'))) / (select extract(epoch from '2026-06-09 04:41:59'::timestamp) - extract(epoch from '2026-06-09 04:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.524993 -3.07753)'), GeomFromEWKT('SRID=4674;POINT (-39.525056 -3.077388)'))) / (select extract(epoch from '2026-06-09 04:41:59'::timestamp) - extract(epoch from '2026-06-09 04:41:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.525101 -3.077288)', '2026-06-09 04:42:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525056 -3.077388)'), GeomFromEWKT('SRID=4674;POINT (-39.525101 -3.077288)'))) / (select extract(epoch from '2026-06-09 04:42:04'::timestamp) - extract(epoch from '2026-06-09 04:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525056 -3.077388)'), GeomFromEWKT('SRID=4674;POINT (-39.525101 -3.077288)'))) / (select extract(epoch from '2026-06-09 04:42:04'::timestamp) - extract(epoch from '2026-06-09 04:41: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'), 46774, 'SRID=4674;POINT (-39.525157 -3.077167)', '2026-06-09 04:42:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525101 -3.077288)'), GeomFromEWKT('SRID=4674;POINT (-39.525157 -3.077167)'))) / (select extract(epoch from '2026-06-09 04:42:10'::timestamp) - extract(epoch from '2026-06-09 04:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525101 -3.077288)'), GeomFromEWKT('SRID=4674;POINT (-39.525157 -3.077167)'))) / (select extract(epoch from '2026-06-09 04:42:10'::timestamp) - extract(epoch from '2026-06-09 04:42:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.525206 -3.077029)', '2026-06-09 04:42:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525157 -3.077167)'), GeomFromEWKT('SRID=4674;POINT (-39.525206 -3.077029)'))) / (select extract(epoch from '2026-06-09 04:42:17'::timestamp) - extract(epoch from '2026-06-09 04:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525157 -3.077167)'), GeomFromEWKT('SRID=4674;POINT (-39.525206 -3.077029)'))) / (select extract(epoch from '2026-06-09 04:42:17'::timestamp) - extract(epoch from '2026-06-09 04:42:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.525268 -3.076886)', '2026-06-09 04:42:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525206 -3.077029)'), GeomFromEWKT('SRID=4674;POINT (-39.525268 -3.076886)'))) / (select extract(epoch from '2026-06-09 04:42:24'::timestamp) - extract(epoch from '2026-06-09 04:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525206 -3.077029)'), GeomFromEWKT('SRID=4674;POINT (-39.525268 -3.076886)'))) / (select extract(epoch from '2026-06-09 04:42:24'::timestamp) - extract(epoch from '2026-06-09 04:42:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.525314 -3.076812)', '2026-06-09 04:42:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525268 -3.076886)'), GeomFromEWKT('SRID=4674;POINT (-39.525314 -3.076812)'))) / (select extract(epoch from '2026-06-09 04:42:28'::timestamp) - extract(epoch from '2026-06-09 04:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525268 -3.076886)'), GeomFromEWKT('SRID=4674;POINT (-39.525314 -3.076812)'))) / (select extract(epoch from '2026-06-09 04:42:28'::timestamp) - extract(epoch from '2026-06-09 04:42:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.525348 -3.076781)', '2026-06-09 04:42:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525314 -3.076812)'), GeomFromEWKT('SRID=4674;POINT (-39.525348 -3.076781)'))) / (select extract(epoch from '2026-06-09 04:42:30'::timestamp) - extract(epoch from '2026-06-09 04:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525314 -3.076812)'), GeomFromEWKT('SRID=4674;POINT (-39.525348 -3.076781)'))) / (select extract(epoch from '2026-06-09 04:42:30'::timestamp) - extract(epoch from '2026-06-09 04:42: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'), 46774, 'SRID=4674;POINT (-39.525429 -3.076675)', '2026-06-09 04:42:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525348 -3.076781)'), GeomFromEWKT('SRID=4674;POINT (-39.525429 -3.076675)'))) / (select extract(epoch from '2026-06-09 04:42:37'::timestamp) - extract(epoch from '2026-06-09 04:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525348 -3.076781)'), GeomFromEWKT('SRID=4674;POINT (-39.525429 -3.076675)'))) / (select extract(epoch from '2026-06-09 04:42:37'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.525492 -3.076586)', '2026-06-09 04:42:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525429 -3.076675)'), GeomFromEWKT('SRID=4674;POINT (-39.525492 -3.076586)'))) / (select extract(epoch from '2026-06-09 04:42:43'::timestamp) - extract(epoch from '2026-06-09 04:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525429 -3.076675)'), GeomFromEWKT('SRID=4674;POINT (-39.525492 -3.076586)'))) / (select extract(epoch from '2026-06-09 04:42:43'::timestamp) - extract(epoch from '2026-06-09 04:42:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.525544 -3.076509)', '2026-06-09 04:42:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525492 -3.076586)'), GeomFromEWKT('SRID=4674;POINT (-39.525544 -3.076509)'))) / (select extract(epoch from '2026-06-09 04:42:48'::timestamp) - extract(epoch from '2026-06-09 04:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525492 -3.076586)'), GeomFromEWKT('SRID=4674;POINT (-39.525544 -3.076509)'))) / (select extract(epoch from '2026-06-09 04:42:48'::timestamp) - extract(epoch from '2026-06-09 04:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.525606 -3.076415)', '2026-06-09 04:42:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525544 -3.076509)'), GeomFromEWKT('SRID=4674;POINT (-39.525606 -3.076415)'))) / (select extract(epoch from '2026-06-09 04:42:54'::timestamp) - extract(epoch from '2026-06-09 04:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525544 -3.076509)'), GeomFromEWKT('SRID=4674;POINT (-39.525606 -3.076415)'))) / (select extract(epoch from '2026-06-09 04:42:54'::timestamp) - extract(epoch from '2026-06-09 04:42:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.525667 -3.076319)', '2026-06-09 04:43:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525606 -3.076415)'), GeomFromEWKT('SRID=4674;POINT (-39.525667 -3.076319)'))) / (select extract(epoch from '2026-06-09 04:43:00'::timestamp) - extract(epoch from '2026-06-09 04:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525606 -3.076415)'), GeomFromEWKT('SRID=4674;POINT (-39.525667 -3.076319)'))) / (select extract(epoch from '2026-06-09 04:43:00'::timestamp) - extract(epoch from '2026-06-09 04:42:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.52572 -3.076232)', '2026-06-09 04:43:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525667 -3.076319)'), GeomFromEWKT('SRID=4674;POINT (-39.52572 -3.076232)'))) / (select extract(epoch from '2026-06-09 04:43:05'::timestamp) - extract(epoch from '2026-06-09 04:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525667 -3.076319)'), GeomFromEWKT('SRID=4674;POINT (-39.52572 -3.076232)'))) / (select extract(epoch from '2026-06-09 04:43:05'::timestamp) - extract(epoch from '2026-06-09 04:43:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.525779 -3.076134)', '2026-06-09 04:43:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52572 -3.076232)'), GeomFromEWKT('SRID=4674;POINT (-39.525779 -3.076134)'))) / (select extract(epoch from '2026-06-09 04:43:11'::timestamp) - extract(epoch from '2026-06-09 04:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52572 -3.076232)'), GeomFromEWKT('SRID=4674;POINT (-39.525779 -3.076134)'))) / (select extract(epoch from '2026-06-09 04:43:11'::timestamp) - extract(epoch from '2026-06-09 04:43: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'), 46774, 'SRID=4674;POINT (-39.525831 -3.076056)', '2026-06-09 04:43:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525779 -3.076134)'), GeomFromEWKT('SRID=4674;POINT (-39.525831 -3.076056)'))) / (select extract(epoch from '2026-06-09 04:43:16'::timestamp) - extract(epoch from '2026-06-09 04:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525779 -3.076134)'), GeomFromEWKT('SRID=4674;POINT (-39.525831 -3.076056)'))) / (select extract(epoch from '2026-06-09 04:43:16'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.525903 -3.07594)', '2026-06-09 04:43:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525831 -3.076056)'), GeomFromEWKT('SRID=4674;POINT (-39.525903 -3.07594)'))) / (select extract(epoch from '2026-06-09 04:43:23'::timestamp) - extract(epoch from '2026-06-09 04:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525831 -3.076056)'), GeomFromEWKT('SRID=4674;POINT (-39.525903 -3.07594)'))) / (select extract(epoch from '2026-06-09 04:43:23'::timestamp) - extract(epoch from '2026-06-09 04:43: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'), 46774, 'SRID=4674;POINT (-39.525976 -3.075831)', '2026-06-09 04:43:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525903 -3.07594)'), GeomFromEWKT('SRID=4674;POINT (-39.525976 -3.075831)'))) / (select extract(epoch from '2026-06-09 04:43:30'::timestamp) - extract(epoch from '2026-06-09 04:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525903 -3.07594)'), GeomFromEWKT('SRID=4674;POINT (-39.525976 -3.075831)'))) / (select extract(epoch from '2026-06-09 04:43:30'::timestamp) - extract(epoch from '2026-06-09 04:43: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'), 46774, 'SRID=4674;POINT (-39.526039 -3.075741)', '2026-06-09 04:43:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525976 -3.075831)'), GeomFromEWKT('SRID=4674;POINT (-39.526039 -3.075741)'))) / (select extract(epoch from '2026-06-09 04:43:36'::timestamp) - extract(epoch from '2026-06-09 04:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.525976 -3.075831)'), GeomFromEWKT('SRID=4674;POINT (-39.526039 -3.075741)'))) / (select extract(epoch from '2026-06-09 04:43:36'::timestamp) - extract(epoch from '2026-06-09 04:43:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.52611 -3.075651)', '2026-06-09 04:43:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526039 -3.075741)'), GeomFromEWKT('SRID=4674;POINT (-39.52611 -3.075651)'))) / (select extract(epoch from '2026-06-09 04:43:42'::timestamp) - extract(epoch from '2026-06-09 04:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526039 -3.075741)'), GeomFromEWKT('SRID=4674;POINT (-39.52611 -3.075651)'))) / (select extract(epoch from '2026-06-09 04:43:42'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.526171 -3.075549)', '2026-06-09 04:43:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52611 -3.075651)'), GeomFromEWKT('SRID=4674;POINT (-39.526171 -3.075549)'))) / (select extract(epoch from '2026-06-09 04:43:48'::timestamp) - extract(epoch from '2026-06-09 04:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52611 -3.075651)'), GeomFromEWKT('SRID=4674;POINT (-39.526171 -3.075549)'))) / (select extract(epoch from '2026-06-09 04:43:48'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.526229 -3.075472)', '2026-06-09 04:43:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526171 -3.075549)'), GeomFromEWKT('SRID=4674;POINT (-39.526229 -3.075472)'))) / (select extract(epoch from '2026-06-09 04:43:53'::timestamp) - extract(epoch from '2026-06-09 04:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526171 -3.075549)'), GeomFromEWKT('SRID=4674;POINT (-39.526229 -3.075472)'))) / (select extract(epoch from '2026-06-09 04:43:53'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.526258 -3.075425)', '2026-06-09 04:43:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526229 -3.075472)'), GeomFromEWKT('SRID=4674;POINT (-39.526258 -3.075425)'))) / (select extract(epoch from '2026-06-09 04:43:56'::timestamp) - extract(epoch from '2026-06-09 04:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526229 -3.075472)'), GeomFromEWKT('SRID=4674;POINT (-39.526258 -3.075425)'))) / (select extract(epoch from '2026-06-09 04:43:56'::timestamp) - extract(epoch from '2026-06-09 04:43:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.526291 -3.07538)', '2026-06-09 04:43:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526258 -3.075425)'), GeomFromEWKT('SRID=4674;POINT (-39.526291 -3.07538)'))) / (select extract(epoch from '2026-06-09 04:43:59'::timestamp) - extract(epoch from '2026-06-09 04:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526258 -3.075425)'), GeomFromEWKT('SRID=4674;POINT (-39.526291 -3.07538)'))) / (select extract(epoch from '2026-06-09 04:43:59'::timestamp) - extract(epoch from '2026-06-09 04:43:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.526328 -3.075331)', '2026-06-09 04:44:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526291 -3.07538)'), GeomFromEWKT('SRID=4674;POINT (-39.526328 -3.075331)'))) / (select extract(epoch from '2026-06-09 04:44:02'::timestamp) - extract(epoch from '2026-06-09 04:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526291 -3.07538)'), GeomFromEWKT('SRID=4674;POINT (-39.526328 -3.075331)'))) / (select extract(epoch from '2026-06-09 04:44:02'::timestamp) - extract(epoch from '2026-06-09 04:43: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'), 46774, 'SRID=4674;POINT (-39.526345 -3.075296)', '2026-06-09 04:44:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526328 -3.075331)'), GeomFromEWKT('SRID=4674;POINT (-39.526345 -3.075296)'))) / (select extract(epoch from '2026-06-09 04:44:04'::timestamp) - extract(epoch from '2026-06-09 04:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526328 -3.075331)'), GeomFromEWKT('SRID=4674;POINT (-39.526345 -3.075296)'))) / (select extract(epoch from '2026-06-09 04:44:04'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.526414 -3.07521)', '2026-06-09 04:44:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526345 -3.075296)'), GeomFromEWKT('SRID=4674;POINT (-39.526414 -3.07521)'))) / (select extract(epoch from '2026-06-09 04:44:10'::timestamp) - extract(epoch from '2026-06-09 04:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526345 -3.075296)'), GeomFromEWKT('SRID=4674;POINT (-39.526414 -3.07521)'))) / (select extract(epoch from '2026-06-09 04:44:10'::timestamp) - extract(epoch from '2026-06-09 04:44: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'), 46774, 'SRID=4674;POINT (-39.526478 -3.075141)', '2026-06-09 04:44:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526414 -3.07521)'), GeomFromEWKT('SRID=4674;POINT (-39.526478 -3.075141)'))) / (select extract(epoch from '2026-06-09 04:44:15'::timestamp) - extract(epoch from '2026-06-09 04:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526414 -3.07521)'), GeomFromEWKT('SRID=4674;POINT (-39.526478 -3.075141)'))) / (select extract(epoch from '2026-06-09 04:44:15'::timestamp) - extract(epoch from '2026-06-09 04:44:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.526572 -3.075041)', '2026-06-09 04:44:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526478 -3.075141)'), GeomFromEWKT('SRID=4674;POINT (-39.526572 -3.075041)'))) / (select extract(epoch from '2026-06-09 04:44:22'::timestamp) - extract(epoch from '2026-06-09 04:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526478 -3.075141)'), GeomFromEWKT('SRID=4674;POINT (-39.526572 -3.075041)'))) / (select extract(epoch from '2026-06-09 04:44:22'::timestamp) - extract(epoch from '2026-06-09 04:44: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'), 46774, 'SRID=4674;POINT (-39.526639 -3.074961)', '2026-06-09 04:44:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526572 -3.075041)'), GeomFromEWKT('SRID=4674;POINT (-39.526639 -3.074961)'))) / (select extract(epoch from '2026-06-09 04:44:28'::timestamp) - extract(epoch from '2026-06-09 04:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526572 -3.075041)'), GeomFromEWKT('SRID=4674;POINT (-39.526639 -3.074961)'))) / (select extract(epoch from '2026-06-09 04:44:28'::timestamp) - extract(epoch from '2026-06-09 04: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'), 46774, 'SRID=4674;POINT (-39.526736 -3.074864)', '2026-06-09 04:44:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526639 -3.074961)'), GeomFromEWKT('SRID=4674;POINT (-39.526736 -3.074864)'))) / (select extract(epoch from '2026-06-09 04:44:35'::timestamp) - extract(epoch from '2026-06-09 04:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526639 -3.074961)'), GeomFromEWKT('SRID=4674;POINT (-39.526736 -3.074864)'))) / (select extract(epoch from '2026-06-09 04:44:35'::timestamp) - extract(epoch from '2026-06-09 04:44: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'), 46774, 'SRID=4674;POINT (-39.526778 -3.074821)', '2026-06-09 04:44:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526736 -3.074864)'), GeomFromEWKT('SRID=4674;POINT (-39.526778 -3.074821)'))) / (select extract(epoch from '2026-06-09 04:44:39'::timestamp) - extract(epoch from '2026-06-09 04:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526736 -3.074864)'), GeomFromEWKT('SRID=4674;POINT (-39.526778 -3.074821)'))) / (select extract(epoch from '2026-06-09 04:44:39'::timestamp) - extract(epoch from '2026-06-09 04:44: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'), 46774, 'SRID=4674;POINT (-39.527346 -3.07756)', '2026-06-09 06:19:33', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526778 -3.074821)'), GeomFromEWKT('SRID=4674;POINT (-39.527346 -3.07756)'))) / (select extract(epoch from '2026-06-09 06:19:33'::timestamp) - extract(epoch from '2026-06-09 04:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526778 -3.074821)'), GeomFromEWKT('SRID=4674;POINT (-39.527346 -3.07756)'))) / (select extract(epoch from '2026-06-09 06:19:33'::timestamp) - extract(epoch from '2026-06-09 04:44: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'), 46774, 'SRID=4674;POINT (-39.527399 -3.077547)', '2026-06-09 06:19:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527346 -3.07756)'), GeomFromEWKT('SRID=4674;POINT (-39.527399 -3.077547)'))) / (select extract(epoch from '2026-06-09 06:19:45'::timestamp) - extract(epoch from '2026-06-09 06:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527346 -3.07756)'), GeomFromEWKT('SRID=4674;POINT (-39.527399 -3.077547)'))) / (select extract(epoch from '2026-06-09 06:19:45'::timestamp) - extract(epoch from '2026-06-09 06:19: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'), 46774, 'SRID=4674;POINT (-39.527449 -3.077538)', '2026-06-09 06:19:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527399 -3.077547)'), GeomFromEWKT('SRID=4674;POINT (-39.527449 -3.077538)'))) / (select extract(epoch from '2026-06-09 06:19:53'::timestamp) - extract(epoch from '2026-06-09 06:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527399 -3.077547)'), GeomFromEWKT('SRID=4674;POINT (-39.527449 -3.077538)'))) / (select extract(epoch from '2026-06-09 06:19:53'::timestamp) - extract(epoch from '2026-06-09 06:19:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.527463 -3.07753)', '2026-06-09 06:19:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527449 -3.077538)'), GeomFromEWKT('SRID=4674;POINT (-39.527463 -3.07753)'))) / (select extract(epoch from '2026-06-09 06:19:55'::timestamp) - extract(epoch from '2026-06-09 06:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527449 -3.077538)'), GeomFromEWKT('SRID=4674;POINT (-39.527463 -3.07753)'))) / (select extract(epoch from '2026-06-09 06:19:55'::timestamp) - extract(epoch from '2026-06-09 06:19:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.527481 -3.077523)', '2026-06-09 06:19:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527463 -3.07753)'), GeomFromEWKT('SRID=4674;POINT (-39.527481 -3.077523)'))) / (select extract(epoch from '2026-06-09 06:19:58'::timestamp) - extract(epoch from '2026-06-09 06:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527463 -3.07753)'), GeomFromEWKT('SRID=4674;POINT (-39.527481 -3.077523)'))) / (select extract(epoch from '2026-06-09 06:19:58'::timestamp) - extract(epoch from '2026-06-09 06:19: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'), 46774, 'SRID=4674;POINT (-39.527508 -3.077511)', '2026-06-09 06:20:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527481 -3.077523)'), GeomFromEWKT('SRID=4674;POINT (-39.527508 -3.077511)'))) / (select extract(epoch from '2026-06-09 06:20:04'::timestamp) - extract(epoch from '2026-06-09 06:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527481 -3.077523)'), GeomFromEWKT('SRID=4674;POINT (-39.527508 -3.077511)'))) / (select extract(epoch from '2026-06-09 06:20:04'::timestamp) - extract(epoch from '2026-06-09 06:19: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'), 46774, 'SRID=4674;POINT (-39.527552 -3.077487)', '2026-06-09 06:20:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527508 -3.077511)'), GeomFromEWKT('SRID=4674;POINT (-39.527552 -3.077487)'))) / (select extract(epoch from '2026-06-09 06:20:13'::timestamp) - extract(epoch from '2026-06-09 06:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527508 -3.077511)'), GeomFromEWKT('SRID=4674;POINT (-39.527552 -3.077487)'))) / (select extract(epoch from '2026-06-09 06:20:13'::timestamp) - extract(epoch from '2026-06-09 06:20:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.527589 -3.077489)', '2026-06-09 06:20:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527552 -3.077487)'), GeomFromEWKT('SRID=4674;POINT (-39.527589 -3.077489)'))) / (select extract(epoch from '2026-06-09 06:20:19'::timestamp) - extract(epoch from '2026-06-09 06:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527552 -3.077487)'), GeomFromEWKT('SRID=4674;POINT (-39.527589 -3.077489)'))) / (select extract(epoch from '2026-06-09 06:20:19'::timestamp) - extract(epoch from '2026-06-09 06:20: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'), 46774, 'SRID=4674;POINT (-39.527614 -3.077477)', '2026-06-09 06:20:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527589 -3.077489)'), GeomFromEWKT('SRID=4674;POINT (-39.527614 -3.077477)'))) / (select extract(epoch from '2026-06-09 06:20:25'::timestamp) - extract(epoch from '2026-06-09 06:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527589 -3.077489)'), GeomFromEWKT('SRID=4674;POINT (-39.527614 -3.077477)'))) / (select extract(epoch from '2026-06-09 06:20:25'::timestamp) - extract(epoch from '2026-06-09 06: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'), 46774, 'SRID=4674;POINT (-39.527639 -3.077452)', '2026-06-09 06:20:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527614 -3.077477)'), GeomFromEWKT('SRID=4674;POINT (-39.527639 -3.077452)'))) / (select extract(epoch from '2026-06-09 06:20:32'::timestamp) - extract(epoch from '2026-06-09 06:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527614 -3.077477)'), GeomFromEWKT('SRID=4674;POINT (-39.527639 -3.077452)'))) / (select extract(epoch from '2026-06-09 06:20:32'::timestamp) - extract(epoch from '2026-06-09 06:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.527678 -3.077436)', '2026-06-09 06:20:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527639 -3.077452)'), GeomFromEWKT('SRID=4674;POINT (-39.527678 -3.077436)'))) / (select extract(epoch from '2026-06-09 06:20:39'::timestamp) - extract(epoch from '2026-06-09 06:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527639 -3.077452)'), GeomFromEWKT('SRID=4674;POINT (-39.527678 -3.077436)'))) / (select extract(epoch from '2026-06-09 06:20:39'::timestamp) - extract(epoch from '2026-06-09 06:20:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.527698 -3.077425)', '2026-06-09 06:20:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527678 -3.077436)'), GeomFromEWKT('SRID=4674;POINT (-39.527698 -3.077425)'))) / (select extract(epoch from '2026-06-09 06:20:49'::timestamp) - extract(epoch from '2026-06-09 06:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527678 -3.077436)'), GeomFromEWKT('SRID=4674;POINT (-39.527698 -3.077425)'))) / (select extract(epoch from '2026-06-09 06:20:49'::timestamp) - extract(epoch from '2026-06-09 06:20: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'), 46774, 'SRID=4674;POINT (-39.527716 -3.077403)', '2026-06-09 06:20:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527698 -3.077425)'), GeomFromEWKT('SRID=4674;POINT (-39.527716 -3.077403)'))) / (select extract(epoch from '2026-06-09 06:20:57'::timestamp) - extract(epoch from '2026-06-09 06:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527698 -3.077425)'), GeomFromEWKT('SRID=4674;POINT (-39.527716 -3.077403)'))) / (select extract(epoch from '2026-06-09 06:20:57'::timestamp) - extract(epoch from '2026-06-09 06:20: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'), 46774, 'SRID=4674;POINT (-39.527715 -3.077379)', '2026-06-09 06:21:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527716 -3.077403)'), GeomFromEWKT('SRID=4674;POINT (-39.527715 -3.077379)'))) / (select extract(epoch from '2026-06-09 06:21:06'::timestamp) - extract(epoch from '2026-06-09 06:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527716 -3.077403)'), GeomFromEWKT('SRID=4674;POINT (-39.527715 -3.077379)'))) / (select extract(epoch from '2026-06-09 06:21:06'::timestamp) - extract(epoch from '2026-06-09 06:20: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'), 46774, 'SRID=4674;POINT (-39.527735 -3.077365)', '2026-06-09 06:21:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527715 -3.077379)'), GeomFromEWKT('SRID=4674;POINT (-39.527735 -3.077365)'))) / (select extract(epoch from '2026-06-09 06:21:12'::timestamp) - extract(epoch from '2026-06-09 06:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527715 -3.077379)'), GeomFromEWKT('SRID=4674;POINT (-39.527735 -3.077365)'))) / (select extract(epoch from '2026-06-09 06:21:12'::timestamp) - extract(epoch from '2026-06-09 06:21:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.527744 -3.077342)', '2026-06-09 06:21:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527735 -3.077365)'), GeomFromEWKT('SRID=4674;POINT (-39.527744 -3.077342)'))) / (select extract(epoch from '2026-06-09 06:21:19'::timestamp) - extract(epoch from '2026-06-09 06:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527735 -3.077365)'), GeomFromEWKT('SRID=4674;POINT (-39.527744 -3.077342)'))) / (select extract(epoch from '2026-06-09 06:21:19'::timestamp) - extract(epoch from '2026-06-09 06:21:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.527753 -3.077327)', '2026-06-09 06:21:29', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527744 -3.077342)'), GeomFromEWKT('SRID=4674;POINT (-39.527753 -3.077327)'))) / (select extract(epoch from '2026-06-09 06:21:29'::timestamp) - extract(epoch from '2026-06-09 06:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527744 -3.077342)'), GeomFromEWKT('SRID=4674;POINT (-39.527753 -3.077327)'))) / (select extract(epoch from '2026-06-09 06:21:29'::timestamp) - extract(epoch from '2026-06-09 06:21: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'), 46774, 'SRID=4674;POINT (-39.527761 -3.077307)', '2026-06-09 06:21:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527753 -3.077327)'), GeomFromEWKT('SRID=4674;POINT (-39.527761 -3.077307)'))) / (select extract(epoch from '2026-06-09 06:21:43'::timestamp) - extract(epoch from '2026-06-09 06:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527753 -3.077327)'), GeomFromEWKT('SRID=4674;POINT (-39.527761 -3.077307)'))) / (select extract(epoch from '2026-06-09 06:21:43'::timestamp) - extract(epoch from '2026-06-09 06:21: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'), 46774, 'SRID=4674;POINT (-39.527788 -3.077272)', '2026-06-09 06:21:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527761 -3.077307)'), GeomFromEWKT('SRID=4674;POINT (-39.527788 -3.077272)'))) / (select extract(epoch from '2026-06-09 06:21:57'::timestamp) - extract(epoch from '2026-06-09 06:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527761 -3.077307)'), GeomFromEWKT('SRID=4674;POINT (-39.527788 -3.077272)'))) / (select extract(epoch from '2026-06-09 06:21:57'::timestamp) - extract(epoch from '2026-06-09 06: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'), 46774, 'SRID=4674;POINT (-39.527802 -3.077247)', '2026-06-09 06:22:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527788 -3.077272)'), GeomFromEWKT('SRID=4674;POINT (-39.527802 -3.077247)'))) / (select extract(epoch from '2026-06-09 06:22:07'::timestamp) - extract(epoch from '2026-06-09 06:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527788 -3.077272)'), GeomFromEWKT('SRID=4674;POINT (-39.527802 -3.077247)'))) / (select extract(epoch from '2026-06-09 06:22:07'::timestamp) - extract(epoch from '2026-06-09 06:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.527822 -3.077218)', '2026-06-09 06:22:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527802 -3.077247)'), GeomFromEWKT('SRID=4674;POINT (-39.527822 -3.077218)'))) / (select extract(epoch from '2026-06-09 06:22:15'::timestamp) - extract(epoch from '2026-06-09 06:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527802 -3.077247)'), GeomFromEWKT('SRID=4674;POINT (-39.527822 -3.077218)'))) / (select extract(epoch from '2026-06-09 06:22:15'::timestamp) - extract(epoch from '2026-06-09 06: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'), 46774, 'SRID=4674;POINT (-39.527866 -3.077174)', '2026-06-09 06:22:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527822 -3.077218)'), GeomFromEWKT('SRID=4674;POINT (-39.527866 -3.077174)'))) / (select extract(epoch from '2026-06-09 06:22:28'::timestamp) - extract(epoch from '2026-06-09 06:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527822 -3.077218)'), GeomFromEWKT('SRID=4674;POINT (-39.527866 -3.077174)'))) / (select extract(epoch from '2026-06-09 06:22:28'::timestamp) - extract(epoch from '2026-06-09 06: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'), 46774, 'SRID=4674;POINT (-39.527906 -3.077147)', '2026-06-09 06:22:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527866 -3.077174)'), GeomFromEWKT('SRID=4674;POINT (-39.527906 -3.077147)'))) / (select extract(epoch from '2026-06-09 06:22:37'::timestamp) - extract(epoch from '2026-06-09 06:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527866 -3.077174)'), GeomFromEWKT('SRID=4674;POINT (-39.527906 -3.077147)'))) / (select extract(epoch from '2026-06-09 06:22:37'::timestamp) - extract(epoch from '2026-06-09 06:22: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'), 46774, 'SRID=4674;POINT (-39.527981 -3.07712)', '2026-06-09 06:22:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527906 -3.077147)'), GeomFromEWKT('SRID=4674;POINT (-39.527981 -3.07712)'))) / (select extract(epoch from '2026-06-09 06:22:46'::timestamp) - extract(epoch from '2026-06-09 06:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527906 -3.077147)'), GeomFromEWKT('SRID=4674;POINT (-39.527981 -3.07712)'))) / (select extract(epoch from '2026-06-09 06:22:46'::timestamp) - extract(epoch from '2026-06-09 06:22:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.528068 -3.07715)', '2026-06-09 06:22:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527981 -3.07712)'), GeomFromEWKT('SRID=4674;POINT (-39.528068 -3.07715)'))) / (select extract(epoch from '2026-06-09 06:22:53'::timestamp) - extract(epoch from '2026-06-09 06:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527981 -3.07712)'), GeomFromEWKT('SRID=4674;POINT (-39.528068 -3.07715)'))) / (select extract(epoch from '2026-06-09 06:22:53'::timestamp) - extract(epoch from '2026-06-09 06:22: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'), 46774, 'SRID=4674;POINT (-39.528109 -3.077254)', '2026-06-09 06:23:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528068 -3.07715)'), GeomFromEWKT('SRID=4674;POINT (-39.528109 -3.077254)'))) / (select extract(epoch from '2026-06-09 06:23:00'::timestamp) - extract(epoch from '2026-06-09 06:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528068 -3.07715)'), GeomFromEWKT('SRID=4674;POINT (-39.528109 -3.077254)'))) / (select extract(epoch from '2026-06-09 06:23:00'::timestamp) - extract(epoch from '2026-06-09 06:22: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'), 46774, 'SRID=4674;POINT (-39.528093 -3.077375)', '2026-06-09 06:23:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528109 -3.077254)'), GeomFromEWKT('SRID=4674;POINT (-39.528093 -3.077375)'))) / (select extract(epoch from '2026-06-09 06:23:06'::timestamp) - extract(epoch from '2026-06-09 06:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528109 -3.077254)'), GeomFromEWKT('SRID=4674;POINT (-39.528093 -3.077375)'))) / (select extract(epoch from '2026-06-09 06:23:06'::timestamp) - extract(epoch from '2026-06-09 06:23: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'), 46774, 'SRID=4674;POINT (-39.52807 -3.07743)', '2026-06-09 06:23:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528093 -3.077375)'), GeomFromEWKT('SRID=4674;POINT (-39.52807 -3.07743)'))) / (select extract(epoch from '2026-06-09 06:23:09'::timestamp) - extract(epoch from '2026-06-09 06:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528093 -3.077375)'), GeomFromEWKT('SRID=4674;POINT (-39.52807 -3.07743)'))) / (select extract(epoch from '2026-06-09 06:23:09'::timestamp) - extract(epoch from '2026-06-09 06:23:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.528026 -3.077472)', '2026-06-09 06:23:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52807 -3.07743)'), GeomFromEWKT('SRID=4674;POINT (-39.528026 -3.077472)'))) / (select extract(epoch from '2026-06-09 06:23:12'::timestamp) - extract(epoch from '2026-06-09 06:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52807 -3.07743)'), GeomFromEWKT('SRID=4674;POINT (-39.528026 -3.077472)'))) / (select extract(epoch from '2026-06-09 06:23:12'::timestamp) - extract(epoch from '2026-06-09 06:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.52789 -3.077568)', '2026-06-09 06:23:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528026 -3.077472)'), GeomFromEWKT('SRID=4674;POINT (-39.52789 -3.077568)'))) / (select extract(epoch from '2026-06-09 06:23:20'::timestamp) - extract(epoch from '2026-06-09 06:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.528026 -3.077472)'), GeomFromEWKT('SRID=4674;POINT (-39.52789 -3.077568)'))) / (select extract(epoch from '2026-06-09 06:23:20'::timestamp) - extract(epoch from '2026-06-09 06:23:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.527777 -3.077733)', '2026-06-09 06:23:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52789 -3.077568)'), GeomFromEWKT('SRID=4674;POINT (-39.527777 -3.077733)'))) / (select extract(epoch from '2026-06-09 06:23:29'::timestamp) - extract(epoch from '2026-06-09 06:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52789 -3.077568)'), GeomFromEWKT('SRID=4674;POINT (-39.527777 -3.077733)'))) / (select extract(epoch from '2026-06-09 06:23:29'::timestamp) - extract(epoch from '2026-06-09 06:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.527716 -3.077834)', '2026-06-09 06:23:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527777 -3.077733)'), GeomFromEWKT('SRID=4674;POINT (-39.527716 -3.077834)'))) / (select extract(epoch from '2026-06-09 06:23:35'::timestamp) - extract(epoch from '2026-06-09 06:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527777 -3.077733)'), GeomFromEWKT('SRID=4674;POINT (-39.527716 -3.077834)'))) / (select extract(epoch from '2026-06-09 06:23:35'::timestamp) - extract(epoch from '2026-06-09 06:23: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'), 46774, 'SRID=4674;POINT (-39.52764 -3.077929)', '2026-06-09 06:23:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527716 -3.077834)'), GeomFromEWKT('SRID=4674;POINT (-39.52764 -3.077929)'))) / (select extract(epoch from '2026-06-09 06:23:41'::timestamp) - extract(epoch from '2026-06-09 06:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527716 -3.077834)'), GeomFromEWKT('SRID=4674;POINT (-39.52764 -3.077929)'))) / (select extract(epoch from '2026-06-09 06:23:41'::timestamp) - extract(epoch from '2026-06-09 06:23:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.527579 -3.078032)', '2026-06-09 06:23:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52764 -3.077929)'), GeomFromEWKT('SRID=4674;POINT (-39.527579 -3.078032)'))) / (select extract(epoch from '2026-06-09 06:23:47'::timestamp) - extract(epoch from '2026-06-09 06:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52764 -3.077929)'), GeomFromEWKT('SRID=4674;POINT (-39.527579 -3.078032)'))) / (select extract(epoch from '2026-06-09 06:23:47'::timestamp) - extract(epoch from '2026-06-09 06:23:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.527538 -3.078163)', '2026-06-09 06:23:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527579 -3.078032)'), GeomFromEWKT('SRID=4674;POINT (-39.527538 -3.078163)'))) / (select extract(epoch from '2026-06-09 06:23:54'::timestamp) - extract(epoch from '2026-06-09 06:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527579 -3.078032)'), GeomFromEWKT('SRID=4674;POINT (-39.527538 -3.078163)'))) / (select extract(epoch from '2026-06-09 06:23:54'::timestamp) - extract(epoch from '2026-06-09 06:23: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'), 46774, 'SRID=4674;POINT (-39.52749 -3.078342)', '2026-06-09 06:24:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527538 -3.078163)'), GeomFromEWKT('SRID=4674;POINT (-39.52749 -3.078342)'))) / (select extract(epoch from '2026-06-09 06:24:03'::timestamp) - extract(epoch from '2026-06-09 06:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527538 -3.078163)'), GeomFromEWKT('SRID=4674;POINT (-39.52749 -3.078342)'))) / (select extract(epoch from '2026-06-09 06:24:03'::timestamp) - extract(epoch from '2026-06-09 06:23: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'), 46774, 'SRID=4674;POINT (-39.527428 -3.078502)', '2026-06-09 06:24:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52749 -3.078342)'), GeomFromEWKT('SRID=4674;POINT (-39.527428 -3.078502)'))) / (select extract(epoch from '2026-06-09 06:24:11'::timestamp) - extract(epoch from '2026-06-09 06:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52749 -3.078342)'), GeomFromEWKT('SRID=4674;POINT (-39.527428 -3.078502)'))) / (select extract(epoch from '2026-06-09 06:24:11'::timestamp) - extract(epoch from '2026-06-09 06:24:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.527375 -3.078611)', '2026-06-09 06:24:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527428 -3.078502)'), GeomFromEWKT('SRID=4674;POINT (-39.527375 -3.078611)'))) / (select extract(epoch from '2026-06-09 06:24:17'::timestamp) - extract(epoch from '2026-06-09 06:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527428 -3.078502)'), GeomFromEWKT('SRID=4674;POINT (-39.527375 -3.078611)'))) / (select extract(epoch from '2026-06-09 06:24:17'::timestamp) - extract(epoch from '2026-06-09 06:24:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.527316 -3.07874)', '2026-06-09 06:24:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527375 -3.078611)'), GeomFromEWKT('SRID=4674;POINT (-39.527316 -3.07874)'))) / (select extract(epoch from '2026-06-09 06:24:24'::timestamp) - extract(epoch from '2026-06-09 06:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527375 -3.078611)'), GeomFromEWKT('SRID=4674;POINT (-39.527316 -3.07874)'))) / (select extract(epoch from '2026-06-09 06:24:24'::timestamp) - extract(epoch from '2026-06-09 06:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.52729 -3.078835)', '2026-06-09 06:24:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527316 -3.07874)'), GeomFromEWKT('SRID=4674;POINT (-39.52729 -3.078835)'))) / (select extract(epoch from '2026-06-09 06:24:29'::timestamp) - extract(epoch from '2026-06-09 06:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527316 -3.07874)'), GeomFromEWKT('SRID=4674;POINT (-39.52729 -3.078835)'))) / (select extract(epoch from '2026-06-09 06:24:29'::timestamp) - extract(epoch from '2026-06-09 06: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'), 46774, 'SRID=4674;POINT (-39.52725 -3.078945)', '2026-06-09 06:24:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52729 -3.078835)'), GeomFromEWKT('SRID=4674;POINT (-39.52725 -3.078945)'))) / (select extract(epoch from '2026-06-09 06:24:35'::timestamp) - extract(epoch from '2026-06-09 06:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52729 -3.078835)'), GeomFromEWKT('SRID=4674;POINT (-39.52725 -3.078945)'))) / (select extract(epoch from '2026-06-09 06:24:35'::timestamp) - extract(epoch from '2026-06-09 06:24: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'), 46774, 'SRID=4674;POINT (-39.527217 -3.079083)', '2026-06-09 06:24:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52725 -3.078945)'), GeomFromEWKT('SRID=4674;POINT (-39.527217 -3.079083)'))) / (select extract(epoch from '2026-06-09 06:24:42'::timestamp) - extract(epoch from '2026-06-09 06:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52725 -3.078945)'), GeomFromEWKT('SRID=4674;POINT (-39.527217 -3.079083)'))) / (select extract(epoch from '2026-06-09 06:24:42'::timestamp) - extract(epoch from '2026-06-09 06:24: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'), 46774, 'SRID=4674;POINT (-39.527189 -3.079194)', '2026-06-09 06:24:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527217 -3.079083)'), GeomFromEWKT('SRID=4674;POINT (-39.527189 -3.079194)'))) / (select extract(epoch from '2026-06-09 06:24:48'::timestamp) - extract(epoch from '2026-06-09 06:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527217 -3.079083)'), GeomFromEWKT('SRID=4674;POINT (-39.527189 -3.079194)'))) / (select extract(epoch from '2026-06-09 06:24:48'::timestamp) - extract(epoch from '2026-06-09 06:24: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'), 46774, 'SRID=4674;POINT (-39.527152 -3.079313)', '2026-06-09 06:24:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527189 -3.079194)'), GeomFromEWKT('SRID=4674;POINT (-39.527152 -3.079313)'))) / (select extract(epoch from '2026-06-09 06:24:54'::timestamp) - extract(epoch from '2026-06-09 06:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527189 -3.079194)'), GeomFromEWKT('SRID=4674;POINT (-39.527152 -3.079313)'))) / (select extract(epoch from '2026-06-09 06:24:54'::timestamp) - extract(epoch from '2026-06-09 06: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'), 46774, 'SRID=4674;POINT (-39.527111 -3.079456)', '2026-06-09 06:25:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527152 -3.079313)'), GeomFromEWKT('SRID=4674;POINT (-39.527111 -3.079456)'))) / (select extract(epoch from '2026-06-09 06:25:01'::timestamp) - extract(epoch from '2026-06-09 06:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527152 -3.079313)'), GeomFromEWKT('SRID=4674;POINT (-39.527111 -3.079456)'))) / (select extract(epoch from '2026-06-09 06:25:01'::timestamp) - extract(epoch from '2026-06-09 06:24:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.527064 -3.079593)', '2026-06-09 06:25:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527111 -3.079456)'), GeomFromEWKT('SRID=4674;POINT (-39.527064 -3.079593)'))) / (select extract(epoch from '2026-06-09 06:25:08'::timestamp) - extract(epoch from '2026-06-09 06:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527111 -3.079456)'), GeomFromEWKT('SRID=4674;POINT (-39.527064 -3.079593)'))) / (select extract(epoch from '2026-06-09 06:25:08'::timestamp) - extract(epoch from '2026-06-09 06:25:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.52701 -3.079727)', '2026-06-09 06:25:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527064 -3.079593)'), GeomFromEWKT('SRID=4674;POINT (-39.52701 -3.079727)'))) / (select extract(epoch from '2026-06-09 06:25:15'::timestamp) - extract(epoch from '2026-06-09 06:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.527064 -3.079593)'), GeomFromEWKT('SRID=4674;POINT (-39.52701 -3.079727)'))) / (select extract(epoch from '2026-06-09 06:25:15'::timestamp) - extract(epoch from '2026-06-09 06:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.526945 -3.079846)', '2026-06-09 06:25:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52701 -3.079727)'), GeomFromEWKT('SRID=4674;POINT (-39.526945 -3.079846)'))) / (select extract(epoch from '2026-06-09 06:25:22'::timestamp) - extract(epoch from '2026-06-09 06:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52701 -3.079727)'), GeomFromEWKT('SRID=4674;POINT (-39.526945 -3.079846)'))) / (select extract(epoch from '2026-06-09 06:25:22'::timestamp) - extract(epoch from '2026-06-09 06:25: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'), 46774, 'SRID=4674;POINT (-39.52687 -3.079991)', '2026-06-09 06:25:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526945 -3.079846)'), GeomFromEWKT('SRID=4674;POINT (-39.52687 -3.079991)'))) / (select extract(epoch from '2026-06-09 06:25:30'::timestamp) - extract(epoch from '2026-06-09 06:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526945 -3.079846)'), GeomFromEWKT('SRID=4674;POINT (-39.52687 -3.079991)'))) / (select extract(epoch from '2026-06-09 06:25:30'::timestamp) - extract(epoch from '2026-06-09 06:25: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'), 46774, 'SRID=4674;POINT (-39.526811 -3.08012)', '2026-06-09 06:25:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52687 -3.079991)'), GeomFromEWKT('SRID=4674;POINT (-39.526811 -3.08012)'))) / (select extract(epoch from '2026-06-09 06:25:37'::timestamp) - extract(epoch from '2026-06-09 06:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52687 -3.079991)'), GeomFromEWKT('SRID=4674;POINT (-39.526811 -3.08012)'))) / (select extract(epoch from '2026-06-09 06:25:37'::timestamp) - extract(epoch from '2026-06-09 06:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.526732 -3.080296)', '2026-06-09 06:25:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526811 -3.08012)'), GeomFromEWKT('SRID=4674;POINT (-39.526732 -3.080296)'))) / (select extract(epoch from '2026-06-09 06:25:46'::timestamp) - extract(epoch from '2026-06-09 06:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526811 -3.08012)'), GeomFromEWKT('SRID=4674;POINT (-39.526732 -3.080296)'))) / (select extract(epoch from '2026-06-09 06:25:46'::timestamp) - extract(epoch from '2026-06-09 06:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.526696 -3.080394)', '2026-06-09 06:25:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526732 -3.080296)'), GeomFromEWKT('SRID=4674;POINT (-39.526696 -3.080394)'))) / (select extract(epoch from '2026-06-09 06:25:51'::timestamp) - extract(epoch from '2026-06-09 06:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526732 -3.080296)'), GeomFromEWKT('SRID=4674;POINT (-39.526696 -3.080394)'))) / (select extract(epoch from '2026-06-09 06:25:51'::timestamp) - extract(epoch from '2026-06-09 06:25: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'), 46774, 'SRID=4674;POINT (-39.526667 -3.08049)', '2026-06-09 06:25:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526696 -3.080394)'), GeomFromEWKT('SRID=4674;POINT (-39.526667 -3.08049)'))) / (select extract(epoch from '2026-06-09 06:25:56'::timestamp) - extract(epoch from '2026-06-09 06:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526696 -3.080394)'), GeomFromEWKT('SRID=4674;POINT (-39.526667 -3.08049)'))) / (select extract(epoch from '2026-06-09 06:25:56'::timestamp) - extract(epoch from '2026-06-09 06:25:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.526645 -3.080593)', '2026-06-09 06:26:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526667 -3.08049)'), GeomFromEWKT('SRID=4674;POINT (-39.526645 -3.080593)'))) / (select extract(epoch from '2026-06-09 06:26:01'::timestamp) - extract(epoch from '2026-06-09 06:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526667 -3.08049)'), GeomFromEWKT('SRID=4674;POINT (-39.526645 -3.080593)'))) / (select extract(epoch from '2026-06-09 06:26:01'::timestamp) - extract(epoch from '2026-06-09 06:25:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.526617 -3.080715)', '2026-06-09 06:26:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526645 -3.080593)'), GeomFromEWKT('SRID=4674;POINT (-39.526617 -3.080715)'))) / (select extract(epoch from '2026-06-09 06:26:07'::timestamp) - extract(epoch from '2026-06-09 06:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526645 -3.080593)'), GeomFromEWKT('SRID=4674;POINT (-39.526617 -3.080715)'))) / (select extract(epoch from '2026-06-09 06:26:07'::timestamp) - extract(epoch from '2026-06-09 06: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'), 46774, 'SRID=4674;POINT (-39.526587 -3.080848)', '2026-06-09 06:26:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526617 -3.080715)'), GeomFromEWKT('SRID=4674;POINT (-39.526587 -3.080848)'))) / (select extract(epoch from '2026-06-09 06:26:14'::timestamp) - extract(epoch from '2026-06-09 06:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526617 -3.080715)'), GeomFromEWKT('SRID=4674;POINT (-39.526587 -3.080848)'))) / (select extract(epoch from '2026-06-09 06:26:14'::timestamp) - extract(epoch from '2026-06-09 06:26: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'), 46774, 'SRID=4674;POINT (-39.526554 -3.080995)', '2026-06-09 06:26:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526587 -3.080848)'), GeomFromEWKT('SRID=4674;POINT (-39.526554 -3.080995)'))) / (select extract(epoch from '2026-06-09 06:26:21'::timestamp) - extract(epoch from '2026-06-09 06:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526587 -3.080848)'), GeomFromEWKT('SRID=4674;POINT (-39.526554 -3.080995)'))) / (select extract(epoch from '2026-06-09 06:26:21'::timestamp) - extract(epoch from '2026-06-09 06:26: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'), 46774, 'SRID=4674;POINT (-39.526509 -3.081142)', '2026-06-09 06:26:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526554 -3.080995)'), GeomFromEWKT('SRID=4674;POINT (-39.526509 -3.081142)'))) / (select extract(epoch from '2026-06-09 06:26:28'::timestamp) - extract(epoch from '2026-06-09 06:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526554 -3.080995)'), GeomFromEWKT('SRID=4674;POINT (-39.526509 -3.081142)'))) / (select extract(epoch from '2026-06-09 06:26:28'::timestamp) - extract(epoch from '2026-06-09 06:26: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'), 46774, 'SRID=4674;POINT (-39.526451 -3.081275)', '2026-06-09 06:26:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526509 -3.081142)'), GeomFromEWKT('SRID=4674;POINT (-39.526451 -3.081275)'))) / (select extract(epoch from '2026-06-09 06:26:35'::timestamp) - extract(epoch from '2026-06-09 06:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526509 -3.081142)'), GeomFromEWKT('SRID=4674;POINT (-39.526451 -3.081275)'))) / (select extract(epoch from '2026-06-09 06:26:35'::timestamp) - extract(epoch from '2026-06-09 06:26:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.526411 -3.081436)', '2026-06-09 06:26:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526451 -3.081275)'), GeomFromEWKT('SRID=4674;POINT (-39.526411 -3.081436)'))) / (select extract(epoch from '2026-06-09 06:26:43'::timestamp) - extract(epoch from '2026-06-09 06:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526451 -3.081275)'), GeomFromEWKT('SRID=4674;POINT (-39.526411 -3.081436)'))) / (select extract(epoch from '2026-06-09 06:26:43'::timestamp) - extract(epoch from '2026-06-09 06:26:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.526382 -3.081528)', '2026-06-09 06:26:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526411 -3.081436)'), GeomFromEWKT('SRID=4674;POINT (-39.526382 -3.081528)'))) / (select extract(epoch from '2026-06-09 06:26:49'::timestamp) - extract(epoch from '2026-06-09 06:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526411 -3.081436)'), GeomFromEWKT('SRID=4674;POINT (-39.526382 -3.081528)'))) / (select extract(epoch from '2026-06-09 06:26:49'::timestamp) - extract(epoch from '2026-06-09 06:26: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'), 46774, 'SRID=4674;POINT (-39.526344 -3.081616)', '2026-06-09 06:26:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526382 -3.081528)'), GeomFromEWKT('SRID=4674;POINT (-39.526344 -3.081616)'))) / (select extract(epoch from '2026-06-09 06:26:54'::timestamp) - extract(epoch from '2026-06-09 06:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526382 -3.081528)'), GeomFromEWKT('SRID=4674;POINT (-39.526344 -3.081616)'))) / (select extract(epoch from '2026-06-09 06:26:54'::timestamp) - extract(epoch from '2026-06-09 06:26:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.52632 -3.081731)', '2026-06-09 06:27:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526344 -3.081616)'), GeomFromEWKT('SRID=4674;POINT (-39.52632 -3.081731)'))) / (select extract(epoch from '2026-06-09 06:27:00'::timestamp) - extract(epoch from '2026-06-09 06:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526344 -3.081616)'), GeomFromEWKT('SRID=4674;POINT (-39.52632 -3.081731)'))) / (select extract(epoch from '2026-06-09 06:27:00'::timestamp) - extract(epoch from '2026-06-09 06:26: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'), 46774, 'SRID=4674;POINT (-39.526287 -3.081869)', '2026-06-09 06:27:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52632 -3.081731)'), GeomFromEWKT('SRID=4674;POINT (-39.526287 -3.081869)'))) / (select extract(epoch from '2026-06-09 06:27:07'::timestamp) - extract(epoch from '2026-06-09 06:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.52632 -3.081731)'), GeomFromEWKT('SRID=4674;POINT (-39.526287 -3.081869)'))) / (select extract(epoch from '2026-06-09 06:27:07'::timestamp) - extract(epoch from '2026-06-09 06:27: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'), 46774, 'SRID=4674;POINT (-39.526241 -3.08201)', '2026-06-09 06:27:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526287 -3.081869)'), GeomFromEWKT('SRID=4674;POINT (-39.526241 -3.08201)'))) / (select extract(epoch from '2026-06-09 06:27:14'::timestamp) - extract(epoch from '2026-06-09 06:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526287 -3.081869)'), GeomFromEWKT('SRID=4674;POINT (-39.526241 -3.08201)'))) / (select extract(epoch from '2026-06-09 06:27:14'::timestamp) - extract(epoch from '2026-06-09 06:27:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46774, 'SRID=4674;POINT (-39.526206 -3.082131)', '2026-06-09 06:27:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526241 -3.08201)'), GeomFromEWKT('SRID=4674;POINT (-39.526206 -3.082131)'))) / (select extract(epoch from '2026-06-09 06:27:20'::timestamp) - extract(epoch from '2026-06-09 06:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526241 -3.08201)'), GeomFromEWKT('SRID=4674;POINT (-39.526206 -3.082131)'))) / (select extract(epoch from '2026-06-09 06:27:20'::timestamp) - extract(epoch from '2026-06-09 06:27: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'), 46774, 'SRID=4674;POINT (-39.526194 -3.082214)', '2026-06-09 06:27:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526206 -3.082131)'), GeomFromEWKT('SRID=4674;POINT (-39.526194 -3.082214)'))) / (select extract(epoch from '2026-06-09 06:27:25'::timestamp) - extract(epoch from '2026-06-09 06:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.526206 -3.082131)'), GeomFromEWKT('SRID=4674;POINT (-39.526194 -3.082214)'))) / (select extract(epoch from '2026-06-09 06:27:25'::timestamp) - extract(epoch from '2026-06-09 06:27:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
