 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077767 -3.236436)', '2026-07-31 13:40:57', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236431)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:40:57'::timestamp) - extract(epoch from '2026-07-31 13:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236431)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236436)'))) / (select extract(epoch from '2026-07-31 13:40:57'::timestamp) - extract(epoch from '2026-07-31 13:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077773 -3.236434)', '2026-07-31 13:40:59', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236434)'))) / (select extract(epoch from '2026-07-31 13:40:59'::timestamp) - extract(epoch from '2026-07-31 13:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236434)'))) / (select extract(epoch from '2026-07-31 13:40:59'::timestamp) - extract(epoch from '2026-07-31 13:40:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077775 -3.236431)', '2026-07-31 13:41:02', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236431)'))) / (select extract(epoch from '2026-07-31 13:41:02'::timestamp) - extract(epoch from '2026-07-31 13:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236431)'))) / (select extract(epoch from '2026-07-31 13:41:02'::timestamp) - extract(epoch from '2026-07-31 13:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077776 -3.236435)', '2026-07-31 13:41:11', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236431)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236435)'))) / (select extract(epoch from '2026-07-31 13:41:11'::timestamp) - extract(epoch from '2026-07-31 13:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236431)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236435)'))) / (select extract(epoch from '2026-07-31 13:41:11'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077783 -3.236435)', '2026-07-31 13:41:19', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236435)'))) / (select extract(epoch from '2026-07-31 13:41:19'::timestamp) - extract(epoch from '2026-07-31 13:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236435)'))) / (select extract(epoch from '2026-07-31 13:41:19'::timestamp) - extract(epoch from '2026-07-31 13:41:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077774 -3.236441)', '2026-07-31 13:41:30', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236441)'))) / (select extract(epoch from '2026-07-31 13:41:30'::timestamp) - extract(epoch from '2026-07-31 13:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236441)'))) / (select extract(epoch from '2026-07-31 13:41:30'::timestamp) - extract(epoch from '2026-07-31 13:41: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236448)', '2026-07-31 13:41:39', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236448)'))) / (select extract(epoch from '2026-07-31 13:41:39'::timestamp) - extract(epoch from '2026-07-31 13:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236448)'))) / (select extract(epoch from '2026-07-31 13:41:39'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077757 -3.236443)', '2026-07-31 13:41:48', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236448)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236443)'))) / (select extract(epoch from '2026-07-31 13:41:48'::timestamp) - extract(epoch from '2026-07-31 13:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236448)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236443)'))) / (select extract(epoch from '2026-07-31 13:41:48'::timestamp) - extract(epoch from '2026-07-31 13:41:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077761 -3.23644)', '2026-07-31 13:41:55', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236443)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.23644)'))) / (select extract(epoch from '2026-07-31 13:41:55'::timestamp) - extract(epoch from '2026-07-31 13:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236443)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.23644)'))) / (select extract(epoch from '2026-07-31 13:41:55'::timestamp) - extract(epoch from '2026-07-31 13:41: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'), 47459, 'SRID=4674;POINT (-39.077757 -3.236446)', '2026-07-31 13:42:01', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.23644)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236446)'))) / (select extract(epoch from '2026-07-31 13:42:01'::timestamp) - extract(epoch from '2026-07-31 13:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.23644)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236446)'))) / (select extract(epoch from '2026-07-31 13:42:01'::timestamp) - extract(epoch from '2026-07-31 13:41:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077763 -3.236454)', '2026-07-31 13:42:09', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236454)'))) / (select extract(epoch from '2026-07-31 13:42:09'::timestamp) - extract(epoch from '2026-07-31 13:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236454)'))) / (select extract(epoch from '2026-07-31 13:42:09'::timestamp) - extract(epoch from '2026-07-31 13:42:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07778 -3.236461)', '2026-07-31 13:42:15', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236454)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236461)'))) / (select extract(epoch from '2026-07-31 13:42:15'::timestamp) - extract(epoch from '2026-07-31 13:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236454)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236461)'))) / (select extract(epoch from '2026-07-31 13:42:15'::timestamp) - extract(epoch from '2026-07-31 13:42:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077779 -3.236462)', '2026-07-31 13:42:16', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236461)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236462)'))) / (select extract(epoch from '2026-07-31 13:42:16'::timestamp) - extract(epoch from '2026-07-31 13:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236461)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236462)'))) / (select extract(epoch from '2026-07-31 13:42:16'::timestamp) - extract(epoch from '2026-07-31 13:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077778 -3.236468)', '2026-07-31 13:42:19', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236468)'))) / (select extract(epoch from '2026-07-31 13:42:19'::timestamp) - extract(epoch from '2026-07-31 13:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236468)'))) / (select extract(epoch from '2026-07-31 13:42:19'::timestamp) - extract(epoch from '2026-07-31 13:42:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077797 -3.236471)', '2026-07-31 13:42:26', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236468)'), GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236471)'))) / (select extract(epoch from '2026-07-31 13:42:26'::timestamp) - extract(epoch from '2026-07-31 13:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236468)'), GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236471)'))) / (select extract(epoch from '2026-07-31 13:42:26'::timestamp) - extract(epoch from '2026-07-31 13:42: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'), 47459, 'SRID=4674;POINT (-39.077777 -3.236488)', '2026-07-31 13:42:30', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236471)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236488)'))) / (select extract(epoch from '2026-07-31 13:42:30'::timestamp) - extract(epoch from '2026-07-31 13:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236471)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236488)'))) / (select extract(epoch from '2026-07-31 13:42:30'::timestamp) - extract(epoch from '2026-07-31 13:42:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077779 -3.236491)', '2026-07-31 13:42:38', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236488)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236491)'))) / (select extract(epoch from '2026-07-31 13:42:38'::timestamp) - extract(epoch from '2026-07-31 13:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236488)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236491)'))) / (select extract(epoch from '2026-07-31 13:42:38'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077804 -3.236496)', '2026-07-31 13:42:42', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236491)'), GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236496)'))) / (select extract(epoch from '2026-07-31 13:42:42'::timestamp) - extract(epoch from '2026-07-31 13:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236491)'), GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236496)'))) / (select extract(epoch from '2026-07-31 13:42:42'::timestamp) - extract(epoch from '2026-07-31 13:42: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'), 47459, 'SRID=4674;POINT (-39.077798 -3.236499)', '2026-07-31 13:42:46', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236496)'), GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236499)'))) / (select extract(epoch from '2026-07-31 13:42:46'::timestamp) - extract(epoch from '2026-07-31 13:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236496)'), GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236499)'))) / (select extract(epoch from '2026-07-31 13:42:46'::timestamp) - extract(epoch from '2026-07-31 13:42: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'), 47459, 'SRID=4674;POINT (-39.077805 -3.2365)', '2026-07-31 13:42:54', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236499)'), GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.2365)'))) / (select extract(epoch from '2026-07-31 13:42:54'::timestamp) - extract(epoch from '2026-07-31 13:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236499)'), GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.2365)'))) / (select extract(epoch from '2026-07-31 13:42:54'::timestamp) - extract(epoch from '2026-07-31 13:42: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'), 47459, 'SRID=4674;POINT (-39.077802 -3.23651)', '2026-07-31 13:43:02', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.2365)'), GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.23651)'))) / (select extract(epoch from '2026-07-31 13:43:02'::timestamp) - extract(epoch from '2026-07-31 13:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.2365)'), GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.23651)'))) / (select extract(epoch from '2026-07-31 13:43:02'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077807 -3.236495)', '2026-07-31 13:43:11', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.23651)'), GeomFromEWKT('SRID=4674;POINT (-39.077807 -3.236495)'))) / (select extract(epoch from '2026-07-31 13:43:11'::timestamp) - extract(epoch from '2026-07-31 13:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.23651)'), GeomFromEWKT('SRID=4674;POINT (-39.077807 -3.236495)'))) / (select extract(epoch from '2026-07-31 13:43:11'::timestamp) - extract(epoch from '2026-07-31 13:43: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'), 47459, 'SRID=4674;POINT (-39.077809 -3.236487)', '2026-07-31 13:43:20', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077807 -3.236495)'), GeomFromEWKT('SRID=4674;POINT (-39.077809 -3.236487)'))) / (select extract(epoch from '2026-07-31 13:43:20'::timestamp) - extract(epoch from '2026-07-31 13:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077807 -3.236495)'), GeomFromEWKT('SRID=4674;POINT (-39.077809 -3.236487)'))) / (select extract(epoch from '2026-07-31 13:43:20'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.07781 -3.236491)', '2026-07-31 13:43:28', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077809 -3.236487)'), GeomFromEWKT('SRID=4674;POINT (-39.07781 -3.236491)'))) / (select extract(epoch from '2026-07-31 13:43:28'::timestamp) - extract(epoch from '2026-07-31 13:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077809 -3.236487)'), GeomFromEWKT('SRID=4674;POINT (-39.07781 -3.236491)'))) / (select extract(epoch from '2026-07-31 13:43:28'::timestamp) - extract(epoch from '2026-07-31 13:43: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'), 47459, 'SRID=4674;POINT (-39.077815 -3.236494)', '2026-07-31 13:43:34', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07781 -3.236491)'), GeomFromEWKT('SRID=4674;POINT (-39.077815 -3.236494)'))) / (select extract(epoch from '2026-07-31 13:43:34'::timestamp) - extract(epoch from '2026-07-31 13:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07781 -3.236491)'), GeomFromEWKT('SRID=4674;POINT (-39.077815 -3.236494)'))) / (select extract(epoch from '2026-07-31 13:43:34'::timestamp) - extract(epoch from '2026-07-31 13:43: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'), 47459, 'SRID=4674;POINT (-39.077794 -3.2365)', '2026-07-31 13:43:44', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077815 -3.236494)'), GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.2365)'))) / (select extract(epoch from '2026-07-31 13:43:44'::timestamp) - extract(epoch from '2026-07-31 13:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077815 -3.236494)'), GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.2365)'))) / (select extract(epoch from '2026-07-31 13:43:44'::timestamp) - extract(epoch from '2026-07-31 13:43:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077794 -3.236493)', '2026-07-31 13:43:56', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.2365)'), GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236493)'))) / (select extract(epoch from '2026-07-31 13:43:56'::timestamp) - extract(epoch from '2026-07-31 13:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.2365)'), GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236493)'))) / (select extract(epoch from '2026-07-31 13:43:56'::timestamp) - extract(epoch from '2026-07-31 13:43: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'), 47459, 'SRID=4674;POINT (-39.077788 -3.236498)', '2026-07-31 13:44:02', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236493)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236498)'))) / (select extract(epoch from '2026-07-31 13:44:02'::timestamp) - extract(epoch from '2026-07-31 13:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236493)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236498)'))) / (select extract(epoch from '2026-07-31 13:44:02'::timestamp) - extract(epoch from '2026-07-31 13:43:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077799 -3.236505)', '2026-07-31 13:44:09', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236498)'), GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236505)'))) / (select extract(epoch from '2026-07-31 13:44:09'::timestamp) - extract(epoch from '2026-07-31 13:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236498)'), GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236505)'))) / (select extract(epoch from '2026-07-31 13:44:09'::timestamp) - extract(epoch from '2026-07-31 13:44:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077809 -3.236511)', '2026-07-31 13:44:19', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236505)'), GeomFromEWKT('SRID=4674;POINT (-39.077809 -3.236511)'))) / (select extract(epoch from '2026-07-31 13:44:19'::timestamp) - extract(epoch from '2026-07-31 13:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236505)'), GeomFromEWKT('SRID=4674;POINT (-39.077809 -3.236511)'))) / (select extract(epoch from '2026-07-31 13:44:19'::timestamp) - extract(epoch from '2026-07-31 13:44:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077814 -3.236511)', '2026-07-31 13:44:28', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077809 -3.236511)'), GeomFromEWKT('SRID=4674;POINT (-39.077814 -3.236511)'))) / (select extract(epoch from '2026-07-31 13:44:28'::timestamp) - extract(epoch from '2026-07-31 13:44:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077809 -3.236511)'), GeomFromEWKT('SRID=4674;POINT (-39.077814 -3.236511)'))) / (select extract(epoch from '2026-07-31 13:44:28'::timestamp) - extract(epoch from '2026-07-31 13:44:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077803 -3.236498)', '2026-07-31 13:44:33', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077814 -3.236511)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236498)'))) / (select extract(epoch from '2026-07-31 13:44:33'::timestamp) - extract(epoch from '2026-07-31 13:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077814 -3.236511)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236498)'))) / (select extract(epoch from '2026-07-31 13:44:33'::timestamp) - extract(epoch from '2026-07-31 13: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'), 47459, 'SRID=4674;POINT (-39.077808 -3.236499)', '2026-07-31 13:44:42', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236498)'), GeomFromEWKT('SRID=4674;POINT (-39.077808 -3.236499)'))) / (select extract(epoch from '2026-07-31 13:44:42'::timestamp) - extract(epoch from '2026-07-31 13:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236498)'), GeomFromEWKT('SRID=4674;POINT (-39.077808 -3.236499)'))) / (select extract(epoch from '2026-07-31 13:44:42'::timestamp) - extract(epoch from '2026-07-31 13:44:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077804 -3.236496)', '2026-07-31 13:44:53', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077808 -3.236499)'), GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236496)'))) / (select extract(epoch from '2026-07-31 13:44:53'::timestamp) - extract(epoch from '2026-07-31 13:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077808 -3.236499)'), GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236496)'))) / (select extract(epoch from '2026-07-31 13:44:53'::timestamp) - extract(epoch from '2026-07-31 13:44: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'), 47459, 'SRID=4674;POINT (-39.077813 -3.236513)', '2026-07-31 13:45:05', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236496)'), GeomFromEWKT('SRID=4674;POINT (-39.077813 -3.236513)'))) / (select extract(epoch from '2026-07-31 13:45:05'::timestamp) - extract(epoch from '2026-07-31 13:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236496)'), GeomFromEWKT('SRID=4674;POINT (-39.077813 -3.236513)'))) / (select extract(epoch from '2026-07-31 13:45:05'::timestamp) - extract(epoch from '2026-07-31 13:44: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'), 47459, 'SRID=4674;POINT (-39.077809 -3.236519)', '2026-07-31 13:45:17', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077813 -3.236513)'), GeomFromEWKT('SRID=4674;POINT (-39.077809 -3.236519)'))) / (select extract(epoch from '2026-07-31 13:45:17'::timestamp) - extract(epoch from '2026-07-31 13:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077813 -3.236513)'), GeomFromEWKT('SRID=4674;POINT (-39.077809 -3.236519)'))) / (select extract(epoch from '2026-07-31 13:45:17'::timestamp) - extract(epoch from '2026-07-31 13:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077803 -3.236525)', '2026-07-31 13:45:26', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077809 -3.236519)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236525)'))) / (select extract(epoch from '2026-07-31 13:45:26'::timestamp) - extract(epoch from '2026-07-31 13:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077809 -3.236519)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236525)'))) / (select extract(epoch from '2026-07-31 13:45:26'::timestamp) - extract(epoch from '2026-07-31 13:45:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077796 -3.236506)', '2026-07-31 13:45:34', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236525)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236506)'))) / (select extract(epoch from '2026-07-31 13:45:34'::timestamp) - extract(epoch from '2026-07-31 13:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236525)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236506)'))) / (select extract(epoch from '2026-07-31 13:45:34'::timestamp) - extract(epoch from '2026-07-31 13:45:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077804 -3.236502)', '2026-07-31 13:45:41', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236506)'), GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236502)'))) / (select extract(epoch from '2026-07-31 13:45:41'::timestamp) - extract(epoch from '2026-07-31 13:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236506)'), GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236502)'))) / (select extract(epoch from '2026-07-31 13:45:41'::timestamp) - extract(epoch from '2026-07-31 13:45:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077792 -3.236504)', '2026-07-31 13:45:46', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236502)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236504)'))) / (select extract(epoch from '2026-07-31 13:45:46'::timestamp) - extract(epoch from '2026-07-31 13:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236502)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236504)'))) / (select extract(epoch from '2026-07-31 13:45:46'::timestamp) - extract(epoch from '2026-07-31 13:45: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'), 47459, 'SRID=4674;POINT (-39.077801 -3.236501)', '2026-07-31 13:45:51', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236504)'), GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236501)'))) / (select extract(epoch from '2026-07-31 13:45:51'::timestamp) - extract(epoch from '2026-07-31 13:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236504)'), GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236501)'))) / (select extract(epoch from '2026-07-31 13:45:51'::timestamp) - extract(epoch from '2026-07-31 13:45:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077803 -3.236495)', '2026-07-31 13:46:01', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236501)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236495)'))) / (select extract(epoch from '2026-07-31 13:46:01'::timestamp) - extract(epoch from '2026-07-31 13:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077801 -3.236501)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236495)'))) / (select extract(epoch from '2026-07-31 13:46:01'::timestamp) - extract(epoch from '2026-07-31 13:45:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077813 -3.236504)', '2026-07-31 13:46:11', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236495)'), GeomFromEWKT('SRID=4674;POINT (-39.077813 -3.236504)'))) / (select extract(epoch from '2026-07-31 13:46:11'::timestamp) - extract(epoch from '2026-07-31 13:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236495)'), GeomFromEWKT('SRID=4674;POINT (-39.077813 -3.236504)'))) / (select extract(epoch from '2026-07-31 13:46:11'::timestamp) - extract(epoch from '2026-07-31 13:46: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'), 47459, 'SRID=4674;POINT (-39.077819 -3.236496)', '2026-07-31 13:46:20', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077813 -3.236504)'), GeomFromEWKT('SRID=4674;POINT (-39.077819 -3.236496)'))) / (select extract(epoch from '2026-07-31 13:46:20'::timestamp) - extract(epoch from '2026-07-31 13:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077813 -3.236504)'), GeomFromEWKT('SRID=4674;POINT (-39.077819 -3.236496)'))) / (select extract(epoch from '2026-07-31 13:46:20'::timestamp) - extract(epoch from '2026-07-31 13:46: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'), 47459, 'SRID=4674;POINT (-39.077805 -3.236489)', '2026-07-31 13:46:27', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077819 -3.236496)'), GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236489)'))) / (select extract(epoch from '2026-07-31 13:46:27'::timestamp) - extract(epoch from '2026-07-31 13:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077819 -3.236496)'), GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236489)'))) / (select extract(epoch from '2026-07-31 13:46:27'::timestamp) - extract(epoch from '2026-07-31 13:46:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077811 -3.23649)', '2026-07-31 13:46:33', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236489)'), GeomFromEWKT('SRID=4674;POINT (-39.077811 -3.23649)'))) / (select extract(epoch from '2026-07-31 13:46:33'::timestamp) - extract(epoch from '2026-07-31 13:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236489)'), GeomFromEWKT('SRID=4674;POINT (-39.077811 -3.23649)'))) / (select extract(epoch from '2026-07-31 13:46:33'::timestamp) - extract(epoch from '2026-07-31 13:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077807 -3.236491)', '2026-07-31 13:46:38', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077811 -3.23649)'), GeomFromEWKT('SRID=4674;POINT (-39.077807 -3.236491)'))) / (select extract(epoch from '2026-07-31 13:46:38'::timestamp) - extract(epoch from '2026-07-31 13:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077811 -3.23649)'), GeomFromEWKT('SRID=4674;POINT (-39.077807 -3.236491)'))) / (select extract(epoch from '2026-07-31 13:46:38'::timestamp) - extract(epoch from '2026-07-31 13:46: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'), 47459, 'SRID=4674;POINT (-39.077784 -3.23649)', '2026-07-31 13:46:45', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077807 -3.236491)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.23649)'))) / (select extract(epoch from '2026-07-31 13:46:45'::timestamp) - extract(epoch from '2026-07-31 13:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077807 -3.236491)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.23649)'))) / (select extract(epoch from '2026-07-31 13:46:45'::timestamp) - extract(epoch from '2026-07-31 13:46:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077792 -3.23646)', '2026-07-31 13:46:52', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.23649)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.23646)'))) / (select extract(epoch from '2026-07-31 13:46:52'::timestamp) - extract(epoch from '2026-07-31 13:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.23649)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.23646)'))) / (select extract(epoch from '2026-07-31 13:46:52'::timestamp) - extract(epoch from '2026-07-31 13:46:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077777 -3.236462)', '2026-07-31 13:46:58', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.23646)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236462)'))) / (select extract(epoch from '2026-07-31 13:46:58'::timestamp) - extract(epoch from '2026-07-31 13:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.23646)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236462)'))) / (select extract(epoch from '2026-07-31 13:46:58'::timestamp) - extract(epoch from '2026-07-31 13:46: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'), 47459, 'SRID=4674;POINT (-39.077771 -3.236461)', '2026-07-31 13:46:59', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236461)'))) / (select extract(epoch from '2026-07-31 13:46:59'::timestamp) - extract(epoch from '2026-07-31 13:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236461)'))) / (select extract(epoch from '2026-07-31 13:46:59'::timestamp) - extract(epoch from '2026-07-31 13:46:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077774 -3.236472)', '2026-07-31 13:47:04', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236461)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236472)'))) / (select extract(epoch from '2026-07-31 13:47:04'::timestamp) - extract(epoch from '2026-07-31 13:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236461)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236472)'))) / (select extract(epoch from '2026-07-31 13:47:04'::timestamp) - extract(epoch from '2026-07-31 13:46: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'), 47459, 'SRID=4674;POINT (-39.077792 -3.236474)', '2026-07-31 13:47:13', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236472)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236474)'))) / (select extract(epoch from '2026-07-31 13:47:13'::timestamp) - extract(epoch from '2026-07-31 13:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236472)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236474)'))) / (select extract(epoch from '2026-07-31 13:47:13'::timestamp) - extract(epoch from '2026-07-31 13:47:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077774 -3.236486)', '2026-07-31 13:47:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236474)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236486)'))) / (select extract(epoch from '2026-07-31 13:47:21'::timestamp) - extract(epoch from '2026-07-31 13:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236474)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236486)'))) / (select extract(epoch from '2026-07-31 13:47:21'::timestamp) - extract(epoch from '2026-07-31 13:47: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236487)', '2026-07-31 13:47:31', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236486)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236487)'))) / (select extract(epoch from '2026-07-31 13:47:31'::timestamp) - extract(epoch from '2026-07-31 13:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236486)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236487)'))) / (select extract(epoch from '2026-07-31 13:47:31'::timestamp) - extract(epoch from '2026-07-31 13:47:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077802 -3.236494)', '2026-07-31 13:47:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236487)'), GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.236494)'))) / (select extract(epoch from '2026-07-31 13:47:42'::timestamp) - extract(epoch from '2026-07-31 13:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236487)'), GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.236494)'))) / (select extract(epoch from '2026-07-31 13:47:42'::timestamp) - extract(epoch from '2026-07-31 13:47:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077803 -3.236501)', '2026-07-31 13:47:47', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.236494)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236501)'))) / (select extract(epoch from '2026-07-31 13:47:47'::timestamp) - extract(epoch from '2026-07-31 13:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.236494)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236501)'))) / (select extract(epoch from '2026-07-31 13:47:47'::timestamp) - extract(epoch from '2026-07-31 13:47:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077802 -3.2365)', '2026-07-31 13:47:53', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236501)'), GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.2365)'))) / (select extract(epoch from '2026-07-31 13:47:53'::timestamp) - extract(epoch from '2026-07-31 13:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236501)'), GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.2365)'))) / (select extract(epoch from '2026-07-31 13:47:53'::timestamp) - extract(epoch from '2026-07-31 13:47:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077813 -3.236486)', '2026-07-31 13:47:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.2365)'), GeomFromEWKT('SRID=4674;POINT (-39.077813 -3.236486)'))) / (select extract(epoch from '2026-07-31 13:47:59'::timestamp) - extract(epoch from '2026-07-31 13:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.2365)'), GeomFromEWKT('SRID=4674;POINT (-39.077813 -3.236486)'))) / (select extract(epoch from '2026-07-31 13:47:59'::timestamp) - extract(epoch from '2026-07-31 13:47: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'), 47459, 'SRID=4674;POINT (-39.077803 -3.236484)', '2026-07-31 13:48:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077813 -3.236486)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236484)'))) / (select extract(epoch from '2026-07-31 13:48:03'::timestamp) - extract(epoch from '2026-07-31 13:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077813 -3.236486)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236484)'))) / (select extract(epoch from '2026-07-31 13:48:03'::timestamp) - extract(epoch from '2026-07-31 13:47:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077802 -3.236479)', '2026-07-31 13:48:10', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236484)'), GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.236479)'))) / (select extract(epoch from '2026-07-31 13:48:10'::timestamp) - extract(epoch from '2026-07-31 13:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236484)'), GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.236479)'))) / (select extract(epoch from '2026-07-31 13:48:10'::timestamp) - extract(epoch from '2026-07-31 13:48: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'), 47459, 'SRID=4674;POINT (-39.077793 -3.236478)', '2026-07-31 13:48:16', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.236479)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236478)'))) / (select extract(epoch from '2026-07-31 13:48:16'::timestamp) - extract(epoch from '2026-07-31 13:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.236479)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236478)'))) / (select extract(epoch from '2026-07-31 13:48:16'::timestamp) - extract(epoch from '2026-07-31 13:48: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'), 47459, 'SRID=4674;POINT (-39.077788 -3.236487)', '2026-07-31 13:48:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236478)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236487)'))) / (select extract(epoch from '2026-07-31 13:48:19'::timestamp) - extract(epoch from '2026-07-31 13:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236478)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236487)'))) / (select extract(epoch from '2026-07-31 13:48:19'::timestamp) - extract(epoch from '2026-07-31 13:48:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077795 -3.236478)', '2026-07-31 13:48:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236487)'), GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236478)'))) / (select extract(epoch from '2026-07-31 13:48:23'::timestamp) - extract(epoch from '2026-07-31 13:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236487)'), GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236478)'))) / (select extract(epoch from '2026-07-31 13:48:23'::timestamp) - extract(epoch from '2026-07-31 13:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077802 -3.236486)', '2026-07-31 13:48:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236478)'), GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.236486)'))) / (select extract(epoch from '2026-07-31 13:48:31'::timestamp) - extract(epoch from '2026-07-31 13:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236478)'), GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.236486)'))) / (select extract(epoch from '2026-07-31 13:48:31'::timestamp) - extract(epoch from '2026-07-31 13:48: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'), 47459, 'SRID=4674;POINT (-39.077805 -3.236504)', '2026-07-31 13:48:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.236486)'), GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236504)'))) / (select extract(epoch from '2026-07-31 13:48:40'::timestamp) - extract(epoch from '2026-07-31 13:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077802 -3.236486)'), GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236504)'))) / (select extract(epoch from '2026-07-31 13:48:40'::timestamp) - extract(epoch from '2026-07-31 13:48: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'), 47459, 'SRID=4674;POINT (-39.077808 -3.236518)', '2026-07-31 13:48:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236504)'), GeomFromEWKT('SRID=4674;POINT (-39.077808 -3.236518)'))) / (select extract(epoch from '2026-07-31 13:48:47'::timestamp) - extract(epoch from '2026-07-31 13:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236504)'), GeomFromEWKT('SRID=4674;POINT (-39.077808 -3.236518)'))) / (select extract(epoch from '2026-07-31 13:48:47'::timestamp) - extract(epoch from '2026-07-31 13:48: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'), 47459, 'SRID=4674;POINT (-39.077821 -3.236516)', '2026-07-31 13:48:56', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077808 -3.236518)'), GeomFromEWKT('SRID=4674;POINT (-39.077821 -3.236516)'))) / (select extract(epoch from '2026-07-31 13:48:56'::timestamp) - extract(epoch from '2026-07-31 13:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077808 -3.236518)'), GeomFromEWKT('SRID=4674;POINT (-39.077821 -3.236516)'))) / (select extract(epoch from '2026-07-31 13:48:56'::timestamp) - extract(epoch from '2026-07-31 13:48:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077815 -3.236516)', '2026-07-31 13:49:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077821 -3.236516)'), GeomFromEWKT('SRID=4674;POINT (-39.077815 -3.236516)'))) / (select extract(epoch from '2026-07-31 13:49:01'::timestamp) - extract(epoch from '2026-07-31 13:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077821 -3.236516)'), GeomFromEWKT('SRID=4674;POINT (-39.077815 -3.236516)'))) / (select extract(epoch from '2026-07-31 13:49:01'::timestamp) - extract(epoch from '2026-07-31 13:48:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077817 -3.236512)', '2026-07-31 13:49:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077815 -3.236516)'), GeomFromEWKT('SRID=4674;POINT (-39.077817 -3.236512)'))) / (select extract(epoch from '2026-07-31 13:49:10'::timestamp) - extract(epoch from '2026-07-31 13:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077815 -3.236516)'), GeomFromEWKT('SRID=4674;POINT (-39.077817 -3.236512)'))) / (select extract(epoch from '2026-07-31 13:49:10'::timestamp) - extract(epoch from '2026-07-31 13:49: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'), 47459, 'SRID=4674;POINT (-39.077817 -3.236506)', '2026-07-31 13:49:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077817 -3.236512)'), GeomFromEWKT('SRID=4674;POINT (-39.077817 -3.236506)'))) / (select extract(epoch from '2026-07-31 13:49:19'::timestamp) - extract(epoch from '2026-07-31 13:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077817 -3.236512)'), GeomFromEWKT('SRID=4674;POINT (-39.077817 -3.236506)'))) / (select extract(epoch from '2026-07-31 13:49:19'::timestamp) - extract(epoch from '2026-07-31 13:49: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'), 47459, 'SRID=4674;POINT (-39.07782 -3.236508)', '2026-07-31 13:49:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077817 -3.236506)'), GeomFromEWKT('SRID=4674;POINT (-39.07782 -3.236508)'))) / (select extract(epoch from '2026-07-31 13:49:26'::timestamp) - extract(epoch from '2026-07-31 13:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077817 -3.236506)'), GeomFromEWKT('SRID=4674;POINT (-39.07782 -3.236508)'))) / (select extract(epoch from '2026-07-31 13:49:26'::timestamp) - extract(epoch from '2026-07-31 13:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077813 -3.236497)', '2026-07-31 13:49:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07782 -3.236508)'), GeomFromEWKT('SRID=4674;POINT (-39.077813 -3.236497)'))) / (select extract(epoch from '2026-07-31 13:49:32'::timestamp) - extract(epoch from '2026-07-31 13:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07782 -3.236508)'), GeomFromEWKT('SRID=4674;POINT (-39.077813 -3.236497)'))) / (select extract(epoch from '2026-07-31 13:49:32'::timestamp) - extract(epoch from '2026-07-31 13:49:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07782 -3.23649)', '2026-07-31 13:49:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077813 -3.236497)'), GeomFromEWKT('SRID=4674;POINT (-39.07782 -3.23649)'))) / (select extract(epoch from '2026-07-31 13:49:36'::timestamp) - extract(epoch from '2026-07-31 13:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077813 -3.236497)'), GeomFromEWKT('SRID=4674;POINT (-39.07782 -3.23649)'))) / (select extract(epoch from '2026-07-31 13:49:36'::timestamp) - extract(epoch from '2026-07-31 13:49:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077808 -3.236485)', '2026-07-31 13:49:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07782 -3.23649)'), GeomFromEWKT('SRID=4674;POINT (-39.077808 -3.236485)'))) / (select extract(epoch from '2026-07-31 13:49:42'::timestamp) - extract(epoch from '2026-07-31 13:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07782 -3.23649)'), GeomFromEWKT('SRID=4674;POINT (-39.077808 -3.236485)'))) / (select extract(epoch from '2026-07-31 13:49:42'::timestamp) - extract(epoch from '2026-07-31 13:49: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'), 47459, 'SRID=4674;POINT (-39.0778 -3.236477)', '2026-07-31 13:49:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077808 -3.236485)'), GeomFromEWKT('SRID=4674;POINT (-39.0778 -3.236477)'))) / (select extract(epoch from '2026-07-31 13:49:48'::timestamp) - extract(epoch from '2026-07-31 13:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077808 -3.236485)'), GeomFromEWKT('SRID=4674;POINT (-39.0778 -3.236477)'))) / (select extract(epoch from '2026-07-31 13:49:48'::timestamp) - extract(epoch from '2026-07-31 13:49: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'), 47459, 'SRID=4674;POINT (-39.077808 -3.236463)', '2026-07-31 13:49:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0778 -3.236477)'), GeomFromEWKT('SRID=4674;POINT (-39.077808 -3.236463)'))) / (select extract(epoch from '2026-07-31 13:49:56'::timestamp) - extract(epoch from '2026-07-31 13:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0778 -3.236477)'), GeomFromEWKT('SRID=4674;POINT (-39.077808 -3.236463)'))) / (select extract(epoch from '2026-07-31 13:49:56'::timestamp) - extract(epoch from '2026-07-31 13:49: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'), 47459, 'SRID=4674;POINT (-39.077798 -3.236462)', '2026-07-31 13:50:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077808 -3.236463)'), GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236462)'))) / (select extract(epoch from '2026-07-31 13:50:03'::timestamp) - extract(epoch from '2026-07-31 13:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077808 -3.236463)'), GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236462)'))) / (select extract(epoch from '2026-07-31 13:50:03'::timestamp) - extract(epoch from '2026-07-31 13:49: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'), 47459, 'SRID=4674;POINT (-39.077804 -3.236465)', '2026-07-31 13:50:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236465)'))) / (select extract(epoch from '2026-07-31 13:50:12'::timestamp) - extract(epoch from '2026-07-31 13:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236465)'))) / (select extract(epoch from '2026-07-31 13:50:12'::timestamp) - extract(epoch from '2026-07-31 13:50: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'), 47459, 'SRID=4674;POINT (-39.077797 -3.23646)', '2026-07-31 13:50:20', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236465)'), GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.23646)'))) / (select extract(epoch from '2026-07-31 13:50:20'::timestamp) - extract(epoch from '2026-07-31 13:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077804 -3.236465)'), GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.23646)'))) / (select extract(epoch from '2026-07-31 13:50:20'::timestamp) - extract(epoch from '2026-07-31 13:50:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077803 -3.236465)', '2026-07-31 13:50:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.23646)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236465)'))) / (select extract(epoch from '2026-07-31 13:50:25'::timestamp) - extract(epoch from '2026-07-31 13:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.23646)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236465)'))) / (select extract(epoch from '2026-07-31 13:50:25'::timestamp) - extract(epoch from '2026-07-31 13:50:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077799 -3.236458)', '2026-07-31 13:50:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236465)'), GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236458)'))) / (select extract(epoch from '2026-07-31 13:50:33'::timestamp) - extract(epoch from '2026-07-31 13:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236465)'), GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236458)'))) / (select extract(epoch from '2026-07-31 13:50:33'::timestamp) - extract(epoch from '2026-07-31 13:50:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077793 -3.236462)', '2026-07-31 13:50:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236458)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236462)'))) / (select extract(epoch from '2026-07-31 13:50:39'::timestamp) - extract(epoch from '2026-07-31 13:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236458)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236462)'))) / (select extract(epoch from '2026-07-31 13:50:39'::timestamp) - extract(epoch from '2026-07-31 13:50: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'), 47459, 'SRID=4674;POINT (-39.077798 -3.236463)', '2026-07-31 13:50:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236463)'))) / (select extract(epoch from '2026-07-31 13:50:46'::timestamp) - extract(epoch from '2026-07-31 13:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236463)'))) / (select extract(epoch from '2026-07-31 13:50:46'::timestamp) - extract(epoch from '2026-07-31 13:50: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'), 47459, 'SRID=4674;POINT (-39.077791 -3.236459)', '2026-07-31 13:50:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236463)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236459)'))) / (select extract(epoch from '2026-07-31 13:50:54'::timestamp) - extract(epoch from '2026-07-31 13:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077798 -3.236463)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236459)'))) / (select extract(epoch from '2026-07-31 13:50:54'::timestamp) - extract(epoch from '2026-07-31 13:50: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'), 47459, 'SRID=4674;POINT (-39.077788 -3.236457)', '2026-07-31 13:51:01', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236459)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236457)'))) / (select extract(epoch from '2026-07-31 13:51:01'::timestamp) - extract(epoch from '2026-07-31 13:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236459)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236457)'))) / (select extract(epoch from '2026-07-31 13:51:01'::timestamp) - extract(epoch from '2026-07-31 13:50:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077778 -3.236456)', '2026-07-31 13:51:09', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236457)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236456)'))) / (select extract(epoch from '2026-07-31 13:51:09'::timestamp) - extract(epoch from '2026-07-31 13:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236457)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236456)'))) / (select extract(epoch from '2026-07-31 13:51:09'::timestamp) - extract(epoch from '2026-07-31 13:51: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.236453)', '2026-07-31 13:51:17', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236456)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236453)'))) / (select extract(epoch from '2026-07-31 13:51:17'::timestamp) - extract(epoch from '2026-07-31 13:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236456)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236453)'))) / (select extract(epoch from '2026-07-31 13:51:17'::timestamp) - extract(epoch from '2026-07-31 13:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077787 -3.236455)', '2026-07-31 13:51:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236453)'), GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236455)'))) / (select extract(epoch from '2026-07-31 13:51:26'::timestamp) - extract(epoch from '2026-07-31 13:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236453)'), GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236455)'))) / (select extract(epoch from '2026-07-31 13:51:26'::timestamp) - extract(epoch from '2026-07-31 13:51:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077769 -3.236464)', '2026-07-31 13:51:34', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236455)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236464)'))) / (select extract(epoch from '2026-07-31 13:51:34'::timestamp) - extract(epoch from '2026-07-31 13:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236455)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236464)'))) / (select extract(epoch from '2026-07-31 13:51:34'::timestamp) - extract(epoch from '2026-07-31 13:51: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236462)', '2026-07-31 13:51:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236464)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236462)'))) / (select extract(epoch from '2026-07-31 13:51:40'::timestamp) - extract(epoch from '2026-07-31 13:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236464)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236462)'))) / (select extract(epoch from '2026-07-31 13:51:40'::timestamp) - extract(epoch from '2026-07-31 13:51: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'), 47459, 'SRID=4674;POINT (-39.077785 -3.236476)', '2026-07-31 13:51:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236476)'))) / (select extract(epoch from '2026-07-31 13:51:49'::timestamp) - extract(epoch from '2026-07-31 13:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236476)'))) / (select extract(epoch from '2026-07-31 13:51:49'::timestamp) - extract(epoch from '2026-07-31 13:51: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'), 47459, 'SRID=4674;POINT (-39.077788 -3.236481)', '2026-07-31 13:51:58', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236476)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236481)'))) / (select extract(epoch from '2026-07-31 13:51:58'::timestamp) - extract(epoch from '2026-07-31 13:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236476)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236481)'))) / (select extract(epoch from '2026-07-31 13:51:58'::timestamp) - extract(epoch from '2026-07-31 13:51: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'), 47459, 'SRID=4674;POINT (-39.077782 -3.236487)', '2026-07-31 13:52:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236481)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236487)'))) / (select extract(epoch from '2026-07-31 13:52:00'::timestamp) - extract(epoch from '2026-07-31 13:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236481)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236487)'))) / (select extract(epoch from '2026-07-31 13:52:00'::timestamp) - extract(epoch from '2026-07-31 13:51:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077786 -3.236473)', '2026-07-31 13:52:05', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236487)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236473)'))) / (select extract(epoch from '2026-07-31 13:52:05'::timestamp) - extract(epoch from '2026-07-31 13:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236487)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236473)'))) / (select extract(epoch from '2026-07-31 13:52:05'::timestamp) - extract(epoch from '2026-07-31 13:52: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'), 47459, 'SRID=4674;POINT (-39.077789 -3.23646)', '2026-07-31 13:52:14', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236473)'), GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.23646)'))) / (select extract(epoch from '2026-07-31 13:52:14'::timestamp) - extract(epoch from '2026-07-31 13:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236473)'), GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.23646)'))) / (select extract(epoch from '2026-07-31 13:52:14'::timestamp) - extract(epoch from '2026-07-31 13:52: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'), 47459, 'SRID=4674;POINT (-39.077793 -3.236466)', '2026-07-31 13:52:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.23646)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236466)'))) / (select extract(epoch from '2026-07-31 13:52:22'::timestamp) - extract(epoch from '2026-07-31 13:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.23646)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236466)'))) / (select extract(epoch from '2026-07-31 13:52:22'::timestamp) - extract(epoch from '2026-07-31 13:52:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077786 -3.236463)', '2026-07-31 13:52:31', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236466)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236463)'))) / (select extract(epoch from '2026-07-31 13:52:31'::timestamp) - extract(epoch from '2026-07-31 13:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236466)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236463)'))) / (select extract(epoch from '2026-07-31 13:52:31'::timestamp) - extract(epoch from '2026-07-31 13:52: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'), 47459, 'SRID=4674;POINT (-39.077774 -3.236452)', '2026-07-31 13:52:45', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236463)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236452)'))) / (select extract(epoch from '2026-07-31 13:52:45'::timestamp) - extract(epoch from '2026-07-31 13:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236463)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236452)'))) / (select extract(epoch from '2026-07-31 13:52:45'::timestamp) - extract(epoch from '2026-07-31 13:52: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'), 47459, 'SRID=4674;POINT (-39.077774 -3.236454)', '2026-07-31 13:52:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236452)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236454)'))) / (select extract(epoch from '2026-07-31 13:52:50'::timestamp) - extract(epoch from '2026-07-31 13:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236452)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236454)'))) / (select extract(epoch from '2026-07-31 13:52:50'::timestamp) - extract(epoch from '2026-07-31 13:52: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'), 47459, 'SRID=4674;POINT (-39.077774 -3.236459)', '2026-07-31 13:53:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236454)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236459)'))) / (select extract(epoch from '2026-07-31 13:53:03'::timestamp) - extract(epoch from '2026-07-31 13:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236454)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236459)'))) / (select extract(epoch from '2026-07-31 13:53:03'::timestamp) - extract(epoch from '2026-07-31 13:52:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077768 -3.236462)', '2026-07-31 13:53:10', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236459)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236462)'))) / (select extract(epoch from '2026-07-31 13:53:10'::timestamp) - extract(epoch from '2026-07-31 13:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236459)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236462)'))) / (select extract(epoch from '2026-07-31 13:53:10'::timestamp) - extract(epoch from '2026-07-31 13:53: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'), 47459, 'SRID=4674;POINT (-39.077788 -3.236465)', '2026-07-31 13:53:16', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236465)'))) / (select extract(epoch from '2026-07-31 13:53:16'::timestamp) - extract(epoch from '2026-07-31 13:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236465)'))) / (select extract(epoch from '2026-07-31 13:53:16'::timestamp) - extract(epoch from '2026-07-31 13:53:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077795 -3.236476)', '2026-07-31 13:53:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236465)'), GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236476)'))) / (select extract(epoch from '2026-07-31 13:53:26'::timestamp) - extract(epoch from '2026-07-31 13:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236465)'), GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236476)'))) / (select extract(epoch from '2026-07-31 13:53:26'::timestamp) - extract(epoch from '2026-07-31 13:53: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'), 47459, 'SRID=4674;POINT (-39.077805 -3.236479)', '2026-07-31 13:53:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236476)'), GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236479)'))) / (select extract(epoch from '2026-07-31 13:53:32'::timestamp) - extract(epoch from '2026-07-31 13:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236476)'), GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236479)'))) / (select extract(epoch from '2026-07-31 13:53:32'::timestamp) - extract(epoch from '2026-07-31 13:53:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077805 -3.236475)', '2026-07-31 13:53:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236479)'), GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236475)'))) / (select extract(epoch from '2026-07-31 13:53:40'::timestamp) - extract(epoch from '2026-07-31 13:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236479)'), GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236475)'))) / (select extract(epoch from '2026-07-31 13:53:40'::timestamp) - extract(epoch from '2026-07-31 13:53: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'), 47459, 'SRID=4674;POINT (-39.077799 -3.236479)', '2026-07-31 13:53:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236475)'), GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236479)'))) / (select extract(epoch from '2026-07-31 13:53:48'::timestamp) - extract(epoch from '2026-07-31 13:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077805 -3.236475)'), GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236479)'))) / (select extract(epoch from '2026-07-31 13:53:48'::timestamp) - extract(epoch from '2026-07-31 13:53:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077793 -3.236476)', '2026-07-31 13:53:49', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236479)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236476)'))) / (select extract(epoch from '2026-07-31 13:53:49'::timestamp) - extract(epoch from '2026-07-31 13:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236479)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236476)'))) / (select extract(epoch from '2026-07-31 13:53:49'::timestamp) - extract(epoch from '2026-07-31 13:53:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077796 -3.236479)', '2026-07-31 13:53:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236476)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236479)'))) / (select extract(epoch from '2026-07-31 13:53:55'::timestamp) - extract(epoch from '2026-07-31 13:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236476)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236479)'))) / (select extract(epoch from '2026-07-31 13:53:55'::timestamp) - extract(epoch from '2026-07-31 13:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077803 -3.236488)', '2026-07-31 13:54:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236479)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236488)'))) / (select extract(epoch from '2026-07-31 13:54:03'::timestamp) - extract(epoch from '2026-07-31 13:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236479)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236488)'))) / (select extract(epoch from '2026-07-31 13:54:03'::timestamp) - extract(epoch from '2026-07-31 13:53:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077783 -3.236481)', '2026-07-31 13:54:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236488)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236481)'))) / (select extract(epoch from '2026-07-31 13:54:09'::timestamp) - extract(epoch from '2026-07-31 13:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236488)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236481)'))) / (select extract(epoch from '2026-07-31 13:54:09'::timestamp) - extract(epoch from '2026-07-31 13:54: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.236469)', '2026-07-31 13:54:16', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236481)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236469)'))) / (select extract(epoch from '2026-07-31 13:54:16'::timestamp) - extract(epoch from '2026-07-31 13:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236481)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236469)'))) / (select extract(epoch from '2026-07-31 13:54:16'::timestamp) - extract(epoch from '2026-07-31 13:54: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'), 47459, 'SRID=4674;POINT (-39.077779 -3.23646)', '2026-07-31 13:54:22', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236469)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23646)'))) / (select extract(epoch from '2026-07-31 13:54:22'::timestamp) - extract(epoch from '2026-07-31 13:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236469)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23646)'))) / (select extract(epoch from '2026-07-31 13:54:22'::timestamp) - extract(epoch from '2026-07-31 13:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077785 -3.236463)', '2026-07-31 13:54:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23646)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236463)'))) / (select extract(epoch from '2026-07-31 13:54:33'::timestamp) - extract(epoch from '2026-07-31 13:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23646)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236463)'))) / (select extract(epoch from '2026-07-31 13:54:33'::timestamp) - extract(epoch from '2026-07-31 13:54:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077783 -3.236459)', '2026-07-31 13:54:42', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236463)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236459)'))) / (select extract(epoch from '2026-07-31 13:54:42'::timestamp) - extract(epoch from '2026-07-31 13:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236463)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236459)'))) / (select extract(epoch from '2026-07-31 13:54:42'::timestamp) - extract(epoch from '2026-07-31 13:54: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'), 47459, 'SRID=4674;POINT (-39.07778 -3.236456)', '2026-07-31 13:54:48', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236459)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236456)'))) / (select extract(epoch from '2026-07-31 13:54:48'::timestamp) - extract(epoch from '2026-07-31 13:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236459)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236456)'))) / (select extract(epoch from '2026-07-31 13:54:48'::timestamp) - extract(epoch from '2026-07-31 13:54:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07778 -3.236457)', '2026-07-31 13:54:55', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236456)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236457)'))) / (select extract(epoch from '2026-07-31 13:54:55'::timestamp) - extract(epoch from '2026-07-31 13:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236456)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236457)'))) / (select extract(epoch from '2026-07-31 13:54:55'::timestamp) - extract(epoch from '2026-07-31 13:54: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'), 47459, 'SRID=4674;POINT (-39.077775 -3.236457)', '2026-07-31 13:54:56', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236457)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236457)'))) / (select extract(epoch from '2026-07-31 13:54:56'::timestamp) - extract(epoch from '2026-07-31 13:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236457)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236457)'))) / (select extract(epoch from '2026-07-31 13:54:56'::timestamp) - extract(epoch from '2026-07-31 13:54: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'), 47459, 'SRID=4674;POINT (-39.077777 -3.236458)', '2026-07-31 13:55:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236457)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236458)'))) / (select extract(epoch from '2026-07-31 13:55:06'::timestamp) - extract(epoch from '2026-07-31 13:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236457)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236458)'))) / (select extract(epoch from '2026-07-31 13:55:06'::timestamp) - extract(epoch from '2026-07-31 13:54: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.236464)', '2026-07-31 13:55:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236458)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236464)'))) / (select extract(epoch from '2026-07-31 13:55:12'::timestamp) - extract(epoch from '2026-07-31 13:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236458)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236464)'))) / (select extract(epoch from '2026-07-31 13:55:12'::timestamp) - extract(epoch from '2026-07-31 13:55: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'), 47459, 'SRID=4674;POINT (-39.07777 -3.236456)', '2026-07-31 13:55:18', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236464)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236456)'))) / (select extract(epoch from '2026-07-31 13:55:18'::timestamp) - extract(epoch from '2026-07-31 13:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236464)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236456)'))) / (select extract(epoch from '2026-07-31 13:55:18'::timestamp) - extract(epoch from '2026-07-31 13:55: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'), 47459, 'SRID=4674;POINT (-39.07778 -3.236453)', '2026-07-31 13:55:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236456)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236453)'))) / (select extract(epoch from '2026-07-31 13:55:25'::timestamp) - extract(epoch from '2026-07-31 13:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236456)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236453)'))) / (select extract(epoch from '2026-07-31 13:55:25'::timestamp) - extract(epoch from '2026-07-31 13:55: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'), 47459, 'SRID=4674;POINT (-39.077774 -3.236451)', '2026-07-31 13:55:34', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236453)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236451)'))) / (select extract(epoch from '2026-07-31 13:55:34'::timestamp) - extract(epoch from '2026-07-31 13:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236453)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236451)'))) / (select extract(epoch from '2026-07-31 13:55:34'::timestamp) - extract(epoch from '2026-07-31 13:55: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'), 47459, 'SRID=4674;POINT (-39.077782 -3.236452)', '2026-07-31 13:55:41', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236451)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236452)'))) / (select extract(epoch from '2026-07-31 13:55:41'::timestamp) - extract(epoch from '2026-07-31 13:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236451)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236452)'))) / (select extract(epoch from '2026-07-31 13:55:41'::timestamp) - extract(epoch from '2026-07-31 13:55: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'), 47459, 'SRID=4674;POINT (-39.077771 -3.236452)', '2026-07-31 13:55:46', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236452)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236452)'))) / (select extract(epoch from '2026-07-31 13:55:46'::timestamp) - extract(epoch from '2026-07-31 13:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236452)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236452)'))) / (select extract(epoch from '2026-07-31 13:55:46'::timestamp) - extract(epoch from '2026-07-31 13:55: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'), 47459, 'SRID=4674;POINT (-39.077782 -3.236444)', '2026-07-31 13:55:55', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236452)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236444)'))) / (select extract(epoch from '2026-07-31 13:55:55'::timestamp) - extract(epoch from '2026-07-31 13:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236452)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236444)'))) / (select extract(epoch from '2026-07-31 13:55:55'::timestamp) - extract(epoch from '2026-07-31 13:55: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.236428)', '2026-07-31 13:56:03', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236444)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:56:03'::timestamp) - extract(epoch from '2026-07-31 13:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236444)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236428)'))) / (select extract(epoch from '2026-07-31 13:56:03'::timestamp) - extract(epoch from '2026-07-31 13:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077792 -3.236437)', '2026-07-31 13:56:09', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236437)'))) / (select extract(epoch from '2026-07-31 13:56:09'::timestamp) - extract(epoch from '2026-07-31 13:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236437)'))) / (select extract(epoch from '2026-07-31 13:56:09'::timestamp) - extract(epoch from '2026-07-31 13:56: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'), 47459, 'SRID=4674;POINT (-39.077783 -3.236439)', '2026-07-31 13:56:18', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236437)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236439)'))) / (select extract(epoch from '2026-07-31 13:56:18'::timestamp) - extract(epoch from '2026-07-31 13:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236437)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236439)'))) / (select extract(epoch from '2026-07-31 13:56:18'::timestamp) - extract(epoch from '2026-07-31 13:56: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'), 47459, 'SRID=4674;POINT (-39.077758 -3.23645)', '2026-07-31 13:56:28', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236439)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.23645)'))) / (select extract(epoch from '2026-07-31 13:56:28'::timestamp) - extract(epoch from '2026-07-31 13:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236439)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.23645)'))) / (select extract(epoch from '2026-07-31 13:56:28'::timestamp) - extract(epoch from '2026-07-31 13:56: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'), 47459, 'SRID=4674;POINT (-39.07775 -3.236434)', '2026-07-31 13:56:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.23645)'), GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236434)'))) / (select extract(epoch from '2026-07-31 13:56:41'::timestamp) - extract(epoch from '2026-07-31 13:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.23645)'), GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236434)'))) / (select extract(epoch from '2026-07-31 13:56:41'::timestamp) - extract(epoch from '2026-07-31 13:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077759 -3.236423)', '2026-07-31 13:56:52', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:56:52'::timestamp) - extract(epoch from '2026-07-31 13:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236423)'))) / (select extract(epoch from '2026-07-31 13:56:52'::timestamp) - extract(epoch from '2026-07-31 13:56: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'), 47459, 'SRID=4674;POINT (-39.077759 -3.236422)', '2026-07-31 13:57:00', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236422)'))) / (select extract(epoch from '2026-07-31 13:57:00'::timestamp) - extract(epoch from '2026-07-31 13:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236422)'))) / (select extract(epoch from '2026-07-31 13:57:00'::timestamp) - extract(epoch from '2026-07-31 13:56: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.236418)', '2026-07-31 13:57:09', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236422)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236418)'))) / (select extract(epoch from '2026-07-31 13:57:09'::timestamp) - extract(epoch from '2026-07-31 13:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236422)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236418)'))) / (select extract(epoch from '2026-07-31 13:57:09'::timestamp) - extract(epoch from '2026-07-31 13:57:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077769 -3.236414)', '2026-07-31 13:57:17', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236418)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236414)'))) / (select extract(epoch from '2026-07-31 13:57:17'::timestamp) - extract(epoch from '2026-07-31 13:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236418)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236414)'))) / (select extract(epoch from '2026-07-31 13:57:17'::timestamp) - extract(epoch from '2026-07-31 13:57: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'), 47459, 'SRID=4674;POINT (-39.077777 -3.23642)', '2026-07-31 13:57:24', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236414)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.23642)'))) / (select extract(epoch from '2026-07-31 13:57:24'::timestamp) - extract(epoch from '2026-07-31 13:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236414)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.23642)'))) / (select extract(epoch from '2026-07-31 13:57:24'::timestamp) - extract(epoch from '2026-07-31 13:57: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'), 47459, 'SRID=4674;POINT (-39.077765 -3.236427)', '2026-07-31 13:57:34', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:57:34'::timestamp) - extract(epoch from '2026-07-31 13:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236427)'))) / (select extract(epoch from '2026-07-31 13:57:34'::timestamp) - extract(epoch from '2026-07-31 13:57:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077764 -3.236413)', '2026-07-31 13:57:40', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236413)'))) / (select extract(epoch from '2026-07-31 13:57:40'::timestamp) - extract(epoch from '2026-07-31 13:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236413)'))) / (select extract(epoch from '2026-07-31 13:57:40'::timestamp) - extract(epoch from '2026-07-31 13:57:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077771 -3.236417)', '2026-07-31 13:57:49', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236413)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236417)'))) / (select extract(epoch from '2026-07-31 13:57:49'::timestamp) - extract(epoch from '2026-07-31 13:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236413)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236417)'))) / (select extract(epoch from '2026-07-31 13:57:49'::timestamp) - extract(epoch from '2026-07-31 13:57: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'), 47459, 'SRID=4674;POINT (-39.077767 -3.236414)', '2026-07-31 13:57:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236417)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236414)'))) / (select extract(epoch from '2026-07-31 13:57:54'::timestamp) - extract(epoch from '2026-07-31 13:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236417)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236414)'))) / (select extract(epoch from '2026-07-31 13:57:54'::timestamp) - extract(epoch from '2026-07-31 13:57: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236407)', '2026-07-31 13:58:00', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236414)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236407)'))) / (select extract(epoch from '2026-07-31 13:58:00'::timestamp) - extract(epoch from '2026-07-31 13:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236414)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236407)'))) / (select extract(epoch from '2026-07-31 13:58:00'::timestamp) - extract(epoch from '2026-07-31 13:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077766 -3.236404)', '2026-07-31 13:58:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236407)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236404)'))) / (select extract(epoch from '2026-07-31 13:58:08'::timestamp) - extract(epoch from '2026-07-31 13:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236407)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236404)'))) / (select extract(epoch from '2026-07-31 13:58:08'::timestamp) - extract(epoch from '2026-07-31 13:58: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'), 47459, 'SRID=4674;POINT (-39.07777 -3.236407)', '2026-07-31 13:58:10', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236407)'))) / (select extract(epoch from '2026-07-31 13:58:10'::timestamp) - extract(epoch from '2026-07-31 13:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236407)'))) / (select extract(epoch from '2026-07-31 13:58:10'::timestamp) - extract(epoch from '2026-07-31 13:58: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'), 47459, 'SRID=4674;POINT (-39.077774 -3.236406)', '2026-07-31 13:58:12', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236407)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236406)'))) / (select extract(epoch from '2026-07-31 13:58:12'::timestamp) - extract(epoch from '2026-07-31 13:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236407)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236406)'))) / (select extract(epoch from '2026-07-31 13:58:12'::timestamp) - extract(epoch from '2026-07-31 13:58:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077771 -3.236406)', '2026-07-31 13:58:18', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236406)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236406)'))) / (select extract(epoch from '2026-07-31 13:58:18'::timestamp) - extract(epoch from '2026-07-31 13:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236406)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236406)'))) / (select extract(epoch from '2026-07-31 13:58:18'::timestamp) - extract(epoch from '2026-07-31 13:58: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'), 47459, 'SRID=4674;POINT (-39.077765 -3.236401)', '2026-07-31 13:58:27', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236406)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236401)'))) / (select extract(epoch from '2026-07-31 13:58:27'::timestamp) - extract(epoch from '2026-07-31 13:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236406)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236401)'))) / (select extract(epoch from '2026-07-31 13:58:27'::timestamp) - extract(epoch from '2026-07-31 13:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077766 -3.236403)', '2026-07-31 13:58:35', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236401)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236403)'))) / (select extract(epoch from '2026-07-31 13:58:35'::timestamp) - extract(epoch from '2026-07-31 13:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236401)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236403)'))) / (select extract(epoch from '2026-07-31 13:58:35'::timestamp) - extract(epoch from '2026-07-31 13:58: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'), 47459, 'SRID=4674;POINT (-39.077768 -3.236411)', '2026-07-31 13:58:40', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236403)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236411)'))) / (select extract(epoch from '2026-07-31 13:58:40'::timestamp) - extract(epoch from '2026-07-31 13:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236403)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236411)'))) / (select extract(epoch from '2026-07-31 13:58:40'::timestamp) - extract(epoch from '2026-07-31 13:58: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236411)', '2026-07-31 13:58:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236411)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236411)'))) / (select extract(epoch from '2026-07-31 13:58:46'::timestamp) - extract(epoch from '2026-07-31 13:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236411)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236411)'))) / (select extract(epoch from '2026-07-31 13:58:46'::timestamp) - extract(epoch from '2026-07-31 13:58: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'), 47459, 'SRID=4674;POINT (-39.07777 -3.23641)', '2026-07-31 13:58:51', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236411)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.23641)'))) / (select extract(epoch from '2026-07-31 13:58:51'::timestamp) - extract(epoch from '2026-07-31 13:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236411)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.23641)'))) / (select extract(epoch from '2026-07-31 13:58:51'::timestamp) - extract(epoch from '2026-07-31 13:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077761 -3.236413)', '2026-07-31 13:58:55', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.23641)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236413)'))) / (select extract(epoch from '2026-07-31 13:58:55'::timestamp) - extract(epoch from '2026-07-31 13:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.23641)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236413)'))) / (select extract(epoch from '2026-07-31 13:58:55'::timestamp) - extract(epoch from '2026-07-31 13:58: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'), 47459, 'SRID=4674;POINT (-39.077753 -3.236399)', '2026-07-31 13:59:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236413)'), GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236399)'))) / (select extract(epoch from '2026-07-31 13:59:02'::timestamp) - extract(epoch from '2026-07-31 13:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236413)'), GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236399)'))) / (select extract(epoch from '2026-07-31 13:59:02'::timestamp) - extract(epoch from '2026-07-31 13:58: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'), 47459, 'SRID=4674;POINT (-39.077771 -3.236379)', '2026-07-31 13:59:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236399)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236379)'))) / (select extract(epoch from '2026-07-31 13:59:09'::timestamp) - extract(epoch from '2026-07-31 13:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236399)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236379)'))) / (select extract(epoch from '2026-07-31 13:59:09'::timestamp) - extract(epoch from '2026-07-31 13:59: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'), 47459, 'SRID=4674;POINT (-39.077766 -3.236393)', '2026-07-31 13:59:15', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236393)'))) / (select extract(epoch from '2026-07-31 13:59:15'::timestamp) - extract(epoch from '2026-07-31 13:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236393)'))) / (select extract(epoch from '2026-07-31 13:59:15'::timestamp) - extract(epoch from '2026-07-31 13:59: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'), 47459, 'SRID=4674;POINT (-39.077778 -3.236395)', '2026-07-31 13:59:23', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236393)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236395)'))) / (select extract(epoch from '2026-07-31 13:59:23'::timestamp) - extract(epoch from '2026-07-31 13:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236393)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236395)'))) / (select extract(epoch from '2026-07-31 13:59:23'::timestamp) - extract(epoch from '2026-07-31 13:59: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'), 47459, 'SRID=4674;POINT (-39.077779 -3.236395)', '2026-07-31 13:59:30', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236395)'))) / (select extract(epoch from '2026-07-31 13:59:30'::timestamp) - extract(epoch from '2026-07-31 13:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236395)'))) / (select extract(epoch from '2026-07-31 13:59:30'::timestamp) - extract(epoch from '2026-07-31 13:59:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077783 -3.236393)', '2026-07-31 13:59:39', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236393)'))) / (select extract(epoch from '2026-07-31 13:59:39'::timestamp) - extract(epoch from '2026-07-31 13:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236393)'))) / (select extract(epoch from '2026-07-31 13:59:39'::timestamp) - extract(epoch from '2026-07-31 13:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07778 -3.236388)', '2026-07-31 13:59:45', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236393)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236388)'))) / (select extract(epoch from '2026-07-31 13:59:45'::timestamp) - extract(epoch from '2026-07-31 13:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236393)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236388)'))) / (select extract(epoch from '2026-07-31 13:59:45'::timestamp) - extract(epoch from '2026-07-31 13:59:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07778 -3.236388)', '2026-07-31 13:59:52', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236388)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236388)'))) / (select extract(epoch from '2026-07-31 13:59:52'::timestamp) - extract(epoch from '2026-07-31 13:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236388)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236388)'))) / (select extract(epoch from '2026-07-31 13:59:52'::timestamp) - extract(epoch from '2026-07-31 13:59: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'), 47459, 'SRID=4674;POINT (-39.077771 -3.236384)', '2026-07-31 13:59:58', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236388)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236384)'))) / (select extract(epoch from '2026-07-31 13:59:58'::timestamp) - extract(epoch from '2026-07-31 13:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236388)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236384)'))) / (select extract(epoch from '2026-07-31 13:59:58'::timestamp) - extract(epoch from '2026-07-31 13:59:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077776 -3.236378)', '2026-07-31 14:00:04', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236384)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236378)'))) / (select extract(epoch from '2026-07-31 14:00:04'::timestamp) - extract(epoch from '2026-07-31 13:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236384)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236378)'))) / (select extract(epoch from '2026-07-31 14:00:04'::timestamp) - extract(epoch from '2026-07-31 13:59: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'), 47459, 'SRID=4674;POINT (-39.077763 -3.236379)', '2026-07-31 14:00:09', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236378)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236379)'))) / (select extract(epoch from '2026-07-31 14:00:09'::timestamp) - extract(epoch from '2026-07-31 14:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236378)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236379)'))) / (select extract(epoch from '2026-07-31 14:00:09'::timestamp) - extract(epoch from '2026-07-31 14:00: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'), 47459, 'SRID=4674;POINT (-39.077768 -3.236375)', '2026-07-31 14:00:10', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236375)'))) / (select extract(epoch from '2026-07-31 14:00:10'::timestamp) - extract(epoch from '2026-07-31 14:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236375)'))) / (select extract(epoch from '2026-07-31 14:00:10'::timestamp) - extract(epoch from '2026-07-31 14:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077766 -3.236376)', '2026-07-31 14:00:13', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236375)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236376)'))) / (select extract(epoch from '2026-07-31 14:00:13'::timestamp) - extract(epoch from '2026-07-31 14:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236375)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236376)'))) / (select extract(epoch from '2026-07-31 14:00:13'::timestamp) - extract(epoch from '2026-07-31 14:00:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077764 -3.23637)', '2026-07-31 14:00:19', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236376)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.23637)'))) / (select extract(epoch from '2026-07-31 14:00:19'::timestamp) - extract(epoch from '2026-07-31 14:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236376)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.23637)'))) / (select extract(epoch from '2026-07-31 14:00:19'::timestamp) - extract(epoch from '2026-07-31 14:00:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077768 -3.236391)', '2026-07-31 14:00:25', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236391)'))) / (select extract(epoch from '2026-07-31 14:00:25'::timestamp) - extract(epoch from '2026-07-31 14:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236391)'))) / (select extract(epoch from '2026-07-31 14:00:25'::timestamp) - extract(epoch from '2026-07-31 14:00:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07778 -3.236395)', '2026-07-31 14:00:30', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236391)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236395)'))) / (select extract(epoch from '2026-07-31 14:00:30'::timestamp) - extract(epoch from '2026-07-31 14:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236391)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236395)'))) / (select extract(epoch from '2026-07-31 14:00:30'::timestamp) - extract(epoch from '2026-07-31 14:00: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'), 47459, 'SRID=4674;POINT (-39.077788 -3.236396)', '2026-07-31 14:00:32', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236396)'))) / (select extract(epoch from '2026-07-31 14:00:32'::timestamp) - extract(epoch from '2026-07-31 14:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236395)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236396)'))) / (select extract(epoch from '2026-07-31 14:00:32'::timestamp) - extract(epoch from '2026-07-31 14:00:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077783 -3.236404)', '2026-07-31 14:00:39', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236396)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236404)'))) / (select extract(epoch from '2026-07-31 14:00:39'::timestamp) - extract(epoch from '2026-07-31 14:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236396)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236404)'))) / (select extract(epoch from '2026-07-31 14:00:39'::timestamp) - extract(epoch from '2026-07-31 14:00:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077791 -3.236404)', '2026-07-31 14:00:49', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236404)'))) / (select extract(epoch from '2026-07-31 14:00:49'::timestamp) - extract(epoch from '2026-07-31 14:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236404)'))) / (select extract(epoch from '2026-07-31 14:00:49'::timestamp) - extract(epoch from '2026-07-31 14:00:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077796 -3.236411)', '2026-07-31 14:01:00', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236411)'))) / (select extract(epoch from '2026-07-31 14:01:00'::timestamp) - extract(epoch from '2026-07-31 14:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236411)'))) / (select extract(epoch from '2026-07-31 14:01:00'::timestamp) - extract(epoch from '2026-07-31 14:00:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.0778 -3.236423)', '2026-07-31 14:01:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236411)'), GeomFromEWKT('SRID=4674;POINT (-39.0778 -3.236423)'))) / (select extract(epoch from '2026-07-31 14:01:08'::timestamp) - extract(epoch from '2026-07-31 14:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236411)'), GeomFromEWKT('SRID=4674;POINT (-39.0778 -3.236423)'))) / (select extract(epoch from '2026-07-31 14:01:08'::timestamp) - extract(epoch from '2026-07-31 14:01: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'), 47459, 'SRID=4674;POINT (-39.077795 -3.236432)', '2026-07-31 14:01:16', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0778 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236432)'))) / (select extract(epoch from '2026-07-31 14:01:16'::timestamp) - extract(epoch from '2026-07-31 14:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0778 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236432)'))) / (select extract(epoch from '2026-07-31 14:01:16'::timestamp) - extract(epoch from '2026-07-31 14:01: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'), 47459, 'SRID=4674;POINT (-39.077793 -3.236442)', '2026-07-31 14:01:25', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236432)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236442)'))) / (select extract(epoch from '2026-07-31 14:01:25'::timestamp) - extract(epoch from '2026-07-31 14:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236432)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236442)'))) / (select extract(epoch from '2026-07-31 14:01:25'::timestamp) - extract(epoch from '2026-07-31 14:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077781 -3.236446)', '2026-07-31 14:01:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236442)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236446)'))) / (select extract(epoch from '2026-07-31 14:01:36'::timestamp) - extract(epoch from '2026-07-31 14:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236442)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236446)'))) / (select extract(epoch from '2026-07-31 14:01:36'::timestamp) - extract(epoch from '2026-07-31 14:01: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'), 47459, 'SRID=4674;POINT (-39.077775 -3.236439)', '2026-07-31 14:01:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236439)'))) / (select extract(epoch from '2026-07-31 14:01:44'::timestamp) - extract(epoch from '2026-07-31 14:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236439)'))) / (select extract(epoch from '2026-07-31 14:01:44'::timestamp) - extract(epoch from '2026-07-31 14:01: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'), 47459, 'SRID=4674;POINT (-39.077777 -3.236441)', '2026-07-31 14:01:50', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236439)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236441)'))) / (select extract(epoch from '2026-07-31 14:01:50'::timestamp) - extract(epoch from '2026-07-31 14:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236439)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236441)'))) / (select extract(epoch from '2026-07-31 14:01:50'::timestamp) - extract(epoch from '2026-07-31 14:01:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077783 -3.236439)', '2026-07-31 14:01:55', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236439)'))) / (select extract(epoch from '2026-07-31 14:01:55'::timestamp) - extract(epoch from '2026-07-31 14:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236439)'))) / (select extract(epoch from '2026-07-31 14:01:55'::timestamp) - extract(epoch from '2026-07-31 14:01:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077783 -3.236435)', '2026-07-31 14:02:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236439)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236435)'))) / (select extract(epoch from '2026-07-31 14:02:03'::timestamp) - extract(epoch from '2026-07-31 14:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236439)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236435)'))) / (select extract(epoch from '2026-07-31 14:02:03'::timestamp) - extract(epoch from '2026-07-31 14:01: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'), 47459, 'SRID=4674;POINT (-39.07778 -3.236435)', '2026-07-31 14:02:12', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236435)'))) / (select extract(epoch from '2026-07-31 14:02:12'::timestamp) - extract(epoch from '2026-07-31 14:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236435)'))) / (select extract(epoch from '2026-07-31 14:02:12'::timestamp) - extract(epoch from '2026-07-31 14:02: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'), 47459, 'SRID=4674;POINT (-39.07778 -3.236434)', '2026-07-31 14:02:23', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236434)'))) / (select extract(epoch from '2026-07-31 14:02:23'::timestamp) - extract(epoch from '2026-07-31 14:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236434)'))) / (select extract(epoch from '2026-07-31 14:02:23'::timestamp) - extract(epoch from '2026-07-31 14:02: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'), 47459, 'SRID=4674;POINT (-39.077785 -3.236433)', '2026-07-31 14:02:28', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236433)'))) / (select extract(epoch from '2026-07-31 14:02:28'::timestamp) - extract(epoch from '2026-07-31 14:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236433)'))) / (select extract(epoch from '2026-07-31 14:02:28'::timestamp) - extract(epoch from '2026-07-31 14:02:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077773 -3.23643)', '2026-07-31 14:02:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236433)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.23643)'))) / (select extract(epoch from '2026-07-31 14:02:34'::timestamp) - extract(epoch from '2026-07-31 14:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236433)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.23643)'))) / (select extract(epoch from '2026-07-31 14:02:34'::timestamp) - extract(epoch from '2026-07-31 14:02:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077772 -3.236429)', '2026-07-31 14:02:42', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236429)'))) / (select extract(epoch from '2026-07-31 14:02:42'::timestamp) - extract(epoch from '2026-07-31 14:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236429)'))) / (select extract(epoch from '2026-07-31 14:02:42'::timestamp) - extract(epoch from '2026-07-31 14:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077771 -3.236428)', '2026-07-31 14:02:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236429)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236428)'))) / (select extract(epoch from '2026-07-31 14:02:50'::timestamp) - extract(epoch from '2026-07-31 14:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236429)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236428)'))) / (select extract(epoch from '2026-07-31 14:02:50'::timestamp) - extract(epoch from '2026-07-31 14:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077761 -3.236427)', '2026-07-31 14:02:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236427)'))) / (select extract(epoch from '2026-07-31 14:02:56'::timestamp) - extract(epoch from '2026-07-31 14:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236427)'))) / (select extract(epoch from '2026-07-31 14:02:56'::timestamp) - extract(epoch from '2026-07-31 14:02:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077764 -3.236427)', '2026-07-31 14:03:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236427)'))) / (select extract(epoch from '2026-07-31 14:03:01'::timestamp) - extract(epoch from '2026-07-31 14:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236427)'))) / (select extract(epoch from '2026-07-31 14:03:01'::timestamp) - extract(epoch from '2026-07-31 14:02: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'), 47459, 'SRID=4674;POINT (-39.07777 -3.236427)', '2026-07-31 14:03:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236427)'))) / (select extract(epoch from '2026-07-31 14:03:02'::timestamp) - extract(epoch from '2026-07-31 14:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236427)'))) / (select extract(epoch from '2026-07-31 14:03:02'::timestamp) - extract(epoch from '2026-07-31 14:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07778 -3.23642)', '2026-07-31 14:03:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.23642)'))) / (select extract(epoch from '2026-07-31 14:03:06'::timestamp) - extract(epoch from '2026-07-31 14:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.23642)'))) / (select extract(epoch from '2026-07-31 14:03:06'::timestamp) - extract(epoch from '2026-07-31 14:03:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077774 -3.236422)', '2026-07-31 14:03:14', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236422)'))) / (select extract(epoch from '2026-07-31 14:03:14'::timestamp) - extract(epoch from '2026-07-31 14:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236422)'))) / (select extract(epoch from '2026-07-31 14:03:14'::timestamp) - extract(epoch from '2026-07-31 14:03:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077779 -3.236425)', '2026-07-31 14:03:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236422)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236425)'))) / (select extract(epoch from '2026-07-31 14:03:20'::timestamp) - extract(epoch from '2026-07-31 14:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236422)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236425)'))) / (select extract(epoch from '2026-07-31 14:03:20'::timestamp) - extract(epoch from '2026-07-31 14:03:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077778 -3.236422)', '2026-07-31 14:03:26', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236425)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236422)'))) / (select extract(epoch from '2026-07-31 14:03:26'::timestamp) - extract(epoch from '2026-07-31 14:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236425)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236422)'))) / (select extract(epoch from '2026-07-31 14:03:26'::timestamp) - extract(epoch from '2026-07-31 14:03: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'), 47459, 'SRID=4674;POINT (-39.077782 -3.236419)', '2026-07-31 14:03:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236422)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236419)'))) / (select extract(epoch from '2026-07-31 14:03:36'::timestamp) - extract(epoch from '2026-07-31 14:03:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236422)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236419)'))) / (select extract(epoch from '2026-07-31 14:03:36'::timestamp) - extract(epoch from '2026-07-31 14:03:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07778 -3.236419)', '2026-07-31 14:03:38', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236419)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236419)'))) / (select extract(epoch from '2026-07-31 14:03:38'::timestamp) - extract(epoch from '2026-07-31 14:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236419)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236419)'))) / (select extract(epoch from '2026-07-31 14:03:38'::timestamp) - extract(epoch from '2026-07-31 14:03:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077782 -3.23641)', '2026-07-31 14:03:40', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236419)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.23641)'))) / (select extract(epoch from '2026-07-31 14:03:40'::timestamp) - extract(epoch from '2026-07-31 14:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236419)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.23641)'))) / (select extract(epoch from '2026-07-31 14:03:40'::timestamp) - extract(epoch from '2026-07-31 14:03:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077775 -3.236402)', '2026-07-31 14:03:44', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.23641)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236402)'))) / (select extract(epoch from '2026-07-31 14:03:44'::timestamp) - extract(epoch from '2026-07-31 14:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.23641)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236402)'))) / (select extract(epoch from '2026-07-31 14:03:44'::timestamp) - extract(epoch from '2026-07-31 14:03: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'), 47459, 'SRID=4674;POINT (-39.077786 -3.236388)', '2026-07-31 14:03:53', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236402)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236388)'))) / (select extract(epoch from '2026-07-31 14:03:53'::timestamp) - extract(epoch from '2026-07-31 14:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236402)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236388)'))) / (select extract(epoch from '2026-07-31 14:03:53'::timestamp) - extract(epoch from '2026-07-31 14:03:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077782 -3.236386)', '2026-07-31 14:04:02', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236388)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236386)'))) / (select extract(epoch from '2026-07-31 14:04:02'::timestamp) - extract(epoch from '2026-07-31 14:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236388)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236386)'))) / (select extract(epoch from '2026-07-31 14:04:02'::timestamp) - extract(epoch from '2026-07-31 14:03:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077778 -3.236387)', '2026-07-31 14:04:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236386)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236387)'))) / (select extract(epoch from '2026-07-31 14:04:04'::timestamp) - extract(epoch from '2026-07-31 14:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236386)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236387)'))) / (select extract(epoch from '2026-07-31 14:04:04'::timestamp) - extract(epoch from '2026-07-31 14:04: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'), 47459, 'SRID=4674;POINT (-39.07778 -3.236385)', '2026-07-31 14:04:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236387)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236385)'))) / (select extract(epoch from '2026-07-31 14:04:06'::timestamp) - extract(epoch from '2026-07-31 14:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236387)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236385)'))) / (select extract(epoch from '2026-07-31 14:04:06'::timestamp) - extract(epoch from '2026-07-31 14:04: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'), 47459, 'SRID=4674;POINT (-39.077749 -3.236388)', '2026-07-31 14:04:13', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236385)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236388)'))) / (select extract(epoch from '2026-07-31 14:04:13'::timestamp) - extract(epoch from '2026-07-31 14:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236385)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236388)'))) / (select extract(epoch from '2026-07-31 14:04:13'::timestamp) - extract(epoch from '2026-07-31 14:04: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'), 47459, 'SRID=4674;POINT (-39.077764 -3.236388)', '2026-07-31 14:04:20', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236388)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236388)'))) / (select extract(epoch from '2026-07-31 14:04:20'::timestamp) - extract(epoch from '2026-07-31 14:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236388)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236388)'))) / (select extract(epoch from '2026-07-31 14:04:20'::timestamp) - extract(epoch from '2026-07-31 14:04:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077762 -3.236388)', '2026-07-31 14:04:26', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236388)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236388)'))) / (select extract(epoch from '2026-07-31 14:04:26'::timestamp) - extract(epoch from '2026-07-31 14:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236388)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236388)'))) / (select extract(epoch from '2026-07-31 14:04:26'::timestamp) - extract(epoch from '2026-07-31 14:04:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077764 -3.236379)', '2026-07-31 14:04:33', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236388)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236379)'))) / (select extract(epoch from '2026-07-31 14:04:33'::timestamp) - extract(epoch from '2026-07-31 14:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236388)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236379)'))) / (select extract(epoch from '2026-07-31 14:04:33'::timestamp) - extract(epoch from '2026-07-31 14:04: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'), 47459, 'SRID=4674;POINT (-39.07776 -3.236369)', '2026-07-31 14:04:38', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236369)'))) / (select extract(epoch from '2026-07-31 14:04:38'::timestamp) - extract(epoch from '2026-07-31 14:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236369)'))) / (select extract(epoch from '2026-07-31 14:04:38'::timestamp) - extract(epoch from '2026-07-31 14:04:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07776 -3.236366)', '2026-07-31 14:04:45', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236369)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236366)'))) / (select extract(epoch from '2026-07-31 14:04:45'::timestamp) - extract(epoch from '2026-07-31 14:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236369)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236366)'))) / (select extract(epoch from '2026-07-31 14:04:45'::timestamp) - extract(epoch from '2026-07-31 14:04:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077767 -3.23637)', '2026-07-31 14:04:52', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236366)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.23637)'))) / (select extract(epoch from '2026-07-31 14:04:52'::timestamp) - extract(epoch from '2026-07-31 14:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236366)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.23637)'))) / (select extract(epoch from '2026-07-31 14:04:52'::timestamp) - extract(epoch from '2026-07-31 14:04:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077757 -3.236361)', '2026-07-31 14:05:00', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236361)'))) / (select extract(epoch from '2026-07-31 14:05:00'::timestamp) - extract(epoch from '2026-07-31 14:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236361)'))) / (select extract(epoch from '2026-07-31 14:05:00'::timestamp) - extract(epoch from '2026-07-31 14:04: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'), 47459, 'SRID=4674;POINT (-39.077753 -3.236362)', '2026-07-31 14:05:08', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236361)'), GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236362)'))) / (select extract(epoch from '2026-07-31 14:05:08'::timestamp) - extract(epoch from '2026-07-31 14:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236361)'), GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236362)'))) / (select extract(epoch from '2026-07-31 14:05:08'::timestamp) - extract(epoch from '2026-07-31 14:05:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077745 -3.236373)', '2026-07-31 14:05:18', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236362)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236373)'))) / (select extract(epoch from '2026-07-31 14:05:18'::timestamp) - extract(epoch from '2026-07-31 14:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236362)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236373)'))) / (select extract(epoch from '2026-07-31 14:05:18'::timestamp) - extract(epoch from '2026-07-31 14:05:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077749 -3.236377)', '2026-07-31 14:05:27', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236373)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236377)'))) / (select extract(epoch from '2026-07-31 14:05:27'::timestamp) - extract(epoch from '2026-07-31 14:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236373)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236377)'))) / (select extract(epoch from '2026-07-31 14:05:27'::timestamp) - extract(epoch from '2026-07-31 14:05: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'), 47459, 'SRID=4674;POINT (-39.077744 -3.23638)', '2026-07-31 14:05:36', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236377)'), GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.23638)'))) / (select extract(epoch from '2026-07-31 14:05:36'::timestamp) - extract(epoch from '2026-07-31 14:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236377)'), GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.23638)'))) / (select extract(epoch from '2026-07-31 14:05:36'::timestamp) - extract(epoch from '2026-07-31 14:05: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'), 47459, 'SRID=4674;POINT (-39.077745 -3.236375)', '2026-07-31 14:05:43', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.23638)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236375)'))) / (select extract(epoch from '2026-07-31 14:05:43'::timestamp) - extract(epoch from '2026-07-31 14:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.23638)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236375)'))) / (select extract(epoch from '2026-07-31 14:05:43'::timestamp) - extract(epoch from '2026-07-31 14:05:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077737 -3.23637)', '2026-07-31 14:05:50', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236375)'), GeomFromEWKT('SRID=4674;POINT (-39.077737 -3.23637)'))) / (select extract(epoch from '2026-07-31 14:05:50'::timestamp) - extract(epoch from '2026-07-31 14:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236375)'), GeomFromEWKT('SRID=4674;POINT (-39.077737 -3.23637)'))) / (select extract(epoch from '2026-07-31 14:05:50'::timestamp) - extract(epoch from '2026-07-31 14:05: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'), 47459, 'SRID=4674;POINT (-39.077739 -3.236375)', '2026-07-31 14:05:56', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077737 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077739 -3.236375)'))) / (select extract(epoch from '2026-07-31 14:05:56'::timestamp) - extract(epoch from '2026-07-31 14:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077737 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077739 -3.236375)'))) / (select extract(epoch from '2026-07-31 14:05:56'::timestamp) - extract(epoch from '2026-07-31 14:05:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077729 -3.236378)', '2026-07-31 14:06:02', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077739 -3.236375)'), GeomFromEWKT('SRID=4674;POINT (-39.077729 -3.236378)'))) / (select extract(epoch from '2026-07-31 14:06:02'::timestamp) - extract(epoch from '2026-07-31 14:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077739 -3.236375)'), GeomFromEWKT('SRID=4674;POINT (-39.077729 -3.236378)'))) / (select extract(epoch from '2026-07-31 14:06:02'::timestamp) - extract(epoch from '2026-07-31 14:05:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077738 -3.23638)', '2026-07-31 14:06:12', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077729 -3.236378)'), GeomFromEWKT('SRID=4674;POINT (-39.077738 -3.23638)'))) / (select extract(epoch from '2026-07-31 14:06:12'::timestamp) - extract(epoch from '2026-07-31 14:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077729 -3.236378)'), GeomFromEWKT('SRID=4674;POINT (-39.077738 -3.23638)'))) / (select extract(epoch from '2026-07-31 14:06:12'::timestamp) - extract(epoch from '2026-07-31 14:06: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'), 47459, 'SRID=4674;POINT (-39.077746 -3.236368)', '2026-07-31 14:06:19', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077738 -3.23638)'), GeomFromEWKT('SRID=4674;POINT (-39.077746 -3.236368)'))) / (select extract(epoch from '2026-07-31 14:06:19'::timestamp) - extract(epoch from '2026-07-31 14:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077738 -3.23638)'), GeomFromEWKT('SRID=4674;POINT (-39.077746 -3.236368)'))) / (select extract(epoch from '2026-07-31 14:06:19'::timestamp) - extract(epoch from '2026-07-31 14:06:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077743 -3.236374)', '2026-07-31 14:06:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077746 -3.236368)'), GeomFromEWKT('SRID=4674;POINT (-39.077743 -3.236374)'))) / (select extract(epoch from '2026-07-31 14:06:30'::timestamp) - extract(epoch from '2026-07-31 14:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077746 -3.236368)'), GeomFromEWKT('SRID=4674;POINT (-39.077743 -3.236374)'))) / (select extract(epoch from '2026-07-31 14:06:30'::timestamp) - extract(epoch from '2026-07-31 14:06: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'), 47459, 'SRID=4674;POINT (-39.077747 -3.23637)', '2026-07-31 14:06:36', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077743 -3.236374)'), GeomFromEWKT('SRID=4674;POINT (-39.077747 -3.23637)'))) / (select extract(epoch from '2026-07-31 14:06:36'::timestamp) - extract(epoch from '2026-07-31 14:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077743 -3.236374)'), GeomFromEWKT('SRID=4674;POINT (-39.077747 -3.23637)'))) / (select extract(epoch from '2026-07-31 14:06:36'::timestamp) - extract(epoch from '2026-07-31 14:06: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'), 47459, 'SRID=4674;POINT (-39.077745 -3.236357)', '2026-07-31 14:06:41', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077747 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236357)'))) / (select extract(epoch from '2026-07-31 14:06:41'::timestamp) - extract(epoch from '2026-07-31 14:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077747 -3.23637)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236357)'))) / (select extract(epoch from '2026-07-31 14:06:41'::timestamp) - extract(epoch from '2026-07-31 14:06: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'), 47459, 'SRID=4674;POINT (-39.077744 -3.236356)', '2026-07-31 14:06:49', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236357)'), GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236356)'))) / (select extract(epoch from '2026-07-31 14:06:49'::timestamp) - extract(epoch from '2026-07-31 14:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236357)'), GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236356)'))) / (select extract(epoch from '2026-07-31 14:06:49'::timestamp) - extract(epoch from '2026-07-31 14:06: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'), 47459, 'SRID=4674;POINT (-39.077747 -3.236356)', '2026-07-31 14:06:56', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236356)'), GeomFromEWKT('SRID=4674;POINT (-39.077747 -3.236356)'))) / (select extract(epoch from '2026-07-31 14:06:56'::timestamp) - extract(epoch from '2026-07-31 14:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236356)'), GeomFromEWKT('SRID=4674;POINT (-39.077747 -3.236356)'))) / (select extract(epoch from '2026-07-31 14:06:56'::timestamp) - extract(epoch from '2026-07-31 14:06:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077744 -3.236365)', '2026-07-31 14:07:06', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077747 -3.236356)'), GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236365)'))) / (select extract(epoch from '2026-07-31 14:07:06'::timestamp) - extract(epoch from '2026-07-31 14:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077747 -3.236356)'), GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236365)'))) / (select extract(epoch from '2026-07-31 14:07:06'::timestamp) - extract(epoch from '2026-07-31 14:06: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'), 47459, 'SRID=4674;POINT (-39.077744 -3.236383)', '2026-07-31 14:07:14', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236365)'), GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236383)'))) / (select extract(epoch from '2026-07-31 14:07:14'::timestamp) - extract(epoch from '2026-07-31 14:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236365)'), GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236383)'))) / (select extract(epoch from '2026-07-31 14:07:14'::timestamp) - extract(epoch from '2026-07-31 14:07: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'), 47459, 'SRID=4674;POINT (-39.07774 -3.236382)', '2026-07-31 14:07:24', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236383)'), GeomFromEWKT('SRID=4674;POINT (-39.07774 -3.236382)'))) / (select extract(epoch from '2026-07-31 14:07:24'::timestamp) - extract(epoch from '2026-07-31 14:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236383)'), GeomFromEWKT('SRID=4674;POINT (-39.07774 -3.236382)'))) / (select extract(epoch from '2026-07-31 14:07:24'::timestamp) - extract(epoch from '2026-07-31 14:07: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'), 47459, 'SRID=4674;POINT (-39.077735 -3.236386)', '2026-07-31 14:07:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07774 -3.236382)'), GeomFromEWKT('SRID=4674;POINT (-39.077735 -3.236386)'))) / (select extract(epoch from '2026-07-31 14:07:34'::timestamp) - extract(epoch from '2026-07-31 14:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07774 -3.236382)'), GeomFromEWKT('SRID=4674;POINT (-39.077735 -3.236386)'))) / (select extract(epoch from '2026-07-31 14:07:34'::timestamp) - extract(epoch from '2026-07-31 14:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077734 -3.236383)', '2026-07-31 14:07:39', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077735 -3.236386)'), GeomFromEWKT('SRID=4674;POINT (-39.077734 -3.236383)'))) / (select extract(epoch from '2026-07-31 14:07:39'::timestamp) - extract(epoch from '2026-07-31 14:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077735 -3.236386)'), GeomFromEWKT('SRID=4674;POINT (-39.077734 -3.236383)'))) / (select extract(epoch from '2026-07-31 14:07:39'::timestamp) - extract(epoch from '2026-07-31 14:07: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'), 47459, 'SRID=4674;POINT (-39.077746 -3.236386)', '2026-07-31 14:07:50', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077734 -3.236383)'), GeomFromEWKT('SRID=4674;POINT (-39.077746 -3.236386)'))) / (select extract(epoch from '2026-07-31 14:07:50'::timestamp) - extract(epoch from '2026-07-31 14:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077734 -3.236383)'), GeomFromEWKT('SRID=4674;POINT (-39.077746 -3.236386)'))) / (select extract(epoch from '2026-07-31 14:07:50'::timestamp) - extract(epoch from '2026-07-31 14:07: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'), 47459, 'SRID=4674;POINT (-39.077745 -3.236383)', '2026-07-31 14:07:56', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077746 -3.236386)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236383)'))) / (select extract(epoch from '2026-07-31 14:07:56'::timestamp) - extract(epoch from '2026-07-31 14:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077746 -3.236386)'), GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236383)'))) / (select extract(epoch from '2026-07-31 14:07:56'::timestamp) - extract(epoch from '2026-07-31 14:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077764 -3.236382)', '2026-07-31 14:08:03', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236383)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236382)'))) / (select extract(epoch from '2026-07-31 14:08:03'::timestamp) - extract(epoch from '2026-07-31 14:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077745 -3.236383)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236382)'))) / (select extract(epoch from '2026-07-31 14:08:03'::timestamp) - extract(epoch from '2026-07-31 14:07:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077766 -3.236379)', '2026-07-31 14:08:11', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236382)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236379)'))) / (select extract(epoch from '2026-07-31 14:08:11'::timestamp) - extract(epoch from '2026-07-31 14:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236382)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236379)'))) / (select extract(epoch from '2026-07-31 14:08:11'::timestamp) - extract(epoch from '2026-07-31 14:08:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07777 -3.236375)', '2026-07-31 14:08:20', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236375)'))) / (select extract(epoch from '2026-07-31 14:08:20'::timestamp) - extract(epoch from '2026-07-31 14:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236379)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236375)'))) / (select extract(epoch from '2026-07-31 14:08:20'::timestamp) - extract(epoch from '2026-07-31 14:08: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'), 47459, 'SRID=4674;POINT (-39.077774 -3.236368)', '2026-07-31 14:08:28', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236375)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236368)'))) / (select extract(epoch from '2026-07-31 14:08:28'::timestamp) - extract(epoch from '2026-07-31 14:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236375)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236368)'))) / (select extract(epoch from '2026-07-31 14:08:28'::timestamp) - extract(epoch from '2026-07-31 14:08: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'), 47459, 'SRID=4674;POINT (-39.077765 -3.236389)', '2026-07-31 14:08:34', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236368)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236389)'))) / (select extract(epoch from '2026-07-31 14:08:34'::timestamp) - extract(epoch from '2026-07-31 14:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236368)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236389)'))) / (select extract(epoch from '2026-07-31 14:08:34'::timestamp) - extract(epoch from '2026-07-31 14:08: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.236409)', '2026-07-31 14:08:40', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236389)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236409)'))) / (select extract(epoch from '2026-07-31 14:08:40'::timestamp) - extract(epoch from '2026-07-31 14:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236389)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236409)'))) / (select extract(epoch from '2026-07-31 14:08:40'::timestamp) - extract(epoch from '2026-07-31 14:08: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'), 47459, 'SRID=4674;POINT (-39.077775 -3.2364)', '2026-07-31 14:08:45', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236409)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.2364)'))) / (select extract(epoch from '2026-07-31 14:08:45'::timestamp) - extract(epoch from '2026-07-31 14:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236409)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.2364)'))) / (select extract(epoch from '2026-07-31 14:08:45'::timestamp) - extract(epoch from '2026-07-31 14:08: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'), 47459, 'SRID=4674;POINT (-39.077773 -3.236392)', '2026-07-31 14:08:53', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.2364)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236392)'))) / (select extract(epoch from '2026-07-31 14:08:53'::timestamp) - extract(epoch from '2026-07-31 14:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.2364)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236392)'))) / (select extract(epoch from '2026-07-31 14:08:53'::timestamp) - extract(epoch from '2026-07-31 14:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077771 -3.236398)', '2026-07-31 14:08:59', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236392)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236398)'))) / (select extract(epoch from '2026-07-31 14:08:59'::timestamp) - extract(epoch from '2026-07-31 14:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236392)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236398)'))) / (select extract(epoch from '2026-07-31 14:08:59'::timestamp) - extract(epoch from '2026-07-31 14:08: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236399)', '2026-07-31 14:09:07', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236398)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236399)'))) / (select extract(epoch from '2026-07-31 14:09:07'::timestamp) - extract(epoch from '2026-07-31 14:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236398)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236399)'))) / (select extract(epoch from '2026-07-31 14:09:07'::timestamp) - extract(epoch from '2026-07-31 14:08: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'), 47459, 'SRID=4674;POINT (-39.077763 -3.236398)', '2026-07-31 14:09:13', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236399)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236398)'))) / (select extract(epoch from '2026-07-31 14:09:13'::timestamp) - extract(epoch from '2026-07-31 14:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236399)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236398)'))) / (select extract(epoch from '2026-07-31 14:09:13'::timestamp) - extract(epoch from '2026-07-31 14:09: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'), 47459, 'SRID=4674;POINT (-39.07775 -3.236404)', '2026-07-31 14:09:16', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236398)'), GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236404)'))) / (select extract(epoch from '2026-07-31 14:09:16'::timestamp) - extract(epoch from '2026-07-31 14:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236398)'), GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236404)'))) / (select extract(epoch from '2026-07-31 14:09:16'::timestamp) - extract(epoch from '2026-07-31 14:09: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'), 47459, 'SRID=4674;POINT (-39.077738 -3.236407)', '2026-07-31 14:09:18', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.077738 -3.236407)'))) / (select extract(epoch from '2026-07-31 14:09:18'::timestamp) - extract(epoch from '2026-07-31 14:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07775 -3.236404)'), GeomFromEWKT('SRID=4674;POINT (-39.077738 -3.236407)'))) / (select extract(epoch from '2026-07-31 14:09:18'::timestamp) - extract(epoch from '2026-07-31 14:09: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'), 47459, 'SRID=4674;POINT (-39.077749 -3.236421)', '2026-07-31 14:09:28', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077738 -3.236407)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236421)'))) / (select extract(epoch from '2026-07-31 14:09:28'::timestamp) - extract(epoch from '2026-07-31 14:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077738 -3.236407)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236421)'))) / (select extract(epoch from '2026-07-31 14:09:28'::timestamp) - extract(epoch from '2026-07-31 14:09: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236422)', '2026-07-31 14:09:35', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236421)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236422)'))) / (select extract(epoch from '2026-07-31 14:09:35'::timestamp) - extract(epoch from '2026-07-31 14:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236421)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236422)'))) / (select extract(epoch from '2026-07-31 14:09:35'::timestamp) - extract(epoch from '2026-07-31 14:09: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'), 47459, 'SRID=4674;POINT (-39.077763 -3.236424)', '2026-07-31 14:09:40', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236422)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236424)'))) / (select extract(epoch from '2026-07-31 14:09:40'::timestamp) - extract(epoch from '2026-07-31 14:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236422)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236424)'))) / (select extract(epoch from '2026-07-31 14:09:40'::timestamp) - extract(epoch from '2026-07-31 14:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077768 -3.236426)', '2026-07-31 14:09:47', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236424)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236426)'))) / (select extract(epoch from '2026-07-31 14:09:47'::timestamp) - extract(epoch from '2026-07-31 14:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236424)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236426)'))) / (select extract(epoch from '2026-07-31 14:09:47'::timestamp) - extract(epoch from '2026-07-31 14:09: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'), 47459, 'SRID=4674;POINT (-39.077768 -3.236431)', '2026-07-31 14:09:54', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236431)'))) / (select extract(epoch from '2026-07-31 14:09:54'::timestamp) - extract(epoch from '2026-07-31 14:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236431)'))) / (select extract(epoch from '2026-07-31 14:09:54'::timestamp) - extract(epoch from '2026-07-31 14:09: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'), 47459, 'SRID=4674;POINT (-39.07778 -3.236427)', '2026-07-31 14:10:02', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236431)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236427)'))) / (select extract(epoch from '2026-07-31 14:10:02'::timestamp) - extract(epoch from '2026-07-31 14:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236431)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236427)'))) / (select extract(epoch from '2026-07-31 14:10:02'::timestamp) - extract(epoch from '2026-07-31 14:09: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'), 47459, 'SRID=4674;POINT (-39.077786 -3.236434)', '2026-07-31 14:10:11', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236434)'))) / (select extract(epoch from '2026-07-31 14:10:11'::timestamp) - extract(epoch from '2026-07-31 14:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236427)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236434)'))) / (select extract(epoch from '2026-07-31 14:10:11'::timestamp) - extract(epoch from '2026-07-31 14:10: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'), 47459, 'SRID=4674;POINT (-39.077799 -3.236433)', '2026-07-31 14:10:22', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236433)'))) / (select extract(epoch from '2026-07-31 14:10:22'::timestamp) - extract(epoch from '2026-07-31 14:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236433)'))) / (select extract(epoch from '2026-07-31 14:10:22'::timestamp) - extract(epoch from '2026-07-31 14:10:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077787 -3.236436)', '2026-07-31 14:10:29', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236433)'), GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236436)'))) / (select extract(epoch from '2026-07-31 14:10:29'::timestamp) - extract(epoch from '2026-07-31 14:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236433)'), GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236436)'))) / (select extract(epoch from '2026-07-31 14:10:29'::timestamp) - extract(epoch from '2026-07-31 14:10:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077793 -3.236442)', '2026-07-31 14:10:41', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236442)'))) / (select extract(epoch from '2026-07-31 14:10:41'::timestamp) - extract(epoch from '2026-07-31 14:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236442)'))) / (select extract(epoch from '2026-07-31 14:10:41'::timestamp) - extract(epoch from '2026-07-31 14:10: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'), 47459, 'SRID=4674;POINT (-39.077795 -3.236447)', '2026-07-31 14:10:49', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236442)'), GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236447)'))) / (select extract(epoch from '2026-07-31 14:10:49'::timestamp) - extract(epoch from '2026-07-31 14:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077793 -3.236442)'), GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236447)'))) / (select extract(epoch from '2026-07-31 14:10:49'::timestamp) - extract(epoch from '2026-07-31 14:10:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077799 -3.236457)', '2026-07-31 14:10:56', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236447)'), GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236457)'))) / (select extract(epoch from '2026-07-31 14:10:56'::timestamp) - extract(epoch from '2026-07-31 14:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077795 -3.236447)'), GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236457)'))) / (select extract(epoch from '2026-07-31 14:10:56'::timestamp) - extract(epoch from '2026-07-31 14:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077785 -3.236449)', '2026-07-31 14:11:02', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236457)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236449)'))) / (select extract(epoch from '2026-07-31 14:11:02'::timestamp) - extract(epoch from '2026-07-31 14:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077799 -3.236457)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236449)'))) / (select extract(epoch from '2026-07-31 14:11:02'::timestamp) - extract(epoch from '2026-07-31 14:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077796 -3.236438)', '2026-07-31 14:11:10', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236449)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236438)'))) / (select extract(epoch from '2026-07-31 14:11:10'::timestamp) - extract(epoch from '2026-07-31 14:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236449)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236438)'))) / (select extract(epoch from '2026-07-31 14:11:10'::timestamp) - extract(epoch from '2026-07-31 14:11: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'), 47459, 'SRID=4674;POINT (-39.077789 -3.236439)', '2026-07-31 14:11:16', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236439)'))) / (select extract(epoch from '2026-07-31 14:11:16'::timestamp) - extract(epoch from '2026-07-31 14:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236439)'))) / (select extract(epoch from '2026-07-31 14:11:16'::timestamp) - extract(epoch from '2026-07-31 14:11: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'), 47459, 'SRID=4674;POINT (-39.077784 -3.236436)', '2026-07-31 14:11:22', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236439)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236436)'))) / (select extract(epoch from '2026-07-31 14:11:22'::timestamp) - extract(epoch from '2026-07-31 14:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236439)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236436)'))) / (select extract(epoch from '2026-07-31 14:11:22'::timestamp) - extract(epoch from '2026-07-31 14:11:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077786 -3.236442)', '2026-07-31 14:11:31', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236442)'))) / (select extract(epoch from '2026-07-31 14:11:31'::timestamp) - extract(epoch from '2026-07-31 14:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236442)'))) / (select extract(epoch from '2026-07-31 14:11:31'::timestamp) - extract(epoch from '2026-07-31 14:11:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07777 -3.236443)', '2026-07-31 14:11:38', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236442)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236443)'))) / (select extract(epoch from '2026-07-31 14:11:38'::timestamp) - extract(epoch from '2026-07-31 14:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236442)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236443)'))) / (select extract(epoch from '2026-07-31 14:11:38'::timestamp) - extract(epoch from '2026-07-31 14:11: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'), 47459, 'SRID=4674;POINT (-39.07777 -3.236436)', '2026-07-31 14:11:47', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236443)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236436)'))) / (select extract(epoch from '2026-07-31 14:11:47'::timestamp) - extract(epoch from '2026-07-31 14:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236443)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236436)'))) / (select extract(epoch from '2026-07-31 14:11:47'::timestamp) - extract(epoch from '2026-07-31 14:11: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'), 47459, 'SRID=4674;POINT (-39.077779 -3.236433)', '2026-07-31 14:11:57', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236433)'))) / (select extract(epoch from '2026-07-31 14:11:57'::timestamp) - extract(epoch from '2026-07-31 14:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236433)'))) / (select extract(epoch from '2026-07-31 14:11:57'::timestamp) - extract(epoch from '2026-07-31 14:11: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.236426)', '2026-07-31 14:12:05', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236433)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236426)'))) / (select extract(epoch from '2026-07-31 14:12:05'::timestamp) - extract(epoch from '2026-07-31 14:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236433)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236426)'))) / (select extract(epoch from '2026-07-31 14:12:05'::timestamp) - extract(epoch from '2026-07-31 14:11:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077773 -3.236429)', '2026-07-31 14:12:17', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236429)'))) / (select extract(epoch from '2026-07-31 14:12:17'::timestamp) - extract(epoch from '2026-07-31 14:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236429)'))) / (select extract(epoch from '2026-07-31 14:12:17'::timestamp) - extract(epoch from '2026-07-31 14:12: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'), 47459, 'SRID=4674;POINT (-39.077767 -3.236437)', '2026-07-31 14:12:25', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236429)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236437)'))) / (select extract(epoch from '2026-07-31 14:12:25'::timestamp) - extract(epoch from '2026-07-31 14:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236429)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236437)'))) / (select extract(epoch from '2026-07-31 14:12:25'::timestamp) - extract(epoch from '2026-07-31 14:12: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236429)', '2026-07-31 14:12:32', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236437)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236429)'))) / (select extract(epoch from '2026-07-31 14:12:32'::timestamp) - extract(epoch from '2026-07-31 14:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236437)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236429)'))) / (select extract(epoch from '2026-07-31 14:12:32'::timestamp) - extract(epoch from '2026-07-31 14:12: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'), 47459, 'SRID=4674;POINT (-39.07776 -3.236426)', '2026-07-31 14:12:40', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236429)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236426)'))) / (select extract(epoch from '2026-07-31 14:12:40'::timestamp) - extract(epoch from '2026-07-31 14:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236429)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236426)'))) / (select extract(epoch from '2026-07-31 14:12:40'::timestamp) - extract(epoch from '2026-07-31 14:12: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'), 47459, 'SRID=4674;POINT (-39.077756 -3.236426)', '2026-07-31 14:12:49', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236426)'))) / (select extract(epoch from '2026-07-31 14:12:49'::timestamp) - extract(epoch from '2026-07-31 14:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236426)'))) / (select extract(epoch from '2026-07-31 14:12:49'::timestamp) - extract(epoch from '2026-07-31 14:12: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'), 47459, 'SRID=4674;POINT (-39.077779 -3.23641)', '2026-07-31 14:12:56', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23641)'))) / (select extract(epoch from '2026-07-31 14:12:56'::timestamp) - extract(epoch from '2026-07-31 14:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236426)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23641)'))) / (select extract(epoch from '2026-07-31 14:12:56'::timestamp) - extract(epoch from '2026-07-31 14:12: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'), 47459, 'SRID=4674;POINT (-39.077779 -3.236415)', '2026-07-31 14:13:05', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23641)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236415)'))) / (select extract(epoch from '2026-07-31 14:13:05'::timestamp) - extract(epoch from '2026-07-31 14:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23641)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236415)'))) / (select extract(epoch from '2026-07-31 14:13:05'::timestamp) - extract(epoch from '2026-07-31 14:12:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077771 -3.236421)', '2026-07-31 14:13:12', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236415)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236421)'))) / (select extract(epoch from '2026-07-31 14:13:12'::timestamp) - extract(epoch from '2026-07-31 14:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236415)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236421)'))) / (select extract(epoch from '2026-07-31 14:13:12'::timestamp) - extract(epoch from '2026-07-31 14:13: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'), 47459, 'SRID=4674;POINT (-39.077767 -3.236418)', '2026-07-31 14:13:22', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236421)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236418)'))) / (select extract(epoch from '2026-07-31 14:13:22'::timestamp) - extract(epoch from '2026-07-31 14:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236421)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236418)'))) / (select extract(epoch from '2026-07-31 14:13:22'::timestamp) - extract(epoch from '2026-07-31 14:13: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'), 47459, 'SRID=4674;POINT (-39.077773 -3.23642)', '2026-07-31 14:13:28', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236418)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.23642)'))) / (select extract(epoch from '2026-07-31 14:13:28'::timestamp) - extract(epoch from '2026-07-31 14:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236418)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.23642)'))) / (select extract(epoch from '2026-07-31 14:13:28'::timestamp) - extract(epoch from '2026-07-31 14:13: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'), 47459, 'SRID=4674;POINT (-39.077786 -3.236429)', '2026-07-31 14:13:38', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236429)'))) / (select extract(epoch from '2026-07-31 14:13:38'::timestamp) - extract(epoch from '2026-07-31 14:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.23642)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236429)'))) / (select extract(epoch from '2026-07-31 14:13:38'::timestamp) - extract(epoch from '2026-07-31 14:13: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'), 47459, 'SRID=4674;POINT (-39.077781 -3.236435)', '2026-07-31 14:13:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236429)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236435)'))) / (select extract(epoch from '2026-07-31 14:13:47'::timestamp) - extract(epoch from '2026-07-31 14:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236429)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236435)'))) / (select extract(epoch from '2026-07-31 14:13:47'::timestamp) - extract(epoch from '2026-07-31 14:13: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'), 47459, 'SRID=4674;POINT (-39.077773 -3.236441)', '2026-07-31 14:13:54', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236441)'))) / (select extract(epoch from '2026-07-31 14:13:54'::timestamp) - extract(epoch from '2026-07-31 14:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236441)'))) / (select extract(epoch from '2026-07-31 14:13:54'::timestamp) - extract(epoch from '2026-07-31 14:13: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'), 47459, 'SRID=4674;POINT (-39.077754 -3.236434)', '2026-07-31 14:14:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236434)'))) / (select extract(epoch from '2026-07-31 14:14:02'::timestamp) - extract(epoch from '2026-07-31 14:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236434)'))) / (select extract(epoch from '2026-07-31 14:14:02'::timestamp) - extract(epoch from '2026-07-31 14:13: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'), 47459, 'SRID=4674;POINT (-39.077768 -3.236436)', '2026-07-31 14:14:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236436)'))) / (select extract(epoch from '2026-07-31 14:14:07'::timestamp) - extract(epoch from '2026-07-31 14:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236436)'))) / (select extract(epoch from '2026-07-31 14:14:07'::timestamp) - extract(epoch from '2026-07-31 14:14: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'), 47459, 'SRID=4674;POINT (-39.077777 -3.236438)', '2026-07-31 14:14:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236438)'))) / (select extract(epoch from '2026-07-31 14:14:09'::timestamp) - extract(epoch from '2026-07-31 14:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236438)'))) / (select extract(epoch from '2026-07-31 14:14:09'::timestamp) - extract(epoch from '2026-07-31 14:14: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'), 47459, 'SRID=4674;POINT (-39.077775 -3.236434)', '2026-07-31 14:14:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236434)'))) / (select extract(epoch from '2026-07-31 14:14:13'::timestamp) - extract(epoch from '2026-07-31 14:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236434)'))) / (select extract(epoch from '2026-07-31 14:14:13'::timestamp) - extract(epoch from '2026-07-31 14:14: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'), 47459, 'SRID=4674;POINT (-39.077785 -3.236441)', '2026-07-31 14:14:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236441)'))) / (select extract(epoch from '2026-07-31 14:14:20'::timestamp) - extract(epoch from '2026-07-31 14:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236441)'))) / (select extract(epoch from '2026-07-31 14:14:20'::timestamp) - extract(epoch from '2026-07-31 14:14: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'), 47459, 'SRID=4674;POINT (-39.077764 -3.236453)', '2026-07-31 14:14:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236453)'))) / (select extract(epoch from '2026-07-31 14:14:27'::timestamp) - extract(epoch from '2026-07-31 14:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236453)'))) / (select extract(epoch from '2026-07-31 14:14:27'::timestamp) - extract(epoch from '2026-07-31 14:14: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'), 47459, 'SRID=4674;POINT (-39.077756 -3.236449)', '2026-07-31 14:14:38', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236453)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236449)'))) / (select extract(epoch from '2026-07-31 14:14:38'::timestamp) - extract(epoch from '2026-07-31 14:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236453)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236449)'))) / (select extract(epoch from '2026-07-31 14:14:38'::timestamp) - extract(epoch from '2026-07-31 14:14: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'), 47459, 'SRID=4674;POINT (-39.077741 -3.236465)', '2026-07-31 14:14:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236449)'), GeomFromEWKT('SRID=4674;POINT (-39.077741 -3.236465)'))) / (select extract(epoch from '2026-07-31 14:14:46'::timestamp) - extract(epoch from '2026-07-31 14:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236449)'), GeomFromEWKT('SRID=4674;POINT (-39.077741 -3.236465)'))) / (select extract(epoch from '2026-07-31 14:14:46'::timestamp) - extract(epoch from '2026-07-31 14:14:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077746 -3.236466)', '2026-07-31 14:14:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077741 -3.236465)'), GeomFromEWKT('SRID=4674;POINT (-39.077746 -3.236466)'))) / (select extract(epoch from '2026-07-31 14:14:51'::timestamp) - extract(epoch from '2026-07-31 14:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077741 -3.236465)'), GeomFromEWKT('SRID=4674;POINT (-39.077746 -3.236466)'))) / (select extract(epoch from '2026-07-31 14:14:51'::timestamp) - extract(epoch from '2026-07-31 14:14: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'), 47459, 'SRID=4674;POINT (-39.077744 -3.236475)', '2026-07-31 14:14:59', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077746 -3.236466)'), GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236475)'))) / (select extract(epoch from '2026-07-31 14:14:59'::timestamp) - extract(epoch from '2026-07-31 14:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077746 -3.236466)'), GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236475)'))) / (select extract(epoch from '2026-07-31 14:14:59'::timestamp) - extract(epoch from '2026-07-31 14:14: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'), 47459, 'SRID=4674;POINT (-39.077738 -3.236485)', '2026-07-31 14:15:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236475)'), GeomFromEWKT('SRID=4674;POINT (-39.077738 -3.236485)'))) / (select extract(epoch from '2026-07-31 14:15:04'::timestamp) - extract(epoch from '2026-07-31 14:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077744 -3.236475)'), GeomFromEWKT('SRID=4674;POINT (-39.077738 -3.236485)'))) / (select extract(epoch from '2026-07-31 14:15:04'::timestamp) - extract(epoch from '2026-07-31 14:14: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'), 47459, 'SRID=4674;POINT (-39.077757 -3.236491)', '2026-07-31 14:15:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077738 -3.236485)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236491)'))) / (select extract(epoch from '2026-07-31 14:15:15'::timestamp) - extract(epoch from '2026-07-31 14:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077738 -3.236485)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236491)'))) / (select extract(epoch from '2026-07-31 14:15:15'::timestamp) - extract(epoch from '2026-07-31 14:15: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236484)', '2026-07-31 14:15:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236491)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236484)'))) / (select extract(epoch from '2026-07-31 14:15:24'::timestamp) - extract(epoch from '2026-07-31 14:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236491)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236484)'))) / (select extract(epoch from '2026-07-31 14:15:24'::timestamp) - extract(epoch from '2026-07-31 14:15:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077769 -3.236487)', '2026-07-31 14:15:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236484)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236487)'))) / (select extract(epoch from '2026-07-31 14:15:25'::timestamp) - extract(epoch from '2026-07-31 14:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236484)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236487)'))) / (select extract(epoch from '2026-07-31 14:15:25'::timestamp) - extract(epoch from '2026-07-31 14:15: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'), 47459, 'SRID=4674;POINT (-39.077765 -3.236494)', '2026-07-31 14:15:28', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236487)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236494)'))) / (select extract(epoch from '2026-07-31 14:15:28'::timestamp) - extract(epoch from '2026-07-31 14:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236487)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236494)'))) / (select extract(epoch from '2026-07-31 14:15:28'::timestamp) - extract(epoch from '2026-07-31 14:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077779 -3.236466)', '2026-07-31 14:15:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236494)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236466)'))) / (select extract(epoch from '2026-07-31 14:15:35'::timestamp) - extract(epoch from '2026-07-31 14:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236494)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236466)'))) / (select extract(epoch from '2026-07-31 14:15:35'::timestamp) - extract(epoch from '2026-07-31 14:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077781 -3.236444)', '2026-07-31 14:15:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236466)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236444)'))) / (select extract(epoch from '2026-07-31 14:15:44'::timestamp) - extract(epoch from '2026-07-31 14:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236466)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236444)'))) / (select extract(epoch from '2026-07-31 14:15:44'::timestamp) - extract(epoch from '2026-07-31 14:15: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'), 47459, 'SRID=4674;POINT (-39.077781 -3.236454)', '2026-07-31 14:15:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236444)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236454)'))) / (select extract(epoch from '2026-07-31 14:15:55'::timestamp) - extract(epoch from '2026-07-31 14:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236444)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236454)'))) / (select extract(epoch from '2026-07-31 14:15:55'::timestamp) - extract(epoch from '2026-07-31 14:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077786 -3.236451)', '2026-07-31 14:16:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236454)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236451)'))) / (select extract(epoch from '2026-07-31 14:16:01'::timestamp) - extract(epoch from '2026-07-31 14:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236454)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236451)'))) / (select extract(epoch from '2026-07-31 14:16:01'::timestamp) - extract(epoch from '2026-07-31 14:15:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077787 -3.236455)', '2026-07-31 14:16:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236451)'), GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236455)'))) / (select extract(epoch from '2026-07-31 14:16:10'::timestamp) - extract(epoch from '2026-07-31 14:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236451)'), GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236455)'))) / (select extract(epoch from '2026-07-31 14:16:10'::timestamp) - extract(epoch from '2026-07-31 14:16:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077791 -3.236452)', '2026-07-31 14:16:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236455)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236452)'))) / (select extract(epoch from '2026-07-31 14:16:20'::timestamp) - extract(epoch from '2026-07-31 14:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236455)'), GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236452)'))) / (select extract(epoch from '2026-07-31 14:16:20'::timestamp) - extract(epoch from '2026-07-31 14:16: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'), 47459, 'SRID=4674;POINT (-39.077783 -3.236458)', '2026-07-31 14:16:29', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236452)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236458)'))) / (select extract(epoch from '2026-07-31 14:16:29'::timestamp) - extract(epoch from '2026-07-31 14:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077791 -3.236452)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236458)'))) / (select extract(epoch from '2026-07-31 14:16:29'::timestamp) - extract(epoch from '2026-07-31 14:16:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077781 -3.236467)', '2026-07-31 14:16:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236458)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236467)'))) / (select extract(epoch from '2026-07-31 14:16:41'::timestamp) - extract(epoch from '2026-07-31 14:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236458)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236467)'))) / (select extract(epoch from '2026-07-31 14:16:41'::timestamp) - extract(epoch from '2026-07-31 14:16:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07779 -3.236472)', '2026-07-31 14:16:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236467)'), GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236472)'))) / (select extract(epoch from '2026-07-31 14:16:53'::timestamp) - extract(epoch from '2026-07-31 14:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236467)'), GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236472)'))) / (select extract(epoch from '2026-07-31 14:16:53'::timestamp) - extract(epoch from '2026-07-31 14:16: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'), 47459, 'SRID=4674;POINT (-39.077788 -3.236481)', '2026-07-31 14:17:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236472)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236481)'))) / (select extract(epoch from '2026-07-31 14:17:00'::timestamp) - extract(epoch from '2026-07-31 14:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236472)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236481)'))) / (select extract(epoch from '2026-07-31 14:17:00'::timestamp) - extract(epoch from '2026-07-31 14:16:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077788 -3.236484)', '2026-07-31 14:17:10', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236481)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236484)'))) / (select extract(epoch from '2026-07-31 14:17:10'::timestamp) - extract(epoch from '2026-07-31 14:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236481)'), GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236484)'))) / (select extract(epoch from '2026-07-31 14:17:10'::timestamp) - extract(epoch from '2026-07-31 14:17: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'), 47459, 'SRID=4674;POINT (-39.077778 -3.236495)', '2026-07-31 14:17:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236484)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236495)'))) / (select extract(epoch from '2026-07-31 14:17:19'::timestamp) - extract(epoch from '2026-07-31 14:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077788 -3.236484)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236495)'))) / (select extract(epoch from '2026-07-31 14:17:19'::timestamp) - extract(epoch from '2026-07-31 14:17: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'), 47459, 'SRID=4674;POINT (-39.077773 -3.236502)', '2026-07-31 14:17:29', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236495)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236502)'))) / (select extract(epoch from '2026-07-31 14:17:29'::timestamp) - extract(epoch from '2026-07-31 14:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236495)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236502)'))) / (select extract(epoch from '2026-07-31 14:17:29'::timestamp) - extract(epoch from '2026-07-31 14:17: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'), 47459, 'SRID=4674;POINT (-39.077779 -3.236508)', '2026-07-31 14:17:37', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236502)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236508)'))) / (select extract(epoch from '2026-07-31 14:17:37'::timestamp) - extract(epoch from '2026-07-31 14:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236502)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236508)'))) / (select extract(epoch from '2026-07-31 14:17:37'::timestamp) - extract(epoch from '2026-07-31 14:17: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'), 47459, 'SRID=4674;POINT (-39.077784 -3.236506)', '2026-07-31 14:17:48', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236508)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236506)'))) / (select extract(epoch from '2026-07-31 14:17:48'::timestamp) - extract(epoch from '2026-07-31 14:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236508)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236506)'))) / (select extract(epoch from '2026-07-31 14:17:48'::timestamp) - extract(epoch from '2026-07-31 14:17: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'), 47459, 'SRID=4674;POINT (-39.077778 -3.236503)', '2026-07-31 14:17:53', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236506)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236503)'))) / (select extract(epoch from '2026-07-31 14:17:53'::timestamp) - extract(epoch from '2026-07-31 14:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236506)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236503)'))) / (select extract(epoch from '2026-07-31 14:17:53'::timestamp) - extract(epoch from '2026-07-31 14:17: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'), 47459, 'SRID=4674;POINT (-39.07778 -3.2365)', '2026-07-31 14:18:02', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236503)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.2365)'))) / (select extract(epoch from '2026-07-31 14:18:02'::timestamp) - extract(epoch from '2026-07-31 14:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236503)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.2365)'))) / (select extract(epoch from '2026-07-31 14:18:02'::timestamp) - extract(epoch from '2026-07-31 14:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07778 -3.236501)', '2026-07-31 14:18:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.2365)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236501)'))) / (select extract(epoch from '2026-07-31 14:18:08'::timestamp) - extract(epoch from '2026-07-31 14:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.2365)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236501)'))) / (select extract(epoch from '2026-07-31 14:18:08'::timestamp) - extract(epoch from '2026-07-31 14:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07777 -3.236474)', '2026-07-31 14:18:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236501)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236474)'))) / (select extract(epoch from '2026-07-31 14:18:14'::timestamp) - extract(epoch from '2026-07-31 14:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236501)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236474)'))) / (select extract(epoch from '2026-07-31 14:18:14'::timestamp) - extract(epoch from '2026-07-31 14:18: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'), 47459, 'SRID=4674;POINT (-39.077786 -3.236469)', '2026-07-31 14:18:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236474)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236469)'))) / (select extract(epoch from '2026-07-31 14:18:19'::timestamp) - extract(epoch from '2026-07-31 14:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236474)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236469)'))) / (select extract(epoch from '2026-07-31 14:18:19'::timestamp) - extract(epoch from '2026-07-31 14:18: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'), 47459, 'SRID=4674;POINT (-39.077787 -3.236454)', '2026-07-31 14:18:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236469)'), GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236454)'))) / (select extract(epoch from '2026-07-31 14:18:26'::timestamp) - extract(epoch from '2026-07-31 14:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236469)'), GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236454)'))) / (select extract(epoch from '2026-07-31 14:18:26'::timestamp) - extract(epoch from '2026-07-31 14:18: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'), 47459, 'SRID=4674;POINT (-39.077796 -3.236447)', '2026-07-31 14:18:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236454)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236447)'))) / (select extract(epoch from '2026-07-31 14:18:34'::timestamp) - extract(epoch from '2026-07-31 14:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236454)'), GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236447)'))) / (select extract(epoch from '2026-07-31 14:18:34'::timestamp) - extract(epoch from '2026-07-31 14:18:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077789 -3.236462)', '2026-07-31 14:18:43', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236447)'), GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236462)'))) / (select extract(epoch from '2026-07-31 14:18:43'::timestamp) - extract(epoch from '2026-07-31 14:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077796 -3.236447)'), GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236462)'))) / (select extract(epoch from '2026-07-31 14:18:43'::timestamp) - extract(epoch from '2026-07-31 14:18: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'), 47459, 'SRID=4674;POINT (-39.077778 -3.23646)', '2026-07-31 14:18:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.23646)'))) / (select extract(epoch from '2026-07-31 14:18:48'::timestamp) - extract(epoch from '2026-07-31 14:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077789 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.23646)'))) / (select extract(epoch from '2026-07-31 14:18:48'::timestamp) - extract(epoch from '2026-07-31 14:18: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'), 47459, 'SRID=4674;POINT (-39.077761 -3.236459)', '2026-07-31 14:18:59', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.23646)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236459)'))) / (select extract(epoch from '2026-07-31 14:18:59'::timestamp) - extract(epoch from '2026-07-31 14:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.23646)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236459)'))) / (select extract(epoch from '2026-07-31 14:18:59'::timestamp) - extract(epoch from '2026-07-31 14:18: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'), 47459, 'SRID=4674;POINT (-39.077763 -3.236474)', '2026-07-31 14:19:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236459)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236474)'))) / (select extract(epoch from '2026-07-31 14:19:08'::timestamp) - extract(epoch from '2026-07-31 14:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236459)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236474)'))) / (select extract(epoch from '2026-07-31 14:19:08'::timestamp) - extract(epoch from '2026-07-31 14:18: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'), 47459, 'SRID=4674;POINT (-39.077773 -3.236466)', '2026-07-31 14:19:16', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236474)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236466)'))) / (select extract(epoch from '2026-07-31 14:19:16'::timestamp) - extract(epoch from '2026-07-31 14:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236474)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236466)'))) / (select extract(epoch from '2026-07-31 14:19:16'::timestamp) - extract(epoch from '2026-07-31 14:19:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077755 -3.236466)', '2026-07-31 14:19:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236466)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236466)'))) / (select extract(epoch from '2026-07-31 14:19:23'::timestamp) - extract(epoch from '2026-07-31 14:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236466)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236466)'))) / (select extract(epoch from '2026-07-31 14:19:23'::timestamp) - extract(epoch from '2026-07-31 14:19: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'), 47459, 'SRID=4674;POINT (-39.077759 -3.236453)', '2026-07-31 14:19:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236466)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236453)'))) / (select extract(epoch from '2026-07-31 14:19:33'::timestamp) - extract(epoch from '2026-07-31 14:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236466)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236453)'))) / (select extract(epoch from '2026-07-31 14:19:33'::timestamp) - extract(epoch from '2026-07-31 14:19: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'), 47459, 'SRID=4674;POINT (-39.077748 -3.236448)', '2026-07-31 14:19:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236453)'), GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236448)'))) / (select extract(epoch from '2026-07-31 14:19:44'::timestamp) - extract(epoch from '2026-07-31 14:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236453)'), GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236448)'))) / (select extract(epoch from '2026-07-31 14:19:44'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077755 -3.236456)', '2026-07-31 14:19:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236448)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236456)'))) / (select extract(epoch from '2026-07-31 14:19:54'::timestamp) - extract(epoch from '2026-07-31 14:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236448)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236456)'))) / (select extract(epoch from '2026-07-31 14:19:54'::timestamp) - extract(epoch from '2026-07-31 14:19:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077756 -3.236455)', '2026-07-31 14:20:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236456)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236455)'))) / (select extract(epoch from '2026-07-31 14:20:03'::timestamp) - extract(epoch from '2026-07-31 14:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236456)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236455)'))) / (select extract(epoch from '2026-07-31 14:20:03'::timestamp) - extract(epoch from '2026-07-31 14:19:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077746 -3.236454)', '2026-07-31 14:20:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236455)'), GeomFromEWKT('SRID=4674;POINT (-39.077746 -3.236454)'))) / (select extract(epoch from '2026-07-31 14:20:09'::timestamp) - extract(epoch from '2026-07-31 14:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236455)'), GeomFromEWKT('SRID=4674;POINT (-39.077746 -3.236454)'))) / (select extract(epoch from '2026-07-31 14:20:09'::timestamp) - extract(epoch from '2026-07-31 14:20: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'), 47459, 'SRID=4674;POINT (-39.077755 -3.236462)', '2026-07-31 14:20:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077746 -3.236454)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236462)'))) / (select extract(epoch from '2026-07-31 14:20:16'::timestamp) - extract(epoch from '2026-07-31 14:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077746 -3.236454)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236462)'))) / (select extract(epoch from '2026-07-31 14:20:16'::timestamp) - extract(epoch from '2026-07-31 14:20: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'), 47459, 'SRID=4674;POINT (-39.077758 -3.236464)', '2026-07-31 14:20:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236464)'))) / (select extract(epoch from '2026-07-31 14:20:21'::timestamp) - extract(epoch from '2026-07-31 14:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236462)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236464)'))) / (select extract(epoch from '2026-07-31 14:20:21'::timestamp) - extract(epoch from '2026-07-31 14:20: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'), 47459, 'SRID=4674;POINT (-39.077767 -3.236445)', '2026-07-31 14:20:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236464)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236445)'))) / (select extract(epoch from '2026-07-31 14:20:31'::timestamp) - extract(epoch from '2026-07-31 14:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236464)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236445)'))) / (select extract(epoch from '2026-07-31 14:20:31'::timestamp) - extract(epoch from '2026-07-31 14:20:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077767 -3.236445)', '2026-07-31 14:20:38', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236445)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236445)'))) / (select extract(epoch from '2026-07-31 14:20:38'::timestamp) - extract(epoch from '2026-07-31 14:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236445)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236445)'))) / (select extract(epoch from '2026-07-31 14:20:38'::timestamp) - extract(epoch from '2026-07-31 14:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077772 -3.236445)', '2026-07-31 14:20:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236445)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236445)'))) / (select extract(epoch from '2026-07-31 14:20:43'::timestamp) - extract(epoch from '2026-07-31 14:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236445)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236445)'))) / (select extract(epoch from '2026-07-31 14:20:43'::timestamp) - extract(epoch from '2026-07-31 14:20:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077779 -3.23645)', '2026-07-31 14:20:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236445)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23645)'))) / (select extract(epoch from '2026-07-31 14:20:55'::timestamp) - extract(epoch from '2026-07-31 14:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236445)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23645)'))) / (select extract(epoch from '2026-07-31 14:20:55'::timestamp) - extract(epoch from '2026-07-31 14:20: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'), 47459, 'SRID=4674;POINT (-39.077775 -3.236446)', '2026-07-31 14:21:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23645)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236446)'))) / (select extract(epoch from '2026-07-31 14:21:01'::timestamp) - extract(epoch from '2026-07-31 14:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23645)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236446)'))) / (select extract(epoch from '2026-07-31 14:21:01'::timestamp) - extract(epoch from '2026-07-31 14:20: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'), 47459, 'SRID=4674;POINT (-39.077779 -3.23645)', '2026-07-31 14:21:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23645)'))) / (select extract(epoch from '2026-07-31 14:21:07'::timestamp) - extract(epoch from '2026-07-31 14:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23645)'))) / (select extract(epoch from '2026-07-31 14:21:07'::timestamp) - extract(epoch from '2026-07-31 14:21: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'), 47459, 'SRID=4674;POINT (-39.077775 -3.236446)', '2026-07-31 14:21:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23645)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236446)'))) / (select extract(epoch from '2026-07-31 14:21:12'::timestamp) - extract(epoch from '2026-07-31 14:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.23645)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236446)'))) / (select extract(epoch from '2026-07-31 14:21:12'::timestamp) - extract(epoch from '2026-07-31 14:21: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'), 47459, 'SRID=4674;POINT (-39.077781 -3.236444)', '2026-07-31 14:21:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236444)'))) / (select extract(epoch from '2026-07-31 14:21:23'::timestamp) - extract(epoch from '2026-07-31 14:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236444)'))) / (select extract(epoch from '2026-07-31 14:21:23'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.07778 -3.236444)', '2026-07-31 14:21:30', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236444)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236444)'))) / (select extract(epoch from '2026-07-31 14:21:30'::timestamp) - extract(epoch from '2026-07-31 14:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236444)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236444)'))) / (select extract(epoch from '2026-07-31 14:21:30'::timestamp) - extract(epoch from '2026-07-31 14:21:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077779 -3.236441)', '2026-07-31 14:21:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236444)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236441)'))) / (select extract(epoch from '2026-07-31 14:21:35'::timestamp) - extract(epoch from '2026-07-31 14:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236444)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236441)'))) / (select extract(epoch from '2026-07-31 14:21:35'::timestamp) - extract(epoch from '2026-07-31 14:21: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'), 47459, 'SRID=4674;POINT (-39.077771 -3.236445)', '2026-07-31 14:21:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236445)'))) / (select extract(epoch from '2026-07-31 14:21:44'::timestamp) - extract(epoch from '2026-07-31 14:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236441)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236445)'))) / (select extract(epoch from '2026-07-31 14:21:44'::timestamp) - extract(epoch from '2026-07-31 14:21:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07777 -3.236452)', '2026-07-31 14:21:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236445)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236452)'))) / (select extract(epoch from '2026-07-31 14:21:58'::timestamp) - extract(epoch from '2026-07-31 14:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236445)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236452)'))) / (select extract(epoch from '2026-07-31 14:21:58'::timestamp) - extract(epoch from '2026-07-31 14:21:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077763 -3.236455)', '2026-07-31 14:22:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236452)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236455)'))) / (select extract(epoch from '2026-07-31 14:22:05'::timestamp) - extract(epoch from '2026-07-31 14:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236452)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236455)'))) / (select extract(epoch from '2026-07-31 14:22:05'::timestamp) - extract(epoch from '2026-07-31 14:21: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'), 47459, 'SRID=4674;POINT (-39.077756 -3.236454)', '2026-07-31 14:22:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236455)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236454)'))) / (select extract(epoch from '2026-07-31 14:22:06'::timestamp) - extract(epoch from '2026-07-31 14:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236455)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236454)'))) / (select extract(epoch from '2026-07-31 14:22:06'::timestamp) - extract(epoch from '2026-07-31 14:22:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077749 -3.236446)', '2026-07-31 14:22:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236454)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236446)'))) / (select extract(epoch from '2026-07-31 14:22:10'::timestamp) - extract(epoch from '2026-07-31 14:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236454)'), GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236446)'))) / (select extract(epoch from '2026-07-31 14:22:10'::timestamp) - extract(epoch from '2026-07-31 14:22: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'), 47459, 'SRID=4674;POINT (-39.077706 -3.236434)', '2026-07-31 14:22:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077706 -3.236434)'))) / (select extract(epoch from '2026-07-31 14:22:13'::timestamp) - extract(epoch from '2026-07-31 14:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077749 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.077706 -3.236434)'))) / (select extract(epoch from '2026-07-31 14:22:13'::timestamp) - extract(epoch from '2026-07-31 14:22:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077717 -3.23643)', '2026-07-31 14:22:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077706 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077717 -3.23643)'))) / (select extract(epoch from '2026-07-31 14:22:17'::timestamp) - extract(epoch from '2026-07-31 14:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077706 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077717 -3.23643)'))) / (select extract(epoch from '2026-07-31 14:22:17'::timestamp) - extract(epoch from '2026-07-31 14:22: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'), 47459, 'SRID=4674;POINT (-39.077727 -3.236434)', '2026-07-31 14:22:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077717 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077727 -3.236434)'))) / (select extract(epoch from '2026-07-31 14:22:23'::timestamp) - extract(epoch from '2026-07-31 14:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077717 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077727 -3.236434)'))) / (select extract(epoch from '2026-07-31 14:22:23'::timestamp) - extract(epoch from '2026-07-31 14:22: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'), 47459, 'SRID=4674;POINT (-39.077757 -3.236444)', '2026-07-31 14:22:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077727 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236444)'))) / (select extract(epoch from '2026-07-31 14:22:30'::timestamp) - extract(epoch from '2026-07-31 14:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077727 -3.236434)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236444)'))) / (select extract(epoch from '2026-07-31 14:22:30'::timestamp) - extract(epoch from '2026-07-31 14:22: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'), 47459, 'SRID=4674;POINT (-39.077751 -3.236438)', '2026-07-31 14:22:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236444)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236438)'))) / (select extract(epoch from '2026-07-31 14:22:37'::timestamp) - extract(epoch from '2026-07-31 14:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236444)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236438)'))) / (select extract(epoch from '2026-07-31 14:22:37'::timestamp) - extract(epoch from '2026-07-31 14:22: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'), 47459, 'SRID=4674;POINT (-39.077748 -3.236431)', '2026-07-31 14:22:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236431)'))) / (select extract(epoch from '2026-07-31 14:22:45'::timestamp) - extract(epoch from '2026-07-31 14:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236431)'))) / (select extract(epoch from '2026-07-31 14:22:45'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077748 -3.236438)', '2026-07-31 14:22:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236431)'), GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236438)'))) / (select extract(epoch from '2026-07-31 14:22:54'::timestamp) - extract(epoch from '2026-07-31 14:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236431)'), GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236438)'))) / (select extract(epoch from '2026-07-31 14:22:54'::timestamp) - extract(epoch from '2026-07-31 14:22:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077751 -3.236438)', '2026-07-31 14:23:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236438)'))) / (select extract(epoch from '2026-07-31 14:23:03'::timestamp) - extract(epoch from '2026-07-31 14:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077748 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236438)'))) / (select extract(epoch from '2026-07-31 14:23:03'::timestamp) - extract(epoch from '2026-07-31 14:22: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'), 47459, 'SRID=4674;POINT (-39.077753 -3.236435)', '2026-07-31 14:23:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236435)'))) / (select extract(epoch from '2026-07-31 14:23:08'::timestamp) - extract(epoch from '2026-07-31 14:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236435)'))) / (select extract(epoch from '2026-07-31 14:23:08'::timestamp) - extract(epoch from '2026-07-31 14:23: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'), 47459, 'SRID=4674;POINT (-39.077751 -3.23643)', '2026-07-31 14:23:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.23643)'))) / (select extract(epoch from '2026-07-31 14:23:16'::timestamp) - extract(epoch from '2026-07-31 14:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077753 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.23643)'))) / (select extract(epoch from '2026-07-31 14:23:16'::timestamp) - extract(epoch from '2026-07-31 14:23: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'), 47459, 'SRID=4674;POINT (-39.077756 -3.236428)', '2026-07-31 14:23:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236428)'))) / (select extract(epoch from '2026-07-31 14:23:18'::timestamp) - extract(epoch from '2026-07-31 14:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236428)'))) / (select extract(epoch from '2026-07-31 14:23:18'::timestamp) - extract(epoch from '2026-07-31 14:23: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'), 47459, 'SRID=4674;POINT (-39.077759 -3.236423)', '2026-07-31 14:23:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236423)'))) / (select extract(epoch from '2026-07-31 14:23:20'::timestamp) - extract(epoch from '2026-07-31 14:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077756 -3.236428)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236423)'))) / (select extract(epoch from '2026-07-31 14:23:20'::timestamp) - extract(epoch from '2026-07-31 14:23: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.23643)', '2026-07-31 14:23:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.23643)'))) / (select extract(epoch from '2026-07-31 14:23:25'::timestamp) - extract(epoch from '2026-07-31 14:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236423)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.23643)'))) / (select extract(epoch from '2026-07-31 14:23:25'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236435)', '2026-07-31 14:23:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236435)'))) / (select extract(epoch from '2026-07-31 14:23:30'::timestamp) - extract(epoch from '2026-07-31 14:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236435)'))) / (select extract(epoch from '2026-07-31 14:23:30'::timestamp) - extract(epoch from '2026-07-31 14:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077778 -3.236438)', '2026-07-31 14:23:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236438)'))) / (select extract(epoch from '2026-07-31 14:23:37'::timestamp) - extract(epoch from '2026-07-31 14:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236438)'))) / (select extract(epoch from '2026-07-31 14:23:37'::timestamp) - extract(epoch from '2026-07-31 14:23: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'), 47459, 'SRID=4674;POINT (-39.077765 -3.23644)', '2026-07-31 14:23:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.23644)'))) / (select extract(epoch from '2026-07-31 14:23:44'::timestamp) - extract(epoch from '2026-07-31 14:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.23644)'))) / (select extract(epoch from '2026-07-31 14:23:44'::timestamp) - extract(epoch from '2026-07-31 14:23: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'), 47459, 'SRID=4674;POINT (-39.077766 -3.236447)', '2026-07-31 14:23:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.23644)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236447)'))) / (select extract(epoch from '2026-07-31 14:23:52'::timestamp) - extract(epoch from '2026-07-31 14:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.23644)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236447)'))) / (select extract(epoch from '2026-07-31 14:23:52'::timestamp) - extract(epoch from '2026-07-31 14:23:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077768 -3.236461)', '2026-07-31 14:24:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236447)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236461)'))) / (select extract(epoch from '2026-07-31 14:24:02'::timestamp) - extract(epoch from '2026-07-31 14:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236447)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236461)'))) / (select extract(epoch from '2026-07-31 14:24:02'::timestamp) - extract(epoch from '2026-07-31 14:23: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'), 47459, 'SRID=4674;POINT (-39.077774 -3.236451)', '2026-07-31 14:24:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236461)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236451)'))) / (select extract(epoch from '2026-07-31 14:24:10'::timestamp) - extract(epoch from '2026-07-31 14:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236461)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236451)'))) / (select extract(epoch from '2026-07-31 14:24:10'::timestamp) - extract(epoch from '2026-07-31 14:24:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07778 -3.23645)', '2026-07-31 14:24:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236451)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.23645)'))) / (select extract(epoch from '2026-07-31 14:24:19'::timestamp) - extract(epoch from '2026-07-31 14:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236451)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.23645)'))) / (select extract(epoch from '2026-07-31 14:24:19'::timestamp) - extract(epoch from '2026-07-31 14:24:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077786 -3.236454)', '2026-07-31 14:24:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.23645)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236454)'))) / (select extract(epoch from '2026-07-31 14:24:27'::timestamp) - extract(epoch from '2026-07-31 14:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.23645)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236454)'))) / (select extract(epoch from '2026-07-31 14:24:27'::timestamp) - extract(epoch from '2026-07-31 14:24: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.23646)', '2026-07-31 14:25:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236454)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.23646)'))) / (select extract(epoch from '2026-07-31 14:25:27'::timestamp) - extract(epoch from '2026-07-31 14:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236454)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.23646)'))) / (select extract(epoch from '2026-07-31 14:25:27'::timestamp) - extract(epoch from '2026-07-31 14:24:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077778 -3.236463)', '2026-07-31 14:25:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.23646)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236463)'))) / (select extract(epoch from '2026-07-31 14:25:33'::timestamp) - extract(epoch from '2026-07-31 14:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.23646)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236463)'))) / (select extract(epoch from '2026-07-31 14:25:33'::timestamp) - extract(epoch from '2026-07-31 14:25: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'), 47459, 'SRID=4674;POINT (-39.077781 -3.236458)', '2026-07-31 14:25:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236463)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236458)'))) / (select extract(epoch from '2026-07-31 14:25:46'::timestamp) - extract(epoch from '2026-07-31 14:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236463)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236458)'))) / (select extract(epoch from '2026-07-31 14:25:46'::timestamp) - extract(epoch from '2026-07-31 14:25: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'), 47459, 'SRID=4674;POINT (-39.07779 -3.236473)', '2026-07-31 14:25:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236458)'), GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236473)'))) / (select extract(epoch from '2026-07-31 14:25:59'::timestamp) - extract(epoch from '2026-07-31 14:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236458)'), GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236473)'))) / (select extract(epoch from '2026-07-31 14:25:59'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077785 -3.236477)', '2026-07-31 14:26:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236473)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236477)'))) / (select extract(epoch from '2026-07-31 14:26:06'::timestamp) - extract(epoch from '2026-07-31 14:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236473)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236477)'))) / (select extract(epoch from '2026-07-31 14:26:06'::timestamp) - extract(epoch from '2026-07-31 14:25: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'), 47459, 'SRID=4674;POINT (-39.077771 -3.236465)', '2026-07-31 14:26:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236477)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236465)'))) / (select extract(epoch from '2026-07-31 14:26:18'::timestamp) - extract(epoch from '2026-07-31 14:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236477)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236465)'))) / (select extract(epoch from '2026-07-31 14:26:18'::timestamp) - extract(epoch from '2026-07-31 14:26: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'), 47459, 'SRID=4674;POINT (-39.077774 -3.236465)', '2026-07-31 14:26:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236465)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236465)'))) / (select extract(epoch from '2026-07-31 14:26:26'::timestamp) - extract(epoch from '2026-07-31 14:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236465)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236465)'))) / (select extract(epoch from '2026-07-31 14:26:26'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236463)', '2026-07-31 14:26:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236465)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236463)'))) / (select extract(epoch from '2026-07-31 14:26:34'::timestamp) - extract(epoch from '2026-07-31 14:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236465)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236463)'))) / (select extract(epoch from '2026-07-31 14:26:34'::timestamp) - extract(epoch from '2026-07-31 14:26: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'), 47459, 'SRID=4674;POINT (-39.077774 -3.236459)', '2026-07-31 14:26:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236463)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236459)'))) / (select extract(epoch from '2026-07-31 14:26:45'::timestamp) - extract(epoch from '2026-07-31 14:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236463)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236459)'))) / (select extract(epoch from '2026-07-31 14:26:45'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236458)', '2026-07-31 14:26:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236459)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236458)'))) / (select extract(epoch from '2026-07-31 14:26:51'::timestamp) - extract(epoch from '2026-07-31 14:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236459)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236458)'))) / (select extract(epoch from '2026-07-31 14:26:51'::timestamp) - extract(epoch from '2026-07-31 14:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077768 -3.236474)', '2026-07-31 14:27:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236458)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236474)'))) / (select extract(epoch from '2026-07-31 14:27:00'::timestamp) - extract(epoch from '2026-07-31 14:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236458)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236474)'))) / (select extract(epoch from '2026-07-31 14:27:00'::timestamp) - extract(epoch from '2026-07-31 14:26:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077767 -3.236477)', '2026-07-31 14:27:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236474)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236477)'))) / (select extract(epoch from '2026-07-31 14:27:02'::timestamp) - extract(epoch from '2026-07-31 14:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236474)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236477)'))) / (select extract(epoch from '2026-07-31 14:27:02'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077767 -3.236477)', '2026-07-31 14:27:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236477)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236477)'))) / (select extract(epoch from '2026-07-31 14:27:04'::timestamp) - extract(epoch from '2026-07-31 14:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236477)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236477)'))) / (select extract(epoch from '2026-07-31 14:27:04'::timestamp) - extract(epoch from '2026-07-31 14:27: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'), 47459, 'SRID=4674;POINT (-39.077759 -3.236469)', '2026-07-31 14:27:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236477)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236469)'))) / (select extract(epoch from '2026-07-31 14:27:10'::timestamp) - extract(epoch from '2026-07-31 14:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236477)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236469)'))) / (select extract(epoch from '2026-07-31 14:27:10'::timestamp) - extract(epoch from '2026-07-31 14:27:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077764 -3.236468)', '2026-07-31 14:27:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236469)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236468)'))) / (select extract(epoch from '2026-07-31 14:27:15'::timestamp) - extract(epoch from '2026-07-31 14:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236469)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236468)'))) / (select extract(epoch from '2026-07-31 14:27:15'::timestamp) - extract(epoch from '2026-07-31 14:27:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07776 -3.236468)', '2026-07-31 14:27:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236468)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236468)'))) / (select extract(epoch from '2026-07-31 14:27:21'::timestamp) - extract(epoch from '2026-07-31 14:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236468)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236468)'))) / (select extract(epoch from '2026-07-31 14:27:21'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077767 -3.23646)', '2026-07-31 14:27:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236468)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.23646)'))) / (select extract(epoch from '2026-07-31 14:27:29'::timestamp) - extract(epoch from '2026-07-31 14:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236468)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.23646)'))) / (select extract(epoch from '2026-07-31 14:27:29'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077764 -3.236466)', '2026-07-31 14:27:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.23646)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236466)'))) / (select extract(epoch from '2026-07-31 14:27:41'::timestamp) - extract(epoch from '2026-07-31 14:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.23646)'), GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236466)'))) / (select extract(epoch from '2026-07-31 14:27:41'::timestamp) - extract(epoch from '2026-07-31 14:27: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'), 47459, 'SRID=4674;POINT (-39.077765 -3.236468)', '2026-07-31 14:27:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236466)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236468)'))) / (select extract(epoch from '2026-07-31 14:27:47'::timestamp) - extract(epoch from '2026-07-31 14:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077764 -3.236466)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236468)'))) / (select extract(epoch from '2026-07-31 14:27:47'::timestamp) - extract(epoch from '2026-07-31 14:27:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077767 -3.236467)', '2026-07-31 14:27:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236468)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236467)'))) / (select extract(epoch from '2026-07-31 14:27:53'::timestamp) - extract(epoch from '2026-07-31 14:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236468)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236467)'))) / (select extract(epoch from '2026-07-31 14:27:53'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.23647)', '2026-07-31 14:28:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236467)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.23647)'))) / (select extract(epoch from '2026-07-31 14:28:01'::timestamp) - extract(epoch from '2026-07-31 14:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236467)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.23647)'))) / (select extract(epoch from '2026-07-31 14:28:01'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077766 -3.236468)', '2026-07-31 14:28:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.23647)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236468)'))) / (select extract(epoch from '2026-07-31 14:28:07'::timestamp) - extract(epoch from '2026-07-31 14:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.23647)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236468)'))) / (select extract(epoch from '2026-07-31 14:28:07'::timestamp) - extract(epoch from '2026-07-31 14:28:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077754 -3.236461)', '2026-07-31 14:28:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236468)'), GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236461)'))) / (select extract(epoch from '2026-07-31 14:28:16'::timestamp) - extract(epoch from '2026-07-31 14:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236468)'), GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236461)'))) / (select extract(epoch from '2026-07-31 14:28:16'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077773 -3.23643)', '2026-07-31 14:29:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236461)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.23643)'))) / (select extract(epoch from '2026-07-31 14:29:34'::timestamp) - extract(epoch from '2026-07-31 14:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236461)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.23643)'))) / (select extract(epoch from '2026-07-31 14:29:34'::timestamp) - extract(epoch from '2026-07-31 14:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077786 -3.23644)', '2026-07-31 14:29:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.23644)'))) / (select extract(epoch from '2026-07-31 14:29:44'::timestamp) - extract(epoch from '2026-07-31 14:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.23643)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.23644)'))) / (select extract(epoch from '2026-07-31 14:29:44'::timestamp) - extract(epoch from '2026-07-31 14:29:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077781 -3.236438)', '2026-07-31 14:29:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.23644)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236438)'))) / (select extract(epoch from '2026-07-31 14:29:48'::timestamp) - extract(epoch from '2026-07-31 14:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.23644)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236438)'))) / (select extract(epoch from '2026-07-31 14:29:48'::timestamp) - extract(epoch from '2026-07-31 14:29: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'), 47459, 'SRID=4674;POINT (-39.077783 -3.236436)', '2026-07-31 14:29:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236436)'))) / (select extract(epoch from '2026-07-31 14:29:56'::timestamp) - extract(epoch from '2026-07-31 14:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236438)'), GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236436)'))) / (select extract(epoch from '2026-07-31 14:29:56'::timestamp) - extract(epoch from '2026-07-31 14:29: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'), 47459, 'SRID=4674;POINT (-39.077779 -3.236435)', '2026-07-31 14:30:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236435)'))) / (select extract(epoch from '2026-07-31 14:30:01'::timestamp) - extract(epoch from '2026-07-31 14:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077783 -3.236436)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236435)'))) / (select extract(epoch from '2026-07-31 14:30:01'::timestamp) - extract(epoch from '2026-07-31 14:29: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'), 47459, 'SRID=4674;POINT (-39.077778 -3.236432)', '2026-07-31 14:30:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236432)'))) / (select extract(epoch from '2026-07-31 14:30:10'::timestamp) - extract(epoch from '2026-07-31 14:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.236435)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236432)'))) / (select extract(epoch from '2026-07-31 14:30:10'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077782 -3.23644)', '2026-07-31 14:30:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236432)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.23644)'))) / (select extract(epoch from '2026-07-31 14:30:15'::timestamp) - extract(epoch from '2026-07-31 14:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236432)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.23644)'))) / (select extract(epoch from '2026-07-31 14:30:15'::timestamp) - extract(epoch from '2026-07-31 14:30:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077785 -3.236446)', '2026-07-31 14:30:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.23644)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236446)'))) / (select extract(epoch from '2026-07-31 14:30:22'::timestamp) - extract(epoch from '2026-07-31 14:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.23644)'), GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236446)'))) / (select extract(epoch from '2026-07-31 14:30:22'::timestamp) - extract(epoch from '2026-07-31 14:30: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'), 47459, 'SRID=4674;POINT (-39.07778 -3.236457)', '2026-07-31 14:30:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236457)'))) / (select extract(epoch from '2026-07-31 14:30:26'::timestamp) - extract(epoch from '2026-07-31 14:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077785 -3.236446)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236457)'))) / (select extract(epoch from '2026-07-31 14:30:26'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077774 -3.23645)', '2026-07-31 14:30:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236457)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.23645)'))) / (select extract(epoch from '2026-07-31 14:30:33'::timestamp) - extract(epoch from '2026-07-31 14:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236457)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.23645)'))) / (select extract(epoch from '2026-07-31 14:30:33'::timestamp) - extract(epoch from '2026-07-31 14:30: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236455)', '2026-07-31 14:30:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.23645)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236455)'))) / (select extract(epoch from '2026-07-31 14:30:40'::timestamp) - extract(epoch from '2026-07-31 14:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.23645)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236455)'))) / (select extract(epoch from '2026-07-31 14:30:40'::timestamp) - extract(epoch from '2026-07-31 14:30: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'), 47459, 'SRID=4674;POINT (-39.07777 -3.236459)', '2026-07-31 14:30:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236455)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236459)'))) / (select extract(epoch from '2026-07-31 14:30:47'::timestamp) - extract(epoch from '2026-07-31 14:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236455)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236459)'))) / (select extract(epoch from '2026-07-31 14:30:47'::timestamp) - extract(epoch from '2026-07-31 14:30:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077774 -3.23646)', '2026-07-31 14:30:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236459)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.23646)'))) / (select extract(epoch from '2026-07-31 14:30:53'::timestamp) - extract(epoch from '2026-07-31 14:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236459)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.23646)'))) / (select extract(epoch from '2026-07-31 14:30:53'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077782 -3.236463)', '2026-07-31 14:30:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.23646)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236463)'))) / (select extract(epoch from '2026-07-31 14:30:58'::timestamp) - extract(epoch from '2026-07-31 14:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.23646)'), GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236463)'))) / (select extract(epoch from '2026-07-31 14:30:58'::timestamp) - extract(epoch from '2026-07-31 14:30: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'), 47459, 'SRID=4674;POINT (-39.07778 -3.236461)', '2026-07-31 14:31:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236463)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236461)'))) / (select extract(epoch from '2026-07-31 14:31:07'::timestamp) - extract(epoch from '2026-07-31 14:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077782 -3.236463)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236461)'))) / (select extract(epoch from '2026-07-31 14:31:07'::timestamp) - extract(epoch from '2026-07-31 14:30:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07778 -3.236458)', '2026-07-31 14:31:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236461)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236458)'))) / (select extract(epoch from '2026-07-31 14:31:12'::timestamp) - extract(epoch from '2026-07-31 14:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236461)'), GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236458)'))) / (select extract(epoch from '2026-07-31 14:31:12'::timestamp) - extract(epoch from '2026-07-31 14:31: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'), 47459, 'SRID=4674;POINT (-39.077781 -3.236456)', '2026-07-31 14:31:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236458)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236456)'))) / (select extract(epoch from '2026-07-31 14:31:22'::timestamp) - extract(epoch from '2026-07-31 14:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07778 -3.236458)'), GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236456)'))) / (select extract(epoch from '2026-07-31 14:31:22'::timestamp) - extract(epoch from '2026-07-31 14:31: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'), 47459, 'SRID=4674;POINT (-39.077803 -3.236464)', '2026-07-31 14:31:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236456)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236464)'))) / (select extract(epoch from '2026-07-31 14:31:31'::timestamp) - extract(epoch from '2026-07-31 14:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077781 -3.236456)'), GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236464)'))) / (select extract(epoch from '2026-07-31 14:31:31'::timestamp) - extract(epoch from '2026-07-31 14:31:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07779 -3.236468)', '2026-07-31 14:31:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236464)'), GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236468)'))) / (select extract(epoch from '2026-07-31 14:31:41'::timestamp) - extract(epoch from '2026-07-31 14:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077803 -3.236464)'), GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236468)'))) / (select extract(epoch from '2026-07-31 14:31:41'::timestamp) - extract(epoch from '2026-07-31 14:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077792 -3.236475)', '2026-07-31 14:31:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236468)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236475)'))) / (select extract(epoch from '2026-07-31 14:31:47'::timestamp) - extract(epoch from '2026-07-31 14:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07779 -3.236468)'), GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236475)'))) / (select extract(epoch from '2026-07-31 14:31:47'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077797 -3.236472)', '2026-07-31 14:31:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236475)'), GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236472)'))) / (select extract(epoch from '2026-07-31 14:31:53'::timestamp) - extract(epoch from '2026-07-31 14:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077792 -3.236475)'), GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236472)'))) / (select extract(epoch from '2026-07-31 14:31:53'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077786 -3.236475)', '2026-07-31 14:32:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236472)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236475)'))) / (select extract(epoch from '2026-07-31 14:32:01'::timestamp) - extract(epoch from '2026-07-31 14:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077797 -3.236472)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236475)'))) / (select extract(epoch from '2026-07-31 14:32:01'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077784 -3.236471)', '2026-07-31 14:32:09', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236475)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236471)'))) / (select extract(epoch from '2026-07-31 14:32:09'::timestamp) - extract(epoch from '2026-07-31 14:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236475)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236471)'))) / (select extract(epoch from '2026-07-31 14:32:09'::timestamp) - extract(epoch from '2026-07-31 14:32:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077784 -3.236475)', '2026-07-31 14:32:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236471)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236475)'))) / (select extract(epoch from '2026-07-31 14:32:18'::timestamp) - extract(epoch from '2026-07-31 14:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236471)'), GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236475)'))) / (select extract(epoch from '2026-07-31 14:32:18'::timestamp) - extract(epoch from '2026-07-31 14:32: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'), 47459, 'SRID=4674;POINT (-39.077773 -3.236474)', '2026-07-31 14:32:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236475)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236474)'))) / (select extract(epoch from '2026-07-31 14:32:35'::timestamp) - extract(epoch from '2026-07-31 14:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077784 -3.236475)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236474)'))) / (select extract(epoch from '2026-07-31 14:32:35'::timestamp) - extract(epoch from '2026-07-31 14:32: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'), 47459, 'SRID=4674;POINT (-39.077772 -3.236474)', '2026-07-31 14:32:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236474)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236474)'))) / (select extract(epoch from '2026-07-31 14:32:43'::timestamp) - extract(epoch from '2026-07-31 14:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.236474)'), GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236474)'))) / (select extract(epoch from '2026-07-31 14:32:43'::timestamp) - extract(epoch from '2026-07-31 14:32: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'), 47459, 'SRID=4674;POINT (-39.077778 -3.236478)', '2026-07-31 14:32:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236474)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236478)'))) / (select extract(epoch from '2026-07-31 14:32:50'::timestamp) - extract(epoch from '2026-07-31 14:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077772 -3.236474)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236478)'))) / (select extract(epoch from '2026-07-31 14:32:50'::timestamp) - extract(epoch from '2026-07-31 14:32: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236485)', '2026-07-31 14:33:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236478)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236485)'))) / (select extract(epoch from '2026-07-31 14:33:00'::timestamp) - extract(epoch from '2026-07-31 14:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236478)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236485)'))) / (select extract(epoch from '2026-07-31 14:33:00'::timestamp) - extract(epoch from '2026-07-31 14:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077771 -3.236478)', '2026-07-31 14:33:05', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236485)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236478)'))) / (select extract(epoch from '2026-07-31 14:33:05'::timestamp) - extract(epoch from '2026-07-31 14:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236485)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236478)'))) / (select extract(epoch from '2026-07-31 14:33:05'::timestamp) - extract(epoch from '2026-07-31 14:33: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'), 47459, 'SRID=4674;POINT (-39.077774 -3.236475)', '2026-07-31 14:33:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236478)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236475)'))) / (select extract(epoch from '2026-07-31 14:33:09'::timestamp) - extract(epoch from '2026-07-31 14:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236478)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236475)'))) / (select extract(epoch from '2026-07-31 14:33:09'::timestamp) - extract(epoch from '2026-07-31 14:33: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236477)', '2026-07-31 14:33:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236475)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236477)'))) / (select extract(epoch from '2026-07-31 14:33:16'::timestamp) - extract(epoch from '2026-07-31 14:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236475)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236477)'))) / (select extract(epoch from '2026-07-31 14:33:16'::timestamp) - extract(epoch from '2026-07-31 14:33: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236474)', '2026-07-31 14:33:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236477)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236474)'))) / (select extract(epoch from '2026-07-31 14:33:25'::timestamp) - extract(epoch from '2026-07-31 14:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236477)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236474)'))) / (select extract(epoch from '2026-07-31 14:33:25'::timestamp) - extract(epoch from '2026-07-31 14:33: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'), 47459, 'SRID=4674;POINT (-39.077766 -3.236467)', '2026-07-31 14:33:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236474)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236467)'))) / (select extract(epoch from '2026-07-31 14:33:32'::timestamp) - extract(epoch from '2026-07-31 14:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236474)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236467)'))) / (select extract(epoch from '2026-07-31 14:33:32'::timestamp) - extract(epoch from '2026-07-31 14:33: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'), 47459, 'SRID=4674;POINT (-39.077767 -3.236465)', '2026-07-31 14:33:38', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236467)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236465)'))) / (select extract(epoch from '2026-07-31 14:33:38'::timestamp) - extract(epoch from '2026-07-31 14:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236467)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236465)'))) / (select extract(epoch from '2026-07-31 14:33:38'::timestamp) - extract(epoch from '2026-07-31 14:33:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077761 -3.236455)', '2026-07-31 14:33:43', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236465)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236455)'))) / (select extract(epoch from '2026-07-31 14:33:43'::timestamp) - extract(epoch from '2026-07-31 14:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.236465)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236455)'))) / (select extract(epoch from '2026-07-31 14:33:43'::timestamp) - extract(epoch from '2026-07-31 14:33: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'), 47459, 'SRID=4674;POINT (-39.07777 -3.236459)', '2026-07-31 14:33:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236455)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236459)'))) / (select extract(epoch from '2026-07-31 14:33:49'::timestamp) - extract(epoch from '2026-07-31 14:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236455)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236459)'))) / (select extract(epoch from '2026-07-31 14:33:49'::timestamp) - extract(epoch from '2026-07-31 14:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077771 -3.236456)', '2026-07-31 14:33:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236459)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236456)'))) / (select extract(epoch from '2026-07-31 14:33:56'::timestamp) - extract(epoch from '2026-07-31 14:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236459)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236456)'))) / (select extract(epoch from '2026-07-31 14:33:56'::timestamp) - extract(epoch from '2026-07-31 14:33:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077771 -3.236453)', '2026-07-31 14:33:59', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236456)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236453)'))) / (select extract(epoch from '2026-07-31 14:33:59'::timestamp) - extract(epoch from '2026-07-31 14:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236456)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236453)'))) / (select extract(epoch from '2026-07-31 14:33:59'::timestamp) - extract(epoch from '2026-07-31 14:33: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'), 47459, 'SRID=4674;POINT (-39.07776 -3.236453)', '2026-07-31 14:34:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236453)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236453)'))) / (select extract(epoch from '2026-07-31 14:34:01'::timestamp) - extract(epoch from '2026-07-31 14:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236453)'), GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236453)'))) / (select extract(epoch from '2026-07-31 14:34:01'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077751 -3.236453)', '2026-07-31 14:34:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236453)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236453)'))) / (select extract(epoch from '2026-07-31 14:34:09'::timestamp) - extract(epoch from '2026-07-31 14:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07776 -3.236453)'), GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236453)'))) / (select extract(epoch from '2026-07-31 14:34:09'::timestamp) - extract(epoch from '2026-07-31 14:34: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'), 47459, 'SRID=4674;POINT (-39.077768 -3.236461)', '2026-07-31 14:34:18', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236453)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236461)'))) / (select extract(epoch from '2026-07-31 14:34:18'::timestamp) - extract(epoch from '2026-07-31 14:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077751 -3.236453)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236461)'))) / (select extract(epoch from '2026-07-31 14:34:18'::timestamp) - extract(epoch from '2026-07-31 14:34:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077771 -3.236472)', '2026-07-31 14:34:31', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236461)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236472)'))) / (select extract(epoch from '2026-07-31 14:34:31'::timestamp) - extract(epoch from '2026-07-31 14:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236461)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236472)'))) / (select extract(epoch from '2026-07-31 14:34:31'::timestamp) - extract(epoch from '2026-07-31 14:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077787 -3.236476)', '2026-07-31 14:34:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236472)'), GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236476)'))) / (select extract(epoch from '2026-07-31 14:34:41'::timestamp) - extract(epoch from '2026-07-31 14:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236472)'), GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236476)'))) / (select extract(epoch from '2026-07-31 14:34:41'::timestamp) - extract(epoch from '2026-07-31 14:34: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'), 47459, 'SRID=4674;POINT (-39.077787 -3.236474)', '2026-07-31 14:34:52', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236476)'), GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236474)'))) / (select extract(epoch from '2026-07-31 14:34:52'::timestamp) - extract(epoch from '2026-07-31 14:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236476)'), GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236474)'))) / (select extract(epoch from '2026-07-31 14:34:52'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077776 -3.236485)', '2026-07-31 14:35:00', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236474)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236485)'))) / (select extract(epoch from '2026-07-31 14:35:00'::timestamp) - extract(epoch from '2026-07-31 14:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077787 -3.236474)'), GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236485)'))) / (select extract(epoch from '2026-07-31 14:35:00'::timestamp) - extract(epoch from '2026-07-31 14:34: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'), 47459, 'SRID=4674;POINT (-39.077775 -3.236493)', '2026-07-31 14:35:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236485)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236493)'))) / (select extract(epoch from '2026-07-31 14:35:07'::timestamp) - extract(epoch from '2026-07-31 14:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077776 -3.236485)'), GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236493)'))) / (select extract(epoch from '2026-07-31 14:35:07'::timestamp) - extract(epoch from '2026-07-31 14:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07777 -3.236505)', '2026-07-31 14:35:15', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236493)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236505)'))) / (select extract(epoch from '2026-07-31 14:35:15'::timestamp) - extract(epoch from '2026-07-31 14:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077775 -3.236493)'), GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236505)'))) / (select extract(epoch from '2026-07-31 14:35:15'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.236502)', '2026-07-31 14:35:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236505)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236502)'))) / (select extract(epoch from '2026-07-31 14:35:25'::timestamp) - extract(epoch from '2026-07-31 14:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07777 -3.236505)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236502)'))) / (select extract(epoch from '2026-07-31 14:35:25'::timestamp) - extract(epoch from '2026-07-31 14:35: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'), 47459, 'SRID=4674;POINT (-39.077771 -3.236498)', '2026-07-31 14:35:31', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236502)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236498)'))) / (select extract(epoch from '2026-07-31 14:35:31'::timestamp) - extract(epoch from '2026-07-31 14:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.236502)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236498)'))) / (select extract(epoch from '2026-07-31 14:35:31'::timestamp) - extract(epoch from '2026-07-31 14:35: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'), 47459, 'SRID=4674;POINT (-39.077763 -3.236502)', '2026-07-31 14:35:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236498)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236502)'))) / (select extract(epoch from '2026-07-31 14:35:39'::timestamp) - extract(epoch from '2026-07-31 14:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236498)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236502)'))) / (select extract(epoch from '2026-07-31 14:35:39'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077765 -3.236498)', '2026-07-31 14:35:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236502)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236498)'))) / (select extract(epoch from '2026-07-31 14:35:48'::timestamp) - extract(epoch from '2026-07-31 14:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236502)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236498)'))) / (select extract(epoch from '2026-07-31 14:35:48'::timestamp) - extract(epoch from '2026-07-31 14:35:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077757 -3.236491)', '2026-07-31 14:35:55', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236498)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236491)'))) / (select extract(epoch from '2026-07-31 14:35:55'::timestamp) - extract(epoch from '2026-07-31 14:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236498)'), GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236491)'))) / (select extract(epoch from '2026-07-31 14:35:55'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077773 -3.23649)', '2026-07-31 14:36:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236491)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.23649)'))) / (select extract(epoch from '2026-07-31 14:36:04'::timestamp) - extract(epoch from '2026-07-31 14:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077757 -3.236491)'), GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.23649)'))) / (select extract(epoch from '2026-07-31 14:36:04'::timestamp) - extract(epoch from '2026-07-31 14:35: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'), 47459, 'SRID=4674;POINT (-39.077777 -3.236496)', '2026-07-31 14:36:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.23649)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236496)'))) / (select extract(epoch from '2026-07-31 14:36:15'::timestamp) - extract(epoch from '2026-07-31 14:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077773 -3.23649)'), GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236496)'))) / (select extract(epoch from '2026-07-31 14:36:15'::timestamp) - extract(epoch from '2026-07-31 14:36:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077779 -3.2365)', '2026-07-31 14:36:30', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236496)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.2365)'))) / (select extract(epoch from '2026-07-31 14:36:30'::timestamp) - extract(epoch from '2026-07-31 14:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077777 -3.236496)'), GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.2365)'))) / (select extract(epoch from '2026-07-31 14:36:30'::timestamp) - extract(epoch from '2026-07-31 14:36: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'), 47459, 'SRID=4674;POINT (-39.077794 -3.236504)', '2026-07-31 14:36:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.2365)'), GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236504)'))) / (select extract(epoch from '2026-07-31 14:36:37'::timestamp) - extract(epoch from '2026-07-31 14:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077779 -3.2365)'), GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236504)'))) / (select extract(epoch from '2026-07-31 14:36:37'::timestamp) - extract(epoch from '2026-07-31 14:36: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'), 47459, 'SRID=4674;POINT (-39.077786 -3.236506)', '2026-07-31 14:36:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236504)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236506)'))) / (select extract(epoch from '2026-07-31 14:36:46'::timestamp) - extract(epoch from '2026-07-31 14:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077794 -3.236504)'), GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236506)'))) / (select extract(epoch from '2026-07-31 14:36:46'::timestamp) - extract(epoch from '2026-07-31 14:36: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'), 47459, 'SRID=4674;POINT (-39.077778 -3.236503)', '2026-07-31 14:36:55', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236506)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236503)'))) / (select extract(epoch from '2026-07-31 14:36:55'::timestamp) - extract(epoch from '2026-07-31 14:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077786 -3.236506)'), GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236503)'))) / (select extract(epoch from '2026-07-31 14:36:55'::timestamp) - extract(epoch from '2026-07-31 14:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077774 -3.236499)', '2026-07-31 14:37:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236503)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236499)'))) / (select extract(epoch from '2026-07-31 14:37:06'::timestamp) - extract(epoch from '2026-07-31 14:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077778 -3.236503)'), GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236499)'))) / (select extract(epoch from '2026-07-31 14:37:06'::timestamp) - extract(epoch from '2026-07-31 14:36: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236499)', '2026-07-31 14:37:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236499)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236499)'))) / (select extract(epoch from '2026-07-31 14:37:14'::timestamp) - extract(epoch from '2026-07-31 14:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077774 -3.236499)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236499)'))) / (select extract(epoch from '2026-07-31 14:37:14'::timestamp) - extract(epoch from '2026-07-31 14:37: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236495)', '2026-07-31 14:37:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236499)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236495)'))) / (select extract(epoch from '2026-07-31 14:37:21'::timestamp) - extract(epoch from '2026-07-31 14:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236499)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236495)'))) / (select extract(epoch from '2026-07-31 14:37:21'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077762 -3.236493)', '2026-07-31 14:37:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236495)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236493)'))) / (select extract(epoch from '2026-07-31 14:37:28'::timestamp) - extract(epoch from '2026-07-31 14:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236495)'), GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236493)'))) / (select extract(epoch from '2026-07-31 14:37:28'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077769 -3.23648)', '2026-07-31 14:37:37', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236493)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.23648)'))) / (select extract(epoch from '2026-07-31 14:37:37'::timestamp) - extract(epoch from '2026-07-31 14:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077762 -3.236493)'), GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.23648)'))) / (select extract(epoch from '2026-07-31 14:37:37'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077768 -3.236483)', '2026-07-31 14:37:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.23648)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236483)'))) / (select extract(epoch from '2026-07-31 14:37:45'::timestamp) - extract(epoch from '2026-07-31 14:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077769 -3.23648)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236483)'))) / (select extract(epoch from '2026-07-31 14:37:45'::timestamp) - extract(epoch from '2026-07-31 14:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077768 -3.236484)', '2026-07-31 14:37:58', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236483)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236484)'))) / (select extract(epoch from '2026-07-31 14:37:58'::timestamp) - extract(epoch from '2026-07-31 14:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236483)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236484)'))) / (select extract(epoch from '2026-07-31 14:37:58'::timestamp) - extract(epoch from '2026-07-31 14:37:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077768 -3.236489)', '2026-07-31 14:38:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236484)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236489)'))) / (select extract(epoch from '2026-07-31 14:38:07'::timestamp) - extract(epoch from '2026-07-31 14:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236484)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236489)'))) / (select extract(epoch from '2026-07-31 14:38:07'::timestamp) - extract(epoch from '2026-07-31 14:37: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'), 47459, 'SRID=4674;POINT (-39.077765 -3.236488)', '2026-07-31 14:38:15', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236489)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236488)'))) / (select extract(epoch from '2026-07-31 14:38:15'::timestamp) - extract(epoch from '2026-07-31 14:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236489)'), GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236488)'))) / (select extract(epoch from '2026-07-31 14:38:15'::timestamp) - extract(epoch from '2026-07-31 14:38:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077766 -3.236489)', '2026-07-31 14:38:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236488)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236489)'))) / (select extract(epoch from '2026-07-31 14:38:26'::timestamp) - extract(epoch from '2026-07-31 14:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077765 -3.236488)'), GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236489)'))) / (select extract(epoch from '2026-07-31 14:38:26'::timestamp) - extract(epoch from '2026-07-31 14:38:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077754 -3.236499)', '2026-07-31 14:38:35', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236489)'), GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236499)'))) / (select extract(epoch from '2026-07-31 14:38:35'::timestamp) - extract(epoch from '2026-07-31 14:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077766 -3.236489)'), GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236499)'))) / (select extract(epoch from '2026-07-31 14:38:35'::timestamp) - extract(epoch from '2026-07-31 14:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077759 -3.236507)', '2026-07-31 14:38:45', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236499)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236507)'))) / (select extract(epoch from '2026-07-31 14:38:45'::timestamp) - extract(epoch from '2026-07-31 14:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077754 -3.236499)'), GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236507)'))) / (select extract(epoch from '2026-07-31 14:38:45'::timestamp) - extract(epoch from '2026-07-31 14:38: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'), 47459, 'SRID=4674;POINT (-39.077752 -3.236509)', '2026-07-31 14:38:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236507)'), GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236509)'))) / (select extract(epoch from '2026-07-31 14:38:52'::timestamp) - extract(epoch from '2026-07-31 14:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077759 -3.236507)'), GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236509)'))) / (select extract(epoch from '2026-07-31 14:38:52'::timestamp) - extract(epoch from '2026-07-31 14:38: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'), 47459, 'SRID=4674;POINT (-39.077767 -3.23651)', '2026-07-31 14:38:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236509)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.23651)'))) / (select extract(epoch from '2026-07-31 14:38:59'::timestamp) - extract(epoch from '2026-07-31 14:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077752 -3.236509)'), GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.23651)'))) / (select extract(epoch from '2026-07-31 14:38:59'::timestamp) - extract(epoch from '2026-07-31 14:38: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'), 47459, 'SRID=4674;POINT (-39.077768 -3.236515)', '2026-07-31 14:39:04', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.23651)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236515)'))) / (select extract(epoch from '2026-07-31 14:39:04'::timestamp) - extract(epoch from '2026-07-31 14:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077767 -3.23651)'), GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236515)'))) / (select extract(epoch from '2026-07-31 14:39:04'::timestamp) - extract(epoch from '2026-07-31 14:38:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077758 -3.236518)', '2026-07-31 14:39:05', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236515)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236518)'))) / (select extract(epoch from '2026-07-31 14:39:05'::timestamp) - extract(epoch from '2026-07-31 14:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077768 -3.236515)'), GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236518)'))) / (select extract(epoch from '2026-07-31 14:39:05'::timestamp) - extract(epoch from '2026-07-31 14:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077761 -3.236518)', '2026-07-31 14:39:09', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236518)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236518)'))) / (select extract(epoch from '2026-07-31 14:39:09'::timestamp) - extract(epoch from '2026-07-31 14:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077758 -3.236518)'), GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236518)'))) / (select extract(epoch from '2026-07-31 14:39:09'::timestamp) - extract(epoch from '2026-07-31 14:39: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'), 47459, 'SRID=4674;POINT (-39.077771 -3.236522)', '2026-07-31 14:39:14', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236518)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236522)'))) / (select extract(epoch from '2026-07-31 14:39:14'::timestamp) - extract(epoch from '2026-07-31 14:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077761 -3.236518)'), GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236522)'))) / (select extract(epoch from '2026-07-31 14:39:14'::timestamp) - extract(epoch from '2026-07-31 14:39:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077763 -3.236524)', '2026-07-31 14:39:23', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236522)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236524)'))) / (select extract(epoch from '2026-07-31 14:39:23'::timestamp) - extract(epoch from '2026-07-31 14:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077771 -3.236522)'), GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236524)'))) / (select extract(epoch from '2026-07-31 14:39:23'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077755 -3.236534)', '2026-07-31 14:39:33', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236524)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236534)'))) / (select extract(epoch from '2026-07-31 14:39:33'::timestamp) - extract(epoch from '2026-07-31 14:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077763 -3.236524)'), GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236534)'))) / (select extract(epoch from '2026-07-31 14:39:33'::timestamp) - extract(epoch from '2026-07-31 14:39: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'), 47459, 'SRID=4674;POINT (-39.077741 -3.236533)', '2026-07-31 14:39:42', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236534)'), GeomFromEWKT('SRID=4674;POINT (-39.077741 -3.236533)'))) / (select extract(epoch from '2026-07-31 14:39:42'::timestamp) - extract(epoch from '2026-07-31 14:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077755 -3.236534)'), GeomFromEWKT('SRID=4674;POINT (-39.077741 -3.236533)'))) / (select extract(epoch from '2026-07-31 14:39:42'::timestamp) - extract(epoch from '2026-07-31 14:39: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'), 47459, 'SRID=4674;POINT (-39.077704 -3.236537)', '2026-07-31 14:39:50', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077741 -3.236533)'), GeomFromEWKT('SRID=4674;POINT (-39.077704 -3.236537)'))) / (select extract(epoch from '2026-07-31 14:39:50'::timestamp) - extract(epoch from '2026-07-31 14:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077741 -3.236533)'), GeomFromEWKT('SRID=4674;POINT (-39.077704 -3.236537)'))) / (select extract(epoch from '2026-07-31 14:39:50'::timestamp) - extract(epoch from '2026-07-31 14:39:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.07765 -3.236538)', '2026-07-31 14:39:59', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077704 -3.236537)'), GeomFromEWKT('SRID=4674;POINT (-39.07765 -3.236538)'))) / (select extract(epoch from '2026-07-31 14:39:59'::timestamp) - extract(epoch from '2026-07-31 14:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077704 -3.236537)'), GeomFromEWKT('SRID=4674;POINT (-39.07765 -3.236538)'))) / (select extract(epoch from '2026-07-31 14:39:59'::timestamp) - extract(epoch from '2026-07-31 14:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077587 -3.236521)', '2026-07-31 14:40:10', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07765 -3.236538)'), GeomFromEWKT('SRID=4674;POINT (-39.077587 -3.236521)'))) / (select extract(epoch from '2026-07-31 14:40:10'::timestamp) - extract(epoch from '2026-07-31 14:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.07765 -3.236538)'), GeomFromEWKT('SRID=4674;POINT (-39.077587 -3.236521)'))) / (select extract(epoch from '2026-07-31 14:40:10'::timestamp) - extract(epoch from '2026-07-31 14:39: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'), 47459, 'SRID=4674;POINT (-39.077529 -3.236527)', '2026-07-31 14:40:20', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077587 -3.236521)'), GeomFromEWKT('SRID=4674;POINT (-39.077529 -3.236527)'))) / (select extract(epoch from '2026-07-31 14:40:20'::timestamp) - extract(epoch from '2026-07-31 14:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077587 -3.236521)'), GeomFromEWKT('SRID=4674;POINT (-39.077529 -3.236527)'))) / (select extract(epoch from '2026-07-31 14:40:20'::timestamp) - extract(epoch from '2026-07-31 14:40: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'), 47459, 'SRID=4674;POINT (-39.077485 -3.236544)', '2026-07-31 14:40:29', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077529 -3.236527)'), GeomFromEWKT('SRID=4674;POINT (-39.077485 -3.236544)'))) / (select extract(epoch from '2026-07-31 14:40:29'::timestamp) - extract(epoch from '2026-07-31 14:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077529 -3.236527)'), GeomFromEWKT('SRID=4674;POINT (-39.077485 -3.236544)'))) / (select extract(epoch from '2026-07-31 14:40:29'::timestamp) - extract(epoch from '2026-07-31 14:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47459, 'SRID=4674;POINT (-39.077424 -3.236549)', '2026-07-31 14:40:39', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077485 -3.236544)'), GeomFromEWKT('SRID=4674;POINT (-39.077424 -3.236549)'))) / (select extract(epoch from '2026-07-31 14:40:39'::timestamp) - extract(epoch from '2026-07-31 14:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077485 -3.236544)'), GeomFromEWKT('SRID=4674;POINT (-39.077424 -3.236549)'))) / (select extract(epoch from '2026-07-31 14:40:39'::timestamp) - extract(epoch from '2026-07-31 14: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'), 47459, 'SRID=4674;POINT (-39.077373 -3.236557)', '2026-07-31 14:40:51', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077424 -3.236549)'), GeomFromEWKT('SRID=4674;POINT (-39.077373 -3.236557)'))) / (select extract(epoch from '2026-07-31 14:40:51'::timestamp) - extract(epoch from '2026-07-31 14:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.077424 -3.236549)'), GeomFromEWKT('SRID=4674;POINT (-39.077373 -3.236557)'))) / (select extract(epoch from '2026-07-31 14:40:51'::timestamp) - extract(epoch from '2026-07-31 14:40:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
