 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.034062484279 -3.3859431277961)', '2026-07-16 19:49:36', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034085283056 -3.3858543634415)'), GeomFromEWKT('SRID=4674;POINT (-39.034062484279 -3.3859431277961)'))) / (select extract(epoch from '2026-07-16 19:49:36'::timestamp) - extract(epoch from '2026-07-16 19:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034085283056 -3.3858543634415)'), GeomFromEWKT('SRID=4674;POINT (-39.034062484279 -3.3859431277961)'))) / (select extract(epoch from '2026-07-16 19:49:36'::timestamp) - extract(epoch from '2026-07-16 19:49: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'), 47428, 'SRID=4674;POINT (-39.034046726301 -3.3860588818789)', '2026-07-16 19:49:42', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034062484279 -3.3859431277961)'), GeomFromEWKT('SRID=4674;POINT (-39.034046726301 -3.3860588818789)'))) / (select extract(epoch from '2026-07-16 19:49:42'::timestamp) - extract(epoch from '2026-07-16 19:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034062484279 -3.3859431277961)'), GeomFromEWKT('SRID=4674;POINT (-39.034046726301 -3.3860588818789)'))) / (select extract(epoch from '2026-07-16 19:49:42'::timestamp) - extract(epoch from '2026-07-16 19:49:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.034052258357 -3.3860787469894)', '2026-07-16 19:49:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034046726301 -3.3860588818789)'), GeomFromEWKT('SRID=4674;POINT (-39.034052258357 -3.3860787469894)'))) / (select extract(epoch from '2026-07-16 19:49:43'::timestamp) - extract(epoch from '2026-07-16 19:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034046726301 -3.3860588818789)'), GeomFromEWKT('SRID=4674;POINT (-39.034052258357 -3.3860787469894)'))) / (select extract(epoch from '2026-07-16 19:49:43'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.034040439874 -3.3862085826695)', '2026-07-16 19:49:50', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034052258357 -3.3860787469894)'), GeomFromEWKT('SRID=4674;POINT (-39.034040439874 -3.3862085826695)'))) / (select extract(epoch from '2026-07-16 19:49:50'::timestamp) - extract(epoch from '2026-07-16 19:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034052258357 -3.3860787469894)'), GeomFromEWKT('SRID=4674;POINT (-39.034040439874 -3.3862085826695)'))) / (select extract(epoch from '2026-07-16 19:49:50'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.034003391862 -3.3863532543182)', '2026-07-16 19:49:58', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034040439874 -3.3862085826695)'), GeomFromEWKT('SRID=4674;POINT (-39.034003391862 -3.3863532543182)'))) / (select extract(epoch from '2026-07-16 19:49:58'::timestamp) - extract(epoch from '2026-07-16 19:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034040439874 -3.3862085826695)'), GeomFromEWKT('SRID=4674;POINT (-39.034003391862 -3.3863532543182)'))) / (select extract(epoch from '2026-07-16 19:49:58'::timestamp) - extract(epoch from '2026-07-16 19:49: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'), 47428, 'SRID=4674;POINT (-39.033984448761 -3.3864627219737)', '2026-07-16 19:50:04', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034003391862 -3.3863532543182)'), GeomFromEWKT('SRID=4674;POINT (-39.033984448761 -3.3864627219737)'))) / (select extract(epoch from '2026-07-16 19:50:04'::timestamp) - extract(epoch from '2026-07-16 19:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.034003391862 -3.3863532543182)'), GeomFromEWKT('SRID=4674;POINT (-39.033984448761 -3.3864627219737)'))) / (select extract(epoch from '2026-07-16 19:50:04'::timestamp) - extract(epoch from '2026-07-16 19:49: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'), 47428, 'SRID=4674;POINT (-39.033963074908 -3.3865855168551)', '2026-07-16 19:50:11', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033984448761 -3.3864627219737)'), GeomFromEWKT('SRID=4674;POINT (-39.033963074908 -3.3865855168551)'))) / (select extract(epoch from '2026-07-16 19:50:11'::timestamp) - extract(epoch from '2026-07-16 19:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033984448761 -3.3864627219737)'), GeomFromEWKT('SRID=4674;POINT (-39.033963074908 -3.3865855168551)'))) / (select extract(epoch from '2026-07-16 19:50:11'::timestamp) - extract(epoch from '2026-07-16 19:50: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'), 47428, 'SRID=4674;POINT (-39.033936252818 -3.3867324516177)', '2026-07-16 19:50:18', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033963074908 -3.3865855168551)'), GeomFromEWKT('SRID=4674;POINT (-39.033936252818 -3.3867324516177)'))) / (select extract(epoch from '2026-07-16 19:50:18'::timestamp) - extract(epoch from '2026-07-16 19:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033963074908 -3.3865855168551)'), GeomFromEWKT('SRID=4674;POINT (-39.033936252818 -3.3867324516177)'))) / (select extract(epoch from '2026-07-16 19:50:18'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.033884285018 -3.3868313580751)', '2026-07-16 19:50:25', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033936252818 -3.3867324516177)'), GeomFromEWKT('SRID=4674;POINT (-39.033884285018 -3.3868313580751)'))) / (select extract(epoch from '2026-07-16 19:50:25'::timestamp) - extract(epoch from '2026-07-16 19:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033936252818 -3.3867324516177)'), GeomFromEWKT('SRID=4674;POINT (-39.033884285018 -3.3868313580751)'))) / (select extract(epoch from '2026-07-16 19:50:25'::timestamp) - extract(epoch from '2026-07-16 19:50: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'), 47428, 'SRID=4674;POINT (-39.033867521212 -3.3869431726635)', '2026-07-16 19:50:32', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033884285018 -3.3868313580751)'), GeomFromEWKT('SRID=4674;POINT (-39.033867521212 -3.3869431726635)'))) / (select extract(epoch from '2026-07-16 19:50:32'::timestamp) - extract(epoch from '2026-07-16 19:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033884285018 -3.3868313580751)'), GeomFromEWKT('SRID=4674;POINT (-39.033867521212 -3.3869431726635)'))) / (select extract(epoch from '2026-07-16 19:50:32'::timestamp) - extract(epoch from '2026-07-16 19:50:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033819576725 -3.3871039375663)', '2026-07-16 19:50:40', 8.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033867521212 -3.3869431726635)'), GeomFromEWKT('SRID=4674;POINT (-39.033819576725 -3.3871039375663)'))) / (select extract(epoch from '2026-07-16 19:50:40'::timestamp) - extract(epoch from '2026-07-16 19:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033867521212 -3.3869431726635)'), GeomFromEWKT('SRID=4674;POINT (-39.033819576725 -3.3871039375663)'))) / (select extract(epoch from '2026-07-16 19:50:40'::timestamp) - extract(epoch from '2026-07-16 19:50:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.03378713876 -3.3872654568404)', '2026-07-16 19:50:48', 8.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033819576725 -3.3871039375663)'), GeomFromEWKT('SRID=4674;POINT (-39.03378713876 -3.3872654568404)'))) / (select extract(epoch from '2026-07-16 19:50:48'::timestamp) - extract(epoch from '2026-07-16 19:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033819576725 -3.3871039375663)'), GeomFromEWKT('SRID=4674;POINT (-39.03378713876 -3.3872654568404)'))) / (select extract(epoch from '2026-07-16 19:50:48'::timestamp) - extract(epoch from '2026-07-16 19:50: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'), 47428, 'SRID=4674;POINT (-39.033769117668 -3.3873926941305)', '2026-07-16 19:50:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03378713876 -3.3872654568404)'), GeomFromEWKT('SRID=4674;POINT (-39.033769117668 -3.3873926941305)'))) / (select extract(epoch from '2026-07-16 19:50:54'::timestamp) - extract(epoch from '2026-07-16 19:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03378713876 -3.3872654568404)'), GeomFromEWKT('SRID=4674;POINT (-39.033769117668 -3.3873926941305)'))) / (select extract(epoch from '2026-07-16 19:50:54'::timestamp) - extract(epoch from '2026-07-16 19:50: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'), 47428, 'SRID=4674;POINT (-39.033749587834 -3.387510124594)', '2026-07-16 19:51:00', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033769117668 -3.3873926941305)'), GeomFromEWKT('SRID=4674;POINT (-39.033749587834 -3.387510124594)'))) / (select extract(epoch from '2026-07-16 19:51:00'::timestamp) - extract(epoch from '2026-07-16 19:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033769117668 -3.3873926941305)'), GeomFromEWKT('SRID=4674;POINT (-39.033749587834 -3.387510124594)'))) / (select extract(epoch from '2026-07-16 19:51:00'::timestamp) - extract(epoch from '2026-07-16 19:50:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033751096576 -3.3876139763743)', '2026-07-16 19:51:05', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033749587834 -3.387510124594)'), GeomFromEWKT('SRID=4674;POINT (-39.033751096576 -3.3876139763743)'))) / (select extract(epoch from '2026-07-16 19:51:05'::timestamp) - extract(epoch from '2026-07-16 19:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033749587834 -3.387510124594)'), GeomFromEWKT('SRID=4674;POINT (-39.033751096576 -3.3876139763743)'))) / (select extract(epoch from '2026-07-16 19:51:05'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.033735757694 -3.3877283893526)', '2026-07-16 19:51:11', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033751096576 -3.3876139763743)'), GeomFromEWKT('SRID=4674;POINT (-39.033735757694 -3.3877283893526)'))) / (select extract(epoch from '2026-07-16 19:51:11'::timestamp) - extract(epoch from '2026-07-16 19:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033751096576 -3.3876139763743)'), GeomFromEWKT('SRID=4674;POINT (-39.033735757694 -3.3877283893526)'))) / (select extract(epoch from '2026-07-16 19:51:11'::timestamp) - extract(epoch from '2026-07-16 19:51: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'), 47428, 'SRID=4674;POINT (-39.033720334992 -3.3878464903682)', '2026-07-16 19:51:17', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033735757694 -3.3877283893526)'), GeomFromEWKT('SRID=4674;POINT (-39.033720334992 -3.3878464903682)'))) / (select extract(epoch from '2026-07-16 19:51:17'::timestamp) - extract(epoch from '2026-07-16 19:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033735757694 -3.3877283893526)'), GeomFromEWKT('SRID=4674;POINT (-39.033720334992 -3.3878464903682)'))) / (select extract(epoch from '2026-07-16 19:51:17'::timestamp) - extract(epoch from '2026-07-16 19:51: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'), 47428, 'SRID=4674;POINT (-39.033714719117 -3.3879443909973)', '2026-07-16 19:51:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033720334992 -3.3878464903682)'), GeomFromEWKT('SRID=4674;POINT (-39.033714719117 -3.3879443909973)'))) / (select extract(epoch from '2026-07-16 19:51:22'::timestamp) - extract(epoch from '2026-07-16 19:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033720334992 -3.3878464903682)'), GeomFromEWKT('SRID=4674;POINT (-39.033714719117 -3.3879443909973)'))) / (select extract(epoch from '2026-07-16 19:51:22'::timestamp) - extract(epoch from '2026-07-16 19:51:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033711450174 -3.3879635855556)', '2026-07-16 19:51:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033714719117 -3.3879443909973)'), GeomFromEWKT('SRID=4674;POINT (-39.033711450174 -3.3879635855556)'))) / (select extract(epoch from '2026-07-16 19:51:23'::timestamp) - extract(epoch from '2026-07-16 19:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033714719117 -3.3879443909973)'), GeomFromEWKT('SRID=4674;POINT (-39.033711450174 -3.3879635855556)'))) / (select extract(epoch from '2026-07-16 19:51:23'::timestamp) - extract(epoch from '2026-07-16 19:51: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'), 47428, 'SRID=4674;POINT (-39.033716060221 -3.3880674373358)', '2026-07-16 19:51:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033711450174 -3.3879635855556)'), GeomFromEWKT('SRID=4674;POINT (-39.033716060221 -3.3880674373358)'))) / (select extract(epoch from '2026-07-16 19:51:28'::timestamp) - extract(epoch from '2026-07-16 19:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033711450174 -3.3879635855556)'), GeomFromEWKT('SRID=4674;POINT (-39.033716060221 -3.3880674373358)'))) / (select extract(epoch from '2026-07-16 19:51:28'::timestamp) - extract(epoch from '2026-07-16 19:51:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033698122948 -3.3881796710193)', '2026-07-16 19:51:34', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033716060221 -3.3880674373358)'), GeomFromEWKT('SRID=4674;POINT (-39.033698122948 -3.3881796710193)'))) / (select extract(epoch from '2026-07-16 19:51:34'::timestamp) - extract(epoch from '2026-07-16 19:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033716060221 -3.3880674373358)'), GeomFromEWKT('SRID=4674;POINT (-39.033698122948 -3.3881796710193)'))) / (select extract(epoch from '2026-07-16 19:51:34'::timestamp) - extract(epoch from '2026-07-16 19:51: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'), 47428, 'SRID=4674;POINT (-39.033681862056 -3.3883146196604)', '2026-07-16 19:51:41', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033698122948 -3.3881796710193)'), GeomFromEWKT('SRID=4674;POINT (-39.033681862056 -3.3883146196604)'))) / (select extract(epoch from '2026-07-16 19:51:41'::timestamp) - extract(epoch from '2026-07-16 19:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033698122948 -3.3881796710193)'), GeomFromEWKT('SRID=4674;POINT (-39.033681862056 -3.3883146196604)'))) / (select extract(epoch from '2026-07-16 19:51:41'::timestamp) - extract(epoch from '2026-07-16 19:51:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033670546487 -3.3884493168443)', '2026-07-16 19:51:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033681862056 -3.3883146196604)'), GeomFromEWKT('SRID=4674;POINT (-39.033670546487 -3.3884493168443)'))) / (select extract(epoch from '2026-07-16 19:51:48'::timestamp) - extract(epoch from '2026-07-16 19:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033681862056 -3.3883146196604)'), GeomFromEWKT('SRID=4674;POINT (-39.033670546487 -3.3884493168443)'))) / (select extract(epoch from '2026-07-16 19:51:48'::timestamp) - extract(epoch from '2026-07-16 19:51:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033660236746 -3.3885833434761)', '2026-07-16 19:51:55', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033670546487 -3.3884493168443)'), GeomFromEWKT('SRID=4674;POINT (-39.033660236746 -3.3885833434761)'))) / (select extract(epoch from '2026-07-16 19:51:55'::timestamp) - extract(epoch from '2026-07-16 19:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033670546487 -3.3884493168443)'), GeomFromEWKT('SRID=4674;POINT (-39.033660236746 -3.3885833434761)'))) / (select extract(epoch from '2026-07-16 19:51:55'::timestamp) - extract(epoch from '2026-07-16 19:51: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'), 47428, 'SRID=4674;POINT (-39.033653279766 -3.3886752929538)', '2026-07-16 19:52:00', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033660236746 -3.3885833434761)'), GeomFromEWKT('SRID=4674;POINT (-39.033653279766 -3.3886752929538)'))) / (select extract(epoch from '2026-07-16 19:52:00'::timestamp) - extract(epoch from '2026-07-16 19:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033660236746 -3.3885833434761)'), GeomFromEWKT('SRID=4674;POINT (-39.033653279766 -3.3886752929538)'))) / (select extract(epoch from '2026-07-16 19:52:00'::timestamp) - extract(epoch from '2026-07-16 19:51: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'), 47428, 'SRID=4674;POINT (-39.033636348322 -3.388723153621)', '2026-07-16 19:52:03', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033653279766 -3.3886752929538)'), GeomFromEWKT('SRID=4674;POINT (-39.033636348322 -3.388723153621)'))) / (select extract(epoch from '2026-07-16 19:52:03'::timestamp) - extract(epoch from '2026-07-16 19:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033653279766 -3.3886752929538)'), GeomFromEWKT('SRID=4674;POINT (-39.033636348322 -3.388723153621)'))) / (select extract(epoch from '2026-07-16 19:52:03'::timestamp) - extract(epoch from '2026-07-16 19:52:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.03363735415 -3.3887599501759)', '2026-07-16 19:52:05', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033636348322 -3.388723153621)'), GeomFromEWKT('SRID=4674;POINT (-39.03363735415 -3.3887599501759)'))) / (select extract(epoch from '2026-07-16 19:52:05'::timestamp) - extract(epoch from '2026-07-16 19:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033636348322 -3.388723153621)'), GeomFromEWKT('SRID=4674;POINT (-39.03363735415 -3.3887599501759)'))) / (select extract(epoch from '2026-07-16 19:52:05'::timestamp) - extract(epoch from '2026-07-16 19:52:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033624697477 -3.3888938929886)', '2026-07-16 19:52:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03363735415 -3.3887599501759)'), GeomFromEWKT('SRID=4674;POINT (-39.033624697477 -3.3888938929886)'))) / (select extract(epoch from '2026-07-16 19:52:12'::timestamp) - extract(epoch from '2026-07-16 19:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03363735415 -3.3887599501759)'), GeomFromEWKT('SRID=4674;POINT (-39.033624697477 -3.3888938929886)'))) / (select extract(epoch from '2026-07-16 19:52:12'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.033617991954 -3.3890427555889)', '2026-07-16 19:52:20', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033624697477 -3.3888938929886)'), GeomFromEWKT('SRID=4674;POINT (-39.033617991954 -3.3890427555889)'))) / (select extract(epoch from '2026-07-16 19:52:20'::timestamp) - extract(epoch from '2026-07-16 19:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033624697477 -3.3888938929886)'), GeomFromEWKT('SRID=4674;POINT (-39.033617991954 -3.3890427555889)'))) / (select extract(epoch from '2026-07-16 19:52:20'::timestamp) - extract(epoch from '2026-07-16 19:52: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'), 47428, 'SRID=4674;POINT (-39.033593181521 -3.3892349526286)', '2026-07-16 19:52:29', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033617991954 -3.3890427555889)'), GeomFromEWKT('SRID=4674;POINT (-39.033593181521 -3.3892349526286)'))) / (select extract(epoch from '2026-07-16 19:52:29'::timestamp) - extract(epoch from '2026-07-16 19:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033617991954 -3.3890427555889)'), GeomFromEWKT('SRID=4674;POINT (-39.033593181521 -3.3892349526286)'))) / (select extract(epoch from '2026-07-16 19:52:29'::timestamp) - extract(epoch from '2026-07-16 19:52: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'), 47428, 'SRID=4674;POINT (-39.033573651686 -3.3893620222807)', '2026-07-16 19:52:35', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033593181521 -3.3892349526286)'), GeomFromEWKT('SRID=4674;POINT (-39.033573651686 -3.3893620222807)'))) / (select extract(epoch from '2026-07-16 19:52:35'::timestamp) - extract(epoch from '2026-07-16 19:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033593181521 -3.3892349526286)'), GeomFromEWKT('SRID=4674;POINT (-39.033573651686 -3.3893620222807)'))) / (select extract(epoch from '2026-07-16 19:52:35'::timestamp) - extract(epoch from '2026-07-16 19:52: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'), 47428, 'SRID=4674;POINT (-39.033565772697 -3.3894607611001)', '2026-07-16 19:52:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033573651686 -3.3893620222807)'), GeomFromEWKT('SRID=4674;POINT (-39.033565772697 -3.3894607611001)'))) / (select extract(epoch from '2026-07-16 19:52:40'::timestamp) - extract(epoch from '2026-07-16 19:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033573651686 -3.3893620222807)'), GeomFromEWKT('SRID=4674;POINT (-39.033565772697 -3.3894607611001)'))) / (select extract(epoch from '2026-07-16 19:52:40'::timestamp) - extract(epoch from '2026-07-16 19:52: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'), 47428, 'SRID=4674;POINT (-39.033544231206 -3.3895841427147)', '2026-07-16 19:52:47', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033565772697 -3.3894607611001)'), GeomFromEWKT('SRID=4674;POINT (-39.033544231206 -3.3895841427147)'))) / (select extract(epoch from '2026-07-16 19:52:47'::timestamp) - extract(epoch from '2026-07-16 19:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033565772697 -3.3894607611001)'), GeomFromEWKT('SRID=4674;POINT (-39.033544231206 -3.3895841427147)'))) / (select extract(epoch from '2026-07-16 19:52:47'::timestamp) - extract(epoch from '2026-07-16 19:52: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'), 47428, 'SRID=4674;POINT (-39.033540878445 -3.3896753378212)', '2026-07-16 19:52:52', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033544231206 -3.3895841427147)'), GeomFromEWKT('SRID=4674;POINT (-39.033540878445 -3.3896753378212)'))) / (select extract(epoch from '2026-07-16 19:52:52'::timestamp) - extract(epoch from '2026-07-16 19:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033544231206 -3.3895841427147)'), GeomFromEWKT('SRID=4674;POINT (-39.033540878445 -3.3896753378212)'))) / (select extract(epoch from '2026-07-16 19:52:52'::timestamp) - extract(epoch from '2026-07-16 19:52: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'), 47428, 'SRID=4674;POINT (-39.03353174217 -3.3898048382252)', '2026-07-16 19:52:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033540878445 -3.3896753378212)'), GeomFromEWKT('SRID=4674;POINT (-39.03353174217 -3.3898048382252)'))) / (select extract(epoch from '2026-07-16 19:52:59'::timestamp) - extract(epoch from '2026-07-16 19:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033540878445 -3.3896753378212)'), GeomFromEWKT('SRID=4674;POINT (-39.03353174217 -3.3898048382252)'))) / (select extract(epoch from '2026-07-16 19:52:59'::timestamp) - extract(epoch from '2026-07-16 19:52:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033545153216 -3.3898670319468)', '2026-07-16 19:53:02', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03353174217 -3.3898048382252)'), GeomFromEWKT('SRID=4674;POINT (-39.033545153216 -3.3898670319468)'))) / (select extract(epoch from '2026-07-16 19:53:02'::timestamp) - extract(epoch from '2026-07-16 19:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03353174217 -3.3898048382252)'), GeomFromEWKT('SRID=4674;POINT (-39.033545153216 -3.3898670319468)'))) / (select extract(epoch from '2026-07-16 19:53:02'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.033539453521 -3.3898838795722)', '2026-07-16 19:53:03', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033545153216 -3.3898670319468)'), GeomFromEWKT('SRID=4674;POINT (-39.033539453521 -3.3898838795722)'))) / (select extract(epoch from '2026-07-16 19:53:03'::timestamp) - extract(epoch from '2026-07-16 19:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033545153216 -3.3898670319468)'), GeomFromEWKT('SRID=4674;POINT (-39.033539453521 -3.3898838795722)'))) / (select extract(epoch from '2026-07-16 19:53:03'::timestamp) - extract(epoch from '2026-07-16 19:53: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'), 47428, 'SRID=4674;POINT (-39.033521683887 -3.3900189958513)', '2026-07-16 19:53:10', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033539453521 -3.3898838795722)'), GeomFromEWKT('SRID=4674;POINT (-39.033521683887 -3.3900189958513)'))) / (select extract(epoch from '2026-07-16 19:53:10'::timestamp) - extract(epoch from '2026-07-16 19:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033539453521 -3.3898838795722)'), GeomFromEWKT('SRID=4674;POINT (-39.033521683887 -3.3900189958513)'))) / (select extract(epoch from '2026-07-16 19:53:10'::timestamp) - extract(epoch from '2026-07-16 19:53:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033506931737 -3.3901166450232)', '2026-07-16 19:53:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033521683887 -3.3900189958513)'), GeomFromEWKT('SRID=4674;POINT (-39.033506931737 -3.3901166450232)'))) / (select extract(epoch from '2026-07-16 19:53:15'::timestamp) - extract(epoch from '2026-07-16 19:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033521683887 -3.3900189958513)'), GeomFromEWKT('SRID=4674;POINT (-39.033506931737 -3.3901166450232)'))) / (select extract(epoch from '2026-07-16 19:53:15'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.0335014835 -3.3902327343822)', '2026-07-16 19:53:21', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033506931737 -3.3901166450232)'), GeomFromEWKT('SRID=4674;POINT (-39.0335014835 -3.3902327343822)'))) / (select extract(epoch from '2026-07-16 19:53:21'::timestamp) - extract(epoch from '2026-07-16 19:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033506931737 -3.3901166450232)'), GeomFromEWKT('SRID=4674;POINT (-39.0335014835 -3.3902327343822)'))) / (select extract(epoch from '2026-07-16 19:53:21'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.033484635875 -3.3903886377811)', '2026-07-16 19:53:29', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0335014835 -3.3902327343822)'), GeomFromEWKT('SRID=4674;POINT (-39.033484635875 -3.3903886377811)'))) / (select extract(epoch from '2026-07-16 19:53:29'::timestamp) - extract(epoch from '2026-07-16 19:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0335014835 -3.3902327343822)'), GeomFromEWKT('SRID=4674;POINT (-39.033484635875 -3.3903886377811)'))) / (select extract(epoch from '2026-07-16 19:53:29'::timestamp) - extract(epoch from '2026-07-16 19:53:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033492682502 -3.3905267715454)', '2026-07-16 19:53:36', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033484635875 -3.3903886377811)'), GeomFromEWKT('SRID=4674;POINT (-39.033492682502 -3.3905267715454)'))) / (select extract(epoch from '2026-07-16 19:53:36'::timestamp) - extract(epoch from '2026-07-16 19:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033484635875 -3.3903886377811)'), GeomFromEWKT('SRID=4674;POINT (-39.033492682502 -3.3905267715454)'))) / (select extract(epoch from '2026-07-16 19:53:36'::timestamp) - extract(epoch from '2026-07-16 19:53: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'), 47428, 'SRID=4674;POINT (-39.033490587026 -3.3906271867454)', '2026-07-16 19:53:41', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033492682502 -3.3905267715454)'), GeomFromEWKT('SRID=4674;POINT (-39.033490587026 -3.3906271867454)'))) / (select extract(epoch from '2026-07-16 19:53:41'::timestamp) - extract(epoch from '2026-07-16 19:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033492682502 -3.3905267715454)'), GeomFromEWKT('SRID=4674;POINT (-39.033490587026 -3.3906271867454)'))) / (select extract(epoch from '2026-07-16 19:53:41'::timestamp) - extract(epoch from '2026-07-16 19:53: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'), 47428, 'SRID=4674;POINT (-39.033469380811 -3.3907575253397)', '2026-07-16 19:53:48', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033490587026 -3.3906271867454)'), GeomFromEWKT('SRID=4674;POINT (-39.033469380811 -3.3907575253397)'))) / (select extract(epoch from '2026-07-16 19:53:48'::timestamp) - extract(epoch from '2026-07-16 19:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033490587026 -3.3906271867454)'), GeomFromEWKT('SRID=4674;POINT (-39.033469380811 -3.3907575253397)'))) / (select extract(epoch from '2026-07-16 19:53:48'::timestamp) - extract(epoch from '2026-07-16 19:53: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'), 47428, 'SRID=4674;POINT (-39.033441385254 -3.3908705972135)', '2026-07-16 19:53:54', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033469380811 -3.3907575253397)'), GeomFromEWKT('SRID=4674;POINT (-39.033441385254 -3.3908705972135)'))) / (select extract(epoch from '2026-07-16 19:53:54'::timestamp) - extract(epoch from '2026-07-16 19:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033469380811 -3.3907575253397)'), GeomFromEWKT('SRID=4674;POINT (-39.033441385254 -3.3908705972135)'))) / (select extract(epoch from '2026-07-16 19:53:54'::timestamp) - extract(epoch from '2026-07-16 19:53:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033422945067 -3.3910321164876)', '2026-07-16 19:54:02', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033441385254 -3.3908705972135)'), GeomFromEWKT('SRID=4674;POINT (-39.033422945067 -3.3910321164876)'))) / (select extract(epoch from '2026-07-16 19:54:02'::timestamp) - extract(epoch from '2026-07-16 19:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033441385254 -3.3908705972135)'), GeomFromEWKT('SRID=4674;POINT (-39.033422945067 -3.3910321164876)'))) / (select extract(epoch from '2026-07-16 19:54:02'::timestamp) - extract(epoch from '2026-07-16 19:53: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'), 47428, 'SRID=4674;POINT (-39.033408695832 -3.3911630418152)', '2026-07-16 19:54:09', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033422945067 -3.3910321164876)'), GeomFromEWKT('SRID=4674;POINT (-39.033408695832 -3.3911630418152)'))) / (select extract(epoch from '2026-07-16 19:54:09'::timestamp) - extract(epoch from '2026-07-16 19:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033422945067 -3.3910321164876)'), GeomFromEWKT('SRID=4674;POINT (-39.033408695832 -3.3911630418152)'))) / (select extract(epoch from '2026-07-16 19:54:09'::timestamp) - extract(epoch from '2026-07-16 19:54: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'), 47428, 'SRID=4674;POINT (-39.03339327313 -3.3912876807153)', '2026-07-16 19:54:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033408695832 -3.3911630418152)'), GeomFromEWKT('SRID=4674;POINT (-39.03339327313 -3.3912876807153)'))) / (select extract(epoch from '2026-07-16 19:54:15'::timestamp) - extract(epoch from '2026-07-16 19:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033408695832 -3.3911630418152)'), GeomFromEWKT('SRID=4674;POINT (-39.03339327313 -3.3912876807153)'))) / (select extract(epoch from '2026-07-16 19:54:15'::timestamp) - extract(epoch from '2026-07-16 19:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033379862085 -3.3914050273597)', '2026-07-16 19:54:21', 8.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03339327313 -3.3912876807153)'), GeomFromEWKT('SRID=4674;POINT (-39.033379862085 -3.3914050273597)'))) / (select extract(epoch from '2026-07-16 19:54:21'::timestamp) - extract(epoch from '2026-07-16 19:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03339327313 -3.3912876807153)'), GeomFromEWKT('SRID=4674;POINT (-39.033379862085 -3.3914050273597)'))) / (select extract(epoch from '2026-07-16 19:54:21'::timestamp) - extract(epoch from '2026-07-16 19:54: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'), 47428, 'SRID=4674;POINT (-39.033357063308 -3.391490355134)', '2026-07-16 19:54:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033379862085 -3.3914050273597)'), GeomFromEWKT('SRID=4674;POINT (-39.033357063308 -3.391490355134)'))) / (select extract(epoch from '2026-07-16 19:54:26'::timestamp) - extract(epoch from '2026-07-16 19:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033379862085 -3.3914050273597)'), GeomFromEWKT('SRID=4674;POINT (-39.033357063308 -3.391490355134)'))) / (select extract(epoch from '2026-07-16 19:54:26'::timestamp) - extract(epoch from '2026-07-16 19:54: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'), 47428, 'SRID=4674;POINT (-39.033355135471 -3.3915121480823)', '2026-07-16 19:54:27', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033357063308 -3.391490355134)'), GeomFromEWKT('SRID=4674;POINT (-39.033355135471 -3.3915121480823)'))) / (select extract(epoch from '2026-07-16 19:54:27'::timestamp) - extract(epoch from '2026-07-16 19:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033357063308 -3.391490355134)'), GeomFromEWKT('SRID=4674;POINT (-39.033355135471 -3.3915121480823)'))) / (select extract(epoch from '2026-07-16 19:54:27'::timestamp) - extract(epoch from '2026-07-16 19:54: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'), 47428, 'SRID=4674;POINT (-39.033321021125 -3.3916706498712)', '2026-07-16 19:54:35', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033355135471 -3.3915121480823)'), GeomFromEWKT('SRID=4674;POINT (-39.033321021125 -3.3916706498712)'))) / (select extract(epoch from '2026-07-16 19:54:35'::timestamp) - extract(epoch from '2026-07-16 19:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033355135471 -3.3915121480823)'), GeomFromEWKT('SRID=4674;POINT (-39.033321021125 -3.3916706498712)'))) / (select extract(epoch from '2026-07-16 19:54:35'::timestamp) - extract(epoch from '2026-07-16 19:54: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'), 47428, 'SRID=4674;POINT (-39.033295875415 -3.3917699754238)', '2026-07-16 19:54:40', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033321021125 -3.3916706498712)'), GeomFromEWKT('SRID=4674;POINT (-39.033295875415 -3.3917699754238)'))) / (select extract(epoch from '2026-07-16 19:54:40'::timestamp) - extract(epoch from '2026-07-16 19:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033321021125 -3.3916706498712)'), GeomFromEWKT('SRID=4674;POINT (-39.033295875415 -3.3917699754238)'))) / (select extract(epoch from '2026-07-16 19:54:40'::timestamp) - extract(epoch from '2026-07-16 19:54:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033273328096 -3.3918790239841)', '2026-07-16 19:54:46', 8.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033295875415 -3.3917699754238)'), GeomFromEWKT('SRID=4674;POINT (-39.033273328096 -3.3918790239841)'))) / (select extract(epoch from '2026-07-16 19:54:46'::timestamp) - extract(epoch from '2026-07-16 19:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033295875415 -3.3917699754238)'), GeomFromEWKT('SRID=4674;POINT (-39.033273328096 -3.3918790239841)'))) / (select extract(epoch from '2026-07-16 19:54:46'::timestamp) - extract(epoch from '2026-07-16 19:54: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'), 47428, 'SRID=4674;POINT (-39.033251870424 -3.391992431134)', '2026-07-16 19:54:52', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033273328096 -3.3918790239841)'), GeomFromEWKT('SRID=4674;POINT (-39.033251870424 -3.391992431134)'))) / (select extract(epoch from '2026-07-16 19:54:52'::timestamp) - extract(epoch from '2026-07-16 19:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033273328096 -3.3918790239841)'), GeomFromEWKT('SRID=4674;POINT (-39.033251870424 -3.391992431134)'))) / (select extract(epoch from '2026-07-16 19:54:52'::timestamp) - extract(epoch from '2026-07-16 19:54:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033257989213 -3.3920143917203)', '2026-07-16 19:54:53', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033251870424 -3.391992431134)'), GeomFromEWKT('SRID=4674;POINT (-39.033257989213 -3.3920143917203)'))) / (select extract(epoch from '2026-07-16 19:54:53'::timestamp) - extract(epoch from '2026-07-16 19:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033251870424 -3.391992431134)'), GeomFromEWKT('SRID=4674;POINT (-39.033257989213 -3.3920143917203)'))) / (select extract(epoch from '2026-07-16 19:54:53'::timestamp) - extract(epoch from '2026-07-16 19:54: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'), 47428, 'SRID=4674;POINT (-39.033264946193 -3.3920572232455)', '2026-07-16 19:54:55', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033257989213 -3.3920143917203)'), GeomFromEWKT('SRID=4674;POINT (-39.033264946193 -3.3920572232455)'))) / (select extract(epoch from '2026-07-16 19:54:55'::timestamp) - extract(epoch from '2026-07-16 19:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033257989213 -3.3920143917203)'), GeomFromEWKT('SRID=4674;POINT (-39.033264946193 -3.3920572232455)'))) / (select extract(epoch from '2026-07-16 19:54:55'::timestamp) - extract(epoch from '2026-07-16 19:54:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.03325824067 -3.3920758310705)', '2026-07-16 19:54:56', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033264946193 -3.3920572232455)'), GeomFromEWKT('SRID=4674;POINT (-39.03325824067 -3.3920758310705)'))) / (select extract(epoch from '2026-07-16 19:54:56'::timestamp) - extract(epoch from '2026-07-16 19:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033264946193 -3.3920572232455)'), GeomFromEWKT('SRID=4674;POINT (-39.03325824067 -3.3920758310705)'))) / (select extract(epoch from '2026-07-16 19:54:56'::timestamp) - extract(epoch from '2026-07-16 19:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033252876252 -3.3921130467206)', '2026-07-16 19:54:58', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03325824067 -3.3920758310705)'), GeomFromEWKT('SRID=4674;POINT (-39.033252876252 -3.3921130467206)'))) / (select extract(epoch from '2026-07-16 19:54:58'::timestamp) - extract(epoch from '2026-07-16 19:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03325824067 -3.3920758310705)'), GeomFromEWKT('SRID=4674;POINT (-39.033252876252 -3.3921130467206)'))) / (select extract(epoch from '2026-07-16 19:54:58'::timestamp) - extract(epoch from '2026-07-16 19:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033250696957 -3.3921664394438)', '2026-07-16 19:55:01', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033252876252 -3.3921130467206)'), GeomFromEWKT('SRID=4674;POINT (-39.033250696957 -3.3921664394438)'))) / (select extract(epoch from '2026-07-16 19:55:01'::timestamp) - extract(epoch from '2026-07-16 19:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033252876252 -3.3921130467206)'), GeomFromEWKT('SRID=4674;POINT (-39.033250696957 -3.3921664394438)'))) / (select extract(epoch from '2026-07-16 19:55:01'::timestamp) - extract(epoch from '2026-07-16 19:54: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'), 47428, 'SRID=4674;POINT (-39.033232927322 -3.3923165593296)', '2026-07-16 19:55:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033250696957 -3.3921664394438)'), GeomFromEWKT('SRID=4674;POINT (-39.033232927322 -3.3923165593296)'))) / (select extract(epoch from '2026-07-16 19:55:09'::timestamp) - extract(epoch from '2026-07-16 19:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033250696957 -3.3921664394438)'), GeomFromEWKT('SRID=4674;POINT (-39.033232927322 -3.3923165593296)'))) / (select extract(epoch from '2026-07-16 19:55:09'::timestamp) - extract(epoch from '2026-07-16 19:55: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'), 47428, 'SRID=4674;POINT (-39.033212056383 -3.3924544416368)', '2026-07-16 19:55:16', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033232927322 -3.3923165593296)'), GeomFromEWKT('SRID=4674;POINT (-39.033212056383 -3.3924544416368)'))) / (select extract(epoch from '2026-07-16 19:55:16'::timestamp) - extract(epoch from '2026-07-16 19:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033232927322 -3.3923165593296)'), GeomFromEWKT('SRID=4674;POINT (-39.033212056383 -3.3924544416368)'))) / (select extract(epoch from '2026-07-16 19:55:16'::timestamp) - extract(epoch from '2026-07-16 19:55:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.03319939971 -3.3926007896662)', '2026-07-16 19:55:23', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033212056383 -3.3924544416368)'), GeomFromEWKT('SRID=4674;POINT (-39.03319939971 -3.3926007896662)'))) / (select extract(epoch from '2026-07-16 19:55:23'::timestamp) - extract(epoch from '2026-07-16 19:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033212056383 -3.3924544416368)'), GeomFromEWKT('SRID=4674;POINT (-39.03319939971 -3.3926007896662)'))) / (select extract(epoch from '2026-07-16 19:55:23'::timestamp) - extract(epoch from '2026-07-16 19:55:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033193029463 -3.3927002828568)', '2026-07-16 19:55:28', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03319939971 -3.3926007896662)'), GeomFromEWKT('SRID=4674;POINT (-39.033193029463 -3.3927002828568)'))) / (select extract(epoch from '2026-07-16 19:55:28'::timestamp) - extract(epoch from '2026-07-16 19:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03319939971 -3.3926007896662)'), GeomFromEWKT('SRID=4674;POINT (-39.033193029463 -3.3927002828568)'))) / (select extract(epoch from '2026-07-16 19:55:28'::timestamp) - extract(epoch from '2026-07-16 19:55:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033183474094 -3.3927143644542)', '2026-07-16 19:55:29', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033193029463 -3.3927002828568)'), GeomFromEWKT('SRID=4674;POINT (-39.033183474094 -3.3927143644542)'))) / (select extract(epoch from '2026-07-16 19:55:29'::timestamp) - extract(epoch from '2026-07-16 19:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033193029463 -3.3927002828568)'), GeomFromEWKT('SRID=4674;POINT (-39.033183474094 -3.3927143644542)'))) / (select extract(epoch from '2026-07-16 19:55:29'::timestamp) - extract(epoch from '2026-07-16 19:55: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'), 47428, 'SRID=4674;POINT (-39.033172074705 -3.3928134385496)', '2026-07-16 19:55:34', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033183474094 -3.3927143644542)'), GeomFromEWKT('SRID=4674;POINT (-39.033172074705 -3.3928134385496)'))) / (select extract(epoch from '2026-07-16 19:55:34'::timestamp) - extract(epoch from '2026-07-16 19:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033183474094 -3.3927143644542)'), GeomFromEWKT('SRID=4674;POINT (-39.033172074705 -3.3928134385496)'))) / (select extract(epoch from '2026-07-16 19:55:34'::timestamp) - extract(epoch from '2026-07-16 19:55: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'), 47428, 'SRID=4674;POINT (-39.033160088584 -3.3929548412561)', '2026-07-16 19:55:41', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033172074705 -3.3928134385496)'), GeomFromEWKT('SRID=4674;POINT (-39.033160088584 -3.3929548412561)'))) / (select extract(epoch from '2026-07-16 19:55:41'::timestamp) - extract(epoch from '2026-07-16 19:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033172074705 -3.3928134385496)'), GeomFromEWKT('SRID=4674;POINT (-39.033160088584 -3.3929548412561)'))) / (select extract(epoch from '2026-07-16 19:55:41'::timestamp) - extract(epoch from '2026-07-16 19:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.033139050007 -3.3930941484869)', '2026-07-16 19:55:48', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033160088584 -3.3929548412561)'), GeomFromEWKT('SRID=4674;POINT (-39.033139050007 -3.3930941484869)'))) / (select extract(epoch from '2026-07-16 19:55:48'::timestamp) - extract(epoch from '2026-07-16 19:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033160088584 -3.3929548412561)'), GeomFromEWKT('SRID=4674;POINT (-39.033139050007 -3.3930941484869)'))) / (select extract(epoch from '2026-07-16 19:55:48'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.033104684204 -3.3932687435299)', '2026-07-16 19:55:57', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033139050007 -3.3930941484869)'), GeomFromEWKT('SRID=4674;POINT (-39.033104684204 -3.3932687435299)'))) / (select extract(epoch from '2026-07-16 19:55:57'::timestamp) - extract(epoch from '2026-07-16 19:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033139050007 -3.3930941484869)'), GeomFromEWKT('SRID=4674;POINT (-39.033104684204 -3.3932687435299)'))) / (select extract(epoch from '2026-07-16 19:55:57'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.033088758588 -3.3934145886451)', '2026-07-16 19:56:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033104684204 -3.3932687435299)'), GeomFromEWKT('SRID=4674;POINT (-39.033088758588 -3.3934145886451)'))) / (select extract(epoch from '2026-07-16 19:56:04'::timestamp) - extract(epoch from '2026-07-16 19:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033104684204 -3.3932687435299)'), GeomFromEWKT('SRID=4674;POINT (-39.033088758588 -3.3934145886451)'))) / (select extract(epoch from '2026-07-16 19:56:04'::timestamp) - extract(epoch from '2026-07-16 19:55: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'), 47428, 'SRID=4674;POINT (-39.033054728061 -3.3935379702598)', '2026-07-16 19:56:10', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033088758588 -3.3934145886451)'), GeomFromEWKT('SRID=4674;POINT (-39.033054728061 -3.3935379702598)'))) / (select extract(epoch from '2026-07-16 19:56:10'::timestamp) - extract(epoch from '2026-07-16 19:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033088758588 -3.3934145886451)'), GeomFromEWKT('SRID=4674;POINT (-39.033054728061 -3.3935379702598)'))) / (select extract(epoch from '2026-07-16 19:56:10'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.03304181993 -3.3936465997249)', '2026-07-16 19:56:16', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033054728061 -3.3935379702598)'), GeomFromEWKT('SRID=4674;POINT (-39.03304181993 -3.3936465997249)'))) / (select extract(epoch from '2026-07-16 19:56:16'::timestamp) - extract(epoch from '2026-07-16 19:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033054728061 -3.3935379702598)'), GeomFromEWKT('SRID=4674;POINT (-39.03304181993 -3.3936465997249)'))) / (select extract(epoch from '2026-07-16 19:56:16'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.033033773303 -3.3937663771212)', '2026-07-16 19:56:22', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03304181993 -3.3936465997249)'), GeomFromEWKT('SRID=4674;POINT (-39.033033773303 -3.3937663771212)'))) / (select extract(epoch from '2026-07-16 19:56:22'::timestamp) - extract(epoch from '2026-07-16 19:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03304181993 -3.3936465997249)'), GeomFromEWKT('SRID=4674;POINT (-39.033033773303 -3.3937663771212)'))) / (select extract(epoch from '2026-07-16 19:56:22'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.033028576523 -3.3938018325716)', '2026-07-16 19:56:24', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033033773303 -3.3937663771212)'), GeomFromEWKT('SRID=4674;POINT (-39.033028576523 -3.3938018325716)'))) / (select extract(epoch from '2026-07-16 19:56:24'::timestamp) - extract(epoch from '2026-07-16 19:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033033773303 -3.3937663771212)'), GeomFromEWKT('SRID=4674;POINT (-39.033028576523 -3.3938018325716)'))) / (select extract(epoch from '2026-07-16 19:56:24'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.033031342551 -3.3938596677035)', '2026-07-16 19:56:27', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033028576523 -3.3938018325716)'), GeomFromEWKT('SRID=4674;POINT (-39.033031342551 -3.3938596677035)'))) / (select extract(epoch from '2026-07-16 19:56:27'::timestamp) - extract(epoch from '2026-07-16 19:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033028576523 -3.3938018325716)'), GeomFromEWKT('SRID=4674;POINT (-39.033031342551 -3.3938596677035)'))) / (select extract(epoch from '2026-07-16 19:56:27'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.03301323764 -3.3940165769309)', '2026-07-16 19:56:35', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033031342551 -3.3938596677035)'), GeomFromEWKT('SRID=4674;POINT (-39.03301323764 -3.3940165769309)'))) / (select extract(epoch from '2026-07-16 19:56:35'::timestamp) - extract(epoch from '2026-07-16 19:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.033031342551 -3.3938596677035)'), GeomFromEWKT('SRID=4674;POINT (-39.03301323764 -3.3940165769309)'))) / (select extract(epoch from '2026-07-16 19:56:35'::timestamp) - extract(epoch from '2026-07-16 19:56: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'), 47428, 'SRID=4674;POINT (-39.032990187407 -3.3941138908267)', '2026-07-16 19:56:40', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03301323764 -3.3940165769309)'), GeomFromEWKT('SRID=4674;POINT (-39.032990187407 -3.3941138908267)'))) / (select extract(epoch from '2026-07-16 19:56:40'::timestamp) - extract(epoch from '2026-07-16 19:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03301323764 -3.3940165769309)'), GeomFromEWKT('SRID=4674;POINT (-39.032990187407 -3.3941138908267)'))) / (select extract(epoch from '2026-07-16 19:56:40'::timestamp) - extract(epoch from '2026-07-16 19:56:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.032990271226 -3.3942482527345)', '2026-07-16 19:56:47', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032990187407 -3.3941138908267)'), GeomFromEWKT('SRID=4674;POINT (-39.032990271226 -3.3942482527345)'))) / (select extract(epoch from '2026-07-16 19:56:47'::timestamp) - extract(epoch from '2026-07-16 19:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032990187407 -3.3941138908267)'), GeomFromEWKT('SRID=4674;POINT (-39.032990271226 -3.3942482527345)'))) / (select extract(epoch from '2026-07-16 19:56:47'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.032972082496 -3.3943732269108)', '2026-07-16 19:56:54', 8.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032990271226 -3.3942482527345)'), GeomFromEWKT('SRID=4674;POINT (-39.032972082496 -3.3943732269108)'))) / (select extract(epoch from '2026-07-16 19:56:54'::timestamp) - extract(epoch from '2026-07-16 19:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032990271226 -3.3942482527345)'), GeomFromEWKT('SRID=4674;POINT (-39.032972082496 -3.3943732269108)'))) / (select extract(epoch from '2026-07-16 19:56:54'::timestamp) - extract(epoch from '2026-07-16 19:56:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.032951463014 -3.394484622404)', '2026-07-16 19:57:00', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032972082496 -3.3943732269108)'), GeomFromEWKT('SRID=4674;POINT (-39.032951463014 -3.394484622404)'))) / (select extract(epoch from '2026-07-16 19:57:00'::timestamp) - extract(epoch from '2026-07-16 19:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032972082496 -3.3943732269108)'), GeomFromEWKT('SRID=4674;POINT (-39.032951463014 -3.394484622404)'))) / (select extract(epoch from '2026-07-16 19:57:00'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.032935285941 -3.3945593889803)', '2026-07-16 19:57:04', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032951463014 -3.394484622404)'), GeomFromEWKT('SRID=4674;POINT (-39.032935285941 -3.3945593889803)'))) / (select extract(epoch from '2026-07-16 19:57:04'::timestamp) - extract(epoch from '2026-07-16 19:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032951463014 -3.394484622404)'), GeomFromEWKT('SRID=4674;POINT (-39.032935285941 -3.3945593889803)'))) / (select extract(epoch from '2026-07-16 19:57:04'::timestamp) - extract(epoch from '2026-07-16 19:57:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.032899579033 -3.3946905657649)', '2026-07-16 19:57:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032935285941 -3.3945593889803)'), GeomFromEWKT('SRID=4674;POINT (-39.032899579033 -3.3946905657649)'))) / (select extract(epoch from '2026-07-16 19:57:11'::timestamp) - extract(epoch from '2026-07-16 19:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032935285941 -3.3945593889803)'), GeomFromEWKT('SRID=4674;POINT (-39.032899579033 -3.3946905657649)'))) / (select extract(epoch from '2026-07-16 19:57:11'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.032888347283 -3.3948197308928)', '2026-07-16 19:57:18', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032899579033 -3.3946905657649)'), GeomFromEWKT('SRID=4674;POINT (-39.032888347283 -3.3948197308928)'))) / (select extract(epoch from '2026-07-16 19:57:18'::timestamp) - extract(epoch from '2026-07-16 19:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032899579033 -3.3946905657649)'), GeomFromEWKT('SRID=4674;POINT (-39.032888347283 -3.3948197308928)'))) / (select extract(epoch from '2026-07-16 19:57:18'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.032884659246 -3.394857449457)', '2026-07-16 19:57:20', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032888347283 -3.3948197308928)'), GeomFromEWKT('SRID=4674;POINT (-39.032884659246 -3.394857449457)'))) / (select extract(epoch from '2026-07-16 19:57:20'::timestamp) - extract(epoch from '2026-07-16 19:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032888347283 -3.3948197308928)'), GeomFromEWKT('SRID=4674;POINT (-39.032884659246 -3.394857449457)'))) / (select extract(epoch from '2026-07-16 19:57:20'::timestamp) - extract(epoch from '2026-07-16 19:57: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'), 47428, 'SRID=4674;POINT (-39.032890275121 -3.3949217386544)', '2026-07-16 19:57:23', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032884659246 -3.394857449457)'), GeomFromEWKT('SRID=4674;POINT (-39.032890275121 -3.3949217386544)'))) / (select extract(epoch from '2026-07-16 19:57:23'::timestamp) - extract(epoch from '2026-07-16 19:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032884659246 -3.394857449457)'), GeomFromEWKT('SRID=4674;POINT (-39.032890275121 -3.3949217386544)'))) / (select extract(epoch from '2026-07-16 19:57:23'::timestamp) - extract(epoch from '2026-07-16 19:57: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'), 47428, 'SRID=4674;POINT (-39.032865045592 -3.3950250875205)', '2026-07-16 19:57:29', 1.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032890275121 -3.3949217386544)'), GeomFromEWKT('SRID=4674;POINT (-39.032865045592 -3.3950250875205)'))) / (select extract(epoch from '2026-07-16 19:57:29'::timestamp) - extract(epoch from '2026-07-16 19:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032890275121 -3.3949217386544)'), GeomFromEWKT('SRID=4674;POINT (-39.032865045592 -3.3950250875205)'))) / (select extract(epoch from '2026-07-16 19:57:29'::timestamp) - extract(epoch from '2026-07-16 19:57: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'), 47428, 'SRID=4674;POINT (-39.03284098953 -3.3951659873128)', '2026-07-16 19:57:36', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032865045592 -3.3950250875205)'), GeomFromEWKT('SRID=4674;POINT (-39.03284098953 -3.3951659873128)'))) / (select extract(epoch from '2026-07-16 19:57:36'::timestamp) - extract(epoch from '2026-07-16 19:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032865045592 -3.3950250875205)'), GeomFromEWKT('SRID=4674;POINT (-39.03284098953 -3.3951659873128)'))) / (select extract(epoch from '2026-07-16 19:57:36'::timestamp) - extract(epoch from '2026-07-16 19:57: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'), 47428, 'SRID=4674;POINT (-39.032833026722 -3.395309150219)', '2026-07-16 19:57:43', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03284098953 -3.3951659873128)'), GeomFromEWKT('SRID=4674;POINT (-39.032833026722 -3.395309150219)'))) / (select extract(epoch from '2026-07-16 19:57:43'::timestamp) - extract(epoch from '2026-07-16 19:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03284098953 -3.3951659873128)'), GeomFromEWKT('SRID=4674;POINT (-39.032833026722 -3.395309150219)'))) / (select extract(epoch from '2026-07-16 19:57:43'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.032832188532 -3.3954294305295)', '2026-07-16 19:57:49', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032833026722 -3.395309150219)'), GeomFromEWKT('SRID=4674;POINT (-39.032832188532 -3.3954294305295)'))) / (select extract(epoch from '2026-07-16 19:57:49'::timestamp) - extract(epoch from '2026-07-16 19:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032833026722 -3.395309150219)'), GeomFromEWKT('SRID=4674;POINT (-39.032832188532 -3.3954294305295)'))) / (select extract(epoch from '2026-07-16 19:57:49'::timestamp) - extract(epoch from '2026-07-16 19:57: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'), 47428, 'SRID=4674;POINT (-39.032826153561 -3.3955484535545)', '2026-07-16 19:57:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032832188532 -3.3954294305295)'), GeomFromEWKT('SRID=4674;POINT (-39.032826153561 -3.3955484535545)'))) / (select extract(epoch from '2026-07-16 19:57:55'::timestamp) - extract(epoch from '2026-07-16 19:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032832188532 -3.3954294305295)'), GeomFromEWKT('SRID=4674;POINT (-39.032826153561 -3.3955484535545)'))) / (select extract(epoch from '2026-07-16 19:57:55'::timestamp) - extract(epoch from '2026-07-16 19:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.032781142741 -3.3956947177649)', '2026-07-16 19:58:03', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032826153561 -3.3955484535545)'), GeomFromEWKT('SRID=4674;POINT (-39.032781142741 -3.3956947177649)'))) / (select extract(epoch from '2026-07-16 19:58:03'::timestamp) - extract(epoch from '2026-07-16 19:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032826153561 -3.3955484535545)'), GeomFromEWKT('SRID=4674;POINT (-39.032781142741 -3.3956947177649)'))) / (select extract(epoch from '2026-07-16 19:58:03'::timestamp) - extract(epoch from '2026-07-16 19:57: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'), 47428, 'SRID=4674;POINT (-39.032764630392 -3.3958132378757)', '2026-07-16 19:58:09', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032781142741 -3.3956947177649)'), GeomFromEWKT('SRID=4674;POINT (-39.032764630392 -3.3958132378757)'))) / (select extract(epoch from '2026-07-16 19:58:09'::timestamp) - extract(epoch from '2026-07-16 19:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032781142741 -3.3956947177649)'), GeomFromEWKT('SRID=4674;POINT (-39.032764630392 -3.3958132378757)'))) / (select extract(epoch from '2026-07-16 19:58:09'::timestamp) - extract(epoch from '2026-07-16 19:58: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'), 47428, 'SRID=4674;POINT (-39.032746776938 -3.3959470968693)', '2026-07-16 19:58:16', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032764630392 -3.3958132378757)'), GeomFromEWKT('SRID=4674;POINT (-39.032746776938 -3.3959470968693)'))) / (select extract(epoch from '2026-07-16 19:58:16'::timestamp) - extract(epoch from '2026-07-16 19:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032764630392 -3.3958132378757)'), GeomFromEWKT('SRID=4674;POINT (-39.032746776938 -3.3959470968693)'))) / (select extract(epoch from '2026-07-16 19:58:16'::timestamp) - extract(epoch from '2026-07-16 19:58: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'), 47428, 'SRID=4674;POINT (-39.032732695341 -3.3960323408246)', '2026-07-16 19:58:21', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032746776938 -3.3959470968693)'), GeomFromEWKT('SRID=4674;POINT (-39.032732695341 -3.3960323408246)'))) / (select extract(epoch from '2026-07-16 19:58:21'::timestamp) - extract(epoch from '2026-07-16 19:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032746776938 -3.3959470968693)'), GeomFromEWKT('SRID=4674;POINT (-39.032732695341 -3.3960323408246)'))) / (select extract(epoch from '2026-07-16 19:58:21'::timestamp) - extract(epoch from '2026-07-16 19:58: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'), 47428, 'SRID=4674;POINT (-39.032710483298 -3.3961401320994)', '2026-07-16 19:58:27', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032732695341 -3.3960323408246)'), GeomFromEWKT('SRID=4674;POINT (-39.032710483298 -3.3961401320994)'))) / (select extract(epoch from '2026-07-16 19:58:27'::timestamp) - extract(epoch from '2026-07-16 19:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032732695341 -3.3960323408246)'), GeomFromEWKT('SRID=4674;POINT (-39.032710483298 -3.3961401320994)'))) / (select extract(epoch from '2026-07-16 19:58:27'::timestamp) - extract(epoch from '2026-07-16 19:58: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'), 47428, 'SRID=4674;POINT (-39.032672345638 -3.3962751645595)', '2026-07-16 19:58:34', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032710483298 -3.3961401320994)'), GeomFromEWKT('SRID=4674;POINT (-39.032672345638 -3.3962751645595)'))) / (select extract(epoch from '2026-07-16 19:58:34'::timestamp) - extract(epoch from '2026-07-16 19:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032710483298 -3.3961401320994)'), GeomFromEWKT('SRID=4674;POINT (-39.032672345638 -3.3962751645595)'))) / (select extract(epoch from '2026-07-16 19:58:34'::timestamp) - extract(epoch from '2026-07-16 19:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.032645020634 -3.3964346721768)', '2026-07-16 19:58:42', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032672345638 -3.3962751645595)'), GeomFromEWKT('SRID=4674;POINT (-39.032645020634 -3.3964346721768)'))) / (select extract(epoch from '2026-07-16 19:58:42'::timestamp) - extract(epoch from '2026-07-16 19:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032672345638 -3.3962751645595)'), GeomFromEWKT('SRID=4674;POINT (-39.032645020634 -3.3964346721768)'))) / (select extract(epoch from '2026-07-16 19:58:42'::timestamp) - extract(epoch from '2026-07-16 19:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.03263068758 -3.3965572994202)', '2026-07-16 19:58:48', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032645020634 -3.3964346721768)'), GeomFromEWKT('SRID=4674;POINT (-39.03263068758 -3.3965572994202)'))) / (select extract(epoch from '2026-07-16 19:58:48'::timestamp) - extract(epoch from '2026-07-16 19:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032645020634 -3.3964346721768)'), GeomFromEWKT('SRID=4674;POINT (-39.03263068758 -3.3965572994202)'))) / (select extract(epoch from '2026-07-16 19:58:48'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.032614342868 -3.3966658450663)', '2026-07-16 19:58:54', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03263068758 -3.3965572994202)'), GeomFromEWKT('SRID=4674;POINT (-39.032614342868 -3.3966658450663)'))) / (select extract(epoch from '2026-07-16 19:58:54'::timestamp) - extract(epoch from '2026-07-16 19:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03263068758 -3.3965572994202)'), GeomFromEWKT('SRID=4674;POINT (-39.032614342868 -3.3966658450663)'))) / (select extract(epoch from '2026-07-16 19:58:54'::timestamp) - extract(epoch from '2026-07-16 19:58: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'), 47428, 'SRID=4674;POINT (-39.032594477758 -3.3968041464686)', '2026-07-16 19:59:01', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032614342868 -3.3966658450663)'), GeomFromEWKT('SRID=4674;POINT (-39.032594477758 -3.3968041464686)'))) / (select extract(epoch from '2026-07-16 19:59:01'::timestamp) - extract(epoch from '2026-07-16 19:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032614342868 -3.3966658450663)'), GeomFromEWKT('SRID=4674;POINT (-39.032594477758 -3.3968041464686)'))) / (select extract(epoch from '2026-07-16 19:59:01'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.032572517172 -3.3969261869788)', '2026-07-16 19:59:07', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032594477758 -3.3968041464686)'), GeomFromEWKT('SRID=4674;POINT (-39.032572517172 -3.3969261869788)'))) / (select extract(epoch from '2026-07-16 19:59:07'::timestamp) - extract(epoch from '2026-07-16 19:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032594477758 -3.3968041464686)'), GeomFromEWKT('SRID=4674;POINT (-39.032572517172 -3.3969261869788)'))) / (select extract(epoch from '2026-07-16 19:59:07'::timestamp) - extract(epoch from '2026-07-16 19:59: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'), 47428, 'SRID=4674;POINT (-39.032531026751 -3.3970547653735)', '2026-07-16 19:59:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032572517172 -3.3969261869788)'), GeomFromEWKT('SRID=4674;POINT (-39.032531026751 -3.3970547653735)'))) / (select extract(epoch from '2026-07-16 19:59:14'::timestamp) - extract(epoch from '2026-07-16 19:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032572517172 -3.3969261869788)'), GeomFromEWKT('SRID=4674;POINT (-39.032531026751 -3.3970547653735)'))) / (select extract(epoch from '2026-07-16 19:59:14'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.032517448068 -3.3971643168479)', '2026-07-16 19:59:20', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032531026751 -3.3970547653735)'), GeomFromEWKT('SRID=4674;POINT (-39.032517448068 -3.3971643168479)'))) / (select extract(epoch from '2026-07-16 19:59:20'::timestamp) - extract(epoch from '2026-07-16 19:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032531026751 -3.3970547653735)'), GeomFromEWKT('SRID=4674;POINT (-39.032517448068 -3.3971643168479)'))) / (select extract(epoch from '2026-07-16 19:59:20'::timestamp) - extract(epoch from '2026-07-16 19:59: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'), 47428, 'SRID=4674;POINT (-39.032488446683 -3.3972707670182)', '2026-07-16 19:59:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032517448068 -3.3971643168479)'), GeomFromEWKT('SRID=4674;POINT (-39.032488446683 -3.3972707670182)'))) / (select extract(epoch from '2026-07-16 19:59:26'::timestamp) - extract(epoch from '2026-07-16 19:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032517448068 -3.3971643168479)'), GeomFromEWKT('SRID=4674;POINT (-39.032488446683 -3.3972707670182)'))) / (select extract(epoch from '2026-07-16 19:59:26'::timestamp) - extract(epoch from '2026-07-16 19:59:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.032466067001 -3.397389287129)', '2026-07-16 19:59:32', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032488446683 -3.3972707670182)'), GeomFromEWKT('SRID=4674;POINT (-39.032466067001 -3.397389287129)'))) / (select extract(epoch from '2026-07-16 19:59:32'::timestamp) - extract(epoch from '2026-07-16 19:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032488446683 -3.3972707670182)'), GeomFromEWKT('SRID=4674;POINT (-39.032466067001 -3.397389287129)'))) / (select extract(epoch from '2026-07-16 19:59:32'::timestamp) - extract(epoch from '2026-07-16 19:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.03246615082 -3.397508142516)', '2026-07-16 19:59:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032466067001 -3.397389287129)'), GeomFromEWKT('SRID=4674;POINT (-39.03246615082 -3.397508142516)'))) / (select extract(epoch from '2026-07-16 19:59:38'::timestamp) - extract(epoch from '2026-07-16 19:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032466067001 -3.397389287129)'), GeomFromEWKT('SRID=4674;POINT (-39.03246615082 -3.397508142516)'))) / (select extract(epoch from '2026-07-16 19:59:38'::timestamp) - extract(epoch from '2026-07-16 19:59: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'), 47428, 'SRID=4674;POINT (-39.032446872443 -3.3976644650102)', '2026-07-16 19:59:46', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03246615082 -3.397508142516)'), GeomFromEWKT('SRID=4674;POINT (-39.032446872443 -3.3976644650102)'))) / (select extract(epoch from '2026-07-16 19:59:46'::timestamp) - extract(epoch from '2026-07-16 19:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03246615082 -3.397508142516)'), GeomFromEWKT('SRID=4674;POINT (-39.032446872443 -3.3976644650102)'))) / (select extract(epoch from '2026-07-16 19:59:46'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.032412590459 -3.3978052809834)', '2026-07-16 19:59:53', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032446872443 -3.3976644650102)'), GeomFromEWKT('SRID=4674;POINT (-39.032412590459 -3.3978052809834)'))) / (select extract(epoch from '2026-07-16 19:59:53'::timestamp) - extract(epoch from '2026-07-16 19:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032446872443 -3.3976644650102)'), GeomFromEWKT('SRID=4674;POINT (-39.032412590459 -3.3978052809834)'))) / (select extract(epoch from '2026-07-16 19:59:53'::timestamp) - extract(epoch from '2026-07-16 19:59: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'), 47428, 'SRID=4674;POINT (-39.032392976806 -3.397925561294)', '2026-07-16 20:00:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032412590459 -3.3978052809834)'), GeomFromEWKT('SRID=4674;POINT (-39.032392976806 -3.397925561294)'))) / (select extract(epoch from '2026-07-16 20:00:00'::timestamp) - extract(epoch from '2026-07-16 19:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032412590459 -3.3978052809834)'), GeomFromEWKT('SRID=4674;POINT (-39.032392976806 -3.397925561294)'))) / (select extract(epoch from '2026-07-16 20:00:00'::timestamp) - extract(epoch from '2026-07-16 19: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'), 47428, 'SRID=4674;POINT (-39.032355844975 -3.3980725798756)', '2026-07-16 20:00:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032392976806 -3.397925561294)'), GeomFromEWKT('SRID=4674;POINT (-39.032355844975 -3.3980725798756)'))) / (select extract(epoch from '2026-07-16 20:00:08'::timestamp) - extract(epoch from '2026-07-16 20:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032392976806 -3.397925561294)'), GeomFromEWKT('SRID=4674;POINT (-39.032355844975 -3.3980725798756)'))) / (select extract(epoch from '2026-07-16 20:00:08'::timestamp) - extract(epoch from '2026-07-16 20:00:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.032322568819 -3.3981798682362)', '2026-07-16 20:00:14', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032355844975 -3.3980725798756)'), GeomFromEWKT('SRID=4674;POINT (-39.032322568819 -3.3981798682362)'))) / (select extract(epoch from '2026-07-16 20:00:14'::timestamp) - extract(epoch from '2026-07-16 20:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032355844975 -3.3980725798756)'), GeomFromEWKT('SRID=4674;POINT (-39.032322568819 -3.3981798682362)'))) / (select extract(epoch from '2026-07-16 20:00:14'::timestamp) - extract(epoch from '2026-07-16 20:00:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.032292645425 -3.3983366936445)', '2026-07-16 20:00:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032322568819 -3.3981798682362)'), GeomFromEWKT('SRID=4674;POINT (-39.032292645425 -3.3983366936445)'))) / (select extract(epoch from '2026-07-16 20:00:22'::timestamp) - extract(epoch from '2026-07-16 20:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032322568819 -3.3981798682362)'), GeomFromEWKT('SRID=4674;POINT (-39.032292645425 -3.3983366936445)'))) / (select extract(epoch from '2026-07-16 20:00:22'::timestamp) - extract(epoch from '2026-07-16 20: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'), 47428, 'SRID=4674;POINT (-39.032257776707 -3.3984718937427)', '2026-07-16 20:00:29', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032292645425 -3.3983366936445)'), GeomFromEWKT('SRID=4674;POINT (-39.032257776707 -3.3984718937427)'))) / (select extract(epoch from '2026-07-16 20:00:29'::timestamp) - extract(epoch from '2026-07-16 20:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032292645425 -3.3983366936445)'), GeomFromEWKT('SRID=4674;POINT (-39.032257776707 -3.3984718937427)'))) / (select extract(epoch from '2026-07-16 20:00:29'::timestamp) - extract(epoch from '2026-07-16 20:00:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.032205892727 -3.3986333291978)', '2026-07-16 20:00:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032257776707 -3.3984718937427)'), GeomFromEWKT('SRID=4674;POINT (-39.032205892727 -3.3986333291978)'))) / (select extract(epoch from '2026-07-16 20:00:38'::timestamp) - extract(epoch from '2026-07-16 20:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032257776707 -3.3984718937427)'), GeomFromEWKT('SRID=4674;POINT (-39.032205892727 -3.3986333291978)'))) / (select extract(epoch from '2026-07-16 20:00:38'::timestamp) - extract(epoch from '2026-07-16 20:00: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'), 47428, 'SRID=4674;POINT (-39.032174544409 -3.3987693674862)', '2026-07-16 20:00:45', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032205892727 -3.3986333291978)'), GeomFromEWKT('SRID=4674;POINT (-39.032174544409 -3.3987693674862)'))) / (select extract(epoch from '2026-07-16 20:00:45'::timestamp) - extract(epoch from '2026-07-16 20:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032205892727 -3.3986333291978)'), GeomFromEWKT('SRID=4674;POINT (-39.032174544409 -3.3987693674862)'))) / (select extract(epoch from '2026-07-16 20:00:45'::timestamp) - extract(epoch from '2026-07-16 20:00:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.032154595479 -3.398898281157)', '2026-07-16 20:00:52', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032174544409 -3.3987693674862)'), GeomFromEWKT('SRID=4674;POINT (-39.032154595479 -3.398898281157)'))) / (select extract(epoch from '2026-07-16 20:00:52'::timestamp) - extract(epoch from '2026-07-16 20:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032174544409 -3.3987693674862)'), GeomFromEWKT('SRID=4674;POINT (-39.032154595479 -3.398898281157)'))) / (select extract(epoch from '2026-07-16 20:00:52'::timestamp) - extract(epoch from '2026-07-16 20: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'), 47428, 'SRID=4674;POINT (-39.032127354294 -3.3990440424532)', '2026-07-16 20:01:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032154595479 -3.398898281157)'), GeomFromEWKT('SRID=4674;POINT (-39.032127354294 -3.3990440424532)'))) / (select extract(epoch from '2026-07-16 20:01:00'::timestamp) - extract(epoch from '2026-07-16 20:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032154595479 -3.398898281157)'), GeomFromEWKT('SRID=4674;POINT (-39.032127354294 -3.3990440424532)'))) / (select extract(epoch from '2026-07-16 20:01:00'::timestamp) - extract(epoch from '2026-07-16 20: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'), 47428, 'SRID=4674;POINT (-39.032108159736 -3.3991803321987)', '2026-07-16 20:01:07', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032127354294 -3.3990440424532)'), GeomFromEWKT('SRID=4674;POINT (-39.032108159736 -3.3991803321987)'))) / (select extract(epoch from '2026-07-16 20:01:07'::timestamp) - extract(epoch from '2026-07-16 20:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032127354294 -3.3990440424532)'), GeomFromEWKT('SRID=4674;POINT (-39.032108159736 -3.3991803321987)'))) / (select extract(epoch from '2026-07-16 20:01:07'::timestamp) - extract(epoch from '2026-07-16 20:01:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.032069519162 -3.3992980979383)', '2026-07-16 20:01:13', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032108159736 -3.3991803321987)'), GeomFromEWKT('SRID=4674;POINT (-39.032069519162 -3.3992980979383)'))) / (select extract(epoch from '2026-07-16 20:01:13'::timestamp) - extract(epoch from '2026-07-16 20:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032108159736 -3.3991803321987)'), GeomFromEWKT('SRID=4674;POINT (-39.032069519162 -3.3992980979383)'))) / (select extract(epoch from '2026-07-16 20:01:13'::timestamp) - extract(epoch from '2026-07-16 20:01: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'), 47428, 'SRID=4674;POINT (-39.032008750364 -3.3994674962014)', '2026-07-16 20:01:22', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032069519162 -3.3992980979383)'), GeomFromEWKT('SRID=4674;POINT (-39.032008750364 -3.3994674962014)'))) / (select extract(epoch from '2026-07-16 20:01:22'::timestamp) - extract(epoch from '2026-07-16 20:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032069519162 -3.3992980979383)'), GeomFromEWKT('SRID=4674;POINT (-39.032008750364 -3.3994674962014)'))) / (select extract(epoch from '2026-07-16 20:01:22'::timestamp) - extract(epoch from '2026-07-16 20:01:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.031974384561 -3.3995976671576)', '2026-07-16 20:01:29', 9.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032008750364 -3.3994674962014)'), GeomFromEWKT('SRID=4674;POINT (-39.031974384561 -3.3995976671576)'))) / (select extract(epoch from '2026-07-16 20:01:29'::timestamp) - extract(epoch from '2026-07-16 20:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032008750364 -3.3994674962014)'), GeomFromEWKT('SRID=4674;POINT (-39.031974384561 -3.3995976671576)'))) / (select extract(epoch from '2026-07-16 20:01:29'::timestamp) - extract(epoch from '2026-07-16 20: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'), 47428, 'SRID=4674;POINT (-39.031931385398 -3.3997305203229)', '2026-07-16 20:01:36', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031974384561 -3.3995976671576)'), GeomFromEWKT('SRID=4674;POINT (-39.031931385398 -3.3997305203229)'))) / (select extract(epoch from '2026-07-16 20:01:36'::timestamp) - extract(epoch from '2026-07-16 20:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031974384561 -3.3995976671576)'), GeomFromEWKT('SRID=4674;POINT (-39.031931385398 -3.3997305203229)'))) / (select extract(epoch from '2026-07-16 20:01:36'::timestamp) - extract(epoch from '2026-07-16 20:01:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.03185678646 -3.3998594339937)', '2026-07-16 20:01:44', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031931385398 -3.3997305203229)'), GeomFromEWKT('SRID=4674;POINT (-39.03185678646 -3.3998594339937)'))) / (select extract(epoch from '2026-07-16 20:01:44'::timestamp) - extract(epoch from '2026-07-16 20:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031931385398 -3.3997305203229)'), GeomFromEWKT('SRID=4674;POINT (-39.03185678646 -3.3998594339937)'))) / (select extract(epoch from '2026-07-16 20:01:44'::timestamp) - extract(epoch from '2026-07-16 20:01:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.031796269119 -3.3999741822481)', '2026-07-16 20:01:51', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03185678646 -3.3998594339937)'), GeomFromEWKT('SRID=4674;POINT (-39.031796269119 -3.3999741822481)'))) / (select extract(epoch from '2026-07-16 20:01:51'::timestamp) - extract(epoch from '2026-07-16 20:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03185678646 -3.3998594339937)'), GeomFromEWKT('SRID=4674;POINT (-39.031796269119 -3.3999741822481)'))) / (select extract(epoch from '2026-07-16 20:01:51'::timestamp) - extract(epoch from '2026-07-16 20: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'), 47428, 'SRID=4674;POINT (-39.031743295491 -3.4000762738287)', '2026-07-16 20:01:57', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031796269119 -3.3999741822481)'), GeomFromEWKT('SRID=4674;POINT (-39.031743295491 -3.4000762738287)'))) / (select extract(epoch from '2026-07-16 20:01:57'::timestamp) - extract(epoch from '2026-07-16 20:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031796269119 -3.3999741822481)'), GeomFromEWKT('SRID=4674;POINT (-39.031743295491 -3.4000762738287)'))) / (select extract(epoch from '2026-07-16 20:01:57'::timestamp) - extract(epoch from '2026-07-16 20:01:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.031713875011 -3.4001973923296)', '2026-07-16 20:02:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031743295491 -3.4000762738287)'), GeomFromEWKT('SRID=4674;POINT (-39.031713875011 -3.4001973923296)'))) / (select extract(epoch from '2026-07-16 20:02:03'::timestamp) - extract(epoch from '2026-07-16 20:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031743295491 -3.4000762738287)'), GeomFromEWKT('SRID=4674;POINT (-39.031713875011 -3.4001973923296)'))) / (select extract(epoch from '2026-07-16 20:02:03'::timestamp) - extract(epoch from '2026-07-16 20:01: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'), 47428, 'SRID=4674;POINT (-39.031676072627 -3.4003559779376)', '2026-07-16 20:02:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031713875011 -3.4001973923296)'), GeomFromEWKT('SRID=4674;POINT (-39.031676072627 -3.4003559779376)'))) / (select extract(epoch from '2026-07-16 20:02:11'::timestamp) - extract(epoch from '2026-07-16 20:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031713875011 -3.4001973923296)'), GeomFromEWKT('SRID=4674;POINT (-39.031676072627 -3.4003559779376)'))) / (select extract(epoch from '2026-07-16 20:02:11'::timestamp) - extract(epoch from '2026-07-16 20:02:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.03160222806 -3.4005062654614)', '2026-07-16 20:02:20', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031676072627 -3.4003559779376)'), GeomFromEWKT('SRID=4674;POINT (-39.03160222806 -3.4005062654614)'))) / (select extract(epoch from '2026-07-16 20:02:20'::timestamp) - extract(epoch from '2026-07-16 20:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031676072627 -3.4003559779376)'), GeomFromEWKT('SRID=4674;POINT (-39.03160222806 -3.4005062654614)'))) / (select extract(epoch from '2026-07-16 20:02:20'::timestamp) - extract(epoch from '2026-07-16 20: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'), 47428, 'SRID=4674;POINT (-39.031517822295 -3.4006493445486)', '2026-07-16 20:02:29', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03160222806 -3.4005062654614)'), GeomFromEWKT('SRID=4674;POINT (-39.031517822295 -3.4006493445486)'))) / (select extract(epoch from '2026-07-16 20:02:29'::timestamp) - extract(epoch from '2026-07-16 20:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03160222806 -3.4005062654614)'), GeomFromEWKT('SRID=4674;POINT (-39.031517822295 -3.4006493445486)'))) / (select extract(epoch from '2026-07-16 20:02:29'::timestamp) - extract(epoch from '2026-07-16 20:02: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'), 47428, 'SRID=4674;POINT (-39.031435679644 -3.4008145518601)', '2026-07-16 20:02:38', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031517822295 -3.4006493445486)'), GeomFromEWKT('SRID=4674;POINT (-39.031435679644 -3.4008145518601)'))) / (select extract(epoch from '2026-07-16 20:02:38'::timestamp) - extract(epoch from '2026-07-16 20:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031517822295 -3.4006493445486)'), GeomFromEWKT('SRID=4674;POINT (-39.031435679644 -3.4008145518601)'))) / (select extract(epoch from '2026-07-16 20:02:38'::timestamp) - extract(epoch from '2026-07-16 20:02: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'), 47428, 'SRID=4674;POINT (-39.031363260001 -3.4009132906795)', '2026-07-16 20:02:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031435679644 -3.4008145518601)'), GeomFromEWKT('SRID=4674;POINT (-39.031363260001 -3.4009132906795)'))) / (select extract(epoch from '2026-07-16 20:02:45'::timestamp) - extract(epoch from '2026-07-16 20:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031435679644 -3.4008145518601)'), GeomFromEWKT('SRID=4674;POINT (-39.031363260001 -3.4009132906795)'))) / (select extract(epoch from '2026-07-16 20:02:45'::timestamp) - extract(epoch from '2026-07-16 20:02: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'), 47428, 'SRID=4674;POINT (-39.03128287755 -3.4010611474514)', '2026-07-16 20:02:53', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031363260001 -3.4009132906795)'), GeomFromEWKT('SRID=4674;POINT (-39.03128287755 -3.4010611474514)'))) / (select extract(epoch from '2026-07-16 20:02:53'::timestamp) - extract(epoch from '2026-07-16 20:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031363260001 -3.4009132906795)'), GeomFromEWKT('SRID=4674;POINT (-39.03128287755 -3.4010611474514)'))) / (select extract(epoch from '2026-07-16 20:02:53'::timestamp) - extract(epoch from '2026-07-16 20:02: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'), 47428, 'SRID=4674;POINT (-39.031205093488 -3.4012041427195)', '2026-07-16 20:03:02', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03128287755 -3.4010611474514)'), GeomFromEWKT('SRID=4674;POINT (-39.031205093488 -3.4012041427195)'))) / (select extract(epoch from '2026-07-16 20:03:02'::timestamp) - extract(epoch from '2026-07-16 20:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03128287755 -3.4010611474514)'), GeomFromEWKT('SRID=4674;POINT (-39.031205093488 -3.4012041427195)'))) / (select extract(epoch from '2026-07-16 20:03:02'::timestamp) - extract(epoch from '2026-07-16 20:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.031120687723 -3.4013078268617)', '2026-07-16 20:03:08', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031205093488 -3.4012041427195)'), GeomFromEWKT('SRID=4674;POINT (-39.031120687723 -3.4013078268617)'))) / (select extract(epoch from '2026-07-16 20:03:08'::timestamp) - extract(epoch from '2026-07-16 20:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031205093488 -3.4012041427195)'), GeomFromEWKT('SRID=4674;POINT (-39.031120687723 -3.4013078268617)'))) / (select extract(epoch from '2026-07-16 20:03:08'::timestamp) - extract(epoch from '2026-07-16 20:03:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.031042652205 -3.4014403447509)', '2026-07-16 20:03:15', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031120687723 -3.4013078268617)'), GeomFromEWKT('SRID=4674;POINT (-39.031042652205 -3.4014403447509)'))) / (select extract(epoch from '2026-07-16 20:03:15'::timestamp) - extract(epoch from '2026-07-16 20:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031120687723 -3.4013078268617)'), GeomFromEWKT('SRID=4674;POINT (-39.031042652205 -3.4014403447509)'))) / (select extract(epoch from '2026-07-16 20:03:15'::timestamp) - extract(epoch from '2026-07-16 20: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'), 47428, 'SRID=4674;POINT (-39.030960341915 -3.4016059711576)', '2026-07-16 20:03:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031042652205 -3.4014403447509)'), GeomFromEWKT('SRID=4674;POINT (-39.030960341915 -3.4016059711576)'))) / (select extract(epoch from '2026-07-16 20:03:24'::timestamp) - extract(epoch from '2026-07-16 20:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031042652205 -3.4014403447509)'), GeomFromEWKT('SRID=4674;POINT (-39.030960341915 -3.4016059711576)'))) / (select extract(epoch from '2026-07-16 20:03:24'::timestamp) - extract(epoch from '2026-07-16 20:03: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'), 47428, 'SRID=4674;POINT (-39.030904434621 -3.401755085215)', '2026-07-16 20:03:32', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030960341915 -3.4016059711576)'), GeomFromEWKT('SRID=4674;POINT (-39.030904434621 -3.401755085215)'))) / (select extract(epoch from '2026-07-16 20:03:32'::timestamp) - extract(epoch from '2026-07-16 20:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030960341915 -3.4016059711576)'), GeomFromEWKT('SRID=4674;POINT (-39.030904434621 -3.401755085215)'))) / (select extract(epoch from '2026-07-16 20:03:32'::timestamp) - extract(epoch from '2026-07-16 20: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'), 47428, 'SRID=4674;POINT (-39.030880127102 -3.4018715936691)', '2026-07-16 20:03:38', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030904434621 -3.401755085215)'), GeomFromEWKT('SRID=4674;POINT (-39.030880127102 -3.4018715936691)'))) / (select extract(epoch from '2026-07-16 20:03:38'::timestamp) - extract(epoch from '2026-07-16 20:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030904434621 -3.401755085215)'), GeomFromEWKT('SRID=4674;POINT (-39.030880127102 -3.4018715936691)'))) / (select extract(epoch from '2026-07-16 20:03:38'::timestamp) - extract(epoch from '2026-07-16 20:03: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'), 47428, 'SRID=4674;POINT (-39.030796475708 -3.402043338865)', '2026-07-16 20:03:47', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030880127102 -3.4018715936691)'), GeomFromEWKT('SRID=4674;POINT (-39.030796475708 -3.402043338865)'))) / (select extract(epoch from '2026-07-16 20:03:47'::timestamp) - extract(epoch from '2026-07-16 20:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030880127102 -3.4018715936691)'), GeomFromEWKT('SRID=4674;POINT (-39.030796475708 -3.402043338865)'))) / (select extract(epoch from '2026-07-16 20:03:47'::timestamp) - extract(epoch from '2026-07-16 20:03:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030751632527 -3.4021310973912)', '2026-07-16 20:03:53', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030796475708 -3.402043338865)'), GeomFromEWKT('SRID=4674;POINT (-39.030751632527 -3.4021310973912)'))) / (select extract(epoch from '2026-07-16 20:03:53'::timestamp) - extract(epoch from '2026-07-16 20:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030796475708 -3.402043338865)'), GeomFromEWKT('SRID=4674;POINT (-39.030751632527 -3.4021310973912)'))) / (select extract(epoch from '2026-07-16 20:03:53'::timestamp) - extract(epoch from '2026-07-16 20:03: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'), 47428, 'SRID=4674;POINT (-39.030724139884 -3.4022273216397)', '2026-07-16 20:04:00', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030751632527 -3.4021310973912)'), GeomFromEWKT('SRID=4674;POINT (-39.030724139884 -3.4022273216397)'))) / (select extract(epoch from '2026-07-16 20:04:00'::timestamp) - extract(epoch from '2026-07-16 20:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030751632527 -3.4021310973912)'), GeomFromEWKT('SRID=4674;POINT (-39.030724139884 -3.4022273216397)'))) / (select extract(epoch from '2026-07-16 20:04:00'::timestamp) - extract(epoch from '2026-07-16 20:03:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030710561201 -3.4023129846901)', '2026-07-16 20:04:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030724139884 -3.4022273216397)'), GeomFromEWKT('SRID=4674;POINT (-39.030710561201 -3.4023129846901)'))) / (select extract(epoch from '2026-07-16 20:04:06'::timestamp) - extract(epoch from '2026-07-16 20:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030724139884 -3.4022273216397)'), GeomFromEWKT('SRID=4674;POINT (-39.030710561201 -3.4023129846901)'))) / (select extract(epoch from '2026-07-16 20:04:06'::timestamp) - extract(epoch from '2026-07-16 20:04:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030691785738 -3.4024129807949)', '2026-07-16 20:04:15', -0.20001220703125, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030710561201 -3.4023129846901)'), GeomFromEWKT('SRID=4674;POINT (-39.030691785738 -3.4024129807949)'))) / (select extract(epoch from '2026-07-16 20:04:15'::timestamp) - extract(epoch from '2026-07-16 20:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030710561201 -3.4023129846901)'), GeomFromEWKT('SRID=4674;POINT (-39.030691785738 -3.4024129807949)'))) / (select extract(epoch from '2026-07-16 20:04:15'::timestamp) - extract(epoch from '2026-07-16 20:04:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030696647242 -3.4024937823415)', '2026-07-16 20:04:22', -0.60000610351562, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030691785738 -3.4024129807949)'), GeomFromEWKT('SRID=4674;POINT (-39.030696647242 -3.4024937823415)'))) / (select extract(epoch from '2026-07-16 20:04:22'::timestamp) - extract(epoch from '2026-07-16 20:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030691785738 -3.4024129807949)'), GeomFromEWKT('SRID=4674;POINT (-39.030696647242 -3.4024937823415)'))) / (select extract(epoch from '2026-07-16 20:04:22'::timestamp) - extract(epoch from '2026-07-16 20: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'), 47428, 'SRID=4674;POINT (-39.030690528452 -3.402635268867)', '2026-07-16 20:04:30', -1.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030696647242 -3.4024937823415)'), GeomFromEWKT('SRID=4674;POINT (-39.030690528452 -3.402635268867)'))) / (select extract(epoch from '2026-07-16 20:04:30'::timestamp) - extract(epoch from '2026-07-16 20:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030696647242 -3.4024937823415)'), GeomFromEWKT('SRID=4674;POINT (-39.030690528452 -3.402635268867)'))) / (select extract(epoch from '2026-07-16 20:04:30'::timestamp) - extract(epoch from '2026-07-16 20: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'), 47428, 'SRID=4674;POINT (-39.030657755211 -3.4027306549251)', '2026-07-16 20:04:38', -1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030690528452 -3.402635268867)'), GeomFromEWKT('SRID=4674;POINT (-39.030657755211 -3.4027306549251)'))) / (select extract(epoch from '2026-07-16 20:04:38'::timestamp) - extract(epoch from '2026-07-16 20:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030690528452 -3.402635268867)'), GeomFromEWKT('SRID=4674;POINT (-39.030657755211 -3.4027306549251)'))) / (select extract(epoch from '2026-07-16 20:04:38'::timestamp) - extract(epoch from '2026-07-16 20: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'), 47428, 'SRID=4674;POINT (-39.030642164871 -3.4028345905244)', '2026-07-16 20:04:46', -2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030657755211 -3.4027306549251)'), GeomFromEWKT('SRID=4674;POINT (-39.030642164871 -3.4028345905244)'))) / (select extract(epoch from '2026-07-16 20:04:46'::timestamp) - extract(epoch from '2026-07-16 20:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030657755211 -3.4027306549251)'), GeomFromEWKT('SRID=4674;POINT (-39.030642164871 -3.4028345905244)'))) / (select extract(epoch from '2026-07-16 20:04:46'::timestamp) - extract(epoch from '2026-07-16 20:04:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030646774918 -3.4028832893819)', '2026-07-16 20:04:52', -2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030642164871 -3.4028345905244)'), GeomFromEWKT('SRID=4674;POINT (-39.030646774918 -3.4028832893819)'))) / (select extract(epoch from '2026-07-16 20:04:52'::timestamp) - extract(epoch from '2026-07-16 20:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030642164871 -3.4028345905244)'), GeomFromEWKT('SRID=4674;POINT (-39.030646774918 -3.4028832893819)'))) / (select extract(epoch from '2026-07-16 20:04:52'::timestamp) - extract(epoch from '2026-07-16 20:04: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'), 47428, 'SRID=4674;POINT (-39.030688516796 -3.4030202496797)', '2026-07-16 20:05:03', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030646774918 -3.4028832893819)'), GeomFromEWKT('SRID=4674;POINT (-39.030688516796 -3.4030202496797)'))) / (select extract(epoch from '2026-07-16 20:05:03'::timestamp) - extract(epoch from '2026-07-16 20:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030646774918 -3.4028832893819)'), GeomFromEWKT('SRID=4674;POINT (-39.030688516796 -3.4030202496797)'))) / (select extract(epoch from '2026-07-16 20:05:03'::timestamp) - extract(epoch from '2026-07-16 20:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030696144328 -3.4030848741531)', '2026-07-16 20:05:12', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030688516796 -3.4030202496797)'), GeomFromEWKT('SRID=4674;POINT (-39.030696144328 -3.4030848741531)'))) / (select extract(epoch from '2026-07-16 20:05:12'::timestamp) - extract(epoch from '2026-07-16 20:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030688516796 -3.4030202496797)'), GeomFromEWKT('SRID=4674;POINT (-39.030696144328 -3.4030848741531)'))) / (select extract(epoch from '2026-07-16 20:05:12'::timestamp) - extract(epoch from '2026-07-16 20:05: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'), 47428, 'SRID=4674;POINT (-39.030743753538 -3.4031873848289)', '2026-07-16 20:05:22', -1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030696144328 -3.4030848741531)'), GeomFromEWKT('SRID=4674;POINT (-39.030743753538 -3.4031873848289)'))) / (select extract(epoch from '2026-07-16 20:05:22'::timestamp) - extract(epoch from '2026-07-16 20:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030696144328 -3.4030848741531)'), GeomFromEWKT('SRID=4674;POINT (-39.030743753538 -3.4031873848289)'))) / (select extract(epoch from '2026-07-16 20:05:22'::timestamp) - extract(epoch from '2026-07-16 20:05: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'), 47428, 'SRID=4674;POINT (-39.030749872327 -3.4032618999481)', '2026-07-16 20:05:30', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030743753538 -3.4031873848289)'), GeomFromEWKT('SRID=4674;POINT (-39.030749872327 -3.4032618999481)'))) / (select extract(epoch from '2026-07-16 20:05:30'::timestamp) - extract(epoch from '2026-07-16 20:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030743753538 -3.4031873848289)'), GeomFromEWKT('SRID=4674;POINT (-39.030749872327 -3.4032618999481)'))) / (select extract(epoch from '2026-07-16 20:05:30'::timestamp) - extract(epoch from '2026-07-16 20:05: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'), 47428, 'SRID=4674;POINT (-39.030788429081 -3.4033662546426)', '2026-07-16 20:05:41', -2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030749872327 -3.4032618999481)'), GeomFromEWKT('SRID=4674;POINT (-39.030788429081 -3.4033662546426)'))) / (select extract(epoch from '2026-07-16 20:05:41'::timestamp) - extract(epoch from '2026-07-16 20:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030749872327 -3.4032618999481)'), GeomFromEWKT('SRID=4674;POINT (-39.030788429081 -3.4033662546426)'))) / (select extract(epoch from '2026-07-16 20:05:41'::timestamp) - extract(epoch from '2026-07-16 20:05: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'), 47428, 'SRID=4674;POINT (-39.030831428245 -3.4034664183855)', '2026-07-16 20:05:50', -2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030788429081 -3.4033662546426)'), GeomFromEWKT('SRID=4674;POINT (-39.030831428245 -3.4034664183855)'))) / (select extract(epoch from '2026-07-16 20:05:50'::timestamp) - extract(epoch from '2026-07-16 20:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030788429081 -3.4033662546426)'), GeomFromEWKT('SRID=4674;POINT (-39.030831428245 -3.4034664183855)'))) / (select extract(epoch from '2026-07-16 20:05:50'::timestamp) - extract(epoch from '2026-07-16 20:05: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'), 47428, 'SRID=4674;POINT (-39.030858585611 -3.4035424422473)', '2026-07-16 20:05:59', -2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030831428245 -3.4034664183855)'), GeomFromEWKT('SRID=4674;POINT (-39.030858585611 -3.4035424422473)'))) / (select extract(epoch from '2026-07-16 20:05:59'::timestamp) - extract(epoch from '2026-07-16 20:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030831428245 -3.4034664183855)'), GeomFromEWKT('SRID=4674;POINT (-39.030858585611 -3.4035424422473)'))) / (select extract(epoch from '2026-07-16 20:05:59'::timestamp) - extract(epoch from '2026-07-16 20:05:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030876522884 -3.4035993553698)', '2026-07-16 20:06:05', -2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030858585611 -3.4035424422473)'), GeomFromEWKT('SRID=4674;POINT (-39.030876522884 -3.4035993553698)'))) / (select extract(epoch from '2026-07-16 20:06:05'::timestamp) - extract(epoch from '2026-07-16 20:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030858585611 -3.4035424422473)'), GeomFromEWKT('SRID=4674;POINT (-39.030876522884 -3.4035993553698)'))) / (select extract(epoch from '2026-07-16 20:06:05'::timestamp) - extract(epoch from '2026-07-16 20:05: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'), 47428, 'SRID=4674;POINT (-39.030856657773 -3.4036616329104)', '2026-07-16 20:06:14', -2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030876522884 -3.4035993553698)'), GeomFromEWKT('SRID=4674;POINT (-39.030856657773 -3.4036616329104)'))) / (select extract(epoch from '2026-07-16 20:06:14'::timestamp) - extract(epoch from '2026-07-16 20:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030876522884 -3.4035993553698)'), GeomFromEWKT('SRID=4674;POINT (-39.030856657773 -3.4036616329104)'))) / (select extract(epoch from '2026-07-16 20:06:14'::timestamp) - extract(epoch from '2026-07-16 20:06: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'), 47428, 'SRID=4674;POINT (-39.030874762684 -3.4037506487221)', '2026-07-16 20:06:23', -2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030856657773 -3.4036616329104)'), GeomFromEWKT('SRID=4674;POINT (-39.030874762684 -3.4037506487221)'))) / (select extract(epoch from '2026-07-16 20:06:23'::timestamp) - extract(epoch from '2026-07-16 20:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030856657773 -3.4036616329104)'), GeomFromEWKT('SRID=4674;POINT (-39.030874762684 -3.4037506487221)'))) / (select extract(epoch from '2026-07-16 20:06:23'::timestamp) - extract(epoch from '2026-07-16 20:06: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'), 47428, 'SRID=4674;POINT (-39.030868560076 -3.4038493875414)', '2026-07-16 20:06:31', -2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030874762684 -3.4037506487221)'), GeomFromEWKT('SRID=4674;POINT (-39.030868560076 -3.4038493875414)'))) / (select extract(epoch from '2026-07-16 20:06:31'::timestamp) - extract(epoch from '2026-07-16 20:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030874762684 -3.4037506487221)'), GeomFromEWKT('SRID=4674;POINT (-39.030868560076 -3.4038493875414)'))) / (select extract(epoch from '2026-07-16 20:06:31'::timestamp) - extract(epoch from '2026-07-16 20:06: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'), 47428, 'SRID=4674;POINT (-39.030863279477 -3.4039412532002)', '2026-07-16 20:06:38', -1.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030868560076 -3.4038493875414)'), GeomFromEWKT('SRID=4674;POINT (-39.030863279477 -3.4039412532002)'))) / (select extract(epoch from '2026-07-16 20:06:38'::timestamp) - extract(epoch from '2026-07-16 20:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030868560076 -3.4038493875414)'), GeomFromEWKT('SRID=4674;POINT (-39.030863279477 -3.4039412532002)'))) / (select extract(epoch from '2026-07-16 20:06:38'::timestamp) - extract(epoch from '2026-07-16 20:06: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'), 47428, 'SRID=4674;POINT (-39.030853724107 -3.4039992559701)', '2026-07-16 20:06:43', -1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030863279477 -3.4039412532002)'), GeomFromEWKT('SRID=4674;POINT (-39.030853724107 -3.4039992559701)'))) / (select extract(epoch from '2026-07-16 20:06:43'::timestamp) - extract(epoch from '2026-07-16 20:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030863279477 -3.4039412532002)'), GeomFromEWKT('SRID=4674;POINT (-39.030853724107 -3.4039992559701)'))) / (select extract(epoch from '2026-07-16 20:06:43'::timestamp) - extract(epoch from '2026-07-16 20:06:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030843749642 -3.404017360881)', '2026-07-16 20:06:45', -1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030853724107 -3.4039992559701)'), GeomFromEWKT('SRID=4674;POINT (-39.030843749642 -3.404017360881)'))) / (select extract(epoch from '2026-07-16 20:06:45'::timestamp) - extract(epoch from '2026-07-16 20:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030853724107 -3.4039992559701)'), GeomFromEWKT('SRID=4674;POINT (-39.030843749642 -3.404017360881)'))) / (select extract(epoch from '2026-07-16 20:06:45'::timestamp) - extract(epoch from '2026-07-16 20:06: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'), 47428, 'SRID=4674;POINT (-39.030834194273 -3.4040663950145)', '2026-07-16 20:06:52', -1.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030843749642 -3.404017360881)'), GeomFromEWKT('SRID=4674;POINT (-39.030834194273 -3.4040663950145)'))) / (select extract(epoch from '2026-07-16 20:06:52'::timestamp) - extract(epoch from '2026-07-16 20:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030843749642 -3.404017360881)'), GeomFromEWKT('SRID=4674;POINT (-39.030834194273 -3.4040663950145)'))) / (select extract(epoch from '2026-07-16 20:06:52'::timestamp) - extract(epoch from '2026-07-16 20:06: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'), 47428, 'SRID=4674;POINT (-39.030823549256 -3.4041359648108)', '2026-07-16 20:06:59', -1.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030834194273 -3.4040663950145)'), GeomFromEWKT('SRID=4674;POINT (-39.030823549256 -3.4041359648108)'))) / (select extract(epoch from '2026-07-16 20:06:59'::timestamp) - extract(epoch from '2026-07-16 20:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030834194273 -3.4040663950145)'), GeomFromEWKT('SRID=4674;POINT (-39.030823549256 -3.4041359648108)'))) / (select extract(epoch from '2026-07-16 20:06:59'::timestamp) - extract(epoch from '2026-07-16 20:06: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'), 47428, 'SRID=4674;POINT (-39.030795637518 -3.4042224660516)', '2026-07-16 20:07:08', -0.39999389648438, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030823549256 -3.4041359648108)'), GeomFromEWKT('SRID=4674;POINT (-39.030795637518 -3.4042224660516)'))) / (select extract(epoch from '2026-07-16 20:07:08'::timestamp) - extract(epoch from '2026-07-16 20:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030823549256 -3.4041359648108)'), GeomFromEWKT('SRID=4674;POINT (-39.030795637518 -3.4042224660516)'))) / (select extract(epoch from '2026-07-16 20:07:08'::timestamp) - extract(epoch from '2026-07-16 20:06: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'), 47428, 'SRID=4674;POINT (-39.030788680539 -3.4042977355421)', '2026-07-16 20:07:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030795637518 -3.4042224660516)'), GeomFromEWKT('SRID=4674;POINT (-39.030788680539 -3.4042977355421)'))) / (select extract(epoch from '2026-07-16 20:07:15'::timestamp) - extract(epoch from '2026-07-16 20:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030795637518 -3.4042224660516)'), GeomFromEWKT('SRID=4674;POINT (-39.030788680539 -3.4042977355421)'))) / (select extract(epoch from '2026-07-16 20:07:15'::timestamp) - extract(epoch from '2026-07-16 20:07: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'), 47428, 'SRID=4674;POINT (-39.030749453232 -3.4043713286519)', '2026-07-16 20:07:23', 0.60000610351562, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030788680539 -3.4042977355421)'), GeomFromEWKT('SRID=4674;POINT (-39.030749453232 -3.4043713286519)'))) / (select extract(epoch from '2026-07-16 20:07:23'::timestamp) - extract(epoch from '2026-07-16 20:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030788680539 -3.4042977355421)'), GeomFromEWKT('SRID=4674;POINT (-39.030749453232 -3.4043713286519)'))) / (select extract(epoch from '2026-07-16 20:07:23'::timestamp) - extract(epoch from '2026-07-16 20:07: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'), 47428, 'SRID=4674;POINT (-39.03069765307 -3.4044253919274)', '2026-07-16 20:07:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030749453232 -3.4043713286519)'), GeomFromEWKT('SRID=4674;POINT (-39.03069765307 -3.4044253919274)'))) / (select extract(epoch from '2026-07-16 20:07:31'::timestamp) - extract(epoch from '2026-07-16 20:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030749453232 -3.4043713286519)'), GeomFromEWKT('SRID=4674;POINT (-39.03069765307 -3.4044253919274)'))) / (select extract(epoch from '2026-07-16 20:07:31'::timestamp) - extract(epoch from '2026-07-16 20:07: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'), 47428, 'SRID=4674;POINT (-39.030641075224 -3.4044503699988)', '2026-07-16 20:07:39', 1.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03069765307 -3.4044253919274)'), GeomFromEWKT('SRID=4674;POINT (-39.030641075224 -3.4044503699988)'))) / (select extract(epoch from '2026-07-16 20:07:39'::timestamp) - extract(epoch from '2026-07-16 20:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03069765307 -3.4044253919274)'), GeomFromEWKT('SRID=4674;POINT (-39.030641075224 -3.4044503699988)'))) / (select extract(epoch from '2026-07-16 20:07:39'::timestamp) - extract(epoch from '2026-07-16 20:07: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'), 47428, 'SRID=4674;POINT (-39.030631184578 -3.4044545609504)', '2026-07-16 20:07:40', 1.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030641075224 -3.4044503699988)'), GeomFromEWKT('SRID=4674;POINT (-39.030631184578 -3.4044545609504)'))) / (select extract(epoch from '2026-07-16 20:07:40'::timestamp) - extract(epoch from '2026-07-16 20:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030641075224 -3.4044503699988)'), GeomFromEWKT('SRID=4674;POINT (-39.030631184578 -3.4044545609504)'))) / (select extract(epoch from '2026-07-16 20:07:40'::timestamp) - extract(epoch from '2026-07-16 20:07:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030506964773 -3.4044664632529)', '2026-07-16 20:07:48', 1.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030631184578 -3.4044545609504)'), GeomFromEWKT('SRID=4674;POINT (-39.030506964773 -3.4044664632529)'))) / (select extract(epoch from '2026-07-16 20:07:48'::timestamp) - extract(epoch from '2026-07-16 20:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030631184578 -3.4044545609504)'), GeomFromEWKT('SRID=4674;POINT (-39.030506964773 -3.4044664632529)'))) / (select extract(epoch from '2026-07-16 20:07:48'::timestamp) - extract(epoch from '2026-07-16 20:07: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'), 47428, 'SRID=4674;POINT (-39.030360532925 -3.4044452570379)', '2026-07-16 20:07:56', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030506964773 -3.4044664632529)'), GeomFromEWKT('SRID=4674;POINT (-39.030360532925 -3.4044452570379)'))) / (select extract(epoch from '2026-07-16 20:07:56'::timestamp) - extract(epoch from '2026-07-16 20:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030506964773 -3.4044664632529)'), GeomFromEWKT('SRID=4674;POINT (-39.030360532925 -3.4044452570379)'))) / (select extract(epoch from '2026-07-16 20:07:56'::timestamp) - extract(epoch from '2026-07-16 20:07: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'), 47428, 'SRID=4674;POINT (-39.030177975073 -3.4044278226793)', '2026-07-16 20:08:06', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030360532925 -3.4044452570379)'), GeomFromEWKT('SRID=4674;POINT (-39.030177975073 -3.4044278226793)'))) / (select extract(epoch from '2026-07-16 20:08:06'::timestamp) - extract(epoch from '2026-07-16 20:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030360532925 -3.4044452570379)'), GeomFromEWKT('SRID=4674;POINT (-39.030177975073 -3.4044278226793)'))) / (select extract(epoch from '2026-07-16 20:08:06'::timestamp) - extract(epoch from '2026-07-16 20:07:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030045373365 -3.4043646231294)', '2026-07-16 20:08:12', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030177975073 -3.4044278226793)'), GeomFromEWKT('SRID=4674;POINT (-39.030045373365 -3.4043646231294)'))) / (select extract(epoch from '2026-07-16 20:08:12'::timestamp) - extract(epoch from '2026-07-16 20:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030177975073 -3.4044278226793)'), GeomFromEWKT('SRID=4674;POINT (-39.030045373365 -3.4043646231294)'))) / (select extract(epoch from '2026-07-16 20:08:12'::timestamp) - extract(epoch from '2026-07-16 20:08: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'), 47428, 'SRID=4674;POINT (-39.029928697273 -3.4043111465871)', '2026-07-16 20:08:20', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030045373365 -3.4043646231294)'), GeomFromEWKT('SRID=4674;POINT (-39.029928697273 -3.4043111465871)'))) / (select extract(epoch from '2026-07-16 20:08:20'::timestamp) - extract(epoch from '2026-07-16 20:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030045373365 -3.4043646231294)'), GeomFromEWKT('SRID=4674;POINT (-39.029928697273 -3.4043111465871)'))) / (select extract(epoch from '2026-07-16 20:08:20'::timestamp) - extract(epoch from '2026-07-16 20:08: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'), 47428, 'SRID=4674;POINT (-39.029873376712 -3.4042342845351)', '2026-07-16 20:08:28', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029928697273 -3.4043111465871)'), GeomFromEWKT('SRID=4674;POINT (-39.029873376712 -3.4042342845351)'))) / (select extract(epoch from '2026-07-16 20:08:28'::timestamp) - extract(epoch from '2026-07-16 20:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029928697273 -3.4043111465871)'), GeomFromEWKT('SRID=4674;POINT (-39.029873376712 -3.4042342845351)'))) / (select extract(epoch from '2026-07-16 20:08:28'::timestamp) - extract(epoch from '2026-07-16 20:08:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.029874969274 -3.4041905310005)', '2026-07-16 20:08:37', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029873376712 -3.4042342845351)'), GeomFromEWKT('SRID=4674;POINT (-39.029874969274 -3.4041905310005)'))) / (select extract(epoch from '2026-07-16 20:08:37'::timestamp) - extract(epoch from '2026-07-16 20:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029873376712 -3.4042342845351)'), GeomFromEWKT('SRID=4674;POINT (-39.029874969274 -3.4041905310005)'))) / (select extract(epoch from '2026-07-16 20:08:37'::timestamp) - extract(epoch from '2026-07-16 20:08:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.029938252643 -3.4041211288422)', '2026-07-16 20:08:52', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029874969274 -3.4041905310005)'), GeomFromEWKT('SRID=4674;POINT (-39.029938252643 -3.4041211288422)'))) / (select extract(epoch from '2026-07-16 20:08:52'::timestamp) - extract(epoch from '2026-07-16 20:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029874969274 -3.4041905310005)'), GeomFromEWKT('SRID=4674;POINT (-39.029938252643 -3.4041211288422)'))) / (select extract(epoch from '2026-07-16 20:08:52'::timestamp) - extract(epoch from '2026-07-16 20:08: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'), 47428, 'SRID=4674;POINT (-39.03001377359 -3.4040441829711)', '2026-07-16 20:09:11', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029938252643 -3.4041211288422)'), GeomFromEWKT('SRID=4674;POINT (-39.03001377359 -3.4040441829711)'))) / (select extract(epoch from '2026-07-16 20:09:11'::timestamp) - extract(epoch from '2026-07-16 20:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029938252643 -3.4041211288422)'), GeomFromEWKT('SRID=4674;POINT (-39.03001377359 -3.4040441829711)'))) / (select extract(epoch from '2026-07-16 20:09:11'::timestamp) - extract(epoch from '2026-07-16 20:08: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'), 47428, 'SRID=4674;POINT (-39.030018299818 -3.4040460269898)', '2026-07-16 20:09:23', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03001377359 -3.4040441829711)'), GeomFromEWKT('SRID=4674;POINT (-39.030018299818 -3.4040460269898)'))) / (select extract(epoch from '2026-07-16 20:09:23'::timestamp) - extract(epoch from '2026-07-16 20:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03001377359 -3.4040441829711)'), GeomFromEWKT('SRID=4674;POINT (-39.030018299818 -3.4040460269898)'))) / (select extract(epoch from '2026-07-16 20:09:23'::timestamp) - extract(epoch from '2026-07-16 20:09: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'), 47428, 'SRID=4674;POINT (-39.03004151769 -3.4040476195514)', '2026-07-16 20:09:36', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018299818 -3.4040460269898)'), GeomFromEWKT('SRID=4674;POINT (-39.03004151769 -3.4040476195514)'))) / (select extract(epoch from '2026-07-16 20:09:36'::timestamp) - extract(epoch from '2026-07-16 20:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030018299818 -3.4040460269898)'), GeomFromEWKT('SRID=4674;POINT (-39.03004151769 -3.4040476195514)'))) / (select extract(epoch from '2026-07-16 20:09:36'::timestamp) - extract(epoch from '2026-07-16 20:09: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'), 47428, 'SRID=4674;POINT (-39.030084935948 -3.4040683228523)', '2026-07-16 20:09:48', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03004151769 -3.4040476195514)'), GeomFromEWKT('SRID=4674;POINT (-39.030084935948 -3.4040683228523)'))) / (select extract(epoch from '2026-07-16 20:09:48'::timestamp) - extract(epoch from '2026-07-16 20:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03004151769 -3.4040476195514)'), GeomFromEWKT('SRID=4674;POINT (-39.030084935948 -3.4040683228523)'))) / (select extract(epoch from '2026-07-16 20:09:48'::timestamp) - extract(epoch from '2026-07-16 20:09: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'), 47428, 'SRID=4674;POINT (-39.030149895698 -3.4041070472449)', '2026-07-16 20:10:00', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030084935948 -3.4040683228523)'), GeomFromEWKT('SRID=4674;POINT (-39.030149895698 -3.4041070472449)'))) / (select extract(epoch from '2026-07-16 20:10:00'::timestamp) - extract(epoch from '2026-07-16 20:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030084935948 -3.4040683228523)'), GeomFromEWKT('SRID=4674;POINT (-39.030149895698 -3.4041070472449)'))) / (select extract(epoch from '2026-07-16 20:10:00'::timestamp) - extract(epoch from '2026-07-16 20:09: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'), 47428, 'SRID=4674;POINT (-39.030220387504 -3.4041378926486)', '2026-07-16 20:10:14', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030149895698 -3.4041070472449)'), GeomFromEWKT('SRID=4674;POINT (-39.030220387504 -3.4041378926486)'))) / (select extract(epoch from '2026-07-16 20:10:14'::timestamp) - extract(epoch from '2026-07-16 20:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030149895698 -3.4041070472449)'), GeomFromEWKT('SRID=4674;POINT (-39.030220387504 -3.4041378926486)'))) / (select extract(epoch from '2026-07-16 20:10:14'::timestamp) - extract(epoch from '2026-07-16 20:10: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'), 47428, 'SRID=4674;POINT (-39.03025617823 -3.4041519742459)', '2026-07-16 20:10:24', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030220387504 -3.4041378926486)'), GeomFromEWKT('SRID=4674;POINT (-39.03025617823 -3.4041519742459)'))) / (select extract(epoch from '2026-07-16 20:10:24'::timestamp) - extract(epoch from '2026-07-16 20:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030220387504 -3.4041378926486)'), GeomFromEWKT('SRID=4674;POINT (-39.03025617823 -3.4041519742459)'))) / (select extract(epoch from '2026-07-16 20:10:24'::timestamp) - extract(epoch from '2026-07-16 20:10: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'), 47428, 'SRID=4674;POINT (-39.030255675316 -3.4041508845985)', '2026-07-16 20:10:33', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03025617823 -3.4041519742459)'), GeomFromEWKT('SRID=4674;POINT (-39.030255675316 -3.4041508845985)'))) / (select extract(epoch from '2026-07-16 20:10:33'::timestamp) - extract(epoch from '2026-07-16 20:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03025617823 -3.4041519742459)'), GeomFromEWKT('SRID=4674;POINT (-39.030255675316 -3.4041508845985)'))) / (select extract(epoch from '2026-07-16 20:10:33'::timestamp) - extract(epoch from '2026-07-16 20:10: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'), 47428, 'SRID=4674;POINT (-39.030278474092 -3.4041867591441)', '2026-07-16 20:10:42', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030255675316 -3.4041508845985)'), GeomFromEWKT('SRID=4674;POINT (-39.030278474092 -3.4041867591441)'))) / (select extract(epoch from '2026-07-16 20:10:42'::timestamp) - extract(epoch from '2026-07-16 20:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030255675316 -3.4041508845985)'), GeomFromEWKT('SRID=4674;POINT (-39.030278474092 -3.4041867591441)'))) / (select extract(epoch from '2026-07-16 20:10:42'::timestamp) - extract(epoch from '2026-07-16 20:10:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030279228464 -3.4042257349938)', '2026-07-16 20:10:55', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030278474092 -3.4041867591441)'), GeomFromEWKT('SRID=4674;POINT (-39.030279228464 -3.4042257349938)'))) / (select extract(epoch from '2026-07-16 20:10:55'::timestamp) - extract(epoch from '2026-07-16 20:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030278474092 -3.4041867591441)'), GeomFromEWKT('SRID=4674;POINT (-39.030279228464 -3.4042257349938)'))) / (select extract(epoch from '2026-07-16 20:10:55'::timestamp) - extract(epoch from '2026-07-16 20:10: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'), 47428, 'SRID=4674;POINT (-39.03027696535 -3.4042925387621)', '2026-07-16 20:11:10', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030279228464 -3.4042257349938)'), GeomFromEWKT('SRID=4674;POINT (-39.03027696535 -3.4042925387621)'))) / (select extract(epoch from '2026-07-16 20:11:10'::timestamp) - extract(epoch from '2026-07-16 20:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030279228464 -3.4042257349938)'), GeomFromEWKT('SRID=4674;POINT (-39.03027696535 -3.4042925387621)'))) / (select extract(epoch from '2026-07-16 20:11:10'::timestamp) - extract(epoch from '2026-07-16 20:10: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'), 47428, 'SRID=4674;POINT (-39.030286688358 -3.4043211210519)', '2026-07-16 20:11:17', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03027696535 -3.4042925387621)'), GeomFromEWKT('SRID=4674;POINT (-39.030286688358 -3.4043211210519)'))) / (select extract(epoch from '2026-07-16 20:11:17'::timestamp) - extract(epoch from '2026-07-16 20:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03027696535 -3.4042925387621)'), GeomFromEWKT('SRID=4674;POINT (-39.030286688358 -3.4043211210519)'))) / (select extract(epoch from '2026-07-16 20:11:17'::timestamp) - extract(epoch from '2026-07-16 20:11:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030292639509 -3.4043367952108)', '2026-07-16 20:11:21', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030286688358 -3.4043211210519)'), GeomFromEWKT('SRID=4674;POINT (-39.030292639509 -3.4043367952108)'))) / (select extract(epoch from '2026-07-16 20:11:21'::timestamp) - extract(epoch from '2026-07-16 20:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030286688358 -3.4043211210519)'), GeomFromEWKT('SRID=4674;POINT (-39.030292639509 -3.4043367952108)'))) / (select extract(epoch from '2026-07-16 20:11:21'::timestamp) - extract(epoch from '2026-07-16 20:11: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'), 47428, 'SRID=4674;POINT (-39.030300769955 -3.4043588396162)', '2026-07-16 20:11:31', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030292639509 -3.4043367952108)'), GeomFromEWKT('SRID=4674;POINT (-39.030300769955 -3.4043588396162)'))) / (select extract(epoch from '2026-07-16 20:11:31'::timestamp) - extract(epoch from '2026-07-16 20:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030292639509 -3.4043367952108)'), GeomFromEWKT('SRID=4674;POINT (-39.030300769955 -3.4043588396162)'))) / (select extract(epoch from '2026-07-16 20:11:31'::timestamp) - extract(epoch from '2026-07-16 20:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030298255384 -3.4043538942933)', '2026-07-16 20:11:42', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030300769955 -3.4043588396162)'), GeomFromEWKT('SRID=4674;POINT (-39.030298255384 -3.4043538942933)'))) / (select extract(epoch from '2026-07-16 20:11:42'::timestamp) - extract(epoch from '2026-07-16 20:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030300769955 -3.4043588396162)'), GeomFromEWKT('SRID=4674;POINT (-39.030298255384 -3.4043538942933)'))) / (select extract(epoch from '2026-07-16 20:11:42'::timestamp) - extract(epoch from '2026-07-16 20:11:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.03030035086 -3.404358420521)', '2026-07-16 20:11:48', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030298255384 -3.4043538942933)'), GeomFromEWKT('SRID=4674;POINT (-39.03030035086 -3.404358420521)'))) / (select extract(epoch from '2026-07-16 20:11:48'::timestamp) - extract(epoch from '2026-07-16 20:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030298255384 -3.4043538942933)'), GeomFromEWKT('SRID=4674;POINT (-39.03030035086 -3.404358420521)'))) / (select extract(epoch from '2026-07-16 20:11:48'::timestamp) - extract(epoch from '2026-07-16 20:11: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'), 47428, 'SRID=4674;POINT (-39.030296662822 -3.4043602645397)', '2026-07-16 20:11:56', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03030035086 -3.404358420521)'), GeomFromEWKT('SRID=4674;POINT (-39.030296662822 -3.4043602645397)'))) / (select extract(epoch from '2026-07-16 20:11:56'::timestamp) - extract(epoch from '2026-07-16 20:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03030035086 -3.404358420521)'), GeomFromEWKT('SRID=4674;POINT (-39.030296662822 -3.4043602645397)'))) / (select extract(epoch from '2026-07-16 20:11:56'::timestamp) - extract(epoch from '2026-07-16 20:11: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'), 47428, 'SRID=4674;POINT (-39.030276378617 -3.4043650422245)', '2026-07-16 20:12:04', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030296662822 -3.4043602645397)'), GeomFromEWKT('SRID=4674;POINT (-39.030276378617 -3.4043650422245)'))) / (select extract(epoch from '2026-07-16 20:12:04'::timestamp) - extract(epoch from '2026-07-16 20:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030296662822 -3.4043602645397)'), GeomFromEWKT('SRID=4674;POINT (-39.030276378617 -3.4043650422245)'))) / (select extract(epoch from '2026-07-16 20:12:04'::timestamp) - extract(epoch from '2026-07-16 20:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030241090804 -3.404358336702)', '2026-07-16 20:12:16', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030276378617 -3.4043650422245)'), GeomFromEWKT('SRID=4674;POINT (-39.030241090804 -3.404358336702)'))) / (select extract(epoch from '2026-07-16 20:12:16'::timestamp) - extract(epoch from '2026-07-16 20:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030276378617 -3.4043650422245)'), GeomFromEWKT('SRID=4674;POINT (-39.030241090804 -3.404358336702)'))) / (select extract(epoch from '2026-07-16 20:12:16'::timestamp) - extract(epoch from '2026-07-16 20:12: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'), 47428, 'SRID=4674;POINT (-39.030251568183 -3.4043594263494)', '2026-07-16 20:12:31', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030241090804 -3.404358336702)'), GeomFromEWKT('SRID=4674;POINT (-39.030251568183 -3.4043594263494)'))) / (select extract(epoch from '2026-07-16 20:12:31'::timestamp) - extract(epoch from '2026-07-16 20:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030241090804 -3.404358336702)'), GeomFromEWKT('SRID=4674;POINT (-39.030251568183 -3.4043594263494)'))) / (select extract(epoch from '2026-07-16 20:12:31'::timestamp) - extract(epoch from '2026-07-16 20:12: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'), 47428, 'SRID=4674;POINT (-39.030251065269 -3.4043523855507)', '2026-07-16 20:12:39', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030251568183 -3.4043594263494)'), GeomFromEWKT('SRID=4674;POINT (-39.030251065269 -3.4043523855507)'))) / (select extract(epoch from '2026-07-16 20:12:39'::timestamp) - extract(epoch from '2026-07-16 20:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030251568183 -3.4043594263494)'), GeomFromEWKT('SRID=4674;POINT (-39.030251065269 -3.4043523855507)'))) / (select extract(epoch from '2026-07-16 20:12:39'::timestamp) - extract(epoch from '2026-07-16 20:12: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'), 47428, 'SRID=4674;POINT (-39.030246874318 -3.4043327718973)', '2026-07-16 20:12:50', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030251065269 -3.4043523855507)'), GeomFromEWKT('SRID=4674;POINT (-39.030246874318 -3.4043327718973)'))) / (select extract(epoch from '2026-07-16 20:12:50'::timestamp) - extract(epoch from '2026-07-16 20:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030251065269 -3.4043523855507)'), GeomFromEWKT('SRID=4674;POINT (-39.030246874318 -3.4043327718973)'))) / (select extract(epoch from '2026-07-16 20:12:50'::timestamp) - extract(epoch from '2026-07-16 20:12:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030246455222 -3.4043197799474)', '2026-07-16 20:12:59', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030246874318 -3.4043327718973)'), GeomFromEWKT('SRID=4674;POINT (-39.030246455222 -3.4043197799474)'))) / (select extract(epoch from '2026-07-16 20:12:59'::timestamp) - extract(epoch from '2026-07-16 20:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030246874318 -3.4043327718973)'), GeomFromEWKT('SRID=4674;POINT (-39.030246455222 -3.4043197799474)'))) / (select extract(epoch from '2026-07-16 20:12:59'::timestamp) - extract(epoch from '2026-07-16 20:12: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'), 47428, 'SRID=4674;POINT (-39.030245952308 -3.4043204504997)', '2026-07-16 20:13:12', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030246455222 -3.4043197799474)'), GeomFromEWKT('SRID=4674;POINT (-39.030245952308 -3.4043204504997)'))) / (select extract(epoch from '2026-07-16 20:13:12'::timestamp) - extract(epoch from '2026-07-16 20:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030246455222 -3.4043197799474)'), GeomFromEWKT('SRID=4674;POINT (-39.030245952308 -3.4043204504997)'))) / (select extract(epoch from '2026-07-16 20:13:12'::timestamp) - extract(epoch from '2026-07-16 20:12: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'), 47428, 'SRID=4674;POINT (-39.030255172402 -3.4043069556355)', '2026-07-16 20:13:20', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030245952308 -3.4043204504997)'), GeomFromEWKT('SRID=4674;POINT (-39.030255172402 -3.4043069556355)'))) / (select extract(epoch from '2026-07-16 20:13:20'::timestamp) - extract(epoch from '2026-07-16 20:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030245952308 -3.4043204504997)'), GeomFromEWKT('SRID=4674;POINT (-39.030255172402 -3.4043069556355)'))) / (select extract(epoch from '2026-07-16 20:13:20'::timestamp) - extract(epoch from '2026-07-16 20:13:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030269421637 -3.4042814746499)', '2026-07-16 20:13:32', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030255172402 -3.4043069556355)'), GeomFromEWKT('SRID=4674;POINT (-39.030269421637 -3.4042814746499)'))) / (select extract(epoch from '2026-07-16 20:13:32'::timestamp) - extract(epoch from '2026-07-16 20:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030255172402 -3.4043069556355)'), GeomFromEWKT('SRID=4674;POINT (-39.030269421637 -3.4042814746499)'))) / (select extract(epoch from '2026-07-16 20:13:32'::timestamp) - extract(epoch from '2026-07-16 20:13: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'), 47428, 'SRID=4674;POINT (-39.030274534598 -3.404287090525)', '2026-07-16 20:13:42', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030269421637 -3.4042814746499)'), GeomFromEWKT('SRID=4674;POINT (-39.030274534598 -3.404287090525)'))) / (select extract(epoch from '2026-07-16 20:13:42'::timestamp) - extract(epoch from '2026-07-16 20:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030269421637 -3.4042814746499)'), GeomFromEWKT('SRID=4674;POINT (-39.030274534598 -3.404287090525)'))) / (select extract(epoch from '2026-07-16 20:13:42'::timestamp) - extract(epoch from '2026-07-16 20:13: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'), 47428, 'SRID=4674;POINT (-39.030275037512 -3.4042884316295)', '2026-07-16 20:13:51', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030274534598 -3.404287090525)'), GeomFromEWKT('SRID=4674;POINT (-39.030275037512 -3.4042884316295)'))) / (select extract(epoch from '2026-07-16 20:13:51'::timestamp) - extract(epoch from '2026-07-16 20:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030274534598 -3.404287090525)'), GeomFromEWKT('SRID=4674;POINT (-39.030275037512 -3.4042884316295)'))) / (select extract(epoch from '2026-07-16 20:13:51'::timestamp) - extract(epoch from '2026-07-16 20:13: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'), 47428, 'SRID=4674;POINT (-39.03026053682 -3.4042906947434)', '2026-07-16 20:14:06', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030275037512 -3.4042884316295)'), GeomFromEWKT('SRID=4674;POINT (-39.03026053682 -3.4042906947434)'))) / (select extract(epoch from '2026-07-16 20:14:06'::timestamp) - extract(epoch from '2026-07-16 20:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030275037512 -3.4042884316295)'), GeomFromEWKT('SRID=4674;POINT (-39.03026053682 -3.4042906947434)'))) / (select extract(epoch from '2026-07-16 20:14:06'::timestamp) - extract(epoch from '2026-07-16 20:13: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'), 47428, 'SRID=4674;POINT (-39.030247125775 -3.4043064527214)', '2026-07-16 20:14:18', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03026053682 -3.4042906947434)'), GeomFromEWKT('SRID=4674;POINT (-39.030247125775 -3.4043064527214)'))) / (select extract(epoch from '2026-07-16 20:14:18'::timestamp) - extract(epoch from '2026-07-16 20:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03026053682 -3.4042906947434)'), GeomFromEWKT('SRID=4674;POINT (-39.030247125775 -3.4043064527214)'))) / (select extract(epoch from '2026-07-16 20:14:18'::timestamp) - extract(epoch from '2026-07-16 20:14: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'), 47428, 'SRID=4674;POINT (-39.03024754487 -3.4042973164469)', '2026-07-16 20:14:27', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030247125775 -3.4043064527214)'), GeomFromEWKT('SRID=4674;POINT (-39.03024754487 -3.4042973164469)'))) / (select extract(epoch from '2026-07-16 20:14:27'::timestamp) - extract(epoch from '2026-07-16 20:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030247125775 -3.4043064527214)'), GeomFromEWKT('SRID=4674;POINT (-39.03024754487 -3.4042973164469)'))) / (select extract(epoch from '2026-07-16 20:14:27'::timestamp) - extract(epoch from '2026-07-16 20:14: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'), 47428, 'SRID=4674;POINT (-39.030244443566 -3.4043052792549)', '2026-07-16 20:14:36', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03024754487 -3.4042973164469)'), GeomFromEWKT('SRID=4674;POINT (-39.030244443566 -3.4043052792549)'))) / (select extract(epoch from '2026-07-16 20:14:36'::timestamp) - extract(epoch from '2026-07-16 20:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03024754487 -3.4042973164469)'), GeomFromEWKT('SRID=4674;POINT (-39.030244443566 -3.4043052792549)'))) / (select extract(epoch from '2026-07-16 20:14:36'::timestamp) - extract(epoch from '2026-07-16 20:14:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030246539041 -3.4043103922158)', '2026-07-16 20:14:48', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030244443566 -3.4043052792549)'), GeomFromEWKT('SRID=4674;POINT (-39.030246539041 -3.4043103922158)'))) / (select extract(epoch from '2026-07-16 20:14:48'::timestamp) - extract(epoch from '2026-07-16 20:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030244443566 -3.4043052792549)'), GeomFromEWKT('SRID=4674;POINT (-39.030246539041 -3.4043103922158)'))) / (select extract(epoch from '2026-07-16 20:14:48'::timestamp) - extract(epoch from '2026-07-16 20:14: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'), 47428, 'SRID=4674;POINT (-39.030248131603 -3.4043113980442)', '2026-07-16 20:14:57', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030246539041 -3.4043103922158)'), GeomFromEWKT('SRID=4674;POINT (-39.030248131603 -3.4043113980442)'))) / (select extract(epoch from '2026-07-16 20:14:57'::timestamp) - extract(epoch from '2026-07-16 20:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030246539041 -3.4043103922158)'), GeomFromEWKT('SRID=4674;POINT (-39.030248131603 -3.4043113980442)'))) / (select extract(epoch from '2026-07-16 20:14:57'::timestamp) - extract(epoch from '2026-07-16 20:14:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.030248550698 -3.4043116495013)', '2026-07-16 20:15:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030248131603 -3.4043113980442)'), GeomFromEWKT('SRID=4674;POINT (-39.030248550698 -3.4043116495013)'))) / (select extract(epoch from '2026-07-16 20:15:05'::timestamp) - extract(epoch from '2026-07-16 20:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030248131603 -3.4043113980442)'), GeomFromEWKT('SRID=4674;POINT (-39.030248550698 -3.4043116495013)'))) / (select extract(epoch from '2026-07-16 20:15:05'::timestamp) - extract(epoch from '2026-07-16 20:14: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'), 47428, 'SRID=4674;POINT (-39.030228098854 -3.4043062850833)', '2026-07-16 20:15:16', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030248550698 -3.4043116495013)'), GeomFromEWKT('SRID=4674;POINT (-39.030228098854 -3.4043062850833)'))) / (select extract(epoch from '2026-07-16 20:15:16'::timestamp) - extract(epoch from '2026-07-16 20:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030248550698 -3.4043116495013)'), GeomFromEWKT('SRID=4674;POINT (-39.030228098854 -3.4043062850833)'))) / (select extract(epoch from '2026-07-16 20:15:16'::timestamp) - extract(epoch from '2026-07-16 20:15: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'), 47428, 'SRID=4674;POINT (-39.03015232645 -3.4042739309371)', '2026-07-16 20:15:29', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030228098854 -3.4043062850833)'), GeomFromEWKT('SRID=4674;POINT (-39.03015232645 -3.4042739309371)'))) / (select extract(epoch from '2026-07-16 20:15:29'::timestamp) - extract(epoch from '2026-07-16 20:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030228098854 -3.4043062850833)'), GeomFromEWKT('SRID=4674;POINT (-39.03015232645 -3.4042739309371)'))) / (select extract(epoch from '2026-07-16 20:15:29'::timestamp) - extract(epoch from '2026-07-16 20:15: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'), 47428, 'SRID=4674;POINT (-39.03007529676 -3.4042577538639)', '2026-07-16 20:15:41', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03015232645 -3.4042739309371)'), GeomFromEWKT('SRID=4674;POINT (-39.03007529676 -3.4042577538639)'))) / (select extract(epoch from '2026-07-16 20:15:41'::timestamp) - extract(epoch from '2026-07-16 20:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03015232645 -3.4042739309371)'), GeomFromEWKT('SRID=4674;POINT (-39.03007529676 -3.4042577538639)'))) / (select extract(epoch from '2026-07-16 20:15:41'::timestamp) - extract(epoch from '2026-07-16 20:15: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'), 47428, 'SRID=4674;POINT (-39.030040428042 -3.4042934607714)', '2026-07-16 20:15:53', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03007529676 -3.4042577538639)'), GeomFromEWKT('SRID=4674;POINT (-39.030040428042 -3.4042934607714)'))) / (select extract(epoch from '2026-07-16 20:15:53'::timestamp) - extract(epoch from '2026-07-16 20:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03007529676 -3.4042577538639)'), GeomFromEWKT('SRID=4674;POINT (-39.030040428042 -3.4042934607714)'))) / (select extract(epoch from '2026-07-16 20:15:53'::timestamp) - extract(epoch from '2026-07-16 20:15: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'), 47428, 'SRID=4674;POINT (-39.029978988692 -3.4044092986733)', '2026-07-16 20:16:07', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030040428042 -3.4042934607714)'), GeomFromEWKT('SRID=4674;POINT (-39.029978988692 -3.4044092986733)'))) / (select extract(epoch from '2026-07-16 20:16:07'::timestamp) - extract(epoch from '2026-07-16 20:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030040428042 -3.4042934607714)'), GeomFromEWKT('SRID=4674;POINT (-39.029978988692 -3.4044092986733)'))) / (select extract(epoch from '2026-07-16 20:16:07'::timestamp) - extract(epoch from '2026-07-16 20:15: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'), 47428, 'SRID=4674;POINT (-39.029911262915 -3.4045851510018)', '2026-07-16 20:16:22', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029978988692 -3.4044092986733)'), GeomFromEWKT('SRID=4674;POINT (-39.029911262915 -3.4045851510018)'))) / (select extract(epoch from '2026-07-16 20:16:22'::timestamp) - extract(epoch from '2026-07-16 20:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029978988692 -3.4044092986733)'), GeomFromEWKT('SRID=4674;POINT (-39.029911262915 -3.4045851510018)'))) / (select extract(epoch from '2026-07-16 20:16:22'::timestamp) - extract(epoch from '2026-07-16 20:16: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'), 47428, 'SRID=4674;POINT (-39.029878322035 -3.4046629350632)', '2026-07-16 20:16:30', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029911262915 -3.4045851510018)'), GeomFromEWKT('SRID=4674;POINT (-39.029878322035 -3.4046629350632)'))) / (select extract(epoch from '2026-07-16 20:16:30'::timestamp) - extract(epoch from '2026-07-16 20:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029911262915 -3.4045851510018)'), GeomFromEWKT('SRID=4674;POINT (-39.029878322035 -3.4046629350632)'))) / (select extract(epoch from '2026-07-16 20:16:30'::timestamp) - extract(epoch from '2026-07-16 20:16: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'), 47428, 'SRID=4674;POINT (-39.029846973717 -3.4047501906753)', '2026-07-16 20:16:39', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029878322035 -3.4046629350632)'), GeomFromEWKT('SRID=4674;POINT (-39.029846973717 -3.4047501906753)'))) / (select extract(epoch from '2026-07-16 20:16:39'::timestamp) - extract(epoch from '2026-07-16 20:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029878322035 -3.4046629350632)'), GeomFromEWKT('SRID=4674;POINT (-39.029846973717 -3.4047501906753)'))) / (select extract(epoch from '2026-07-16 20:16:39'::timestamp) - extract(epoch from '2026-07-16 20:16:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.029790731147 -3.4048490971327)', '2026-07-16 20:16:50', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029846973717 -3.4047501906753)'), GeomFromEWKT('SRID=4674;POINT (-39.029790731147 -3.4048490971327)'))) / (select extract(epoch from '2026-07-16 20:16:50'::timestamp) - extract(epoch from '2026-07-16 20:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029846973717 -3.4047501906753)'), GeomFromEWKT('SRID=4674;POINT (-39.029790731147 -3.4048490971327)'))) / (select extract(epoch from '2026-07-16 20:16:50'::timestamp) - extract(epoch from '2026-07-16 20:16: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'), 47428, 'SRID=4674;POINT (-39.029705319554 -3.4049623366445)', '2026-07-16 20:17:03', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029790731147 -3.4048490971327)'), GeomFromEWKT('SRID=4674;POINT (-39.029705319554 -3.4049623366445)'))) / (select extract(epoch from '2026-07-16 20:17:03'::timestamp) - extract(epoch from '2026-07-16 20:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029790731147 -3.4048490971327)'), GeomFromEWKT('SRID=4674;POINT (-39.029705319554 -3.4049623366445)'))) / (select extract(epoch from '2026-07-16 20:17:03'::timestamp) - extract(epoch from '2026-07-16 20:16:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.029652345926 -3.4050340857357)', '2026-07-16 20:17:11', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029705319554 -3.4049623366445)'), GeomFromEWKT('SRID=4674;POINT (-39.029652345926 -3.4050340857357)'))) / (select extract(epoch from '2026-07-16 20:17:11'::timestamp) - extract(epoch from '2026-07-16 20:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029705319554 -3.4049623366445)'), GeomFromEWKT('SRID=4674;POINT (-39.029652345926 -3.4050340857357)'))) / (select extract(epoch from '2026-07-16 20:17:11'::timestamp) - extract(epoch from '2026-07-16 20:17: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'), 47428, 'SRID=4674;POINT (-39.029592163861 -3.4051034878939)', '2026-07-16 20:17:20', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029652345926 -3.4050340857357)'), GeomFromEWKT('SRID=4674;POINT (-39.029592163861 -3.4051034878939)'))) / (select extract(epoch from '2026-07-16 20:17:20'::timestamp) - extract(epoch from '2026-07-16 20:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029652345926 -3.4050340857357)'), GeomFromEWKT('SRID=4674;POINT (-39.029592163861 -3.4051034878939)'))) / (select extract(epoch from '2026-07-16 20:17:20'::timestamp) - extract(epoch from '2026-07-16 20:17:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.029516559094 -3.4051752369851)', '2026-07-16 20:17:28', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029592163861 -3.4051034878939)'), GeomFromEWKT('SRID=4674;POINT (-39.029516559094 -3.4051752369851)'))) / (select extract(epoch from '2026-07-16 20:17:28'::timestamp) - extract(epoch from '2026-07-16 20:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029592163861 -3.4051034878939)'), GeomFromEWKT('SRID=4674;POINT (-39.029516559094 -3.4051752369851)'))) / (select extract(epoch from '2026-07-16 20:17:28'::timestamp) - extract(epoch from '2026-07-16 20:17: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'), 47428, 'SRID=4674;POINT (-39.029482528567 -3.4052098542452)', '2026-07-16 20:17:35', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029516559094 -3.4051752369851)'), GeomFromEWKT('SRID=4674;POINT (-39.029482528567 -3.4052098542452)'))) / (select extract(epoch from '2026-07-16 20:17:35'::timestamp) - extract(epoch from '2026-07-16 20:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029516559094 -3.4051752369851)'), GeomFromEWKT('SRID=4674;POINT (-39.029482528567 -3.4052098542452)'))) / (select extract(epoch from '2026-07-16 20:17:35'::timestamp) - extract(epoch from '2026-07-16 20:17: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'), 47428, 'SRID=4674;POINT (-39.029460819438 -3.4052292164415)', '2026-07-16 20:17:41', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029482528567 -3.4052098542452)'), GeomFromEWKT('SRID=4674;POINT (-39.029460819438 -3.4052292164415)'))) / (select extract(epoch from '2026-07-16 20:17:41'::timestamp) - extract(epoch from '2026-07-16 20:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029482528567 -3.4052098542452)'), GeomFromEWKT('SRID=4674;POINT (-39.029460819438 -3.4052292164415)'))) / (select extract(epoch from '2026-07-16 20:17:41'::timestamp) - extract(epoch from '2026-07-16 20:17: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'), 47428, 'SRID=4674;POINT (-39.029457466677 -3.4052218403667)', '2026-07-16 20:17:52', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029460819438 -3.4052292164415)'), GeomFromEWKT('SRID=4674;POINT (-39.029457466677 -3.4052218403667)'))) / (select extract(epoch from '2026-07-16 20:17:52'::timestamp) - extract(epoch from '2026-07-16 20:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029460819438 -3.4052292164415)'), GeomFromEWKT('SRID=4674;POINT (-39.029457466677 -3.4052218403667)'))) / (select extract(epoch from '2026-07-16 20:17:52'::timestamp) - extract(epoch from '2026-07-16 20:17:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.029447324574 -3.4052273724228)', '2026-07-16 20:18:01', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029457466677 -3.4052218403667)'), GeomFromEWKT('SRID=4674;POINT (-39.029447324574 -3.4052273724228)'))) / (select extract(epoch from '2026-07-16 20:18:01'::timestamp) - extract(epoch from '2026-07-16 20:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029457466677 -3.4052218403667)'), GeomFromEWKT('SRID=4674;POINT (-39.029447324574 -3.4052273724228)'))) / (select extract(epoch from '2026-07-16 20:18:01'::timestamp) - extract(epoch from '2026-07-16 20:17: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'), 47428, 'SRID=4674;POINT (-39.029432237148 -3.4052364248782)', '2026-07-16 20:18:10', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029447324574 -3.4052273724228)'), GeomFromEWKT('SRID=4674;POINT (-39.029432237148 -3.4052364248782)'))) / (select extract(epoch from '2026-07-16 20:18:10'::timestamp) - extract(epoch from '2026-07-16 20:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029447324574 -3.4052273724228)'), GeomFromEWKT('SRID=4674;POINT (-39.029432237148 -3.4052364248782)'))) / (select extract(epoch from '2026-07-16 20:18:10'::timestamp) - extract(epoch from '2026-07-16 20:18: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'), 47428, 'SRID=4674;POINT (-39.029420334846 -3.4052426274866)', '2026-07-16 20:18:16', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029432237148 -3.4052364248782)'), GeomFromEWKT('SRID=4674;POINT (-39.029420334846 -3.4052426274866)'))) / (select extract(epoch from '2026-07-16 20:18:16'::timestamp) - extract(epoch from '2026-07-16 20:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029432237148 -3.4052364248782)'), GeomFromEWKT('SRID=4674;POINT (-39.029420334846 -3.4052426274866)'))) / (select extract(epoch from '2026-07-16 20:18:16'::timestamp) - extract(epoch from '2026-07-16 20:18: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'), 47428, 'SRID=4674;POINT (-39.029424358159 -3.4052493330091)', '2026-07-16 20:18:23', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029420334846 -3.4052426274866)'), GeomFromEWKT('SRID=4674;POINT (-39.029424358159 -3.4052493330091)'))) / (select extract(epoch from '2026-07-16 20:18:23'::timestamp) - extract(epoch from '2026-07-16 20:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029420334846 -3.4052426274866)'), GeomFromEWKT('SRID=4674;POINT (-39.029424358159 -3.4052493330091)'))) / (select extract(epoch from '2026-07-16 20:18:23'::timestamp) - extract(epoch from '2026-07-16 20:18: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'), 47428, 'SRID=4674;POINT (-39.029403822497 -3.405272718519)', '2026-07-16 20:18:27', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029424358159 -3.4052493330091)'), GeomFromEWKT('SRID=4674;POINT (-39.029403822497 -3.405272718519)'))) / (select extract(epoch from '2026-07-16 20:18:27'::timestamp) - extract(epoch from '2026-07-16 20:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029424358159 -3.4052493330091)'), GeomFromEWKT('SRID=4674;POINT (-39.029403822497 -3.405272718519)'))) / (select extract(epoch from '2026-07-16 20:18:27'::timestamp) - extract(epoch from '2026-07-16 20:18:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.029380269349 -3.4052804298699)', '2026-07-16 20:18:29', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029403822497 -3.405272718519)'), GeomFromEWKT('SRID=4674;POINT (-39.029380269349 -3.4052804298699)'))) / (select extract(epoch from '2026-07-16 20:18:29'::timestamp) - extract(epoch from '2026-07-16 20:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029403822497 -3.405272718519)'), GeomFromEWKT('SRID=4674;POINT (-39.029380269349 -3.4052804298699)'))) / (select extract(epoch from '2026-07-16 20:18:29'::timestamp) - extract(epoch from '2026-07-16 20:18:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.029315058142 -3.4053032286465)', '2026-07-16 20:18:37', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029380269349 -3.4052804298699)'), GeomFromEWKT('SRID=4674;POINT (-39.029315058142 -3.4053032286465)'))) / (select extract(epoch from '2026-07-16 20:18:37'::timestamp) - extract(epoch from '2026-07-16 20:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029380269349 -3.4052804298699)'), GeomFromEWKT('SRID=4674;POINT (-39.029315058142 -3.4053032286465)'))) / (select extract(epoch from '2026-07-16 20:18:37'::timestamp) - extract(epoch from '2026-07-16 20:18: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'), 47428, 'SRID=4674;POINT (-39.029284883291 -3.40536005795)', '2026-07-16 20:18:48', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029315058142 -3.4053032286465)'), GeomFromEWKT('SRID=4674;POINT (-39.029284883291 -3.40536005795)'))) / (select extract(epoch from '2026-07-16 20:18:48'::timestamp) - extract(epoch from '2026-07-16 20:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029315058142 -3.4053032286465)'), GeomFromEWKT('SRID=4674;POINT (-39.029284883291 -3.40536005795)'))) / (select extract(epoch from '2026-07-16 20:18:48'::timestamp) - extract(epoch from '2026-07-16 20:18: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'), 47428, 'SRID=4674;POINT (-39.029289493337 -3.4053765702993)', '2026-07-16 20:19:02', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029284883291 -3.40536005795)'), GeomFromEWKT('SRID=4674;POINT (-39.029289493337 -3.4053765702993)'))) / (select extract(epoch from '2026-07-16 20:19:02'::timestamp) - extract(epoch from '2026-07-16 20:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029284883291 -3.40536005795)'), GeomFromEWKT('SRID=4674;POINT (-39.029289493337 -3.4053765702993)'))) / (select extract(epoch from '2026-07-16 20:19:02'::timestamp) - extract(epoch from '2026-07-16 20:18:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.029292091727 -3.4053821861744)', '2026-07-16 20:19:12', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029289493337 -3.4053765702993)'), GeomFromEWKT('SRID=4674;POINT (-39.029292091727 -3.4053821861744)'))) / (select extract(epoch from '2026-07-16 20:19:12'::timestamp) - extract(epoch from '2026-07-16 20:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029289493337 -3.4053765702993)'), GeomFromEWKT('SRID=4674;POINT (-39.029292091727 -3.4053821861744)'))) / (select extract(epoch from '2026-07-16 20:19:12'::timestamp) - extract(epoch from '2026-07-16 20:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.02929276228 -3.4053892269731)', '2026-07-16 20:19:26', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029292091727 -3.4053821861744)'), GeomFromEWKT('SRID=4674;POINT (-39.02929276228 -3.4053892269731)'))) / (select extract(epoch from '2026-07-16 20:19:26'::timestamp) - extract(epoch from '2026-07-16 20:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029292091727 -3.4053821861744)'), GeomFromEWKT('SRID=4674;POINT (-39.02929276228 -3.4053892269731)'))) / (select extract(epoch from '2026-07-16 20:19:26'::timestamp) - extract(epoch from '2026-07-16 20:19: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'), 47428, 'SRID=4674;POINT (-39.029298294336 -3.4053919930011)', '2026-07-16 20:19:41', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02929276228 -3.4053892269731)'), GeomFromEWKT('SRID=4674;POINT (-39.029298294336 -3.4053919930011)'))) / (select extract(epoch from '2026-07-16 20:19:41'::timestamp) - extract(epoch from '2026-07-16 20:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02929276228 -3.4053892269731)'), GeomFromEWKT('SRID=4674;POINT (-39.029298294336 -3.4053919930011)'))) / (select extract(epoch from '2026-07-16 20:19:41'::timestamp) - extract(epoch from '2026-07-16 20:19: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'), 47428, 'SRID=4674;POINT (-39.029301982373 -3.4053962677717)', '2026-07-16 20:19:57', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029298294336 -3.4053919930011)'), GeomFromEWKT('SRID=4674;POINT (-39.029301982373 -3.4053962677717)'))) / (select extract(epoch from '2026-07-16 20:19:57'::timestamp) - extract(epoch from '2026-07-16 20:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029298294336 -3.4053919930011)'), GeomFromEWKT('SRID=4674;POINT (-39.029301982373 -3.4053962677717)'))) / (select extract(epoch from '2026-07-16 20:19:57'::timestamp) - extract(epoch from '2026-07-16 20:19: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'), 47428, 'SRID=4674;POINT (-39.029296869412 -3.4054026380181)', '2026-07-16 20:20:12', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029301982373 -3.4053962677717)'), GeomFromEWKT('SRID=4674;POINT (-39.029296869412 -3.4054026380181)'))) / (select extract(epoch from '2026-07-16 20:20:12'::timestamp) - extract(epoch from '2026-07-16 20:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029301982373 -3.4053962677717)'), GeomFromEWKT('SRID=4674;POINT (-39.029296869412 -3.4054026380181)'))) / (select extract(epoch from '2026-07-16 20:20:12'::timestamp) - extract(epoch from '2026-07-16 20:19: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'), 47428, 'SRID=4674;POINT (-39.029267197475 -3.4054285380989)', '2026-07-16 20:20:21', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029296869412 -3.4054026380181)'), GeomFromEWKT('SRID=4674;POINT (-39.029267197475 -3.4054285380989)'))) / (select extract(epoch from '2026-07-16 20:20:21'::timestamp) - extract(epoch from '2026-07-16 20:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029296869412 -3.4054026380181)'), GeomFromEWKT('SRID=4674;POINT (-39.029267197475 -3.4054285380989)'))) / (select extract(epoch from '2026-07-16 20:20:21'::timestamp) - extract(epoch from '2026-07-16 20:20: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'), 47428, 'SRID=4674;POINT (-39.029267868027 -3.4054161328822)', '2026-07-16 20:20:30', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029267197475 -3.4054285380989)'), GeomFromEWKT('SRID=4674;POINT (-39.029267868027 -3.4054161328822)'))) / (select extract(epoch from '2026-07-16 20:20:30'::timestamp) - extract(epoch from '2026-07-16 20:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029267197475 -3.4054285380989)'), GeomFromEWKT('SRID=4674;POINT (-39.029267868027 -3.4054161328822)'))) / (select extract(epoch from '2026-07-16 20:20:30'::timestamp) - extract(epoch from '2026-07-16 20:20:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.029265269637 -3.4054157976061)', '2026-07-16 20:20:40', 4.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029267868027 -3.4054161328822)'), GeomFromEWKT('SRID=4674;POINT (-39.029265269637 -3.4054157976061)'))) / (select extract(epoch from '2026-07-16 20:20:40'::timestamp) - extract(epoch from '2026-07-16 20:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029267868027 -3.4054161328822)'), GeomFromEWKT('SRID=4674;POINT (-39.029265269637 -3.4054157976061)'))) / (select extract(epoch from '2026-07-16 20:20:40'::timestamp) - extract(epoch from '2026-07-16 20:20: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'), 47428, 'SRID=4674;POINT (-39.029269125313 -3.4054039791226)', '2026-07-16 20:20:51', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029265269637 -3.4054157976061)'), GeomFromEWKT('SRID=4674;POINT (-39.029269125313 -3.4054039791226)'))) / (select extract(epoch from '2026-07-16 20:20:51'::timestamp) - extract(epoch from '2026-07-16 20:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029265269637 -3.4054157976061)'), GeomFromEWKT('SRID=4674;POINT (-39.029269125313 -3.4054039791226)'))) / (select extract(epoch from '2026-07-16 20:20:51'::timestamp) - extract(epoch from '2026-07-16 20:20: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'), 47428, 'SRID=4674;POINT (-39.029279435053 -3.4054008778185)', '2026-07-16 20:21:00', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029269125313 -3.4054039791226)'), GeomFromEWKT('SRID=4674;POINT (-39.029279435053 -3.4054008778185)'))) / (select extract(epoch from '2026-07-16 20:21:00'::timestamp) - extract(epoch from '2026-07-16 20:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029269125313 -3.4054039791226)'), GeomFromEWKT('SRID=4674;POINT (-39.029279435053 -3.4054008778185)'))) / (select extract(epoch from '2026-07-16 20:21:00'::timestamp) - extract(epoch from '2026-07-16 20:20: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'), 47428, 'SRID=4674;POINT (-39.02928144671 -3.405386544764)', '2026-07-16 20:21:11', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029279435053 -3.4054008778185)'), GeomFromEWKT('SRID=4674;POINT (-39.02928144671 -3.405386544764)'))) / (select extract(epoch from '2026-07-16 20:21:11'::timestamp) - extract(epoch from '2026-07-16 20:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029279435053 -3.4054008778185)'), GeomFromEWKT('SRID=4674;POINT (-39.02928144671 -3.405386544764)'))) / (select extract(epoch from '2026-07-16 20:21:11'::timestamp) - extract(epoch from '2026-07-16 20:21: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'), 47428, 'SRID=4674;POINT (-39.029281195253 -3.4053797554225)', '2026-07-16 20:21:29', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02928144671 -3.405386544764)'), GeomFromEWKT('SRID=4674;POINT (-39.029281195253 -3.4053797554225)'))) / (select extract(epoch from '2026-07-16 20:21:29'::timestamp) - extract(epoch from '2026-07-16 20:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02928144671 -3.405386544764)'), GeomFromEWKT('SRID=4674;POINT (-39.029281195253 -3.4053797554225)'))) / (select extract(epoch from '2026-07-16 20:21:29'::timestamp) - extract(epoch from '2026-07-16 20:21: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'), 47428, 'SRID=4674;POINT (-39.029285721481 -3.4053797554225)', '2026-07-16 20:21:40', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029281195253 -3.4053797554225)'), GeomFromEWKT('SRID=4674;POINT (-39.029285721481 -3.4053797554225)'))) / (select extract(epoch from '2026-07-16 20:21:40'::timestamp) - extract(epoch from '2026-07-16 20:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029281195253 -3.4053797554225)'), GeomFromEWKT('SRID=4674;POINT (-39.029285721481 -3.4053797554225)'))) / (select extract(epoch from '2026-07-16 20:21:40'::timestamp) - extract(epoch from '2026-07-16 20:21:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.029285721481 -3.4053814318031)', '2026-07-16 20:21:49', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029285721481 -3.4053797554225)'), GeomFromEWKT('SRID=4674;POINT (-39.029285721481 -3.4053814318031)'))) / (select extract(epoch from '2026-07-16 20:21:49'::timestamp) - extract(epoch from '2026-07-16 20:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029285721481 -3.4053797554225)'), GeomFromEWKT('SRID=4674;POINT (-39.029285721481 -3.4053814318031)'))) / (select extract(epoch from '2026-07-16 20:21:49'::timestamp) - extract(epoch from '2026-07-16 20:21:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.029283374548 -3.4053762350231)', '2026-07-16 20:22:00', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029285721481 -3.4053814318031)'), GeomFromEWKT('SRID=4674;POINT (-39.029283374548 -3.4053762350231)'))) / (select extract(epoch from '2026-07-16 20:22:00'::timestamp) - extract(epoch from '2026-07-16 20:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029285721481 -3.4053814318031)'), GeomFromEWKT('SRID=4674;POINT (-39.029283374548 -3.4053762350231)'))) / (select extract(epoch from '2026-07-16 20:22:00'::timestamp) - extract(epoch from '2026-07-16 20:21:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47428, 'SRID=4674;POINT (-39.029283626005 -3.4053746424615)', '2026-07-16 20:22:05', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029283374548 -3.4053762350231)'), GeomFromEWKT('SRID=4674;POINT (-39.029283626005 -3.4053746424615)'))) / (select extract(epoch from '2026-07-16 20:22:05'::timestamp) - extract(epoch from '2026-07-16 20:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029283374548 -3.4053762350231)'), GeomFromEWKT('SRID=4674;POINT (-39.029283626005 -3.4053746424615)'))) / (select extract(epoch from '2026-07-16 20:22:05'::timestamp) - extract(epoch from '2026-07-16 20:22:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
