 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565811 -3.424718)', '2026-05-27 12:55:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565757 -3.424758)'), GeomFromEWKT('SRID=4674;POINT (-38.565811 -3.424718)'))) / (select extract(epoch from '2026-05-27 12:55:53'::timestamp) - extract(epoch from '2026-05-27 12:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565757 -3.424758)'), GeomFromEWKT('SRID=4674;POINT (-38.565811 -3.424718)'))) / (select extract(epoch from '2026-05-27 12:55:53'::timestamp) - extract(epoch from '2026-05-27 12: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'), 46535, 'SRID=4674;POINT (-38.565857 -3.424687)', '2026-05-27 12:55:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565811 -3.424718)'), GeomFromEWKT('SRID=4674;POINT (-38.565857 -3.424687)'))) / (select extract(epoch from '2026-05-27 12:55:59'::timestamp) - extract(epoch from '2026-05-27 12:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565811 -3.424718)'), GeomFromEWKT('SRID=4674;POINT (-38.565857 -3.424687)'))) / (select extract(epoch from '2026-05-27 12:55:59'::timestamp) - extract(epoch from '2026-05-27 12:55:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565864 -3.424681)', '2026-05-27 12:56:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565857 -3.424687)'), GeomFromEWKT('SRID=4674;POINT (-38.565864 -3.424681)'))) / (select extract(epoch from '2026-05-27 12:56:00'::timestamp) - extract(epoch from '2026-05-27 12:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565857 -3.424687)'), GeomFromEWKT('SRID=4674;POINT (-38.565864 -3.424681)'))) / (select extract(epoch from '2026-05-27 12:56:00'::timestamp) - extract(epoch from '2026-05-27 12:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565906 -3.424657)', '2026-05-27 12:56:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565864 -3.424681)'), GeomFromEWKT('SRID=4674;POINT (-38.565906 -3.424657)'))) / (select extract(epoch from '2026-05-27 12:56:04'::timestamp) - extract(epoch from '2026-05-27 12:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565864 -3.424681)'), GeomFromEWKT('SRID=4674;POINT (-38.565906 -3.424657)'))) / (select extract(epoch from '2026-05-27 12:56:04'::timestamp) - extract(epoch from '2026-05-27 12:56:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565919 -3.424643)', '2026-05-27 12:56:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565906 -3.424657)'), GeomFromEWKT('SRID=4674;POINT (-38.565919 -3.424643)'))) / (select extract(epoch from '2026-05-27 12:56:06'::timestamp) - extract(epoch from '2026-05-27 12:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565906 -3.424657)'), GeomFromEWKT('SRID=4674;POINT (-38.565919 -3.424643)'))) / (select extract(epoch from '2026-05-27 12:56:06'::timestamp) - extract(epoch from '2026-05-27 12:56:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565953 -3.424618)', '2026-05-27 12:56:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565919 -3.424643)'), GeomFromEWKT('SRID=4674;POINT (-38.565953 -3.424618)'))) / (select extract(epoch from '2026-05-27 12:56:10'::timestamp) - extract(epoch from '2026-05-27 12:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565919 -3.424643)'), GeomFromEWKT('SRID=4674;POINT (-38.565953 -3.424618)'))) / (select extract(epoch from '2026-05-27 12:56:10'::timestamp) - extract(epoch from '2026-05-27 12:56:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565976 -3.424601)', '2026-05-27 12:56:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565953 -3.424618)'), GeomFromEWKT('SRID=4674;POINT (-38.565976 -3.424601)'))) / (select extract(epoch from '2026-05-27 12:56:13'::timestamp) - extract(epoch from '2026-05-27 12:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565953 -3.424618)'), GeomFromEWKT('SRID=4674;POINT (-38.565976 -3.424601)'))) / (select extract(epoch from '2026-05-27 12:56:13'::timestamp) - extract(epoch from '2026-05-27 12:56:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566 -3.42458)', '2026-05-27 12:56:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565976 -3.424601)'), GeomFromEWKT('SRID=4674;POINT (-38.566 -3.42458)'))) / (select extract(epoch from '2026-05-27 12:56:16'::timestamp) - extract(epoch from '2026-05-27 12:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565976 -3.424601)'), GeomFromEWKT('SRID=4674;POINT (-38.566 -3.42458)'))) / (select extract(epoch from '2026-05-27 12:56:16'::timestamp) - extract(epoch from '2026-05-27 12:56:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566049 -3.424546)', '2026-05-27 12:56:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566 -3.42458)'), GeomFromEWKT('SRID=4674;POINT (-38.566049 -3.424546)'))) / (select extract(epoch from '2026-05-27 12:56:21'::timestamp) - extract(epoch from '2026-05-27 12:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566 -3.42458)'), GeomFromEWKT('SRID=4674;POINT (-38.566049 -3.424546)'))) / (select extract(epoch from '2026-05-27 12:56:21'::timestamp) - extract(epoch from '2026-05-27 12:56:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566057 -3.424543)', '2026-05-27 12:56:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566049 -3.424546)'), GeomFromEWKT('SRID=4674;POINT (-38.566057 -3.424543)'))) / (select extract(epoch from '2026-05-27 12:56:22'::timestamp) - extract(epoch from '2026-05-27 12:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566049 -3.424546)'), GeomFromEWKT('SRID=4674;POINT (-38.566057 -3.424543)'))) / (select extract(epoch from '2026-05-27 12:56:22'::timestamp) - extract(epoch from '2026-05-27 12:56:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566116 -3.424495)', '2026-05-27 12:56:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566057 -3.424543)'), GeomFromEWKT('SRID=4674;POINT (-38.566116 -3.424495)'))) / (select extract(epoch from '2026-05-27 12:56:29'::timestamp) - extract(epoch from '2026-05-27 12:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566057 -3.424543)'), GeomFromEWKT('SRID=4674;POINT (-38.566116 -3.424495)'))) / (select extract(epoch from '2026-05-27 12:56:29'::timestamp) - extract(epoch from '2026-05-27 12:56:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566161 -3.424472)', '2026-05-27 12:56:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566116 -3.424495)'), GeomFromEWKT('SRID=4674;POINT (-38.566161 -3.424472)'))) / (select extract(epoch from '2026-05-27 12:56:34'::timestamp) - extract(epoch from '2026-05-27 12:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566116 -3.424495)'), GeomFromEWKT('SRID=4674;POINT (-38.566161 -3.424472)'))) / (select extract(epoch from '2026-05-27 12:56:34'::timestamp) - extract(epoch from '2026-05-27 12:56:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566209 -3.424438)', '2026-05-27 12:56:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566161 -3.424472)'), GeomFromEWKT('SRID=4674;POINT (-38.566209 -3.424438)'))) / (select extract(epoch from '2026-05-27 12:56:40'::timestamp) - extract(epoch from '2026-05-27 12:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566161 -3.424472)'), GeomFromEWKT('SRID=4674;POINT (-38.566209 -3.424438)'))) / (select extract(epoch from '2026-05-27 12:56:40'::timestamp) - extract(epoch from '2026-05-27 12:56:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566236 -3.424423)', '2026-05-27 12:56:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566209 -3.424438)'), GeomFromEWKT('SRID=4674;POINT (-38.566236 -3.424423)'))) / (select extract(epoch from '2026-05-27 12:56:43'::timestamp) - extract(epoch from '2026-05-27 12:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566209 -3.424438)'), GeomFromEWKT('SRID=4674;POINT (-38.566236 -3.424423)'))) / (select extract(epoch from '2026-05-27 12:56:43'::timestamp) - extract(epoch from '2026-05-27 12:56:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566258 -3.424404)', '2026-05-27 12:56:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566236 -3.424423)'), GeomFromEWKT('SRID=4674;POINT (-38.566258 -3.424404)'))) / (select extract(epoch from '2026-05-27 12:56:46'::timestamp) - extract(epoch from '2026-05-27 12:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566236 -3.424423)'), GeomFromEWKT('SRID=4674;POINT (-38.566258 -3.424404)'))) / (select extract(epoch from '2026-05-27 12:56:46'::timestamp) - extract(epoch from '2026-05-27 12:56:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566312 -3.424374)', '2026-05-27 12:56:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566258 -3.424404)'), GeomFromEWKT('SRID=4674;POINT (-38.566312 -3.424374)'))) / (select extract(epoch from '2026-05-27 12:56:54'::timestamp) - extract(epoch from '2026-05-27 12:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566258 -3.424404)'), GeomFromEWKT('SRID=4674;POINT (-38.566312 -3.424374)'))) / (select extract(epoch from '2026-05-27 12:56:54'::timestamp) - extract(epoch from '2026-05-27 12:56:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566393 -3.42431)', '2026-05-27 12:57:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566312 -3.424374)'), GeomFromEWKT('SRID=4674;POINT (-38.566393 -3.42431)'))) / (select extract(epoch from '2026-05-27 12:57:04'::timestamp) - extract(epoch from '2026-05-27 12:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566312 -3.424374)'), GeomFromEWKT('SRID=4674;POINT (-38.566393 -3.42431)'))) / (select extract(epoch from '2026-05-27 12:57:04'::timestamp) - extract(epoch from '2026-05-27 12:56:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566409 -3.424295)', '2026-05-27 12:57:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566393 -3.42431)'), GeomFromEWKT('SRID=4674;POINT (-38.566409 -3.424295)'))) / (select extract(epoch from '2026-05-27 12:57:06'::timestamp) - extract(epoch from '2026-05-27 12:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566393 -3.42431)'), GeomFromEWKT('SRID=4674;POINT (-38.566409 -3.424295)'))) / (select extract(epoch from '2026-05-27 12:57:06'::timestamp) - extract(epoch from '2026-05-27 12:57:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566441 -3.424283)', '2026-05-27 12:57:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566409 -3.424295)'), GeomFromEWKT('SRID=4674;POINT (-38.566441 -3.424283)'))) / (select extract(epoch from '2026-05-27 12:57:09'::timestamp) - extract(epoch from '2026-05-27 12:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566409 -3.424295)'), GeomFromEWKT('SRID=4674;POINT (-38.566441 -3.424283)'))) / (select extract(epoch from '2026-05-27 12:57:09'::timestamp) - extract(epoch from '2026-05-27 12:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56645 -3.424271)', '2026-05-27 12:57:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566441 -3.424283)'), GeomFromEWKT('SRID=4674;POINT (-38.56645 -3.424271)'))) / (select extract(epoch from '2026-05-27 12:57:11'::timestamp) - extract(epoch from '2026-05-27 12:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566441 -3.424283)'), GeomFromEWKT('SRID=4674;POINT (-38.56645 -3.424271)'))) / (select extract(epoch from '2026-05-27 12:57:11'::timestamp) - extract(epoch from '2026-05-27 12: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'), 46535, 'SRID=4674;POINT (-38.566495 -3.424245)', '2026-05-27 12:57:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56645 -3.424271)'), GeomFromEWKT('SRID=4674;POINT (-38.566495 -3.424245)'))) / (select extract(epoch from '2026-05-27 12:57:16'::timestamp) - extract(epoch from '2026-05-27 12:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56645 -3.424271)'), GeomFromEWKT('SRID=4674;POINT (-38.566495 -3.424245)'))) / (select extract(epoch from '2026-05-27 12:57:16'::timestamp) - extract(epoch from '2026-05-27 12:57:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566502 -3.42424)', '2026-05-27 12:57:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566495 -3.424245)'), GeomFromEWKT('SRID=4674;POINT (-38.566502 -3.42424)'))) / (select extract(epoch from '2026-05-27 12:57:17'::timestamp) - extract(epoch from '2026-05-27 12:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566495 -3.424245)'), GeomFromEWKT('SRID=4674;POINT (-38.566502 -3.42424)'))) / (select extract(epoch from '2026-05-27 12:57:17'::timestamp) - extract(epoch from '2026-05-27 12:57:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566572 -3.424198)', '2026-05-27 12:57:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566502 -3.42424)'), GeomFromEWKT('SRID=4674;POINT (-38.566572 -3.424198)'))) / (select extract(epoch from '2026-05-27 12:57:25'::timestamp) - extract(epoch from '2026-05-27 12:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566502 -3.42424)'), GeomFromEWKT('SRID=4674;POINT (-38.566572 -3.424198)'))) / (select extract(epoch from '2026-05-27 12:57:25'::timestamp) - extract(epoch from '2026-05-27 12: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'), 46535, 'SRID=4674;POINT (-38.566583 -3.424195)', '2026-05-27 12:57:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566572 -3.424198)'), GeomFromEWKT('SRID=4674;POINT (-38.566583 -3.424195)'))) / (select extract(epoch from '2026-05-27 12:57:26'::timestamp) - extract(epoch from '2026-05-27 12:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566572 -3.424198)'), GeomFromEWKT('SRID=4674;POINT (-38.566583 -3.424195)'))) / (select extract(epoch from '2026-05-27 12:57:26'::timestamp) - extract(epoch from '2026-05-27 12:57:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566614 -3.424176)', '2026-05-27 12:57:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566583 -3.424195)'), GeomFromEWKT('SRID=4674;POINT (-38.566614 -3.424176)'))) / (select extract(epoch from '2026-05-27 12:57:30'::timestamp) - extract(epoch from '2026-05-27 12:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566583 -3.424195)'), GeomFromEWKT('SRID=4674;POINT (-38.566614 -3.424176)'))) / (select extract(epoch from '2026-05-27 12:57:30'::timestamp) - extract(epoch from '2026-05-27 12:57:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566662 -3.424156)', '2026-05-27 12:57:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566614 -3.424176)'), GeomFromEWKT('SRID=4674;POINT (-38.566662 -3.424156)'))) / (select extract(epoch from '2026-05-27 12:57:35'::timestamp) - extract(epoch from '2026-05-27 12:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566614 -3.424176)'), GeomFromEWKT('SRID=4674;POINT (-38.566662 -3.424156)'))) / (select extract(epoch from '2026-05-27 12:57:35'::timestamp) - extract(epoch from '2026-05-27 12:57:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566673 -3.424149)', '2026-05-27 12:57:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566662 -3.424156)'), GeomFromEWKT('SRID=4674;POINT (-38.566673 -3.424149)'))) / (select extract(epoch from '2026-05-27 12:57:36'::timestamp) - extract(epoch from '2026-05-27 12:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566662 -3.424156)'), GeomFromEWKT('SRID=4674;POINT (-38.566673 -3.424149)'))) / (select extract(epoch from '2026-05-27 12:57:36'::timestamp) - extract(epoch from '2026-05-27 12:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566711 -3.424135)', '2026-05-27 12:57:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566673 -3.424149)'), GeomFromEWKT('SRID=4674;POINT (-38.566711 -3.424135)'))) / (select extract(epoch from '2026-05-27 12:57:40'::timestamp) - extract(epoch from '2026-05-27 12:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566673 -3.424149)'), GeomFromEWKT('SRID=4674;POINT (-38.566711 -3.424135)'))) / (select extract(epoch from '2026-05-27 12:57:40'::timestamp) - extract(epoch from '2026-05-27 12:57:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566769 -3.424119)', '2026-05-27 12:57:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566711 -3.424135)'), GeomFromEWKT('SRID=4674;POINT (-38.566769 -3.424119)'))) / (select extract(epoch from '2026-05-27 12:57:45'::timestamp) - extract(epoch from '2026-05-27 12:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566711 -3.424135)'), GeomFromEWKT('SRID=4674;POINT (-38.566769 -3.424119)'))) / (select extract(epoch from '2026-05-27 12:57:45'::timestamp) - extract(epoch from '2026-05-27 12: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'), 46535, 'SRID=4674;POINT (-38.56679 -3.424113)', '2026-05-27 12:57:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566769 -3.424119)'), GeomFromEWKT('SRID=4674;POINT (-38.56679 -3.424113)'))) / (select extract(epoch from '2026-05-27 12:57:47'::timestamp) - extract(epoch from '2026-05-27 12:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566769 -3.424119)'), GeomFromEWKT('SRID=4674;POINT (-38.56679 -3.424113)'))) / (select extract(epoch from '2026-05-27 12:57:47'::timestamp) - extract(epoch from '2026-05-27 12:57:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566872 -3.424095)', '2026-05-27 12:57:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56679 -3.424113)'), GeomFromEWKT('SRID=4674;POINT (-38.566872 -3.424095)'))) / (select extract(epoch from '2026-05-27 12:57:53'::timestamp) - extract(epoch from '2026-05-27 12:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56679 -3.424113)'), GeomFromEWKT('SRID=4674;POINT (-38.566872 -3.424095)'))) / (select extract(epoch from '2026-05-27 12:57:53'::timestamp) - extract(epoch from '2026-05-27 12:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566925 -3.424066)', '2026-05-27 12:57:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566872 -3.424095)'), GeomFromEWKT('SRID=4674;POINT (-38.566925 -3.424066)'))) / (select extract(epoch from '2026-05-27 12:57:59'::timestamp) - extract(epoch from '2026-05-27 12:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566872 -3.424095)'), GeomFromEWKT('SRID=4674;POINT (-38.566925 -3.424066)'))) / (select extract(epoch from '2026-05-27 12:57:59'::timestamp) - extract(epoch from '2026-05-27 12:57:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567034 -3.424051)', '2026-05-27 12:58:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566925 -3.424066)'), GeomFromEWKT('SRID=4674;POINT (-38.567034 -3.424051)'))) / (select extract(epoch from '2026-05-27 12:58:10'::timestamp) - extract(epoch from '2026-05-27 12:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566925 -3.424066)'), GeomFromEWKT('SRID=4674;POINT (-38.567034 -3.424051)'))) / (select extract(epoch from '2026-05-27 12:58:10'::timestamp) - extract(epoch from '2026-05-27 12:57:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567126 -3.424022)', '2026-05-27 12:58:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567034 -3.424051)'), GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.424022)'))) / (select extract(epoch from '2026-05-27 12:58:20'::timestamp) - extract(epoch from '2026-05-27 12:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567034 -3.424051)'), GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.424022)'))) / (select extract(epoch from '2026-05-27 12:58:20'::timestamp) - extract(epoch from '2026-05-27 12:58:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567219 -3.423983)', '2026-05-27 12:58:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.424022)'), GeomFromEWKT('SRID=4674;POINT (-38.567219 -3.423983)'))) / (select extract(epoch from '2026-05-27 12:58:31'::timestamp) - extract(epoch from '2026-05-27 12:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.424022)'), GeomFromEWKT('SRID=4674;POINT (-38.567219 -3.423983)'))) / (select extract(epoch from '2026-05-27 12:58:31'::timestamp) - extract(epoch from '2026-05-27 12:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567284 -3.423952)', '2026-05-27 12:58:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567219 -3.423983)'), GeomFromEWKT('SRID=4674;POINT (-38.567284 -3.423952)'))) / (select extract(epoch from '2026-05-27 12:58:38'::timestamp) - extract(epoch from '2026-05-27 12:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567219 -3.423983)'), GeomFromEWKT('SRID=4674;POINT (-38.567284 -3.423952)'))) / (select extract(epoch from '2026-05-27 12:58:38'::timestamp) - extract(epoch from '2026-05-27 12:58:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567343 -3.423925)', '2026-05-27 12:58:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567284 -3.423952)'), GeomFromEWKT('SRID=4674;POINT (-38.567343 -3.423925)'))) / (select extract(epoch from '2026-05-27 12:58:44'::timestamp) - extract(epoch from '2026-05-27 12:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567284 -3.423952)'), GeomFromEWKT('SRID=4674;POINT (-38.567343 -3.423925)'))) / (select extract(epoch from '2026-05-27 12:58:44'::timestamp) - extract(epoch from '2026-05-27 12:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567393 -3.423903)', '2026-05-27 12:58:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567343 -3.423925)'), GeomFromEWKT('SRID=4674;POINT (-38.567393 -3.423903)'))) / (select extract(epoch from '2026-05-27 12:58:50'::timestamp) - extract(epoch from '2026-05-27 12:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567343 -3.423925)'), GeomFromEWKT('SRID=4674;POINT (-38.567393 -3.423903)'))) / (select extract(epoch from '2026-05-27 12:58:50'::timestamp) - extract(epoch from '2026-05-27 12:58:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567447 -3.423876)', '2026-05-27 12:58:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567393 -3.423903)'), GeomFromEWKT('SRID=4674;POINT (-38.567447 -3.423876)'))) / (select extract(epoch from '2026-05-27 12:58:57'::timestamp) - extract(epoch from '2026-05-27 12:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567393 -3.423903)'), GeomFromEWKT('SRID=4674;POINT (-38.567447 -3.423876)'))) / (select extract(epoch from '2026-05-27 12:58:57'::timestamp) - extract(epoch from '2026-05-27 12:58:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56753 -3.423835)', '2026-05-27 12:59:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567447 -3.423876)'), GeomFromEWKT('SRID=4674;POINT (-38.56753 -3.423835)'))) / (select extract(epoch from '2026-05-27 12:59:07'::timestamp) - extract(epoch from '2026-05-27 12:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567447 -3.423876)'), GeomFromEWKT('SRID=4674;POINT (-38.56753 -3.423835)'))) / (select extract(epoch from '2026-05-27 12:59:07'::timestamp) - extract(epoch from '2026-05-27 12:58:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567547 -3.42383)', '2026-05-27 12:59:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56753 -3.423835)'), GeomFromEWKT('SRID=4674;POINT (-38.567547 -3.42383)'))) / (select extract(epoch from '2026-05-27 12:59:09'::timestamp) - extract(epoch from '2026-05-27 12:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56753 -3.423835)'), GeomFromEWKT('SRID=4674;POINT (-38.567547 -3.42383)'))) / (select extract(epoch from '2026-05-27 12:59:09'::timestamp) - extract(epoch from '2026-05-27 12:59:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567583 -3.423811)', '2026-05-27 12:59:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567547 -3.42383)'), GeomFromEWKT('SRID=4674;POINT (-38.567583 -3.423811)'))) / (select extract(epoch from '2026-05-27 12:59:13'::timestamp) - extract(epoch from '2026-05-27 12:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567547 -3.42383)'), GeomFromEWKT('SRID=4674;POINT (-38.567583 -3.423811)'))) / (select extract(epoch from '2026-05-27 12:59:13'::timestamp) - extract(epoch from '2026-05-27 12: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'), 46535, 'SRID=4674;POINT (-38.567626 -3.423787)', '2026-05-27 12:59:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567583 -3.423811)'), GeomFromEWKT('SRID=4674;POINT (-38.567626 -3.423787)'))) / (select extract(epoch from '2026-05-27 12:59:19'::timestamp) - extract(epoch from '2026-05-27 12:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567583 -3.423811)'), GeomFromEWKT('SRID=4674;POINT (-38.567626 -3.423787)'))) / (select extract(epoch from '2026-05-27 12:59:19'::timestamp) - extract(epoch from '2026-05-27 12:59:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567661 -3.423754)', '2026-05-27 12:59:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567626 -3.423787)'), GeomFromEWKT('SRID=4674;POINT (-38.567661 -3.423754)'))) / (select extract(epoch from '2026-05-27 12:59:24'::timestamp) - extract(epoch from '2026-05-27 12:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567626 -3.423787)'), GeomFromEWKT('SRID=4674;POINT (-38.567661 -3.423754)'))) / (select extract(epoch from '2026-05-27 12:59:24'::timestamp) - extract(epoch from '2026-05-27 12:59: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'), 46535, 'SRID=4674;POINT (-38.567718 -3.423716)', '2026-05-27 12:59:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567661 -3.423754)'), GeomFromEWKT('SRID=4674;POINT (-38.567718 -3.423716)'))) / (select extract(epoch from '2026-05-27 12:59:31'::timestamp) - extract(epoch from '2026-05-27 12:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567661 -3.423754)'), GeomFromEWKT('SRID=4674;POINT (-38.567718 -3.423716)'))) / (select extract(epoch from '2026-05-27 12:59:31'::timestamp) - extract(epoch from '2026-05-27 12:59:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567795 -3.423654)', '2026-05-27 12:59:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567718 -3.423716)'), GeomFromEWKT('SRID=4674;POINT (-38.567795 -3.423654)'))) / (select extract(epoch from '2026-05-27 12:59:41'::timestamp) - extract(epoch from '2026-05-27 12:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567718 -3.423716)'), GeomFromEWKT('SRID=4674;POINT (-38.567795 -3.423654)'))) / (select extract(epoch from '2026-05-27 12:59:41'::timestamp) - extract(epoch from '2026-05-27 12:59:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567844 -3.423611)', '2026-05-27 12:59:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567795 -3.423654)'), GeomFromEWKT('SRID=4674;POINT (-38.567844 -3.423611)'))) / (select extract(epoch from '2026-05-27 12:59:47'::timestamp) - extract(epoch from '2026-05-27 12:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567795 -3.423654)'), GeomFromEWKT('SRID=4674;POINT (-38.567844 -3.423611)'))) / (select extract(epoch from '2026-05-27 12:59:47'::timestamp) - extract(epoch from '2026-05-27 12:59:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567884 -3.423573)', '2026-05-27 12:59:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567844 -3.423611)'), GeomFromEWKT('SRID=4674;POINT (-38.567884 -3.423573)'))) / (select extract(epoch from '2026-05-27 12:59:53'::timestamp) - extract(epoch from '2026-05-27 12:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567844 -3.423611)'), GeomFromEWKT('SRID=4674;POINT (-38.567884 -3.423573)'))) / (select extract(epoch from '2026-05-27 12:59:53'::timestamp) - extract(epoch from '2026-05-27 12:59:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567903 -3.423569)', '2026-05-27 12:59:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567884 -3.423573)'), GeomFromEWKT('SRID=4674;POINT (-38.567903 -3.423569)'))) / (select extract(epoch from '2026-05-27 12:59:56'::timestamp) - extract(epoch from '2026-05-27 12:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567884 -3.423573)'), GeomFromEWKT('SRID=4674;POINT (-38.567903 -3.423569)'))) / (select extract(epoch from '2026-05-27 12:59:56'::timestamp) - extract(epoch from '2026-05-27 12:59:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567914 -3.423564)', '2026-05-27 12:59:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567903 -3.423569)'), GeomFromEWKT('SRID=4674;POINT (-38.567914 -3.423564)'))) / (select extract(epoch from '2026-05-27 12:59:57'::timestamp) - extract(epoch from '2026-05-27 12:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567903 -3.423569)'), GeomFromEWKT('SRID=4674;POINT (-38.567914 -3.423564)'))) / (select extract(epoch from '2026-05-27 12:59:57'::timestamp) - extract(epoch from '2026-05-27 12:59:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567968 -3.423518)', '2026-05-27 13:00:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567914 -3.423564)'), GeomFromEWKT('SRID=4674;POINT (-38.567968 -3.423518)'))) / (select extract(epoch from '2026-05-27 13:00:05'::timestamp) - extract(epoch from '2026-05-27 12:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567914 -3.423564)'), GeomFromEWKT('SRID=4674;POINT (-38.567968 -3.423518)'))) / (select extract(epoch from '2026-05-27 13:00:05'::timestamp) - extract(epoch from '2026-05-27 12:59:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56803 -3.423457)', '2026-05-27 13:00:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567968 -3.423518)'), GeomFromEWKT('SRID=4674;POINT (-38.56803 -3.423457)'))) / (select extract(epoch from '2026-05-27 13:00:14'::timestamp) - extract(epoch from '2026-05-27 13:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567968 -3.423518)'), GeomFromEWKT('SRID=4674;POINT (-38.56803 -3.423457)'))) / (select extract(epoch from '2026-05-27 13:00:14'::timestamp) - extract(epoch from '2026-05-27 13:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568042 -3.423445)', '2026-05-27 13:00:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56803 -3.423457)'), GeomFromEWKT('SRID=4674;POINT (-38.568042 -3.423445)'))) / (select extract(epoch from '2026-05-27 13:00:16'::timestamp) - extract(epoch from '2026-05-27 13:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56803 -3.423457)'), GeomFromEWKT('SRID=4674;POINT (-38.568042 -3.423445)'))) / (select extract(epoch from '2026-05-27 13:00:16'::timestamp) - extract(epoch from '2026-05-27 13:00:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568083 -3.423414)', '2026-05-27 13:00:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568042 -3.423445)'), GeomFromEWKT('SRID=4674;POINT (-38.568083 -3.423414)'))) / (select extract(epoch from '2026-05-27 13:00:21'::timestamp) - extract(epoch from '2026-05-27 13:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568042 -3.423445)'), GeomFromEWKT('SRID=4674;POINT (-38.568083 -3.423414)'))) / (select extract(epoch from '2026-05-27 13:00:21'::timestamp) - extract(epoch from '2026-05-27 13:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568138 -3.42338)', '2026-05-27 13:00:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568083 -3.423414)'), GeomFromEWKT('SRID=4674;POINT (-38.568138 -3.42338)'))) / (select extract(epoch from '2026-05-27 13:00:27'::timestamp) - extract(epoch from '2026-05-27 13:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568083 -3.423414)'), GeomFromEWKT('SRID=4674;POINT (-38.568138 -3.42338)'))) / (select extract(epoch from '2026-05-27 13:00:27'::timestamp) - extract(epoch from '2026-05-27 13:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568197 -3.423345)', '2026-05-27 13:00:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568138 -3.42338)'), GeomFromEWKT('SRID=4674;POINT (-38.568197 -3.423345)'))) / (select extract(epoch from '2026-05-27 13:00:34'::timestamp) - extract(epoch from '2026-05-27 13:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568138 -3.42338)'), GeomFromEWKT('SRID=4674;POINT (-38.568197 -3.423345)'))) / (select extract(epoch from '2026-05-27 13:00:34'::timestamp) - extract(epoch from '2026-05-27 13:00:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568252 -3.42332)', '2026-05-27 13:00:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568197 -3.423345)'), GeomFromEWKT('SRID=4674;POINT (-38.568252 -3.42332)'))) / (select extract(epoch from '2026-05-27 13:00:40'::timestamp) - extract(epoch from '2026-05-27 13:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568197 -3.423345)'), GeomFromEWKT('SRID=4674;POINT (-38.568252 -3.42332)'))) / (select extract(epoch from '2026-05-27 13:00:40'::timestamp) - extract(epoch from '2026-05-27 13:00:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568302 -3.423297)', '2026-05-27 13:00:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568252 -3.42332)'), GeomFromEWKT('SRID=4674;POINT (-38.568302 -3.423297)'))) / (select extract(epoch from '2026-05-27 13:00:45'::timestamp) - extract(epoch from '2026-05-27 13:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568252 -3.42332)'), GeomFromEWKT('SRID=4674;POINT (-38.568302 -3.423297)'))) / (select extract(epoch from '2026-05-27 13:00:45'::timestamp) - extract(epoch from '2026-05-27 13:00:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568311 -3.423289)', '2026-05-27 13:00:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568302 -3.423297)'), GeomFromEWKT('SRID=4674;POINT (-38.568311 -3.423289)'))) / (select extract(epoch from '2026-05-27 13:00:46'::timestamp) - extract(epoch from '2026-05-27 13:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568302 -3.423297)'), GeomFromEWKT('SRID=4674;POINT (-38.568311 -3.423289)'))) / (select extract(epoch from '2026-05-27 13:00:46'::timestamp) - extract(epoch from '2026-05-27 13:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56835 -3.423269)', '2026-05-27 13:00:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568311 -3.423289)'), GeomFromEWKT('SRID=4674;POINT (-38.56835 -3.423269)'))) / (select extract(epoch from '2026-05-27 13:00:50'::timestamp) - extract(epoch from '2026-05-27 13:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568311 -3.423289)'), GeomFromEWKT('SRID=4674;POINT (-38.56835 -3.423269)'))) / (select extract(epoch from '2026-05-27 13:00:50'::timestamp) - extract(epoch from '2026-05-27 13:00:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568393 -3.423241)', '2026-05-27 13:00:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56835 -3.423269)'), GeomFromEWKT('SRID=4674;POINT (-38.568393 -3.423241)'))) / (select extract(epoch from '2026-05-27 13:00:55'::timestamp) - extract(epoch from '2026-05-27 13:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56835 -3.423269)'), GeomFromEWKT('SRID=4674;POINT (-38.568393 -3.423241)'))) / (select extract(epoch from '2026-05-27 13:00:55'::timestamp) - extract(epoch from '2026-05-27 13:00:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568399 -3.423235)', '2026-05-27 13:00:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568393 -3.423241)'), GeomFromEWKT('SRID=4674;POINT (-38.568399 -3.423235)'))) / (select extract(epoch from '2026-05-27 13:00:56'::timestamp) - extract(epoch from '2026-05-27 13:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568393 -3.423241)'), GeomFromEWKT('SRID=4674;POINT (-38.568399 -3.423235)'))) / (select extract(epoch from '2026-05-27 13:00:56'::timestamp) - extract(epoch from '2026-05-27 13:00:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568451 -3.423206)', '2026-05-27 13:01:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568399 -3.423235)'), GeomFromEWKT('SRID=4674;POINT (-38.568451 -3.423206)'))) / (select extract(epoch from '2026-05-27 13:01:02'::timestamp) - extract(epoch from '2026-05-27 13:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568399 -3.423235)'), GeomFromEWKT('SRID=4674;POINT (-38.568451 -3.423206)'))) / (select extract(epoch from '2026-05-27 13:01:02'::timestamp) - extract(epoch from '2026-05-27 13:00:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568476 -3.423187)', '2026-05-27 13:01:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568451 -3.423206)'), GeomFromEWKT('SRID=4674;POINT (-38.568476 -3.423187)'))) / (select extract(epoch from '2026-05-27 13:01:06'::timestamp) - extract(epoch from '2026-05-27 13:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568451 -3.423206)'), GeomFromEWKT('SRID=4674;POINT (-38.568476 -3.423187)'))) / (select extract(epoch from '2026-05-27 13:01:06'::timestamp) - extract(epoch from '2026-05-27 13:01:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568491 -3.423179)', '2026-05-27 13:01:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568476 -3.423187)'), GeomFromEWKT('SRID=4674;POINT (-38.568491 -3.423179)'))) / (select extract(epoch from '2026-05-27 13:01:08'::timestamp) - extract(epoch from '2026-05-27 13:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568476 -3.423187)'), GeomFromEWKT('SRID=4674;POINT (-38.568491 -3.423179)'))) / (select extract(epoch from '2026-05-27 13:01:08'::timestamp) - extract(epoch from '2026-05-27 13:01:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568534 -3.423147)', '2026-05-27 13:01:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568491 -3.423179)'), GeomFromEWKT('SRID=4674;POINT (-38.568534 -3.423147)'))) / (select extract(epoch from '2026-05-27 13:01:12'::timestamp) - extract(epoch from '2026-05-27 13:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568491 -3.423179)'), GeomFromEWKT('SRID=4674;POINT (-38.568534 -3.423147)'))) / (select extract(epoch from '2026-05-27 13:01:12'::timestamp) - extract(epoch from '2026-05-27 13: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'), 46535, 'SRID=4674;POINT (-38.568555 -3.423138)', '2026-05-27 13:01:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568534 -3.423147)'), GeomFromEWKT('SRID=4674;POINT (-38.568555 -3.423138)'))) / (select extract(epoch from '2026-05-27 13:01:14'::timestamp) - extract(epoch from '2026-05-27 13:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568534 -3.423147)'), GeomFromEWKT('SRID=4674;POINT (-38.568555 -3.423138)'))) / (select extract(epoch from '2026-05-27 13:01:14'::timestamp) - extract(epoch from '2026-05-27 13:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568581 -3.42313)', '2026-05-27 13:01:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568555 -3.423138)'), GeomFromEWKT('SRID=4674;POINT (-38.568581 -3.42313)'))) / (select extract(epoch from '2026-05-27 13:01:16'::timestamp) - extract(epoch from '2026-05-27 13:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568555 -3.423138)'), GeomFromEWKT('SRID=4674;POINT (-38.568581 -3.42313)'))) / (select extract(epoch from '2026-05-27 13:01:16'::timestamp) - extract(epoch from '2026-05-27 13:01:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568589 -3.423123)', '2026-05-27 13:01:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568581 -3.42313)'), GeomFromEWKT('SRID=4674;POINT (-38.568589 -3.423123)'))) / (select extract(epoch from '2026-05-27 13:01:17'::timestamp) - extract(epoch from '2026-05-27 13:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568581 -3.42313)'), GeomFromEWKT('SRID=4674;POINT (-38.568589 -3.423123)'))) / (select extract(epoch from '2026-05-27 13:01:17'::timestamp) - extract(epoch from '2026-05-27 13:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568649 -3.423089)', '2026-05-27 13:01:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568589 -3.423123)'), GeomFromEWKT('SRID=4674;POINT (-38.568649 -3.423089)'))) / (select extract(epoch from '2026-05-27 13:01:24'::timestamp) - extract(epoch from '2026-05-27 13:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568589 -3.423123)'), GeomFromEWKT('SRID=4674;POINT (-38.568649 -3.423089)'))) / (select extract(epoch from '2026-05-27 13:01:24'::timestamp) - extract(epoch from '2026-05-27 13:01:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568698 -3.423059)', '2026-05-27 13:01:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568649 -3.423089)'), GeomFromEWKT('SRID=4674;POINT (-38.568698 -3.423059)'))) / (select extract(epoch from '2026-05-27 13:01:30'::timestamp) - extract(epoch from '2026-05-27 13:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568649 -3.423089)'), GeomFromEWKT('SRID=4674;POINT (-38.568698 -3.423059)'))) / (select extract(epoch from '2026-05-27 13:01:30'::timestamp) - extract(epoch from '2026-05-27 13:01:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568781 -3.423026)', '2026-05-27 13:01:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568698 -3.423059)'), GeomFromEWKT('SRID=4674;POINT (-38.568781 -3.423026)'))) / (select extract(epoch from '2026-05-27 13:01:38'::timestamp) - extract(epoch from '2026-05-27 13:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568698 -3.423059)'), GeomFromEWKT('SRID=4674;POINT (-38.568781 -3.423026)'))) / (select extract(epoch from '2026-05-27 13:01:38'::timestamp) - extract(epoch from '2026-05-27 13:01:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568789 -3.42302)', '2026-05-27 13:01:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568781 -3.423026)'), GeomFromEWKT('SRID=4674;POINT (-38.568789 -3.42302)'))) / (select extract(epoch from '2026-05-27 13:01:39'::timestamp) - extract(epoch from '2026-05-27 13:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568781 -3.423026)'), GeomFromEWKT('SRID=4674;POINT (-38.568789 -3.42302)'))) / (select extract(epoch from '2026-05-27 13:01:39'::timestamp) - extract(epoch from '2026-05-27 13:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56882 -3.423)', '2026-05-27 13:01:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568789 -3.42302)'), GeomFromEWKT('SRID=4674;POINT (-38.56882 -3.423)'))) / (select extract(epoch from '2026-05-27 13:01:43'::timestamp) - extract(epoch from '2026-05-27 13:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568789 -3.42302)'), GeomFromEWKT('SRID=4674;POINT (-38.56882 -3.423)'))) / (select extract(epoch from '2026-05-27 13:01:43'::timestamp) - extract(epoch from '2026-05-27 13:01:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568826 -3.422995)', '2026-05-27 13:01:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56882 -3.423)'), GeomFromEWKT('SRID=4674;POINT (-38.568826 -3.422995)'))) / (select extract(epoch from '2026-05-27 13:01:44'::timestamp) - extract(epoch from '2026-05-27 13:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56882 -3.423)'), GeomFromEWKT('SRID=4674;POINT (-38.568826 -3.422995)'))) / (select extract(epoch from '2026-05-27 13:01:44'::timestamp) - extract(epoch from '2026-05-27 13:01:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568865 -3.422959)', '2026-05-27 13:01:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568826 -3.422995)'), GeomFromEWKT('SRID=4674;POINT (-38.568865 -3.422959)'))) / (select extract(epoch from '2026-05-27 13:01:49'::timestamp) - extract(epoch from '2026-05-27 13:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568826 -3.422995)'), GeomFromEWKT('SRID=4674;POINT (-38.568865 -3.422959)'))) / (select extract(epoch from '2026-05-27 13:01:49'::timestamp) - extract(epoch from '2026-05-27 13: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'), 46535, 'SRID=4674;POINT (-38.568872 -3.422954)', '2026-05-27 13:01:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568865 -3.422959)'), GeomFromEWKT('SRID=4674;POINT (-38.568872 -3.422954)'))) / (select extract(epoch from '2026-05-27 13:01:50'::timestamp) - extract(epoch from '2026-05-27 13:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568865 -3.422959)'), GeomFromEWKT('SRID=4674;POINT (-38.568872 -3.422954)'))) / (select extract(epoch from '2026-05-27 13:01:50'::timestamp) - extract(epoch from '2026-05-27 13:01:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568915 -3.422929)', '2026-05-27 13:01:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568872 -3.422954)'), GeomFromEWKT('SRID=4674;POINT (-38.568915 -3.422929)'))) / (select extract(epoch from '2026-05-27 13:01:55'::timestamp) - extract(epoch from '2026-05-27 13:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568872 -3.422954)'), GeomFromEWKT('SRID=4674;POINT (-38.568915 -3.422929)'))) / (select extract(epoch from '2026-05-27 13:01:55'::timestamp) - extract(epoch from '2026-05-27 13:01:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568941 -3.422918)', '2026-05-27 13:01:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568915 -3.422929)'), GeomFromEWKT('SRID=4674;POINT (-38.568941 -3.422918)'))) / (select extract(epoch from '2026-05-27 13:01:58'::timestamp) - extract(epoch from '2026-05-27 13:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568915 -3.422929)'), GeomFromEWKT('SRID=4674;POINT (-38.568941 -3.422918)'))) / (select extract(epoch from '2026-05-27 13:01:58'::timestamp) - extract(epoch from '2026-05-27 13: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'), 46535, 'SRID=4674;POINT (-38.568969 -3.422904)', '2026-05-27 13:02:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568941 -3.422918)'), GeomFromEWKT('SRID=4674;POINT (-38.568969 -3.422904)'))) / (select extract(epoch from '2026-05-27 13:02:01'::timestamp) - extract(epoch from '2026-05-27 13:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568941 -3.422918)'), GeomFromEWKT('SRID=4674;POINT (-38.568969 -3.422904)'))) / (select extract(epoch from '2026-05-27 13:02:01'::timestamp) - extract(epoch from '2026-05-27 13:01:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569012 -3.422879)', '2026-05-27 13:02:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568969 -3.422904)'), GeomFromEWKT('SRID=4674;POINT (-38.569012 -3.422879)'))) / (select extract(epoch from '2026-05-27 13:02:06'::timestamp) - extract(epoch from '2026-05-27 13:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568969 -3.422904)'), GeomFromEWKT('SRID=4674;POINT (-38.569012 -3.422879)'))) / (select extract(epoch from '2026-05-27 13:02:06'::timestamp) - extract(epoch from '2026-05-27 13:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569047 -3.422847)', '2026-05-27 13:02:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569012 -3.422879)'), GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.422847)'))) / (select extract(epoch from '2026-05-27 13:02:11'::timestamp) - extract(epoch from '2026-05-27 13:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569012 -3.422879)'), GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.422847)'))) / (select extract(epoch from '2026-05-27 13:02:11'::timestamp) - extract(epoch from '2026-05-27 13:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569098 -3.42282)', '2026-05-27 13:02:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.422847)'), GeomFromEWKT('SRID=4674;POINT (-38.569098 -3.42282)'))) / (select extract(epoch from '2026-05-27 13:02:17'::timestamp) - extract(epoch from '2026-05-27 13:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569047 -3.422847)'), GeomFromEWKT('SRID=4674;POINT (-38.569098 -3.42282)'))) / (select extract(epoch from '2026-05-27 13:02:17'::timestamp) - extract(epoch from '2026-05-27 13:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56917 -3.422785)', '2026-05-27 13:02:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569098 -3.42282)'), GeomFromEWKT('SRID=4674;POINT (-38.56917 -3.422785)'))) / (select extract(epoch from '2026-05-27 13:02:26'::timestamp) - extract(epoch from '2026-05-27 13:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569098 -3.42282)'), GeomFromEWKT('SRID=4674;POINT (-38.56917 -3.422785)'))) / (select extract(epoch from '2026-05-27 13:02:26'::timestamp) - extract(epoch from '2026-05-27 13:02:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569222 -3.422762)', '2026-05-27 13:02:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56917 -3.422785)'), GeomFromEWKT('SRID=4674;POINT (-38.569222 -3.422762)'))) / (select extract(epoch from '2026-05-27 13:02:32'::timestamp) - extract(epoch from '2026-05-27 13:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56917 -3.422785)'), GeomFromEWKT('SRID=4674;POINT (-38.569222 -3.422762)'))) / (select extract(epoch from '2026-05-27 13:02:32'::timestamp) - extract(epoch from '2026-05-27 13:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569321 -3.422728)', '2026-05-27 13:02:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569222 -3.422762)'), GeomFromEWKT('SRID=4674;POINT (-38.569321 -3.422728)'))) / (select extract(epoch from '2026-05-27 13:02:42'::timestamp) - extract(epoch from '2026-05-27 13:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569222 -3.422762)'), GeomFromEWKT('SRID=4674;POINT (-38.569321 -3.422728)'))) / (select extract(epoch from '2026-05-27 13:02:42'::timestamp) - extract(epoch from '2026-05-27 13:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569402 -3.422705)', '2026-05-27 13:02:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569321 -3.422728)'), GeomFromEWKT('SRID=4674;POINT (-38.569402 -3.422705)'))) / (select extract(epoch from '2026-05-27 13:02:51'::timestamp) - extract(epoch from '2026-05-27 13:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569321 -3.422728)'), GeomFromEWKT('SRID=4674;POINT (-38.569402 -3.422705)'))) / (select extract(epoch from '2026-05-27 13:02:51'::timestamp) - extract(epoch from '2026-05-27 13:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569425 -3.422694)', '2026-05-27 13:02:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569402 -3.422705)'), GeomFromEWKT('SRID=4674;POINT (-38.569425 -3.422694)'))) / (select extract(epoch from '2026-05-27 13:02:55'::timestamp) - extract(epoch from '2026-05-27 13:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569402 -3.422705)'), GeomFromEWKT('SRID=4674;POINT (-38.569425 -3.422694)'))) / (select extract(epoch from '2026-05-27 13:02:55'::timestamp) - extract(epoch from '2026-05-27 13:02:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569486 -3.422678)', '2026-05-27 13:03:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569425 -3.422694)'), GeomFromEWKT('SRID=4674;POINT (-38.569486 -3.422678)'))) / (select extract(epoch from '2026-05-27 13:03:01'::timestamp) - extract(epoch from '2026-05-27 13:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569425 -3.422694)'), GeomFromEWKT('SRID=4674;POINT (-38.569486 -3.422678)'))) / (select extract(epoch from '2026-05-27 13:03:01'::timestamp) - extract(epoch from '2026-05-27 13:02:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569559 -3.42266)', '2026-05-27 13:03:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569486 -3.422678)'), GeomFromEWKT('SRID=4674;POINT (-38.569559 -3.42266)'))) / (select extract(epoch from '2026-05-27 13:03:09'::timestamp) - extract(epoch from '2026-05-27 13:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569486 -3.422678)'), GeomFromEWKT('SRID=4674;POINT (-38.569559 -3.42266)'))) / (select extract(epoch from '2026-05-27 13:03:09'::timestamp) - extract(epoch from '2026-05-27 13:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569617 -3.422648)', '2026-05-27 13:03:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569559 -3.42266)'), GeomFromEWKT('SRID=4674;POINT (-38.569617 -3.422648)'))) / (select extract(epoch from '2026-05-27 13:03:16'::timestamp) - extract(epoch from '2026-05-27 13:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569559 -3.42266)'), GeomFromEWKT('SRID=4674;POINT (-38.569617 -3.422648)'))) / (select extract(epoch from '2026-05-27 13:03:16'::timestamp) - extract(epoch from '2026-05-27 13:03:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569682 -3.422637)', '2026-05-27 13:03:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569617 -3.422648)'), GeomFromEWKT('SRID=4674;POINT (-38.569682 -3.422637)'))) / (select extract(epoch from '2026-05-27 13:03:24'::timestamp) - extract(epoch from '2026-05-27 13:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569617 -3.422648)'), GeomFromEWKT('SRID=4674;POINT (-38.569682 -3.422637)'))) / (select extract(epoch from '2026-05-27 13:03:24'::timestamp) - extract(epoch from '2026-05-27 13:03:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569714 -3.42263)', '2026-05-27 13:03:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569682 -3.422637)'), GeomFromEWKT('SRID=4674;POINT (-38.569714 -3.42263)'))) / (select extract(epoch from '2026-05-27 13:03:28'::timestamp) - extract(epoch from '2026-05-27 13:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569682 -3.422637)'), GeomFromEWKT('SRID=4674;POINT (-38.569714 -3.42263)'))) / (select extract(epoch from '2026-05-27 13:03:28'::timestamp) - extract(epoch from '2026-05-27 13:03:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569731 -3.422623)', '2026-05-27 13:03:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569714 -3.42263)'), GeomFromEWKT('SRID=4674;POINT (-38.569731 -3.422623)'))) / (select extract(epoch from '2026-05-27 13:03:30'::timestamp) - extract(epoch from '2026-05-27 13:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569714 -3.42263)'), GeomFromEWKT('SRID=4674;POINT (-38.569731 -3.422623)'))) / (select extract(epoch from '2026-05-27 13:03:30'::timestamp) - extract(epoch from '2026-05-27 13:03:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569778 -3.422607)', '2026-05-27 13:03:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569731 -3.422623)'), GeomFromEWKT('SRID=4674;POINT (-38.569778 -3.422607)'))) / (select extract(epoch from '2026-05-27 13:03:35'::timestamp) - extract(epoch from '2026-05-27 13:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569731 -3.422623)'), GeomFromEWKT('SRID=4674;POINT (-38.569778 -3.422607)'))) / (select extract(epoch from '2026-05-27 13:03:35'::timestamp) - extract(epoch from '2026-05-27 13:03:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569787 -3.422605)', '2026-05-27 13:03:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569778 -3.422607)'), GeomFromEWKT('SRID=4674;POINT (-38.569787 -3.422605)'))) / (select extract(epoch from '2026-05-27 13:03:36'::timestamp) - extract(epoch from '2026-05-27 13:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569778 -3.422607)'), GeomFromEWKT('SRID=4674;POINT (-38.569787 -3.422605)'))) / (select extract(epoch from '2026-05-27 13:03:36'::timestamp) - extract(epoch from '2026-05-27 13:03:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56985 -3.422588)', '2026-05-27 13:03:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569787 -3.422605)'), GeomFromEWKT('SRID=4674;POINT (-38.56985 -3.422588)'))) / (select extract(epoch from '2026-05-27 13:03:43'::timestamp) - extract(epoch from '2026-05-27 13:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569787 -3.422605)'), GeomFromEWKT('SRID=4674;POINT (-38.56985 -3.422588)'))) / (select extract(epoch from '2026-05-27 13:03:43'::timestamp) - extract(epoch from '2026-05-27 13:03:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56987 -3.422577)', '2026-05-27 13:03:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56985 -3.422588)'), GeomFromEWKT('SRID=4674;POINT (-38.56987 -3.422577)'))) / (select extract(epoch from '2026-05-27 13:03:45'::timestamp) - extract(epoch from '2026-05-27 13:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56985 -3.422588)'), GeomFromEWKT('SRID=4674;POINT (-38.56987 -3.422577)'))) / (select extract(epoch from '2026-05-27 13:03:45'::timestamp) - extract(epoch from '2026-05-27 13:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569898 -3.422566)', '2026-05-27 13:03:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56987 -3.422577)'), GeomFromEWKT('SRID=4674;POINT (-38.569898 -3.422566)'))) / (select extract(epoch from '2026-05-27 13:03:48'::timestamp) - extract(epoch from '2026-05-27 13:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56987 -3.422577)'), GeomFromEWKT('SRID=4674;POINT (-38.569898 -3.422566)'))) / (select extract(epoch from '2026-05-27 13:03:48'::timestamp) - extract(epoch from '2026-05-27 13:03:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569952 -3.422537)', '2026-05-27 13:03:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569898 -3.422566)'), GeomFromEWKT('SRID=4674;POINT (-38.569952 -3.422537)'))) / (select extract(epoch from '2026-05-27 13:03:54'::timestamp) - extract(epoch from '2026-05-27 13:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569898 -3.422566)'), GeomFromEWKT('SRID=4674;POINT (-38.569952 -3.422537)'))) / (select extract(epoch from '2026-05-27 13:03:54'::timestamp) - extract(epoch from '2026-05-27 13:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569974 -3.422536)', '2026-05-27 13:03:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569952 -3.422537)'), GeomFromEWKT('SRID=4674;POINT (-38.569974 -3.422536)'))) / (select extract(epoch from '2026-05-27 13:03:57'::timestamp) - extract(epoch from '2026-05-27 13:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569952 -3.422537)'), GeomFromEWKT('SRID=4674;POINT (-38.569974 -3.422536)'))) / (select extract(epoch from '2026-05-27 13:03:57'::timestamp) - extract(epoch from '2026-05-27 13:03:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569986 -3.422529)', '2026-05-27 13:03:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569974 -3.422536)'), GeomFromEWKT('SRID=4674;POINT (-38.569986 -3.422529)'))) / (select extract(epoch from '2026-05-27 13:03:58'::timestamp) - extract(epoch from '2026-05-27 13:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569974 -3.422536)'), GeomFromEWKT('SRID=4674;POINT (-38.569986 -3.422529)'))) / (select extract(epoch from '2026-05-27 13:03:58'::timestamp) - extract(epoch from '2026-05-27 13:03:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570017 -3.422502)', '2026-05-27 13:04:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569986 -3.422529)'), GeomFromEWKT('SRID=4674;POINT (-38.570017 -3.422502)'))) / (select extract(epoch from '2026-05-27 13:04:02'::timestamp) - extract(epoch from '2026-05-27 13:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569986 -3.422529)'), GeomFromEWKT('SRID=4674;POINT (-38.570017 -3.422502)'))) / (select extract(epoch from '2026-05-27 13:04:02'::timestamp) - extract(epoch from '2026-05-27 13:03:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570022 -3.422496)', '2026-05-27 13:04:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570017 -3.422502)'), GeomFromEWKT('SRID=4674;POINT (-38.570022 -3.422496)'))) / (select extract(epoch from '2026-05-27 13:04:03'::timestamp) - extract(epoch from '2026-05-27 13:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570017 -3.422502)'), GeomFromEWKT('SRID=4674;POINT (-38.570022 -3.422496)'))) / (select extract(epoch from '2026-05-27 13:04:03'::timestamp) - extract(epoch from '2026-05-27 13: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'), 46535, 'SRID=4674;POINT (-38.570063 -3.422457)', '2026-05-27 13:04:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570022 -3.422496)'), GeomFromEWKT('SRID=4674;POINT (-38.570063 -3.422457)'))) / (select extract(epoch from '2026-05-27 13:04:09'::timestamp) - extract(epoch from '2026-05-27 13:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570022 -3.422496)'), GeomFromEWKT('SRID=4674;POINT (-38.570063 -3.422457)'))) / (select extract(epoch from '2026-05-27 13:04:09'::timestamp) - extract(epoch from '2026-05-27 13:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570105 -3.422423)', '2026-05-27 13:04:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570063 -3.422457)'), GeomFromEWKT('SRID=4674;POINT (-38.570105 -3.422423)'))) / (select extract(epoch from '2026-05-27 13:04:14'::timestamp) - extract(epoch from '2026-05-27 13:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570063 -3.422457)'), GeomFromEWKT('SRID=4674;POINT (-38.570105 -3.422423)'))) / (select extract(epoch from '2026-05-27 13:04:14'::timestamp) - extract(epoch from '2026-05-27 13:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57011 -3.422416)', '2026-05-27 13:04:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570105 -3.422423)'), GeomFromEWKT('SRID=4674;POINT (-38.57011 -3.422416)'))) / (select extract(epoch from '2026-05-27 13:04:15'::timestamp) - extract(epoch from '2026-05-27 13:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570105 -3.422423)'), GeomFromEWKT('SRID=4674;POINT (-38.57011 -3.422416)'))) / (select extract(epoch from '2026-05-27 13:04:15'::timestamp) - extract(epoch from '2026-05-27 13:04:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570126 -3.422404)', '2026-05-27 13:04:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57011 -3.422416)'), GeomFromEWKT('SRID=4674;POINT (-38.570126 -3.422404)'))) / (select extract(epoch from '2026-05-27 13:04:17'::timestamp) - extract(epoch from '2026-05-27 13:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57011 -3.422416)'), GeomFromEWKT('SRID=4674;POINT (-38.570126 -3.422404)'))) / (select extract(epoch from '2026-05-27 13:04:17'::timestamp) - extract(epoch from '2026-05-27 13:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570152 -3.422387)', '2026-05-27 13:04:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570126 -3.422404)'), GeomFromEWKT('SRID=4674;POINT (-38.570152 -3.422387)'))) / (select extract(epoch from '2026-05-27 13:04:19'::timestamp) - extract(epoch from '2026-05-27 13:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570126 -3.422404)'), GeomFromEWKT('SRID=4674;POINT (-38.570152 -3.422387)'))) / (select extract(epoch from '2026-05-27 13:04:19'::timestamp) - extract(epoch from '2026-05-27 13:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570155 -3.422378)', '2026-05-27 13:04:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570152 -3.422387)'), GeomFromEWKT('SRID=4674;POINT (-38.570155 -3.422378)'))) / (select extract(epoch from '2026-05-27 13:04:20'::timestamp) - extract(epoch from '2026-05-27 13:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570152 -3.422387)'), GeomFromEWKT('SRID=4674;POINT (-38.570155 -3.422378)'))) / (select extract(epoch from '2026-05-27 13:04:20'::timestamp) - extract(epoch from '2026-05-27 13:04: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'), 46535, 'SRID=4674;POINT (-38.570167 -3.422366)', '2026-05-27 13:04:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570155 -3.422378)'), GeomFromEWKT('SRID=4674;POINT (-38.570167 -3.422366)'))) / (select extract(epoch from '2026-05-27 13:04:22'::timestamp) - extract(epoch from '2026-05-27 13:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570155 -3.422378)'), GeomFromEWKT('SRID=4674;POINT (-38.570167 -3.422366)'))) / (select extract(epoch from '2026-05-27 13:04:22'::timestamp) - extract(epoch from '2026-05-27 13: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'), 46535, 'SRID=4674;POINT (-38.570195 -3.422354)', '2026-05-27 13:04:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570167 -3.422366)'), GeomFromEWKT('SRID=4674;POINT (-38.570195 -3.422354)'))) / (select extract(epoch from '2026-05-27 13:04:25'::timestamp) - extract(epoch from '2026-05-27 13:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570167 -3.422366)'), GeomFromEWKT('SRID=4674;POINT (-38.570195 -3.422354)'))) / (select extract(epoch from '2026-05-27 13:04:25'::timestamp) - extract(epoch from '2026-05-27 13:04:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57021 -3.422316)', '2026-05-27 13:04:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570195 -3.422354)'), GeomFromEWKT('SRID=4674;POINT (-38.57021 -3.422316)'))) / (select extract(epoch from '2026-05-27 13:04:28'::timestamp) - extract(epoch from '2026-05-27 13:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570195 -3.422354)'), GeomFromEWKT('SRID=4674;POINT (-38.57021 -3.422316)'))) / (select extract(epoch from '2026-05-27 13:04:28'::timestamp) - extract(epoch from '2026-05-27 13:04:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57021 -3.422316)', '2026-05-27 13:04:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57021 -3.422316)'), GeomFromEWKT('SRID=4674;POINT (-38.57021 -3.422316)'))) / (select extract(epoch from '2026-05-27 13:04:29'::timestamp) - extract(epoch from '2026-05-27 13:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57021 -3.422316)'), GeomFromEWKT('SRID=4674;POINT (-38.57021 -3.422316)'))) / (select extract(epoch from '2026-05-27 13:04:29'::timestamp) - extract(epoch from '2026-05-27 13:04:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571362 -3.420851)', '2026-05-28 08:33:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57021 -3.422316)'), GeomFromEWKT('SRID=4674;POINT (-38.571362 -3.420851)'))) / (select extract(epoch from '2026-05-28 08:33:26'::timestamp) - extract(epoch from '2026-05-27 13:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57021 -3.422316)'), GeomFromEWKT('SRID=4674;POINT (-38.571362 -3.420851)'))) / (select extract(epoch from '2026-05-28 08:33:26'::timestamp) - extract(epoch from '2026-05-27 13:04:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571377 -3.420709)', '2026-05-28 08:33:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571362 -3.420851)'), GeomFromEWKT('SRID=4674;POINT (-38.571377 -3.420709)'))) / (select extract(epoch from '2026-05-28 08:33:32'::timestamp) - extract(epoch from '2026-05-28 08:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571362 -3.420851)'), GeomFromEWKT('SRID=4674;POINT (-38.571377 -3.420709)'))) / (select extract(epoch from '2026-05-28 08:33:32'::timestamp) - extract(epoch from '2026-05-28 08:33:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571396 -3.420531)', '2026-05-28 08:33:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571377 -3.420709)'), GeomFromEWKT('SRID=4674;POINT (-38.571396 -3.420531)'))) / (select extract(epoch from '2026-05-28 08:33:38'::timestamp) - extract(epoch from '2026-05-28 08:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571377 -3.420709)'), GeomFromEWKT('SRID=4674;POINT (-38.571396 -3.420531)'))) / (select extract(epoch from '2026-05-28 08:33:38'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.571396 -3.420355)', '2026-05-28 08:33:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571396 -3.420531)'), GeomFromEWKT('SRID=4674;POINT (-38.571396 -3.420355)'))) / (select extract(epoch from '2026-05-28 08:33:45'::timestamp) - extract(epoch from '2026-05-28 08:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571396 -3.420531)'), GeomFromEWKT('SRID=4674;POINT (-38.571396 -3.420355)'))) / (select extract(epoch from '2026-05-28 08:33:45'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.57139 -3.420202)', '2026-05-28 08:33:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571396 -3.420355)'), GeomFromEWKT('SRID=4674;POINT (-38.57139 -3.420202)'))) / (select extract(epoch from '2026-05-28 08:33:52'::timestamp) - extract(epoch from '2026-05-28 08:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571396 -3.420355)'), GeomFromEWKT('SRID=4674;POINT (-38.57139 -3.420202)'))) / (select extract(epoch from '2026-05-28 08:33:52'::timestamp) - extract(epoch from '2026-05-28 08:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571404 -3.420099)', '2026-05-28 08:33:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57139 -3.420202)'), GeomFromEWKT('SRID=4674;POINT (-38.571404 -3.420099)'))) / (select extract(epoch from '2026-05-28 08:33:57'::timestamp) - extract(epoch from '2026-05-28 08:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57139 -3.420202)'), GeomFromEWKT('SRID=4674;POINT (-38.571404 -3.420099)'))) / (select extract(epoch from '2026-05-28 08:33:57'::timestamp) - extract(epoch from '2026-05-28 08:33:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571437 -3.420016)', '2026-05-28 08:34:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571404 -3.420099)'), GeomFromEWKT('SRID=4674;POINT (-38.571437 -3.420016)'))) / (select extract(epoch from '2026-05-28 08:34:02'::timestamp) - extract(epoch from '2026-05-28 08:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571404 -3.420099)'), GeomFromEWKT('SRID=4674;POINT (-38.571437 -3.420016)'))) / (select extract(epoch from '2026-05-28 08:34:02'::timestamp) - extract(epoch from '2026-05-28 08:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571452 -3.419975)', '2026-05-28 08:34:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571437 -3.420016)'), GeomFromEWKT('SRID=4674;POINT (-38.571452 -3.419975)'))) / (select extract(epoch from '2026-05-28 08:34:05'::timestamp) - extract(epoch from '2026-05-28 08:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571437 -3.420016)'), GeomFromEWKT('SRID=4674;POINT (-38.571452 -3.419975)'))) / (select extract(epoch from '2026-05-28 08:34:05'::timestamp) - extract(epoch from '2026-05-28 08:34:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57148 -3.419935)', '2026-05-28 08:34:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571452 -3.419975)'), GeomFromEWKT('SRID=4674;POINT (-38.57148 -3.419935)'))) / (select extract(epoch from '2026-05-28 08:34:07'::timestamp) - extract(epoch from '2026-05-28 08:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571452 -3.419975)'), GeomFromEWKT('SRID=4674;POINT (-38.57148 -3.419935)'))) / (select extract(epoch from '2026-05-28 08:34:07'::timestamp) - extract(epoch from '2026-05-28 08:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571512 -3.419853)', '2026-05-28 08:34:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57148 -3.419935)'), GeomFromEWKT('SRID=4674;POINT (-38.571512 -3.419853)'))) / (select extract(epoch from '2026-05-28 08:34:11'::timestamp) - extract(epoch from '2026-05-28 08:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57148 -3.419935)'), GeomFromEWKT('SRID=4674;POINT (-38.571512 -3.419853)'))) / (select extract(epoch from '2026-05-28 08:34:11'::timestamp) - extract(epoch from '2026-05-28 08:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57156 -3.419758)', '2026-05-28 08:34:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571512 -3.419853)'), GeomFromEWKT('SRID=4674;POINT (-38.57156 -3.419758)'))) / (select extract(epoch from '2026-05-28 08:34:15'::timestamp) - extract(epoch from '2026-05-28 08:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571512 -3.419853)'), GeomFromEWKT('SRID=4674;POINT (-38.57156 -3.419758)'))) / (select extract(epoch from '2026-05-28 08:34:15'::timestamp) - extract(epoch from '2026-05-28 08:34:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571572 -3.419722)', '2026-05-28 08:34:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57156 -3.419758)'), GeomFromEWKT('SRID=4674;POINT (-38.571572 -3.419722)'))) / (select extract(epoch from '2026-05-28 08:34:17'::timestamp) - extract(epoch from '2026-05-28 08:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57156 -3.419758)'), GeomFromEWKT('SRID=4674;POINT (-38.571572 -3.419722)'))) / (select extract(epoch from '2026-05-28 08:34:17'::timestamp) - extract(epoch from '2026-05-28 08:34:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571612 -3.419679)', '2026-05-28 08:34:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571572 -3.419722)'), GeomFromEWKT('SRID=4674;POINT (-38.571612 -3.419679)'))) / (select extract(epoch from '2026-05-28 08:34:19'::timestamp) - extract(epoch from '2026-05-28 08:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571572 -3.419722)'), GeomFromEWKT('SRID=4674;POINT (-38.571612 -3.419679)'))) / (select extract(epoch from '2026-05-28 08:34:19'::timestamp) - extract(epoch from '2026-05-28 08:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571703 -3.4195)', '2026-05-28 08:34:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571612 -3.419679)'), GeomFromEWKT('SRID=4674;POINT (-38.571703 -3.4195)'))) / (select extract(epoch from '2026-05-28 08:34:27'::timestamp) - extract(epoch from '2026-05-28 08:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571612 -3.419679)'), GeomFromEWKT('SRID=4674;POINT (-38.571703 -3.4195)'))) / (select extract(epoch from '2026-05-28 08:34:27'::timestamp) - extract(epoch from '2026-05-28 08:34: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'), 46535, 'SRID=4674;POINT (-38.571796 -3.419335)', '2026-05-28 08:34:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571703 -3.4195)'), GeomFromEWKT('SRID=4674;POINT (-38.571796 -3.419335)'))) / (select extract(epoch from '2026-05-28 08:34:34'::timestamp) - extract(epoch from '2026-05-28 08:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571703 -3.4195)'), GeomFromEWKT('SRID=4674;POINT (-38.571796 -3.419335)'))) / (select extract(epoch from '2026-05-28 08:34:34'::timestamp) - extract(epoch from '2026-05-28 08:34:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571833 -3.419181)', '2026-05-28 08:34:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571796 -3.419335)'), GeomFromEWKT('SRID=4674;POINT (-38.571833 -3.419181)'))) / (select extract(epoch from '2026-05-28 08:34:40'::timestamp) - extract(epoch from '2026-05-28 08:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571796 -3.419335)'), GeomFromEWKT('SRID=4674;POINT (-38.571833 -3.419181)'))) / (select extract(epoch from '2026-05-28 08:34:40'::timestamp) - extract(epoch from '2026-05-28 08:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571855 -3.419037)', '2026-05-28 08:34:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571833 -3.419181)'), GeomFromEWKT('SRID=4674;POINT (-38.571855 -3.419037)'))) / (select extract(epoch from '2026-05-28 08:34:46'::timestamp) - extract(epoch from '2026-05-28 08:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571833 -3.419181)'), GeomFromEWKT('SRID=4674;POINT (-38.571855 -3.419037)'))) / (select extract(epoch from '2026-05-28 08:34:46'::timestamp) - extract(epoch from '2026-05-28 08:34:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571889 -3.418907)', '2026-05-28 08:34:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571855 -3.419037)'), GeomFromEWKT('SRID=4674;POINT (-38.571889 -3.418907)'))) / (select extract(epoch from '2026-05-28 08:34:52'::timestamp) - extract(epoch from '2026-05-28 08:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571855 -3.419037)'), GeomFromEWKT('SRID=4674;POINT (-38.571889 -3.418907)'))) / (select extract(epoch from '2026-05-28 08:34:52'::timestamp) - extract(epoch from '2026-05-28 08:34:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571915 -3.418778)', '2026-05-28 08:34:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571889 -3.418907)'), GeomFromEWKT('SRID=4674;POINT (-38.571915 -3.418778)'))) / (select extract(epoch from '2026-05-28 08:34:58'::timestamp) - extract(epoch from '2026-05-28 08:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571889 -3.418907)'), GeomFromEWKT('SRID=4674;POINT (-38.571915 -3.418778)'))) / (select extract(epoch from '2026-05-28 08:34:58'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.57193 -3.418674)', '2026-05-28 08:35:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571915 -3.418778)'), GeomFromEWKT('SRID=4674;POINT (-38.57193 -3.418674)'))) / (select extract(epoch from '2026-05-28 08:35:03'::timestamp) - extract(epoch from '2026-05-28 08:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571915 -3.418778)'), GeomFromEWKT('SRID=4674;POINT (-38.57193 -3.418674)'))) / (select extract(epoch from '2026-05-28 08:35:03'::timestamp) - extract(epoch from '2026-05-28 08:34:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571964 -3.418558)', '2026-05-28 08:35:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57193 -3.418674)'), GeomFromEWKT('SRID=4674;POINT (-38.571964 -3.418558)'))) / (select extract(epoch from '2026-05-28 08:35:09'::timestamp) - extract(epoch from '2026-05-28 08:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57193 -3.418674)'), GeomFromEWKT('SRID=4674;POINT (-38.571964 -3.418558)'))) / (select extract(epoch from '2026-05-28 08:35:09'::timestamp) - extract(epoch from '2026-05-28 08:35:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571998 -3.41847)', '2026-05-28 08:35:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571964 -3.418558)'), GeomFromEWKT('SRID=4674;POINT (-38.571998 -3.41847)'))) / (select extract(epoch from '2026-05-28 08:35:13'::timestamp) - extract(epoch from '2026-05-28 08:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571964 -3.418558)'), GeomFromEWKT('SRID=4674;POINT (-38.571998 -3.41847)'))) / (select extract(epoch from '2026-05-28 08:35:13'::timestamp) - extract(epoch from '2026-05-28 08:35:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572001 -3.418446)', '2026-05-28 08:35:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571998 -3.41847)'), GeomFromEWKT('SRID=4674;POINT (-38.572001 -3.418446)'))) / (select extract(epoch from '2026-05-28 08:35:14'::timestamp) - extract(epoch from '2026-05-28 08:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571998 -3.41847)'), GeomFromEWKT('SRID=4674;POINT (-38.572001 -3.418446)'))) / (select extract(epoch from '2026-05-28 08:35:14'::timestamp) - extract(epoch from '2026-05-28 08:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572032 -3.418336)', '2026-05-28 08:35:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572001 -3.418446)'), GeomFromEWKT('SRID=4674;POINT (-38.572032 -3.418336)'))) / (select extract(epoch from '2026-05-28 08:35:19'::timestamp) - extract(epoch from '2026-05-28 08:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572001 -3.418446)'), GeomFromEWKT('SRID=4674;POINT (-38.572032 -3.418336)'))) / (select extract(epoch from '2026-05-28 08:35:19'::timestamp) - extract(epoch from '2026-05-28 08:35:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572057 -3.418198)', '2026-05-28 08:35:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572032 -3.418336)'), GeomFromEWKT('SRID=4674;POINT (-38.572057 -3.418198)'))) / (select extract(epoch from '2026-05-28 08:35:25'::timestamp) - extract(epoch from '2026-05-28 08:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572032 -3.418336)'), GeomFromEWKT('SRID=4674;POINT (-38.572057 -3.418198)'))) / (select extract(epoch from '2026-05-28 08:35:25'::timestamp) - extract(epoch from '2026-05-28 08:35: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'), 46535, 'SRID=4674;POINT (-38.572058 -3.418087)', '2026-05-28 08:35:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572057 -3.418198)'), GeomFromEWKT('SRID=4674;POINT (-38.572058 -3.418087)'))) / (select extract(epoch from '2026-05-28 08:35:30'::timestamp) - extract(epoch from '2026-05-28 08:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572057 -3.418198)'), GeomFromEWKT('SRID=4674;POINT (-38.572058 -3.418087)'))) / (select extract(epoch from '2026-05-28 08:35:30'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.572067 -3.417987)', '2026-05-28 08:35:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572058 -3.418087)'), GeomFromEWKT('SRID=4674;POINT (-38.572067 -3.417987)'))) / (select extract(epoch from '2026-05-28 08:35:34'::timestamp) - extract(epoch from '2026-05-28 08:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572058 -3.418087)'), GeomFromEWKT('SRID=4674;POINT (-38.572067 -3.417987)'))) / (select extract(epoch from '2026-05-28 08:35:34'::timestamp) - extract(epoch from '2026-05-28 08:35:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572083 -3.417834)', '2026-05-28 08:35:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572067 -3.417987)'), GeomFromEWKT('SRID=4674;POINT (-38.572083 -3.417834)'))) / (select extract(epoch from '2026-05-28 08:35:41'::timestamp) - extract(epoch from '2026-05-28 08:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572067 -3.417987)'), GeomFromEWKT('SRID=4674;POINT (-38.572083 -3.417834)'))) / (select extract(epoch from '2026-05-28 08:35:41'::timestamp) - extract(epoch from '2026-05-28 08:35:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572127 -3.417699)', '2026-05-28 08:35:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572083 -3.417834)'), GeomFromEWKT('SRID=4674;POINT (-38.572127 -3.417699)'))) / (select extract(epoch from '2026-05-28 08:35:47'::timestamp) - extract(epoch from '2026-05-28 08:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572083 -3.417834)'), GeomFromEWKT('SRID=4674;POINT (-38.572127 -3.417699)'))) / (select extract(epoch from '2026-05-28 08:35:47'::timestamp) - extract(epoch from '2026-05-28 08:35:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572141 -3.417611)', '2026-05-28 08:35:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572127 -3.417699)'), GeomFromEWKT('SRID=4674;POINT (-38.572141 -3.417611)'))) / (select extract(epoch from '2026-05-28 08:35:51'::timestamp) - extract(epoch from '2026-05-28 08:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572127 -3.417699)'), GeomFromEWKT('SRID=4674;POINT (-38.572141 -3.417611)'))) / (select extract(epoch from '2026-05-28 08:35:51'::timestamp) - extract(epoch from '2026-05-28 08:35:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572154 -3.417589)', '2026-05-28 08:35:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572141 -3.417611)'), GeomFromEWKT('SRID=4674;POINT (-38.572154 -3.417589)'))) / (select extract(epoch from '2026-05-28 08:35:52'::timestamp) - extract(epoch from '2026-05-28 08:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572141 -3.417611)'), GeomFromEWKT('SRID=4674;POINT (-38.572154 -3.417589)'))) / (select extract(epoch from '2026-05-28 08:35:52'::timestamp) - extract(epoch from '2026-05-28 08:35:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57217 -3.417492)', '2026-05-28 08:35:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572154 -3.417589)'), GeomFromEWKT('SRID=4674;POINT (-38.57217 -3.417492)'))) / (select extract(epoch from '2026-05-28 08:35:56'::timestamp) - extract(epoch from '2026-05-28 08:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572154 -3.417589)'), GeomFromEWKT('SRID=4674;POINT (-38.57217 -3.417492)'))) / (select extract(epoch from '2026-05-28 08:35:56'::timestamp) - extract(epoch from '2026-05-28 08:35:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572205 -3.417379)', '2026-05-28 08:36:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57217 -3.417492)'), GeomFromEWKT('SRID=4674;POINT (-38.572205 -3.417379)'))) / (select extract(epoch from '2026-05-28 08:36:01'::timestamp) - extract(epoch from '2026-05-28 08:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57217 -3.417492)'), GeomFromEWKT('SRID=4674;POINT (-38.572205 -3.417379)'))) / (select extract(epoch from '2026-05-28 08:36:01'::timestamp) - extract(epoch from '2026-05-28 08:35:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572249 -3.417244)', '2026-05-28 08:36:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572205 -3.417379)'), GeomFromEWKT('SRID=4674;POINT (-38.572249 -3.417244)'))) / (select extract(epoch from '2026-05-28 08:36:07'::timestamp) - extract(epoch from '2026-05-28 08:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572205 -3.417379)'), GeomFromEWKT('SRID=4674;POINT (-38.572249 -3.417244)'))) / (select extract(epoch from '2026-05-28 08:36:07'::timestamp) - extract(epoch from '2026-05-28 08:36:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572283 -3.417092)', '2026-05-28 08:36:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572249 -3.417244)'), GeomFromEWKT('SRID=4674;POINT (-38.572283 -3.417092)'))) / (select extract(epoch from '2026-05-28 08:36:13'::timestamp) - extract(epoch from '2026-05-28 08:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572249 -3.417244)'), GeomFromEWKT('SRID=4674;POINT (-38.572283 -3.417092)'))) / (select extract(epoch from '2026-05-28 08:36:13'::timestamp) - extract(epoch from '2026-05-28 08:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572311 -3.416948)', '2026-05-28 08:36:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572283 -3.417092)'), GeomFromEWKT('SRID=4674;POINT (-38.572311 -3.416948)'))) / (select extract(epoch from '2026-05-28 08:36:19'::timestamp) - extract(epoch from '2026-05-28 08:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572283 -3.417092)'), GeomFromEWKT('SRID=4674;POINT (-38.572311 -3.416948)'))) / (select extract(epoch from '2026-05-28 08:36:19'::timestamp) - extract(epoch from '2026-05-28 08:36:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572342 -3.416801)', '2026-05-28 08:36:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572311 -3.416948)'), GeomFromEWKT('SRID=4674;POINT (-38.572342 -3.416801)'))) / (select extract(epoch from '2026-05-28 08:36:25'::timestamp) - extract(epoch from '2026-05-28 08:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572311 -3.416948)'), GeomFromEWKT('SRID=4674;POINT (-38.572342 -3.416801)'))) / (select extract(epoch from '2026-05-28 08:36:25'::timestamp) - extract(epoch from '2026-05-28 08:36:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572363 -3.416671)', '2026-05-28 08:36:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572342 -3.416801)'), GeomFromEWKT('SRID=4674;POINT (-38.572363 -3.416671)'))) / (select extract(epoch from '2026-05-28 08:36:30'::timestamp) - extract(epoch from '2026-05-28 08:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572342 -3.416801)'), GeomFromEWKT('SRID=4674;POINT (-38.572363 -3.416671)'))) / (select extract(epoch from '2026-05-28 08:36:30'::timestamp) - extract(epoch from '2026-05-28 08:36:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57236 -3.416589)', '2026-05-28 08:36:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572363 -3.416671)'), GeomFromEWKT('SRID=4674;POINT (-38.57236 -3.416589)'))) / (select extract(epoch from '2026-05-28 08:36:34'::timestamp) - extract(epoch from '2026-05-28 08:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572363 -3.416671)'), GeomFromEWKT('SRID=4674;POINT (-38.57236 -3.416589)'))) / (select extract(epoch from '2026-05-28 08:36:34'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.572379 -3.416469)', '2026-05-28 08:36:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57236 -3.416589)'), GeomFromEWKT('SRID=4674;POINT (-38.572379 -3.416469)'))) / (select extract(epoch from '2026-05-28 08:36:39'::timestamp) - extract(epoch from '2026-05-28 08:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57236 -3.416589)'), GeomFromEWKT('SRID=4674;POINT (-38.572379 -3.416469)'))) / (select extract(epoch from '2026-05-28 08:36:39'::timestamp) - extract(epoch from '2026-05-28 08:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57241 -3.41634)', '2026-05-28 08:36:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572379 -3.416469)'), GeomFromEWKT('SRID=4674;POINT (-38.57241 -3.41634)'))) / (select extract(epoch from '2026-05-28 08:36:45'::timestamp) - extract(epoch from '2026-05-28 08:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572379 -3.416469)'), GeomFromEWKT('SRID=4674;POINT (-38.57241 -3.41634)'))) / (select extract(epoch from '2026-05-28 08:36:45'::timestamp) - extract(epoch from '2026-05-28 08:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572425 -3.416258)', '2026-05-28 08:36:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57241 -3.41634)'), GeomFromEWKT('SRID=4674;POINT (-38.572425 -3.416258)'))) / (select extract(epoch from '2026-05-28 08:36:49'::timestamp) - extract(epoch from '2026-05-28 08:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57241 -3.41634)'), GeomFromEWKT('SRID=4674;POINT (-38.572425 -3.416258)'))) / (select extract(epoch from '2026-05-28 08:36:49'::timestamp) - extract(epoch from '2026-05-28 08:36:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572454 -3.416131)', '2026-05-28 08:36:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572425 -3.416258)'), GeomFromEWKT('SRID=4674;POINT (-38.572454 -3.416131)'))) / (select extract(epoch from '2026-05-28 08:36:55'::timestamp) - extract(epoch from '2026-05-28 08:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572425 -3.416258)'), GeomFromEWKT('SRID=4674;POINT (-38.572454 -3.416131)'))) / (select extract(epoch from '2026-05-28 08:36:55'::timestamp) - extract(epoch from '2026-05-28 08:36:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572493 -3.416021)', '2026-05-28 08:37:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572454 -3.416131)'), GeomFromEWKT('SRID=4674;POINT (-38.572493 -3.416021)'))) / (select extract(epoch from '2026-05-28 08:37:00'::timestamp) - extract(epoch from '2026-05-28 08:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572454 -3.416131)'), GeomFromEWKT('SRID=4674;POINT (-38.572493 -3.416021)'))) / (select extract(epoch from '2026-05-28 08:37:00'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.572528 -3.415883)', '2026-05-28 08:37:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572493 -3.416021)'), GeomFromEWKT('SRID=4674;POINT (-38.572528 -3.415883)'))) / (select extract(epoch from '2026-05-28 08:37:06'::timestamp) - extract(epoch from '2026-05-28 08:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572493 -3.416021)'), GeomFromEWKT('SRID=4674;POINT (-38.572528 -3.415883)'))) / (select extract(epoch from '2026-05-28 08:37:06'::timestamp) - extract(epoch from '2026-05-28 08:37:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572539 -3.41575)', '2026-05-28 08:37:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572528 -3.415883)'), GeomFromEWKT('SRID=4674;POINT (-38.572539 -3.41575)'))) / (select extract(epoch from '2026-05-28 08:37:12'::timestamp) - extract(epoch from '2026-05-28 08:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572528 -3.415883)'), GeomFromEWKT('SRID=4674;POINT (-38.572539 -3.41575)'))) / (select extract(epoch from '2026-05-28 08:37:12'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.572539 -3.41559)', '2026-05-28 08:37:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572539 -3.41575)'), GeomFromEWKT('SRID=4674;POINT (-38.572539 -3.41559)'))) / (select extract(epoch from '2026-05-28 08:37:19'::timestamp) - extract(epoch from '2026-05-28 08:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572539 -3.41575)'), GeomFromEWKT('SRID=4674;POINT (-38.572539 -3.41559)'))) / (select extract(epoch from '2026-05-28 08:37:19'::timestamp) - extract(epoch from '2026-05-28 08:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572539 -3.41543)', '2026-05-28 08:37:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572539 -3.41559)'), GeomFromEWKT('SRID=4674;POINT (-38.572539 -3.41543)'))) / (select extract(epoch from '2026-05-28 08:37:26'::timestamp) - extract(epoch from '2026-05-28 08:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572539 -3.41559)'), GeomFromEWKT('SRID=4674;POINT (-38.572539 -3.41543)'))) / (select extract(epoch from '2026-05-28 08:37:26'::timestamp) - extract(epoch from '2026-05-28 08:37: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'), 46535, 'SRID=4674;POINT (-38.572509 -3.415259)', '2026-05-28 08:37:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572539 -3.41543)'), GeomFromEWKT('SRID=4674;POINT (-38.572509 -3.415259)'))) / (select extract(epoch from '2026-05-28 08:37:34'::timestamp) - extract(epoch from '2026-05-28 08:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572539 -3.41543)'), GeomFromEWKT('SRID=4674;POINT (-38.572509 -3.415259)'))) / (select extract(epoch from '2026-05-28 08:37:34'::timestamp) - extract(epoch from '2026-05-28 08:37:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572484 -3.415135)', '2026-05-28 08:37:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572509 -3.415259)'), GeomFromEWKT('SRID=4674;POINT (-38.572484 -3.415135)'))) / (select extract(epoch from '2026-05-28 08:37:40'::timestamp) - extract(epoch from '2026-05-28 08:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572509 -3.415259)'), GeomFromEWKT('SRID=4674;POINT (-38.572484 -3.415135)'))) / (select extract(epoch from '2026-05-28 08:37:40'::timestamp) - extract(epoch from '2026-05-28 08:37:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572476 -3.415022)', '2026-05-28 08:37:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572484 -3.415135)'), GeomFromEWKT('SRID=4674;POINT (-38.572476 -3.415022)'))) / (select extract(epoch from '2026-05-28 08:37:45'::timestamp) - extract(epoch from '2026-05-28 08:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572484 -3.415135)'), GeomFromEWKT('SRID=4674;POINT (-38.572476 -3.415022)'))) / (select extract(epoch from '2026-05-28 08:37:45'::timestamp) - extract(epoch from '2026-05-28 08:37:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572479 -3.414903)', '2026-05-28 08:37:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572476 -3.415022)'), GeomFromEWKT('SRID=4674;POINT (-38.572479 -3.414903)'))) / (select extract(epoch from '2026-05-28 08:37:51'::timestamp) - extract(epoch from '2026-05-28 08:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572476 -3.415022)'), GeomFromEWKT('SRID=4674;POINT (-38.572479 -3.414903)'))) / (select extract(epoch from '2026-05-28 08:37:51'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.572489 -3.4148)', '2026-05-28 08:37:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572479 -3.414903)'), GeomFromEWKT('SRID=4674;POINT (-38.572489 -3.4148)'))) / (select extract(epoch from '2026-05-28 08:37:56'::timestamp) - extract(epoch from '2026-05-28 08:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572479 -3.414903)'), GeomFromEWKT('SRID=4674;POINT (-38.572489 -3.4148)'))) / (select extract(epoch from '2026-05-28 08:37:56'::timestamp) - extract(epoch from '2026-05-28 08:37:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572504 -3.414688)', '2026-05-28 08:38:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572489 -3.4148)'), GeomFromEWKT('SRID=4674;POINT (-38.572504 -3.414688)'))) / (select extract(epoch from '2026-05-28 08:38:01'::timestamp) - extract(epoch from '2026-05-28 08:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572489 -3.4148)'), GeomFromEWKT('SRID=4674;POINT (-38.572504 -3.414688)'))) / (select extract(epoch from '2026-05-28 08:38:01'::timestamp) - extract(epoch from '2026-05-28 08:37:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572508 -3.414558)', '2026-05-28 08:38:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572504 -3.414688)'), GeomFromEWKT('SRID=4674;POINT (-38.572508 -3.414558)'))) / (select extract(epoch from '2026-05-28 08:38:07'::timestamp) - extract(epoch from '2026-05-28 08:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572504 -3.414688)'), GeomFromEWKT('SRID=4674;POINT (-38.572508 -3.414558)'))) / (select extract(epoch from '2026-05-28 08:38:07'::timestamp) - extract(epoch from '2026-05-28 08:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572526 -3.414421)', '2026-05-28 08:38:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572508 -3.414558)'), GeomFromEWKT('SRID=4674;POINT (-38.572526 -3.414421)'))) / (select extract(epoch from '2026-05-28 08:38:13'::timestamp) - extract(epoch from '2026-05-28 08:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572508 -3.414558)'), GeomFromEWKT('SRID=4674;POINT (-38.572526 -3.414421)'))) / (select extract(epoch from '2026-05-28 08:38:13'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.572532 -3.414311)', '2026-05-28 08:38:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572526 -3.414421)'), GeomFromEWKT('SRID=4674;POINT (-38.572532 -3.414311)'))) / (select extract(epoch from '2026-05-28 08:38:18'::timestamp) - extract(epoch from '2026-05-28 08:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572526 -3.414421)'), GeomFromEWKT('SRID=4674;POINT (-38.572532 -3.414311)'))) / (select extract(epoch from '2026-05-28 08:38:18'::timestamp) - extract(epoch from '2026-05-28 08:38:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57255 -3.414198)', '2026-05-28 08:38:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572532 -3.414311)'), GeomFromEWKT('SRID=4674;POINT (-38.57255 -3.414198)'))) / (select extract(epoch from '2026-05-28 08:38:23'::timestamp) - extract(epoch from '2026-05-28 08:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572532 -3.414311)'), GeomFromEWKT('SRID=4674;POINT (-38.57255 -3.414198)'))) / (select extract(epoch from '2026-05-28 08:38:23'::timestamp) - extract(epoch from '2026-05-28 08:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572577 -3.414052)', '2026-05-28 08:38:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57255 -3.414198)'), GeomFromEWKT('SRID=4674;POINT (-38.572577 -3.414052)'))) / (select extract(epoch from '2026-05-28 08:38:29'::timestamp) - extract(epoch from '2026-05-28 08:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57255 -3.414198)'), GeomFromEWKT('SRID=4674;POINT (-38.572577 -3.414052)'))) / (select extract(epoch from '2026-05-28 08:38:29'::timestamp) - extract(epoch from '2026-05-28 08:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57259 -3.413916)', '2026-05-28 08:38:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572577 -3.414052)'), GeomFromEWKT('SRID=4674;POINT (-38.57259 -3.413916)'))) / (select extract(epoch from '2026-05-28 08:38:35'::timestamp) - extract(epoch from '2026-05-28 08:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572577 -3.414052)'), GeomFromEWKT('SRID=4674;POINT (-38.57259 -3.413916)'))) / (select extract(epoch from '2026-05-28 08:38:35'::timestamp) - extract(epoch from '2026-05-28 08:38:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572612 -3.413781)', '2026-05-28 08:38:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57259 -3.413916)'), GeomFromEWKT('SRID=4674;POINT (-38.572612 -3.413781)'))) / (select extract(epoch from '2026-05-28 08:38:41'::timestamp) - extract(epoch from '2026-05-28 08:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57259 -3.413916)'), GeomFromEWKT('SRID=4674;POINT (-38.572612 -3.413781)'))) / (select extract(epoch from '2026-05-28 08:38:41'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.57264 -3.413643)', '2026-05-28 08:38:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572612 -3.413781)'), GeomFromEWKT('SRID=4674;POINT (-38.57264 -3.413643)'))) / (select extract(epoch from '2026-05-28 08:38:47'::timestamp) - extract(epoch from '2026-05-28 08:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572612 -3.413781)'), GeomFromEWKT('SRID=4674;POINT (-38.57264 -3.413643)'))) / (select extract(epoch from '2026-05-28 08:38:47'::timestamp) - extract(epoch from '2026-05-28 08:38:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572678 -3.413473)', '2026-05-28 08:38:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57264 -3.413643)'), GeomFromEWKT('SRID=4674;POINT (-38.572678 -3.413473)'))) / (select extract(epoch from '2026-05-28 08:38:54'::timestamp) - extract(epoch from '2026-05-28 08:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57264 -3.413643)'), GeomFromEWKT('SRID=4674;POINT (-38.572678 -3.413473)'))) / (select extract(epoch from '2026-05-28 08:38:54'::timestamp) - extract(epoch from '2026-05-28 08:38:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572717 -3.413275)', '2026-05-28 08:39:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572678 -3.413473)'), GeomFromEWKT('SRID=4674;POINT (-38.572717 -3.413275)'))) / (select extract(epoch from '2026-05-28 08:39:02'::timestamp) - extract(epoch from '2026-05-28 08:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572678 -3.413473)'), GeomFromEWKT('SRID=4674;POINT (-38.572717 -3.413275)'))) / (select extract(epoch from '2026-05-28 08:39:02'::timestamp) - extract(epoch from '2026-05-28 08:38:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572743 -3.413098)', '2026-05-28 08:39:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572717 -3.413275)'), GeomFromEWKT('SRID=4674;POINT (-38.572743 -3.413098)'))) / (select extract(epoch from '2026-05-28 08:39:10'::timestamp) - extract(epoch from '2026-05-28 08:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572717 -3.413275)'), GeomFromEWKT('SRID=4674;POINT (-38.572743 -3.413098)'))) / (select extract(epoch from '2026-05-28 08:39:10'::timestamp) - extract(epoch from '2026-05-28 08:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572758 -3.41296)', '2026-05-28 08:39:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572743 -3.413098)'), GeomFromEWKT('SRID=4674;POINT (-38.572758 -3.41296)'))) / (select extract(epoch from '2026-05-28 08:39:16'::timestamp) - extract(epoch from '2026-05-28 08:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572743 -3.413098)'), GeomFromEWKT('SRID=4674;POINT (-38.572758 -3.41296)'))) / (select extract(epoch from '2026-05-28 08:39:16'::timestamp) - extract(epoch from '2026-05-28 08:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572771 -3.412794)', '2026-05-28 08:39:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572758 -3.41296)'), GeomFromEWKT('SRID=4674;POINT (-38.572771 -3.412794)'))) / (select extract(epoch from '2026-05-28 08:39:23'::timestamp) - extract(epoch from '2026-05-28 08:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572758 -3.41296)'), GeomFromEWKT('SRID=4674;POINT (-38.572771 -3.412794)'))) / (select extract(epoch from '2026-05-28 08:39:23'::timestamp) - extract(epoch from '2026-05-28 08:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572776 -3.412684)', '2026-05-28 08:39:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572771 -3.412794)'), GeomFromEWKT('SRID=4674;POINT (-38.572776 -3.412684)'))) / (select extract(epoch from '2026-05-28 08:39:28'::timestamp) - extract(epoch from '2026-05-28 08:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572771 -3.412794)'), GeomFromEWKT('SRID=4674;POINT (-38.572776 -3.412684)'))) / (select extract(epoch from '2026-05-28 08:39:28'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.57277 -3.412579)', '2026-05-28 08:39:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572776 -3.412684)'), GeomFromEWKT('SRID=4674;POINT (-38.57277 -3.412579)'))) / (select extract(epoch from '2026-05-28 08:39:33'::timestamp) - extract(epoch from '2026-05-28 08:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572776 -3.412684)'), GeomFromEWKT('SRID=4674;POINT (-38.57277 -3.412579)'))) / (select extract(epoch from '2026-05-28 08:39:33'::timestamp) - extract(epoch from '2026-05-28 08:39:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572763 -3.412465)', '2026-05-28 08:39:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57277 -3.412579)'), GeomFromEWKT('SRID=4674;POINT (-38.572763 -3.412465)'))) / (select extract(epoch from '2026-05-28 08:39:38'::timestamp) - extract(epoch from '2026-05-28 08:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57277 -3.412579)'), GeomFromEWKT('SRID=4674;POINT (-38.572763 -3.412465)'))) / (select extract(epoch from '2026-05-28 08:39:38'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.572753 -3.412346)', '2026-05-28 08:39:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572763 -3.412465)'), GeomFromEWKT('SRID=4674;POINT (-38.572753 -3.412346)'))) / (select extract(epoch from '2026-05-28 08:39:44'::timestamp) - extract(epoch from '2026-05-28 08:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572763 -3.412465)'), GeomFromEWKT('SRID=4674;POINT (-38.572753 -3.412346)'))) / (select extract(epoch from '2026-05-28 08:39:44'::timestamp) - extract(epoch from '2026-05-28 08:39:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572753 -3.412325)', '2026-05-28 08:39:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572753 -3.412346)'), GeomFromEWKT('SRID=4674;POINT (-38.572753 -3.412325)'))) / (select extract(epoch from '2026-05-28 08:39:45'::timestamp) - extract(epoch from '2026-05-28 08:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572753 -3.412346)'), GeomFromEWKT('SRID=4674;POINT (-38.572753 -3.412325)'))) / (select extract(epoch from '2026-05-28 08:39:45'::timestamp) - extract(epoch from '2026-05-28 08:39:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572753 -3.412236)', '2026-05-28 08:39:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572753 -3.412325)'), GeomFromEWKT('SRID=4674;POINT (-38.572753 -3.412236)'))) / (select extract(epoch from '2026-05-28 08:39:49'::timestamp) - extract(epoch from '2026-05-28 08:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572753 -3.412325)'), GeomFromEWKT('SRID=4674;POINT (-38.572753 -3.412236)'))) / (select extract(epoch from '2026-05-28 08:39:49'::timestamp) - extract(epoch from '2026-05-28 08:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572749 -3.412062)', '2026-05-28 08:39:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572753 -3.412236)'), GeomFromEWKT('SRID=4674;POINT (-38.572749 -3.412062)'))) / (select extract(epoch from '2026-05-28 08:39:57'::timestamp) - extract(epoch from '2026-05-28 08:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572753 -3.412236)'), GeomFromEWKT('SRID=4674;POINT (-38.572749 -3.412062)'))) / (select extract(epoch from '2026-05-28 08:39:57'::timestamp) - extract(epoch from '2026-05-28 08:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57276 -3.411946)', '2026-05-28 08:40:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572749 -3.412062)'), GeomFromEWKT('SRID=4674;POINT (-38.57276 -3.411946)'))) / (select extract(epoch from '2026-05-28 08:40:02'::timestamp) - extract(epoch from '2026-05-28 08:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572749 -3.412062)'), GeomFromEWKT('SRID=4674;POINT (-38.57276 -3.411946)'))) / (select extract(epoch from '2026-05-28 08:40:02'::timestamp) - extract(epoch from '2026-05-28 08:39:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572757 -3.411835)', '2026-05-28 08:40:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57276 -3.411946)'), GeomFromEWKT('SRID=4674;POINT (-38.572757 -3.411835)'))) / (select extract(epoch from '2026-05-28 08:40:07'::timestamp) - extract(epoch from '2026-05-28 08:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57276 -3.411946)'), GeomFromEWKT('SRID=4674;POINT (-38.572757 -3.411835)'))) / (select extract(epoch from '2026-05-28 08:40:07'::timestamp) - extract(epoch from '2026-05-28 08:40:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57275 -3.411692)', '2026-05-28 08:40:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572757 -3.411835)'), GeomFromEWKT('SRID=4674;POINT (-38.57275 -3.411692)'))) / (select extract(epoch from '2026-05-28 08:40:14'::timestamp) - extract(epoch from '2026-05-28 08:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572757 -3.411835)'), GeomFromEWKT('SRID=4674;POINT (-38.57275 -3.411692)'))) / (select extract(epoch from '2026-05-28 08:40:14'::timestamp) - extract(epoch from '2026-05-28 08:40:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572733 -3.411556)', '2026-05-28 08:40:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57275 -3.411692)'), GeomFromEWKT('SRID=4674;POINT (-38.572733 -3.411556)'))) / (select extract(epoch from '2026-05-28 08:40:21'::timestamp) - extract(epoch from '2026-05-28 08:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57275 -3.411692)'), GeomFromEWKT('SRID=4674;POINT (-38.572733 -3.411556)'))) / (select extract(epoch from '2026-05-28 08:40:21'::timestamp) - extract(epoch from '2026-05-28 08:40:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572706 -3.411443)', '2026-05-28 08:40:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572733 -3.411556)'), GeomFromEWKT('SRID=4674;POINT (-38.572706 -3.411443)'))) / (select extract(epoch from '2026-05-28 08:40:27'::timestamp) - extract(epoch from '2026-05-28 08:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572733 -3.411556)'), GeomFromEWKT('SRID=4674;POINT (-38.572706 -3.411443)'))) / (select extract(epoch from '2026-05-28 08:40:27'::timestamp) - extract(epoch from '2026-05-28 08:40:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572664 -3.411293)', '2026-05-28 08:40:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572706 -3.411443)'), GeomFromEWKT('SRID=4674;POINT (-38.572664 -3.411293)'))) / (select extract(epoch from '2026-05-28 08:40:35'::timestamp) - extract(epoch from '2026-05-28 08:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572706 -3.411443)'), GeomFromEWKT('SRID=4674;POINT (-38.572664 -3.411293)'))) / (select extract(epoch from '2026-05-28 08:40:35'::timestamp) - extract(epoch from '2026-05-28 08:40:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572638 -3.41117)', '2026-05-28 08:40:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572664 -3.411293)'), GeomFromEWKT('SRID=4674;POINT (-38.572638 -3.41117)'))) / (select extract(epoch from '2026-05-28 08:40:41'::timestamp) - extract(epoch from '2026-05-28 08:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572664 -3.411293)'), GeomFromEWKT('SRID=4674;POINT (-38.572638 -3.41117)'))) / (select extract(epoch from '2026-05-28 08:40:41'::timestamp) - extract(epoch from '2026-05-28 08:40:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572617 -3.411044)', '2026-05-28 08:40:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572638 -3.41117)'), GeomFromEWKT('SRID=4674;POINT (-38.572617 -3.411044)'))) / (select extract(epoch from '2026-05-28 08:40:47'::timestamp) - extract(epoch from '2026-05-28 08:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572638 -3.41117)'), GeomFromEWKT('SRID=4674;POINT (-38.572617 -3.411044)'))) / (select extract(epoch from '2026-05-28 08:40:47'::timestamp) - extract(epoch from '2026-05-28 08:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572609 -3.410915)', '2026-05-28 08:40:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572617 -3.411044)'), GeomFromEWKT('SRID=4674;POINT (-38.572609 -3.410915)'))) / (select extract(epoch from '2026-05-28 08:40:53'::timestamp) - extract(epoch from '2026-05-28 08:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572617 -3.411044)'), GeomFromEWKT('SRID=4674;POINT (-38.572609 -3.410915)'))) / (select extract(epoch from '2026-05-28 08:40:53'::timestamp) - extract(epoch from '2026-05-28 08:40:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572618 -3.410741)', '2026-05-28 08:41:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572609 -3.410915)'), GeomFromEWKT('SRID=4674;POINT (-38.572618 -3.410741)'))) / (select extract(epoch from '2026-05-28 08:41:01'::timestamp) - extract(epoch from '2026-05-28 08:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572609 -3.410915)'), GeomFromEWKT('SRID=4674;POINT (-38.572618 -3.410741)'))) / (select extract(epoch from '2026-05-28 08:41:01'::timestamp) - extract(epoch from '2026-05-28 08:40:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572629 -3.410633)', '2026-05-28 08:41:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572618 -3.410741)'), GeomFromEWKT('SRID=4674;POINT (-38.572629 -3.410633)'))) / (select extract(epoch from '2026-05-28 08:41:06'::timestamp) - extract(epoch from '2026-05-28 08:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572618 -3.410741)'), GeomFromEWKT('SRID=4674;POINT (-38.572629 -3.410633)'))) / (select extract(epoch from '2026-05-28 08:41:06'::timestamp) - extract(epoch from '2026-05-28 08:41:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572646 -3.410543)', '2026-05-28 08:41:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572629 -3.410633)'), GeomFromEWKT('SRID=4674;POINT (-38.572646 -3.410543)'))) / (select extract(epoch from '2026-05-28 08:41:10'::timestamp) - extract(epoch from '2026-05-28 08:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572629 -3.410633)'), GeomFromEWKT('SRID=4674;POINT (-38.572646 -3.410543)'))) / (select extract(epoch from '2026-05-28 08:41:10'::timestamp) - extract(epoch from '2026-05-28 08:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572669 -3.410429)', '2026-05-28 08:41:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572646 -3.410543)'), GeomFromEWKT('SRID=4674;POINT (-38.572669 -3.410429)'))) / (select extract(epoch from '2026-05-28 08:41:15'::timestamp) - extract(epoch from '2026-05-28 08:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572646 -3.410543)'), GeomFromEWKT('SRID=4674;POINT (-38.572669 -3.410429)'))) / (select extract(epoch from '2026-05-28 08:41:15'::timestamp) - extract(epoch from '2026-05-28 08:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572685 -3.410319)', '2026-05-28 08:41:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572669 -3.410429)'), GeomFromEWKT('SRID=4674;POINT (-38.572685 -3.410319)'))) / (select extract(epoch from '2026-05-28 08:41:20'::timestamp) - extract(epoch from '2026-05-28 08:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572669 -3.410429)'), GeomFromEWKT('SRID=4674;POINT (-38.572685 -3.410319)'))) / (select extract(epoch from '2026-05-28 08:41:20'::timestamp) - extract(epoch from '2026-05-28 08:41:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57271 -3.410165)', '2026-05-28 08:41:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572685 -3.410319)'), GeomFromEWKT('SRID=4674;POINT (-38.57271 -3.410165)'))) / (select extract(epoch from '2026-05-28 08:41:27'::timestamp) - extract(epoch from '2026-05-28 08:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572685 -3.410319)'), GeomFromEWKT('SRID=4674;POINT (-38.57271 -3.410165)'))) / (select extract(epoch from '2026-05-28 08:41:27'::timestamp) - extract(epoch from '2026-05-28 08:41:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572733 -3.410055)', '2026-05-28 08:41:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57271 -3.410165)'), GeomFromEWKT('SRID=4674;POINT (-38.572733 -3.410055)'))) / (select extract(epoch from '2026-05-28 08:41:32'::timestamp) - extract(epoch from '2026-05-28 08:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57271 -3.410165)'), GeomFromEWKT('SRID=4674;POINT (-38.572733 -3.410055)'))) / (select extract(epoch from '2026-05-28 08:41:32'::timestamp) - extract(epoch from '2026-05-28 08:41:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572774 -3.409939)', '2026-05-28 08:41:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572733 -3.410055)'), GeomFromEWKT('SRID=4674;POINT (-38.572774 -3.409939)'))) / (select extract(epoch from '2026-05-28 08:41:37'::timestamp) - extract(epoch from '2026-05-28 08:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572733 -3.410055)'), GeomFromEWKT('SRID=4674;POINT (-38.572774 -3.409939)'))) / (select extract(epoch from '2026-05-28 08:41:37'::timestamp) - extract(epoch from '2026-05-28 08:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57281 -3.409809)', '2026-05-28 08:41:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572774 -3.409939)'), GeomFromEWKT('SRID=4674;POINT (-38.57281 -3.409809)'))) / (select extract(epoch from '2026-05-28 08:41:43'::timestamp) - extract(epoch from '2026-05-28 08:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572774 -3.409939)'), GeomFromEWKT('SRID=4674;POINT (-38.57281 -3.409809)'))) / (select extract(epoch from '2026-05-28 08:41:43'::timestamp) - extract(epoch from '2026-05-28 08:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572836 -3.409707)', '2026-05-28 08:41:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57281 -3.409809)'), GeomFromEWKT('SRID=4674;POINT (-38.572836 -3.409707)'))) / (select extract(epoch from '2026-05-28 08:41:48'::timestamp) - extract(epoch from '2026-05-28 08:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57281 -3.409809)'), GeomFromEWKT('SRID=4674;POINT (-38.572836 -3.409707)'))) / (select extract(epoch from '2026-05-28 08:41:48'::timestamp) - extract(epoch from '2026-05-28 08:41:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572865 -3.409599)', '2026-05-28 08:41:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572836 -3.409707)'), GeomFromEWKT('SRID=4674;POINT (-38.572865 -3.409599)'))) / (select extract(epoch from '2026-05-28 08:41:53'::timestamp) - extract(epoch from '2026-05-28 08:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572836 -3.409707)'), GeomFromEWKT('SRID=4674;POINT (-38.572865 -3.409599)'))) / (select extract(epoch from '2026-05-28 08:41:53'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.572904 -3.409488)', '2026-05-28 08:41:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572865 -3.409599)'), GeomFromEWKT('SRID=4674;POINT (-38.572904 -3.409488)'))) / (select extract(epoch from '2026-05-28 08:41:58'::timestamp) - extract(epoch from '2026-05-28 08:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572865 -3.409599)'), GeomFromEWKT('SRID=4674;POINT (-38.572904 -3.409488)'))) / (select extract(epoch from '2026-05-28 08:41:58'::timestamp) - extract(epoch from '2026-05-28 08:41:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572957 -3.409326)', '2026-05-28 08:42:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572904 -3.409488)'), GeomFromEWKT('SRID=4674;POINT (-38.572957 -3.409326)'))) / (select extract(epoch from '2026-05-28 08:42:05'::timestamp) - extract(epoch from '2026-05-28 08:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572904 -3.409488)'), GeomFromEWKT('SRID=4674;POINT (-38.572957 -3.409326)'))) / (select extract(epoch from '2026-05-28 08:42:05'::timestamp) - extract(epoch from '2026-05-28 08:41:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573005 -3.409214)', '2026-05-28 08:42:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572957 -3.409326)'), GeomFromEWKT('SRID=4674;POINT (-38.573005 -3.409214)'))) / (select extract(epoch from '2026-05-28 08:42:10'::timestamp) - extract(epoch from '2026-05-28 08:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572957 -3.409326)'), GeomFromEWKT('SRID=4674;POINT (-38.573005 -3.409214)'))) / (select extract(epoch from '2026-05-28 08:42:10'::timestamp) - extract(epoch from '2026-05-28 08:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573061 -3.409124)', '2026-05-28 08:42:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573005 -3.409214)'), GeomFromEWKT('SRID=4674;POINT (-38.573061 -3.409124)'))) / (select extract(epoch from '2026-05-28 08:42:14'::timestamp) - extract(epoch from '2026-05-28 08:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573005 -3.409214)'), GeomFromEWKT('SRID=4674;POINT (-38.573061 -3.409124)'))) / (select extract(epoch from '2026-05-28 08:42:14'::timestamp) - extract(epoch from '2026-05-28 08:42:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573125 -3.409003)', '2026-05-28 08:42:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573061 -3.409124)'), GeomFromEWKT('SRID=4674;POINT (-38.573125 -3.409003)'))) / (select extract(epoch from '2026-05-28 08:42:20'::timestamp) - extract(epoch from '2026-05-28 08:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573061 -3.409124)'), GeomFromEWKT('SRID=4674;POINT (-38.573125 -3.409003)'))) / (select extract(epoch from '2026-05-28 08:42:20'::timestamp) - extract(epoch from '2026-05-28 08:42:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573196 -3.408854)', '2026-05-28 08:42:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573125 -3.409003)'), GeomFromEWKT('SRID=4674;POINT (-38.573196 -3.408854)'))) / (select extract(epoch from '2026-05-28 08:42:27'::timestamp) - extract(epoch from '2026-05-28 08:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573125 -3.409003)'), GeomFromEWKT('SRID=4674;POINT (-38.573196 -3.408854)'))) / (select extract(epoch from '2026-05-28 08:42:27'::timestamp) - extract(epoch from '2026-05-28 08:42:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57325 -3.408714)', '2026-05-28 08:42:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573196 -3.408854)'), GeomFromEWKT('SRID=4674;POINT (-38.57325 -3.408714)'))) / (select extract(epoch from '2026-05-28 08:42:33'::timestamp) - extract(epoch from '2026-05-28 08:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573196 -3.408854)'), GeomFromEWKT('SRID=4674;POINT (-38.57325 -3.408714)'))) / (select extract(epoch from '2026-05-28 08:42:33'::timestamp) - extract(epoch from '2026-05-28 08:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573301 -3.408588)', '2026-05-28 08:42:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57325 -3.408714)'), GeomFromEWKT('SRID=4674;POINT (-38.573301 -3.408588)'))) / (select extract(epoch from '2026-05-28 08:42:39'::timestamp) - extract(epoch from '2026-05-28 08:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57325 -3.408714)'), GeomFromEWKT('SRID=4674;POINT (-38.573301 -3.408588)'))) / (select extract(epoch from '2026-05-28 08:42:39'::timestamp) - extract(epoch from '2026-05-28 08:42:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573358 -3.408448)', '2026-05-28 08:42:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573301 -3.408588)'), GeomFromEWKT('SRID=4674;POINT (-38.573358 -3.408448)'))) / (select extract(epoch from '2026-05-28 08:42:46'::timestamp) - extract(epoch from '2026-05-28 08:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573301 -3.408588)'), GeomFromEWKT('SRID=4674;POINT (-38.573358 -3.408448)'))) / (select extract(epoch from '2026-05-28 08:42:46'::timestamp) - extract(epoch from '2026-05-28 08:42:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573418 -3.408325)', '2026-05-28 08:42:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573358 -3.408448)'), GeomFromEWKT('SRID=4674;POINT (-38.573418 -3.408325)'))) / (select extract(epoch from '2026-05-28 08:42:52'::timestamp) - extract(epoch from '2026-05-28 08:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573358 -3.408448)'), GeomFromEWKT('SRID=4674;POINT (-38.573418 -3.408325)'))) / (select extract(epoch from '2026-05-28 08:42:52'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.573468 -3.408201)', '2026-05-28 08:42:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573418 -3.408325)'), GeomFromEWKT('SRID=4674;POINT (-38.573468 -3.408201)'))) / (select extract(epoch from '2026-05-28 08:42:58'::timestamp) - extract(epoch from '2026-05-28 08:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573418 -3.408325)'), GeomFromEWKT('SRID=4674;POINT (-38.573468 -3.408201)'))) / (select extract(epoch from '2026-05-28 08:42:58'::timestamp) - extract(epoch from '2026-05-28 08:42:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573512 -3.408066)', '2026-05-28 08:43:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573468 -3.408201)'), GeomFromEWKT('SRID=4674;POINT (-38.573512 -3.408066)'))) / (select extract(epoch from '2026-05-28 08:43:04'::timestamp) - extract(epoch from '2026-05-28 08:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573468 -3.408201)'), GeomFromEWKT('SRID=4674;POINT (-38.573512 -3.408066)'))) / (select extract(epoch from '2026-05-28 08:43:04'::timestamp) - extract(epoch from '2026-05-28 08:42:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573546 -3.407956)', '2026-05-28 08:43:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573512 -3.408066)'), GeomFromEWKT('SRID=4674;POINT (-38.573546 -3.407956)'))) / (select extract(epoch from '2026-05-28 08:43:09'::timestamp) - extract(epoch from '2026-05-28 08:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573512 -3.408066)'), GeomFromEWKT('SRID=4674;POINT (-38.573546 -3.407956)'))) / (select extract(epoch from '2026-05-28 08:43:09'::timestamp) - extract(epoch from '2026-05-28 08:43:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573578 -3.407843)', '2026-05-28 08:43:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573546 -3.407956)'), GeomFromEWKT('SRID=4674;POINT (-38.573578 -3.407843)'))) / (select extract(epoch from '2026-05-28 08:43:14'::timestamp) - extract(epoch from '2026-05-28 08:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573546 -3.407956)'), GeomFromEWKT('SRID=4674;POINT (-38.573578 -3.407843)'))) / (select extract(epoch from '2026-05-28 08:43:14'::timestamp) - extract(epoch from '2026-05-28 08:43:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573625 -3.407689)', '2026-05-28 08:43:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573578 -3.407843)'), GeomFromEWKT('SRID=4674;POINT (-38.573625 -3.407689)'))) / (select extract(epoch from '2026-05-28 08:43:21'::timestamp) - extract(epoch from '2026-05-28 08:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573578 -3.407843)'), GeomFromEWKT('SRID=4674;POINT (-38.573625 -3.407689)'))) / (select extract(epoch from '2026-05-28 08:43:21'::timestamp) - extract(epoch from '2026-05-28 08:43:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573658 -3.407579)', '2026-05-28 08:43:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573625 -3.407689)'), GeomFromEWKT('SRID=4674;POINT (-38.573658 -3.407579)'))) / (select extract(epoch from '2026-05-28 08:43:26'::timestamp) - extract(epoch from '2026-05-28 08:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573625 -3.407689)'), GeomFromEWKT('SRID=4674;POINT (-38.573658 -3.407579)'))) / (select extract(epoch from '2026-05-28 08:43:26'::timestamp) - extract(epoch from '2026-05-28 08:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573697 -3.407447)', '2026-05-28 08:43:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573658 -3.407579)'), GeomFromEWKT('SRID=4674;POINT (-38.573697 -3.407447)'))) / (select extract(epoch from '2026-05-28 08:43:32'::timestamp) - extract(epoch from '2026-05-28 08:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573658 -3.407579)'), GeomFromEWKT('SRID=4674;POINT (-38.573697 -3.407447)'))) / (select extract(epoch from '2026-05-28 08:43:32'::timestamp) - extract(epoch from '2026-05-28 08:43:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573728 -3.407331)', '2026-05-28 08:43:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573697 -3.407447)'), GeomFromEWKT('SRID=4674;POINT (-38.573728 -3.407331)'))) / (select extract(epoch from '2026-05-28 08:43:37'::timestamp) - extract(epoch from '2026-05-28 08:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573697 -3.407447)'), GeomFromEWKT('SRID=4674;POINT (-38.573728 -3.407331)'))) / (select extract(epoch from '2026-05-28 08:43:37'::timestamp) - extract(epoch from '2026-05-28 08:43:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573769 -3.407201)', '2026-05-28 08:43:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573728 -3.407331)'), GeomFromEWKT('SRID=4674;POINT (-38.573769 -3.407201)'))) / (select extract(epoch from '2026-05-28 08:43:43'::timestamp) - extract(epoch from '2026-05-28 08:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573728 -3.407331)'), GeomFromEWKT('SRID=4674;POINT (-38.573769 -3.407201)'))) / (select extract(epoch from '2026-05-28 08:43:43'::timestamp) - extract(epoch from '2026-05-28 08:43:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573804 -3.407073)', '2026-05-28 08:43:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573769 -3.407201)'), GeomFromEWKT('SRID=4674;POINT (-38.573804 -3.407073)'))) / (select extract(epoch from '2026-05-28 08:43:49'::timestamp) - extract(epoch from '2026-05-28 08:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573769 -3.407201)'), GeomFromEWKT('SRID=4674;POINT (-38.573804 -3.407073)'))) / (select extract(epoch from '2026-05-28 08:43:49'::timestamp) - extract(epoch from '2026-05-28 08:43:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573829 -3.406935)', '2026-05-28 08:43:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573804 -3.407073)'), GeomFromEWKT('SRID=4674;POINT (-38.573829 -3.406935)'))) / (select extract(epoch from '2026-05-28 08:43:55'::timestamp) - extract(epoch from '2026-05-28 08:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573804 -3.407073)'), GeomFromEWKT('SRID=4674;POINT (-38.573829 -3.406935)'))) / (select extract(epoch from '2026-05-28 08:43:55'::timestamp) - extract(epoch from '2026-05-28 08:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57385 -3.406797)', '2026-05-28 08:44:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573829 -3.406935)'), GeomFromEWKT('SRID=4674;POINT (-38.57385 -3.406797)'))) / (select extract(epoch from '2026-05-28 08:44:01'::timestamp) - extract(epoch from '2026-05-28 08:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573829 -3.406935)'), GeomFromEWKT('SRID=4674;POINT (-38.57385 -3.406797)'))) / (select extract(epoch from '2026-05-28 08:44:01'::timestamp) - extract(epoch from '2026-05-28 08:43:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573867 -3.406634)', '2026-05-28 08:44:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57385 -3.406797)'), GeomFromEWKT('SRID=4674;POINT (-38.573867 -3.406634)'))) / (select extract(epoch from '2026-05-28 08:44:08'::timestamp) - extract(epoch from '2026-05-28 08:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57385 -3.406797)'), GeomFromEWKT('SRID=4674;POINT (-38.573867 -3.406634)'))) / (select extract(epoch from '2026-05-28 08:44:08'::timestamp) - extract(epoch from '2026-05-28 08:44:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573877 -3.406522)', '2026-05-28 08:44:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573867 -3.406634)'), GeomFromEWKT('SRID=4674;POINT (-38.573877 -3.406522)'))) / (select extract(epoch from '2026-05-28 08:44:13'::timestamp) - extract(epoch from '2026-05-28 08:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573867 -3.406634)'), GeomFromEWKT('SRID=4674;POINT (-38.573877 -3.406522)'))) / (select extract(epoch from '2026-05-28 08:44:13'::timestamp) - extract(epoch from '2026-05-28 08:44:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573907 -3.406426)', '2026-05-28 08:44:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573877 -3.406522)'), GeomFromEWKT('SRID=4674;POINT (-38.573907 -3.406426)'))) / (select extract(epoch from '2026-05-28 08:44:17'::timestamp) - extract(epoch from '2026-05-28 08:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573877 -3.406522)'), GeomFromEWKT('SRID=4674;POINT (-38.573907 -3.406426)'))) / (select extract(epoch from '2026-05-28 08:44:17'::timestamp) - extract(epoch from '2026-05-28 08:44:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573935 -3.406325)', '2026-05-28 08:44:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573907 -3.406426)'), GeomFromEWKT('SRID=4674;POINT (-38.573935 -3.406325)'))) / (select extract(epoch from '2026-05-28 08:44:22'::timestamp) - extract(epoch from '2026-05-28 08:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573907 -3.406426)'), GeomFromEWKT('SRID=4674;POINT (-38.573935 -3.406325)'))) / (select extract(epoch from '2026-05-28 08:44:22'::timestamp) - extract(epoch from '2026-05-28 08:44:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573962 -3.4062)', '2026-05-28 08:44:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573935 -3.406325)'), GeomFromEWKT('SRID=4674;POINT (-38.573962 -3.4062)'))) / (select extract(epoch from '2026-05-28 08:44:28'::timestamp) - extract(epoch from '2026-05-28 08:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573935 -3.406325)'), GeomFromEWKT('SRID=4674;POINT (-38.573962 -3.4062)'))) / (select extract(epoch from '2026-05-28 08:44:28'::timestamp) - extract(epoch from '2026-05-28 08:44:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573983 -3.406055)', '2026-05-28 08:44:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573962 -3.4062)'), GeomFromEWKT('SRID=4674;POINT (-38.573983 -3.406055)'))) / (select extract(epoch from '2026-05-28 08:44:34'::timestamp) - extract(epoch from '2026-05-28 08:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573962 -3.4062)'), GeomFromEWKT('SRID=4674;POINT (-38.573983 -3.406055)'))) / (select extract(epoch from '2026-05-28 08:44:34'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.574002 -3.405943)', '2026-05-28 08:44:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573983 -3.406055)'), GeomFromEWKT('SRID=4674;POINT (-38.574002 -3.405943)'))) / (select extract(epoch from '2026-05-28 08:44:39'::timestamp) - extract(epoch from '2026-05-28 08:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573983 -3.406055)'), GeomFromEWKT('SRID=4674;POINT (-38.574002 -3.405943)'))) / (select extract(epoch from '2026-05-28 08:44:39'::timestamp) - extract(epoch from '2026-05-28 08:44:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574015 -3.405831)', '2026-05-28 08:44:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574002 -3.405943)'), GeomFromEWKT('SRID=4674;POINT (-38.574015 -3.405831)'))) / (select extract(epoch from '2026-05-28 08:44:44'::timestamp) - extract(epoch from '2026-05-28 08:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574002 -3.405943)'), GeomFromEWKT('SRID=4674;POINT (-38.574015 -3.405831)'))) / (select extract(epoch from '2026-05-28 08:44:44'::timestamp) - extract(epoch from '2026-05-28 08:44:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57402 -3.405676)', '2026-05-28 08:44:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574015 -3.405831)'), GeomFromEWKT('SRID=4674;POINT (-38.57402 -3.405676)'))) / (select extract(epoch from '2026-05-28 08:44:51'::timestamp) - extract(epoch from '2026-05-28 08:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574015 -3.405831)'), GeomFromEWKT('SRID=4674;POINT (-38.57402 -3.405676)'))) / (select extract(epoch from '2026-05-28 08:44:51'::timestamp) - extract(epoch from '2026-05-28 08:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574025 -3.405536)', '2026-05-28 08:44:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57402 -3.405676)'), GeomFromEWKT('SRID=4674;POINT (-38.574025 -3.405536)'))) / (select extract(epoch from '2026-05-28 08:44:57'::timestamp) - extract(epoch from '2026-05-28 08:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57402 -3.405676)'), GeomFromEWKT('SRID=4674;POINT (-38.574025 -3.405536)'))) / (select extract(epoch from '2026-05-28 08:44:57'::timestamp) - extract(epoch from '2026-05-28 08:44:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574029 -3.405421)', '2026-05-28 08:45:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574025 -3.405536)'), GeomFromEWKT('SRID=4674;POINT (-38.574029 -3.405421)'))) / (select extract(epoch from '2026-05-28 08:45:02'::timestamp) - extract(epoch from '2026-05-28 08:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574025 -3.405536)'), GeomFromEWKT('SRID=4674;POINT (-38.574029 -3.405421)'))) / (select extract(epoch from '2026-05-28 08:45:02'::timestamp) - extract(epoch from '2026-05-28 08:44:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57403 -3.405335)', '2026-05-28 08:45:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574029 -3.405421)'), GeomFromEWKT('SRID=4674;POINT (-38.57403 -3.405335)'))) / (select extract(epoch from '2026-05-28 08:45:06'::timestamp) - extract(epoch from '2026-05-28 08:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574029 -3.405421)'), GeomFromEWKT('SRID=4674;POINT (-38.57403 -3.405335)'))) / (select extract(epoch from '2026-05-28 08:45:06'::timestamp) - extract(epoch from '2026-05-28 08:45:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574039 -3.405182)', '2026-05-28 08:45:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57403 -3.405335)'), GeomFromEWKT('SRID=4674;POINT (-38.574039 -3.405182)'))) / (select extract(epoch from '2026-05-28 08:45:13'::timestamp) - extract(epoch from '2026-05-28 08:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57403 -3.405335)'), GeomFromEWKT('SRID=4674;POINT (-38.574039 -3.405182)'))) / (select extract(epoch from '2026-05-28 08:45:13'::timestamp) - extract(epoch from '2026-05-28 08:45:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574059 -3.40505)', '2026-05-28 08:45:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574039 -3.405182)'), GeomFromEWKT('SRID=4674;POINT (-38.574059 -3.40505)'))) / (select extract(epoch from '2026-05-28 08:45:19'::timestamp) - extract(epoch from '2026-05-28 08:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574039 -3.405182)'), GeomFromEWKT('SRID=4674;POINT (-38.574059 -3.40505)'))) / (select extract(epoch from '2026-05-28 08:45:19'::timestamp) - extract(epoch from '2026-05-28 08:45:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574079 -3.40493)', '2026-05-28 08:45:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574059 -3.40505)'), GeomFromEWKT('SRID=4674;POINT (-38.574079 -3.40493)'))) / (select extract(epoch from '2026-05-28 08:45:25'::timestamp) - extract(epoch from '2026-05-28 08:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574059 -3.40505)'), GeomFromEWKT('SRID=4674;POINT (-38.574079 -3.40493)'))) / (select extract(epoch from '2026-05-28 08:45:25'::timestamp) - extract(epoch from '2026-05-28 08:45: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'), 46535, 'SRID=4674;POINT (-38.574094 -3.404801)', '2026-05-28 08:45:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574079 -3.40493)'), GeomFromEWKT('SRID=4674;POINT (-38.574094 -3.404801)'))) / (select extract(epoch from '2026-05-28 08:45:31'::timestamp) - extract(epoch from '2026-05-28 08:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574079 -3.40493)'), GeomFromEWKT('SRID=4674;POINT (-38.574094 -3.404801)'))) / (select extract(epoch from '2026-05-28 08:45:31'::timestamp) - extract(epoch from '2026-05-28 08:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574117 -3.404675)', '2026-05-28 08:45:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574094 -3.404801)'), GeomFromEWKT('SRID=4674;POINT (-38.574117 -3.404675)'))) / (select extract(epoch from '2026-05-28 08:45:37'::timestamp) - extract(epoch from '2026-05-28 08:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574094 -3.404801)'), GeomFromEWKT('SRID=4674;POINT (-38.574117 -3.404675)'))) / (select extract(epoch from '2026-05-28 08:45:37'::timestamp) - extract(epoch from '2026-05-28 08:45:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574143 -3.404566)', '2026-05-28 08:45:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574117 -3.404675)'), GeomFromEWKT('SRID=4674;POINT (-38.574143 -3.404566)'))) / (select extract(epoch from '2026-05-28 08:45:42'::timestamp) - extract(epoch from '2026-05-28 08:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574117 -3.404675)'), GeomFromEWKT('SRID=4674;POINT (-38.574143 -3.404566)'))) / (select extract(epoch from '2026-05-28 08:45:42'::timestamp) - extract(epoch from '2026-05-28 08:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574159 -3.404456)', '2026-05-28 08:45:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574143 -3.404566)'), GeomFromEWKT('SRID=4674;POINT (-38.574159 -3.404456)'))) / (select extract(epoch from '2026-05-28 08:45:47'::timestamp) - extract(epoch from '2026-05-28 08:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574143 -3.404566)'), GeomFromEWKT('SRID=4674;POINT (-38.574159 -3.404456)'))) / (select extract(epoch from '2026-05-28 08:45:47'::timestamp) - extract(epoch from '2026-05-28 08:45:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574168 -3.40435)', '2026-05-28 08:45:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574159 -3.404456)'), GeomFromEWKT('SRID=4674;POINT (-38.574168 -3.40435)'))) / (select extract(epoch from '2026-05-28 08:45:52'::timestamp) - extract(epoch from '2026-05-28 08:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574159 -3.404456)'), GeomFromEWKT('SRID=4674;POINT (-38.574168 -3.40435)'))) / (select extract(epoch from '2026-05-28 08:45:52'::timestamp) - extract(epoch from '2026-05-28 08:45:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574183 -3.404208)', '2026-05-28 08:45:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574168 -3.40435)'), GeomFromEWKT('SRID=4674;POINT (-38.574183 -3.404208)'))) / (select extract(epoch from '2026-05-28 08:45:59'::timestamp) - extract(epoch from '2026-05-28 08:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574168 -3.40435)'), GeomFromEWKT('SRID=4674;POINT (-38.574183 -3.404208)'))) / (select extract(epoch from '2026-05-28 08:45:59'::timestamp) - extract(epoch from '2026-05-28 08:45:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57421 -3.404057)', '2026-05-28 08:46:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574183 -3.404208)'), GeomFromEWKT('SRID=4674;POINT (-38.57421 -3.404057)'))) / (select extract(epoch from '2026-05-28 08:46:06'::timestamp) - extract(epoch from '2026-05-28 08:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574183 -3.404208)'), GeomFromEWKT('SRID=4674;POINT (-38.57421 -3.404057)'))) / (select extract(epoch from '2026-05-28 08:46:06'::timestamp) - extract(epoch from '2026-05-28 08:45:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574242 -3.403922)', '2026-05-28 08:46:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57421 -3.404057)'), GeomFromEWKT('SRID=4674;POINT (-38.574242 -3.403922)'))) / (select extract(epoch from '2026-05-28 08:46:12'::timestamp) - extract(epoch from '2026-05-28 08:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57421 -3.404057)'), GeomFromEWKT('SRID=4674;POINT (-38.574242 -3.403922)'))) / (select extract(epoch from '2026-05-28 08:46:12'::timestamp) - extract(epoch from '2026-05-28 08:46:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574291 -3.40377)', '2026-05-28 08:46:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574242 -3.403922)'), GeomFromEWKT('SRID=4674;POINT (-38.574291 -3.40377)'))) / (select extract(epoch from '2026-05-28 08:46:19'::timestamp) - extract(epoch from '2026-05-28 08:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574242 -3.403922)'), GeomFromEWKT('SRID=4674;POINT (-38.574291 -3.40377)'))) / (select extract(epoch from '2026-05-28 08:46:19'::timestamp) - extract(epoch from '2026-05-28 08:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574358 -3.40359)', '2026-05-28 08:46:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574291 -3.40377)'), GeomFromEWKT('SRID=4674;POINT (-38.574358 -3.40359)'))) / (select extract(epoch from '2026-05-28 08:46:27'::timestamp) - extract(epoch from '2026-05-28 08:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574291 -3.40377)'), GeomFromEWKT('SRID=4674;POINT (-38.574358 -3.40359)'))) / (select extract(epoch from '2026-05-28 08:46:27'::timestamp) - extract(epoch from '2026-05-28 08:46: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'), 46535, 'SRID=4674;POINT (-38.574409 -3.403436)', '2026-05-28 08:46:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574358 -3.40359)'), GeomFromEWKT('SRID=4674;POINT (-38.574409 -3.403436)'))) / (select extract(epoch from '2026-05-28 08:46:34'::timestamp) - extract(epoch from '2026-05-28 08:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574358 -3.40359)'), GeomFromEWKT('SRID=4674;POINT (-38.574409 -3.403436)'))) / (select extract(epoch from '2026-05-28 08:46:34'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.574437 -3.403322)', '2026-05-28 08:46:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574409 -3.403436)'), GeomFromEWKT('SRID=4674;POINT (-38.574437 -3.403322)'))) / (select extract(epoch from '2026-05-28 08:46:39'::timestamp) - extract(epoch from '2026-05-28 08:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574409 -3.403436)'), GeomFromEWKT('SRID=4674;POINT (-38.574437 -3.403322)'))) / (select extract(epoch from '2026-05-28 08:46:39'::timestamp) - extract(epoch from '2026-05-28 08:46:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574452 -3.403243)', '2026-05-28 08:46:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574437 -3.403322)'), GeomFromEWKT('SRID=4674;POINT (-38.574452 -3.403243)'))) / (select extract(epoch from '2026-05-28 08:46:43'::timestamp) - extract(epoch from '2026-05-28 08:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574437 -3.403322)'), GeomFromEWKT('SRID=4674;POINT (-38.574452 -3.403243)'))) / (select extract(epoch from '2026-05-28 08:46:43'::timestamp) - extract(epoch from '2026-05-28 08:46:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574484 -3.403139)', '2026-05-28 08:46:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574452 -3.403243)'), GeomFromEWKT('SRID=4674;POINT (-38.574484 -3.403139)'))) / (select extract(epoch from '2026-05-28 08:46:48'::timestamp) - extract(epoch from '2026-05-28 08:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574452 -3.403243)'), GeomFromEWKT('SRID=4674;POINT (-38.574484 -3.403139)'))) / (select extract(epoch from '2026-05-28 08:46:48'::timestamp) - extract(epoch from '2026-05-28 08:46:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574511 -3.403037)', '2026-05-28 08:46:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574484 -3.403139)'), GeomFromEWKT('SRID=4674;POINT (-38.574511 -3.403037)'))) / (select extract(epoch from '2026-05-28 08:46:53'::timestamp) - extract(epoch from '2026-05-28 08:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574484 -3.403139)'), GeomFromEWKT('SRID=4674;POINT (-38.574511 -3.403037)'))) / (select extract(epoch from '2026-05-28 08:46:53'::timestamp) - extract(epoch from '2026-05-28 08:46:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574544 -3.402904)', '2026-05-28 08:46:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574511 -3.403037)'), GeomFromEWKT('SRID=4674;POINT (-38.574544 -3.402904)'))) / (select extract(epoch from '2026-05-28 08:46:59'::timestamp) - extract(epoch from '2026-05-28 08:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574511 -3.403037)'), GeomFromEWKT('SRID=4674;POINT (-38.574544 -3.402904)'))) / (select extract(epoch from '2026-05-28 08:46:59'::timestamp) - extract(epoch from '2026-05-28 08:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574563 -3.402821)', '2026-05-28 08:47:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574544 -3.402904)'), GeomFromEWKT('SRID=4674;POINT (-38.574563 -3.402821)'))) / (select extract(epoch from '2026-05-28 08:47:03'::timestamp) - extract(epoch from '2026-05-28 08:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574544 -3.402904)'), GeomFromEWKT('SRID=4674;POINT (-38.574563 -3.402821)'))) / (select extract(epoch from '2026-05-28 08:47:03'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.574577 -3.402686)', '2026-05-28 08:47:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574563 -3.402821)'), GeomFromEWKT('SRID=4674;POINT (-38.574577 -3.402686)'))) / (select extract(epoch from '2026-05-28 08:47:09'::timestamp) - extract(epoch from '2026-05-28 08:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574563 -3.402821)'), GeomFromEWKT('SRID=4674;POINT (-38.574577 -3.402686)'))) / (select extract(epoch from '2026-05-28 08:47:09'::timestamp) - extract(epoch from '2026-05-28 08:47:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574587 -3.402569)', '2026-05-28 08:47:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574577 -3.402686)'), GeomFromEWKT('SRID=4674;POINT (-38.574587 -3.402569)'))) / (select extract(epoch from '2026-05-28 08:47:14'::timestamp) - extract(epoch from '2026-05-28 08:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574577 -3.402686)'), GeomFromEWKT('SRID=4674;POINT (-38.574587 -3.402569)'))) / (select extract(epoch from '2026-05-28 08:47:14'::timestamp) - extract(epoch from '2026-05-28 08:47:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574609 -3.402473)', '2026-05-28 08:47:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574587 -3.402569)'), GeomFromEWKT('SRID=4674;POINT (-38.574609 -3.402473)'))) / (select extract(epoch from '2026-05-28 08:47:18'::timestamp) - extract(epoch from '2026-05-28 08:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574587 -3.402569)'), GeomFromEWKT('SRID=4674;POINT (-38.574609 -3.402473)'))) / (select extract(epoch from '2026-05-28 08:47:18'::timestamp) - extract(epoch from '2026-05-28 08:47:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574629 -3.402366)', '2026-05-28 08:47:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574609 -3.402473)'), GeomFromEWKT('SRID=4674;POINT (-38.574629 -3.402366)'))) / (select extract(epoch from '2026-05-28 08:47:23'::timestamp) - extract(epoch from '2026-05-28 08:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574609 -3.402473)'), GeomFromEWKT('SRID=4674;POINT (-38.574629 -3.402366)'))) / (select extract(epoch from '2026-05-28 08:47:23'::timestamp) - extract(epoch from '2026-05-28 08:47:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574649 -3.402285)', '2026-05-28 08:47:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574629 -3.402366)'), GeomFromEWKT('SRID=4674;POINT (-38.574649 -3.402285)'))) / (select extract(epoch from '2026-05-28 08:47:27'::timestamp) - extract(epoch from '2026-05-28 08:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574629 -3.402366)'), GeomFromEWKT('SRID=4674;POINT (-38.574649 -3.402285)'))) / (select extract(epoch from '2026-05-28 08:47:27'::timestamp) - extract(epoch from '2026-05-28 08:47:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574677 -3.402122)', '2026-05-28 08:47:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574649 -3.402285)'), GeomFromEWKT('SRID=4674;POINT (-38.574677 -3.402122)'))) / (select extract(epoch from '2026-05-28 08:47:34'::timestamp) - extract(epoch from '2026-05-28 08:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574649 -3.402285)'), GeomFromEWKT('SRID=4674;POINT (-38.574677 -3.402122)'))) / (select extract(epoch from '2026-05-28 08:47:34'::timestamp) - extract(epoch from '2026-05-28 08:47:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574693 -3.401965)', '2026-05-28 08:47:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574677 -3.402122)'), GeomFromEWKT('SRID=4674;POINT (-38.574693 -3.401965)'))) / (select extract(epoch from '2026-05-28 08:47:41'::timestamp) - extract(epoch from '2026-05-28 08:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574677 -3.402122)'), GeomFromEWKT('SRID=4674;POINT (-38.574693 -3.401965)'))) / (select extract(epoch from '2026-05-28 08:47:41'::timestamp) - extract(epoch from '2026-05-28 08:47:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57471 -3.401829)', '2026-05-28 08:47:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574693 -3.401965)'), GeomFromEWKT('SRID=4674;POINT (-38.57471 -3.401829)'))) / (select extract(epoch from '2026-05-28 08:47:47'::timestamp) - extract(epoch from '2026-05-28 08:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574693 -3.401965)'), GeomFromEWKT('SRID=4674;POINT (-38.57471 -3.401829)'))) / (select extract(epoch from '2026-05-28 08:47:47'::timestamp) - extract(epoch from '2026-05-28 08:47:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574738 -3.401695)', '2026-05-28 08:47:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57471 -3.401829)'), GeomFromEWKT('SRID=4674;POINT (-38.574738 -3.401695)'))) / (select extract(epoch from '2026-05-28 08:47:53'::timestamp) - extract(epoch from '2026-05-28 08:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57471 -3.401829)'), GeomFromEWKT('SRID=4674;POINT (-38.574738 -3.401695)'))) / (select extract(epoch from '2026-05-28 08:47:53'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.574757 -3.401588)', '2026-05-28 08:47:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574738 -3.401695)'), GeomFromEWKT('SRID=4674;POINT (-38.574757 -3.401588)'))) / (select extract(epoch from '2026-05-28 08:47:58'::timestamp) - extract(epoch from '2026-05-28 08:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574738 -3.401695)'), GeomFromEWKT('SRID=4674;POINT (-38.574757 -3.401588)'))) / (select extract(epoch from '2026-05-28 08:47:58'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.574779 -3.401453)', '2026-05-28 08:48:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574757 -3.401588)'), GeomFromEWKT('SRID=4674;POINT (-38.574779 -3.401453)'))) / (select extract(epoch from '2026-05-28 08:48:04'::timestamp) - extract(epoch from '2026-05-28 08:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574757 -3.401588)'), GeomFromEWKT('SRID=4674;POINT (-38.574779 -3.401453)'))) / (select extract(epoch from '2026-05-28 08:48:04'::timestamp) - extract(epoch from '2026-05-28 08:47:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574811 -3.401294)', '2026-05-28 08:48:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574779 -3.401453)'), GeomFromEWKT('SRID=4674;POINT (-38.574811 -3.401294)'))) / (select extract(epoch from '2026-05-28 08:48:11'::timestamp) - extract(epoch from '2026-05-28 08:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574779 -3.401453)'), GeomFromEWKT('SRID=4674;POINT (-38.574811 -3.401294)'))) / (select extract(epoch from '2026-05-28 08:48:11'::timestamp) - extract(epoch from '2026-05-28 08:48:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574827 -3.401166)', '2026-05-28 08:48:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574811 -3.401294)'), GeomFromEWKT('SRID=4674;POINT (-38.574827 -3.401166)'))) / (select extract(epoch from '2026-05-28 08:48:17'::timestamp) - extract(epoch from '2026-05-28 08:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574811 -3.401294)'), GeomFromEWKT('SRID=4674;POINT (-38.574827 -3.401166)'))) / (select extract(epoch from '2026-05-28 08:48:17'::timestamp) - extract(epoch from '2026-05-28 08:48:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574839 -3.401056)', '2026-05-28 08:48:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574827 -3.401166)'), GeomFromEWKT('SRID=4674;POINT (-38.574839 -3.401056)'))) / (select extract(epoch from '2026-05-28 08:48:22'::timestamp) - extract(epoch from '2026-05-28 08:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574827 -3.401166)'), GeomFromEWKT('SRID=4674;POINT (-38.574839 -3.401056)'))) / (select extract(epoch from '2026-05-28 08:48:22'::timestamp) - extract(epoch from '2026-05-28 08:48:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574858 -3.400923)', '2026-05-28 08:48:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574839 -3.401056)'), GeomFromEWKT('SRID=4674;POINT (-38.574858 -3.400923)'))) / (select extract(epoch from '2026-05-28 08:48:28'::timestamp) - extract(epoch from '2026-05-28 08:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574839 -3.401056)'), GeomFromEWKT('SRID=4674;POINT (-38.574858 -3.400923)'))) / (select extract(epoch from '2026-05-28 08:48:28'::timestamp) - extract(epoch from '2026-05-28 08:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574884 -3.400787)', '2026-05-28 08:48:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574858 -3.400923)'), GeomFromEWKT('SRID=4674;POINT (-38.574884 -3.400787)'))) / (select extract(epoch from '2026-05-28 08:48:34'::timestamp) - extract(epoch from '2026-05-28 08:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574858 -3.400923)'), GeomFromEWKT('SRID=4674;POINT (-38.574884 -3.400787)'))) / (select extract(epoch from '2026-05-28 08:48:34'::timestamp) - extract(epoch from '2026-05-28 08:48:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574902 -3.400669)', '2026-05-28 08:48:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574884 -3.400787)'), GeomFromEWKT('SRID=4674;POINT (-38.574902 -3.400669)'))) / (select extract(epoch from '2026-05-28 08:48:39'::timestamp) - extract(epoch from '2026-05-28 08:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574884 -3.400787)'), GeomFromEWKT('SRID=4674;POINT (-38.574902 -3.400669)'))) / (select extract(epoch from '2026-05-28 08:48:39'::timestamp) - extract(epoch from '2026-05-28 08:48:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574923 -3.400505)', '2026-05-28 08:48:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574902 -3.400669)'), GeomFromEWKT('SRID=4674;POINT (-38.574923 -3.400505)'))) / (select extract(epoch from '2026-05-28 08:48:46'::timestamp) - extract(epoch from '2026-05-28 08:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574902 -3.400669)'), GeomFromEWKT('SRID=4674;POINT (-38.574923 -3.400505)'))) / (select extract(epoch from '2026-05-28 08:48:46'::timestamp) - extract(epoch from '2026-05-28 08:48:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574967 -3.400305)', '2026-05-28 08:48:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574923 -3.400505)'), GeomFromEWKT('SRID=4674;POINT (-38.574967 -3.400305)'))) / (select extract(epoch from '2026-05-28 08:48:55'::timestamp) - extract(epoch from '2026-05-28 08:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574923 -3.400505)'), GeomFromEWKT('SRID=4674;POINT (-38.574967 -3.400305)'))) / (select extract(epoch from '2026-05-28 08:48:55'::timestamp) - extract(epoch from '2026-05-28 08:48:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574998 -3.400173)', '2026-05-28 08:49:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574967 -3.400305)'), GeomFromEWKT('SRID=4674;POINT (-38.574998 -3.400173)'))) / (select extract(epoch from '2026-05-28 08:49:01'::timestamp) - extract(epoch from '2026-05-28 08:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574967 -3.400305)'), GeomFromEWKT('SRID=4674;POINT (-38.574998 -3.400173)'))) / (select extract(epoch from '2026-05-28 08:49:01'::timestamp) - extract(epoch from '2026-05-28 08:48:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575031 -3.400058)', '2026-05-28 08:49:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574998 -3.400173)'), GeomFromEWKT('SRID=4674;POINT (-38.575031 -3.400058)'))) / (select extract(epoch from '2026-05-28 08:49:06'::timestamp) - extract(epoch from '2026-05-28 08:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574998 -3.400173)'), GeomFromEWKT('SRID=4674;POINT (-38.575031 -3.400058)'))) / (select extract(epoch from '2026-05-28 08:49:06'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.575058 -3.399953)', '2026-05-28 08:49:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575031 -3.400058)'), GeomFromEWKT('SRID=4674;POINT (-38.575058 -3.399953)'))) / (select extract(epoch from '2026-05-28 08:49:11'::timestamp) - extract(epoch from '2026-05-28 08:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575031 -3.400058)'), GeomFromEWKT('SRID=4674;POINT (-38.575058 -3.399953)'))) / (select extract(epoch from '2026-05-28 08:49:11'::timestamp) - extract(epoch from '2026-05-28 08:49:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575096 -3.399783)', '2026-05-28 08:49:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575058 -3.399953)'), GeomFromEWKT('SRID=4674;POINT (-38.575096 -3.399783)'))) / (select extract(epoch from '2026-05-28 08:49:19'::timestamp) - extract(epoch from '2026-05-28 08:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575058 -3.399953)'), GeomFromEWKT('SRID=4674;POINT (-38.575096 -3.399783)'))) / (select extract(epoch from '2026-05-28 08:49:19'::timestamp) - extract(epoch from '2026-05-28 08:49:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575126 -3.399599)', '2026-05-28 08:49:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575096 -3.399783)'), GeomFromEWKT('SRID=4674;POINT (-38.575126 -3.399599)'))) / (select extract(epoch from '2026-05-28 08:49:27'::timestamp) - extract(epoch from '2026-05-28 08:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575096 -3.399783)'), GeomFromEWKT('SRID=4674;POINT (-38.575126 -3.399599)'))) / (select extract(epoch from '2026-05-28 08:49:27'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.575154 -3.399466)', '2026-05-28 08:49:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575126 -3.399599)'), GeomFromEWKT('SRID=4674;POINT (-38.575154 -3.399466)'))) / (select extract(epoch from '2026-05-28 08:49:33'::timestamp) - extract(epoch from '2026-05-28 08:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575126 -3.399599)'), GeomFromEWKT('SRID=4674;POINT (-38.575154 -3.399466)'))) / (select extract(epoch from '2026-05-28 08:49:33'::timestamp) - extract(epoch from '2026-05-28 08:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575182 -3.399363)', '2026-05-28 08:49:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575154 -3.399466)'), GeomFromEWKT('SRID=4674;POINT (-38.575182 -3.399363)'))) / (select extract(epoch from '2026-05-28 08:49:38'::timestamp) - extract(epoch from '2026-05-28 08:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575154 -3.399466)'), GeomFromEWKT('SRID=4674;POINT (-38.575182 -3.399363)'))) / (select extract(epoch from '2026-05-28 08:49:38'::timestamp) - extract(epoch from '2026-05-28 08:49:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575195 -3.39928)', '2026-05-28 08:49:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575182 -3.399363)'), GeomFromEWKT('SRID=4674;POINT (-38.575195 -3.39928)'))) / (select extract(epoch from '2026-05-28 08:49:42'::timestamp) - extract(epoch from '2026-05-28 08:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575182 -3.399363)'), GeomFromEWKT('SRID=4674;POINT (-38.575195 -3.39928)'))) / (select extract(epoch from '2026-05-28 08:49:42'::timestamp) - extract(epoch from '2026-05-28 08:49:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575204 -3.399259)', '2026-05-28 08:49:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575195 -3.39928)'), GeomFromEWKT('SRID=4674;POINT (-38.575204 -3.399259)'))) / (select extract(epoch from '2026-05-28 08:49:43'::timestamp) - extract(epoch from '2026-05-28 08:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575195 -3.39928)'), GeomFromEWKT('SRID=4674;POINT (-38.575204 -3.399259)'))) / (select extract(epoch from '2026-05-28 08:49:43'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.575238 -3.399148)', '2026-05-28 08:49:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575204 -3.399259)'), GeomFromEWKT('SRID=4674;POINT (-38.575238 -3.399148)'))) / (select extract(epoch from '2026-05-28 08:49:48'::timestamp) - extract(epoch from '2026-05-28 08:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575204 -3.399259)'), GeomFromEWKT('SRID=4674;POINT (-38.575238 -3.399148)'))) / (select extract(epoch from '2026-05-28 08:49:48'::timestamp) - extract(epoch from '2026-05-28 08:49:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575285 -3.399012)', '2026-05-28 08:49:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575238 -3.399148)'), GeomFromEWKT('SRID=4674;POINT (-38.575285 -3.399012)'))) / (select extract(epoch from '2026-05-28 08:49:54'::timestamp) - extract(epoch from '2026-05-28 08:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575238 -3.399148)'), GeomFromEWKT('SRID=4674;POINT (-38.575285 -3.399012)'))) / (select extract(epoch from '2026-05-28 08:49:54'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.575324 -3.398862)', '2026-05-28 08:50:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575285 -3.399012)'), GeomFromEWKT('SRID=4674;POINT (-38.575324 -3.398862)'))) / (select extract(epoch from '2026-05-28 08:50:01'::timestamp) - extract(epoch from '2026-05-28 08:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575285 -3.399012)'), GeomFromEWKT('SRID=4674;POINT (-38.575324 -3.398862)'))) / (select extract(epoch from '2026-05-28 08:50:01'::timestamp) - extract(epoch from '2026-05-28 08:49:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575367 -3.39873)', '2026-05-28 08:50:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575324 -3.398862)'), GeomFromEWKT('SRID=4674;POINT (-38.575367 -3.39873)'))) / (select extract(epoch from '2026-05-28 08:50:07'::timestamp) - extract(epoch from '2026-05-28 08:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575324 -3.398862)'), GeomFromEWKT('SRID=4674;POINT (-38.575367 -3.39873)'))) / (select extract(epoch from '2026-05-28 08:50:07'::timestamp) - extract(epoch from '2026-05-28 08:50:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57537 -3.39871)', '2026-05-28 08:50:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575367 -3.39873)'), GeomFromEWKT('SRID=4674;POINT (-38.57537 -3.39871)'))) / (select extract(epoch from '2026-05-28 08:50:08'::timestamp) - extract(epoch from '2026-05-28 08:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575367 -3.39873)'), GeomFromEWKT('SRID=4674;POINT (-38.57537 -3.39871)'))) / (select extract(epoch from '2026-05-28 08:50:08'::timestamp) - extract(epoch from '2026-05-28 08:50:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575378 -3.398639)', '2026-05-28 08:50:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57537 -3.39871)'), GeomFromEWKT('SRID=4674;POINT (-38.575378 -3.398639)'))) / (select extract(epoch from '2026-05-28 08:50:11'::timestamp) - extract(epoch from '2026-05-28 08:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57537 -3.39871)'), GeomFromEWKT('SRID=4674;POINT (-38.575378 -3.398639)'))) / (select extract(epoch from '2026-05-28 08:50:11'::timestamp) - extract(epoch from '2026-05-28 08:50:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575409 -3.398574)', '2026-05-28 08:50:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575378 -3.398639)'), GeomFromEWKT('SRID=4674;POINT (-38.575409 -3.398574)'))) / (select extract(epoch from '2026-05-28 08:50:14'::timestamp) - extract(epoch from '2026-05-28 08:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575378 -3.398639)'), GeomFromEWKT('SRID=4674;POINT (-38.575409 -3.398574)'))) / (select extract(epoch from '2026-05-28 08:50:14'::timestamp) - extract(epoch from '2026-05-28 08:50:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575412 -3.398532)', '2026-05-28 08:50:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575409 -3.398574)'), GeomFromEWKT('SRID=4674;POINT (-38.575412 -3.398532)'))) / (select extract(epoch from '2026-05-28 08:50:16'::timestamp) - extract(epoch from '2026-05-28 08:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575409 -3.398574)'), GeomFromEWKT('SRID=4674;POINT (-38.575412 -3.398532)'))) / (select extract(epoch from '2026-05-28 08:50:16'::timestamp) - extract(epoch from '2026-05-28 08:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575458 -3.398425)', '2026-05-28 08:50:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575412 -3.398532)'), GeomFromEWKT('SRID=4674;POINT (-38.575458 -3.398425)'))) / (select extract(epoch from '2026-05-28 08:50:21'::timestamp) - extract(epoch from '2026-05-28 08:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575412 -3.398532)'), GeomFromEWKT('SRID=4674;POINT (-38.575458 -3.398425)'))) / (select extract(epoch from '2026-05-28 08:50:21'::timestamp) - extract(epoch from '2026-05-28 08:50:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575505 -3.398273)', '2026-05-28 08:50:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575458 -3.398425)'), GeomFromEWKT('SRID=4674;POINT (-38.575505 -3.398273)'))) / (select extract(epoch from '2026-05-28 08:50:28'::timestamp) - extract(epoch from '2026-05-28 08:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575458 -3.398425)'), GeomFromEWKT('SRID=4674;POINT (-38.575505 -3.398273)'))) / (select extract(epoch from '2026-05-28 08:50:28'::timestamp) - extract(epoch from '2026-05-28 08:50:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575541 -3.398142)', '2026-05-28 08:50:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575505 -3.398273)'), GeomFromEWKT('SRID=4674;POINT (-38.575541 -3.398142)'))) / (select extract(epoch from '2026-05-28 08:50:34'::timestamp) - extract(epoch from '2026-05-28 08:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575505 -3.398273)'), GeomFromEWKT('SRID=4674;POINT (-38.575541 -3.398142)'))) / (select extract(epoch from '2026-05-28 08:50:34'::timestamp) - extract(epoch from '2026-05-28 08:50:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575576 -3.398035)', '2026-05-28 08:50:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575541 -3.398142)'), GeomFromEWKT('SRID=4674;POINT (-38.575576 -3.398035)'))) / (select extract(epoch from '2026-05-28 08:50:39'::timestamp) - extract(epoch from '2026-05-28 08:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575541 -3.398142)'), GeomFromEWKT('SRID=4674;POINT (-38.575576 -3.398035)'))) / (select extract(epoch from '2026-05-28 08:50:39'::timestamp) - extract(epoch from '2026-05-28 08:50:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575616 -3.397902)', '2026-05-28 08:50:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575576 -3.398035)'), GeomFromEWKT('SRID=4674;POINT (-38.575616 -3.397902)'))) / (select extract(epoch from '2026-05-28 08:50:45'::timestamp) - extract(epoch from '2026-05-28 08:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575576 -3.398035)'), GeomFromEWKT('SRID=4674;POINT (-38.575616 -3.397902)'))) / (select extract(epoch from '2026-05-28 08:50:45'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.575672 -3.397729)', '2026-05-28 08:50:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575616 -3.397902)'), GeomFromEWKT('SRID=4674;POINT (-38.575672 -3.397729)'))) / (select extract(epoch from '2026-05-28 08:50:53'::timestamp) - extract(epoch from '2026-05-28 08:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575616 -3.397902)'), GeomFromEWKT('SRID=4674;POINT (-38.575672 -3.397729)'))) / (select extract(epoch from '2026-05-28 08:50:53'::timestamp) - extract(epoch from '2026-05-28 08:50:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575712 -3.397627)', '2026-05-28 08:50:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575672 -3.397729)'), GeomFromEWKT('SRID=4674;POINT (-38.575712 -3.397627)'))) / (select extract(epoch from '2026-05-28 08:50:58'::timestamp) - extract(epoch from '2026-05-28 08:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575672 -3.397729)'), GeomFromEWKT('SRID=4674;POINT (-38.575712 -3.397627)'))) / (select extract(epoch from '2026-05-28 08:50:58'::timestamp) - extract(epoch from '2026-05-28 08:50:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575721 -3.397582)', '2026-05-28 08:51:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575712 -3.397627)'), GeomFromEWKT('SRID=4674;POINT (-38.575721 -3.397582)'))) / (select extract(epoch from '2026-05-28 08:51:00'::timestamp) - extract(epoch from '2026-05-28 08:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575712 -3.397627)'), GeomFromEWKT('SRID=4674;POINT (-38.575721 -3.397582)'))) / (select extract(epoch from '2026-05-28 08:51:00'::timestamp) - extract(epoch from '2026-05-28 08:50:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575742 -3.397517)', '2026-05-28 08:51:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575721 -3.397582)'), GeomFromEWKT('SRID=4674;POINT (-38.575742 -3.397517)'))) / (select extract(epoch from '2026-05-28 08:51:03'::timestamp) - extract(epoch from '2026-05-28 08:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575721 -3.397582)'), GeomFromEWKT('SRID=4674;POINT (-38.575742 -3.397517)'))) / (select extract(epoch from '2026-05-28 08:51:03'::timestamp) - extract(epoch from '2026-05-28 08:51:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575774 -3.39739)', '2026-05-28 08:51:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575742 -3.397517)'), GeomFromEWKT('SRID=4674;POINT (-38.575774 -3.39739)'))) / (select extract(epoch from '2026-05-28 08:51:09'::timestamp) - extract(epoch from '2026-05-28 08:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575742 -3.397517)'), GeomFromEWKT('SRID=4674;POINT (-38.575774 -3.39739)'))) / (select extract(epoch from '2026-05-28 08:51:09'::timestamp) - extract(epoch from '2026-05-28 08:51:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575797 -3.397285)', '2026-05-28 08:51:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575774 -3.39739)'), GeomFromEWKT('SRID=4674;POINT (-38.575797 -3.397285)'))) / (select extract(epoch from '2026-05-28 08:51:14'::timestamp) - extract(epoch from '2026-05-28 08:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575774 -3.39739)'), GeomFromEWKT('SRID=4674;POINT (-38.575797 -3.397285)'))) / (select extract(epoch from '2026-05-28 08:51:14'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.575841 -3.397175)', '2026-05-28 08:51:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575797 -3.397285)'), GeomFromEWKT('SRID=4674;POINT (-38.575841 -3.397175)'))) / (select extract(epoch from '2026-05-28 08:51:19'::timestamp) - extract(epoch from '2026-05-28 08:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575797 -3.397285)'), GeomFromEWKT('SRID=4674;POINT (-38.575841 -3.397175)'))) / (select extract(epoch from '2026-05-28 08:51:19'::timestamp) - extract(epoch from '2026-05-28 08:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575846 -3.397135)', '2026-05-28 08:51:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575841 -3.397175)'), GeomFromEWKT('SRID=4674;POINT (-38.575846 -3.397135)'))) / (select extract(epoch from '2026-05-28 08:51:21'::timestamp) - extract(epoch from '2026-05-28 08:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575841 -3.397175)'), GeomFromEWKT('SRID=4674;POINT (-38.575846 -3.397135)'))) / (select extract(epoch from '2026-05-28 08:51:21'::timestamp) - extract(epoch from '2026-05-28 08:51:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575878 -3.397065)', '2026-05-28 08:51:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575846 -3.397135)'), GeomFromEWKT('SRID=4674;POINT (-38.575878 -3.397065)'))) / (select extract(epoch from '2026-05-28 08:51:24'::timestamp) - extract(epoch from '2026-05-28 08:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575846 -3.397135)'), GeomFromEWKT('SRID=4674;POINT (-38.575878 -3.397065)'))) / (select extract(epoch from '2026-05-28 08:51:24'::timestamp) - extract(epoch from '2026-05-28 08:51:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575912 -3.396963)', '2026-05-28 08:51:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575878 -3.397065)'), GeomFromEWKT('SRID=4674;POINT (-38.575912 -3.396963)'))) / (select extract(epoch from '2026-05-28 08:51:29'::timestamp) - extract(epoch from '2026-05-28 08:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575878 -3.397065)'), GeomFromEWKT('SRID=4674;POINT (-38.575912 -3.396963)'))) / (select extract(epoch from '2026-05-28 08:51:29'::timestamp) - extract(epoch from '2026-05-28 08:51:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575952 -3.396832)', '2026-05-28 08:51:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575912 -3.396963)'), GeomFromEWKT('SRID=4674;POINT (-38.575952 -3.396832)'))) / (select extract(epoch from '2026-05-28 08:51:35'::timestamp) - extract(epoch from '2026-05-28 08:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575912 -3.396963)'), GeomFromEWKT('SRID=4674;POINT (-38.575952 -3.396832)'))) / (select extract(epoch from '2026-05-28 08:51:35'::timestamp) - extract(epoch from '2026-05-28 08:51:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576004 -3.396682)', '2026-05-28 08:51:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575952 -3.396832)'), GeomFromEWKT('SRID=4674;POINT (-38.576004 -3.396682)'))) / (select extract(epoch from '2026-05-28 08:51:42'::timestamp) - extract(epoch from '2026-05-28 08:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575952 -3.396832)'), GeomFromEWKT('SRID=4674;POINT (-38.576004 -3.396682)'))) / (select extract(epoch from '2026-05-28 08:51:42'::timestamp) - extract(epoch from '2026-05-28 08:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576047 -3.396511)', '2026-05-28 08:51:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576004 -3.396682)'), GeomFromEWKT('SRID=4674;POINT (-38.576047 -3.396511)'))) / (select extract(epoch from '2026-05-28 08:51:50'::timestamp) - extract(epoch from '2026-05-28 08:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576004 -3.396682)'), GeomFromEWKT('SRID=4674;POINT (-38.576047 -3.396511)'))) / (select extract(epoch from '2026-05-28 08:51:50'::timestamp) - extract(epoch from '2026-05-28 08:51:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576088 -3.396332)', '2026-05-28 08:51:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576047 -3.396511)'), GeomFromEWKT('SRID=4674;POINT (-38.576088 -3.396332)'))) / (select extract(epoch from '2026-05-28 08:51:58'::timestamp) - extract(epoch from '2026-05-28 08:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576047 -3.396511)'), GeomFromEWKT('SRID=4674;POINT (-38.576088 -3.396332)'))) / (select extract(epoch from '2026-05-28 08:51:58'::timestamp) - extract(epoch from '2026-05-28 08:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576129 -3.396166)', '2026-05-28 08:52:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576088 -3.396332)'), GeomFromEWKT('SRID=4674;POINT (-38.576129 -3.396166)'))) / (select extract(epoch from '2026-05-28 08:52:05'::timestamp) - extract(epoch from '2026-05-28 08:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576088 -3.396332)'), GeomFromEWKT('SRID=4674;POINT (-38.576129 -3.396166)'))) / (select extract(epoch from '2026-05-28 08:52:05'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.57616 -3.396029)', '2026-05-28 08:52:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576129 -3.396166)'), GeomFromEWKT('SRID=4674;POINT (-38.57616 -3.396029)'))) / (select extract(epoch from '2026-05-28 08:52:11'::timestamp) - extract(epoch from '2026-05-28 08:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576129 -3.396166)'), GeomFromEWKT('SRID=4674;POINT (-38.57616 -3.396029)'))) / (select extract(epoch from '2026-05-28 08:52:11'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.576203 -3.395902)', '2026-05-28 08:52:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57616 -3.396029)'), GeomFromEWKT('SRID=4674;POINT (-38.576203 -3.395902)'))) / (select extract(epoch from '2026-05-28 08:52:17'::timestamp) - extract(epoch from '2026-05-28 08:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57616 -3.396029)'), GeomFromEWKT('SRID=4674;POINT (-38.576203 -3.395902)'))) / (select extract(epoch from '2026-05-28 08:52:17'::timestamp) - extract(epoch from '2026-05-28 08:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576235 -3.395786)', '2026-05-28 08:52:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576203 -3.395902)'), GeomFromEWKT('SRID=4674;POINT (-38.576235 -3.395786)'))) / (select extract(epoch from '2026-05-28 08:52:23'::timestamp) - extract(epoch from '2026-05-28 08:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576203 -3.395902)'), GeomFromEWKT('SRID=4674;POINT (-38.576235 -3.395786)'))) / (select extract(epoch from '2026-05-28 08:52:23'::timestamp) - extract(epoch from '2026-05-28 08:52:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576281 -3.395631)', '2026-05-28 08:52:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576235 -3.395786)'), GeomFromEWKT('SRID=4674;POINT (-38.576281 -3.395631)'))) / (select extract(epoch from '2026-05-28 08:52:31'::timestamp) - extract(epoch from '2026-05-28 08:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576235 -3.395786)'), GeomFromEWKT('SRID=4674;POINT (-38.576281 -3.395631)'))) / (select extract(epoch from '2026-05-28 08:52:31'::timestamp) - extract(epoch from '2026-05-28 08:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576312 -3.395502)', '2026-05-28 08:52:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576281 -3.395631)'), GeomFromEWKT('SRID=4674;POINT (-38.576312 -3.395502)'))) / (select extract(epoch from '2026-05-28 08:52:37'::timestamp) - extract(epoch from '2026-05-28 08:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576281 -3.395631)'), GeomFromEWKT('SRID=4674;POINT (-38.576312 -3.395502)'))) / (select extract(epoch from '2026-05-28 08:52:37'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.576337 -3.395367)', '2026-05-28 08:52:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576312 -3.395502)'), GeomFromEWKT('SRID=4674;POINT (-38.576337 -3.395367)'))) / (select extract(epoch from '2026-05-28 08:52:43'::timestamp) - extract(epoch from '2026-05-28 08:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576312 -3.395502)'), GeomFromEWKT('SRID=4674;POINT (-38.576337 -3.395367)'))) / (select extract(epoch from '2026-05-28 08:52:43'::timestamp) - extract(epoch from '2026-05-28 08:52:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576366 -3.395255)', '2026-05-28 08:52:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576337 -3.395367)'), GeomFromEWKT('SRID=4674;POINT (-38.576366 -3.395255)'))) / (select extract(epoch from '2026-05-28 08:52:48'::timestamp) - extract(epoch from '2026-05-28 08:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576337 -3.395367)'), GeomFromEWKT('SRID=4674;POINT (-38.576366 -3.395255)'))) / (select extract(epoch from '2026-05-28 08:52:48'::timestamp) - extract(epoch from '2026-05-28 08:52:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576415 -3.395126)', '2026-05-28 08:52:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576366 -3.395255)'), GeomFromEWKT('SRID=4674;POINT (-38.576415 -3.395126)'))) / (select extract(epoch from '2026-05-28 08:52:54'::timestamp) - extract(epoch from '2026-05-28 08:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576366 -3.395255)'), GeomFromEWKT('SRID=4674;POINT (-38.576415 -3.395126)'))) / (select extract(epoch from '2026-05-28 08:52:54'::timestamp) - extract(epoch from '2026-05-28 08:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576453 -3.395021)', '2026-05-28 08:52:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576415 -3.395126)'), GeomFromEWKT('SRID=4674;POINT (-38.576453 -3.395021)'))) / (select extract(epoch from '2026-05-28 08:52:59'::timestamp) - extract(epoch from '2026-05-28 08:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576415 -3.395126)'), GeomFromEWKT('SRID=4674;POINT (-38.576453 -3.395021)'))) / (select extract(epoch from '2026-05-28 08:52:59'::timestamp) - extract(epoch from '2026-05-28 08:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576489 -3.394891)', '2026-05-28 08:53:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576453 -3.395021)'), GeomFromEWKT('SRID=4674;POINT (-38.576489 -3.394891)'))) / (select extract(epoch from '2026-05-28 08:53:05'::timestamp) - extract(epoch from '2026-05-28 08:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576453 -3.395021)'), GeomFromEWKT('SRID=4674;POINT (-38.576489 -3.394891)'))) / (select extract(epoch from '2026-05-28 08:53:05'::timestamp) - extract(epoch from '2026-05-28 08:52:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576513 -3.394771)', '2026-05-28 08:53:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576489 -3.394891)'), GeomFromEWKT('SRID=4674;POINT (-38.576513 -3.394771)'))) / (select extract(epoch from '2026-05-28 08:53:10'::timestamp) - extract(epoch from '2026-05-28 08:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576489 -3.394891)'), GeomFromEWKT('SRID=4674;POINT (-38.576513 -3.394771)'))) / (select extract(epoch from '2026-05-28 08:53:10'::timestamp) - extract(epoch from '2026-05-28 08:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576537 -3.394653)', '2026-05-28 08:53:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576513 -3.394771)'), GeomFromEWKT('SRID=4674;POINT (-38.576537 -3.394653)'))) / (select extract(epoch from '2026-05-28 08:53:15'::timestamp) - extract(epoch from '2026-05-28 08:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576513 -3.394771)'), GeomFromEWKT('SRID=4674;POINT (-38.576537 -3.394653)'))) / (select extract(epoch from '2026-05-28 08:53:15'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.576565 -3.394542)', '2026-05-28 08:53:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576537 -3.394653)'), GeomFromEWKT('SRID=4674;POINT (-38.576565 -3.394542)'))) / (select extract(epoch from '2026-05-28 08:53:20'::timestamp) - extract(epoch from '2026-05-28 08:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576537 -3.394653)'), GeomFromEWKT('SRID=4674;POINT (-38.576565 -3.394542)'))) / (select extract(epoch from '2026-05-28 08:53:20'::timestamp) - extract(epoch from '2026-05-28 08:53:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576599 -3.394411)', '2026-05-28 08:53:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576565 -3.394542)'), GeomFromEWKT('SRID=4674;POINT (-38.576599 -3.394411)'))) / (select extract(epoch from '2026-05-28 08:53:26'::timestamp) - extract(epoch from '2026-05-28 08:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576565 -3.394542)'), GeomFromEWKT('SRID=4674;POINT (-38.576599 -3.394411)'))) / (select extract(epoch from '2026-05-28 08:53:26'::timestamp) - extract(epoch from '2026-05-28 08:53:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576631 -3.394308)', '2026-05-28 08:53:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576599 -3.394411)'), GeomFromEWKT('SRID=4674;POINT (-38.576631 -3.394308)'))) / (select extract(epoch from '2026-05-28 08:53:31'::timestamp) - extract(epoch from '2026-05-28 08:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576599 -3.394411)'), GeomFromEWKT('SRID=4674;POINT (-38.576631 -3.394308)'))) / (select extract(epoch from '2026-05-28 08:53:31'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.576662 -3.39417)', '2026-05-28 08:53:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576631 -3.394308)'), GeomFromEWKT('SRID=4674;POINT (-38.576662 -3.39417)'))) / (select extract(epoch from '2026-05-28 08:53:37'::timestamp) - extract(epoch from '2026-05-28 08:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576631 -3.394308)'), GeomFromEWKT('SRID=4674;POINT (-38.576662 -3.39417)'))) / (select extract(epoch from '2026-05-28 08:53:37'::timestamp) - extract(epoch from '2026-05-28 08:53:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576687 -3.394068)', '2026-05-28 08:53:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576662 -3.39417)'), GeomFromEWKT('SRID=4674;POINT (-38.576687 -3.394068)'))) / (select extract(epoch from '2026-05-28 08:53:42'::timestamp) - extract(epoch from '2026-05-28 08:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576662 -3.39417)'), GeomFromEWKT('SRID=4674;POINT (-38.576687 -3.394068)'))) / (select extract(epoch from '2026-05-28 08:53:42'::timestamp) - extract(epoch from '2026-05-28 08:53:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576708 -3.393965)', '2026-05-28 08:53:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576687 -3.394068)'), GeomFromEWKT('SRID=4674;POINT (-38.576708 -3.393965)'))) / (select extract(epoch from '2026-05-28 08:53:47'::timestamp) - extract(epoch from '2026-05-28 08:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576687 -3.394068)'), GeomFromEWKT('SRID=4674;POINT (-38.576708 -3.393965)'))) / (select extract(epoch from '2026-05-28 08:53:47'::timestamp) - extract(epoch from '2026-05-28 08:53:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576737 -3.393857)', '2026-05-28 08:53:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576708 -3.393965)'), GeomFromEWKT('SRID=4674;POINT (-38.576737 -3.393857)'))) / (select extract(epoch from '2026-05-28 08:53:52'::timestamp) - extract(epoch from '2026-05-28 08:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576708 -3.393965)'), GeomFromEWKT('SRID=4674;POINT (-38.576737 -3.393857)'))) / (select extract(epoch from '2026-05-28 08:53:52'::timestamp) - extract(epoch from '2026-05-28 08:53:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576765 -3.393752)', '2026-05-28 08:53:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576737 -3.393857)'), GeomFromEWKT('SRID=4674;POINT (-38.576765 -3.393752)'))) / (select extract(epoch from '2026-05-28 08:53:57'::timestamp) - extract(epoch from '2026-05-28 08:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576737 -3.393857)'), GeomFromEWKT('SRID=4674;POINT (-38.576765 -3.393752)'))) / (select extract(epoch from '2026-05-28 08:53:57'::timestamp) - extract(epoch from '2026-05-28 08:53:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576788 -3.39361)', '2026-05-28 08:54:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576765 -3.393752)'), GeomFromEWKT('SRID=4674;POINT (-38.576788 -3.39361)'))) / (select extract(epoch from '2026-05-28 08:54:04'::timestamp) - extract(epoch from '2026-05-28 08:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576765 -3.393752)'), GeomFromEWKT('SRID=4674;POINT (-38.576788 -3.39361)'))) / (select extract(epoch from '2026-05-28 08:54:04'::timestamp) - extract(epoch from '2026-05-28 08:53:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576819 -3.39345)', '2026-05-28 08:54:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576788 -3.39361)'), GeomFromEWKT('SRID=4674;POINT (-38.576819 -3.39345)'))) / (select extract(epoch from '2026-05-28 08:54:11'::timestamp) - extract(epoch from '2026-05-28 08:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576788 -3.39361)'), GeomFromEWKT('SRID=4674;POINT (-38.576819 -3.39345)'))) / (select extract(epoch from '2026-05-28 08:54:11'::timestamp) - extract(epoch from '2026-05-28 08:54:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576841 -3.39332)', '2026-05-28 08:54:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576819 -3.39345)'), GeomFromEWKT('SRID=4674;POINT (-38.576841 -3.39332)'))) / (select extract(epoch from '2026-05-28 08:54:17'::timestamp) - extract(epoch from '2026-05-28 08:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576819 -3.39345)'), GeomFromEWKT('SRID=4674;POINT (-38.576841 -3.39332)'))) / (select extract(epoch from '2026-05-28 08:54:17'::timestamp) - extract(epoch from '2026-05-28 08:54:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576875 -3.393197)', '2026-05-28 08:54:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576841 -3.39332)'), GeomFromEWKT('SRID=4674;POINT (-38.576875 -3.393197)'))) / (select extract(epoch from '2026-05-28 08:54:23'::timestamp) - extract(epoch from '2026-05-28 08:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576841 -3.39332)'), GeomFromEWKT('SRID=4674;POINT (-38.576875 -3.393197)'))) / (select extract(epoch from '2026-05-28 08:54:23'::timestamp) - extract(epoch from '2026-05-28 08:54:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576897 -3.393056)', '2026-05-28 08:54:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576875 -3.393197)'), GeomFromEWKT('SRID=4674;POINT (-38.576897 -3.393056)'))) / (select extract(epoch from '2026-05-28 08:54:30'::timestamp) - extract(epoch from '2026-05-28 08:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576875 -3.393197)'), GeomFromEWKT('SRID=4674;POINT (-38.576897 -3.393056)'))) / (select extract(epoch from '2026-05-28 08:54:30'::timestamp) - extract(epoch from '2026-05-28 08:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576928 -3.392889)', '2026-05-28 08:54:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576897 -3.393056)'), GeomFromEWKT('SRID=4674;POINT (-38.576928 -3.392889)'))) / (select extract(epoch from '2026-05-28 08:54:37'::timestamp) - extract(epoch from '2026-05-28 08:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576897 -3.393056)'), GeomFromEWKT('SRID=4674;POINT (-38.576928 -3.392889)'))) / (select extract(epoch from '2026-05-28 08:54:37'::timestamp) - extract(epoch from '2026-05-28 08:54:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576946 -3.392784)', '2026-05-28 08:54:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576928 -3.392889)'), GeomFromEWKT('SRID=4674;POINT (-38.576946 -3.392784)'))) / (select extract(epoch from '2026-05-28 08:54:42'::timestamp) - extract(epoch from '2026-05-28 08:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576928 -3.392889)'), GeomFromEWKT('SRID=4674;POINT (-38.576946 -3.392784)'))) / (select extract(epoch from '2026-05-28 08:54:42'::timestamp) - extract(epoch from '2026-05-28 08:54:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576985 -3.392676)', '2026-05-28 08:54:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576946 -3.392784)'), GeomFromEWKT('SRID=4674;POINT (-38.576985 -3.392676)'))) / (select extract(epoch from '2026-05-28 08:54:47'::timestamp) - extract(epoch from '2026-05-28 08:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576946 -3.392784)'), GeomFromEWKT('SRID=4674;POINT (-38.576985 -3.392676)'))) / (select extract(epoch from '2026-05-28 08:54:47'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.576991 -3.392657)', '2026-05-28 08:54:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576985 -3.392676)'), GeomFromEWKT('SRID=4674;POINT (-38.576991 -3.392657)'))) / (select extract(epoch from '2026-05-28 08:54:48'::timestamp) - extract(epoch from '2026-05-28 08:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576985 -3.392676)'), GeomFromEWKT('SRID=4674;POINT (-38.576991 -3.392657)'))) / (select extract(epoch from '2026-05-28 08:54:48'::timestamp) - extract(epoch from '2026-05-28 08:54:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577024 -3.392599)', '2026-05-28 08:54:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576991 -3.392657)'), GeomFromEWKT('SRID=4674;POINT (-38.577024 -3.392599)'))) / (select extract(epoch from '2026-05-28 08:54:51'::timestamp) - extract(epoch from '2026-05-28 08:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576991 -3.392657)'), GeomFromEWKT('SRID=4674;POINT (-38.577024 -3.392599)'))) / (select extract(epoch from '2026-05-28 08:54:51'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.577073 -3.392488)', '2026-05-28 08:54:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577024 -3.392599)'), GeomFromEWKT('SRID=4674;POINT (-38.577073 -3.392488)'))) / (select extract(epoch from '2026-05-28 08:54:57'::timestamp) - extract(epoch from '2026-05-28 08:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577024 -3.392599)'), GeomFromEWKT('SRID=4674;POINT (-38.577073 -3.392488)'))) / (select extract(epoch from '2026-05-28 08:54:57'::timestamp) - extract(epoch from '2026-05-28 08:54:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577123 -3.392345)', '2026-05-28 08:55:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577073 -3.392488)'), GeomFromEWKT('SRID=4674;POINT (-38.577123 -3.392345)'))) / (select extract(epoch from '2026-05-28 08:55:04'::timestamp) - extract(epoch from '2026-05-28 08:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577073 -3.392488)'), GeomFromEWKT('SRID=4674;POINT (-38.577123 -3.392345)'))) / (select extract(epoch from '2026-05-28 08:55:04'::timestamp) - extract(epoch from '2026-05-28 08:54:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577163 -3.392211)', '2026-05-28 08:55:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577123 -3.392345)'), GeomFromEWKT('SRID=4674;POINT (-38.577163 -3.392211)'))) / (select extract(epoch from '2026-05-28 08:55:10'::timestamp) - extract(epoch from '2026-05-28 08:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577123 -3.392345)'), GeomFromEWKT('SRID=4674;POINT (-38.577163 -3.392211)'))) / (select extract(epoch from '2026-05-28 08:55:10'::timestamp) - extract(epoch from '2026-05-28 08:55:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577192 -3.392056)', '2026-05-28 08:55:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577163 -3.392211)'), GeomFromEWKT('SRID=4674;POINT (-38.577192 -3.392056)'))) / (select extract(epoch from '2026-05-28 08:55:17'::timestamp) - extract(epoch from '2026-05-28 08:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577163 -3.392211)'), GeomFromEWKT('SRID=4674;POINT (-38.577192 -3.392056)'))) / (select extract(epoch from '2026-05-28 08:55:17'::timestamp) - extract(epoch from '2026-05-28 08:55:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577204 -3.391897)', '2026-05-28 08:55:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577192 -3.392056)'), GeomFromEWKT('SRID=4674;POINT (-38.577204 -3.391897)'))) / (select extract(epoch from '2026-05-28 08:55:24'::timestamp) - extract(epoch from '2026-05-28 08:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577192 -3.392056)'), GeomFromEWKT('SRID=4674;POINT (-38.577204 -3.391897)'))) / (select extract(epoch from '2026-05-28 08:55:24'::timestamp) - extract(epoch from '2026-05-28 08:55:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577221 -3.391736)', '2026-05-28 08:55:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577204 -3.391897)'), GeomFromEWKT('SRID=4674;POINT (-38.577221 -3.391736)'))) / (select extract(epoch from '2026-05-28 08:55:31'::timestamp) - extract(epoch from '2026-05-28 08:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577204 -3.391897)'), GeomFromEWKT('SRID=4674;POINT (-38.577221 -3.391736)'))) / (select extract(epoch from '2026-05-28 08:55:31'::timestamp) - extract(epoch from '2026-05-28 08:55:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577241 -3.391625)', '2026-05-28 08:55:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577221 -3.391736)'), GeomFromEWKT('SRID=4674;POINT (-38.577241 -3.391625)'))) / (select extract(epoch from '2026-05-28 08:55:36'::timestamp) - extract(epoch from '2026-05-28 08:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577221 -3.391736)'), GeomFromEWKT('SRID=4674;POINT (-38.577241 -3.391625)'))) / (select extract(epoch from '2026-05-28 08:55:36'::timestamp) - extract(epoch from '2026-05-28 08:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577259 -3.391515)', '2026-05-28 08:55:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577241 -3.391625)'), GeomFromEWKT('SRID=4674;POINT (-38.577259 -3.391515)'))) / (select extract(epoch from '2026-05-28 08:55:41'::timestamp) - extract(epoch from '2026-05-28 08:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577241 -3.391625)'), GeomFromEWKT('SRID=4674;POINT (-38.577259 -3.391515)'))) / (select extract(epoch from '2026-05-28 08:55:41'::timestamp) - extract(epoch from '2026-05-28 08:55:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57729 -3.391362)', '2026-05-28 08:55:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577259 -3.391515)'), GeomFromEWKT('SRID=4674;POINT (-38.57729 -3.391362)'))) / (select extract(epoch from '2026-05-28 08:55:48'::timestamp) - extract(epoch from '2026-05-28 08:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577259 -3.391515)'), GeomFromEWKT('SRID=4674;POINT (-38.57729 -3.391362)'))) / (select extract(epoch from '2026-05-28 08:55:48'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.577323 -3.391199)', '2026-05-28 08:55:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57729 -3.391362)'), GeomFromEWKT('SRID=4674;POINT (-38.577323 -3.391199)'))) / (select extract(epoch from '2026-05-28 08:55:55'::timestamp) - extract(epoch from '2026-05-28 08:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57729 -3.391362)'), GeomFromEWKT('SRID=4674;POINT (-38.577323 -3.391199)'))) / (select extract(epoch from '2026-05-28 08:55:55'::timestamp) - extract(epoch from '2026-05-28 08:55:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577335 -3.391087)', '2026-05-28 08:56:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577323 -3.391199)'), GeomFromEWKT('SRID=4674;POINT (-38.577335 -3.391087)'))) / (select extract(epoch from '2026-05-28 08:56:00'::timestamp) - extract(epoch from '2026-05-28 08:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577323 -3.391199)'), GeomFromEWKT('SRID=4674;POINT (-38.577335 -3.391087)'))) / (select extract(epoch from '2026-05-28 08:56:00'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.577357 -3.390897)', '2026-05-28 08:56:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577335 -3.391087)'), GeomFromEWKT('SRID=4674;POINT (-38.577357 -3.390897)'))) / (select extract(epoch from '2026-05-28 08:56:08'::timestamp) - extract(epoch from '2026-05-28 08:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577335 -3.391087)'), GeomFromEWKT('SRID=4674;POINT (-38.577357 -3.390897)'))) / (select extract(epoch from '2026-05-28 08:56:08'::timestamp) - extract(epoch from '2026-05-28 08:56:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577378 -3.390777)', '2026-05-28 08:56:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577357 -3.390897)'), GeomFromEWKT('SRID=4674;POINT (-38.577378 -3.390777)'))) / (select extract(epoch from '2026-05-28 08:56:13'::timestamp) - extract(epoch from '2026-05-28 08:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577357 -3.390897)'), GeomFromEWKT('SRID=4674;POINT (-38.577378 -3.390777)'))) / (select extract(epoch from '2026-05-28 08:56:13'::timestamp) - extract(epoch from '2026-05-28 08:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577387 -3.390661)', '2026-05-28 08:56:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577378 -3.390777)'), GeomFromEWKT('SRID=4674;POINT (-38.577387 -3.390661)'))) / (select extract(epoch from '2026-05-28 08:56:18'::timestamp) - extract(epoch from '2026-05-28 08:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577378 -3.390777)'), GeomFromEWKT('SRID=4674;POINT (-38.577387 -3.390661)'))) / (select extract(epoch from '2026-05-28 08:56:18'::timestamp) - extract(epoch from '2026-05-28 08:56:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57741 -3.390525)', '2026-05-28 08:56:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577387 -3.390661)'), GeomFromEWKT('SRID=4674;POINT (-38.57741 -3.390525)'))) / (select extract(epoch from '2026-05-28 08:56:24'::timestamp) - extract(epoch from '2026-05-28 08:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577387 -3.390661)'), GeomFromEWKT('SRID=4674;POINT (-38.57741 -3.390525)'))) / (select extract(epoch from '2026-05-28 08:56:24'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.577433 -3.39036)', '2026-05-28 08:56:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57741 -3.390525)'), GeomFromEWKT('SRID=4674;POINT (-38.577433 -3.39036)'))) / (select extract(epoch from '2026-05-28 08:56:31'::timestamp) - extract(epoch from '2026-05-28 08:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57741 -3.390525)'), GeomFromEWKT('SRID=4674;POINT (-38.577433 -3.39036)'))) / (select extract(epoch from '2026-05-28 08:56:31'::timestamp) - extract(epoch from '2026-05-28 08:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577444 -3.390246)', '2026-05-28 08:56:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577433 -3.39036)'), GeomFromEWKT('SRID=4674;POINT (-38.577444 -3.390246)'))) / (select extract(epoch from '2026-05-28 08:56:36'::timestamp) - extract(epoch from '2026-05-28 08:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577433 -3.39036)'), GeomFromEWKT('SRID=4674;POINT (-38.577444 -3.390246)'))) / (select extract(epoch from '2026-05-28 08:56:36'::timestamp) - extract(epoch from '2026-05-28 08:56:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577457 -3.390117)', '2026-05-28 08:56:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577444 -3.390246)'), GeomFromEWKT('SRID=4674;POINT (-38.577457 -3.390117)'))) / (select extract(epoch from '2026-05-28 08:56:42'::timestamp) - extract(epoch from '2026-05-28 08:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577444 -3.390246)'), GeomFromEWKT('SRID=4674;POINT (-38.577457 -3.390117)'))) / (select extract(epoch from '2026-05-28 08:56:42'::timestamp) - extract(epoch from '2026-05-28 08:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577468 -3.389972)', '2026-05-28 08:56:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577457 -3.390117)'), GeomFromEWKT('SRID=4674;POINT (-38.577468 -3.389972)'))) / (select extract(epoch from '2026-05-28 08:56:49'::timestamp) - extract(epoch from '2026-05-28 08:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577457 -3.390117)'), GeomFromEWKT('SRID=4674;POINT (-38.577468 -3.389972)'))) / (select extract(epoch from '2026-05-28 08:56:49'::timestamp) - extract(epoch from '2026-05-28 08:56:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57747 -3.389865)', '2026-05-28 08:56:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577468 -3.389972)'), GeomFromEWKT('SRID=4674;POINT (-38.57747 -3.389865)'))) / (select extract(epoch from '2026-05-28 08:56:54'::timestamp) - extract(epoch from '2026-05-28 08:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577468 -3.389972)'), GeomFromEWKT('SRID=4674;POINT (-38.57747 -3.389865)'))) / (select extract(epoch from '2026-05-28 08:56:54'::timestamp) - extract(epoch from '2026-05-28 08:56:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577473 -3.389767)', '2026-05-28 08:56:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57747 -3.389865)'), GeomFromEWKT('SRID=4674;POINT (-38.577473 -3.389767)'))) / (select extract(epoch from '2026-05-28 08:56:59'::timestamp) - extract(epoch from '2026-05-28 08:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57747 -3.389865)'), GeomFromEWKT('SRID=4674;POINT (-38.577473 -3.389767)'))) / (select extract(epoch from '2026-05-28 08:56:59'::timestamp) - extract(epoch from '2026-05-28 08:56:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577484 -3.389673)', '2026-05-28 08:57:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577473 -3.389767)'), GeomFromEWKT('SRID=4674;POINT (-38.577484 -3.389673)'))) / (select extract(epoch from '2026-05-28 08:57:04'::timestamp) - extract(epoch from '2026-05-28 08:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577473 -3.389767)'), GeomFromEWKT('SRID=4674;POINT (-38.577484 -3.389673)'))) / (select extract(epoch from '2026-05-28 08:57:04'::timestamp) - extract(epoch from '2026-05-28 08:56:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577487 -3.389535)', '2026-05-28 08:57:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577484 -3.389673)'), GeomFromEWKT('SRID=4674;POINT (-38.577487 -3.389535)'))) / (select extract(epoch from '2026-05-28 08:57:11'::timestamp) - extract(epoch from '2026-05-28 08:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577484 -3.389673)'), GeomFromEWKT('SRID=4674;POINT (-38.577487 -3.389535)'))) / (select extract(epoch from '2026-05-28 08:57:11'::timestamp) - extract(epoch from '2026-05-28 08:57:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577479 -3.389359)', '2026-05-28 08:57:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577487 -3.389535)'), GeomFromEWKT('SRID=4674;POINT (-38.577479 -3.389359)'))) / (select extract(epoch from '2026-05-28 08:57:19'::timestamp) - extract(epoch from '2026-05-28 08:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577487 -3.389535)'), GeomFromEWKT('SRID=4674;POINT (-38.577479 -3.389359)'))) / (select extract(epoch from '2026-05-28 08:57:19'::timestamp) - extract(epoch from '2026-05-28 08:57:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577465 -3.389219)', '2026-05-28 08:57:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577479 -3.389359)'), GeomFromEWKT('SRID=4674;POINT (-38.577465 -3.389219)'))) / (select extract(epoch from '2026-05-28 08:57:26'::timestamp) - extract(epoch from '2026-05-28 08:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577479 -3.389359)'), GeomFromEWKT('SRID=4674;POINT (-38.577465 -3.389219)'))) / (select extract(epoch from '2026-05-28 08:57:26'::timestamp) - extract(epoch from '2026-05-28 08:57: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'), 46535, 'SRID=4674;POINT (-38.577465 -3.38911)', '2026-05-28 08:57:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577465 -3.389219)'), GeomFromEWKT('SRID=4674;POINT (-38.577465 -3.38911)'))) / (select extract(epoch from '2026-05-28 08:57:31'::timestamp) - extract(epoch from '2026-05-28 08:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577465 -3.389219)'), GeomFromEWKT('SRID=4674;POINT (-38.577465 -3.38911)'))) / (select extract(epoch from '2026-05-28 08:57:31'::timestamp) - extract(epoch from '2026-05-28 08:57:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577458 -3.388965)', '2026-05-28 08:57:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577465 -3.38911)'), GeomFromEWKT('SRID=4674;POINT (-38.577458 -3.388965)'))) / (select extract(epoch from '2026-05-28 08:57:37'::timestamp) - extract(epoch from '2026-05-28 08:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577465 -3.38911)'), GeomFromEWKT('SRID=4674;POINT (-38.577458 -3.388965)'))) / (select extract(epoch from '2026-05-28 08:57:37'::timestamp) - extract(epoch from '2026-05-28 08:57:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577453 -3.388814)', '2026-05-28 08:57:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577458 -3.388965)'), GeomFromEWKT('SRID=4674;POINT (-38.577453 -3.388814)'))) / (select extract(epoch from '2026-05-28 08:57:44'::timestamp) - extract(epoch from '2026-05-28 08:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577458 -3.388965)'), GeomFromEWKT('SRID=4674;POINT (-38.577453 -3.388814)'))) / (select extract(epoch from '2026-05-28 08:57:44'::timestamp) - extract(epoch from '2026-05-28 08:57:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577454 -3.388691)', '2026-05-28 08:57:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577453 -3.388814)'), GeomFromEWKT('SRID=4674;POINT (-38.577454 -3.388691)'))) / (select extract(epoch from '2026-05-28 08:57:50'::timestamp) - extract(epoch from '2026-05-28 08:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577453 -3.388814)'), GeomFromEWKT('SRID=4674;POINT (-38.577454 -3.388691)'))) / (select extract(epoch from '2026-05-28 08:57:50'::timestamp) - extract(epoch from '2026-05-28 08:57:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577464 -3.388545)', '2026-05-28 08:57:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577454 -3.388691)'), GeomFromEWKT('SRID=4674;POINT (-38.577464 -3.388545)'))) / (select extract(epoch from '2026-05-28 08:57:57'::timestamp) - extract(epoch from '2026-05-28 08:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577454 -3.388691)'), GeomFromEWKT('SRID=4674;POINT (-38.577464 -3.388545)'))) / (select extract(epoch from '2026-05-28 08:57:57'::timestamp) - extract(epoch from '2026-05-28 08:57:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577466 -3.388377)', '2026-05-28 08:58:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577464 -3.388545)'), GeomFromEWKT('SRID=4674;POINT (-38.577466 -3.388377)'))) / (select extract(epoch from '2026-05-28 08:58:05'::timestamp) - extract(epoch from '2026-05-28 08:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577464 -3.388545)'), GeomFromEWKT('SRID=4674;POINT (-38.577466 -3.388377)'))) / (select extract(epoch from '2026-05-28 08:58:05'::timestamp) - extract(epoch from '2026-05-28 08:57:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577462 -3.388215)', '2026-05-28 08:58:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577466 -3.388377)'), GeomFromEWKT('SRID=4674;POINT (-38.577462 -3.388215)'))) / (select extract(epoch from '2026-05-28 08:58:12'::timestamp) - extract(epoch from '2026-05-28 08:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577466 -3.388377)'), GeomFromEWKT('SRID=4674;POINT (-38.577462 -3.388215)'))) / (select extract(epoch from '2026-05-28 08:58:12'::timestamp) - extract(epoch from '2026-05-28 08:58:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57746 -3.388091)', '2026-05-28 08:58:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577462 -3.388215)'), GeomFromEWKT('SRID=4674;POINT (-38.57746 -3.388091)'))) / (select extract(epoch from '2026-05-28 08:58:18'::timestamp) - extract(epoch from '2026-05-28 08:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577462 -3.388215)'), GeomFromEWKT('SRID=4674;POINT (-38.57746 -3.388091)'))) / (select extract(epoch from '2026-05-28 08:58:18'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.577449 -3.387985)', '2026-05-28 08:58:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57746 -3.388091)'), GeomFromEWKT('SRID=4674;POINT (-38.577449 -3.387985)'))) / (select extract(epoch from '2026-05-28 08:58:23'::timestamp) - extract(epoch from '2026-05-28 08:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57746 -3.388091)'), GeomFromEWKT('SRID=4674;POINT (-38.577449 -3.387985)'))) / (select extract(epoch from '2026-05-28 08:58:23'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.577447 -3.387828)', '2026-05-28 08:58:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577449 -3.387985)'), GeomFromEWKT('SRID=4674;POINT (-38.577447 -3.387828)'))) / (select extract(epoch from '2026-05-28 08:58:30'::timestamp) - extract(epoch from '2026-05-28 08:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577449 -3.387985)'), GeomFromEWKT('SRID=4674;POINT (-38.577447 -3.387828)'))) / (select extract(epoch from '2026-05-28 08:58:30'::timestamp) - extract(epoch from '2026-05-28 08:58:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577445 -3.38772)', '2026-05-28 08:58:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577447 -3.387828)'), GeomFromEWKT('SRID=4674;POINT (-38.577445 -3.38772)'))) / (select extract(epoch from '2026-05-28 08:58:35'::timestamp) - extract(epoch from '2026-05-28 08:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577447 -3.387828)'), GeomFromEWKT('SRID=4674;POINT (-38.577445 -3.38772)'))) / (select extract(epoch from '2026-05-28 08:58:35'::timestamp) - extract(epoch from '2026-05-28 08:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577458 -3.387566)', '2026-05-28 08:58:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577445 -3.38772)'), GeomFromEWKT('SRID=4674;POINT (-38.577458 -3.387566)'))) / (select extract(epoch from '2026-05-28 08:58:42'::timestamp) - extract(epoch from '2026-05-28 08:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577445 -3.38772)'), GeomFromEWKT('SRID=4674;POINT (-38.577458 -3.387566)'))) / (select extract(epoch from '2026-05-28 08:58:42'::timestamp) - extract(epoch from '2026-05-28 08: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'), 46535, 'SRID=4674;POINT (-38.577467 -3.387407)', '2026-05-28 08:58:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577458 -3.387566)'), GeomFromEWKT('SRID=4674;POINT (-38.577467 -3.387407)'))) / (select extract(epoch from '2026-05-28 08:58:49'::timestamp) - extract(epoch from '2026-05-28 08:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577458 -3.387566)'), GeomFromEWKT('SRID=4674;POINT (-38.577467 -3.387407)'))) / (select extract(epoch from '2026-05-28 08:58:49'::timestamp) - extract(epoch from '2026-05-28 08:58:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577479 -3.387288)', '2026-05-28 08:58:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577467 -3.387407)'), GeomFromEWKT('SRID=4674;POINT (-38.577479 -3.387288)'))) / (select extract(epoch from '2026-05-28 08:58:54'::timestamp) - extract(epoch from '2026-05-28 08:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577467 -3.387407)'), GeomFromEWKT('SRID=4674;POINT (-38.577479 -3.387288)'))) / (select extract(epoch from '2026-05-28 08:58:54'::timestamp) - extract(epoch from '2026-05-28 08:58:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577485 -3.387176)', '2026-05-28 08:58:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577479 -3.387288)'), GeomFromEWKT('SRID=4674;POINT (-38.577485 -3.387176)'))) / (select extract(epoch from '2026-05-28 08:58:59'::timestamp) - extract(epoch from '2026-05-28 08:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577479 -3.387288)'), GeomFromEWKT('SRID=4674;POINT (-38.577485 -3.387176)'))) / (select extract(epoch from '2026-05-28 08:58:59'::timestamp) - extract(epoch from '2026-05-28 08:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577479 -3.387049)', '2026-05-28 08:59:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577485 -3.387176)'), GeomFromEWKT('SRID=4674;POINT (-38.577479 -3.387049)'))) / (select extract(epoch from '2026-05-28 08:59:05'::timestamp) - extract(epoch from '2026-05-28 08:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577485 -3.387176)'), GeomFromEWKT('SRID=4674;POINT (-38.577479 -3.387049)'))) / (select extract(epoch from '2026-05-28 08:59:05'::timestamp) - extract(epoch from '2026-05-28 08:58:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577469 -3.386925)', '2026-05-28 08:59:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577479 -3.387049)'), GeomFromEWKT('SRID=4674;POINT (-38.577469 -3.386925)'))) / (select extract(epoch from '2026-05-28 08:59:11'::timestamp) - extract(epoch from '2026-05-28 08:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577479 -3.387049)'), GeomFromEWKT('SRID=4674;POINT (-38.577469 -3.386925)'))) / (select extract(epoch from '2026-05-28 08:59:11'::timestamp) - extract(epoch from '2026-05-28 08:59:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577463 -3.38683)', '2026-05-28 08:59:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577469 -3.386925)'), GeomFromEWKT('SRID=4674;POINT (-38.577463 -3.38683)'))) / (select extract(epoch from '2026-05-28 08:59:16'::timestamp) - extract(epoch from '2026-05-28 08:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577469 -3.386925)'), GeomFromEWKT('SRID=4674;POINT (-38.577463 -3.38683)'))) / (select extract(epoch from '2026-05-28 08:59:16'::timestamp) - extract(epoch from '2026-05-28 08:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577464 -3.386731)', '2026-05-28 08:59:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577463 -3.38683)'), GeomFromEWKT('SRID=4674;POINT (-38.577464 -3.386731)'))) / (select extract(epoch from '2026-05-28 08:59:21'::timestamp) - extract(epoch from '2026-05-28 08:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577463 -3.38683)'), GeomFromEWKT('SRID=4674;POINT (-38.577464 -3.386731)'))) / (select extract(epoch from '2026-05-28 08:59:21'::timestamp) - extract(epoch from '2026-05-28 08:59:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577468 -3.386605)', '2026-05-28 08:59:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577464 -3.386731)'), GeomFromEWKT('SRID=4674;POINT (-38.577468 -3.386605)'))) / (select extract(epoch from '2026-05-28 08:59:27'::timestamp) - extract(epoch from '2026-05-28 08:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577464 -3.386731)'), GeomFromEWKT('SRID=4674;POINT (-38.577468 -3.386605)'))) / (select extract(epoch from '2026-05-28 08:59:27'::timestamp) - extract(epoch from '2026-05-28 08:59:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57747 -3.386475)', '2026-05-28 08:59:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577468 -3.386605)'), GeomFromEWKT('SRID=4674;POINT (-38.57747 -3.386475)'))) / (select extract(epoch from '2026-05-28 08:59:33'::timestamp) - extract(epoch from '2026-05-28 08:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577468 -3.386605)'), GeomFromEWKT('SRID=4674;POINT (-38.57747 -3.386475)'))) / (select extract(epoch from '2026-05-28 08:59:33'::timestamp) - extract(epoch from '2026-05-28 08:59:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577472 -3.386364)', '2026-05-28 08:59:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57747 -3.386475)'), GeomFromEWKT('SRID=4674;POINT (-38.577472 -3.386364)'))) / (select extract(epoch from '2026-05-28 08:59:38'::timestamp) - extract(epoch from '2026-05-28 08:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57747 -3.386475)'), GeomFromEWKT('SRID=4674;POINT (-38.577472 -3.386364)'))) / (select extract(epoch from '2026-05-28 08:59:38'::timestamp) - extract(epoch from '2026-05-28 08:59:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577471 -3.386258)', '2026-05-28 08:59:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577472 -3.386364)'), GeomFromEWKT('SRID=4674;POINT (-38.577471 -3.386258)'))) / (select extract(epoch from '2026-05-28 08:59:43'::timestamp) - extract(epoch from '2026-05-28 08:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577472 -3.386364)'), GeomFromEWKT('SRID=4674;POINT (-38.577471 -3.386258)'))) / (select extract(epoch from '2026-05-28 08:59:43'::timestamp) - extract(epoch from '2026-05-28 08:59:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577466 -3.38615)', '2026-05-28 08:59:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577471 -3.386258)'), GeomFromEWKT('SRID=4674;POINT (-38.577466 -3.38615)'))) / (select extract(epoch from '2026-05-28 08:59:48'::timestamp) - extract(epoch from '2026-05-28 08:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577471 -3.386258)'), GeomFromEWKT('SRID=4674;POINT (-38.577466 -3.38615)'))) / (select extract(epoch from '2026-05-28 08:59:48'::timestamp) - extract(epoch from '2026-05-28 08:59:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577466 -3.386052)', '2026-05-28 08:59:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577466 -3.38615)'), GeomFromEWKT('SRID=4674;POINT (-38.577466 -3.386052)'))) / (select extract(epoch from '2026-05-28 08:59:53'::timestamp) - extract(epoch from '2026-05-28 08:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577466 -3.38615)'), GeomFromEWKT('SRID=4674;POINT (-38.577466 -3.386052)'))) / (select extract(epoch from '2026-05-28 08:59:53'::timestamp) - extract(epoch from '2026-05-28 08:59:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577472 -3.385935)', '2026-05-28 08:59:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577466 -3.386052)'), GeomFromEWKT('SRID=4674;POINT (-38.577472 -3.385935)'))) / (select extract(epoch from '2026-05-28 08:59:59'::timestamp) - extract(epoch from '2026-05-28 08:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577466 -3.386052)'), GeomFromEWKT('SRID=4674;POINT (-38.577472 -3.385935)'))) / (select extract(epoch from '2026-05-28 08:59:59'::timestamp) - extract(epoch from '2026-05-28 08:59:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577464 -3.38582)', '2026-05-28 09:00:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577472 -3.385935)'), GeomFromEWKT('SRID=4674;POINT (-38.577464 -3.38582)'))) / (select extract(epoch from '2026-05-28 09:00:05'::timestamp) - extract(epoch from '2026-05-28 08:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577472 -3.385935)'), GeomFromEWKT('SRID=4674;POINT (-38.577464 -3.38582)'))) / (select extract(epoch from '2026-05-28 09:00:05'::timestamp) - extract(epoch from '2026-05-28 08:59:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577448 -3.385682)', '2026-05-28 09:00:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577464 -3.38582)'), GeomFromEWKT('SRID=4674;POINT (-38.577448 -3.385682)'))) / (select extract(epoch from '2026-05-28 09:00:12'::timestamp) - extract(epoch from '2026-05-28 09:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577464 -3.38582)'), GeomFromEWKT('SRID=4674;POINT (-38.577448 -3.385682)'))) / (select extract(epoch from '2026-05-28 09:00:12'::timestamp) - extract(epoch from '2026-05-28 09:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577415 -3.385515)', '2026-05-28 09:00:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577448 -3.385682)'), GeomFromEWKT('SRID=4674;POINT (-38.577415 -3.385515)'))) / (select extract(epoch from '2026-05-28 09:00:20'::timestamp) - extract(epoch from '2026-05-28 09:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577448 -3.385682)'), GeomFromEWKT('SRID=4674;POINT (-38.577415 -3.385515)'))) / (select extract(epoch from '2026-05-28 09:00:20'::timestamp) - extract(epoch from '2026-05-28 09:00:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577394 -3.385375)', '2026-05-28 09:00:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577415 -3.385515)'), GeomFromEWKT('SRID=4674;POINT (-38.577394 -3.385375)'))) / (select extract(epoch from '2026-05-28 09:00:26'::timestamp) - extract(epoch from '2026-05-28 09:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577415 -3.385515)'), GeomFromEWKT('SRID=4674;POINT (-38.577394 -3.385375)'))) / (select extract(epoch from '2026-05-28 09:00:26'::timestamp) - extract(epoch from '2026-05-28 09:00:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577385 -3.385249)', '2026-05-28 09:00:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577394 -3.385375)'), GeomFromEWKT('SRID=4674;POINT (-38.577385 -3.385249)'))) / (select extract(epoch from '2026-05-28 09:00:32'::timestamp) - extract(epoch from '2026-05-28 09:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577394 -3.385375)'), GeomFromEWKT('SRID=4674;POINT (-38.577385 -3.385249)'))) / (select extract(epoch from '2026-05-28 09:00:32'::timestamp) - extract(epoch from '2026-05-28 09:00:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577382 -3.385104)', '2026-05-28 09:00:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577385 -3.385249)'), GeomFromEWKT('SRID=4674;POINT (-38.577382 -3.385104)'))) / (select extract(epoch from '2026-05-28 09:00:39'::timestamp) - extract(epoch from '2026-05-28 09:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577385 -3.385249)'), GeomFromEWKT('SRID=4674;POINT (-38.577382 -3.385104)'))) / (select extract(epoch from '2026-05-28 09:00:39'::timestamp) - extract(epoch from '2026-05-28 09:00:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577375 -3.38495)', '2026-05-28 09:00:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577382 -3.385104)'), GeomFromEWKT('SRID=4674;POINT (-38.577375 -3.38495)'))) / (select extract(epoch from '2026-05-28 09:00:46'::timestamp) - extract(epoch from '2026-05-28 09:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577382 -3.385104)'), GeomFromEWKT('SRID=4674;POINT (-38.577375 -3.38495)'))) / (select extract(epoch from '2026-05-28 09:00:46'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.577365 -3.38482)', '2026-05-28 09:00:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577375 -3.38495)'), GeomFromEWKT('SRID=4674;POINT (-38.577365 -3.38482)'))) / (select extract(epoch from '2026-05-28 09:00:52'::timestamp) - extract(epoch from '2026-05-28 09:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577375 -3.38495)'), GeomFromEWKT('SRID=4674;POINT (-38.577365 -3.38482)'))) / (select extract(epoch from '2026-05-28 09:00:52'::timestamp) - extract(epoch from '2026-05-28 09:00:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577347 -3.384711)', '2026-05-28 09:00:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577365 -3.38482)'), GeomFromEWKT('SRID=4674;POINT (-38.577347 -3.384711)'))) / (select extract(epoch from '2026-05-28 09:00:57'::timestamp) - extract(epoch from '2026-05-28 09:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577365 -3.38482)'), GeomFromEWKT('SRID=4674;POINT (-38.577347 -3.384711)'))) / (select extract(epoch from '2026-05-28 09:00:57'::timestamp) - extract(epoch from '2026-05-28 09:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577322 -3.384611)', '2026-05-28 09:01:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577347 -3.384711)'), GeomFromEWKT('SRID=4674;POINT (-38.577322 -3.384611)'))) / (select extract(epoch from '2026-05-28 09:01:02'::timestamp) - extract(epoch from '2026-05-28 09:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577347 -3.384711)'), GeomFromEWKT('SRID=4674;POINT (-38.577322 -3.384611)'))) / (select extract(epoch from '2026-05-28 09:01:02'::timestamp) - extract(epoch from '2026-05-28 09:00:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577281 -3.384449)', '2026-05-28 09:01:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577322 -3.384611)'), GeomFromEWKT('SRID=4674;POINT (-38.577281 -3.384449)'))) / (select extract(epoch from '2026-05-28 09:01:10'::timestamp) - extract(epoch from '2026-05-28 09:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577322 -3.384611)'), GeomFromEWKT('SRID=4674;POINT (-38.577281 -3.384449)'))) / (select extract(epoch from '2026-05-28 09:01:10'::timestamp) - extract(epoch from '2026-05-28 09:01:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577266 -3.384326)', '2026-05-28 09:01:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577281 -3.384449)'), GeomFromEWKT('SRID=4674;POINT (-38.577266 -3.384326)'))) / (select extract(epoch from '2026-05-28 09:01:16'::timestamp) - extract(epoch from '2026-05-28 09:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577281 -3.384449)'), GeomFromEWKT('SRID=4674;POINT (-38.577266 -3.384326)'))) / (select extract(epoch from '2026-05-28 09:01:16'::timestamp) - extract(epoch from '2026-05-28 09:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577252 -3.384203)', '2026-05-28 09:01:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577266 -3.384326)'), GeomFromEWKT('SRID=4674;POINT (-38.577252 -3.384203)'))) / (select extract(epoch from '2026-05-28 09:01:22'::timestamp) - extract(epoch from '2026-05-28 09:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577266 -3.384326)'), GeomFromEWKT('SRID=4674;POINT (-38.577252 -3.384203)'))) / (select extract(epoch from '2026-05-28 09:01:22'::timestamp) - extract(epoch from '2026-05-28 09:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577239 -3.384085)', '2026-05-28 09:01:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577252 -3.384203)'), GeomFromEWKT('SRID=4674;POINT (-38.577239 -3.384085)'))) / (select extract(epoch from '2026-05-28 09:01:28'::timestamp) - extract(epoch from '2026-05-28 09:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577252 -3.384203)'), GeomFromEWKT('SRID=4674;POINT (-38.577239 -3.384085)'))) / (select extract(epoch from '2026-05-28 09:01:28'::timestamp) - extract(epoch from '2026-05-28 09:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577222 -3.383932)', '2026-05-28 09:01:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577239 -3.384085)'), GeomFromEWKT('SRID=4674;POINT (-38.577222 -3.383932)'))) / (select extract(epoch from '2026-05-28 09:01:35'::timestamp) - extract(epoch from '2026-05-28 09:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577239 -3.384085)'), GeomFromEWKT('SRID=4674;POINT (-38.577222 -3.383932)'))) / (select extract(epoch from '2026-05-28 09:01:35'::timestamp) - extract(epoch from '2026-05-28 09:01:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577209 -3.38381)', '2026-05-28 09:01:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577222 -3.383932)'), GeomFromEWKT('SRID=4674;POINT (-38.577209 -3.38381)'))) / (select extract(epoch from '2026-05-28 09:01:41'::timestamp) - extract(epoch from '2026-05-28 09:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577222 -3.383932)'), GeomFromEWKT('SRID=4674;POINT (-38.577209 -3.38381)'))) / (select extract(epoch from '2026-05-28 09:01:41'::timestamp) - extract(epoch from '2026-05-28 09:01:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577197 -3.383685)', '2026-05-28 09:01:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577209 -3.38381)'), GeomFromEWKT('SRID=4674;POINT (-38.577197 -3.383685)'))) / (select extract(epoch from '2026-05-28 09:01:47'::timestamp) - extract(epoch from '2026-05-28 09:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577209 -3.38381)'), GeomFromEWKT('SRID=4674;POINT (-38.577197 -3.383685)'))) / (select extract(epoch from '2026-05-28 09:01:47'::timestamp) - extract(epoch from '2026-05-28 09:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577182 -3.383578)', '2026-05-28 09:01:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577197 -3.383685)'), GeomFromEWKT('SRID=4674;POINT (-38.577182 -3.383578)'))) / (select extract(epoch from '2026-05-28 09:01:52'::timestamp) - extract(epoch from '2026-05-28 09:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577197 -3.383685)'), GeomFromEWKT('SRID=4674;POINT (-38.577182 -3.383578)'))) / (select extract(epoch from '2026-05-28 09:01:52'::timestamp) - extract(epoch from '2026-05-28 09:01:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577169 -3.383513)', '2026-05-28 09:01:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577182 -3.383578)'), GeomFromEWKT('SRID=4674;POINT (-38.577169 -3.383513)'))) / (select extract(epoch from '2026-05-28 09:01:55'::timestamp) - extract(epoch from '2026-05-28 09:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577182 -3.383578)'), GeomFromEWKT('SRID=4674;POINT (-38.577169 -3.383513)'))) / (select extract(epoch from '2026-05-28 09:01:55'::timestamp) - extract(epoch from '2026-05-28 09:01:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577171 -3.383495)', '2026-05-28 09:01:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577169 -3.383513)'), GeomFromEWKT('SRID=4674;POINT (-38.577171 -3.383495)'))) / (select extract(epoch from '2026-05-28 09:01:56'::timestamp) - extract(epoch from '2026-05-28 09:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577169 -3.383513)'), GeomFromEWKT('SRID=4674;POINT (-38.577171 -3.383495)'))) / (select extract(epoch from '2026-05-28 09:01:56'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.577163 -3.383403)', '2026-05-28 09:02:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577171 -3.383495)'), GeomFromEWKT('SRID=4674;POINT (-38.577163 -3.383403)'))) / (select extract(epoch from '2026-05-28 09:02:00'::timestamp) - extract(epoch from '2026-05-28 09:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577171 -3.383495)'), GeomFromEWKT('SRID=4674;POINT (-38.577163 -3.383403)'))) / (select extract(epoch from '2026-05-28 09:02:00'::timestamp) - extract(epoch from '2026-05-28 09:01:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577158 -3.383291)', '2026-05-28 09:02:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577163 -3.383403)'), GeomFromEWKT('SRID=4674;POINT (-38.577158 -3.383291)'))) / (select extract(epoch from '2026-05-28 09:02:05'::timestamp) - extract(epoch from '2026-05-28 09:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577163 -3.383403)'), GeomFromEWKT('SRID=4674;POINT (-38.577158 -3.383291)'))) / (select extract(epoch from '2026-05-28 09:02:05'::timestamp) - extract(epoch from '2026-05-28 09:02:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577147 -3.383163)', '2026-05-28 09:02:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577158 -3.383291)'), GeomFromEWKT('SRID=4674;POINT (-38.577147 -3.383163)'))) / (select extract(epoch from '2026-05-28 09:02:11'::timestamp) - extract(epoch from '2026-05-28 09:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577158 -3.383291)'), GeomFromEWKT('SRID=4674;POINT (-38.577147 -3.383163)'))) / (select extract(epoch from '2026-05-28 09:02:11'::timestamp) - extract(epoch from '2026-05-28 09:02:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577147 -3.383034)', '2026-05-28 09:02:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577147 -3.383163)'), GeomFromEWKT('SRID=4674;POINT (-38.577147 -3.383034)'))) / (select extract(epoch from '2026-05-28 09:02:17'::timestamp) - extract(epoch from '2026-05-28 09:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577147 -3.383163)'), GeomFromEWKT('SRID=4674;POINT (-38.577147 -3.383034)'))) / (select extract(epoch from '2026-05-28 09:02:17'::timestamp) - extract(epoch from '2026-05-28 09:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577146 -3.382902)', '2026-05-28 09:02:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577147 -3.383034)'), GeomFromEWKT('SRID=4674;POINT (-38.577146 -3.382902)'))) / (select extract(epoch from '2026-05-28 09:02:23'::timestamp) - extract(epoch from '2026-05-28 09:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577147 -3.383034)'), GeomFromEWKT('SRID=4674;POINT (-38.577146 -3.382902)'))) / (select extract(epoch from '2026-05-28 09:02:23'::timestamp) - extract(epoch from '2026-05-28 09:02:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577132 -3.382746)', '2026-05-28 09:02:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577146 -3.382902)'), GeomFromEWKT('SRID=4674;POINT (-38.577132 -3.382746)'))) / (select extract(epoch from '2026-05-28 09:02:30'::timestamp) - extract(epoch from '2026-05-28 09:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577146 -3.382902)'), GeomFromEWKT('SRID=4674;POINT (-38.577132 -3.382746)'))) / (select extract(epoch from '2026-05-28 09:02:30'::timestamp) - extract(epoch from '2026-05-28 09:02:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577119 -3.382668)', '2026-05-28 09:02:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577132 -3.382746)'), GeomFromEWKT('SRID=4674;POINT (-38.577119 -3.382668)'))) / (select extract(epoch from '2026-05-28 09:02:34'::timestamp) - extract(epoch from '2026-05-28 09:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577132 -3.382746)'), GeomFromEWKT('SRID=4674;POINT (-38.577119 -3.382668)'))) / (select extract(epoch from '2026-05-28 09:02:34'::timestamp) - extract(epoch from '2026-05-28 09:02:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57712 -3.382543)', '2026-05-28 09:02:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577119 -3.382668)'), GeomFromEWKT('SRID=4674;POINT (-38.57712 -3.382543)'))) / (select extract(epoch from '2026-05-28 09:02:40'::timestamp) - extract(epoch from '2026-05-28 09:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577119 -3.382668)'), GeomFromEWKT('SRID=4674;POINT (-38.57712 -3.382543)'))) / (select extract(epoch from '2026-05-28 09:02:40'::timestamp) - extract(epoch from '2026-05-28 09:02:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577129 -3.38242)', '2026-05-28 09:02:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57712 -3.382543)'), GeomFromEWKT('SRID=4674;POINT (-38.577129 -3.38242)'))) / (select extract(epoch from '2026-05-28 09:02:46'::timestamp) - extract(epoch from '2026-05-28 09:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57712 -3.382543)'), GeomFromEWKT('SRID=4674;POINT (-38.577129 -3.38242)'))) / (select extract(epoch from '2026-05-28 09:02:46'::timestamp) - extract(epoch from '2026-05-28 09:02:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577139 -3.3823)', '2026-05-28 09:02:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577129 -3.38242)'), GeomFromEWKT('SRID=4674;POINT (-38.577139 -3.3823)'))) / (select extract(epoch from '2026-05-28 09:02:52'::timestamp) - extract(epoch from '2026-05-28 09:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577129 -3.38242)'), GeomFromEWKT('SRID=4674;POINT (-38.577139 -3.3823)'))) / (select extract(epoch from '2026-05-28 09:02:52'::timestamp) - extract(epoch from '2026-05-28 09:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577135 -3.382141)', '2026-05-28 09:03:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577139 -3.3823)'), GeomFromEWKT('SRID=4674;POINT (-38.577135 -3.382141)'))) / (select extract(epoch from '2026-05-28 09:03:00'::timestamp) - extract(epoch from '2026-05-28 09:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577139 -3.3823)'), GeomFromEWKT('SRID=4674;POINT (-38.577135 -3.382141)'))) / (select extract(epoch from '2026-05-28 09:03:00'::timestamp) - extract(epoch from '2026-05-28 09:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577121 -3.381974)', '2026-05-28 09:03:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577135 -3.382141)'), GeomFromEWKT('SRID=4674;POINT (-38.577121 -3.381974)'))) / (select extract(epoch from '2026-05-28 09:03:08'::timestamp) - extract(epoch from '2026-05-28 09:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577135 -3.382141)'), GeomFromEWKT('SRID=4674;POINT (-38.577121 -3.381974)'))) / (select extract(epoch from '2026-05-28 09:03:08'::timestamp) - extract(epoch from '2026-05-28 09:03:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577118 -3.381872)', '2026-05-28 09:03:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577121 -3.381974)'), GeomFromEWKT('SRID=4674;POINT (-38.577118 -3.381872)'))) / (select extract(epoch from '2026-05-28 09:03:13'::timestamp) - extract(epoch from '2026-05-28 09:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577121 -3.381974)'), GeomFromEWKT('SRID=4674;POINT (-38.577118 -3.381872)'))) / (select extract(epoch from '2026-05-28 09:03:13'::timestamp) - extract(epoch from '2026-05-28 09:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57712 -3.38176)', '2026-05-28 09:03:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577118 -3.381872)'), GeomFromEWKT('SRID=4674;POINT (-38.57712 -3.38176)'))) / (select extract(epoch from '2026-05-28 09:03:18'::timestamp) - extract(epoch from '2026-05-28 09:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577118 -3.381872)'), GeomFromEWKT('SRID=4674;POINT (-38.57712 -3.38176)'))) / (select extract(epoch from '2026-05-28 09:03:18'::timestamp) - extract(epoch from '2026-05-28 09:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577108 -3.381632)', '2026-05-28 09:03:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57712 -3.38176)'), GeomFromEWKT('SRID=4674;POINT (-38.577108 -3.381632)'))) / (select extract(epoch from '2026-05-28 09:03:24'::timestamp) - extract(epoch from '2026-05-28 09:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57712 -3.38176)'), GeomFromEWKT('SRID=4674;POINT (-38.577108 -3.381632)'))) / (select extract(epoch from '2026-05-28 09:03:24'::timestamp) - extract(epoch from '2026-05-28 09:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577097 -3.38153)', '2026-05-28 09:03:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577108 -3.381632)'), GeomFromEWKT('SRID=4674;POINT (-38.577097 -3.38153)'))) / (select extract(epoch from '2026-05-28 09:03:29'::timestamp) - extract(epoch from '2026-05-28 09:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577108 -3.381632)'), GeomFromEWKT('SRID=4674;POINT (-38.577097 -3.38153)'))) / (select extract(epoch from '2026-05-28 09:03:29'::timestamp) - extract(epoch from '2026-05-28 09:03:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57708 -3.381398)', '2026-05-28 09:03:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577097 -3.38153)'), GeomFromEWKT('SRID=4674;POINT (-38.57708 -3.381398)'))) / (select extract(epoch from '2026-05-28 09:03:35'::timestamp) - extract(epoch from '2026-05-28 09:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577097 -3.38153)'), GeomFromEWKT('SRID=4674;POINT (-38.57708 -3.381398)'))) / (select extract(epoch from '2026-05-28 09:03:35'::timestamp) - extract(epoch from '2026-05-28 09:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577067 -3.381261)', '2026-05-28 09:03:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57708 -3.381398)'), GeomFromEWKT('SRID=4674;POINT (-38.577067 -3.381261)'))) / (select extract(epoch from '2026-05-28 09:03:41'::timestamp) - extract(epoch from '2026-05-28 09:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57708 -3.381398)'), GeomFromEWKT('SRID=4674;POINT (-38.577067 -3.381261)'))) / (select extract(epoch from '2026-05-28 09:03:41'::timestamp) - extract(epoch from '2026-05-28 09:03:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577065 -3.381149)', '2026-05-28 09:03:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577067 -3.381261)'), GeomFromEWKT('SRID=4674;POINT (-38.577065 -3.381149)'))) / (select extract(epoch from '2026-05-28 09:03:46'::timestamp) - extract(epoch from '2026-05-28 09:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577067 -3.381261)'), GeomFromEWKT('SRID=4674;POINT (-38.577065 -3.381149)'))) / (select extract(epoch from '2026-05-28 09:03:46'::timestamp) - extract(epoch from '2026-05-28 09:03:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577055 -3.381039)', '2026-05-28 09:03:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577065 -3.381149)'), GeomFromEWKT('SRID=4674;POINT (-38.577055 -3.381039)'))) / (select extract(epoch from '2026-05-28 09:03:51'::timestamp) - extract(epoch from '2026-05-28 09:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577065 -3.381149)'), GeomFromEWKT('SRID=4674;POINT (-38.577055 -3.381039)'))) / (select extract(epoch from '2026-05-28 09:03:51'::timestamp) - extract(epoch from '2026-05-28 09:03:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577048 -3.380926)', '2026-05-28 09:03:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577055 -3.381039)'), GeomFromEWKT('SRID=4674;POINT (-38.577048 -3.380926)'))) / (select extract(epoch from '2026-05-28 09:03:56'::timestamp) - extract(epoch from '2026-05-28 09:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577055 -3.381039)'), GeomFromEWKT('SRID=4674;POINT (-38.577048 -3.380926)'))) / (select extract(epoch from '2026-05-28 09:03:56'::timestamp) - extract(epoch from '2026-05-28 09:03:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577045 -3.380788)', '2026-05-28 09:04:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577048 -3.380926)'), GeomFromEWKT('SRID=4674;POINT (-38.577045 -3.380788)'))) / (select extract(epoch from '2026-05-28 09:04:02'::timestamp) - extract(epoch from '2026-05-28 09:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577048 -3.380926)'), GeomFromEWKT('SRID=4674;POINT (-38.577045 -3.380788)'))) / (select extract(epoch from '2026-05-28 09:04:02'::timestamp) - extract(epoch from '2026-05-28 09:03:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57704 -3.380681)', '2026-05-28 09:04:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577045 -3.380788)'), GeomFromEWKT('SRID=4674;POINT (-38.57704 -3.380681)'))) / (select extract(epoch from '2026-05-28 09:04:07'::timestamp) - extract(epoch from '2026-05-28 09:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577045 -3.380788)'), GeomFromEWKT('SRID=4674;POINT (-38.57704 -3.380681)'))) / (select extract(epoch from '2026-05-28 09:04:07'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.577034 -3.380594)', '2026-05-28 09:04:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57704 -3.380681)'), GeomFromEWKT('SRID=4674;POINT (-38.577034 -3.380594)'))) / (select extract(epoch from '2026-05-28 09:04:11'::timestamp) - extract(epoch from '2026-05-28 09:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57704 -3.380681)'), GeomFromEWKT('SRID=4674;POINT (-38.577034 -3.380594)'))) / (select extract(epoch from '2026-05-28 09:04:11'::timestamp) - extract(epoch from '2026-05-28 09:04:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577041 -3.380576)', '2026-05-28 09:04:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577034 -3.380594)'), GeomFromEWKT('SRID=4674;POINT (-38.577041 -3.380576)'))) / (select extract(epoch from '2026-05-28 09:04:12'::timestamp) - extract(epoch from '2026-05-28 09:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577034 -3.380594)'), GeomFromEWKT('SRID=4674;POINT (-38.577041 -3.380576)'))) / (select extract(epoch from '2026-05-28 09:04:12'::timestamp) - extract(epoch from '2026-05-28 09:04:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577049 -3.380469)', '2026-05-28 09:04:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577041 -3.380576)'), GeomFromEWKT('SRID=4674;POINT (-38.577049 -3.380469)'))) / (select extract(epoch from '2026-05-28 09:04:17'::timestamp) - extract(epoch from '2026-05-28 09:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577041 -3.380576)'), GeomFromEWKT('SRID=4674;POINT (-38.577049 -3.380469)'))) / (select extract(epoch from '2026-05-28 09:04:17'::timestamp) - extract(epoch from '2026-05-28 09:04:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577057 -3.380329)', '2026-05-28 09:04:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577049 -3.380469)'), GeomFromEWKT('SRID=4674;POINT (-38.577057 -3.380329)'))) / (select extract(epoch from '2026-05-28 09:04:24'::timestamp) - extract(epoch from '2026-05-28 09:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577049 -3.380469)'), GeomFromEWKT('SRID=4674;POINT (-38.577057 -3.380329)'))) / (select extract(epoch from '2026-05-28 09:04:24'::timestamp) - extract(epoch from '2026-05-28 09:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577052 -3.380205)', '2026-05-28 09:04:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577057 -3.380329)'), GeomFromEWKT('SRID=4674;POINT (-38.577052 -3.380205)'))) / (select extract(epoch from '2026-05-28 09:04:30'::timestamp) - extract(epoch from '2026-05-28 09:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577057 -3.380329)'), GeomFromEWKT('SRID=4674;POINT (-38.577052 -3.380205)'))) / (select extract(epoch from '2026-05-28 09:04:30'::timestamp) - extract(epoch from '2026-05-28 09:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577032 -3.380084)', '2026-05-28 09:04:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577052 -3.380205)'), GeomFromEWKT('SRID=4674;POINT (-38.577032 -3.380084)'))) / (select extract(epoch from '2026-05-28 09:04:36'::timestamp) - extract(epoch from '2026-05-28 09:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577052 -3.380205)'), GeomFromEWKT('SRID=4674;POINT (-38.577032 -3.380084)'))) / (select extract(epoch from '2026-05-28 09:04:36'::timestamp) - extract(epoch from '2026-05-28 09:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577019 -3.379989)', '2026-05-28 09:04:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577032 -3.380084)'), GeomFromEWKT('SRID=4674;POINT (-38.577019 -3.379989)'))) / (select extract(epoch from '2026-05-28 09:04:40'::timestamp) - extract(epoch from '2026-05-28 09:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577032 -3.380084)'), GeomFromEWKT('SRID=4674;POINT (-38.577019 -3.379989)'))) / (select extract(epoch from '2026-05-28 09:04:40'::timestamp) - extract(epoch from '2026-05-28 09:04:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577017 -3.379968)', '2026-05-28 09:04:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577019 -3.379989)'), GeomFromEWKT('SRID=4674;POINT (-38.577017 -3.379968)'))) / (select extract(epoch from '2026-05-28 09:04:41'::timestamp) - extract(epoch from '2026-05-28 09:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577019 -3.379989)'), GeomFromEWKT('SRID=4674;POINT (-38.577017 -3.379968)'))) / (select extract(epoch from '2026-05-28 09:04:41'::timestamp) - extract(epoch from '2026-05-28 09:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577005 -3.3799)', '2026-05-28 09:04:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577017 -3.379968)'), GeomFromEWKT('SRID=4674;POINT (-38.577005 -3.3799)'))) / (select extract(epoch from '2026-05-28 09:04:44'::timestamp) - extract(epoch from '2026-05-28 09:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577017 -3.379968)'), GeomFromEWKT('SRID=4674;POINT (-38.577005 -3.3799)'))) / (select extract(epoch from '2026-05-28 09:04:44'::timestamp) - extract(epoch from '2026-05-28 09:04:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57699 -3.37981)', '2026-05-28 09:04:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577005 -3.3799)'), GeomFromEWKT('SRID=4674;POINT (-38.57699 -3.37981)'))) / (select extract(epoch from '2026-05-28 09:04:48'::timestamp) - extract(epoch from '2026-05-28 09:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577005 -3.3799)'), GeomFromEWKT('SRID=4674;POINT (-38.57699 -3.37981)'))) / (select extract(epoch from '2026-05-28 09:04:48'::timestamp) - extract(epoch from '2026-05-28 09:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576972 -3.379702)', '2026-05-28 09:04:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57699 -3.37981)'), GeomFromEWKT('SRID=4674;POINT (-38.576972 -3.379702)'))) / (select extract(epoch from '2026-05-28 09:04:53'::timestamp) - extract(epoch from '2026-05-28 09:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57699 -3.37981)'), GeomFromEWKT('SRID=4674;POINT (-38.576972 -3.379702)'))) / (select extract(epoch from '2026-05-28 09:04:53'::timestamp) - extract(epoch from '2026-05-28 09:04:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576969 -3.37959)', '2026-05-28 09:04:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576972 -3.379702)'), GeomFromEWKT('SRID=4674;POINT (-38.576969 -3.37959)'))) / (select extract(epoch from '2026-05-28 09:04:58'::timestamp) - extract(epoch from '2026-05-28 09:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576972 -3.379702)'), GeomFromEWKT('SRID=4674;POINT (-38.576969 -3.37959)'))) / (select extract(epoch from '2026-05-28 09:04:58'::timestamp) - extract(epoch from '2026-05-28 09:04:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576971 -3.379461)', '2026-05-28 09:05:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576969 -3.37959)'), GeomFromEWKT('SRID=4674;POINT (-38.576971 -3.379461)'))) / (select extract(epoch from '2026-05-28 09:05:04'::timestamp) - extract(epoch from '2026-05-28 09:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576969 -3.37959)'), GeomFromEWKT('SRID=4674;POINT (-38.576971 -3.379461)'))) / (select extract(epoch from '2026-05-28 09:05:04'::timestamp) - extract(epoch from '2026-05-28 09:04:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576965 -3.379353)', '2026-05-28 09:05:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576971 -3.379461)'), GeomFromEWKT('SRID=4674;POINT (-38.576965 -3.379353)'))) / (select extract(epoch from '2026-05-28 09:05:09'::timestamp) - extract(epoch from '2026-05-28 09:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576971 -3.379461)'), GeomFromEWKT('SRID=4674;POINT (-38.576965 -3.379353)'))) / (select extract(epoch from '2026-05-28 09:05:09'::timestamp) - extract(epoch from '2026-05-28 09:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576958 -3.379263)', '2026-05-28 09:05:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576965 -3.379353)'), GeomFromEWKT('SRID=4674;POINT (-38.576958 -3.379263)'))) / (select extract(epoch from '2026-05-28 09:05:13'::timestamp) - extract(epoch from '2026-05-28 09:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576965 -3.379353)'), GeomFromEWKT('SRID=4674;POINT (-38.576958 -3.379263)'))) / (select extract(epoch from '2026-05-28 09:05:13'::timestamp) - extract(epoch from '2026-05-28 09:05:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576964 -3.37924)', '2026-05-28 09:05:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576958 -3.379263)'), GeomFromEWKT('SRID=4674;POINT (-38.576964 -3.37924)'))) / (select extract(epoch from '2026-05-28 09:05:14'::timestamp) - extract(epoch from '2026-05-28 09:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576958 -3.379263)'), GeomFromEWKT('SRID=4674;POINT (-38.576964 -3.37924)'))) / (select extract(epoch from '2026-05-28 09:05:14'::timestamp) - extract(epoch from '2026-05-28 09:05:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576967 -3.379131)', '2026-05-28 09:05:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576964 -3.37924)'), GeomFromEWKT('SRID=4674;POINT (-38.576967 -3.379131)'))) / (select extract(epoch from '2026-05-28 09:05:19'::timestamp) - extract(epoch from '2026-05-28 09:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576964 -3.37924)'), GeomFromEWKT('SRID=4674;POINT (-38.576967 -3.379131)'))) / (select extract(epoch from '2026-05-28 09:05:19'::timestamp) - extract(epoch from '2026-05-28 09:05:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576963 -3.37902)', '2026-05-28 09:05:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576967 -3.379131)'), GeomFromEWKT('SRID=4674;POINT (-38.576963 -3.37902)'))) / (select extract(epoch from '2026-05-28 09:05:24'::timestamp) - extract(epoch from '2026-05-28 09:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576967 -3.379131)'), GeomFromEWKT('SRID=4674;POINT (-38.576963 -3.37902)'))) / (select extract(epoch from '2026-05-28 09:05:24'::timestamp) - extract(epoch from '2026-05-28 09:05:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576954 -3.378906)', '2026-05-28 09:05:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576963 -3.37902)'), GeomFromEWKT('SRID=4674;POINT (-38.576954 -3.378906)'))) / (select extract(epoch from '2026-05-28 09:05:29'::timestamp) - extract(epoch from '2026-05-28 09:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576963 -3.37902)'), GeomFromEWKT('SRID=4674;POINT (-38.576954 -3.378906)'))) / (select extract(epoch from '2026-05-28 09:05:29'::timestamp) - extract(epoch from '2026-05-28 09:05:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576944 -3.37879)', '2026-05-28 09:05:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576954 -3.378906)'), GeomFromEWKT('SRID=4674;POINT (-38.576944 -3.37879)'))) / (select extract(epoch from '2026-05-28 09:05:34'::timestamp) - extract(epoch from '2026-05-28 09:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576954 -3.378906)'), GeomFromEWKT('SRID=4674;POINT (-38.576944 -3.37879)'))) / (select extract(epoch from '2026-05-28 09:05:34'::timestamp) - extract(epoch from '2026-05-28 09:05:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576933 -3.37861)', '2026-05-28 09:05:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576944 -3.37879)'), GeomFromEWKT('SRID=4674;POINT (-38.576933 -3.37861)'))) / (select extract(epoch from '2026-05-28 09:05:42'::timestamp) - extract(epoch from '2026-05-28 09:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576944 -3.37879)'), GeomFromEWKT('SRID=4674;POINT (-38.576933 -3.37861)'))) / (select extract(epoch from '2026-05-28 09:05:42'::timestamp) - extract(epoch from '2026-05-28 09:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576938 -3.378471)', '2026-05-28 09:05:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576933 -3.37861)'), GeomFromEWKT('SRID=4674;POINT (-38.576938 -3.378471)'))) / (select extract(epoch from '2026-05-28 09:05:48'::timestamp) - extract(epoch from '2026-05-28 09:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576933 -3.37861)'), GeomFromEWKT('SRID=4674;POINT (-38.576938 -3.378471)'))) / (select extract(epoch from '2026-05-28 09:05:48'::timestamp) - extract(epoch from '2026-05-28 09:05:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576947 -3.378338)', '2026-05-28 09:05:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576938 -3.378471)'), GeomFromEWKT('SRID=4674;POINT (-38.576947 -3.378338)'))) / (select extract(epoch from '2026-05-28 09:05:54'::timestamp) - extract(epoch from '2026-05-28 09:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576938 -3.378471)'), GeomFromEWKT('SRID=4674;POINT (-38.576947 -3.378338)'))) / (select extract(epoch from '2026-05-28 09:05:54'::timestamp) - extract(epoch from '2026-05-28 09:05:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576945 -3.378209)', '2026-05-28 09:06:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576947 -3.378338)'), GeomFromEWKT('SRID=4674;POINT (-38.576945 -3.378209)'))) / (select extract(epoch from '2026-05-28 09:06:00'::timestamp) - extract(epoch from '2026-05-28 09:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576947 -3.378338)'), GeomFromEWKT('SRID=4674;POINT (-38.576945 -3.378209)'))) / (select extract(epoch from '2026-05-28 09:06:00'::timestamp) - extract(epoch from '2026-05-28 09:05:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57695 -3.378079)', '2026-05-28 09:06:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576945 -3.378209)'), GeomFromEWKT('SRID=4674;POINT (-38.57695 -3.378079)'))) / (select extract(epoch from '2026-05-28 09:06:06'::timestamp) - extract(epoch from '2026-05-28 09:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576945 -3.378209)'), GeomFromEWKT('SRID=4674;POINT (-38.57695 -3.378079)'))) / (select extract(epoch from '2026-05-28 09:06:06'::timestamp) - extract(epoch from '2026-05-28 09:06:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576963 -3.377932)', '2026-05-28 09:06:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57695 -3.378079)'), GeomFromEWKT('SRID=4674;POINT (-38.576963 -3.377932)'))) / (select extract(epoch from '2026-05-28 09:06:13'::timestamp) - extract(epoch from '2026-05-28 09:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57695 -3.378079)'), GeomFromEWKT('SRID=4674;POINT (-38.576963 -3.377932)'))) / (select extract(epoch from '2026-05-28 09:06:13'::timestamp) - extract(epoch from '2026-05-28 09:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576966 -3.377754)', '2026-05-28 09:06:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576963 -3.377932)'), GeomFromEWKT('SRID=4674;POINT (-38.576966 -3.377754)'))) / (select extract(epoch from '2026-05-28 09:06:21'::timestamp) - extract(epoch from '2026-05-28 09:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576963 -3.377932)'), GeomFromEWKT('SRID=4674;POINT (-38.576966 -3.377754)'))) / (select extract(epoch from '2026-05-28 09:06:21'::timestamp) - extract(epoch from '2026-05-28 09:06:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576963 -3.377601)', '2026-05-28 09:06:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576966 -3.377754)'), GeomFromEWKT('SRID=4674;POINT (-38.576963 -3.377601)'))) / (select extract(epoch from '2026-05-28 09:06:28'::timestamp) - extract(epoch from '2026-05-28 09:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576966 -3.377754)'), GeomFromEWKT('SRID=4674;POINT (-38.576963 -3.377601)'))) / (select extract(epoch from '2026-05-28 09:06:28'::timestamp) - extract(epoch from '2026-05-28 09:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576949 -3.377442)', '2026-05-28 09:06:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576963 -3.377601)'), GeomFromEWKT('SRID=4674;POINT (-38.576949 -3.377442)'))) / (select extract(epoch from '2026-05-28 09:06:35'::timestamp) - extract(epoch from '2026-05-28 09:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576963 -3.377601)'), GeomFromEWKT('SRID=4674;POINT (-38.576949 -3.377442)'))) / (select extract(epoch from '2026-05-28 09:06:35'::timestamp) - extract(epoch from '2026-05-28 09:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576948 -3.377326)', '2026-05-28 09:06:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576949 -3.377442)'), GeomFromEWKT('SRID=4674;POINT (-38.576948 -3.377326)'))) / (select extract(epoch from '2026-05-28 09:06:40'::timestamp) - extract(epoch from '2026-05-28 09:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576949 -3.377442)'), GeomFromEWKT('SRID=4674;POINT (-38.576948 -3.377326)'))) / (select extract(epoch from '2026-05-28 09:06:40'::timestamp) - extract(epoch from '2026-05-28 09:06:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576942 -3.377191)', '2026-05-28 09:06:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576948 -3.377326)'), GeomFromEWKT('SRID=4674;POINT (-38.576942 -3.377191)'))) / (select extract(epoch from '2026-05-28 09:06:46'::timestamp) - extract(epoch from '2026-05-28 09:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576948 -3.377326)'), GeomFromEWKT('SRID=4674;POINT (-38.576942 -3.377191)'))) / (select extract(epoch from '2026-05-28 09:06:46'::timestamp) - extract(epoch from '2026-05-28 09:06:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
