 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343079 -3.359602)', '2026-07-16 08:08:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34306 -3.359687)'), GeomFromEWKT('SRID=4674;POINT (-38.343079 -3.359602)'))) / (select extract(epoch from '2026-07-16 08:08:50'::timestamp) - extract(epoch from '2026-07-16 08:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34306 -3.359687)'), GeomFromEWKT('SRID=4674;POINT (-38.343079 -3.359602)'))) / (select extract(epoch from '2026-07-16 08:08:50'::timestamp) - extract(epoch from '2026-07-16 08:08: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'), 47391, 'SRID=4674;POINT (-38.343066 -3.359522)', '2026-07-16 08:08:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343079 -3.359602)'), GeomFromEWKT('SRID=4674;POINT (-38.343066 -3.359522)'))) / (select extract(epoch from '2026-07-16 08:08:54'::timestamp) - extract(epoch from '2026-07-16 08:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343079 -3.359602)'), GeomFromEWKT('SRID=4674;POINT (-38.343066 -3.359522)'))) / (select extract(epoch from '2026-07-16 08:08:54'::timestamp) - extract(epoch from '2026-07-16 08:08: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'), 47391, 'SRID=4674;POINT (-38.343066 -3.359399)', '2026-07-16 08:08:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343066 -3.359522)'), GeomFromEWKT('SRID=4674;POINT (-38.343066 -3.359399)'))) / (select extract(epoch from '2026-07-16 08:08:59'::timestamp) - extract(epoch from '2026-07-16 08:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343066 -3.359522)'), GeomFromEWKT('SRID=4674;POINT (-38.343066 -3.359399)'))) / (select extract(epoch from '2026-07-16 08:08:59'::timestamp) - extract(epoch from '2026-07-16 08:08: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'), 47391, 'SRID=4674;POINT (-38.343069 -3.359264)', '2026-07-16 08:09:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343066 -3.359399)'), GeomFromEWKT('SRID=4674;POINT (-38.343069 -3.359264)'))) / (select extract(epoch from '2026-07-16 08:09:04'::timestamp) - extract(epoch from '2026-07-16 08:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343066 -3.359399)'), GeomFromEWKT('SRID=4674;POINT (-38.343069 -3.359264)'))) / (select extract(epoch from '2026-07-16 08:09:04'::timestamp) - extract(epoch from '2026-07-16 08:08:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34307 -3.359095)', '2026-07-16 08:09:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343069 -3.359264)'), GeomFromEWKT('SRID=4674;POINT (-38.34307 -3.359095)'))) / (select extract(epoch from '2026-07-16 08:09:11'::timestamp) - extract(epoch from '2026-07-16 08:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343069 -3.359264)'), GeomFromEWKT('SRID=4674;POINT (-38.34307 -3.359095)'))) / (select extract(epoch from '2026-07-16 08:09:11'::timestamp) - extract(epoch from '2026-07-16 08:09: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'), 47391, 'SRID=4674;POINT (-38.343087 -3.358972)', '2026-07-16 08:09:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34307 -3.359095)'), GeomFromEWKT('SRID=4674;POINT (-38.343087 -3.358972)'))) / (select extract(epoch from '2026-07-16 08:09:16'::timestamp) - extract(epoch from '2026-07-16 08:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34307 -3.359095)'), GeomFromEWKT('SRID=4674;POINT (-38.343087 -3.358972)'))) / (select extract(epoch from '2026-07-16 08:09:16'::timestamp) - extract(epoch from '2026-07-16 08: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'), 47391, 'SRID=4674;POINT (-38.343107 -3.358833)', '2026-07-16 08:09:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343087 -3.358972)'), GeomFromEWKT('SRID=4674;POINT (-38.343107 -3.358833)'))) / (select extract(epoch from '2026-07-16 08:09:22'::timestamp) - extract(epoch from '2026-07-16 08:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343087 -3.358972)'), GeomFromEWKT('SRID=4674;POINT (-38.343107 -3.358833)'))) / (select extract(epoch from '2026-07-16 08:09:22'::timestamp) - extract(epoch from '2026-07-16 08:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343133 -3.358687)', '2026-07-16 08:09:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343107 -3.358833)'), GeomFromEWKT('SRID=4674;POINT (-38.343133 -3.358687)'))) / (select extract(epoch from '2026-07-16 08:09:28'::timestamp) - extract(epoch from '2026-07-16 08:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343107 -3.358833)'), GeomFromEWKT('SRID=4674;POINT (-38.343133 -3.358687)'))) / (select extract(epoch from '2026-07-16 08:09:28'::timestamp) - extract(epoch from '2026-07-16 08:09: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'), 47391, 'SRID=4674;POINT (-38.343152 -3.358556)', '2026-07-16 08:09:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343133 -3.358687)'), GeomFromEWKT('SRID=4674;POINT (-38.343152 -3.358556)'))) / (select extract(epoch from '2026-07-16 08:09:33'::timestamp) - extract(epoch from '2026-07-16 08:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343133 -3.358687)'), GeomFromEWKT('SRID=4674;POINT (-38.343152 -3.358556)'))) / (select extract(epoch from '2026-07-16 08:09:33'::timestamp) - extract(epoch from '2026-07-16 08:09:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343151 -3.35843)', '2026-07-16 08:09:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343152 -3.358556)'), GeomFromEWKT('SRID=4674;POINT (-38.343151 -3.35843)'))) / (select extract(epoch from '2026-07-16 08:09:38'::timestamp) - extract(epoch from '2026-07-16 08:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343152 -3.358556)'), GeomFromEWKT('SRID=4674;POINT (-38.343151 -3.35843)'))) / (select extract(epoch from '2026-07-16 08:09:38'::timestamp) - extract(epoch from '2026-07-16 08:09: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'), 47391, 'SRID=4674;POINT (-38.343147 -3.358304)', '2026-07-16 08:09:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343151 -3.35843)'), GeomFromEWKT('SRID=4674;POINT (-38.343147 -3.358304)'))) / (select extract(epoch from '2026-07-16 08:09:43'::timestamp) - extract(epoch from '2026-07-16 08:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343151 -3.35843)'), GeomFromEWKT('SRID=4674;POINT (-38.343147 -3.358304)'))) / (select extract(epoch from '2026-07-16 08:09:43'::timestamp) - extract(epoch from '2026-07-16 08:09: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'), 47391, 'SRID=4674;POINT (-38.343158 -3.358192)', '2026-07-16 08:09:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343147 -3.358304)'), GeomFromEWKT('SRID=4674;POINT (-38.343158 -3.358192)'))) / (select extract(epoch from '2026-07-16 08:09:47'::timestamp) - extract(epoch from '2026-07-16 08:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343147 -3.358304)'), GeomFromEWKT('SRID=4674;POINT (-38.343158 -3.358192)'))) / (select extract(epoch from '2026-07-16 08:09:47'::timestamp) - extract(epoch from '2026-07-16 08:09: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'), 47391, 'SRID=4674;POINT (-38.343164 -3.358072)', '2026-07-16 08:09:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343158 -3.358192)'), GeomFromEWKT('SRID=4674;POINT (-38.343164 -3.358072)'))) / (select extract(epoch from '2026-07-16 08:09:52'::timestamp) - extract(epoch from '2026-07-16 08:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343158 -3.358192)'), GeomFromEWKT('SRID=4674;POINT (-38.343164 -3.358072)'))) / (select extract(epoch from '2026-07-16 08:09:52'::timestamp) - extract(epoch from '2026-07-16 08:09:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343179 -3.357955)', '2026-07-16 08:09:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343164 -3.358072)'), GeomFromEWKT('SRID=4674;POINT (-38.343179 -3.357955)'))) / (select extract(epoch from '2026-07-16 08:09:57'::timestamp) - extract(epoch from '2026-07-16 08:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343164 -3.358072)'), GeomFromEWKT('SRID=4674;POINT (-38.343179 -3.357955)'))) / (select extract(epoch from '2026-07-16 08:09:57'::timestamp) - extract(epoch from '2026-07-16 08:09: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'), 47391, 'SRID=4674;POINT (-38.34321 -3.357806)', '2026-07-16 08:10:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343179 -3.357955)'), GeomFromEWKT('SRID=4674;POINT (-38.34321 -3.357806)'))) / (select extract(epoch from '2026-07-16 08:10:03'::timestamp) - extract(epoch from '2026-07-16 08:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343179 -3.357955)'), GeomFromEWKT('SRID=4674;POINT (-38.34321 -3.357806)'))) / (select extract(epoch from '2026-07-16 08:10:03'::timestamp) - extract(epoch from '2026-07-16 08:09: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'), 47391, 'SRID=4674;POINT (-38.343239 -3.35761)', '2026-07-16 08:10:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34321 -3.357806)'), GeomFromEWKT('SRID=4674;POINT (-38.343239 -3.35761)'))) / (select extract(epoch from '2026-07-16 08:10:11'::timestamp) - extract(epoch from '2026-07-16 08:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34321 -3.357806)'), GeomFromEWKT('SRID=4674;POINT (-38.343239 -3.35761)'))) / (select extract(epoch from '2026-07-16 08:10:11'::timestamp) - extract(epoch from '2026-07-16 08:10: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'), 47391, 'SRID=4674;POINT (-38.343248 -3.357481)', '2026-07-16 08:10:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343239 -3.35761)'), GeomFromEWKT('SRID=4674;POINT (-38.343248 -3.357481)'))) / (select extract(epoch from '2026-07-16 08:10:16'::timestamp) - extract(epoch from '2026-07-16 08:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343239 -3.35761)'), GeomFromEWKT('SRID=4674;POINT (-38.343248 -3.357481)'))) / (select extract(epoch from '2026-07-16 08:10:16'::timestamp) - extract(epoch from '2026-07-16 08:10:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343244 -3.357344)', '2026-07-16 08:10:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343248 -3.357481)'), GeomFromEWKT('SRID=4674;POINT (-38.343244 -3.357344)'))) / (select extract(epoch from '2026-07-16 08:10:21'::timestamp) - extract(epoch from '2026-07-16 08:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343248 -3.357481)'), GeomFromEWKT('SRID=4674;POINT (-38.343244 -3.357344)'))) / (select extract(epoch from '2026-07-16 08:10:21'::timestamp) - extract(epoch from '2026-07-16 08:10: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'), 47391, 'SRID=4674;POINT (-38.343241 -3.35719)', '2026-07-16 08:10:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343244 -3.357344)'), GeomFromEWKT('SRID=4674;POINT (-38.343241 -3.35719)'))) / (select extract(epoch from '2026-07-16 08:10:27'::timestamp) - extract(epoch from '2026-07-16 08:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343244 -3.357344)'), GeomFromEWKT('SRID=4674;POINT (-38.343241 -3.35719)'))) / (select extract(epoch from '2026-07-16 08:10:27'::timestamp) - extract(epoch from '2026-07-16 08:10: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'), 47391, 'SRID=4674;POINT (-38.343236 -3.357086)', '2026-07-16 08:10:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343241 -3.35719)'), GeomFromEWKT('SRID=4674;POINT (-38.343236 -3.357086)'))) / (select extract(epoch from '2026-07-16 08:10:31'::timestamp) - extract(epoch from '2026-07-16 08:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343241 -3.35719)'), GeomFromEWKT('SRID=4674;POINT (-38.343236 -3.357086)'))) / (select extract(epoch from '2026-07-16 08:10:31'::timestamp) - extract(epoch from '2026-07-16 08:10: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'), 47391, 'SRID=4674;POINT (-38.343239 -3.356946)', '2026-07-16 08:10:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343236 -3.357086)'), GeomFromEWKT('SRID=4674;POINT (-38.343239 -3.356946)'))) / (select extract(epoch from '2026-07-16 08:10:36'::timestamp) - extract(epoch from '2026-07-16 08:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343236 -3.357086)'), GeomFromEWKT('SRID=4674;POINT (-38.343239 -3.356946)'))) / (select extract(epoch from '2026-07-16 08:10:36'::timestamp) - extract(epoch from '2026-07-16 08:10: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'), 47391, 'SRID=4674;POINT (-38.34323 -3.356838)', '2026-07-16 08:10:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343239 -3.356946)'), GeomFromEWKT('SRID=4674;POINT (-38.34323 -3.356838)'))) / (select extract(epoch from '2026-07-16 08:10:41'::timestamp) - extract(epoch from '2026-07-16 08:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343239 -3.356946)'), GeomFromEWKT('SRID=4674;POINT (-38.34323 -3.356838)'))) / (select extract(epoch from '2026-07-16 08:10:41'::timestamp) - extract(epoch from '2026-07-16 08:10: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'), 47391, 'SRID=4674;POINT (-38.343232 -3.356734)', '2026-07-16 08:10:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34323 -3.356838)'), GeomFromEWKT('SRID=4674;POINT (-38.343232 -3.356734)'))) / (select extract(epoch from '2026-07-16 08:10:46'::timestamp) - extract(epoch from '2026-07-16 08:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34323 -3.356838)'), GeomFromEWKT('SRID=4674;POINT (-38.343232 -3.356734)'))) / (select extract(epoch from '2026-07-16 08:10:46'::timestamp) - extract(epoch from '2026-07-16 08:10:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343237 -3.356612)', '2026-07-16 08:10:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343232 -3.356734)'), GeomFromEWKT('SRID=4674;POINT (-38.343237 -3.356612)'))) / (select extract(epoch from '2026-07-16 08:10:51'::timestamp) - extract(epoch from '2026-07-16 08:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343232 -3.356734)'), GeomFromEWKT('SRID=4674;POINT (-38.343237 -3.356612)'))) / (select extract(epoch from '2026-07-16 08:10:51'::timestamp) - extract(epoch from '2026-07-16 08:10: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'), 47391, 'SRID=4674;POINT (-38.343249 -3.356469)', '2026-07-16 08:10:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343237 -3.356612)'), GeomFromEWKT('SRID=4674;POINT (-38.343249 -3.356469)'))) / (select extract(epoch from '2026-07-16 08:10:57'::timestamp) - extract(epoch from '2026-07-16 08:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343237 -3.356612)'), GeomFromEWKT('SRID=4674;POINT (-38.343249 -3.356469)'))) / (select extract(epoch from '2026-07-16 08:10:57'::timestamp) - extract(epoch from '2026-07-16 08:10: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'), 47391, 'SRID=4674;POINT (-38.343263 -3.356358)', '2026-07-16 08:11:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343249 -3.356469)'), GeomFromEWKT('SRID=4674;POINT (-38.343263 -3.356358)'))) / (select extract(epoch from '2026-07-16 08:11:02'::timestamp) - extract(epoch from '2026-07-16 08:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343249 -3.356469)'), GeomFromEWKT('SRID=4674;POINT (-38.343263 -3.356358)'))) / (select extract(epoch from '2026-07-16 08:11:02'::timestamp) - extract(epoch from '2026-07-16 08:10: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'), 47391, 'SRID=4674;POINT (-38.343291 -3.356241)', '2026-07-16 08:11:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343263 -3.356358)'), GeomFromEWKT('SRID=4674;POINT (-38.343291 -3.356241)'))) / (select extract(epoch from '2026-07-16 08:11:07'::timestamp) - extract(epoch from '2026-07-16 08:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343263 -3.356358)'), GeomFromEWKT('SRID=4674;POINT (-38.343291 -3.356241)'))) / (select extract(epoch from '2026-07-16 08:11:07'::timestamp) - extract(epoch from '2026-07-16 08:11:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343314 -3.356095)', '2026-07-16 08:11:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343291 -3.356241)'), GeomFromEWKT('SRID=4674;POINT (-38.343314 -3.356095)'))) / (select extract(epoch from '2026-07-16 08:11:13'::timestamp) - extract(epoch from '2026-07-16 08:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343291 -3.356241)'), GeomFromEWKT('SRID=4674;POINT (-38.343314 -3.356095)'))) / (select extract(epoch from '2026-07-16 08:11:13'::timestamp) - extract(epoch from '2026-07-16 08:11: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'), 47391, 'SRID=4674;POINT (-38.34332 -3.355919)', '2026-07-16 08:11:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343314 -3.356095)'), GeomFromEWKT('SRID=4674;POINT (-38.34332 -3.355919)'))) / (select extract(epoch from '2026-07-16 08:11:20'::timestamp) - extract(epoch from '2026-07-16 08:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343314 -3.356095)'), GeomFromEWKT('SRID=4674;POINT (-38.34332 -3.355919)'))) / (select extract(epoch from '2026-07-16 08:11:20'::timestamp) - extract(epoch from '2026-07-16 08:11: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'), 47391, 'SRID=4674;POINT (-38.343349 -3.355788)', '2026-07-16 08:11:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34332 -3.355919)'), GeomFromEWKT('SRID=4674;POINT (-38.343349 -3.355788)'))) / (select extract(epoch from '2026-07-16 08:11:25'::timestamp) - extract(epoch from '2026-07-16 08:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34332 -3.355919)'), GeomFromEWKT('SRID=4674;POINT (-38.343349 -3.355788)'))) / (select extract(epoch from '2026-07-16 08:11:25'::timestamp) - extract(epoch from '2026-07-16 08:11: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'), 47391, 'SRID=4674;POINT (-38.34338 -3.355672)', '2026-07-16 08:11:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343349 -3.355788)'), GeomFromEWKT('SRID=4674;POINT (-38.34338 -3.355672)'))) / (select extract(epoch from '2026-07-16 08:11:30'::timestamp) - extract(epoch from '2026-07-16 08:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343349 -3.355788)'), GeomFromEWKT('SRID=4674;POINT (-38.34338 -3.355672)'))) / (select extract(epoch from '2026-07-16 08:11:30'::timestamp) - extract(epoch from '2026-07-16 08:11: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'), 47391, 'SRID=4674;POINT (-38.343402 -3.355517)', '2026-07-16 08:11:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34338 -3.355672)'), GeomFromEWKT('SRID=4674;POINT (-38.343402 -3.355517)'))) / (select extract(epoch from '2026-07-16 08:11:36'::timestamp) - extract(epoch from '2026-07-16 08:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34338 -3.355672)'), GeomFromEWKT('SRID=4674;POINT (-38.343402 -3.355517)'))) / (select extract(epoch from '2026-07-16 08:11:36'::timestamp) - extract(epoch from '2026-07-16 08:11: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'), 47391, 'SRID=4674;POINT (-38.343406 -3.355463)', '2026-07-16 08:11:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343402 -3.355517)'), GeomFromEWKT('SRID=4674;POINT (-38.343406 -3.355463)'))) / (select extract(epoch from '2026-07-16 08:11:38'::timestamp) - extract(epoch from '2026-07-16 08:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343402 -3.355517)'), GeomFromEWKT('SRID=4674;POINT (-38.343406 -3.355463)'))) / (select extract(epoch from '2026-07-16 08:11:38'::timestamp) - extract(epoch from '2026-07-16 08:11: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'), 47391, 'SRID=4674;POINT (-38.343402 -3.35542)', '2026-07-16 08:11:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343406 -3.355463)'), GeomFromEWKT('SRID=4674;POINT (-38.343402 -3.35542)'))) / (select extract(epoch from '2026-07-16 08:11:40'::timestamp) - extract(epoch from '2026-07-16 08:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343406 -3.355463)'), GeomFromEWKT('SRID=4674;POINT (-38.343402 -3.35542)'))) / (select extract(epoch from '2026-07-16 08:11:40'::timestamp) - extract(epoch from '2026-07-16 08:11:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343412 -3.355321)', '2026-07-16 08:11:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343402 -3.35542)'), GeomFromEWKT('SRID=4674;POINT (-38.343412 -3.355321)'))) / (select extract(epoch from '2026-07-16 08:11:44'::timestamp) - extract(epoch from '2026-07-16 08:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343402 -3.35542)'), GeomFromEWKT('SRID=4674;POINT (-38.343412 -3.355321)'))) / (select extract(epoch from '2026-07-16 08:11:44'::timestamp) - extract(epoch from '2026-07-16 08:11: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'), 47391, 'SRID=4674;POINT (-38.343405 -3.355206)', '2026-07-16 08:11:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343412 -3.355321)'), GeomFromEWKT('SRID=4674;POINT (-38.343405 -3.355206)'))) / (select extract(epoch from '2026-07-16 08:11:49'::timestamp) - extract(epoch from '2026-07-16 08:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343412 -3.355321)'), GeomFromEWKT('SRID=4674;POINT (-38.343405 -3.355206)'))) / (select extract(epoch from '2026-07-16 08:11:49'::timestamp) - extract(epoch from '2026-07-16 08:11: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'), 47391, 'SRID=4674;POINT (-38.343395 -3.355131)', '2026-07-16 08:11:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343405 -3.355206)'), GeomFromEWKT('SRID=4674;POINT (-38.343395 -3.355131)'))) / (select extract(epoch from '2026-07-16 08:11:53'::timestamp) - extract(epoch from '2026-07-16 08:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343405 -3.355206)'), GeomFromEWKT('SRID=4674;POINT (-38.343395 -3.355131)'))) / (select extract(epoch from '2026-07-16 08:11:53'::timestamp) - extract(epoch from '2026-07-16 08:11: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'), 47391, 'SRID=4674;POINT (-38.343393 -3.355067)', '2026-07-16 08:11:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343395 -3.355131)'), GeomFromEWKT('SRID=4674;POINT (-38.343393 -3.355067)'))) / (select extract(epoch from '2026-07-16 08:11:56'::timestamp) - extract(epoch from '2026-07-16 08:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343395 -3.355131)'), GeomFromEWKT('SRID=4674;POINT (-38.343393 -3.355067)'))) / (select extract(epoch from '2026-07-16 08:11:56'::timestamp) - extract(epoch from '2026-07-16 08:11: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'), 47391, 'SRID=4674;POINT (-38.343382 -3.355032)', '2026-07-16 08:11:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343393 -3.355067)'), GeomFromEWKT('SRID=4674;POINT (-38.343382 -3.355032)'))) / (select extract(epoch from '2026-07-16 08:11:58'::timestamp) - extract(epoch from '2026-07-16 08:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343393 -3.355067)'), GeomFromEWKT('SRID=4674;POINT (-38.343382 -3.355032)'))) / (select extract(epoch from '2026-07-16 08:11:58'::timestamp) - extract(epoch from '2026-07-16 08: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'), 47391, 'SRID=4674;POINT (-38.343392 -3.354967)', '2026-07-16 08:12:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343382 -3.355032)'), GeomFromEWKT('SRID=4674;POINT (-38.343392 -3.354967)'))) / (select extract(epoch from '2026-07-16 08:12:01'::timestamp) - extract(epoch from '2026-07-16 08:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343382 -3.355032)'), GeomFromEWKT('SRID=4674;POINT (-38.343392 -3.354967)'))) / (select extract(epoch from '2026-07-16 08:12:01'::timestamp) - extract(epoch from '2026-07-16 08:11: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'), 47391, 'SRID=4674;POINT (-38.343386 -3.35495)', '2026-07-16 08:12:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343392 -3.354967)'), GeomFromEWKT('SRID=4674;POINT (-38.343386 -3.35495)'))) / (select extract(epoch from '2026-07-16 08:12:02'::timestamp) - extract(epoch from '2026-07-16 08:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343392 -3.354967)'), GeomFromEWKT('SRID=4674;POINT (-38.343386 -3.35495)'))) / (select extract(epoch from '2026-07-16 08:12:02'::timestamp) - extract(epoch from '2026-07-16 08:12: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'), 47391, 'SRID=4674;POINT (-38.343371 -3.354883)', '2026-07-16 08:12:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343386 -3.35495)'), GeomFromEWKT('SRID=4674;POINT (-38.343371 -3.354883)'))) / (select extract(epoch from '2026-07-16 08:12:06'::timestamp) - extract(epoch from '2026-07-16 08:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343386 -3.35495)'), GeomFromEWKT('SRID=4674;POINT (-38.343371 -3.354883)'))) / (select extract(epoch from '2026-07-16 08:12:06'::timestamp) - extract(epoch from '2026-07-16 08:12: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'), 47391, 'SRID=4674;POINT (-38.343377 -3.354863)', '2026-07-16 08:12:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343371 -3.354883)'), GeomFromEWKT('SRID=4674;POINT (-38.343377 -3.354863)'))) / (select extract(epoch from '2026-07-16 08:12:07'::timestamp) - extract(epoch from '2026-07-16 08:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343371 -3.354883)'), GeomFromEWKT('SRID=4674;POINT (-38.343377 -3.354863)'))) / (select extract(epoch from '2026-07-16 08:12:07'::timestamp) - extract(epoch from '2026-07-16 08:12: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'), 47391, 'SRID=4674;POINT (-38.343377 -3.354839)', '2026-07-16 08:12:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343377 -3.354863)'), GeomFromEWKT('SRID=4674;POINT (-38.343377 -3.354839)'))) / (select extract(epoch from '2026-07-16 08:12:08'::timestamp) - extract(epoch from '2026-07-16 08:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343377 -3.354863)'), GeomFromEWKT('SRID=4674;POINT (-38.343377 -3.354839)'))) / (select extract(epoch from '2026-07-16 08:12:08'::timestamp) - extract(epoch from '2026-07-16 08:12: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'), 47391, 'SRID=4674;POINT (-38.343355 -3.354794)', '2026-07-16 08:12:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343377 -3.354839)'), GeomFromEWKT('SRID=4674;POINT (-38.343355 -3.354794)'))) / (select extract(epoch from '2026-07-16 08:12:11'::timestamp) - extract(epoch from '2026-07-16 08:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343377 -3.354839)'), GeomFromEWKT('SRID=4674;POINT (-38.343355 -3.354794)'))) / (select extract(epoch from '2026-07-16 08:12:11'::timestamp) - extract(epoch from '2026-07-16 08:12: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'), 47391, 'SRID=4674;POINT (-38.343346 -3.354705)', '2026-07-16 08:12:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343355 -3.354794)'), GeomFromEWKT('SRID=4674;POINT (-38.343346 -3.354705)'))) / (select extract(epoch from '2026-07-16 08:12:15'::timestamp) - extract(epoch from '2026-07-16 08:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343355 -3.354794)'), GeomFromEWKT('SRID=4674;POINT (-38.343346 -3.354705)'))) / (select extract(epoch from '2026-07-16 08:12:15'::timestamp) - extract(epoch from '2026-07-16 08:12: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'), 47391, 'SRID=4674;POINT (-38.343334 -3.354666)', '2026-07-16 08:12:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343346 -3.354705)'), GeomFromEWKT('SRID=4674;POINT (-38.343334 -3.354666)'))) / (select extract(epoch from '2026-07-16 08:12:17'::timestamp) - extract(epoch from '2026-07-16 08:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343346 -3.354705)'), GeomFromEWKT('SRID=4674;POINT (-38.343334 -3.354666)'))) / (select extract(epoch from '2026-07-16 08:12:17'::timestamp) - extract(epoch from '2026-07-16 08:12: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'), 47391, 'SRID=4674;POINT (-38.34334 -3.354602)', '2026-07-16 08:12:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343334 -3.354666)'), GeomFromEWKT('SRID=4674;POINT (-38.34334 -3.354602)'))) / (select extract(epoch from '2026-07-16 08:12:20'::timestamp) - extract(epoch from '2026-07-16 08:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343334 -3.354666)'), GeomFromEWKT('SRID=4674;POINT (-38.34334 -3.354602)'))) / (select extract(epoch from '2026-07-16 08:12:20'::timestamp) - extract(epoch from '2026-07-16 08:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343327 -3.35449)', '2026-07-16 08:12:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34334 -3.354602)'), GeomFromEWKT('SRID=4674;POINT (-38.343327 -3.35449)'))) / (select extract(epoch from '2026-07-16 08:12:25'::timestamp) - extract(epoch from '2026-07-16 08:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34334 -3.354602)'), GeomFromEWKT('SRID=4674;POINT (-38.343327 -3.35449)'))) / (select extract(epoch from '2026-07-16 08:12:25'::timestamp) - extract(epoch from '2026-07-16 08:12: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'), 47391, 'SRID=4674;POINT (-38.343319 -3.354329)', '2026-07-16 08:12:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343327 -3.35449)'), GeomFromEWKT('SRID=4674;POINT (-38.343319 -3.354329)'))) / (select extract(epoch from '2026-07-16 08:12:32'::timestamp) - extract(epoch from '2026-07-16 08:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343327 -3.35449)'), GeomFromEWKT('SRID=4674;POINT (-38.343319 -3.354329)'))) / (select extract(epoch from '2026-07-16 08:12:32'::timestamp) - extract(epoch from '2026-07-16 08:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343303 -3.354244)', '2026-07-16 08:12:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343319 -3.354329)'), GeomFromEWKT('SRID=4674;POINT (-38.343303 -3.354244)'))) / (select extract(epoch from '2026-07-16 08:12:36'::timestamp) - extract(epoch from '2026-07-16 08:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343319 -3.354329)'), GeomFromEWKT('SRID=4674;POINT (-38.343303 -3.354244)'))) / (select extract(epoch from '2026-07-16 08:12:36'::timestamp) - extract(epoch from '2026-07-16 08:12:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343281 -3.354096)', '2026-07-16 08:12:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343303 -3.354244)'), GeomFromEWKT('SRID=4674;POINT (-38.343281 -3.354096)'))) / (select extract(epoch from '2026-07-16 08:12:42'::timestamp) - extract(epoch from '2026-07-16 08:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343303 -3.354244)'), GeomFromEWKT('SRID=4674;POINT (-38.343281 -3.354096)'))) / (select extract(epoch from '2026-07-16 08:12:42'::timestamp) - extract(epoch from '2026-07-16 08:12: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'), 47391, 'SRID=4674;POINT (-38.343273 -3.353977)', '2026-07-16 08:12:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343281 -3.354096)'), GeomFromEWKT('SRID=4674;POINT (-38.343273 -3.353977)'))) / (select extract(epoch from '2026-07-16 08:12:47'::timestamp) - extract(epoch from '2026-07-16 08:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343281 -3.354096)'), GeomFromEWKT('SRID=4674;POINT (-38.343273 -3.353977)'))) / (select extract(epoch from '2026-07-16 08:12:47'::timestamp) - extract(epoch from '2026-07-16 08:12: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'), 47391, 'SRID=4674;POINT (-38.343257 -3.353832)', '2026-07-16 08:12:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343273 -3.353977)'), GeomFromEWKT('SRID=4674;POINT (-38.343257 -3.353832)'))) / (select extract(epoch from '2026-07-16 08:12:53'::timestamp) - extract(epoch from '2026-07-16 08:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343273 -3.353977)'), GeomFromEWKT('SRID=4674;POINT (-38.343257 -3.353832)'))) / (select extract(epoch from '2026-07-16 08:12:53'::timestamp) - extract(epoch from '2026-07-16 08:12: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'), 47391, 'SRID=4674;POINT (-38.343238 -3.353712)', '2026-07-16 08:12:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343257 -3.353832)'), GeomFromEWKT('SRID=4674;POINT (-38.343238 -3.353712)'))) / (select extract(epoch from '2026-07-16 08:12:58'::timestamp) - extract(epoch from '2026-07-16 08:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343257 -3.353832)'), GeomFromEWKT('SRID=4674;POINT (-38.343238 -3.353712)'))) / (select extract(epoch from '2026-07-16 08:12:58'::timestamp) - extract(epoch from '2026-07-16 08:12: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'), 47391, 'SRID=4674;POINT (-38.343225 -3.353589)', '2026-07-16 08:13:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343238 -3.353712)'), GeomFromEWKT('SRID=4674;POINT (-38.343225 -3.353589)'))) / (select extract(epoch from '2026-07-16 08:13:03'::timestamp) - extract(epoch from '2026-07-16 08:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343238 -3.353712)'), GeomFromEWKT('SRID=4674;POINT (-38.343225 -3.353589)'))) / (select extract(epoch from '2026-07-16 08:13:03'::timestamp) - extract(epoch from '2026-07-16 08:12: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'), 47391, 'SRID=4674;POINT (-38.343222 -3.353438)', '2026-07-16 08:13:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343225 -3.353589)'), GeomFromEWKT('SRID=4674;POINT (-38.343222 -3.353438)'))) / (select extract(epoch from '2026-07-16 08:13:09'::timestamp) - extract(epoch from '2026-07-16 08:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343225 -3.353589)'), GeomFromEWKT('SRID=4674;POINT (-38.343222 -3.353438)'))) / (select extract(epoch from '2026-07-16 08:13:09'::timestamp) - extract(epoch from '2026-07-16 08:13: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'), 47391, 'SRID=4674;POINT (-38.343217 -3.353344)', '2026-07-16 08:13:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343222 -3.353438)'), GeomFromEWKT('SRID=4674;POINT (-38.343217 -3.353344)'))) / (select extract(epoch from '2026-07-16 08:13:13'::timestamp) - extract(epoch from '2026-07-16 08:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343222 -3.353438)'), GeomFromEWKT('SRID=4674;POINT (-38.343217 -3.353344)'))) / (select extract(epoch from '2026-07-16 08:13:13'::timestamp) - extract(epoch from '2026-07-16 08:13: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'), 47391, 'SRID=4674;POINT (-38.343223 -3.353321)', '2026-07-16 08:13:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343217 -3.353344)'), GeomFromEWKT('SRID=4674;POINT (-38.343223 -3.353321)'))) / (select extract(epoch from '2026-07-16 08:13:14'::timestamp) - extract(epoch from '2026-07-16 08:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343217 -3.353344)'), GeomFromEWKT('SRID=4674;POINT (-38.343223 -3.353321)'))) / (select extract(epoch from '2026-07-16 08:13:14'::timestamp) - extract(epoch from '2026-07-16 08:13: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'), 47391, 'SRID=4674;POINT (-38.343224 -3.353225)', '2026-07-16 08:13:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343223 -3.353321)'), GeomFromEWKT('SRID=4674;POINT (-38.343224 -3.353225)'))) / (select extract(epoch from '2026-07-16 08:13:18'::timestamp) - extract(epoch from '2026-07-16 08:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343223 -3.353321)'), GeomFromEWKT('SRID=4674;POINT (-38.343224 -3.353225)'))) / (select extract(epoch from '2026-07-16 08:13:18'::timestamp) - extract(epoch from '2026-07-16 08:13: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'), 47391, 'SRID=4674;POINT (-38.343223 -3.353083)', '2026-07-16 08:13:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343224 -3.353225)'), GeomFromEWKT('SRID=4674;POINT (-38.343223 -3.353083)'))) / (select extract(epoch from '2026-07-16 08:13:24'::timestamp) - extract(epoch from '2026-07-16 08:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343224 -3.353225)'), GeomFromEWKT('SRID=4674;POINT (-38.343223 -3.353083)'))) / (select extract(epoch from '2026-07-16 08:13:24'::timestamp) - extract(epoch from '2026-07-16 08:13:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343223 -3.352976)', '2026-07-16 08:13:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343223 -3.353083)'), GeomFromEWKT('SRID=4674;POINT (-38.343223 -3.352976)'))) / (select extract(epoch from '2026-07-16 08:13:29'::timestamp) - extract(epoch from '2026-07-16 08:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343223 -3.353083)'), GeomFromEWKT('SRID=4674;POINT (-38.343223 -3.352976)'))) / (select extract(epoch from '2026-07-16 08:13:29'::timestamp) - extract(epoch from '2026-07-16 08:13: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'), 47391, 'SRID=4674;POINT (-38.343234 -3.352844)', '2026-07-16 08:13:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343223 -3.352976)'), GeomFromEWKT('SRID=4674;POINT (-38.343234 -3.352844)'))) / (select extract(epoch from '2026-07-16 08:13:35'::timestamp) - extract(epoch from '2026-07-16 08:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343223 -3.352976)'), GeomFromEWKT('SRID=4674;POINT (-38.343234 -3.352844)'))) / (select extract(epoch from '2026-07-16 08:13:35'::timestamp) - extract(epoch from '2026-07-16 08:13: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'), 47391, 'SRID=4674;POINT (-38.343235 -3.352727)', '2026-07-16 08:13:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343234 -3.352844)'), GeomFromEWKT('SRID=4674;POINT (-38.343235 -3.352727)'))) / (select extract(epoch from '2026-07-16 08:13:40'::timestamp) - extract(epoch from '2026-07-16 08:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343234 -3.352844)'), GeomFromEWKT('SRID=4674;POINT (-38.343235 -3.352727)'))) / (select extract(epoch from '2026-07-16 08:13:40'::timestamp) - extract(epoch from '2026-07-16 08:13: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'), 47391, 'SRID=4674;POINT (-38.343234 -3.352581)', '2026-07-16 08:13:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343235 -3.352727)'), GeomFromEWKT('SRID=4674;POINT (-38.343234 -3.352581)'))) / (select extract(epoch from '2026-07-16 08:13:46'::timestamp) - extract(epoch from '2026-07-16 08:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343235 -3.352727)'), GeomFromEWKT('SRID=4674;POINT (-38.343234 -3.352581)'))) / (select extract(epoch from '2026-07-16 08:13:46'::timestamp) - extract(epoch from '2026-07-16 08:13: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'), 47391, 'SRID=4674;POINT (-38.343239 -3.352462)', '2026-07-16 08:13:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343234 -3.352581)'), GeomFromEWKT('SRID=4674;POINT (-38.343239 -3.352462)'))) / (select extract(epoch from '2026-07-16 08:13:51'::timestamp) - extract(epoch from '2026-07-16 08:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343234 -3.352581)'), GeomFromEWKT('SRID=4674;POINT (-38.343239 -3.352462)'))) / (select extract(epoch from '2026-07-16 08:13:51'::timestamp) - extract(epoch from '2026-07-16 08:13: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'), 47391, 'SRID=4674;POINT (-38.343213 -3.352343)', '2026-07-16 08:13:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343239 -3.352462)'), GeomFromEWKT('SRID=4674;POINT (-38.343213 -3.352343)'))) / (select extract(epoch from '2026-07-16 08:13:57'::timestamp) - extract(epoch from '2026-07-16 08:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343239 -3.352462)'), GeomFromEWKT('SRID=4674;POINT (-38.343213 -3.352343)'))) / (select extract(epoch from '2026-07-16 08:13:57'::timestamp) - extract(epoch from '2026-07-16 08: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'), 47391, 'SRID=4674;POINT (-38.343182 -3.352199)', '2026-07-16 08:14:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343213 -3.352343)'), GeomFromEWKT('SRID=4674;POINT (-38.343182 -3.352199)'))) / (select extract(epoch from '2026-07-16 08:14:04'::timestamp) - extract(epoch from '2026-07-16 08:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343213 -3.352343)'), GeomFromEWKT('SRID=4674;POINT (-38.343182 -3.352199)'))) / (select extract(epoch from '2026-07-16 08:14:04'::timestamp) - extract(epoch from '2026-07-16 08:13: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'), 47391, 'SRID=4674;POINT (-38.343183 -3.352087)', '2026-07-16 08:14:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343182 -3.352199)'), GeomFromEWKT('SRID=4674;POINT (-38.343183 -3.352087)'))) / (select extract(epoch from '2026-07-16 08:14:09'::timestamp) - extract(epoch from '2026-07-16 08:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343182 -3.352199)'), GeomFromEWKT('SRID=4674;POINT (-38.343183 -3.352087)'))) / (select extract(epoch from '2026-07-16 08:14:09'::timestamp) - extract(epoch from '2026-07-16 08:14: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'), 47391, 'SRID=4674;POINT (-38.343171 -3.351929)', '2026-07-16 08:14:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343183 -3.352087)'), GeomFromEWKT('SRID=4674;POINT (-38.343171 -3.351929)'))) / (select extract(epoch from '2026-07-16 08:14:16'::timestamp) - extract(epoch from '2026-07-16 08:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343183 -3.352087)'), GeomFromEWKT('SRID=4674;POINT (-38.343171 -3.351929)'))) / (select extract(epoch from '2026-07-16 08:14:16'::timestamp) - extract(epoch from '2026-07-16 08:14:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343161 -3.351852)', '2026-07-16 08:14:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343171 -3.351929)'), GeomFromEWKT('SRID=4674;POINT (-38.343161 -3.351852)'))) / (select extract(epoch from '2026-07-16 08:14:20'::timestamp) - extract(epoch from '2026-07-16 08:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343171 -3.351929)'), GeomFromEWKT('SRID=4674;POINT (-38.343161 -3.351852)'))) / (select extract(epoch from '2026-07-16 08:14:20'::timestamp) - extract(epoch from '2026-07-16 08:14: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'), 47391, 'SRID=4674;POINT (-38.343149 -3.35171)', '2026-07-16 08:14:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343161 -3.351852)'), GeomFromEWKT('SRID=4674;POINT (-38.343149 -3.35171)'))) / (select extract(epoch from '2026-07-16 08:14:25'::timestamp) - extract(epoch from '2026-07-16 08:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343161 -3.351852)'), GeomFromEWKT('SRID=4674;POINT (-38.343149 -3.35171)'))) / (select extract(epoch from '2026-07-16 08:14:25'::timestamp) - extract(epoch from '2026-07-16 08:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343146 -3.351584)', '2026-07-16 08:14:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343149 -3.35171)'), GeomFromEWKT('SRID=4674;POINT (-38.343146 -3.351584)'))) / (select extract(epoch from '2026-07-16 08:14:32'::timestamp) - extract(epoch from '2026-07-16 08:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343149 -3.35171)'), GeomFromEWKT('SRID=4674;POINT (-38.343146 -3.351584)'))) / (select extract(epoch from '2026-07-16 08:14:32'::timestamp) - extract(epoch from '2026-07-16 08:14: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'), 47391, 'SRID=4674;POINT (-38.343156 -3.351463)', '2026-07-16 08:14:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343146 -3.351584)'), GeomFromEWKT('SRID=4674;POINT (-38.343156 -3.351463)'))) / (select extract(epoch from '2026-07-16 08:14:37'::timestamp) - extract(epoch from '2026-07-16 08:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343146 -3.351584)'), GeomFromEWKT('SRID=4674;POINT (-38.343156 -3.351463)'))) / (select extract(epoch from '2026-07-16 08:14:37'::timestamp) - extract(epoch from '2026-07-16 08:14: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'), 47391, 'SRID=4674;POINT (-38.343152 -3.351356)', '2026-07-16 08:14:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343156 -3.351463)'), GeomFromEWKT('SRID=4674;POINT (-38.343152 -3.351356)'))) / (select extract(epoch from '2026-07-16 08:14:42'::timestamp) - extract(epoch from '2026-07-16 08:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343156 -3.351463)'), GeomFromEWKT('SRID=4674;POINT (-38.343152 -3.351356)'))) / (select extract(epoch from '2026-07-16 08:14:42'::timestamp) - extract(epoch from '2026-07-16 08:14: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'), 47391, 'SRID=4674;POINT (-38.343133 -3.35125)', '2026-07-16 08:14:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343152 -3.351356)'), GeomFromEWKT('SRID=4674;POINT (-38.343133 -3.35125)'))) / (select extract(epoch from '2026-07-16 08:14:47'::timestamp) - extract(epoch from '2026-07-16 08:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343152 -3.351356)'), GeomFromEWKT('SRID=4674;POINT (-38.343133 -3.35125)'))) / (select extract(epoch from '2026-07-16 08:14:47'::timestamp) - extract(epoch from '2026-07-16 08:14: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'), 47391, 'SRID=4674;POINT (-38.343134 -3.351141)', '2026-07-16 08:14:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343133 -3.35125)'), GeomFromEWKT('SRID=4674;POINT (-38.343134 -3.351141)'))) / (select extract(epoch from '2026-07-16 08:14:52'::timestamp) - extract(epoch from '2026-07-16 08:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343133 -3.35125)'), GeomFromEWKT('SRID=4674;POINT (-38.343134 -3.351141)'))) / (select extract(epoch from '2026-07-16 08:14:52'::timestamp) - extract(epoch from '2026-07-16 08:14: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'), 47391, 'SRID=4674;POINT (-38.343124 -3.351013)', '2026-07-16 08:14:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343134 -3.351141)'), GeomFromEWKT('SRID=4674;POINT (-38.343124 -3.351013)'))) / (select extract(epoch from '2026-07-16 08:14:58'::timestamp) - extract(epoch from '2026-07-16 08:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343134 -3.351141)'), GeomFromEWKT('SRID=4674;POINT (-38.343124 -3.351013)'))) / (select extract(epoch from '2026-07-16 08:14:58'::timestamp) - extract(epoch from '2026-07-16 08:14: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'), 47391, 'SRID=4674;POINT (-38.343105 -3.350917)', '2026-07-16 08:15:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343124 -3.351013)'), GeomFromEWKT('SRID=4674;POINT (-38.343105 -3.350917)'))) / (select extract(epoch from '2026-07-16 08:15:02'::timestamp) - extract(epoch from '2026-07-16 08:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343124 -3.351013)'), GeomFromEWKT('SRID=4674;POINT (-38.343105 -3.350917)'))) / (select extract(epoch from '2026-07-16 08:15:02'::timestamp) - extract(epoch from '2026-07-16 08:14:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343086 -3.350796)', '2026-07-16 08:15:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343105 -3.350917)'), GeomFromEWKT('SRID=4674;POINT (-38.343086 -3.350796)'))) / (select extract(epoch from '2026-07-16 08:15:07'::timestamp) - extract(epoch from '2026-07-16 08:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343105 -3.350917)'), GeomFromEWKT('SRID=4674;POINT (-38.343086 -3.350796)'))) / (select extract(epoch from '2026-07-16 08:15:07'::timestamp) - extract(epoch from '2026-07-16 08:15: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'), 47391, 'SRID=4674;POINT (-38.34306 -3.350681)', '2026-07-16 08:15:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343086 -3.350796)'), GeomFromEWKT('SRID=4674;POINT (-38.34306 -3.350681)'))) / (select extract(epoch from '2026-07-16 08:15:12'::timestamp) - extract(epoch from '2026-07-16 08:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343086 -3.350796)'), GeomFromEWKT('SRID=4674;POINT (-38.34306 -3.350681)'))) / (select extract(epoch from '2026-07-16 08:15:12'::timestamp) - extract(epoch from '2026-07-16 08:15: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'), 47391, 'SRID=4674;POINT (-38.343038 -3.350566)', '2026-07-16 08:15:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34306 -3.350681)'), GeomFromEWKT('SRID=4674;POINT (-38.343038 -3.350566)'))) / (select extract(epoch from '2026-07-16 08:15:17'::timestamp) - extract(epoch from '2026-07-16 08:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34306 -3.350681)'), GeomFromEWKT('SRID=4674;POINT (-38.343038 -3.350566)'))) / (select extract(epoch from '2026-07-16 08:15:17'::timestamp) - extract(epoch from '2026-07-16 08:15:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343013 -3.350457)', '2026-07-16 08:15:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343038 -3.350566)'), GeomFromEWKT('SRID=4674;POINT (-38.343013 -3.350457)'))) / (select extract(epoch from '2026-07-16 08:15:22'::timestamp) - extract(epoch from '2026-07-16 08:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343038 -3.350566)'), GeomFromEWKT('SRID=4674;POINT (-38.343013 -3.350457)'))) / (select extract(epoch from '2026-07-16 08:15:22'::timestamp) - extract(epoch from '2026-07-16 08:15: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'), 47391, 'SRID=4674;POINT (-38.343001 -3.350367)', '2026-07-16 08:15:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343013 -3.350457)'), GeomFromEWKT('SRID=4674;POINT (-38.343001 -3.350367)'))) / (select extract(epoch from '2026-07-16 08:15:27'::timestamp) - extract(epoch from '2026-07-16 08:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343013 -3.350457)'), GeomFromEWKT('SRID=4674;POINT (-38.343001 -3.350367)'))) / (select extract(epoch from '2026-07-16 08:15:27'::timestamp) - extract(epoch from '2026-07-16 08:15: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'), 47391, 'SRID=4674;POINT (-38.342981 -3.350242)', '2026-07-16 08:15:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343001 -3.350367)'), GeomFromEWKT('SRID=4674;POINT (-38.342981 -3.350242)'))) / (select extract(epoch from '2026-07-16 08:15:33'::timestamp) - extract(epoch from '2026-07-16 08:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343001 -3.350367)'), GeomFromEWKT('SRID=4674;POINT (-38.342981 -3.350242)'))) / (select extract(epoch from '2026-07-16 08:15:33'::timestamp) - extract(epoch from '2026-07-16 08:15: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'), 47391, 'SRID=4674;POINT (-38.342962 -3.350104)', '2026-07-16 08:15:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342981 -3.350242)'), GeomFromEWKT('SRID=4674;POINT (-38.342962 -3.350104)'))) / (select extract(epoch from '2026-07-16 08:15:39'::timestamp) - extract(epoch from '2026-07-16 08:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342981 -3.350242)'), GeomFromEWKT('SRID=4674;POINT (-38.342962 -3.350104)'))) / (select extract(epoch from '2026-07-16 08:15:39'::timestamp) - extract(epoch from '2026-07-16 08:15: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'), 47391, 'SRID=4674;POINT (-38.342962 -3.349966)', '2026-07-16 08:15:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342962 -3.350104)'), GeomFromEWKT('SRID=4674;POINT (-38.342962 -3.349966)'))) / (select extract(epoch from '2026-07-16 08:15:45'::timestamp) - extract(epoch from '2026-07-16 08:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342962 -3.350104)'), GeomFromEWKT('SRID=4674;POINT (-38.342962 -3.349966)'))) / (select extract(epoch from '2026-07-16 08:15:45'::timestamp) - extract(epoch from '2026-07-16 08:15: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'), 47391, 'SRID=4674;POINT (-38.34295 -3.349878)', '2026-07-16 08:15:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342962 -3.349966)'), GeomFromEWKT('SRID=4674;POINT (-38.34295 -3.349878)'))) / (select extract(epoch from '2026-07-16 08:15:49'::timestamp) - extract(epoch from '2026-07-16 08:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342962 -3.349966)'), GeomFromEWKT('SRID=4674;POINT (-38.34295 -3.349878)'))) / (select extract(epoch from '2026-07-16 08:15:49'::timestamp) - extract(epoch from '2026-07-16 08:15: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'), 47391, 'SRID=4674;POINT (-38.342958 -3.349805)', '2026-07-16 08:15:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34295 -3.349878)'), GeomFromEWKT('SRID=4674;POINT (-38.342958 -3.349805)'))) / (select extract(epoch from '2026-07-16 08:15:52'::timestamp) - extract(epoch from '2026-07-16 08:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34295 -3.349878)'), GeomFromEWKT('SRID=4674;POINT (-38.342958 -3.349805)'))) / (select extract(epoch from '2026-07-16 08:15:52'::timestamp) - extract(epoch from '2026-07-16 08:15: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'), 47391, 'SRID=4674;POINT (-38.342947 -3.349782)', '2026-07-16 08:15:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342958 -3.349805)'), GeomFromEWKT('SRID=4674;POINT (-38.342947 -3.349782)'))) / (select extract(epoch from '2026-07-16 08:15:53'::timestamp) - extract(epoch from '2026-07-16 08:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342958 -3.349805)'), GeomFromEWKT('SRID=4674;POINT (-38.342947 -3.349782)'))) / (select extract(epoch from '2026-07-16 08:15:53'::timestamp) - extract(epoch from '2026-07-16 08:15: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'), 47391, 'SRID=4674;POINT (-38.342935 -3.349673)', '2026-07-16 08:15:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342947 -3.349782)'), GeomFromEWKT('SRID=4674;POINT (-38.342935 -3.349673)'))) / (select extract(epoch from '2026-07-16 08:15:58'::timestamp) - extract(epoch from '2026-07-16 08:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342947 -3.349782)'), GeomFromEWKT('SRID=4674;POINT (-38.342935 -3.349673)'))) / (select extract(epoch from '2026-07-16 08:15:58'::timestamp) - extract(epoch from '2026-07-16 08: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'), 47391, 'SRID=4674;POINT (-38.342916 -3.349548)', '2026-07-16 08:16:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342935 -3.349673)'), GeomFromEWKT('SRID=4674;POINT (-38.342916 -3.349548)'))) / (select extract(epoch from '2026-07-16 08:16:03'::timestamp) - extract(epoch from '2026-07-16 08:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342935 -3.349673)'), GeomFromEWKT('SRID=4674;POINT (-38.342916 -3.349548)'))) / (select extract(epoch from '2026-07-16 08:16:03'::timestamp) - extract(epoch from '2026-07-16 08:15: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'), 47391, 'SRID=4674;POINT (-38.34289 -3.349429)', '2026-07-16 08:16:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342916 -3.349548)'), GeomFromEWKT('SRID=4674;POINT (-38.34289 -3.349429)'))) / (select extract(epoch from '2026-07-16 08:16:08'::timestamp) - extract(epoch from '2026-07-16 08:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342916 -3.349548)'), GeomFromEWKT('SRID=4674;POINT (-38.34289 -3.349429)'))) / (select extract(epoch from '2026-07-16 08:16:08'::timestamp) - extract(epoch from '2026-07-16 08:16: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'), 47391, 'SRID=4674;POINT (-38.342902 -3.349358)', '2026-07-16 08:16:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34289 -3.349429)'), GeomFromEWKT('SRID=4674;POINT (-38.342902 -3.349358)'))) / (select extract(epoch from '2026-07-16 08:16:11'::timestamp) - extract(epoch from '2026-07-16 08:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34289 -3.349429)'), GeomFromEWKT('SRID=4674;POINT (-38.342902 -3.349358)'))) / (select extract(epoch from '2026-07-16 08:16:11'::timestamp) - extract(epoch from '2026-07-16 08:16: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'), 47391, 'SRID=4674;POINT (-38.342886 -3.349315)', '2026-07-16 08:16:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342902 -3.349358)'), GeomFromEWKT('SRID=4674;POINT (-38.342886 -3.349315)'))) / (select extract(epoch from '2026-07-16 08:16:13'::timestamp) - extract(epoch from '2026-07-16 08:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342902 -3.349358)'), GeomFromEWKT('SRID=4674;POINT (-38.342886 -3.349315)'))) / (select extract(epoch from '2026-07-16 08:16:13'::timestamp) - extract(epoch from '2026-07-16 08:16: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'), 47391, 'SRID=4674;POINT (-38.342879 -3.349197)', '2026-07-16 08:16:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342886 -3.349315)'), GeomFromEWKT('SRID=4674;POINT (-38.342879 -3.349197)'))) / (select extract(epoch from '2026-07-16 08:16:18'::timestamp) - extract(epoch from '2026-07-16 08:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342886 -3.349315)'), GeomFromEWKT('SRID=4674;POINT (-38.342879 -3.349197)'))) / (select extract(epoch from '2026-07-16 08:16:18'::timestamp) - extract(epoch from '2026-07-16 08:16: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'), 47391, 'SRID=4674;POINT (-38.342867 -3.349061)', '2026-07-16 08:16:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342879 -3.349197)'), GeomFromEWKT('SRID=4674;POINT (-38.342867 -3.349061)'))) / (select extract(epoch from '2026-07-16 08:16:24'::timestamp) - extract(epoch from '2026-07-16 08:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342879 -3.349197)'), GeomFromEWKT('SRID=4674;POINT (-38.342867 -3.349061)'))) / (select extract(epoch from '2026-07-16 08:16:24'::timestamp) - extract(epoch from '2026-07-16 08:16: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'), 47391, 'SRID=4674;POINT (-38.342858 -3.348966)', '2026-07-16 08:16:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342867 -3.349061)'), GeomFromEWKT('SRID=4674;POINT (-38.342858 -3.348966)'))) / (select extract(epoch from '2026-07-16 08:16:28'::timestamp) - extract(epoch from '2026-07-16 08:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342867 -3.349061)'), GeomFromEWKT('SRID=4674;POINT (-38.342858 -3.348966)'))) / (select extract(epoch from '2026-07-16 08:16:28'::timestamp) - extract(epoch from '2026-07-16 08:16: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'), 47391, 'SRID=4674;POINT (-38.342845 -3.348824)', '2026-07-16 08:16:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342858 -3.348966)'), GeomFromEWKT('SRID=4674;POINT (-38.342845 -3.348824)'))) / (select extract(epoch from '2026-07-16 08:16:34'::timestamp) - extract(epoch from '2026-07-16 08:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342858 -3.348966)'), GeomFromEWKT('SRID=4674;POINT (-38.342845 -3.348824)'))) / (select extract(epoch from '2026-07-16 08:16:34'::timestamp) - extract(epoch from '2026-07-16 08:16: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'), 47391, 'SRID=4674;POINT (-38.342847 -3.348778)', '2026-07-16 08:16:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342845 -3.348824)'), GeomFromEWKT('SRID=4674;POINT (-38.342847 -3.348778)'))) / (select extract(epoch from '2026-07-16 08:16:36'::timestamp) - extract(epoch from '2026-07-16 08:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342845 -3.348824)'), GeomFromEWKT('SRID=4674;POINT (-38.342847 -3.348778)'))) / (select extract(epoch from '2026-07-16 08:16:36'::timestamp) - extract(epoch from '2026-07-16 08:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.342872 -3.348728)', '2026-07-16 08:16:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342847 -3.348778)'), GeomFromEWKT('SRID=4674;POINT (-38.342872 -3.348728)'))) / (select extract(epoch from '2026-07-16 08:16:38'::timestamp) - extract(epoch from '2026-07-16 08:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342847 -3.348778)'), GeomFromEWKT('SRID=4674;POINT (-38.342872 -3.348728)'))) / (select extract(epoch from '2026-07-16 08:16:38'::timestamp) - extract(epoch from '2026-07-16 08:16: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'), 47391, 'SRID=4674;POINT (-38.342864 -3.348634)', '2026-07-16 08:16:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342872 -3.348728)'), GeomFromEWKT('SRID=4674;POINT (-38.342864 -3.348634)'))) / (select extract(epoch from '2026-07-16 08:16:42'::timestamp) - extract(epoch from '2026-07-16 08:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342872 -3.348728)'), GeomFromEWKT('SRID=4674;POINT (-38.342864 -3.348634)'))) / (select extract(epoch from '2026-07-16 08:16:42'::timestamp) - extract(epoch from '2026-07-16 08:16: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'), 47391, 'SRID=4674;POINT (-38.342876 -3.348609)', '2026-07-16 08:16:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342864 -3.348634)'), GeomFromEWKT('SRID=4674;POINT (-38.342876 -3.348609)'))) / (select extract(epoch from '2026-07-16 08:16:43'::timestamp) - extract(epoch from '2026-07-16 08:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342864 -3.348634)'), GeomFromEWKT('SRID=4674;POINT (-38.342876 -3.348609)'))) / (select extract(epoch from '2026-07-16 08:16:43'::timestamp) - extract(epoch from '2026-07-16 08:16: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'), 47391, 'SRID=4674;POINT (-38.34289 -3.348553)', '2026-07-16 08:16:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342876 -3.348609)'), GeomFromEWKT('SRID=4674;POINT (-38.34289 -3.348553)'))) / (select extract(epoch from '2026-07-16 08:16:45'::timestamp) - extract(epoch from '2026-07-16 08:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342876 -3.348609)'), GeomFromEWKT('SRID=4674;POINT (-38.34289 -3.348553)'))) / (select extract(epoch from '2026-07-16 08:16:45'::timestamp) - extract(epoch from '2026-07-16 08:16: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'), 47391, 'SRID=4674;POINT (-38.34288 -3.348507)', '2026-07-16 08:16:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34289 -3.348553)'), GeomFromEWKT('SRID=4674;POINT (-38.34288 -3.348507)'))) / (select extract(epoch from '2026-07-16 08:16:47'::timestamp) - extract(epoch from '2026-07-16 08:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34289 -3.348553)'), GeomFromEWKT('SRID=4674;POINT (-38.34288 -3.348507)'))) / (select extract(epoch from '2026-07-16 08:16:47'::timestamp) - extract(epoch from '2026-07-16 08:16:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.342875 -3.348309)', '2026-07-16 08:16:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34288 -3.348507)'), GeomFromEWKT('SRID=4674;POINT (-38.342875 -3.348309)'))) / (select extract(epoch from '2026-07-16 08:16:55'::timestamp) - extract(epoch from '2026-07-16 08:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34288 -3.348507)'), GeomFromEWKT('SRID=4674;POINT (-38.342875 -3.348309)'))) / (select extract(epoch from '2026-07-16 08:16:55'::timestamp) - extract(epoch from '2026-07-16 08:16: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'), 47391, 'SRID=4674;POINT (-38.34288 -3.348159)', '2026-07-16 08:17:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342875 -3.348309)'), GeomFromEWKT('SRID=4674;POINT (-38.34288 -3.348159)'))) / (select extract(epoch from '2026-07-16 08:17:01'::timestamp) - extract(epoch from '2026-07-16 08:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342875 -3.348309)'), GeomFromEWKT('SRID=4674;POINT (-38.34288 -3.348159)'))) / (select extract(epoch from '2026-07-16 08:17:01'::timestamp) - extract(epoch from '2026-07-16 08:16: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'), 47391, 'SRID=4674;POINT (-38.342894 -3.347999)', '2026-07-16 08:17:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34288 -3.348159)'), GeomFromEWKT('SRID=4674;POINT (-38.342894 -3.347999)'))) / (select extract(epoch from '2026-07-16 08:17:08'::timestamp) - extract(epoch from '2026-07-16 08:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34288 -3.348159)'), GeomFromEWKT('SRID=4674;POINT (-38.342894 -3.347999)'))) / (select extract(epoch from '2026-07-16 08:17:08'::timestamp) - extract(epoch from '2026-07-16 08:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.342915 -3.347907)', '2026-07-16 08:17:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342894 -3.347999)'), GeomFromEWKT('SRID=4674;POINT (-38.342915 -3.347907)'))) / (select extract(epoch from '2026-07-16 08:17:12'::timestamp) - extract(epoch from '2026-07-16 08:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342894 -3.347999)'), GeomFromEWKT('SRID=4674;POINT (-38.342915 -3.347907)'))) / (select extract(epoch from '2026-07-16 08:17:12'::timestamp) - extract(epoch from '2026-07-16 08:17: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'), 47391, 'SRID=4674;POINT (-38.342915 -3.347788)', '2026-07-16 08:17:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342915 -3.347907)'), GeomFromEWKT('SRID=4674;POINT (-38.342915 -3.347788)'))) / (select extract(epoch from '2026-07-16 08:17:17'::timestamp) - extract(epoch from '2026-07-16 08:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342915 -3.347907)'), GeomFromEWKT('SRID=4674;POINT (-38.342915 -3.347788)'))) / (select extract(epoch from '2026-07-16 08:17:17'::timestamp) - extract(epoch from '2026-07-16 08:17: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'), 47391, 'SRID=4674;POINT (-38.342923 -3.347643)', '2026-07-16 08:17:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342915 -3.347788)'), GeomFromEWKT('SRID=4674;POINT (-38.342923 -3.347643)'))) / (select extract(epoch from '2026-07-16 08:17:23'::timestamp) - extract(epoch from '2026-07-16 08:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342915 -3.347788)'), GeomFromEWKT('SRID=4674;POINT (-38.342923 -3.347643)'))) / (select extract(epoch from '2026-07-16 08:17:23'::timestamp) - extract(epoch from '2026-07-16 08:17: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'), 47391, 'SRID=4674;POINT (-38.342932 -3.347494)', '2026-07-16 08:17:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342923 -3.347643)'), GeomFromEWKT('SRID=4674;POINT (-38.342932 -3.347494)'))) / (select extract(epoch from '2026-07-16 08:17:29'::timestamp) - extract(epoch from '2026-07-16 08:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342923 -3.347643)'), GeomFromEWKT('SRID=4674;POINT (-38.342932 -3.347494)'))) / (select extract(epoch from '2026-07-16 08:17:29'::timestamp) - extract(epoch from '2026-07-16 08:17: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'), 47391, 'SRID=4674;POINT (-38.342948 -3.347349)', '2026-07-16 08:17:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342932 -3.347494)'), GeomFromEWKT('SRID=4674;POINT (-38.342948 -3.347349)'))) / (select extract(epoch from '2026-07-16 08:17:35'::timestamp) - extract(epoch from '2026-07-16 08:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342932 -3.347494)'), GeomFromEWKT('SRID=4674;POINT (-38.342948 -3.347349)'))) / (select extract(epoch from '2026-07-16 08:17:35'::timestamp) - extract(epoch from '2026-07-16 08:17:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.342973 -3.347177)', '2026-07-16 08:17:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342948 -3.347349)'), GeomFromEWKT('SRID=4674;POINT (-38.342973 -3.347177)'))) / (select extract(epoch from '2026-07-16 08:17:41'::timestamp) - extract(epoch from '2026-07-16 08:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342948 -3.347349)'), GeomFromEWKT('SRID=4674;POINT (-38.342973 -3.347177)'))) / (select extract(epoch from '2026-07-16 08:17:41'::timestamp) - extract(epoch from '2026-07-16 08: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'), 47391, 'SRID=4674;POINT (-38.342989 -3.347052)', '2026-07-16 08:17:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342973 -3.347177)'), GeomFromEWKT('SRID=4674;POINT (-38.342989 -3.347052)'))) / (select extract(epoch from '2026-07-16 08:17:47'::timestamp) - extract(epoch from '2026-07-16 08:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342973 -3.347177)'), GeomFromEWKT('SRID=4674;POINT (-38.342989 -3.347052)'))) / (select extract(epoch from '2026-07-16 08:17:47'::timestamp) - extract(epoch from '2026-07-16 08: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'), 47391, 'SRID=4674;POINT (-38.342992 -3.346925)', '2026-07-16 08:17:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342989 -3.347052)'), GeomFromEWKT('SRID=4674;POINT (-38.342992 -3.346925)'))) / (select extract(epoch from '2026-07-16 08:17:52'::timestamp) - extract(epoch from '2026-07-16 08:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342989 -3.347052)'), GeomFromEWKT('SRID=4674;POINT (-38.342992 -3.346925)'))) / (select extract(epoch from '2026-07-16 08:17:52'::timestamp) - extract(epoch from '2026-07-16 08:17: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'), 47391, 'SRID=4674;POINT (-38.343006 -3.346801)', '2026-07-16 08:17:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342992 -3.346925)'), GeomFromEWKT('SRID=4674;POINT (-38.343006 -3.346801)'))) / (select extract(epoch from '2026-07-16 08:17:57'::timestamp) - extract(epoch from '2026-07-16 08:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342992 -3.346925)'), GeomFromEWKT('SRID=4674;POINT (-38.343006 -3.346801)'))) / (select extract(epoch from '2026-07-16 08:17:57'::timestamp) - extract(epoch from '2026-07-16 08: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'), 47391, 'SRID=4674;POINT (-38.343004 -3.346652)', '2026-07-16 08:18:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343006 -3.346801)'), GeomFromEWKT('SRID=4674;POINT (-38.343004 -3.346652)'))) / (select extract(epoch from '2026-07-16 08:18:04'::timestamp) - extract(epoch from '2026-07-16 08:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343006 -3.346801)'), GeomFromEWKT('SRID=4674;POINT (-38.343004 -3.346652)'))) / (select extract(epoch from '2026-07-16 08:18:04'::timestamp) - extract(epoch from '2026-07-16 08:17: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'), 47391, 'SRID=4674;POINT (-38.343 -3.346516)', '2026-07-16 08:18:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343004 -3.346652)'), GeomFromEWKT('SRID=4674;POINT (-38.343 -3.346516)'))) / (select extract(epoch from '2026-07-16 08:18:10'::timestamp) - extract(epoch from '2026-07-16 08:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343004 -3.346652)'), GeomFromEWKT('SRID=4674;POINT (-38.343 -3.346516)'))) / (select extract(epoch from '2026-07-16 08:18:10'::timestamp) - extract(epoch from '2026-07-16 08:18: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'), 47391, 'SRID=4674;POINT (-38.342996 -3.346392)', '2026-07-16 08:18:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343 -3.346516)'), GeomFromEWKT('SRID=4674;POINT (-38.342996 -3.346392)'))) / (select extract(epoch from '2026-07-16 08:18:15'::timestamp) - extract(epoch from '2026-07-16 08:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343 -3.346516)'), GeomFromEWKT('SRID=4674;POINT (-38.342996 -3.346392)'))) / (select extract(epoch from '2026-07-16 08:18:15'::timestamp) - extract(epoch from '2026-07-16 08: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'), 47391, 'SRID=4674;POINT (-38.342997 -3.346259)', '2026-07-16 08:18:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342996 -3.346392)'), GeomFromEWKT('SRID=4674;POINT (-38.342997 -3.346259)'))) / (select extract(epoch from '2026-07-16 08:18:20'::timestamp) - extract(epoch from '2026-07-16 08:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342996 -3.346392)'), GeomFromEWKT('SRID=4674;POINT (-38.342997 -3.346259)'))) / (select extract(epoch from '2026-07-16 08:18:20'::timestamp) - extract(epoch from '2026-07-16 08:18:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.342988 -3.34616)', '2026-07-16 08:18:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342997 -3.346259)'), GeomFromEWKT('SRID=4674;POINT (-38.342988 -3.34616)'))) / (select extract(epoch from '2026-07-16 08:18:24'::timestamp) - extract(epoch from '2026-07-16 08:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342997 -3.346259)'), GeomFromEWKT('SRID=4674;POINT (-38.342988 -3.34616)'))) / (select extract(epoch from '2026-07-16 08:18:24'::timestamp) - extract(epoch from '2026-07-16 08:18: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'), 47391, 'SRID=4674;POINT (-38.342983 -3.346046)', '2026-07-16 08:18:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342988 -3.34616)'), GeomFromEWKT('SRID=4674;POINT (-38.342983 -3.346046)'))) / (select extract(epoch from '2026-07-16 08:18:29'::timestamp) - extract(epoch from '2026-07-16 08:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342988 -3.34616)'), GeomFromEWKT('SRID=4674;POINT (-38.342983 -3.346046)'))) / (select extract(epoch from '2026-07-16 08:18:29'::timestamp) - extract(epoch from '2026-07-16 08:18: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'), 47391, 'SRID=4674;POINT (-38.34299 -3.345905)', '2026-07-16 08:18:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342983 -3.346046)'), GeomFromEWKT('SRID=4674;POINT (-38.34299 -3.345905)'))) / (select extract(epoch from '2026-07-16 08:18:35'::timestamp) - extract(epoch from '2026-07-16 08:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342983 -3.346046)'), GeomFromEWKT('SRID=4674;POINT (-38.34299 -3.345905)'))) / (select extract(epoch from '2026-07-16 08:18:35'::timestamp) - extract(epoch from '2026-07-16 08: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'), 47391, 'SRID=4674;POINT (-38.342987 -3.345839)', '2026-07-16 08:18:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34299 -3.345905)'), GeomFromEWKT('SRID=4674;POINT (-38.342987 -3.345839)'))) / (select extract(epoch from '2026-07-16 08:18:38'::timestamp) - extract(epoch from '2026-07-16 08:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34299 -3.345905)'), GeomFromEWKT('SRID=4674;POINT (-38.342987 -3.345839)'))) / (select extract(epoch from '2026-07-16 08:18:38'::timestamp) - extract(epoch from '2026-07-16 08:18:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343001 -3.345787)', '2026-07-16 08:18:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342987 -3.345839)'), GeomFromEWKT('SRID=4674;POINT (-38.343001 -3.345787)'))) / (select extract(epoch from '2026-07-16 08:18:40'::timestamp) - extract(epoch from '2026-07-16 08:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.342987 -3.345839)'), GeomFromEWKT('SRID=4674;POINT (-38.343001 -3.345787)'))) / (select extract(epoch from '2026-07-16 08:18:40'::timestamp) - extract(epoch from '2026-07-16 08:18: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'), 47391, 'SRID=4674;POINT (-38.343003 -3.345712)', '2026-07-16 08:18:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343001 -3.345787)'), GeomFromEWKT('SRID=4674;POINT (-38.343003 -3.345712)'))) / (select extract(epoch from '2026-07-16 08:18:43'::timestamp) - extract(epoch from '2026-07-16 08:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343001 -3.345787)'), GeomFromEWKT('SRID=4674;POINT (-38.343003 -3.345712)'))) / (select extract(epoch from '2026-07-16 08:18:43'::timestamp) - extract(epoch from '2026-07-16 08:18: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'), 47391, 'SRID=4674;POINT (-38.343009 -3.345688)', '2026-07-16 08:18:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343003 -3.345712)'), GeomFromEWKT('SRID=4674;POINT (-38.343009 -3.345688)'))) / (select extract(epoch from '2026-07-16 08:18:44'::timestamp) - extract(epoch from '2026-07-16 08:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343003 -3.345712)'), GeomFromEWKT('SRID=4674;POINT (-38.343009 -3.345688)'))) / (select extract(epoch from '2026-07-16 08:18:44'::timestamp) - extract(epoch from '2026-07-16 08:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343017 -3.345595)', '2026-07-16 08:18:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343009 -3.345688)'), GeomFromEWKT('SRID=4674;POINT (-38.343017 -3.345595)'))) / (select extract(epoch from '2026-07-16 08:18:48'::timestamp) - extract(epoch from '2026-07-16 08:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343009 -3.345688)'), GeomFromEWKT('SRID=4674;POINT (-38.343017 -3.345595)'))) / (select extract(epoch from '2026-07-16 08:18:48'::timestamp) - extract(epoch from '2026-07-16 08:18: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'), 47391, 'SRID=4674;POINT (-38.343038 -3.345481)', '2026-07-16 08:18:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343017 -3.345595)'), GeomFromEWKT('SRID=4674;POINT (-38.343038 -3.345481)'))) / (select extract(epoch from '2026-07-16 08:18:53'::timestamp) - extract(epoch from '2026-07-16 08:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343017 -3.345595)'), GeomFromEWKT('SRID=4674;POINT (-38.343038 -3.345481)'))) / (select extract(epoch from '2026-07-16 08:18:53'::timestamp) - extract(epoch from '2026-07-16 08: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'), 47391, 'SRID=4674;POINT (-38.343055 -3.345362)', '2026-07-16 08:18:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343038 -3.345481)'), GeomFromEWKT('SRID=4674;POINT (-38.343055 -3.345362)'))) / (select extract(epoch from '2026-07-16 08:18:58'::timestamp) - extract(epoch from '2026-07-16 08:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343038 -3.345481)'), GeomFromEWKT('SRID=4674;POINT (-38.343055 -3.345362)'))) / (select extract(epoch from '2026-07-16 08:18:58'::timestamp) - extract(epoch from '2026-07-16 08:18: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'), 47391, 'SRID=4674;POINT (-38.343065 -3.345234)', '2026-07-16 08:19:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343055 -3.345362)'), GeomFromEWKT('SRID=4674;POINT (-38.343065 -3.345234)'))) / (select extract(epoch from '2026-07-16 08:19:03'::timestamp) - extract(epoch from '2026-07-16 08:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343055 -3.345362)'), GeomFromEWKT('SRID=4674;POINT (-38.343065 -3.345234)'))) / (select extract(epoch from '2026-07-16 08:19:03'::timestamp) - extract(epoch from '2026-07-16 08:18: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'), 47391, 'SRID=4674;POINT (-38.343086 -3.345093)', '2026-07-16 08:19:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343065 -3.345234)'), GeomFromEWKT('SRID=4674;POINT (-38.343086 -3.345093)'))) / (select extract(epoch from '2026-07-16 08:19:09'::timestamp) - extract(epoch from '2026-07-16 08:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343065 -3.345234)'), GeomFromEWKT('SRID=4674;POINT (-38.343086 -3.345093)'))) / (select extract(epoch from '2026-07-16 08:19:09'::timestamp) - extract(epoch from '2026-07-16 08:19: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'), 47391, 'SRID=4674;POINT (-38.343132 -3.344913)', '2026-07-16 08:19:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343086 -3.345093)'), GeomFromEWKT('SRID=4674;POINT (-38.343132 -3.344913)'))) / (select extract(epoch from '2026-07-16 08:19:16'::timestamp) - extract(epoch from '2026-07-16 08:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343086 -3.345093)'), GeomFromEWKT('SRID=4674;POINT (-38.343132 -3.344913)'))) / (select extract(epoch from '2026-07-16 08:19:16'::timestamp) - extract(epoch from '2026-07-16 08:19: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'), 47391, 'SRID=4674;POINT (-38.343176 -3.34475)', '2026-07-16 08:19:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343132 -3.344913)'), GeomFromEWKT('SRID=4674;POINT (-38.343176 -3.34475)'))) / (select extract(epoch from '2026-07-16 08:19:22'::timestamp) - extract(epoch from '2026-07-16 08:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343132 -3.344913)'), GeomFromEWKT('SRID=4674;POINT (-38.343176 -3.34475)'))) / (select extract(epoch from '2026-07-16 08:19:22'::timestamp) - extract(epoch from '2026-07-16 08:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343223 -3.344608)', '2026-07-16 08:19:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343176 -3.34475)'), GeomFromEWKT('SRID=4674;POINT (-38.343223 -3.344608)'))) / (select extract(epoch from '2026-07-16 08:19:27'::timestamp) - extract(epoch from '2026-07-16 08:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343176 -3.34475)'), GeomFromEWKT('SRID=4674;POINT (-38.343223 -3.344608)'))) / (select extract(epoch from '2026-07-16 08:19:27'::timestamp) - extract(epoch from '2026-07-16 08:19: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'), 47391, 'SRID=4674;POINT (-38.343242 -3.344531)', '2026-07-16 08:19:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343223 -3.344608)'), GeomFromEWKT('SRID=4674;POINT (-38.343242 -3.344531)'))) / (select extract(epoch from '2026-07-16 08:19:31'::timestamp) - extract(epoch from '2026-07-16 08:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343223 -3.344608)'), GeomFromEWKT('SRID=4674;POINT (-38.343242 -3.344531)'))) / (select extract(epoch from '2026-07-16 08:19:31'::timestamp) - extract(epoch from '2026-07-16 08:19: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'), 47391, 'SRID=4674;POINT (-38.343296 -3.344398)', '2026-07-16 08:19:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343242 -3.344531)'), GeomFromEWKT('SRID=4674;POINT (-38.343296 -3.344398)'))) / (select extract(epoch from '2026-07-16 08:19:37'::timestamp) - extract(epoch from '2026-07-16 08:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343242 -3.344531)'), GeomFromEWKT('SRID=4674;POINT (-38.343296 -3.344398)'))) / (select extract(epoch from '2026-07-16 08:19:37'::timestamp) - extract(epoch from '2026-07-16 08:19: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'), 47391, 'SRID=4674;POINT (-38.343333 -3.344311)', '2026-07-16 08:19:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343296 -3.344398)'), GeomFromEWKT('SRID=4674;POINT (-38.343333 -3.344311)'))) / (select extract(epoch from '2026-07-16 08:19:41'::timestamp) - extract(epoch from '2026-07-16 08:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343296 -3.344398)'), GeomFromEWKT('SRID=4674;POINT (-38.343333 -3.344311)'))) / (select extract(epoch from '2026-07-16 08:19:41'::timestamp) - extract(epoch from '2026-07-16 08:19: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'), 47391, 'SRID=4674;POINT (-38.343365 -3.344219)', '2026-07-16 08:19:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343333 -3.344311)'), GeomFromEWKT('SRID=4674;POINT (-38.343365 -3.344219)'))) / (select extract(epoch from '2026-07-16 08:19:45'::timestamp) - extract(epoch from '2026-07-16 08:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343333 -3.344311)'), GeomFromEWKT('SRID=4674;POINT (-38.343365 -3.344219)'))) / (select extract(epoch from '2026-07-16 08:19:45'::timestamp) - extract(epoch from '2026-07-16 08: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'), 47391, 'SRID=4674;POINT (-38.343402 -3.344114)', '2026-07-16 08:19:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343365 -3.344219)'), GeomFromEWKT('SRID=4674;POINT (-38.343402 -3.344114)'))) / (select extract(epoch from '2026-07-16 08:19:50'::timestamp) - extract(epoch from '2026-07-16 08:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343365 -3.344219)'), GeomFromEWKT('SRID=4674;POINT (-38.343402 -3.344114)'))) / (select extract(epoch from '2026-07-16 08:19:50'::timestamp) - extract(epoch from '2026-07-16 08:19:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343458 -3.344029)', '2026-07-16 08:19:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343402 -3.344114)'), GeomFromEWKT('SRID=4674;POINT (-38.343458 -3.344029)'))) / (select extract(epoch from '2026-07-16 08:19:54'::timestamp) - extract(epoch from '2026-07-16 08:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343402 -3.344114)'), GeomFromEWKT('SRID=4674;POINT (-38.343458 -3.344029)'))) / (select extract(epoch from '2026-07-16 08:19:54'::timestamp) - extract(epoch from '2026-07-16 08:19: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'), 47391, 'SRID=4674;POINT (-38.343512 -3.343939)', '2026-07-16 08:19:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343458 -3.344029)'), GeomFromEWKT('SRID=4674;POINT (-38.343512 -3.343939)'))) / (select extract(epoch from '2026-07-16 08:19:59'::timestamp) - extract(epoch from '2026-07-16 08:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343458 -3.344029)'), GeomFromEWKT('SRID=4674;POINT (-38.343512 -3.343939)'))) / (select extract(epoch from '2026-07-16 08:19:59'::timestamp) - extract(epoch from '2026-07-16 08:19:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343587 -3.343828)', '2026-07-16 08:20:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343512 -3.343939)'), GeomFromEWKT('SRID=4674;POINT (-38.343587 -3.343828)'))) / (select extract(epoch from '2026-07-16 08:20:05'::timestamp) - extract(epoch from '2026-07-16 08:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343512 -3.343939)'), GeomFromEWKT('SRID=4674;POINT (-38.343587 -3.343828)'))) / (select extract(epoch from '2026-07-16 08:20:05'::timestamp) - extract(epoch from '2026-07-16 08:19: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'), 47391, 'SRID=4674;POINT (-38.343652 -3.343752)', '2026-07-16 08:20:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343587 -3.343828)'), GeomFromEWKT('SRID=4674;POINT (-38.343652 -3.343752)'))) / (select extract(epoch from '2026-07-16 08:20:09'::timestamp) - extract(epoch from '2026-07-16 08:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343587 -3.343828)'), GeomFromEWKT('SRID=4674;POINT (-38.343652 -3.343752)'))) / (select extract(epoch from '2026-07-16 08:20:09'::timestamp) - extract(epoch from '2026-07-16 08:20: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'), 47391, 'SRID=4674;POINT (-38.343713 -3.343668)', '2026-07-16 08:20:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343652 -3.343752)'), GeomFromEWKT('SRID=4674;POINT (-38.343713 -3.343668)'))) / (select extract(epoch from '2026-07-16 08:20:14'::timestamp) - extract(epoch from '2026-07-16 08:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343652 -3.343752)'), GeomFromEWKT('SRID=4674;POINT (-38.343713 -3.343668)'))) / (select extract(epoch from '2026-07-16 08:20:14'::timestamp) - extract(epoch from '2026-07-16 08:20:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.343779 -3.343602)', '2026-07-16 08:20:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343713 -3.343668)'), GeomFromEWKT('SRID=4674;POINT (-38.343779 -3.343602)'))) / (select extract(epoch from '2026-07-16 08:20:18'::timestamp) - extract(epoch from '2026-07-16 08:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343713 -3.343668)'), GeomFromEWKT('SRID=4674;POINT (-38.343779 -3.343602)'))) / (select extract(epoch from '2026-07-16 08:20:18'::timestamp) - extract(epoch from '2026-07-16 08:20: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'), 47391, 'SRID=4674;POINT (-38.343847 -3.343556)', '2026-07-16 08:20:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343779 -3.343602)'), GeomFromEWKT('SRID=4674;POINT (-38.343847 -3.343556)'))) / (select extract(epoch from '2026-07-16 08:20:22'::timestamp) - extract(epoch from '2026-07-16 08:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343779 -3.343602)'), GeomFromEWKT('SRID=4674;POINT (-38.343847 -3.343556)'))) / (select extract(epoch from '2026-07-16 08:20:22'::timestamp) - extract(epoch from '2026-07-16 08:20: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'), 47391, 'SRID=4674;POINT (-38.343936 -3.343482)', '2026-07-16 08:20:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343847 -3.343556)'), GeomFromEWKT('SRID=4674;POINT (-38.343936 -3.343482)'))) / (select extract(epoch from '2026-07-16 08:20:26'::timestamp) - extract(epoch from '2026-07-16 08:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343847 -3.343556)'), GeomFromEWKT('SRID=4674;POINT (-38.343936 -3.343482)'))) / (select extract(epoch from '2026-07-16 08:20:26'::timestamp) - extract(epoch from '2026-07-16 08:20: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'), 47391, 'SRID=4674;POINT (-38.344026 -3.343419)', '2026-07-16 08:20:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343936 -3.343482)'), GeomFromEWKT('SRID=4674;POINT (-38.344026 -3.343419)'))) / (select extract(epoch from '2026-07-16 08:20:31'::timestamp) - extract(epoch from '2026-07-16 08:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.343936 -3.343482)'), GeomFromEWKT('SRID=4674;POINT (-38.344026 -3.343419)'))) / (select extract(epoch from '2026-07-16 08:20:31'::timestamp) - extract(epoch from '2026-07-16 08:20: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'), 47391, 'SRID=4674;POINT (-38.344108 -3.343349)', '2026-07-16 08:20:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344026 -3.343419)'), GeomFromEWKT('SRID=4674;POINT (-38.344108 -3.343349)'))) / (select extract(epoch from '2026-07-16 08:20:36'::timestamp) - extract(epoch from '2026-07-16 08:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344026 -3.343419)'), GeomFromEWKT('SRID=4674;POINT (-38.344108 -3.343349)'))) / (select extract(epoch from '2026-07-16 08:20:36'::timestamp) - extract(epoch from '2026-07-16 08:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.344235 -3.343248)', '2026-07-16 08:20:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344108 -3.343349)'), GeomFromEWKT('SRID=4674;POINT (-38.344235 -3.343248)'))) / (select extract(epoch from '2026-07-16 08:20:43'::timestamp) - extract(epoch from '2026-07-16 08:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344108 -3.343349)'), GeomFromEWKT('SRID=4674;POINT (-38.344235 -3.343248)'))) / (select extract(epoch from '2026-07-16 08:20:43'::timestamp) - extract(epoch from '2026-07-16 08:20: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'), 47391, 'SRID=4674;POINT (-38.344338 -3.343173)', '2026-07-16 08:20:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344235 -3.343248)'), GeomFromEWKT('SRID=4674;POINT (-38.344338 -3.343173)'))) / (select extract(epoch from '2026-07-16 08:20:48'::timestamp) - extract(epoch from '2026-07-16 08:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344235 -3.343248)'), GeomFromEWKT('SRID=4674;POINT (-38.344338 -3.343173)'))) / (select extract(epoch from '2026-07-16 08:20:48'::timestamp) - extract(epoch from '2026-07-16 08:20:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.344414 -3.343124)', '2026-07-16 08:20:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344338 -3.343173)'), GeomFromEWKT('SRID=4674;POINT (-38.344414 -3.343124)'))) / (select extract(epoch from '2026-07-16 08:20:52'::timestamp) - extract(epoch from '2026-07-16 08:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344338 -3.343173)'), GeomFromEWKT('SRID=4674;POINT (-38.344414 -3.343124)'))) / (select extract(epoch from '2026-07-16 08:20:52'::timestamp) - extract(epoch from '2026-07-16 08:20: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'), 47391, 'SRID=4674;POINT (-38.34454 -3.343066)', '2026-07-16 08:20:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344414 -3.343124)'), GeomFromEWKT('SRID=4674;POINT (-38.34454 -3.343066)'))) / (select extract(epoch from '2026-07-16 08:20:58'::timestamp) - extract(epoch from '2026-07-16 08:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344414 -3.343124)'), GeomFromEWKT('SRID=4674;POINT (-38.34454 -3.343066)'))) / (select extract(epoch from '2026-07-16 08:20:58'::timestamp) - extract(epoch from '2026-07-16 08:20: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'), 47391, 'SRID=4674;POINT (-38.344632 -3.343029)', '2026-07-16 08:21:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34454 -3.343066)'), GeomFromEWKT('SRID=4674;POINT (-38.344632 -3.343029)'))) / (select extract(epoch from '2026-07-16 08:21:03'::timestamp) - extract(epoch from '2026-07-16 08:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34454 -3.343066)'), GeomFromEWKT('SRID=4674;POINT (-38.344632 -3.343029)'))) / (select extract(epoch from '2026-07-16 08:21:03'::timestamp) - extract(epoch from '2026-07-16 08:20: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'), 47391, 'SRID=4674;POINT (-38.344731 -3.343003)', '2026-07-16 08:21:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344632 -3.343029)'), GeomFromEWKT('SRID=4674;POINT (-38.344731 -3.343003)'))) / (select extract(epoch from '2026-07-16 08:21:07'::timestamp) - extract(epoch from '2026-07-16 08:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344632 -3.343029)'), GeomFromEWKT('SRID=4674;POINT (-38.344731 -3.343003)'))) / (select extract(epoch from '2026-07-16 08:21:07'::timestamp) - extract(epoch from '2026-07-16 08:21: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'), 47391, 'SRID=4674;POINT (-38.344832 -3.34297)', '2026-07-16 08:21:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344731 -3.343003)'), GeomFromEWKT('SRID=4674;POINT (-38.344832 -3.34297)'))) / (select extract(epoch from '2026-07-16 08:21:12'::timestamp) - extract(epoch from '2026-07-16 08:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344731 -3.343003)'), GeomFromEWKT('SRID=4674;POINT (-38.344832 -3.34297)'))) / (select extract(epoch from '2026-07-16 08:21:12'::timestamp) - extract(epoch from '2026-07-16 08:21:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.344947 -3.34294)', '2026-07-16 08:21:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344832 -3.34297)'), GeomFromEWKT('SRID=4674;POINT (-38.344947 -3.34294)'))) / (select extract(epoch from '2026-07-16 08:21:18'::timestamp) - extract(epoch from '2026-07-16 08:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344832 -3.34297)'), GeomFromEWKT('SRID=4674;POINT (-38.344947 -3.34294)'))) / (select extract(epoch from '2026-07-16 08:21:18'::timestamp) - extract(epoch from '2026-07-16 08:21:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.345049 -3.342909)', '2026-07-16 08:21:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344947 -3.34294)'), GeomFromEWKT('SRID=4674;POINT (-38.345049 -3.342909)'))) / (select extract(epoch from '2026-07-16 08:21:22'::timestamp) - extract(epoch from '2026-07-16 08:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344947 -3.34294)'), GeomFromEWKT('SRID=4674;POINT (-38.345049 -3.342909)'))) / (select extract(epoch from '2026-07-16 08:21:22'::timestamp) - extract(epoch from '2026-07-16 08:21: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'), 47391, 'SRID=4674;POINT (-38.345116 -3.34288)', '2026-07-16 08:21:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345049 -3.342909)'), GeomFromEWKT('SRID=4674;POINT (-38.345116 -3.34288)'))) / (select extract(epoch from '2026-07-16 08:21:26'::timestamp) - extract(epoch from '2026-07-16 08:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345049 -3.342909)'), GeomFromEWKT('SRID=4674;POINT (-38.345116 -3.34288)'))) / (select extract(epoch from '2026-07-16 08:21:26'::timestamp) - extract(epoch from '2026-07-16 08:21: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'), 47391, 'SRID=4674;POINT (-38.34521 -3.342852)', '2026-07-16 08:21:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345116 -3.34288)'), GeomFromEWKT('SRID=4674;POINT (-38.34521 -3.342852)'))) / (select extract(epoch from '2026-07-16 08:21:30'::timestamp) - extract(epoch from '2026-07-16 08:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345116 -3.34288)'), GeomFromEWKT('SRID=4674;POINT (-38.34521 -3.342852)'))) / (select extract(epoch from '2026-07-16 08:21:30'::timestamp) - extract(epoch from '2026-07-16 08:21: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'), 47391, 'SRID=4674;POINT (-38.345315 -3.3428)', '2026-07-16 08:21:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34521 -3.342852)'), GeomFromEWKT('SRID=4674;POINT (-38.345315 -3.3428)'))) / (select extract(epoch from '2026-07-16 08:21:35'::timestamp) - extract(epoch from '2026-07-16 08:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34521 -3.342852)'), GeomFromEWKT('SRID=4674;POINT (-38.345315 -3.3428)'))) / (select extract(epoch from '2026-07-16 08:21:35'::timestamp) - extract(epoch from '2026-07-16 08:21:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.345382 -3.342766)', '2026-07-16 08:21:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345315 -3.3428)'), GeomFromEWKT('SRID=4674;POINT (-38.345382 -3.342766)'))) / (select extract(epoch from '2026-07-16 08:21:39'::timestamp) - extract(epoch from '2026-07-16 08:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345315 -3.3428)'), GeomFromEWKT('SRID=4674;POINT (-38.345382 -3.342766)'))) / (select extract(epoch from '2026-07-16 08:21:39'::timestamp) - extract(epoch from '2026-07-16 08:21:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.345494 -3.342698)', '2026-07-16 08:21:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345382 -3.342766)'), GeomFromEWKT('SRID=4674;POINT (-38.345494 -3.342698)'))) / (select extract(epoch from '2026-07-16 08:21:45'::timestamp) - extract(epoch from '2026-07-16 08:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345382 -3.342766)'), GeomFromEWKT('SRID=4674;POINT (-38.345494 -3.342698)'))) / (select extract(epoch from '2026-07-16 08:21:45'::timestamp) - extract(epoch from '2026-07-16 08:21: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'), 47391, 'SRID=4674;POINT (-38.345586 -3.342637)', '2026-07-16 08:21:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345494 -3.342698)'), GeomFromEWKT('SRID=4674;POINT (-38.345586 -3.342637)'))) / (select extract(epoch from '2026-07-16 08:21:50'::timestamp) - extract(epoch from '2026-07-16 08:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345494 -3.342698)'), GeomFromEWKT('SRID=4674;POINT (-38.345586 -3.342637)'))) / (select extract(epoch from '2026-07-16 08:21:50'::timestamp) - extract(epoch from '2026-07-16 08:21: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'), 47391, 'SRID=4674;POINT (-38.345698 -3.342546)', '2026-07-16 08:21:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345586 -3.342637)'), GeomFromEWKT('SRID=4674;POINT (-38.345698 -3.342546)'))) / (select extract(epoch from '2026-07-16 08:21:56'::timestamp) - extract(epoch from '2026-07-16 08:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345586 -3.342637)'), GeomFromEWKT('SRID=4674;POINT (-38.345698 -3.342546)'))) / (select extract(epoch from '2026-07-16 08:21:56'::timestamp) - extract(epoch from '2026-07-16 08:21: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'), 47391, 'SRID=4674;POINT (-38.345784 -3.342473)', '2026-07-16 08:22:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345698 -3.342546)'), GeomFromEWKT('SRID=4674;POINT (-38.345784 -3.342473)'))) / (select extract(epoch from '2026-07-16 08:22:01'::timestamp) - extract(epoch from '2026-07-16 08:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345698 -3.342546)'), GeomFromEWKT('SRID=4674;POINT (-38.345784 -3.342473)'))) / (select extract(epoch from '2026-07-16 08:22:01'::timestamp) - extract(epoch from '2026-07-16 08:21: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'), 47391, 'SRID=4674;POINT (-38.345908 -3.342403)', '2026-07-16 08:22:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345784 -3.342473)'), GeomFromEWKT('SRID=4674;POINT (-38.345908 -3.342403)'))) / (select extract(epoch from '2026-07-16 08:22:07'::timestamp) - extract(epoch from '2026-07-16 08:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345784 -3.342473)'), GeomFromEWKT('SRID=4674;POINT (-38.345908 -3.342403)'))) / (select extract(epoch from '2026-07-16 08:22:07'::timestamp) - extract(epoch from '2026-07-16 08:22:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.345996 -3.342358)', '2026-07-16 08:22:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345908 -3.342403)'), GeomFromEWKT('SRID=4674;POINT (-38.345996 -3.342358)'))) / (select extract(epoch from '2026-07-16 08:22:12'::timestamp) - extract(epoch from '2026-07-16 08:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345908 -3.342403)'), GeomFromEWKT('SRID=4674;POINT (-38.345996 -3.342358)'))) / (select extract(epoch from '2026-07-16 08:22:12'::timestamp) - extract(epoch from '2026-07-16 08:22:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346117 -3.342306)', '2026-07-16 08:22:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345996 -3.342358)'), GeomFromEWKT('SRID=4674;POINT (-38.346117 -3.342306)'))) / (select extract(epoch from '2026-07-16 08:22:18'::timestamp) - extract(epoch from '2026-07-16 08:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345996 -3.342358)'), GeomFromEWKT('SRID=4674;POINT (-38.346117 -3.342306)'))) / (select extract(epoch from '2026-07-16 08:22:18'::timestamp) - extract(epoch from '2026-07-16 08:22: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'), 47391, 'SRID=4674;POINT (-38.346242 -3.342267)', '2026-07-16 08:22:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346117 -3.342306)'), GeomFromEWKT('SRID=4674;POINT (-38.346242 -3.342267)'))) / (select extract(epoch from '2026-07-16 08:22:23'::timestamp) - extract(epoch from '2026-07-16 08:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346117 -3.342306)'), GeomFromEWKT('SRID=4674;POINT (-38.346242 -3.342267)'))) / (select extract(epoch from '2026-07-16 08:22:23'::timestamp) - extract(epoch from '2026-07-16 08:22: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'), 47391, 'SRID=4674;POINT (-38.346307 -3.342227)', '2026-07-16 08:22:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346242 -3.342267)'), GeomFromEWKT('SRID=4674;POINT (-38.346307 -3.342227)'))) / (select extract(epoch from '2026-07-16 08:22:27'::timestamp) - extract(epoch from '2026-07-16 08:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346242 -3.342267)'), GeomFromEWKT('SRID=4674;POINT (-38.346307 -3.342227)'))) / (select extract(epoch from '2026-07-16 08:22:27'::timestamp) - extract(epoch from '2026-07-16 08:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346405 -3.342174)', '2026-07-16 08:22:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346307 -3.342227)'), GeomFromEWKT('SRID=4674;POINT (-38.346405 -3.342174)'))) / (select extract(epoch from '2026-07-16 08:22:31'::timestamp) - extract(epoch from '2026-07-16 08:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346307 -3.342227)'), GeomFromEWKT('SRID=4674;POINT (-38.346405 -3.342174)'))) / (select extract(epoch from '2026-07-16 08:22:31'::timestamp) - extract(epoch from '2026-07-16 08:22: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'), 47391, 'SRID=4674;POINT (-38.346454 -3.342147)', '2026-07-16 08:22:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346405 -3.342174)'), GeomFromEWKT('SRID=4674;POINT (-38.346454 -3.342147)'))) / (select extract(epoch from '2026-07-16 08:22:34'::timestamp) - extract(epoch from '2026-07-16 08:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346405 -3.342174)'), GeomFromEWKT('SRID=4674;POINT (-38.346454 -3.342147)'))) / (select extract(epoch from '2026-07-16 08:22:34'::timestamp) - extract(epoch from '2026-07-16 08:22: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'), 47391, 'SRID=4674;POINT (-38.346539 -3.342112)', '2026-07-16 08:22:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346454 -3.342147)'), GeomFromEWKT('SRID=4674;POINT (-38.346539 -3.342112)'))) / (select extract(epoch from '2026-07-16 08:22:38'::timestamp) - extract(epoch from '2026-07-16 08:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346454 -3.342147)'), GeomFromEWKT('SRID=4674;POINT (-38.346539 -3.342112)'))) / (select extract(epoch from '2026-07-16 08:22:38'::timestamp) - extract(epoch from '2026-07-16 08:22: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'), 47391, 'SRID=4674;POINT (-38.346619 -3.342076)', '2026-07-16 08:22:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346539 -3.342112)'), GeomFromEWKT('SRID=4674;POINT (-38.346619 -3.342076)'))) / (select extract(epoch from '2026-07-16 08:22:42'::timestamp) - extract(epoch from '2026-07-16 08:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346539 -3.342112)'), GeomFromEWKT('SRID=4674;POINT (-38.346619 -3.342076)'))) / (select extract(epoch from '2026-07-16 08:22:42'::timestamp) - extract(epoch from '2026-07-16 08:22: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'), 47391, 'SRID=4674;POINT (-38.346704 -3.342042)', '2026-07-16 08:22:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346619 -3.342076)'), GeomFromEWKT('SRID=4674;POINT (-38.346704 -3.342042)'))) / (select extract(epoch from '2026-07-16 08:22:46'::timestamp) - extract(epoch from '2026-07-16 08:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346619 -3.342076)'), GeomFromEWKT('SRID=4674;POINT (-38.346704 -3.342042)'))) / (select extract(epoch from '2026-07-16 08:22:46'::timestamp) - extract(epoch from '2026-07-16 08:22: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'), 47391, 'SRID=4674;POINT (-38.346781 -3.342022)', '2026-07-16 08:22:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346704 -3.342042)'), GeomFromEWKT('SRID=4674;POINT (-38.346781 -3.342022)'))) / (select extract(epoch from '2026-07-16 08:22:50'::timestamp) - extract(epoch from '2026-07-16 08:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346704 -3.342042)'), GeomFromEWKT('SRID=4674;POINT (-38.346781 -3.342022)'))) / (select extract(epoch from '2026-07-16 08:22:50'::timestamp) - extract(epoch from '2026-07-16 08:22:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346888 -3.341989)', '2026-07-16 08:22:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346781 -3.342022)'), GeomFromEWKT('SRID=4674;POINT (-38.346888 -3.341989)'))) / (select extract(epoch from '2026-07-16 08:22:55'::timestamp) - extract(epoch from '2026-07-16 08:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346781 -3.342022)'), GeomFromEWKT('SRID=4674;POINT (-38.346888 -3.341989)'))) / (select extract(epoch from '2026-07-16 08:22:55'::timestamp) - extract(epoch from '2026-07-16 08:22: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'), 47391, 'SRID=4674;POINT (-38.347004 -3.341963)', '2026-07-16 08:23:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346888 -3.341989)'), GeomFromEWKT('SRID=4674;POINT (-38.347004 -3.341963)'))) / (select extract(epoch from '2026-07-16 08:23:01'::timestamp) - extract(epoch from '2026-07-16 08:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346888 -3.341989)'), GeomFromEWKT('SRID=4674;POINT (-38.347004 -3.341963)'))) / (select extract(epoch from '2026-07-16 08:23:01'::timestamp) - extract(epoch from '2026-07-16 08:22: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'), 47391, 'SRID=4674;POINT (-38.3471 -3.341937)', '2026-07-16 08:23:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347004 -3.341963)'), GeomFromEWKT('SRID=4674;POINT (-38.3471 -3.341937)'))) / (select extract(epoch from '2026-07-16 08:23:06'::timestamp) - extract(epoch from '2026-07-16 08:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347004 -3.341963)'), GeomFromEWKT('SRID=4674;POINT (-38.3471 -3.341937)'))) / (select extract(epoch from '2026-07-16 08:23:06'::timestamp) - extract(epoch from '2026-07-16 08:23: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'), 47391, 'SRID=4674;POINT (-38.347209 -3.34192)', '2026-07-16 08:23:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3471 -3.341937)'), GeomFromEWKT('SRID=4674;POINT (-38.347209 -3.34192)'))) / (select extract(epoch from '2026-07-16 08:23:11'::timestamp) - extract(epoch from '2026-07-16 08:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3471 -3.341937)'), GeomFromEWKT('SRID=4674;POINT (-38.347209 -3.34192)'))) / (select extract(epoch from '2026-07-16 08:23:11'::timestamp) - extract(epoch from '2026-07-16 08:23:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347314 -3.341879)', '2026-07-16 08:23:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347209 -3.34192)'), GeomFromEWKT('SRID=4674;POINT (-38.347314 -3.341879)'))) / (select extract(epoch from '2026-07-16 08:23:16'::timestamp) - extract(epoch from '2026-07-16 08:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347209 -3.34192)'), GeomFromEWKT('SRID=4674;POINT (-38.347314 -3.341879)'))) / (select extract(epoch from '2026-07-16 08:23:16'::timestamp) - extract(epoch from '2026-07-16 08:23: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'), 47391, 'SRID=4674;POINT (-38.347405 -3.341828)', '2026-07-16 08:23:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347314 -3.341879)'), GeomFromEWKT('SRID=4674;POINT (-38.347405 -3.341828)'))) / (select extract(epoch from '2026-07-16 08:23:21'::timestamp) - extract(epoch from '2026-07-16 08:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347314 -3.341879)'), GeomFromEWKT('SRID=4674;POINT (-38.347405 -3.341828)'))) / (select extract(epoch from '2026-07-16 08:23:21'::timestamp) - extract(epoch from '2026-07-16 08:23:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347477 -3.341787)', '2026-07-16 08:23:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347405 -3.341828)'), GeomFromEWKT('SRID=4674;POINT (-38.347477 -3.341787)'))) / (select extract(epoch from '2026-07-16 08:23:25'::timestamp) - extract(epoch from '2026-07-16 08:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347405 -3.341828)'), GeomFromEWKT('SRID=4674;POINT (-38.347477 -3.341787)'))) / (select extract(epoch from '2026-07-16 08:23:25'::timestamp) - extract(epoch from '2026-07-16 08:23: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'), 47391, 'SRID=4674;POINT (-38.347586 -3.341705)', '2026-07-16 08:23:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347477 -3.341787)'), GeomFromEWKT('SRID=4674;POINT (-38.347586 -3.341705)'))) / (select extract(epoch from '2026-07-16 08:23:31'::timestamp) - extract(epoch from '2026-07-16 08:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347477 -3.341787)'), GeomFromEWKT('SRID=4674;POINT (-38.347586 -3.341705)'))) / (select extract(epoch from '2026-07-16 08:23:31'::timestamp) - extract(epoch from '2026-07-16 08:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347687 -3.34163)', '2026-07-16 08:23:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347586 -3.341705)'), GeomFromEWKT('SRID=4674;POINT (-38.347687 -3.34163)'))) / (select extract(epoch from '2026-07-16 08:23:37'::timestamp) - extract(epoch from '2026-07-16 08:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347586 -3.341705)'), GeomFromEWKT('SRID=4674;POINT (-38.347687 -3.34163)'))) / (select extract(epoch from '2026-07-16 08:23:37'::timestamp) - extract(epoch from '2026-07-16 08:23:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347723 -3.341614)', '2026-07-16 08:23:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347687 -3.34163)'), GeomFromEWKT('SRID=4674;POINT (-38.347723 -3.341614)'))) / (select extract(epoch from '2026-07-16 08:23:38'::timestamp) - extract(epoch from '2026-07-16 08:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347687 -3.34163)'), GeomFromEWKT('SRID=4674;POINT (-38.347723 -3.341614)'))) / (select extract(epoch from '2026-07-16 08:23:38'::timestamp) - extract(epoch from '2026-07-16 08:23:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347795 -3.341591)', '2026-07-16 08:23:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347723 -3.341614)'), GeomFromEWKT('SRID=4674;POINT (-38.347795 -3.341591)'))) / (select extract(epoch from '2026-07-16 08:23:42'::timestamp) - extract(epoch from '2026-07-16 08:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347723 -3.341614)'), GeomFromEWKT('SRID=4674;POINT (-38.347795 -3.341591)'))) / (select extract(epoch from '2026-07-16 08:23:42'::timestamp) - extract(epoch from '2026-07-16 08:23: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'), 47391, 'SRID=4674;POINT (-38.347795 -3.341591)', '2026-07-16 08:23:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347795 -3.341591)'), GeomFromEWKT('SRID=4674;POINT (-38.347795 -3.341591)'))) / (select extract(epoch from '2026-07-16 08:23:43'::timestamp) - extract(epoch from '2026-07-16 08:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347795 -3.341591)'), GeomFromEWKT('SRID=4674;POINT (-38.347795 -3.341591)'))) / (select extract(epoch from '2026-07-16 08:23:43'::timestamp) - extract(epoch from '2026-07-16 08:23: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'), 47391, 'SRID=4674;POINT (-38.347908 -3.341569)', '2026-07-16 08:23:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347795 -3.341591)'), GeomFromEWKT('SRID=4674;POINT (-38.347908 -3.341569)'))) / (select extract(epoch from '2026-07-16 08:23:49'::timestamp) - extract(epoch from '2026-07-16 08:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347795 -3.341591)'), GeomFromEWKT('SRID=4674;POINT (-38.347908 -3.341569)'))) / (select extract(epoch from '2026-07-16 08:23:49'::timestamp) - extract(epoch from '2026-07-16 08:23: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'), 47391, 'SRID=4674;POINT (-38.347975 -3.341555)', '2026-07-16 08:23:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347908 -3.341569)'), GeomFromEWKT('SRID=4674;POINT (-38.347975 -3.341555)'))) / (select extract(epoch from '2026-07-16 08:23:54'::timestamp) - extract(epoch from '2026-07-16 08:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347908 -3.341569)'), GeomFromEWKT('SRID=4674;POINT (-38.347975 -3.341555)'))) / (select extract(epoch from '2026-07-16 08:23:54'::timestamp) - extract(epoch from '2026-07-16 08:23: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'), 47391, 'SRID=4674;POINT (-38.348016 -3.341533)', '2026-07-16 08:23:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347975 -3.341555)'), GeomFromEWKT('SRID=4674;POINT (-38.348016 -3.341533)'))) / (select extract(epoch from '2026-07-16 08:23:58'::timestamp) - extract(epoch from '2026-07-16 08:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347975 -3.341555)'), GeomFromEWKT('SRID=4674;POINT (-38.348016 -3.341533)'))) / (select extract(epoch from '2026-07-16 08:23:58'::timestamp) - extract(epoch from '2026-07-16 08:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34804 -3.341514)', '2026-07-16 08:24:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348016 -3.341533)'), GeomFromEWKT('SRID=4674;POINT (-38.34804 -3.341514)'))) / (select extract(epoch from '2026-07-16 08:24:03'::timestamp) - extract(epoch from '2026-07-16 08:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348016 -3.341533)'), GeomFromEWKT('SRID=4674;POINT (-38.34804 -3.341514)'))) / (select extract(epoch from '2026-07-16 08:24:03'::timestamp) - extract(epoch from '2026-07-16 08:23: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'), 47391, 'SRID=4674;POINT (-38.348081 -3.341493)', '2026-07-16 08:24:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34804 -3.341514)'), GeomFromEWKT('SRID=4674;POINT (-38.348081 -3.341493)'))) / (select extract(epoch from '2026-07-16 08:24:06'::timestamp) - extract(epoch from '2026-07-16 08:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34804 -3.341514)'), GeomFromEWKT('SRID=4674;POINT (-38.348081 -3.341493)'))) / (select extract(epoch from '2026-07-16 08:24:06'::timestamp) - extract(epoch from '2026-07-16 08:24:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348195 -3.341421)', '2026-07-16 08:24:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348081 -3.341493)'), GeomFromEWKT('SRID=4674;POINT (-38.348195 -3.341421)'))) / (select extract(epoch from '2026-07-16 08:24:19'::timestamp) - extract(epoch from '2026-07-16 08:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348081 -3.341493)'), GeomFromEWKT('SRID=4674;POINT (-38.348195 -3.341421)'))) / (select extract(epoch from '2026-07-16 08:24:19'::timestamp) - extract(epoch from '2026-07-16 08:24: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'), 47391, 'SRID=4674;POINT (-38.348232 -3.341408)', '2026-07-16 08:24:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348195 -3.341421)'), GeomFromEWKT('SRID=4674;POINT (-38.348232 -3.341408)'))) / (select extract(epoch from '2026-07-16 08:24:24'::timestamp) - extract(epoch from '2026-07-16 08:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348195 -3.341421)'), GeomFromEWKT('SRID=4674;POINT (-38.348232 -3.341408)'))) / (select extract(epoch from '2026-07-16 08:24:24'::timestamp) - extract(epoch from '2026-07-16 08:24:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348244 -3.34139)', '2026-07-16 08:24:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348232 -3.341408)'), GeomFromEWKT('SRID=4674;POINT (-38.348244 -3.34139)'))) / (select extract(epoch from '2026-07-16 08:24:26'::timestamp) - extract(epoch from '2026-07-16 08:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348232 -3.341408)'), GeomFromEWKT('SRID=4674;POINT (-38.348244 -3.34139)'))) / (select extract(epoch from '2026-07-16 08:24:26'::timestamp) - extract(epoch from '2026-07-16 08:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348275 -3.34138)', '2026-07-16 08:24:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348244 -3.34139)'), GeomFromEWKT('SRID=4674;POINT (-38.348275 -3.34138)'))) / (select extract(epoch from '2026-07-16 08:24:28'::timestamp) - extract(epoch from '2026-07-16 08:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348244 -3.34139)'), GeomFromEWKT('SRID=4674;POINT (-38.348275 -3.34138)'))) / (select extract(epoch from '2026-07-16 08:24:28'::timestamp) - extract(epoch from '2026-07-16 08:24: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'), 47391, 'SRID=4674;POINT (-38.348318 -3.341346)', '2026-07-16 08:24:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348275 -3.34138)'), GeomFromEWKT('SRID=4674;POINT (-38.348318 -3.341346)'))) / (select extract(epoch from '2026-07-16 08:24:33'::timestamp) - extract(epoch from '2026-07-16 08:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348275 -3.34138)'), GeomFromEWKT('SRID=4674;POINT (-38.348318 -3.341346)'))) / (select extract(epoch from '2026-07-16 08:24:33'::timestamp) - extract(epoch from '2026-07-16 08:24: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'), 47391, 'SRID=4674;POINT (-38.348383 -3.341309)', '2026-07-16 08:24:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348318 -3.341346)'), GeomFromEWKT('SRID=4674;POINT (-38.348383 -3.341309)'))) / (select extract(epoch from '2026-07-16 08:24:40'::timestamp) - extract(epoch from '2026-07-16 08:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348318 -3.341346)'), GeomFromEWKT('SRID=4674;POINT (-38.348383 -3.341309)'))) / (select extract(epoch from '2026-07-16 08:24:40'::timestamp) - extract(epoch from '2026-07-16 08:24: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'), 47391, 'SRID=4674;POINT (-38.348386 -3.341302)', '2026-07-16 08:24:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348383 -3.341309)'), GeomFromEWKT('SRID=4674;POINT (-38.348386 -3.341302)'))) / (select extract(epoch from '2026-07-16 08:24:41'::timestamp) - extract(epoch from '2026-07-16 08:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348383 -3.341309)'), GeomFromEWKT('SRID=4674;POINT (-38.348386 -3.341302)'))) / (select extract(epoch from '2026-07-16 08:24:41'::timestamp) - extract(epoch from '2026-07-16 08:24:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348392 -3.341294)', '2026-07-16 08:24:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348386 -3.341302)'), GeomFromEWKT('SRID=4674;POINT (-38.348392 -3.341294)'))) / (select extract(epoch from '2026-07-16 08:24:42'::timestamp) - extract(epoch from '2026-07-16 08:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348386 -3.341302)'), GeomFromEWKT('SRID=4674;POINT (-38.348392 -3.341294)'))) / (select extract(epoch from '2026-07-16 08:24:42'::timestamp) - extract(epoch from '2026-07-16 08:24: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'), 47391, 'SRID=4674;POINT (-38.348437 -3.341281)', '2026-07-16 08:24:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348392 -3.341294)'), GeomFromEWKT('SRID=4674;POINT (-38.348437 -3.341281)'))) / (select extract(epoch from '2026-07-16 08:24:45'::timestamp) - extract(epoch from '2026-07-16 08:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348392 -3.341294)'), GeomFromEWKT('SRID=4674;POINT (-38.348437 -3.341281)'))) / (select extract(epoch from '2026-07-16 08:24:45'::timestamp) - extract(epoch from '2026-07-16 08:24:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348448 -3.341278)', '2026-07-16 08:24:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348437 -3.341281)'), GeomFromEWKT('SRID=4674;POINT (-38.348448 -3.341278)'))) / (select extract(epoch from '2026-07-16 08:24:46'::timestamp) - extract(epoch from '2026-07-16 08:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348437 -3.341281)'), GeomFromEWKT('SRID=4674;POINT (-38.348448 -3.341278)'))) / (select extract(epoch from '2026-07-16 08:24:46'::timestamp) - extract(epoch from '2026-07-16 08:24: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'), 47391, 'SRID=4674;POINT (-38.348479 -3.341253)', '2026-07-16 08:24:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348448 -3.341278)'), GeomFromEWKT('SRID=4674;POINT (-38.348479 -3.341253)'))) / (select extract(epoch from '2026-07-16 08:24:50'::timestamp) - extract(epoch from '2026-07-16 08:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348448 -3.341278)'), GeomFromEWKT('SRID=4674;POINT (-38.348479 -3.341253)'))) / (select extract(epoch from '2026-07-16 08:24:50'::timestamp) - extract(epoch from '2026-07-16 08:24: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'), 47391, 'SRID=4674;POINT (-38.34853 -3.341228)', '2026-07-16 08:24:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348479 -3.341253)'), GeomFromEWKT('SRID=4674;POINT (-38.34853 -3.341228)'))) / (select extract(epoch from '2026-07-16 08:24:55'::timestamp) - extract(epoch from '2026-07-16 08:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348479 -3.341253)'), GeomFromEWKT('SRID=4674;POINT (-38.34853 -3.341228)'))) / (select extract(epoch from '2026-07-16 08:24:55'::timestamp) - extract(epoch from '2026-07-16 08:24: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'), 47391, 'SRID=4674;POINT (-38.348541 -3.34121)', '2026-07-16 08:24:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34853 -3.341228)'), GeomFromEWKT('SRID=4674;POINT (-38.348541 -3.34121)'))) / (select extract(epoch from '2026-07-16 08:24:57'::timestamp) - extract(epoch from '2026-07-16 08:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34853 -3.341228)'), GeomFromEWKT('SRID=4674;POINT (-38.348541 -3.34121)'))) / (select extract(epoch from '2026-07-16 08:24:57'::timestamp) - extract(epoch from '2026-07-16 08:24: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'), 47391, 'SRID=4674;POINT (-38.348551 -3.341203)', '2026-07-16 08:24:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348541 -3.34121)'), GeomFromEWKT('SRID=4674;POINT (-38.348551 -3.341203)'))) / (select extract(epoch from '2026-07-16 08:24:58'::timestamp) - extract(epoch from '2026-07-16 08:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348541 -3.34121)'), GeomFromEWKT('SRID=4674;POINT (-38.348551 -3.341203)'))) / (select extract(epoch from '2026-07-16 08:24:58'::timestamp) - extract(epoch from '2026-07-16 08:24: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'), 47391, 'SRID=4674;POINT (-38.348593 -3.341186)', '2026-07-16 08:25:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348551 -3.341203)'), GeomFromEWKT('SRID=4674;POINT (-38.348593 -3.341186)'))) / (select extract(epoch from '2026-07-16 08:25:01'::timestamp) - extract(epoch from '2026-07-16 08:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348551 -3.341203)'), GeomFromEWKT('SRID=4674;POINT (-38.348593 -3.341186)'))) / (select extract(epoch from '2026-07-16 08:25:01'::timestamp) - extract(epoch from '2026-07-16 08:24: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'), 47391, 'SRID=4674;POINT (-38.348658 -3.34114)', '2026-07-16 08:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348593 -3.341186)'), GeomFromEWKT('SRID=4674;POINT (-38.348658 -3.34114)'))) / (select extract(epoch from '2026-07-16 08:25:08'::timestamp) - extract(epoch from '2026-07-16 08:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348593 -3.341186)'), GeomFromEWKT('SRID=4674;POINT (-38.348658 -3.34114)'))) / (select extract(epoch from '2026-07-16 08:25:08'::timestamp) - extract(epoch from '2026-07-16 08:25:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348706 -3.341098)', '2026-07-16 08:25:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348658 -3.34114)'), GeomFromEWKT('SRID=4674;POINT (-38.348706 -3.341098)'))) / (select extract(epoch from '2026-07-16 08:25:14'::timestamp) - extract(epoch from '2026-07-16 08:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348658 -3.34114)'), GeomFromEWKT('SRID=4674;POINT (-38.348706 -3.341098)'))) / (select extract(epoch from '2026-07-16 08:25:14'::timestamp) - extract(epoch from '2026-07-16 08:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348777 -3.34104)', '2026-07-16 08:25:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348706 -3.341098)'), GeomFromEWKT('SRID=4674;POINT (-38.348777 -3.34104)'))) / (select extract(epoch from '2026-07-16 08:25:24'::timestamp) - extract(epoch from '2026-07-16 08:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348706 -3.341098)'), GeomFromEWKT('SRID=4674;POINT (-38.348777 -3.34104)'))) / (select extract(epoch from '2026-07-16 08:25:24'::timestamp) - extract(epoch from '2026-07-16 08:25: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'), 47391, 'SRID=4674;POINT (-38.350911 -3.341893)', '2026-07-17 15:23:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348777 -3.34104)'), GeomFromEWKT('SRID=4674;POINT (-38.350911 -3.341893)'))) / (select extract(epoch from '2026-07-17 15:23:07'::timestamp) - extract(epoch from '2026-07-16 08:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348777 -3.34104)'), GeomFromEWKT('SRID=4674;POINT (-38.350911 -3.341893)'))) / (select extract(epoch from '2026-07-17 15:23:07'::timestamp) - extract(epoch from '2026-07-16 08:25:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350819 -3.341858)', '2026-07-17 15:23:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350911 -3.341893)'), GeomFromEWKT('SRID=4674;POINT (-38.350819 -3.341858)'))) / (select extract(epoch from '2026-07-17 15:23:09'::timestamp) - extract(epoch from '2026-07-17 15:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350911 -3.341893)'), GeomFromEWKT('SRID=4674;POINT (-38.350819 -3.341858)'))) / (select extract(epoch from '2026-07-17 15:23:09'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47391, 'SRID=4674;POINT (-38.350835 -3.341831)', '2026-07-17 15:23:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350819 -3.341858)'), GeomFromEWKT('SRID=4674;POINT (-38.350835 -3.341831)'))) / (select extract(epoch from '2026-07-17 15:23:11'::timestamp) - extract(epoch from '2026-07-17 15:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350819 -3.341858)'), GeomFromEWKT('SRID=4674;POINT (-38.350835 -3.341831)'))) / (select extract(epoch from '2026-07-17 15:23:11'::timestamp) - extract(epoch from '2026-07-17 15:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.35079 -3.341815)', '2026-07-17 15:23:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350835 -3.341831)'), GeomFromEWKT('SRID=4674;POINT (-38.35079 -3.341815)'))) / (select extract(epoch from '2026-07-17 15:23:17'::timestamp) - extract(epoch from '2026-07-17 15:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350835 -3.341831)'), GeomFromEWKT('SRID=4674;POINT (-38.35079 -3.341815)'))) / (select extract(epoch from '2026-07-17 15:23:17'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47391, 'SRID=4674;POINT (-38.350809 -3.34173)', '2026-07-17 15:23:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35079 -3.341815)'), GeomFromEWKT('SRID=4674;POINT (-38.350809 -3.34173)'))) / (select extract(epoch from '2026-07-17 15:23:23'::timestamp) - extract(epoch from '2026-07-17 15:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35079 -3.341815)'), GeomFromEWKT('SRID=4674;POINT (-38.350809 -3.34173)'))) / (select extract(epoch from '2026-07-17 15:23:23'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47391, 'SRID=4674;POINT (-38.350871 -3.341645)', '2026-07-17 15:23:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350809 -3.34173)'), GeomFromEWKT('SRID=4674;POINT (-38.350871 -3.341645)'))) / (select extract(epoch from '2026-07-17 15:23:29'::timestamp) - extract(epoch from '2026-07-17 15:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350809 -3.34173)'), GeomFromEWKT('SRID=4674;POINT (-38.350871 -3.341645)'))) / (select extract(epoch from '2026-07-17 15:23:29'::timestamp) - extract(epoch from '2026-07-17 15:23:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350881 -3.341614)', '2026-07-17 15:23:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350871 -3.341645)'), GeomFromEWKT('SRID=4674;POINT (-38.350881 -3.341614)'))) / (select extract(epoch from '2026-07-17 15:23:33'::timestamp) - extract(epoch from '2026-07-17 15:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350871 -3.341645)'), GeomFromEWKT('SRID=4674;POINT (-38.350881 -3.341614)'))) / (select extract(epoch from '2026-07-17 15:23:33'::timestamp) - extract(epoch from '2026-07-17 15:23:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350905 -3.341567)', '2026-07-17 15:23:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350881 -3.341614)'), GeomFromEWKT('SRID=4674;POINT (-38.350905 -3.341567)'))) / (select extract(epoch from '2026-07-17 15:23:38'::timestamp) - extract(epoch from '2026-07-17 15:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350881 -3.341614)'), GeomFromEWKT('SRID=4674;POINT (-38.350905 -3.341567)'))) / (select extract(epoch from '2026-07-17 15:23:38'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47391, 'SRID=4674;POINT (-38.350913 -3.341538)', '2026-07-17 15:23:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350905 -3.341567)'), GeomFromEWKT('SRID=4674;POINT (-38.350913 -3.341538)'))) / (select extract(epoch from '2026-07-17 15:23:40'::timestamp) - extract(epoch from '2026-07-17 15:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350905 -3.341567)'), GeomFromEWKT('SRID=4674;POINT (-38.350913 -3.341538)'))) / (select extract(epoch from '2026-07-17 15:23:40'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47391, 'SRID=4674;POINT (-38.350927 -3.341495)', '2026-07-17 15:23:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350913 -3.341538)'), GeomFromEWKT('SRID=4674;POINT (-38.350927 -3.341495)'))) / (select extract(epoch from '2026-07-17 15:23:43'::timestamp) - extract(epoch from '2026-07-17 15:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350913 -3.341538)'), GeomFromEWKT('SRID=4674;POINT (-38.350927 -3.341495)'))) / (select extract(epoch from '2026-07-17 15:23:43'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47391, 'SRID=4674;POINT (-38.35094 -3.341426)', '2026-07-17 15:23:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350927 -3.341495)'), GeomFromEWKT('SRID=4674;POINT (-38.35094 -3.341426)'))) / (select extract(epoch from '2026-07-17 15:23:48'::timestamp) - extract(epoch from '2026-07-17 15:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350927 -3.341495)'), GeomFromEWKT('SRID=4674;POINT (-38.35094 -3.341426)'))) / (select extract(epoch from '2026-07-17 15:23:48'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47391, 'SRID=4674;POINT (-38.350943 -3.341413)', '2026-07-17 15:23:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35094 -3.341426)'), GeomFromEWKT('SRID=4674;POINT (-38.350943 -3.341413)'))) / (select extract(epoch from '2026-07-17 15:23:49'::timestamp) - extract(epoch from '2026-07-17 15:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35094 -3.341426)'), GeomFromEWKT('SRID=4674;POINT (-38.350943 -3.341413)'))) / (select extract(epoch from '2026-07-17 15:23:49'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47391, 'SRID=4674;POINT (-38.350955 -3.341378)', '2026-07-17 15:23:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350943 -3.341413)'), GeomFromEWKT('SRID=4674;POINT (-38.350955 -3.341378)'))) / (select extract(epoch from '2026-07-17 15:23:52'::timestamp) - extract(epoch from '2026-07-17 15:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350943 -3.341413)'), GeomFromEWKT('SRID=4674;POINT (-38.350955 -3.341378)'))) / (select extract(epoch from '2026-07-17 15:23:52'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47391, 'SRID=4674;POINT (-38.350955 -3.341353)', '2026-07-17 15:23:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350955 -3.341378)'), GeomFromEWKT('SRID=4674;POINT (-38.350955 -3.341353)'))) / (select extract(epoch from '2026-07-17 15:23:54'::timestamp) - extract(epoch from '2026-07-17 15:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350955 -3.341378)'), GeomFromEWKT('SRID=4674;POINT (-38.350955 -3.341353)'))) / (select extract(epoch from '2026-07-17 15:23:54'::timestamp) - extract(epoch from '2026-07-17 15:23:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350988 -3.341311)', '2026-07-17 15:23:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350955 -3.341353)'), GeomFromEWKT('SRID=4674;POINT (-38.350988 -3.341311)'))) / (select extract(epoch from '2026-07-17 15:23:58'::timestamp) - extract(epoch from '2026-07-17 15:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350955 -3.341353)'), GeomFromEWKT('SRID=4674;POINT (-38.350988 -3.341311)'))) / (select extract(epoch from '2026-07-17 15:23:58'::timestamp) - extract(epoch from '2026-07-17 15:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350998 -3.34131)', '2026-07-17 15:24:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350988 -3.341311)'), GeomFromEWKT('SRID=4674;POINT (-38.350998 -3.34131)'))) / (select extract(epoch from '2026-07-17 15:24:01'::timestamp) - extract(epoch from '2026-07-17 15:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350988 -3.341311)'), GeomFromEWKT('SRID=4674;POINT (-38.350998 -3.34131)'))) / (select extract(epoch from '2026-07-17 15:24:01'::timestamp) - extract(epoch from '2026-07-17 15:23: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'), 47391, 'SRID=4674;POINT (-38.351017 -3.341304)', '2026-07-17 15:24:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350998 -3.34131)'), GeomFromEWKT('SRID=4674;POINT (-38.351017 -3.341304)'))) / (select extract(epoch from '2026-07-17 15:24:06'::timestamp) - extract(epoch from '2026-07-17 15:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350998 -3.34131)'), GeomFromEWKT('SRID=4674;POINT (-38.351017 -3.341304)'))) / (select extract(epoch from '2026-07-17 15:24:06'::timestamp) - extract(epoch from '2026-07-17 15:24: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'), 47391, 'SRID=4674;POINT (-38.351013 -3.341293)', '2026-07-17 15:24:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351017 -3.341304)'), GeomFromEWKT('SRID=4674;POINT (-38.351013 -3.341293)'))) / (select extract(epoch from '2026-07-17 15:24:08'::timestamp) - extract(epoch from '2026-07-17 15:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351017 -3.341304)'), GeomFromEWKT('SRID=4674;POINT (-38.351013 -3.341293)'))) / (select extract(epoch from '2026-07-17 15:24:08'::timestamp) - extract(epoch from '2026-07-17 15:24: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'), 47391, 'SRID=4674;POINT (-38.351013 -3.341273)', '2026-07-17 15:24:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351013 -3.341293)'), GeomFromEWKT('SRID=4674;POINT (-38.351013 -3.341273)'))) / (select extract(epoch from '2026-07-17 15:24:10'::timestamp) - extract(epoch from '2026-07-17 15:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351013 -3.341293)'), GeomFromEWKT('SRID=4674;POINT (-38.351013 -3.341273)'))) / (select extract(epoch from '2026-07-17 15:24:10'::timestamp) - extract(epoch from '2026-07-17 15:24: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'), 47391, 'SRID=4674;POINT (-38.351009 -3.34126)', '2026-07-17 15:24:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351013 -3.341273)'), GeomFromEWKT('SRID=4674;POINT (-38.351009 -3.34126)'))) / (select extract(epoch from '2026-07-17 15:24:11'::timestamp) - extract(epoch from '2026-07-17 15:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351013 -3.341273)'), GeomFromEWKT('SRID=4674;POINT (-38.351009 -3.34126)'))) / (select extract(epoch from '2026-07-17 15:24:11'::timestamp) - extract(epoch from '2026-07-17 15:24:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351004 -3.341198)', '2026-07-17 15:24:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351009 -3.34126)'), GeomFromEWKT('SRID=4674;POINT (-38.351004 -3.341198)'))) / (select extract(epoch from '2026-07-17 15:24:17'::timestamp) - extract(epoch from '2026-07-17 15:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351009 -3.34126)'), GeomFromEWKT('SRID=4674;POINT (-38.351004 -3.341198)'))) / (select extract(epoch from '2026-07-17 15:24:17'::timestamp) - extract(epoch from '2026-07-17 15:24:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351002 -3.341187)', '2026-07-17 15:24:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351004 -3.341198)'), GeomFromEWKT('SRID=4674;POINT (-38.351002 -3.341187)'))) / (select extract(epoch from '2026-07-17 15:24:18'::timestamp) - extract(epoch from '2026-07-17 15:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351004 -3.341198)'), GeomFromEWKT('SRID=4674;POINT (-38.351002 -3.341187)'))) / (select extract(epoch from '2026-07-17 15:24:18'::timestamp) - extract(epoch from '2026-07-17 15:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.35102 -3.341128)', '2026-07-17 15:24:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351002 -3.341187)'), GeomFromEWKT('SRID=4674;POINT (-38.35102 -3.341128)'))) / (select extract(epoch from '2026-07-17 15:24:23'::timestamp) - extract(epoch from '2026-07-17 15:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351002 -3.341187)'), GeomFromEWKT('SRID=4674;POINT (-38.35102 -3.341128)'))) / (select extract(epoch from '2026-07-17 15:24:23'::timestamp) - extract(epoch from '2026-07-17 15:24: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'), 47391, 'SRID=4674;POINT (-38.351028 -3.341052)', '2026-07-17 15:24:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35102 -3.341128)'), GeomFromEWKT('SRID=4674;POINT (-38.351028 -3.341052)'))) / (select extract(epoch from '2026-07-17 15:24:29'::timestamp) - extract(epoch from '2026-07-17 15:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35102 -3.341128)'), GeomFromEWKT('SRID=4674;POINT (-38.351028 -3.341052)'))) / (select extract(epoch from '2026-07-17 15:24:29'::timestamp) - extract(epoch from '2026-07-17 15:24: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'), 47391, 'SRID=4674;POINT (-38.351032 -3.34104)', '2026-07-17 15:24:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351028 -3.341052)'), GeomFromEWKT('SRID=4674;POINT (-38.351032 -3.34104)'))) / (select extract(epoch from '2026-07-17 15:24:30'::timestamp) - extract(epoch from '2026-07-17 15:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351028 -3.341052)'), GeomFromEWKT('SRID=4674;POINT (-38.351032 -3.34104)'))) / (select extract(epoch from '2026-07-17 15:24:30'::timestamp) - extract(epoch from '2026-07-17 15:24:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351037 -3.341015)', '2026-07-17 15:24:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351032 -3.34104)'), GeomFromEWKT('SRID=4674;POINT (-38.351037 -3.341015)'))) / (select extract(epoch from '2026-07-17 15:24:33'::timestamp) - extract(epoch from '2026-07-17 15:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351032 -3.34104)'), GeomFromEWKT('SRID=4674;POINT (-38.351037 -3.341015)'))) / (select extract(epoch from '2026-07-17 15:24:33'::timestamp) - extract(epoch from '2026-07-17 15:24: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'), 47391, 'SRID=4674;POINT (-38.351044 -3.340951)', '2026-07-17 15:24:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351037 -3.341015)'), GeomFromEWKT('SRID=4674;POINT (-38.351044 -3.340951)'))) / (select extract(epoch from '2026-07-17 15:24:37'::timestamp) - extract(epoch from '2026-07-17 15:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351037 -3.341015)'), GeomFromEWKT('SRID=4674;POINT (-38.351044 -3.340951)'))) / (select extract(epoch from '2026-07-17 15:24:37'::timestamp) - extract(epoch from '2026-07-17 15:24: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'), 47391, 'SRID=4674;POINT (-38.351055 -3.340862)', '2026-07-17 15:24:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351044 -3.340951)'), GeomFromEWKT('SRID=4674;POINT (-38.351055 -3.340862)'))) / (select extract(epoch from '2026-07-17 15:24:43'::timestamp) - extract(epoch from '2026-07-17 15:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351044 -3.340951)'), GeomFromEWKT('SRID=4674;POINT (-38.351055 -3.340862)'))) / (select extract(epoch from '2026-07-17 15:24:43'::timestamp) - extract(epoch from '2026-07-17 15:24: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'), 47391, 'SRID=4674;POINT (-38.351061 -3.340759)', '2026-07-17 15:24:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351055 -3.340862)'), GeomFromEWKT('SRID=4674;POINT (-38.351061 -3.340759)'))) / (select extract(epoch from '2026-07-17 15:24:49'::timestamp) - extract(epoch from '2026-07-17 15:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351055 -3.340862)'), GeomFromEWKT('SRID=4674;POINT (-38.351061 -3.340759)'))) / (select extract(epoch from '2026-07-17 15:24:49'::timestamp) - extract(epoch from '2026-07-17 15:24: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'), 47391, 'SRID=4674;POINT (-38.35106 -3.340683)', '2026-07-17 15:24:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351061 -3.340759)'), GeomFromEWKT('SRID=4674;POINT (-38.35106 -3.340683)'))) / (select extract(epoch from '2026-07-17 15:24:53'::timestamp) - extract(epoch from '2026-07-17 15:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351061 -3.340759)'), GeomFromEWKT('SRID=4674;POINT (-38.35106 -3.340683)'))) / (select extract(epoch from '2026-07-17 15:24:53'::timestamp) - extract(epoch from '2026-07-17 15:24: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'), 47391, 'SRID=4674;POINT (-38.351056 -3.340666)', '2026-07-17 15:24:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35106 -3.340683)'), GeomFromEWKT('SRID=4674;POINT (-38.351056 -3.340666)'))) / (select extract(epoch from '2026-07-17 15:24:54'::timestamp) - extract(epoch from '2026-07-17 15:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35106 -3.340683)'), GeomFromEWKT('SRID=4674;POINT (-38.351056 -3.340666)'))) / (select extract(epoch from '2026-07-17 15:24:54'::timestamp) - extract(epoch from '2026-07-17 15:24: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'), 47391, 'SRID=4674;POINT (-38.351041 -3.340572)', '2026-07-17 15:24:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351056 -3.340666)'), GeomFromEWKT('SRID=4674;POINT (-38.351041 -3.340572)'))) / (select extract(epoch from '2026-07-17 15:24:59'::timestamp) - extract(epoch from '2026-07-17 15:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351056 -3.340666)'), GeomFromEWKT('SRID=4674;POINT (-38.351041 -3.340572)'))) / (select extract(epoch from '2026-07-17 15:24:59'::timestamp) - extract(epoch from '2026-07-17 15:24:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351019 -3.340488)', '2026-07-17 15:25:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351041 -3.340572)'), GeomFromEWKT('SRID=4674;POINT (-38.351019 -3.340488)'))) / (select extract(epoch from '2026-07-17 15:25:04'::timestamp) - extract(epoch from '2026-07-17 15:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351041 -3.340572)'), GeomFromEWKT('SRID=4674;POINT (-38.351019 -3.340488)'))) / (select extract(epoch from '2026-07-17 15:25:04'::timestamp) - extract(epoch from '2026-07-17 15:24: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'), 47391, 'SRID=4674;POINT (-38.350995 -3.340371)', '2026-07-17 15:25:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351019 -3.340488)'), GeomFromEWKT('SRID=4674;POINT (-38.350995 -3.340371)'))) / (select extract(epoch from '2026-07-17 15:25:12'::timestamp) - extract(epoch from '2026-07-17 15:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351019 -3.340488)'), GeomFromEWKT('SRID=4674;POINT (-38.350995 -3.340371)'))) / (select extract(epoch from '2026-07-17 15:25:12'::timestamp) - extract(epoch from '2026-07-17 15:25: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'), 47391, 'SRID=4674;POINT (-38.350971 -3.340255)', '2026-07-17 15:25:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350995 -3.340371)'), GeomFromEWKT('SRID=4674;POINT (-38.350971 -3.340255)'))) / (select extract(epoch from '2026-07-17 15:25:19'::timestamp) - extract(epoch from '2026-07-17 15:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350995 -3.340371)'), GeomFromEWKT('SRID=4674;POINT (-38.350971 -3.340255)'))) / (select extract(epoch from '2026-07-17 15:25:19'::timestamp) - extract(epoch from '2026-07-17 15:25: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'), 47391, 'SRID=4674;POINT (-38.350935 -3.340161)', '2026-07-17 15:25:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350971 -3.340255)'), GeomFromEWKT('SRID=4674;POINT (-38.350935 -3.340161)'))) / (select extract(epoch from '2026-07-17 15:25:25'::timestamp) - extract(epoch from '2026-07-17 15:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350971 -3.340255)'), GeomFromEWKT('SRID=4674;POINT (-38.350935 -3.340161)'))) / (select extract(epoch from '2026-07-17 15:25:25'::timestamp) - extract(epoch from '2026-07-17 15:25:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350902 -3.340069)', '2026-07-17 15:25:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350935 -3.340161)'), GeomFromEWKT('SRID=4674;POINT (-38.350902 -3.340069)'))) / (select extract(epoch from '2026-07-17 15:25:31'::timestamp) - extract(epoch from '2026-07-17 15:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350935 -3.340161)'), GeomFromEWKT('SRID=4674;POINT (-38.350902 -3.340069)'))) / (select extract(epoch from '2026-07-17 15:25:31'::timestamp) - extract(epoch from '2026-07-17 15:25: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'), 47391, 'SRID=4674;POINT (-38.35087 -3.339972)', '2026-07-17 15:25:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350902 -3.340069)'), GeomFromEWKT('SRID=4674;POINT (-38.35087 -3.339972)'))) / (select extract(epoch from '2026-07-17 15:25:37'::timestamp) - extract(epoch from '2026-07-17 15:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350902 -3.340069)'), GeomFromEWKT('SRID=4674;POINT (-38.35087 -3.339972)'))) / (select extract(epoch from '2026-07-17 15:25:37'::timestamp) - extract(epoch from '2026-07-17 15:25: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'), 47391, 'SRID=4674;POINT (-38.350821 -3.339853)', '2026-07-17 15:25:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35087 -3.339972)'), GeomFromEWKT('SRID=4674;POINT (-38.350821 -3.339853)'))) / (select extract(epoch from '2026-07-17 15:25:44'::timestamp) - extract(epoch from '2026-07-17 15:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35087 -3.339972)'), GeomFromEWKT('SRID=4674;POINT (-38.350821 -3.339853)'))) / (select extract(epoch from '2026-07-17 15:25:44'::timestamp) - extract(epoch from '2026-07-17 15:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350771 -3.339751)', '2026-07-17 15:25:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350821 -3.339853)'), GeomFromEWKT('SRID=4674;POINT (-38.350771 -3.339751)'))) / (select extract(epoch from '2026-07-17 15:25:50'::timestamp) - extract(epoch from '2026-07-17 15:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350821 -3.339853)'), GeomFromEWKT('SRID=4674;POINT (-38.350771 -3.339751)'))) / (select extract(epoch from '2026-07-17 15:25:50'::timestamp) - extract(epoch from '2026-07-17 15:25: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'), 47391, 'SRID=4674;POINT (-38.350723 -3.339653)', '2026-07-17 15:25:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350771 -3.339751)'), GeomFromEWKT('SRID=4674;POINT (-38.350723 -3.339653)'))) / (select extract(epoch from '2026-07-17 15:25:56'::timestamp) - extract(epoch from '2026-07-17 15:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350771 -3.339751)'), GeomFromEWKT('SRID=4674;POINT (-38.350723 -3.339653)'))) / (select extract(epoch from '2026-07-17 15:25:56'::timestamp) - extract(epoch from '2026-07-17 15:25: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'), 47391, 'SRID=4674;POINT (-38.350687 -3.339559)', '2026-07-17 15:26:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350723 -3.339653)'), GeomFromEWKT('SRID=4674;POINT (-38.350687 -3.339559)'))) / (select extract(epoch from '2026-07-17 15:26:02'::timestamp) - extract(epoch from '2026-07-17 15:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350723 -3.339653)'), GeomFromEWKT('SRID=4674;POINT (-38.350687 -3.339559)'))) / (select extract(epoch from '2026-07-17 15:26:02'::timestamp) - extract(epoch from '2026-07-17 15:25:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.35065 -3.339442)', '2026-07-17 15:26:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350687 -3.339559)'), GeomFromEWKT('SRID=4674;POINT (-38.35065 -3.339442)'))) / (select extract(epoch from '2026-07-17 15:26:09'::timestamp) - extract(epoch from '2026-07-17 15:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350687 -3.339559)'), GeomFromEWKT('SRID=4674;POINT (-38.35065 -3.339442)'))) / (select extract(epoch from '2026-07-17 15:26:09'::timestamp) - extract(epoch from '2026-07-17 15:26: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'), 47391, 'SRID=4674;POINT (-38.350608 -3.339316)', '2026-07-17 15:26:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35065 -3.339442)'), GeomFromEWKT('SRID=4674;POINT (-38.350608 -3.339316)'))) / (select extract(epoch from '2026-07-17 15:26:16'::timestamp) - extract(epoch from '2026-07-17 15:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35065 -3.339442)'), GeomFromEWKT('SRID=4674;POINT (-38.350608 -3.339316)'))) / (select extract(epoch from '2026-07-17 15:26:16'::timestamp) - extract(epoch from '2026-07-17 15:26: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'), 47391, 'SRID=4674;POINT (-38.350568 -3.339197)', '2026-07-17 15:26:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350608 -3.339316)'), GeomFromEWKT('SRID=4674;POINT (-38.350568 -3.339197)'))) / (select extract(epoch from '2026-07-17 15:26:23'::timestamp) - extract(epoch from '2026-07-17 15:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350608 -3.339316)'), GeomFromEWKT('SRID=4674;POINT (-38.350568 -3.339197)'))) / (select extract(epoch from '2026-07-17 15:26:23'::timestamp) - extract(epoch from '2026-07-17 15:26: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'), 47391, 'SRID=4674;POINT (-38.350531 -3.339078)', '2026-07-17 15:26:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350568 -3.339197)'), GeomFromEWKT('SRID=4674;POINT (-38.350531 -3.339078)'))) / (select extract(epoch from '2026-07-17 15:26:30'::timestamp) - extract(epoch from '2026-07-17 15:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350568 -3.339197)'), GeomFromEWKT('SRID=4674;POINT (-38.350531 -3.339078)'))) / (select extract(epoch from '2026-07-17 15:26:30'::timestamp) - extract(epoch from '2026-07-17 15:26: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'), 47391, 'SRID=4674;POINT (-38.350498 -3.338986)', '2026-07-17 15:26:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350531 -3.339078)'), GeomFromEWKT('SRID=4674;POINT (-38.350498 -3.338986)'))) / (select extract(epoch from '2026-07-17 15:26:36'::timestamp) - extract(epoch from '2026-07-17 15:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350531 -3.339078)'), GeomFromEWKT('SRID=4674;POINT (-38.350498 -3.338986)'))) / (select extract(epoch from '2026-07-17 15:26:36'::timestamp) - extract(epoch from '2026-07-17 15:26:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350466 -3.338896)', '2026-07-17 15:26:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350498 -3.338986)'), GeomFromEWKT('SRID=4674;POINT (-38.350466 -3.338896)'))) / (select extract(epoch from '2026-07-17 15:26:42'::timestamp) - extract(epoch from '2026-07-17 15:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350498 -3.338986)'), GeomFromEWKT('SRID=4674;POINT (-38.350466 -3.338896)'))) / (select extract(epoch from '2026-07-17 15:26:42'::timestamp) - extract(epoch from '2026-07-17 15:26: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'), 47391, 'SRID=4674;POINT (-38.350448 -3.338812)', '2026-07-17 15:26:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350466 -3.338896)'), GeomFromEWKT('SRID=4674;POINT (-38.350448 -3.338812)'))) / (select extract(epoch from '2026-07-17 15:26:47'::timestamp) - extract(epoch from '2026-07-17 15:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350466 -3.338896)'), GeomFromEWKT('SRID=4674;POINT (-38.350448 -3.338812)'))) / (select extract(epoch from '2026-07-17 15:26:47'::timestamp) - extract(epoch from '2026-07-17 15:26: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'), 47391, 'SRID=4674;POINT (-38.350415 -3.338717)', '2026-07-17 15:26:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350448 -3.338812)'), GeomFromEWKT('SRID=4674;POINT (-38.350415 -3.338717)'))) / (select extract(epoch from '2026-07-17 15:26:53'::timestamp) - extract(epoch from '2026-07-17 15:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350448 -3.338812)'), GeomFromEWKT('SRID=4674;POINT (-38.350415 -3.338717)'))) / (select extract(epoch from '2026-07-17 15:26:53'::timestamp) - extract(epoch from '2026-07-17 15:26: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'), 47391, 'SRID=4674;POINT (-38.350409 -3.338668)', '2026-07-17 15:26:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350415 -3.338717)'), GeomFromEWKT('SRID=4674;POINT (-38.350409 -3.338668)'))) / (select extract(epoch from '2026-07-17 15:26:56'::timestamp) - extract(epoch from '2026-07-17 15:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350415 -3.338717)'), GeomFromEWKT('SRID=4674;POINT (-38.350409 -3.338668)'))) / (select extract(epoch from '2026-07-17 15:26:56'::timestamp) - extract(epoch from '2026-07-17 15:26: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'), 47391, 'SRID=4674;POINT (-38.350404 -3.338635)', '2026-07-17 15:26:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350409 -3.338668)'), GeomFromEWKT('SRID=4674;POINT (-38.350404 -3.338635)'))) / (select extract(epoch from '2026-07-17 15:26:58'::timestamp) - extract(epoch from '2026-07-17 15:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350409 -3.338668)'), GeomFromEWKT('SRID=4674;POINT (-38.350404 -3.338635)'))) / (select extract(epoch from '2026-07-17 15:26:58'::timestamp) - extract(epoch from '2026-07-17 15:26: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'), 47391, 'SRID=4674;POINT (-38.350384 -3.33853)', '2026-07-17 15:27:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350404 -3.338635)'), GeomFromEWKT('SRID=4674;POINT (-38.350384 -3.33853)'))) / (select extract(epoch from '2026-07-17 15:27:04'::timestamp) - extract(epoch from '2026-07-17 15:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350404 -3.338635)'), GeomFromEWKT('SRID=4674;POINT (-38.350384 -3.33853)'))) / (select extract(epoch from '2026-07-17 15:27:04'::timestamp) - extract(epoch from '2026-07-17 15:26: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'), 47391, 'SRID=4674;POINT (-38.350349 -3.338423)', '2026-07-17 15:27:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350384 -3.33853)'), GeomFromEWKT('SRID=4674;POINT (-38.350349 -3.338423)'))) / (select extract(epoch from '2026-07-17 15:27:10'::timestamp) - extract(epoch from '2026-07-17 15:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350384 -3.33853)'), GeomFromEWKT('SRID=4674;POINT (-38.350349 -3.338423)'))) / (select extract(epoch from '2026-07-17 15:27:10'::timestamp) - extract(epoch from '2026-07-17 15:27:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.35032 -3.338337)', '2026-07-17 15:27:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350349 -3.338423)'), GeomFromEWKT('SRID=4674;POINT (-38.35032 -3.338337)'))) / (select extract(epoch from '2026-07-17 15:27:15'::timestamp) - extract(epoch from '2026-07-17 15:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350349 -3.338423)'), GeomFromEWKT('SRID=4674;POINT (-38.35032 -3.338337)'))) / (select extract(epoch from '2026-07-17 15:27:15'::timestamp) - extract(epoch from '2026-07-17 15:27:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350316 -3.338321)', '2026-07-17 15:27:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35032 -3.338337)'), GeomFromEWKT('SRID=4674;POINT (-38.350316 -3.338321)'))) / (select extract(epoch from '2026-07-17 15:27:16'::timestamp) - extract(epoch from '2026-07-17 15:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35032 -3.338337)'), GeomFromEWKT('SRID=4674;POINT (-38.350316 -3.338321)'))) / (select extract(epoch from '2026-07-17 15:27:16'::timestamp) - extract(epoch from '2026-07-17 15:27:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350288 -3.338241)', '2026-07-17 15:27:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350316 -3.338321)'), GeomFromEWKT('SRID=4674;POINT (-38.350288 -3.338241)'))) / (select extract(epoch from '2026-07-17 15:27:21'::timestamp) - extract(epoch from '2026-07-17 15:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350316 -3.338321)'), GeomFromEWKT('SRID=4674;POINT (-38.350288 -3.338241)'))) / (select extract(epoch from '2026-07-17 15:27:21'::timestamp) - extract(epoch from '2026-07-17 15:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350274 -3.338208)', '2026-07-17 15:27:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350288 -3.338241)'), GeomFromEWKT('SRID=4674;POINT (-38.350274 -3.338208)'))) / (select extract(epoch from '2026-07-17 15:27:23'::timestamp) - extract(epoch from '2026-07-17 15:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350288 -3.338241)'), GeomFromEWKT('SRID=4674;POINT (-38.350274 -3.338208)'))) / (select extract(epoch from '2026-07-17 15:27:23'::timestamp) - extract(epoch from '2026-07-17 15:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350263 -3.338141)', '2026-07-17 15:27:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350274 -3.338208)'), GeomFromEWKT('SRID=4674;POINT (-38.350263 -3.338141)'))) / (select extract(epoch from '2026-07-17 15:27:27'::timestamp) - extract(epoch from '2026-07-17 15:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350274 -3.338208)'), GeomFromEWKT('SRID=4674;POINT (-38.350263 -3.338141)'))) / (select extract(epoch from '2026-07-17 15:27:27'::timestamp) - extract(epoch from '2026-07-17 15:27: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'), 47391, 'SRID=4674;POINT (-38.350258 -3.338107)', '2026-07-17 15:27:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350263 -3.338141)'), GeomFromEWKT('SRID=4674;POINT (-38.350258 -3.338107)'))) / (select extract(epoch from '2026-07-17 15:27:29'::timestamp) - extract(epoch from '2026-07-17 15:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350263 -3.338141)'), GeomFromEWKT('SRID=4674;POINT (-38.350258 -3.338107)'))) / (select extract(epoch from '2026-07-17 15:27:29'::timestamp) - extract(epoch from '2026-07-17 15:27:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350249 -3.338006)', '2026-07-17 15:27:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350258 -3.338107)'), GeomFromEWKT('SRID=4674;POINT (-38.350249 -3.338006)'))) / (select extract(epoch from '2026-07-17 15:27:35'::timestamp) - extract(epoch from '2026-07-17 15:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350258 -3.338107)'), GeomFromEWKT('SRID=4674;POINT (-38.350249 -3.338006)'))) / (select extract(epoch from '2026-07-17 15:27:35'::timestamp) - extract(epoch from '2026-07-17 15:27:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350235 -3.337898)', '2026-07-17 15:27:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350249 -3.338006)'), GeomFromEWKT('SRID=4674;POINT (-38.350235 -3.337898)'))) / (select extract(epoch from '2026-07-17 15:27:41'::timestamp) - extract(epoch from '2026-07-17 15:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350249 -3.338006)'), GeomFromEWKT('SRID=4674;POINT (-38.350235 -3.337898)'))) / (select extract(epoch from '2026-07-17 15:27:41'::timestamp) - extract(epoch from '2026-07-17 15:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350194 -3.337749)', '2026-07-17 15:27:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350235 -3.337898)'), GeomFromEWKT('SRID=4674;POINT (-38.350194 -3.337749)'))) / (select extract(epoch from '2026-07-17 15:27:50'::timestamp) - extract(epoch from '2026-07-17 15:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350235 -3.337898)'), GeomFromEWKT('SRID=4674;POINT (-38.350194 -3.337749)'))) / (select extract(epoch from '2026-07-17 15:27:50'::timestamp) - extract(epoch from '2026-07-17 15:27:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350148 -3.337656)', '2026-07-17 15:27:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350194 -3.337749)'), GeomFromEWKT('SRID=4674;POINT (-38.350148 -3.337656)'))) / (select extract(epoch from '2026-07-17 15:27:56'::timestamp) - extract(epoch from '2026-07-17 15:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350194 -3.337749)'), GeomFromEWKT('SRID=4674;POINT (-38.350148 -3.337656)'))) / (select extract(epoch from '2026-07-17 15:27:56'::timestamp) - extract(epoch from '2026-07-17 15:27: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'), 47391, 'SRID=4674;POINT (-38.350087 -3.337551)', '2026-07-17 15:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350148 -3.337656)'), GeomFromEWKT('SRID=4674;POINT (-38.350087 -3.337551)'))) / (select extract(epoch from '2026-07-17 15:28:03'::timestamp) - extract(epoch from '2026-07-17 15:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350148 -3.337656)'), GeomFromEWKT('SRID=4674;POINT (-38.350087 -3.337551)'))) / (select extract(epoch from '2026-07-17 15:28:03'::timestamp) - extract(epoch from '2026-07-17 15:27: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'), 47391, 'SRID=4674;POINT (-38.350034 -3.337457)', '2026-07-17 15:28:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350087 -3.337551)'), GeomFromEWKT('SRID=4674;POINT (-38.350034 -3.337457)'))) / (select extract(epoch from '2026-07-17 15:28:10'::timestamp) - extract(epoch from '2026-07-17 15:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350087 -3.337551)'), GeomFromEWKT('SRID=4674;POINT (-38.350034 -3.337457)'))) / (select extract(epoch from '2026-07-17 15:28:10'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47391, 'SRID=4674;POINT (-38.349987 -3.337365)', '2026-07-17 15:28:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350034 -3.337457)'), GeomFromEWKT('SRID=4674;POINT (-38.349987 -3.337365)'))) / (select extract(epoch from '2026-07-17 15:28:16'::timestamp) - extract(epoch from '2026-07-17 15:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350034 -3.337457)'), GeomFromEWKT('SRID=4674;POINT (-38.349987 -3.337365)'))) / (select extract(epoch from '2026-07-17 15:28:16'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47391, 'SRID=4674;POINT (-38.349965 -3.337291)', '2026-07-17 15:28:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349987 -3.337365)'), GeomFromEWKT('SRID=4674;POINT (-38.349965 -3.337291)'))) / (select extract(epoch from '2026-07-17 15:28:21'::timestamp) - extract(epoch from '2026-07-17 15:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349987 -3.337365)'), GeomFromEWKT('SRID=4674;POINT (-38.349965 -3.337291)'))) / (select extract(epoch from '2026-07-17 15:28:21'::timestamp) - extract(epoch from '2026-07-17 15:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349944 -3.337213)', '2026-07-17 15:28:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349965 -3.337291)'), GeomFromEWKT('SRID=4674;POINT (-38.349944 -3.337213)'))) / (select extract(epoch from '2026-07-17 15:28:26'::timestamp) - extract(epoch from '2026-07-17 15:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349965 -3.337291)'), GeomFromEWKT('SRID=4674;POINT (-38.349944 -3.337213)'))) / (select extract(epoch from '2026-07-17 15:28:26'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47391, 'SRID=4674;POINT (-38.349944 -3.337195)', '2026-07-17 15:28:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349944 -3.337213)'), GeomFromEWKT('SRID=4674;POINT (-38.349944 -3.337195)'))) / (select extract(epoch from '2026-07-17 15:28:27'::timestamp) - extract(epoch from '2026-07-17 15:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349944 -3.337213)'), GeomFromEWKT('SRID=4674;POINT (-38.349944 -3.337195)'))) / (select extract(epoch from '2026-07-17 15:28:27'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47391, 'SRID=4674;POINT (-38.349928 -3.337107)', '2026-07-17 15:28:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349944 -3.337195)'), GeomFromEWKT('SRID=4674;POINT (-38.349928 -3.337107)'))) / (select extract(epoch from '2026-07-17 15:28:32'::timestamp) - extract(epoch from '2026-07-17 15:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349944 -3.337195)'), GeomFromEWKT('SRID=4674;POINT (-38.349928 -3.337107)'))) / (select extract(epoch from '2026-07-17 15:28:32'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47391, 'SRID=4674;POINT (-38.349915 -3.336996)', '2026-07-17 15:28:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349928 -3.337107)'), GeomFromEWKT('SRID=4674;POINT (-38.349915 -3.336996)'))) / (select extract(epoch from '2026-07-17 15:28:38'::timestamp) - extract(epoch from '2026-07-17 15:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349928 -3.337107)'), GeomFromEWKT('SRID=4674;POINT (-38.349915 -3.336996)'))) / (select extract(epoch from '2026-07-17 15:28:38'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47391, 'SRID=4674;POINT (-38.349893 -3.336867)', '2026-07-17 15:28:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349915 -3.336996)'), GeomFromEWKT('SRID=4674;POINT (-38.349893 -3.336867)'))) / (select extract(epoch from '2026-07-17 15:28:45'::timestamp) - extract(epoch from '2026-07-17 15:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349915 -3.336996)'), GeomFromEWKT('SRID=4674;POINT (-38.349893 -3.336867)'))) / (select extract(epoch from '2026-07-17 15:28:45'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47391, 'SRID=4674;POINT (-38.349873 -3.336766)', '2026-07-17 15:28:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349893 -3.336867)'), GeomFromEWKT('SRID=4674;POINT (-38.349873 -3.336766)'))) / (select extract(epoch from '2026-07-17 15:28:51'::timestamp) - extract(epoch from '2026-07-17 15:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349893 -3.336867)'), GeomFromEWKT('SRID=4674;POINT (-38.349873 -3.336766)'))) / (select extract(epoch from '2026-07-17 15:28:51'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47391, 'SRID=4674;POINT (-38.349853 -3.336673)', '2026-07-17 15:28:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349873 -3.336766)'), GeomFromEWKT('SRID=4674;POINT (-38.349853 -3.336673)'))) / (select extract(epoch from '2026-07-17 15:28:56'::timestamp) - extract(epoch from '2026-07-17 15:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349873 -3.336766)'), GeomFromEWKT('SRID=4674;POINT (-38.349853 -3.336673)'))) / (select extract(epoch from '2026-07-17 15:28:56'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47391, 'SRID=4674;POINT (-38.349837 -3.336562)', '2026-07-17 15:29:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349853 -3.336673)'), GeomFromEWKT('SRID=4674;POINT (-38.349837 -3.336562)'))) / (select extract(epoch from '2026-07-17 15:29:02'::timestamp) - extract(epoch from '2026-07-17 15:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349853 -3.336673)'), GeomFromEWKT('SRID=4674;POINT (-38.349837 -3.336562)'))) / (select extract(epoch from '2026-07-17 15:29:02'::timestamp) - extract(epoch from '2026-07-17 15:28: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'), 47391, 'SRID=4674;POINT (-38.349807 -3.336438)', '2026-07-17 15:29:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349837 -3.336562)'), GeomFromEWKT('SRID=4674;POINT (-38.349807 -3.336438)'))) / (select extract(epoch from '2026-07-17 15:29:09'::timestamp) - extract(epoch from '2026-07-17 15:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349837 -3.336562)'), GeomFromEWKT('SRID=4674;POINT (-38.349807 -3.336438)'))) / (select extract(epoch from '2026-07-17 15:29:09'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47391, 'SRID=4674;POINT (-38.349782 -3.336307)', '2026-07-17 15:29:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349807 -3.336438)'), GeomFromEWKT('SRID=4674;POINT (-38.349782 -3.336307)'))) / (select extract(epoch from '2026-07-17 15:29:16'::timestamp) - extract(epoch from '2026-07-17 15:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349807 -3.336438)'), GeomFromEWKT('SRID=4674;POINT (-38.349782 -3.336307)'))) / (select extract(epoch from '2026-07-17 15:29:16'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47391, 'SRID=4674;POINT (-38.349754 -3.336184)', '2026-07-17 15:29:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349782 -3.336307)'), GeomFromEWKT('SRID=4674;POINT (-38.349754 -3.336184)'))) / (select extract(epoch from '2026-07-17 15:29:23'::timestamp) - extract(epoch from '2026-07-17 15:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349782 -3.336307)'), GeomFromEWKT('SRID=4674;POINT (-38.349754 -3.336184)'))) / (select extract(epoch from '2026-07-17 15:29:23'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47391, 'SRID=4674;POINT (-38.349733 -3.336056)', '2026-07-17 15:29:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349754 -3.336184)'), GeomFromEWKT('SRID=4674;POINT (-38.349733 -3.336056)'))) / (select extract(epoch from '2026-07-17 15:29:30'::timestamp) - extract(epoch from '2026-07-17 15:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349754 -3.336184)'), GeomFromEWKT('SRID=4674;POINT (-38.349733 -3.336056)'))) / (select extract(epoch from '2026-07-17 15:29:30'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47391, 'SRID=4674;POINT (-38.34971 -3.335949)', '2026-07-17 15:29:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349733 -3.336056)'), GeomFromEWKT('SRID=4674;POINT (-38.34971 -3.335949)'))) / (select extract(epoch from '2026-07-17 15:29:36'::timestamp) - extract(epoch from '2026-07-17 15:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349733 -3.336056)'), GeomFromEWKT('SRID=4674;POINT (-38.34971 -3.335949)'))) / (select extract(epoch from '2026-07-17 15:29:36'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47391, 'SRID=4674;POINT (-38.349682 -3.335847)', '2026-07-17 15:29:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34971 -3.335949)'), GeomFromEWKT('SRID=4674;POINT (-38.349682 -3.335847)'))) / (select extract(epoch from '2026-07-17 15:29:42'::timestamp) - extract(epoch from '2026-07-17 15:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34971 -3.335949)'), GeomFromEWKT('SRID=4674;POINT (-38.349682 -3.335847)'))) / (select extract(epoch from '2026-07-17 15:29:42'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47391, 'SRID=4674;POINT (-38.349652 -3.335731)', '2026-07-17 15:29:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349682 -3.335847)'), GeomFromEWKT('SRID=4674;POINT (-38.349652 -3.335731)'))) / (select extract(epoch from '2026-07-17 15:29:49'::timestamp) - extract(epoch from '2026-07-17 15:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349682 -3.335847)'), GeomFromEWKT('SRID=4674;POINT (-38.349652 -3.335731)'))) / (select extract(epoch from '2026-07-17 15:29:49'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47391, 'SRID=4674;POINT (-38.349636 -3.335642)', '2026-07-17 15:29:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349652 -3.335731)'), GeomFromEWKT('SRID=4674;POINT (-38.349636 -3.335642)'))) / (select extract(epoch from '2026-07-17 15:29:54'::timestamp) - extract(epoch from '2026-07-17 15:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349652 -3.335731)'), GeomFromEWKT('SRID=4674;POINT (-38.349636 -3.335642)'))) / (select extract(epoch from '2026-07-17 15:29:54'::timestamp) - extract(epoch from '2026-07-17 15:29: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'), 47391, 'SRID=4674;POINT (-38.349605 -3.335484)', '2026-07-17 15:30:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349636 -3.335642)'), GeomFromEWKT('SRID=4674;POINT (-38.349605 -3.335484)'))) / (select extract(epoch from '2026-07-17 15:30:02'::timestamp) - extract(epoch from '2026-07-17 15:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349636 -3.335642)'), GeomFromEWKT('SRID=4674;POINT (-38.349605 -3.335484)'))) / (select extract(epoch from '2026-07-17 15:30:02'::timestamp) - extract(epoch from '2026-07-17 15:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349578 -3.335378)', '2026-07-17 15:30:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349605 -3.335484)'), GeomFromEWKT('SRID=4674;POINT (-38.349578 -3.335378)'))) / (select extract(epoch from '2026-07-17 15:30:08'::timestamp) - extract(epoch from '2026-07-17 15:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349605 -3.335484)'), GeomFromEWKT('SRID=4674;POINT (-38.349578 -3.335378)'))) / (select extract(epoch from '2026-07-17 15:30:08'::timestamp) - extract(epoch from '2026-07-17 15:30: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'), 47391, 'SRID=4674;POINT (-38.349542 -3.335247)', '2026-07-17 15:30:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349578 -3.335378)'), GeomFromEWKT('SRID=4674;POINT (-38.349542 -3.335247)'))) / (select extract(epoch from '2026-07-17 15:30:16'::timestamp) - extract(epoch from '2026-07-17 15:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349578 -3.335378)'), GeomFromEWKT('SRID=4674;POINT (-38.349542 -3.335247)'))) / (select extract(epoch from '2026-07-17 15:30:16'::timestamp) - extract(epoch from '2026-07-17 15:30:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349523 -3.335169)', '2026-07-17 15:30:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349542 -3.335247)'), GeomFromEWKT('SRID=4674;POINT (-38.349523 -3.335169)'))) / (select extract(epoch from '2026-07-17 15:30:21'::timestamp) - extract(epoch from '2026-07-17 15:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349542 -3.335247)'), GeomFromEWKT('SRID=4674;POINT (-38.349523 -3.335169)'))) / (select extract(epoch from '2026-07-17 15:30:21'::timestamp) - extract(epoch from '2026-07-17 15:30: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'), 47391, 'SRID=4674;POINT (-38.349501 -3.335048)', '2026-07-17 15:30:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349523 -3.335169)'), GeomFromEWKT('SRID=4674;POINT (-38.349501 -3.335048)'))) / (select extract(epoch from '2026-07-17 15:30:28'::timestamp) - extract(epoch from '2026-07-17 15:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349523 -3.335169)'), GeomFromEWKT('SRID=4674;POINT (-38.349501 -3.335048)'))) / (select extract(epoch from '2026-07-17 15:30:28'::timestamp) - extract(epoch from '2026-07-17 15:30: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'), 47391, 'SRID=4674;POINT (-38.349499 -3.335014)', '2026-07-17 15:30:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349501 -3.335048)'), GeomFromEWKT('SRID=4674;POINT (-38.349499 -3.335014)'))) / (select extract(epoch from '2026-07-17 15:30:30'::timestamp) - extract(epoch from '2026-07-17 15:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349501 -3.335048)'), GeomFromEWKT('SRID=4674;POINT (-38.349499 -3.335014)'))) / (select extract(epoch from '2026-07-17 15:30:30'::timestamp) - extract(epoch from '2026-07-17 15:30: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'), 47391, 'SRID=4674;POINT (-38.349486 -3.33494)', '2026-07-17 15:30:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349499 -3.335014)'), GeomFromEWKT('SRID=4674;POINT (-38.349486 -3.33494)'))) / (select extract(epoch from '2026-07-17 15:30:34'::timestamp) - extract(epoch from '2026-07-17 15:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349499 -3.335014)'), GeomFromEWKT('SRID=4674;POINT (-38.349486 -3.33494)'))) / (select extract(epoch from '2026-07-17 15:30:34'::timestamp) - extract(epoch from '2026-07-17 15:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349472 -3.334846)', '2026-07-17 15:30:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349486 -3.33494)'), GeomFromEWKT('SRID=4674;POINT (-38.349472 -3.334846)'))) / (select extract(epoch from '2026-07-17 15:30:39'::timestamp) - extract(epoch from '2026-07-17 15:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349486 -3.33494)'), GeomFromEWKT('SRID=4674;POINT (-38.349472 -3.334846)'))) / (select extract(epoch from '2026-07-17 15:30:39'::timestamp) - extract(epoch from '2026-07-17 15:30: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'), 47391, 'SRID=4674;POINT (-38.349458 -3.334739)', '2026-07-17 15:30:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349472 -3.334846)'), GeomFromEWKT('SRID=4674;POINT (-38.349458 -3.334739)'))) / (select extract(epoch from '2026-07-17 15:30:45'::timestamp) - extract(epoch from '2026-07-17 15:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349472 -3.334846)'), GeomFromEWKT('SRID=4674;POINT (-38.349458 -3.334739)'))) / (select extract(epoch from '2026-07-17 15:30:45'::timestamp) - extract(epoch from '2026-07-17 15:30: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'), 47391, 'SRID=4674;POINT (-38.349444 -3.334642)', '2026-07-17 15:30:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349458 -3.334739)'), GeomFromEWKT('SRID=4674;POINT (-38.349444 -3.334642)'))) / (select extract(epoch from '2026-07-17 15:30:51'::timestamp) - extract(epoch from '2026-07-17 15:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349458 -3.334739)'), GeomFromEWKT('SRID=4674;POINT (-38.349444 -3.334642)'))) / (select extract(epoch from '2026-07-17 15:30:51'::timestamp) - extract(epoch from '2026-07-17 15:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349439 -3.33455)', '2026-07-17 15:30:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349444 -3.334642)'), GeomFromEWKT('SRID=4674;POINT (-38.349439 -3.33455)'))) / (select extract(epoch from '2026-07-17 15:30:56'::timestamp) - extract(epoch from '2026-07-17 15:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349444 -3.334642)'), GeomFromEWKT('SRID=4674;POINT (-38.349439 -3.33455)'))) / (select extract(epoch from '2026-07-17 15:30:56'::timestamp) - extract(epoch from '2026-07-17 15:30: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'), 47391, 'SRID=4674;POINT (-38.349438 -3.334435)', '2026-07-17 15:31:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349439 -3.33455)'), GeomFromEWKT('SRID=4674;POINT (-38.349438 -3.334435)'))) / (select extract(epoch from '2026-07-17 15:31:02'::timestamp) - extract(epoch from '2026-07-17 15:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349439 -3.33455)'), GeomFromEWKT('SRID=4674;POINT (-38.349438 -3.334435)'))) / (select extract(epoch from '2026-07-17 15:31:02'::timestamp) - extract(epoch from '2026-07-17 15:30: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'), 47391, 'SRID=4674;POINT (-38.349432 -3.334308)', '2026-07-17 15:31:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349438 -3.334435)'), GeomFromEWKT('SRID=4674;POINT (-38.349432 -3.334308)'))) / (select extract(epoch from '2026-07-17 15:31:09'::timestamp) - extract(epoch from '2026-07-17 15:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349438 -3.334435)'), GeomFromEWKT('SRID=4674;POINT (-38.349432 -3.334308)'))) / (select extract(epoch from '2026-07-17 15:31:09'::timestamp) - extract(epoch from '2026-07-17 15:31: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'), 47391, 'SRID=4674;POINT (-38.349411 -3.334175)', '2026-07-17 15:31:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349432 -3.334308)'), GeomFromEWKT('SRID=4674;POINT (-38.349411 -3.334175)'))) / (select extract(epoch from '2026-07-17 15:31:16'::timestamp) - extract(epoch from '2026-07-17 15:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349432 -3.334308)'), GeomFromEWKT('SRID=4674;POINT (-38.349411 -3.334175)'))) / (select extract(epoch from '2026-07-17 15:31:16'::timestamp) - extract(epoch from '2026-07-17 15:31: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'), 47391, 'SRID=4674;POINT (-38.349398 -3.33408)', '2026-07-17 15:31:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349411 -3.334175)'), GeomFromEWKT('SRID=4674;POINT (-38.349398 -3.33408)'))) / (select extract(epoch from '2026-07-17 15:31:21'::timestamp) - extract(epoch from '2026-07-17 15:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349411 -3.334175)'), GeomFromEWKT('SRID=4674;POINT (-38.349398 -3.33408)'))) / (select extract(epoch from '2026-07-17 15:31:21'::timestamp) - extract(epoch from '2026-07-17 15:31: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'), 47391, 'SRID=4674;POINT (-38.349377 -3.333958)', '2026-07-17 15:31:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349398 -3.33408)'), GeomFromEWKT('SRID=4674;POINT (-38.349377 -3.333958)'))) / (select extract(epoch from '2026-07-17 15:31:27'::timestamp) - extract(epoch from '2026-07-17 15:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349398 -3.33408)'), GeomFromEWKT('SRID=4674;POINT (-38.349377 -3.333958)'))) / (select extract(epoch from '2026-07-17 15:31:27'::timestamp) - extract(epoch from '2026-07-17 15:31:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34935 -3.333826)', '2026-07-17 15:31:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349377 -3.333958)'), GeomFromEWKT('SRID=4674;POINT (-38.34935 -3.333826)'))) / (select extract(epoch from '2026-07-17 15:31:34'::timestamp) - extract(epoch from '2026-07-17 15:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349377 -3.333958)'), GeomFromEWKT('SRID=4674;POINT (-38.34935 -3.333826)'))) / (select extract(epoch from '2026-07-17 15:31:34'::timestamp) - extract(epoch from '2026-07-17 15:31: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'), 47391, 'SRID=4674;POINT (-38.349324 -3.333676)', '2026-07-17 15:31:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34935 -3.333826)'), GeomFromEWKT('SRID=4674;POINT (-38.349324 -3.333676)'))) / (select extract(epoch from '2026-07-17 15:31:42'::timestamp) - extract(epoch from '2026-07-17 15:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34935 -3.333826)'), GeomFromEWKT('SRID=4674;POINT (-38.349324 -3.333676)'))) / (select extract(epoch from '2026-07-17 15:31:42'::timestamp) - extract(epoch from '2026-07-17 15:31: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'), 47391, 'SRID=4674;POINT (-38.349312 -3.333587)', '2026-07-17 15:31:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349324 -3.333676)'), GeomFromEWKT('SRID=4674;POINT (-38.349312 -3.333587)'))) / (select extract(epoch from '2026-07-17 15:31:47'::timestamp) - extract(epoch from '2026-07-17 15:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349324 -3.333676)'), GeomFromEWKT('SRID=4674;POINT (-38.349312 -3.333587)'))) / (select extract(epoch from '2026-07-17 15:31:47'::timestamp) - extract(epoch from '2026-07-17 15:31: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'), 47391, 'SRID=4674;POINT (-38.349301 -3.333478)', '2026-07-17 15:31:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349312 -3.333587)'), GeomFromEWKT('SRID=4674;POINT (-38.349301 -3.333478)'))) / (select extract(epoch from '2026-07-17 15:31:53'::timestamp) - extract(epoch from '2026-07-17 15:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349312 -3.333587)'), GeomFromEWKT('SRID=4674;POINT (-38.349301 -3.333478)'))) / (select extract(epoch from '2026-07-17 15:31:53'::timestamp) - extract(epoch from '2026-07-17 15:31:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349294 -3.333362)', '2026-07-17 15:31:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349301 -3.333478)'), GeomFromEWKT('SRID=4674;POINT (-38.349294 -3.333362)'))) / (select extract(epoch from '2026-07-17 15:31:59'::timestamp) - extract(epoch from '2026-07-17 15:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349301 -3.333478)'), GeomFromEWKT('SRID=4674;POINT (-38.349294 -3.333362)'))) / (select extract(epoch from '2026-07-17 15:31:59'::timestamp) - extract(epoch from '2026-07-17 15:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349282 -3.333286)', '2026-07-17 15:32:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349294 -3.333362)'), GeomFromEWKT('SRID=4674;POINT (-38.349282 -3.333286)'))) / (select extract(epoch from '2026-07-17 15:32:03'::timestamp) - extract(epoch from '2026-07-17 15:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349294 -3.333362)'), GeomFromEWKT('SRID=4674;POINT (-38.349282 -3.333286)'))) / (select extract(epoch from '2026-07-17 15:32:03'::timestamp) - extract(epoch from '2026-07-17 15:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34926 -3.333191)', '2026-07-17 15:32:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349282 -3.333286)'), GeomFromEWKT('SRID=4674;POINT (-38.34926 -3.333191)'))) / (select extract(epoch from '2026-07-17 15:32:08'::timestamp) - extract(epoch from '2026-07-17 15:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349282 -3.333286)'), GeomFromEWKT('SRID=4674;POINT (-38.34926 -3.333191)'))) / (select extract(epoch from '2026-07-17 15:32:08'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47391, 'SRID=4674;POINT (-38.349217 -3.333123)', '2026-07-17 15:32:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34926 -3.333191)'), GeomFromEWKT('SRID=4674;POINT (-38.349217 -3.333123)'))) / (select extract(epoch from '2026-07-17 15:32:13'::timestamp) - extract(epoch from '2026-07-17 15:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34926 -3.333191)'), GeomFromEWKT('SRID=4674;POINT (-38.349217 -3.333123)'))) / (select extract(epoch from '2026-07-17 15:32:13'::timestamp) - extract(epoch from '2026-07-17 15:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349186 -3.33306)', '2026-07-17 15:32:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349217 -3.333123)'), GeomFromEWKT('SRID=4674;POINT (-38.349186 -3.33306)'))) / (select extract(epoch from '2026-07-17 15:32:18'::timestamp) - extract(epoch from '2026-07-17 15:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349217 -3.333123)'), GeomFromEWKT('SRID=4674;POINT (-38.349186 -3.33306)'))) / (select extract(epoch from '2026-07-17 15:32:18'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47391, 'SRID=4674;POINT (-38.349138 -3.33293)', '2026-07-17 15:32:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349186 -3.33306)'), GeomFromEWKT('SRID=4674;POINT (-38.349138 -3.33293)'))) / (select extract(epoch from '2026-07-17 15:32:26'::timestamp) - extract(epoch from '2026-07-17 15:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349186 -3.33306)'), GeomFromEWKT('SRID=4674;POINT (-38.349138 -3.33293)'))) / (select extract(epoch from '2026-07-17 15:32:26'::timestamp) - extract(epoch from '2026-07-17 15:32:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349099 -3.332783)', '2026-07-17 15:32:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349138 -3.33293)'), GeomFromEWKT('SRID=4674;POINT (-38.349099 -3.332783)'))) / (select extract(epoch from '2026-07-17 15:32:34'::timestamp) - extract(epoch from '2026-07-17 15:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349138 -3.33293)'), GeomFromEWKT('SRID=4674;POINT (-38.349099 -3.332783)'))) / (select extract(epoch from '2026-07-17 15:32:34'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47391, 'SRID=4674;POINT (-38.349062 -3.332647)', '2026-07-17 15:32:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349099 -3.332783)'), GeomFromEWKT('SRID=4674;POINT (-38.349062 -3.332647)'))) / (select extract(epoch from '2026-07-17 15:32:42'::timestamp) - extract(epoch from '2026-07-17 15:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349099 -3.332783)'), GeomFromEWKT('SRID=4674;POINT (-38.349062 -3.332647)'))) / (select extract(epoch from '2026-07-17 15:32:42'::timestamp) - extract(epoch from '2026-07-17 15:32:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349031 -3.332531)', '2026-07-17 15:32:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349062 -3.332647)'), GeomFromEWKT('SRID=4674;POINT (-38.349031 -3.332531)'))) / (select extract(epoch from '2026-07-17 15:32:48'::timestamp) - extract(epoch from '2026-07-17 15:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349062 -3.332647)'), GeomFromEWKT('SRID=4674;POINT (-38.349031 -3.332531)'))) / (select extract(epoch from '2026-07-17 15:32:48'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47391, 'SRID=4674;POINT (-38.349002 -3.33242)', '2026-07-17 15:32:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349031 -3.332531)'), GeomFromEWKT('SRID=4674;POINT (-38.349002 -3.33242)'))) / (select extract(epoch from '2026-07-17 15:32:54'::timestamp) - extract(epoch from '2026-07-17 15:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349031 -3.332531)'), GeomFromEWKT('SRID=4674;POINT (-38.349002 -3.33242)'))) / (select extract(epoch from '2026-07-17 15:32:54'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47391, 'SRID=4674;POINT (-38.348976 -3.332313)', '2026-07-17 15:33:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349002 -3.33242)'), GeomFromEWKT('SRID=4674;POINT (-38.348976 -3.332313)'))) / (select extract(epoch from '2026-07-17 15:33:00'::timestamp) - extract(epoch from '2026-07-17 15:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349002 -3.33242)'), GeomFromEWKT('SRID=4674;POINT (-38.348976 -3.332313)'))) / (select extract(epoch from '2026-07-17 15:33:00'::timestamp) - extract(epoch from '2026-07-17 15:32: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'), 47391, 'SRID=4674;POINT (-38.348957 -3.332236)', '2026-07-17 15:33:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348976 -3.332313)'), GeomFromEWKT('SRID=4674;POINT (-38.348957 -3.332236)'))) / (select extract(epoch from '2026-07-17 15:33:05'::timestamp) - extract(epoch from '2026-07-17 15:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348976 -3.332313)'), GeomFromEWKT('SRID=4674;POINT (-38.348957 -3.332236)'))) / (select extract(epoch from '2026-07-17 15:33:05'::timestamp) - extract(epoch from '2026-07-17 15:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348931 -3.332132)', '2026-07-17 15:33:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348957 -3.332236)'), GeomFromEWKT('SRID=4674;POINT (-38.348931 -3.332132)'))) / (select extract(epoch from '2026-07-17 15:33:11'::timestamp) - extract(epoch from '2026-07-17 15:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348957 -3.332236)'), GeomFromEWKT('SRID=4674;POINT (-38.348931 -3.332132)'))) / (select extract(epoch from '2026-07-17 15:33:11'::timestamp) - extract(epoch from '2026-07-17 15:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348918 -3.332023)', '2026-07-17 15:33:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348931 -3.332132)'), GeomFromEWKT('SRID=4674;POINT (-38.348918 -3.332023)'))) / (select extract(epoch from '2026-07-17 15:33:17'::timestamp) - extract(epoch from '2026-07-17 15:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348931 -3.332132)'), GeomFromEWKT('SRID=4674;POINT (-38.348918 -3.332023)'))) / (select extract(epoch from '2026-07-17 15:33:17'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47391, 'SRID=4674;POINT (-38.348892 -3.331903)', '2026-07-17 15:33:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348918 -3.332023)'), GeomFromEWKT('SRID=4674;POINT (-38.348892 -3.331903)'))) / (select extract(epoch from '2026-07-17 15:33:24'::timestamp) - extract(epoch from '2026-07-17 15:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348918 -3.332023)'), GeomFromEWKT('SRID=4674;POINT (-38.348892 -3.331903)'))) / (select extract(epoch from '2026-07-17 15:33:24'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47391, 'SRID=4674;POINT (-38.34888 -3.331798)', '2026-07-17 15:33:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348892 -3.331903)'), GeomFromEWKT('SRID=4674;POINT (-38.34888 -3.331798)'))) / (select extract(epoch from '2026-07-17 15:33:30'::timestamp) - extract(epoch from '2026-07-17 15:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348892 -3.331903)'), GeomFromEWKT('SRID=4674;POINT (-38.34888 -3.331798)'))) / (select extract(epoch from '2026-07-17 15:33:30'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47391, 'SRID=4674;POINT (-38.34885 -3.331674)', '2026-07-17 15:33:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34888 -3.331798)'), GeomFromEWKT('SRID=4674;POINT (-38.34885 -3.331674)'))) / (select extract(epoch from '2026-07-17 15:33:37'::timestamp) - extract(epoch from '2026-07-17 15:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34888 -3.331798)'), GeomFromEWKT('SRID=4674;POINT (-38.34885 -3.331674)'))) / (select extract(epoch from '2026-07-17 15:33:37'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47391, 'SRID=4674;POINT (-38.348813 -3.331569)', '2026-07-17 15:33:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34885 -3.331674)'), GeomFromEWKT('SRID=4674;POINT (-38.348813 -3.331569)'))) / (select extract(epoch from '2026-07-17 15:33:43'::timestamp) - extract(epoch from '2026-07-17 15:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34885 -3.331674)'), GeomFromEWKT('SRID=4674;POINT (-38.348813 -3.331569)'))) / (select extract(epoch from '2026-07-17 15:33:43'::timestamp) - extract(epoch from '2026-07-17 15:33:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348786 -3.331443)', '2026-07-17 15:33:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348813 -3.331569)'), GeomFromEWKT('SRID=4674;POINT (-38.348786 -3.331443)'))) / (select extract(epoch from '2026-07-17 15:33:50'::timestamp) - extract(epoch from '2026-07-17 15:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348813 -3.331569)'), GeomFromEWKT('SRID=4674;POINT (-38.348786 -3.331443)'))) / (select extract(epoch from '2026-07-17 15:33:50'::timestamp) - extract(epoch from '2026-07-17 15:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348775 -3.33135)', '2026-07-17 15:33:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348786 -3.331443)'), GeomFromEWKT('SRID=4674;POINT (-38.348775 -3.33135)'))) / (select extract(epoch from '2026-07-17 15:33:55'::timestamp) - extract(epoch from '2026-07-17 15:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348786 -3.331443)'), GeomFromEWKT('SRID=4674;POINT (-38.348775 -3.33135)'))) / (select extract(epoch from '2026-07-17 15:33:55'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47391, 'SRID=4674;POINT (-38.348773 -3.33133)', '2026-07-17 15:33:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348775 -3.33135)'), GeomFromEWKT('SRID=4674;POINT (-38.348773 -3.33133)'))) / (select extract(epoch from '2026-07-17 15:33:56'::timestamp) - extract(epoch from '2026-07-17 15:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348775 -3.33135)'), GeomFromEWKT('SRID=4674;POINT (-38.348773 -3.33133)'))) / (select extract(epoch from '2026-07-17 15:33:56'::timestamp) - extract(epoch from '2026-07-17 15:33: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'), 47391, 'SRID=4674;POINT (-38.348762 -3.331253)', '2026-07-17 15:34:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348773 -3.33133)'), GeomFromEWKT('SRID=4674;POINT (-38.348762 -3.331253)'))) / (select extract(epoch from '2026-07-17 15:34:00'::timestamp) - extract(epoch from '2026-07-17 15:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348773 -3.33133)'), GeomFromEWKT('SRID=4674;POINT (-38.348762 -3.331253)'))) / (select extract(epoch from '2026-07-17 15:34:00'::timestamp) - extract(epoch from '2026-07-17 15:33:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348752 -3.331153)', '2026-07-17 15:34:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348762 -3.331253)'), GeomFromEWKT('SRID=4674;POINT (-38.348752 -3.331153)'))) / (select extract(epoch from '2026-07-17 15:34:06'::timestamp) - extract(epoch from '2026-07-17 15:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348762 -3.331253)'), GeomFromEWKT('SRID=4674;POINT (-38.348752 -3.331153)'))) / (select extract(epoch from '2026-07-17 15:34:06'::timestamp) - extract(epoch from '2026-07-17 15:34: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'), 47391, 'SRID=4674;POINT (-38.348741 -3.331052)', '2026-07-17 15:34:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348752 -3.331153)'), GeomFromEWKT('SRID=4674;POINT (-38.348741 -3.331052)'))) / (select extract(epoch from '2026-07-17 15:34:12'::timestamp) - extract(epoch from '2026-07-17 15:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348752 -3.331153)'), GeomFromEWKT('SRID=4674;POINT (-38.348741 -3.331052)'))) / (select extract(epoch from '2026-07-17 15:34:12'::timestamp) - extract(epoch from '2026-07-17 15:34: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'), 47391, 'SRID=4674;POINT (-38.348726 -3.330969)', '2026-07-17 15:34:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348741 -3.331052)'), GeomFromEWKT('SRID=4674;POINT (-38.348726 -3.330969)'))) / (select extract(epoch from '2026-07-17 15:34:17'::timestamp) - extract(epoch from '2026-07-17 15:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348741 -3.331052)'), GeomFromEWKT('SRID=4674;POINT (-38.348726 -3.330969)'))) / (select extract(epoch from '2026-07-17 15:34:17'::timestamp) - extract(epoch from '2026-07-17 15:34: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'), 47391, 'SRID=4674;POINT (-38.348712 -3.330878)', '2026-07-17 15:34:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348726 -3.330969)'), GeomFromEWKT('SRID=4674;POINT (-38.348712 -3.330878)'))) / (select extract(epoch from '2026-07-17 15:34:23'::timestamp) - extract(epoch from '2026-07-17 15:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348726 -3.330969)'), GeomFromEWKT('SRID=4674;POINT (-38.348712 -3.330878)'))) / (select extract(epoch from '2026-07-17 15:34:23'::timestamp) - extract(epoch from '2026-07-17 15:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348698 -3.330801)', '2026-07-17 15:34:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348712 -3.330878)'), GeomFromEWKT('SRID=4674;POINT (-38.348698 -3.330801)'))) / (select extract(epoch from '2026-07-17 15:34:28'::timestamp) - extract(epoch from '2026-07-17 15:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348712 -3.330878)'), GeomFromEWKT('SRID=4674;POINT (-38.348698 -3.330801)'))) / (select extract(epoch from '2026-07-17 15:34:28'::timestamp) - extract(epoch from '2026-07-17 15:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348696 -3.330784)', '2026-07-17 15:34:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348698 -3.330801)'), GeomFromEWKT('SRID=4674;POINT (-38.348696 -3.330784)'))) / (select extract(epoch from '2026-07-17 15:34:29'::timestamp) - extract(epoch from '2026-07-17 15:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348698 -3.330801)'), GeomFromEWKT('SRID=4674;POINT (-38.348696 -3.330784)'))) / (select extract(epoch from '2026-07-17 15:34:29'::timestamp) - extract(epoch from '2026-07-17 15:34: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'), 47391, 'SRID=4674;POINT (-38.348686 -3.33066)', '2026-07-17 15:34:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348696 -3.330784)'), GeomFromEWKT('SRID=4674;POINT (-38.348686 -3.33066)'))) / (select extract(epoch from '2026-07-17 15:34:36'::timestamp) - extract(epoch from '2026-07-17 15:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348696 -3.330784)'), GeomFromEWKT('SRID=4674;POINT (-38.348686 -3.33066)'))) / (select extract(epoch from '2026-07-17 15:34:36'::timestamp) - extract(epoch from '2026-07-17 15:34:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348682 -3.330561)', '2026-07-17 15:34:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348686 -3.33066)'), GeomFromEWKT('SRID=4674;POINT (-38.348682 -3.330561)'))) / (select extract(epoch from '2026-07-17 15:34:41'::timestamp) - extract(epoch from '2026-07-17 15:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348686 -3.33066)'), GeomFromEWKT('SRID=4674;POINT (-38.348682 -3.330561)'))) / (select extract(epoch from '2026-07-17 15:34:41'::timestamp) - extract(epoch from '2026-07-17 15:34: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'), 47391, 'SRID=4674;POINT (-38.348666 -3.330457)', '2026-07-17 15:34:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348682 -3.330561)'), GeomFromEWKT('SRID=4674;POINT (-38.348666 -3.330457)'))) / (select extract(epoch from '2026-07-17 15:34:47'::timestamp) - extract(epoch from '2026-07-17 15:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348682 -3.330561)'), GeomFromEWKT('SRID=4674;POINT (-38.348666 -3.330457)'))) / (select extract(epoch from '2026-07-17 15:34:47'::timestamp) - extract(epoch from '2026-07-17 15:34:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348643 -3.330343)', '2026-07-17 15:34:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348666 -3.330457)'), GeomFromEWKT('SRID=4674;POINT (-38.348643 -3.330343)'))) / (select extract(epoch from '2026-07-17 15:34:54'::timestamp) - extract(epoch from '2026-07-17 15:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348666 -3.330457)'), GeomFromEWKT('SRID=4674;POINT (-38.348643 -3.330343)'))) / (select extract(epoch from '2026-07-17 15:34:54'::timestamp) - extract(epoch from '2026-07-17 15:34: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'), 47391, 'SRID=4674;POINT (-38.348622 -3.330247)', '2026-07-17 15:35:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348643 -3.330343)'), GeomFromEWKT('SRID=4674;POINT (-38.348622 -3.330247)'))) / (select extract(epoch from '2026-07-17 15:35:00'::timestamp) - extract(epoch from '2026-07-17 15:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348643 -3.330343)'), GeomFromEWKT('SRID=4674;POINT (-38.348622 -3.330247)'))) / (select extract(epoch from '2026-07-17 15:35:00'::timestamp) - extract(epoch from '2026-07-17 15:34: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'), 47391, 'SRID=4674;POINT (-38.348602 -3.330133)', '2026-07-17 15:35:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348622 -3.330247)'), GeomFromEWKT('SRID=4674;POINT (-38.348602 -3.330133)'))) / (select extract(epoch from '2026-07-17 15:35:06'::timestamp) - extract(epoch from '2026-07-17 15:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348622 -3.330247)'), GeomFromEWKT('SRID=4674;POINT (-38.348602 -3.330133)'))) / (select extract(epoch from '2026-07-17 15:35:06'::timestamp) - extract(epoch from '2026-07-17 15:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348587 -3.330069)', '2026-07-17 15:35:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348602 -3.330133)'), GeomFromEWKT('SRID=4674;POINT (-38.348587 -3.330069)'))) / (select extract(epoch from '2026-07-17 15:35:10'::timestamp) - extract(epoch from '2026-07-17 15:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348602 -3.330133)'), GeomFromEWKT('SRID=4674;POINT (-38.348587 -3.330069)'))) / (select extract(epoch from '2026-07-17 15:35:10'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47391, 'SRID=4674;POINT (-38.348571 -3.330044)', '2026-07-17 15:35:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348587 -3.330069)'), GeomFromEWKT('SRID=4674;POINT (-38.348571 -3.330044)'))) / (select extract(epoch from '2026-07-17 15:35:12'::timestamp) - extract(epoch from '2026-07-17 15:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348587 -3.330069)'), GeomFromEWKT('SRID=4674;POINT (-38.348571 -3.330044)'))) / (select extract(epoch from '2026-07-17 15:35:12'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47391, 'SRID=4674;POINT (-38.348537 -3.329945)', '2026-07-17 15:35:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348571 -3.330044)'), GeomFromEWKT('SRID=4674;POINT (-38.348537 -3.329945)'))) / (select extract(epoch from '2026-07-17 15:35:18'::timestamp) - extract(epoch from '2026-07-17 15:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348571 -3.330044)'), GeomFromEWKT('SRID=4674;POINT (-38.348537 -3.329945)'))) / (select extract(epoch from '2026-07-17 15:35:18'::timestamp) - extract(epoch from '2026-07-17 15:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34851 -3.329842)', '2026-07-17 15:35:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348537 -3.329945)'), GeomFromEWKT('SRID=4674;POINT (-38.34851 -3.329842)'))) / (select extract(epoch from '2026-07-17 15:35:24'::timestamp) - extract(epoch from '2026-07-17 15:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348537 -3.329945)'), GeomFromEWKT('SRID=4674;POINT (-38.34851 -3.329842)'))) / (select extract(epoch from '2026-07-17 15:35:24'::timestamp) - extract(epoch from '2026-07-17 15:35:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348475 -3.329717)', '2026-07-17 15:35:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34851 -3.329842)'), GeomFromEWKT('SRID=4674;POINT (-38.348475 -3.329717)'))) / (select extract(epoch from '2026-07-17 15:35:31'::timestamp) - extract(epoch from '2026-07-17 15:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34851 -3.329842)'), GeomFromEWKT('SRID=4674;POINT (-38.348475 -3.329717)'))) / (select extract(epoch from '2026-07-17 15:35:31'::timestamp) - extract(epoch from '2026-07-17 15:35:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348457 -3.329639)', '2026-07-17 15:35:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348475 -3.329717)'), GeomFromEWKT('SRID=4674;POINT (-38.348457 -3.329639)'))) / (select extract(epoch from '2026-07-17 15:35:36'::timestamp) - extract(epoch from '2026-07-17 15:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348475 -3.329717)'), GeomFromEWKT('SRID=4674;POINT (-38.348457 -3.329639)'))) / (select extract(epoch from '2026-07-17 15:35:36'::timestamp) - extract(epoch from '2026-07-17 15:35:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348432 -3.329568)', '2026-07-17 15:35:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348457 -3.329639)'), GeomFromEWKT('SRID=4674;POINT (-38.348432 -3.329568)'))) / (select extract(epoch from '2026-07-17 15:35:41'::timestamp) - extract(epoch from '2026-07-17 15:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348457 -3.329639)'), GeomFromEWKT('SRID=4674;POINT (-38.348432 -3.329568)'))) / (select extract(epoch from '2026-07-17 15:35:41'::timestamp) - extract(epoch from '2026-07-17 15:35:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.3484 -3.329471)', '2026-07-17 15:35:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348432 -3.329568)'), GeomFromEWKT('SRID=4674;POINT (-38.3484 -3.329471)'))) / (select extract(epoch from '2026-07-17 15:35:47'::timestamp) - extract(epoch from '2026-07-17 15:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348432 -3.329568)'), GeomFromEWKT('SRID=4674;POINT (-38.3484 -3.329471)'))) / (select extract(epoch from '2026-07-17 15:35:47'::timestamp) - extract(epoch from '2026-07-17 15:35:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348369 -3.329358)', '2026-07-17 15:35:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3484 -3.329471)'), GeomFromEWKT('SRID=4674;POINT (-38.348369 -3.329358)'))) / (select extract(epoch from '2026-07-17 15:35:54'::timestamp) - extract(epoch from '2026-07-17 15:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3484 -3.329471)'), GeomFromEWKT('SRID=4674;POINT (-38.348369 -3.329358)'))) / (select extract(epoch from '2026-07-17 15:35:54'::timestamp) - extract(epoch from '2026-07-17 15:35:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348345 -3.329305)', '2026-07-17 15:35:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348369 -3.329358)'), GeomFromEWKT('SRID=4674;POINT (-38.348345 -3.329305)'))) / (select extract(epoch from '2026-07-17 15:35:57'::timestamp) - extract(epoch from '2026-07-17 15:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348369 -3.329358)'), GeomFromEWKT('SRID=4674;POINT (-38.348345 -3.329305)'))) / (select extract(epoch from '2026-07-17 15:35:57'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47391, 'SRID=4674;POINT (-38.34834 -3.329255)', '2026-07-17 15:36:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348345 -3.329305)'), GeomFromEWKT('SRID=4674;POINT (-38.34834 -3.329255)'))) / (select extract(epoch from '2026-07-17 15:36:00'::timestamp) - extract(epoch from '2026-07-17 15:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348345 -3.329305)'), GeomFromEWKT('SRID=4674;POINT (-38.34834 -3.329255)'))) / (select extract(epoch from '2026-07-17 15:36:00'::timestamp) - extract(epoch from '2026-07-17 15:35: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'), 47391, 'SRID=4674;POINT (-38.348303 -3.329144)', '2026-07-17 15:36:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34834 -3.329255)'), GeomFromEWKT('SRID=4674;POINT (-38.348303 -3.329144)'))) / (select extract(epoch from '2026-07-17 15:36:07'::timestamp) - extract(epoch from '2026-07-17 15:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34834 -3.329255)'), GeomFromEWKT('SRID=4674;POINT (-38.348303 -3.329144)'))) / (select extract(epoch from '2026-07-17 15:36:07'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47391, 'SRID=4674;POINT (-38.348279 -3.329058)', '2026-07-17 15:36:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348303 -3.329144)'), GeomFromEWKT('SRID=4674;POINT (-38.348279 -3.329058)'))) / (select extract(epoch from '2026-07-17 15:36:12'::timestamp) - extract(epoch from '2026-07-17 15:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348303 -3.329144)'), GeomFromEWKT('SRID=4674;POINT (-38.348279 -3.329058)'))) / (select extract(epoch from '2026-07-17 15:36:12'::timestamp) - extract(epoch from '2026-07-17 15:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34826 -3.328945)', '2026-07-17 15:36:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348279 -3.329058)'), GeomFromEWKT('SRID=4674;POINT (-38.34826 -3.328945)'))) / (select extract(epoch from '2026-07-17 15:36:18'::timestamp) - extract(epoch from '2026-07-17 15:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348279 -3.329058)'), GeomFromEWKT('SRID=4674;POINT (-38.34826 -3.328945)'))) / (select extract(epoch from '2026-07-17 15:36:18'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47391, 'SRID=4674;POINT (-38.348245 -3.328857)', '2026-07-17 15:36:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34826 -3.328945)'), GeomFromEWKT('SRID=4674;POINT (-38.348245 -3.328857)'))) / (select extract(epoch from '2026-07-17 15:36:23'::timestamp) - extract(epoch from '2026-07-17 15:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34826 -3.328945)'), GeomFromEWKT('SRID=4674;POINT (-38.348245 -3.328857)'))) / (select extract(epoch from '2026-07-17 15:36:23'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47391, 'SRID=4674;POINT (-38.348231 -3.328746)', '2026-07-17 15:36:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348245 -3.328857)'), GeomFromEWKT('SRID=4674;POINT (-38.348231 -3.328746)'))) / (select extract(epoch from '2026-07-17 15:36:29'::timestamp) - extract(epoch from '2026-07-17 15:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348245 -3.328857)'), GeomFromEWKT('SRID=4674;POINT (-38.348231 -3.328746)'))) / (select extract(epoch from '2026-07-17 15:36:29'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47391, 'SRID=4674;POINT (-38.348218 -3.328641)', '2026-07-17 15:36:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348231 -3.328746)'), GeomFromEWKT('SRID=4674;POINT (-38.348218 -3.328641)'))) / (select extract(epoch from '2026-07-17 15:36:35'::timestamp) - extract(epoch from '2026-07-17 15:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348231 -3.328746)'), GeomFromEWKT('SRID=4674;POINT (-38.348218 -3.328641)'))) / (select extract(epoch from '2026-07-17 15:36:35'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47391, 'SRID=4674;POINT (-38.348202 -3.328542)', '2026-07-17 15:36:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348218 -3.328641)'), GeomFromEWKT('SRID=4674;POINT (-38.348202 -3.328542)'))) / (select extract(epoch from '2026-07-17 15:36:41'::timestamp) - extract(epoch from '2026-07-17 15:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348218 -3.328641)'), GeomFromEWKT('SRID=4674;POINT (-38.348202 -3.328542)'))) / (select extract(epoch from '2026-07-17 15:36:41'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47391, 'SRID=4674;POINT (-38.348172 -3.328432)', '2026-07-17 15:36:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348202 -3.328542)'), GeomFromEWKT('SRID=4674;POINT (-38.348172 -3.328432)'))) / (select extract(epoch from '2026-07-17 15:36:47'::timestamp) - extract(epoch from '2026-07-17 15:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348202 -3.328542)'), GeomFromEWKT('SRID=4674;POINT (-38.348172 -3.328432)'))) / (select extract(epoch from '2026-07-17 15:36:47'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47391, 'SRID=4674;POINT (-38.348145 -3.328354)', '2026-07-17 15:36:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348172 -3.328432)'), GeomFromEWKT('SRID=4674;POINT (-38.348145 -3.328354)'))) / (select extract(epoch from '2026-07-17 15:36:52'::timestamp) - extract(epoch from '2026-07-17 15:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348172 -3.328432)'), GeomFromEWKT('SRID=4674;POINT (-38.348145 -3.328354)'))) / (select extract(epoch from '2026-07-17 15:36:52'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47391, 'SRID=4674;POINT (-38.348114 -3.328252)', '2026-07-17 15:36:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348145 -3.328354)'), GeomFromEWKT('SRID=4674;POINT (-38.348114 -3.328252)'))) / (select extract(epoch from '2026-07-17 15:36:59'::timestamp) - extract(epoch from '2026-07-17 15:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348145 -3.328354)'), GeomFromEWKT('SRID=4674;POINT (-38.348114 -3.328252)'))) / (select extract(epoch from '2026-07-17 15:36:59'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47391, 'SRID=4674;POINT (-38.348087 -3.328158)', '2026-07-17 15:37:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348114 -3.328252)'), GeomFromEWKT('SRID=4674;POINT (-38.348087 -3.328158)'))) / (select extract(epoch from '2026-07-17 15:37:05'::timestamp) - extract(epoch from '2026-07-17 15:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348114 -3.328252)'), GeomFromEWKT('SRID=4674;POINT (-38.348087 -3.328158)'))) / (select extract(epoch from '2026-07-17 15:37:05'::timestamp) - extract(epoch from '2026-07-17 15:36: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'), 47391, 'SRID=4674;POINT (-38.348059 -3.328048)', '2026-07-17 15:37:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348087 -3.328158)'), GeomFromEWKT('SRID=4674;POINT (-38.348059 -3.328048)'))) / (select extract(epoch from '2026-07-17 15:37:11'::timestamp) - extract(epoch from '2026-07-17 15:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348087 -3.328158)'), GeomFromEWKT('SRID=4674;POINT (-38.348059 -3.328048)'))) / (select extract(epoch from '2026-07-17 15:37:11'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47391, 'SRID=4674;POINT (-38.348049 -3.328023)', '2026-07-17 15:37:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348059 -3.328048)'), GeomFromEWKT('SRID=4674;POINT (-38.348049 -3.328023)'))) / (select extract(epoch from '2026-07-17 15:37:13'::timestamp) - extract(epoch from '2026-07-17 15:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348059 -3.328048)'), GeomFromEWKT('SRID=4674;POINT (-38.348049 -3.328023)'))) / (select extract(epoch from '2026-07-17 15:37:13'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47391, 'SRID=4674;POINT (-38.348035 -3.327965)', '2026-07-17 15:37:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348049 -3.328023)'), GeomFromEWKT('SRID=4674;POINT (-38.348035 -3.327965)'))) / (select extract(epoch from '2026-07-17 15:37:16'::timestamp) - extract(epoch from '2026-07-17 15:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348049 -3.328023)'), GeomFromEWKT('SRID=4674;POINT (-38.348035 -3.327965)'))) / (select extract(epoch from '2026-07-17 15:37:16'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47391, 'SRID=4674;POINT (-38.348012 -3.327862)', '2026-07-17 15:37:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348035 -3.327965)'), GeomFromEWKT('SRID=4674;POINT (-38.348012 -3.327862)'))) / (select extract(epoch from '2026-07-17 15:37:22'::timestamp) - extract(epoch from '2026-07-17 15:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348035 -3.327965)'), GeomFromEWKT('SRID=4674;POINT (-38.348012 -3.327862)'))) / (select extract(epoch from '2026-07-17 15:37:22'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47391, 'SRID=4674;POINT (-38.347986 -3.327759)', '2026-07-17 15:37:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348012 -3.327862)'), GeomFromEWKT('SRID=4674;POINT (-38.347986 -3.327759)'))) / (select extract(epoch from '2026-07-17 15:37:28'::timestamp) - extract(epoch from '2026-07-17 15:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348012 -3.327862)'), GeomFromEWKT('SRID=4674;POINT (-38.347986 -3.327759)'))) / (select extract(epoch from '2026-07-17 15:37:28'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47391, 'SRID=4674;POINT (-38.347959 -3.32764)', '2026-07-17 15:37:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347986 -3.327759)'), GeomFromEWKT('SRID=4674;POINT (-38.347959 -3.32764)'))) / (select extract(epoch from '2026-07-17 15:37:35'::timestamp) - extract(epoch from '2026-07-17 15:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347986 -3.327759)'), GeomFromEWKT('SRID=4674;POINT (-38.347959 -3.32764)'))) / (select extract(epoch from '2026-07-17 15:37:35'::timestamp) - extract(epoch from '2026-07-17 15:37:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347941 -3.327529)', '2026-07-17 15:37:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347959 -3.32764)'), GeomFromEWKT('SRID=4674;POINT (-38.347941 -3.327529)'))) / (select extract(epoch from '2026-07-17 15:37:41'::timestamp) - extract(epoch from '2026-07-17 15:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347959 -3.32764)'), GeomFromEWKT('SRID=4674;POINT (-38.347941 -3.327529)'))) / (select extract(epoch from '2026-07-17 15:37:41'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47391, 'SRID=4674;POINT (-38.347923 -3.327378)', '2026-07-17 15:37:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347941 -3.327529)'), GeomFromEWKT('SRID=4674;POINT (-38.347923 -3.327378)'))) / (select extract(epoch from '2026-07-17 15:37:49'::timestamp) - extract(epoch from '2026-07-17 15:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347941 -3.327529)'), GeomFromEWKT('SRID=4674;POINT (-38.347923 -3.327378)'))) / (select extract(epoch from '2026-07-17 15:37:49'::timestamp) - extract(epoch from '2026-07-17 15:37:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347907 -3.327294)', '2026-07-17 15:37:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347923 -3.327378)'), GeomFromEWKT('SRID=4674;POINT (-38.347907 -3.327294)'))) / (select extract(epoch from '2026-07-17 15:37:54'::timestamp) - extract(epoch from '2026-07-17 15:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347923 -3.327378)'), GeomFromEWKT('SRID=4674;POINT (-38.347907 -3.327294)'))) / (select extract(epoch from '2026-07-17 15:37:54'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47391, 'SRID=4674;POINT (-38.347901 -3.327218)', '2026-07-17 15:37:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347907 -3.327294)'), GeomFromEWKT('SRID=4674;POINT (-38.347901 -3.327218)'))) / (select extract(epoch from '2026-07-17 15:37:58'::timestamp) - extract(epoch from '2026-07-17 15:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347907 -3.327294)'), GeomFromEWKT('SRID=4674;POINT (-38.347901 -3.327218)'))) / (select extract(epoch from '2026-07-17 15:37:58'::timestamp) - extract(epoch from '2026-07-17 15:37: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'), 47391, 'SRID=4674;POINT (-38.347876 -3.327106)', '2026-07-17 15:38:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347901 -3.327218)'), GeomFromEWKT('SRID=4674;POINT (-38.347876 -3.327106)'))) / (select extract(epoch from '2026-07-17 15:38:04'::timestamp) - extract(epoch from '2026-07-17 15:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347901 -3.327218)'), GeomFromEWKT('SRID=4674;POINT (-38.347876 -3.327106)'))) / (select extract(epoch from '2026-07-17 15:38:04'::timestamp) - extract(epoch from '2026-07-17 15:37:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347843 -3.326994)', '2026-07-17 15:38:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347876 -3.327106)'), GeomFromEWKT('SRID=4674;POINT (-38.347843 -3.326994)'))) / (select extract(epoch from '2026-07-17 15:38:10'::timestamp) - extract(epoch from '2026-07-17 15:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347876 -3.327106)'), GeomFromEWKT('SRID=4674;POINT (-38.347843 -3.326994)'))) / (select extract(epoch from '2026-07-17 15:38:10'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47391, 'SRID=4674;POINT (-38.347824 -3.3269)', '2026-07-17 15:38:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347843 -3.326994)'), GeomFromEWKT('SRID=4674;POINT (-38.347824 -3.3269)'))) / (select extract(epoch from '2026-07-17 15:38:15'::timestamp) - extract(epoch from '2026-07-17 15:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347843 -3.326994)'), GeomFromEWKT('SRID=4674;POINT (-38.347824 -3.3269)'))) / (select extract(epoch from '2026-07-17 15:38:15'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47391, 'SRID=4674;POINT (-38.347817 -3.32681)', '2026-07-17 15:38:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347824 -3.3269)'), GeomFromEWKT('SRID=4674;POINT (-38.347817 -3.32681)'))) / (select extract(epoch from '2026-07-17 15:38:20'::timestamp) - extract(epoch from '2026-07-17 15:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347824 -3.3269)'), GeomFromEWKT('SRID=4674;POINT (-38.347817 -3.32681)'))) / (select extract(epoch from '2026-07-17 15:38:20'::timestamp) - extract(epoch from '2026-07-17 15:38:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347804 -3.326709)', '2026-07-17 15:38:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347817 -3.32681)'), GeomFromEWKT('SRID=4674;POINT (-38.347804 -3.326709)'))) / (select extract(epoch from '2026-07-17 15:38:26'::timestamp) - extract(epoch from '2026-07-17 15:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347817 -3.32681)'), GeomFromEWKT('SRID=4674;POINT (-38.347804 -3.326709)'))) / (select extract(epoch from '2026-07-17 15:38:26'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47391, 'SRID=4674;POINT (-38.347781 -3.326619)', '2026-07-17 15:38:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347804 -3.326709)'), GeomFromEWKT('SRID=4674;POINT (-38.347781 -3.326619)'))) / (select extract(epoch from '2026-07-17 15:38:31'::timestamp) - extract(epoch from '2026-07-17 15:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347804 -3.326709)'), GeomFromEWKT('SRID=4674;POINT (-38.347781 -3.326619)'))) / (select extract(epoch from '2026-07-17 15:38:31'::timestamp) - extract(epoch from '2026-07-17 15:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347754 -3.326531)', '2026-07-17 15:38:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347781 -3.326619)'), GeomFromEWKT('SRID=4674;POINT (-38.347754 -3.326531)'))) / (select extract(epoch from '2026-07-17 15:38:36'::timestamp) - extract(epoch from '2026-07-17 15:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347781 -3.326619)'), GeomFromEWKT('SRID=4674;POINT (-38.347754 -3.326531)'))) / (select extract(epoch from '2026-07-17 15:38:36'::timestamp) - extract(epoch from '2026-07-17 15:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347749 -3.326515)', '2026-07-17 15:38:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347754 -3.326531)'), GeomFromEWKT('SRID=4674;POINT (-38.347749 -3.326515)'))) / (select extract(epoch from '2026-07-17 15:38:37'::timestamp) - extract(epoch from '2026-07-17 15:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347754 -3.326531)'), GeomFromEWKT('SRID=4674;POINT (-38.347749 -3.326515)'))) / (select extract(epoch from '2026-07-17 15:38:37'::timestamp) - extract(epoch from '2026-07-17 15:38:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347733 -3.326455)', '2026-07-17 15:38:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347749 -3.326515)'), GeomFromEWKT('SRID=4674;POINT (-38.347733 -3.326455)'))) / (select extract(epoch from '2026-07-17 15:38:41'::timestamp) - extract(epoch from '2026-07-17 15:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347749 -3.326515)'), GeomFromEWKT('SRID=4674;POINT (-38.347733 -3.326455)'))) / (select extract(epoch from '2026-07-17 15:38:41'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47391, 'SRID=4674;POINT (-38.347706 -3.326333)', '2026-07-17 15:38:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347733 -3.326455)'), GeomFromEWKT('SRID=4674;POINT (-38.347706 -3.326333)'))) / (select extract(epoch from '2026-07-17 15:38:48'::timestamp) - extract(epoch from '2026-07-17 15:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347733 -3.326455)'), GeomFromEWKT('SRID=4674;POINT (-38.347706 -3.326333)'))) / (select extract(epoch from '2026-07-17 15:38:48'::timestamp) - extract(epoch from '2026-07-17 15:38:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347699 -3.326276)', '2026-07-17 15:38:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347706 -3.326333)'), GeomFromEWKT('SRID=4674;POINT (-38.347699 -3.326276)'))) / (select extract(epoch from '2026-07-17 15:38:51'::timestamp) - extract(epoch from '2026-07-17 15:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347706 -3.326333)'), GeomFromEWKT('SRID=4674;POINT (-38.347699 -3.326276)'))) / (select extract(epoch from '2026-07-17 15:38:51'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47391, 'SRID=4674;POINT (-38.347705 -3.326247)', '2026-07-17 15:38:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347699 -3.326276)'), GeomFromEWKT('SRID=4674;POINT (-38.347705 -3.326247)'))) / (select extract(epoch from '2026-07-17 15:38:53'::timestamp) - extract(epoch from '2026-07-17 15:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347699 -3.326276)'), GeomFromEWKT('SRID=4674;POINT (-38.347705 -3.326247)'))) / (select extract(epoch from '2026-07-17 15:38:53'::timestamp) - extract(epoch from '2026-07-17 15:38:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347709 -3.326163)', '2026-07-17 15:38:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347705 -3.326247)'), GeomFromEWKT('SRID=4674;POINT (-38.347709 -3.326163)'))) / (select extract(epoch from '2026-07-17 15:38:58'::timestamp) - extract(epoch from '2026-07-17 15:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347705 -3.326247)'), GeomFromEWKT('SRID=4674;POINT (-38.347709 -3.326163)'))) / (select extract(epoch from '2026-07-17 15:38:58'::timestamp) - extract(epoch from '2026-07-17 15:38: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'), 47391, 'SRID=4674;POINT (-38.347705 -3.326075)', '2026-07-17 15:39:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347709 -3.326163)'), GeomFromEWKT('SRID=4674;POINT (-38.347705 -3.326075)'))) / (select extract(epoch from '2026-07-17 15:39:03'::timestamp) - extract(epoch from '2026-07-17 15:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347709 -3.326163)'), GeomFromEWKT('SRID=4674;POINT (-38.347705 -3.326075)'))) / (select extract(epoch from '2026-07-17 15:39:03'::timestamp) - extract(epoch from '2026-07-17 15:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347699 -3.325975)', '2026-07-17 15:39:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347705 -3.326075)'), GeomFromEWKT('SRID=4674;POINT (-38.347699 -3.325975)'))) / (select extract(epoch from '2026-07-17 15:39:08'::timestamp) - extract(epoch from '2026-07-17 15:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347705 -3.326075)'), GeomFromEWKT('SRID=4674;POINT (-38.347699 -3.325975)'))) / (select extract(epoch from '2026-07-17 15:39:08'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47391, 'SRID=4674;POINT (-38.347687 -3.325862)', '2026-07-17 15:39:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347699 -3.325975)'), GeomFromEWKT('SRID=4674;POINT (-38.347687 -3.325862)'))) / (select extract(epoch from '2026-07-17 15:39:14'::timestamp) - extract(epoch from '2026-07-17 15:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347699 -3.325975)'), GeomFromEWKT('SRID=4674;POINT (-38.347687 -3.325862)'))) / (select extract(epoch from '2026-07-17 15:39:14'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47391, 'SRID=4674;POINT (-38.347687 -3.325845)', '2026-07-17 15:39:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347687 -3.325862)'), GeomFromEWKT('SRID=4674;POINT (-38.347687 -3.325845)'))) / (select extract(epoch from '2026-07-17 15:39:15'::timestamp) - extract(epoch from '2026-07-17 15:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347687 -3.325862)'), GeomFromEWKT('SRID=4674;POINT (-38.347687 -3.325845)'))) / (select extract(epoch from '2026-07-17 15:39:15'::timestamp) - extract(epoch from '2026-07-17 15:39:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347688 -3.325781)', '2026-07-17 15:39:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347687 -3.325845)'), GeomFromEWKT('SRID=4674;POINT (-38.347688 -3.325781)'))) / (select extract(epoch from '2026-07-17 15:39:18'::timestamp) - extract(epoch from '2026-07-17 15:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347687 -3.325845)'), GeomFromEWKT('SRID=4674;POINT (-38.347688 -3.325781)'))) / (select extract(epoch from '2026-07-17 15:39:18'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47391, 'SRID=4674;POINT (-38.347677 -3.325668)', '2026-07-17 15:39:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347688 -3.325781)'), GeomFromEWKT('SRID=4674;POINT (-38.347677 -3.325668)'))) / (select extract(epoch from '2026-07-17 15:39:24'::timestamp) - extract(epoch from '2026-07-17 15:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347688 -3.325781)'), GeomFromEWKT('SRID=4674;POINT (-38.347677 -3.325668)'))) / (select extract(epoch from '2026-07-17 15:39:24'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47391, 'SRID=4674;POINT (-38.347655 -3.325561)', '2026-07-17 15:39:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347677 -3.325668)'), GeomFromEWKT('SRID=4674;POINT (-38.347655 -3.325561)'))) / (select extract(epoch from '2026-07-17 15:39:30'::timestamp) - extract(epoch from '2026-07-17 15:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347677 -3.325668)'), GeomFromEWKT('SRID=4674;POINT (-38.347655 -3.325561)'))) / (select extract(epoch from '2026-07-17 15:39:30'::timestamp) - extract(epoch from '2026-07-17 15:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347628 -3.325455)', '2026-07-17 15:39:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347655 -3.325561)'), GeomFromEWKT('SRID=4674;POINT (-38.347628 -3.325455)'))) / (select extract(epoch from '2026-07-17 15:39:36'::timestamp) - extract(epoch from '2026-07-17 15:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347655 -3.325561)'), GeomFromEWKT('SRID=4674;POINT (-38.347628 -3.325455)'))) / (select extract(epoch from '2026-07-17 15:39:36'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47391, 'SRID=4674;POINT (-38.347609 -3.325342)', '2026-07-17 15:39:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347628 -3.325455)'), GeomFromEWKT('SRID=4674;POINT (-38.347609 -3.325342)'))) / (select extract(epoch from '2026-07-17 15:39:42'::timestamp) - extract(epoch from '2026-07-17 15:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347628 -3.325455)'), GeomFromEWKT('SRID=4674;POINT (-38.347609 -3.325342)'))) / (select extract(epoch from '2026-07-17 15:39:42'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47391, 'SRID=4674;POINT (-38.347598 -3.325303)', '2026-07-17 15:39:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347609 -3.325342)'), GeomFromEWKT('SRID=4674;POINT (-38.347598 -3.325303)'))) / (select extract(epoch from '2026-07-17 15:39:46'::timestamp) - extract(epoch from '2026-07-17 15:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347609 -3.325342)'), GeomFromEWKT('SRID=4674;POINT (-38.347598 -3.325303)'))) / (select extract(epoch from '2026-07-17 15:39:46'::timestamp) - extract(epoch from '2026-07-17 15:39:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347593 -3.32522)', '2026-07-17 15:39:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347598 -3.325303)'), GeomFromEWKT('SRID=4674;POINT (-38.347593 -3.32522)'))) / (select extract(epoch from '2026-07-17 15:39:51'::timestamp) - extract(epoch from '2026-07-17 15:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347598 -3.325303)'), GeomFromEWKT('SRID=4674;POINT (-38.347593 -3.32522)'))) / (select extract(epoch from '2026-07-17 15:39:51'::timestamp) - extract(epoch from '2026-07-17 15:39: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'), 47391, 'SRID=4674;POINT (-38.347577 -3.32514)', '2026-07-17 15:39:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347593 -3.32522)'), GeomFromEWKT('SRID=4674;POINT (-38.347577 -3.32514)'))) / (select extract(epoch from '2026-07-17 15:39:56'::timestamp) - extract(epoch from '2026-07-17 15:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347593 -3.32522)'), GeomFromEWKT('SRID=4674;POINT (-38.347577 -3.32514)'))) / (select extract(epoch from '2026-07-17 15:39:56'::timestamp) - extract(epoch from '2026-07-17 15:39:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347574 -3.325059)', '2026-07-17 15:40:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347577 -3.32514)'), GeomFromEWKT('SRID=4674;POINT (-38.347574 -3.325059)'))) / (select extract(epoch from '2026-07-17 15:40:01'::timestamp) - extract(epoch from '2026-07-17 15:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347577 -3.32514)'), GeomFromEWKT('SRID=4674;POINT (-38.347574 -3.325059)'))) / (select extract(epoch from '2026-07-17 15:40:01'::timestamp) - extract(epoch from '2026-07-17 15:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347557 -3.32493)', '2026-07-17 15:40:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347574 -3.325059)'), GeomFromEWKT('SRID=4674;POINT (-38.347557 -3.32493)'))) / (select extract(epoch from '2026-07-17 15:40:08'::timestamp) - extract(epoch from '2026-07-17 15:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347574 -3.325059)'), GeomFromEWKT('SRID=4674;POINT (-38.347557 -3.32493)'))) / (select extract(epoch from '2026-07-17 15:40:08'::timestamp) - extract(epoch from '2026-07-17 15:40:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347544 -3.324803)', '2026-07-17 15:40:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347557 -3.32493)'), GeomFromEWKT('SRID=4674;POINT (-38.347544 -3.324803)'))) / (select extract(epoch from '2026-07-17 15:40:15'::timestamp) - extract(epoch from '2026-07-17 15:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347557 -3.32493)'), GeomFromEWKT('SRID=4674;POINT (-38.347544 -3.324803)'))) / (select extract(epoch from '2026-07-17 15:40:15'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47391, 'SRID=4674;POINT (-38.347522 -3.324718)', '2026-07-17 15:40:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347544 -3.324803)'), GeomFromEWKT('SRID=4674;POINT (-38.347522 -3.324718)'))) / (select extract(epoch from '2026-07-17 15:40:20'::timestamp) - extract(epoch from '2026-07-17 15:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347544 -3.324803)'), GeomFromEWKT('SRID=4674;POINT (-38.347522 -3.324718)'))) / (select extract(epoch from '2026-07-17 15:40:20'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47391, 'SRID=4674;POINT (-38.347515 -3.324689)', '2026-07-17 15:40:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347522 -3.324718)'), GeomFromEWKT('SRID=4674;POINT (-38.347515 -3.324689)'))) / (select extract(epoch from '2026-07-17 15:40:22'::timestamp) - extract(epoch from '2026-07-17 15:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347522 -3.324718)'), GeomFromEWKT('SRID=4674;POINT (-38.347515 -3.324689)'))) / (select extract(epoch from '2026-07-17 15:40:22'::timestamp) - extract(epoch from '2026-07-17 15:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347508 -3.324629)', '2026-07-17 15:40:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347515 -3.324689)'), GeomFromEWKT('SRID=4674;POINT (-38.347508 -3.324629)'))) / (select extract(epoch from '2026-07-17 15:40:25'::timestamp) - extract(epoch from '2026-07-17 15:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347515 -3.324689)'), GeomFromEWKT('SRID=4674;POINT (-38.347508 -3.324629)'))) / (select extract(epoch from '2026-07-17 15:40:25'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47391, 'SRID=4674;POINT (-38.3475 -3.324603)', '2026-07-17 15:40:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347508 -3.324629)'), GeomFromEWKT('SRID=4674;POINT (-38.3475 -3.324603)'))) / (select extract(epoch from '2026-07-17 15:40:27'::timestamp) - extract(epoch from '2026-07-17 15:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347508 -3.324629)'), GeomFromEWKT('SRID=4674;POINT (-38.3475 -3.324603)'))) / (select extract(epoch from '2026-07-17 15:40:27'::timestamp) - extract(epoch from '2026-07-17 15:40:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347486 -3.324555)', '2026-07-17 15:40:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3475 -3.324603)'), GeomFromEWKT('SRID=4674;POINT (-38.347486 -3.324555)'))) / (select extract(epoch from '2026-07-17 15:40:30'::timestamp) - extract(epoch from '2026-07-17 15:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3475 -3.324603)'), GeomFromEWKT('SRID=4674;POINT (-38.347486 -3.324555)'))) / (select extract(epoch from '2026-07-17 15:40:30'::timestamp) - extract(epoch from '2026-07-17 15:40:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347459 -3.324462)', '2026-07-17 15:40:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347486 -3.324555)'), GeomFromEWKT('SRID=4674;POINT (-38.347459 -3.324462)'))) / (select extract(epoch from '2026-07-17 15:40:36'::timestamp) - extract(epoch from '2026-07-17 15:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347486 -3.324555)'), GeomFromEWKT('SRID=4674;POINT (-38.347459 -3.324462)'))) / (select extract(epoch from '2026-07-17 15:40:36'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47391, 'SRID=4674;POINT (-38.347437 -3.324394)', '2026-07-17 15:40:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347459 -3.324462)'), GeomFromEWKT('SRID=4674;POINT (-38.347437 -3.324394)'))) / (select extract(epoch from '2026-07-17 15:40:41'::timestamp) - extract(epoch from '2026-07-17 15:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347459 -3.324462)'), GeomFromEWKT('SRID=4674;POINT (-38.347437 -3.324394)'))) / (select extract(epoch from '2026-07-17 15:40:41'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47391, 'SRID=4674;POINT (-38.347435 -3.32438)', '2026-07-17 15:40:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347437 -3.324394)'), GeomFromEWKT('SRID=4674;POINT (-38.347435 -3.32438)'))) / (select extract(epoch from '2026-07-17 15:40:42'::timestamp) - extract(epoch from '2026-07-17 15:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347437 -3.324394)'), GeomFromEWKT('SRID=4674;POINT (-38.347435 -3.32438)'))) / (select extract(epoch from '2026-07-17 15:40:42'::timestamp) - extract(epoch from '2026-07-17 15:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347427 -3.32435)', '2026-07-17 15:40:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347435 -3.32438)'), GeomFromEWKT('SRID=4674;POINT (-38.347427 -3.32435)'))) / (select extract(epoch from '2026-07-17 15:40:44'::timestamp) - extract(epoch from '2026-07-17 15:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347435 -3.32438)'), GeomFromEWKT('SRID=4674;POINT (-38.347427 -3.32435)'))) / (select extract(epoch from '2026-07-17 15:40:44'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47391, 'SRID=4674;POINT (-38.347419 -3.324315)', '2026-07-17 15:40:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347427 -3.32435)'), GeomFromEWKT('SRID=4674;POINT (-38.347419 -3.324315)'))) / (select extract(epoch from '2026-07-17 15:40:47'::timestamp) - extract(epoch from '2026-07-17 15:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347427 -3.32435)'), GeomFromEWKT('SRID=4674;POINT (-38.347419 -3.324315)'))) / (select extract(epoch from '2026-07-17 15:40:47'::timestamp) - extract(epoch from '2026-07-17 15:40: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'), 47391, 'SRID=4674;POINT (-38.347367 -3.324236)', '2026-07-17 15:40:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347419 -3.324315)'), GeomFromEWKT('SRID=4674;POINT (-38.347367 -3.324236)'))) / (select extract(epoch from '2026-07-17 15:40:53'::timestamp) - extract(epoch from '2026-07-17 15:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347419 -3.324315)'), GeomFromEWKT('SRID=4674;POINT (-38.347367 -3.324236)'))) / (select extract(epoch from '2026-07-17 15:40:53'::timestamp) - extract(epoch from '2026-07-17 15:40:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347335 -3.324137)', '2026-07-17 15:40:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347367 -3.324236)'), GeomFromEWKT('SRID=4674;POINT (-38.347335 -3.324137)'))) / (select extract(epoch from '2026-07-17 15:40:59'::timestamp) - extract(epoch from '2026-07-17 15:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347367 -3.324236)'), GeomFromEWKT('SRID=4674;POINT (-38.347335 -3.324137)'))) / (select extract(epoch from '2026-07-17 15:40:59'::timestamp) - extract(epoch from '2026-07-17 15:40:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347315 -3.324034)', '2026-07-17 15:41:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347335 -3.324137)'), GeomFromEWKT('SRID=4674;POINT (-38.347315 -3.324034)'))) / (select extract(epoch from '2026-07-17 15:41:05'::timestamp) - extract(epoch from '2026-07-17 15:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347335 -3.324137)'), GeomFromEWKT('SRID=4674;POINT (-38.347315 -3.324034)'))) / (select extract(epoch from '2026-07-17 15:41:05'::timestamp) - extract(epoch from '2026-07-17 15:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347304 -3.323947)', '2026-07-17 15:41:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347315 -3.324034)'), GeomFromEWKT('SRID=4674;POINT (-38.347304 -3.323947)'))) / (select extract(epoch from '2026-07-17 15:41:10'::timestamp) - extract(epoch from '2026-07-17 15:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347315 -3.324034)'), GeomFromEWKT('SRID=4674;POINT (-38.347304 -3.323947)'))) / (select extract(epoch from '2026-07-17 15:41:10'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47391, 'SRID=4674;POINT (-38.347297 -3.323864)', '2026-07-17 15:41:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347304 -3.323947)'), GeomFromEWKT('SRID=4674;POINT (-38.347297 -3.323864)'))) / (select extract(epoch from '2026-07-17 15:41:14'::timestamp) - extract(epoch from '2026-07-17 15:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347304 -3.323947)'), GeomFromEWKT('SRID=4674;POINT (-38.347297 -3.323864)'))) / (select extract(epoch from '2026-07-17 15:41:14'::timestamp) - extract(epoch from '2026-07-17 15:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347277 -3.323778)', '2026-07-17 15:41:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347297 -3.323864)'), GeomFromEWKT('SRID=4674;POINT (-38.347277 -3.323778)'))) / (select extract(epoch from '2026-07-17 15:41:19'::timestamp) - extract(epoch from '2026-07-17 15:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347297 -3.323864)'), GeomFromEWKT('SRID=4674;POINT (-38.347277 -3.323778)'))) / (select extract(epoch from '2026-07-17 15:41:19'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47391, 'SRID=4674;POINT (-38.347263 -3.323687)', '2026-07-17 15:41:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347277 -3.323778)'), GeomFromEWKT('SRID=4674;POINT (-38.347263 -3.323687)'))) / (select extract(epoch from '2026-07-17 15:41:24'::timestamp) - extract(epoch from '2026-07-17 15:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347277 -3.323778)'), GeomFromEWKT('SRID=4674;POINT (-38.347263 -3.323687)'))) / (select extract(epoch from '2026-07-17 15:41:24'::timestamp) - extract(epoch from '2026-07-17 15:41:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347242 -3.323549)', '2026-07-17 15:41:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347263 -3.323687)'), GeomFromEWKT('SRID=4674;POINT (-38.347242 -3.323549)'))) / (select extract(epoch from '2026-07-17 15:41:32'::timestamp) - extract(epoch from '2026-07-17 15:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347263 -3.323687)'), GeomFromEWKT('SRID=4674;POINT (-38.347242 -3.323549)'))) / (select extract(epoch from '2026-07-17 15:41:32'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47391, 'SRID=4674;POINT (-38.347236 -3.323429)', '2026-07-17 15:41:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347242 -3.323549)'), GeomFromEWKT('SRID=4674;POINT (-38.347236 -3.323429)'))) / (select extract(epoch from '2026-07-17 15:41:38'::timestamp) - extract(epoch from '2026-07-17 15:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347242 -3.323549)'), GeomFromEWKT('SRID=4674;POINT (-38.347236 -3.323429)'))) / (select extract(epoch from '2026-07-17 15:41:38'::timestamp) - extract(epoch from '2026-07-17 15:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347233 -3.323302)', '2026-07-17 15:41:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347236 -3.323429)'), GeomFromEWKT('SRID=4674;POINT (-38.347233 -3.323302)'))) / (select extract(epoch from '2026-07-17 15:41:44'::timestamp) - extract(epoch from '2026-07-17 15:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347236 -3.323429)'), GeomFromEWKT('SRID=4674;POINT (-38.347233 -3.323302)'))) / (select extract(epoch from '2026-07-17 15:41:44'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47391, 'SRID=4674;POINT (-38.347219 -3.323178)', '2026-07-17 15:41:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347233 -3.323302)'), GeomFromEWKT('SRID=4674;POINT (-38.347219 -3.323178)'))) / (select extract(epoch from '2026-07-17 15:41:50'::timestamp) - extract(epoch from '2026-07-17 15:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347233 -3.323302)'), GeomFromEWKT('SRID=4674;POINT (-38.347219 -3.323178)'))) / (select extract(epoch from '2026-07-17 15:41:50'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47391, 'SRID=4674;POINT (-38.347208 -3.323078)', '2026-07-17 15:41:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347219 -3.323178)'), GeomFromEWKT('SRID=4674;POINT (-38.347208 -3.323078)'))) / (select extract(epoch from '2026-07-17 15:41:55'::timestamp) - extract(epoch from '2026-07-17 15:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347219 -3.323178)'), GeomFromEWKT('SRID=4674;POINT (-38.347208 -3.323078)'))) / (select extract(epoch from '2026-07-17 15:41:55'::timestamp) - extract(epoch from '2026-07-17 15:41: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'), 47391, 'SRID=4674;POINT (-38.347189 -3.322968)', '2026-07-17 15:42:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347208 -3.323078)'), GeomFromEWKT('SRID=4674;POINT (-38.347189 -3.322968)'))) / (select extract(epoch from '2026-07-17 15:42:01'::timestamp) - extract(epoch from '2026-07-17 15:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347208 -3.323078)'), GeomFromEWKT('SRID=4674;POINT (-38.347189 -3.322968)'))) / (select extract(epoch from '2026-07-17 15:42:01'::timestamp) - extract(epoch from '2026-07-17 15:41:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347176 -3.322885)', '2026-07-17 15:42:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347189 -3.322968)'), GeomFromEWKT('SRID=4674;POINT (-38.347176 -3.322885)'))) / (select extract(epoch from '2026-07-17 15:42:06'::timestamp) - extract(epoch from '2026-07-17 15:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347189 -3.322968)'), GeomFromEWKT('SRID=4674;POINT (-38.347176 -3.322885)'))) / (select extract(epoch from '2026-07-17 15:42:06'::timestamp) - extract(epoch from '2026-07-17 15:42:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34716 -3.322733)', '2026-07-17 15:42:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347176 -3.322885)'), GeomFromEWKT('SRID=4674;POINT (-38.34716 -3.322733)'))) / (select extract(epoch from '2026-07-17 15:42:14'::timestamp) - extract(epoch from '2026-07-17 15:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347176 -3.322885)'), GeomFromEWKT('SRID=4674;POINT (-38.34716 -3.322733)'))) / (select extract(epoch from '2026-07-17 15:42:14'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47391, 'SRID=4674;POINT (-38.347162 -3.322609)', '2026-07-17 15:42:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34716 -3.322733)'), GeomFromEWKT('SRID=4674;POINT (-38.347162 -3.322609)'))) / (select extract(epoch from '2026-07-17 15:42:20'::timestamp) - extract(epoch from '2026-07-17 15:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34716 -3.322733)'), GeomFromEWKT('SRID=4674;POINT (-38.347162 -3.322609)'))) / (select extract(epoch from '2026-07-17 15:42:20'::timestamp) - extract(epoch from '2026-07-17 15:42:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347152 -3.322485)', '2026-07-17 15:42:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347162 -3.322609)'), GeomFromEWKT('SRID=4674;POINT (-38.347152 -3.322485)'))) / (select extract(epoch from '2026-07-17 15:42:26'::timestamp) - extract(epoch from '2026-07-17 15:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347162 -3.322609)'), GeomFromEWKT('SRID=4674;POINT (-38.347152 -3.322485)'))) / (select extract(epoch from '2026-07-17 15:42:26'::timestamp) - extract(epoch from '2026-07-17 15:42:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347138 -3.322429)', '2026-07-17 15:42:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347152 -3.322485)'), GeomFromEWKT('SRID=4674;POINT (-38.347138 -3.322429)'))) / (select extract(epoch from '2026-07-17 15:42:29'::timestamp) - extract(epoch from '2026-07-17 15:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347152 -3.322485)'), GeomFromEWKT('SRID=4674;POINT (-38.347138 -3.322429)'))) / (select extract(epoch from '2026-07-17 15:42:29'::timestamp) - extract(epoch from '2026-07-17 15:42:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347145 -3.322392)', '2026-07-17 15:42:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347138 -3.322429)'), GeomFromEWKT('SRID=4674;POINT (-38.347145 -3.322392)'))) / (select extract(epoch from '2026-07-17 15:42:31'::timestamp) - extract(epoch from '2026-07-17 15:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347138 -3.322429)'), GeomFromEWKT('SRID=4674;POINT (-38.347145 -3.322392)'))) / (select extract(epoch from '2026-07-17 15:42:31'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47391, 'SRID=4674;POINT (-38.347144 -3.322374)', '2026-07-17 15:42:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347145 -3.322392)'), GeomFromEWKT('SRID=4674;POINT (-38.347144 -3.322374)'))) / (select extract(epoch from '2026-07-17 15:42:32'::timestamp) - extract(epoch from '2026-07-17 15:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347145 -3.322392)'), GeomFromEWKT('SRID=4674;POINT (-38.347144 -3.322374)'))) / (select extract(epoch from '2026-07-17 15:42:32'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47391, 'SRID=4674;POINT (-38.347135 -3.322331)', '2026-07-17 15:42:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347144 -3.322374)'), GeomFromEWKT('SRID=4674;POINT (-38.347135 -3.322331)'))) / (select extract(epoch from '2026-07-17 15:42:35'::timestamp) - extract(epoch from '2026-07-17 15:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347144 -3.322374)'), GeomFromEWKT('SRID=4674;POINT (-38.347135 -3.322331)'))) / (select extract(epoch from '2026-07-17 15:42:35'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47391, 'SRID=4674;POINT (-38.347132 -3.322229)', '2026-07-17 15:42:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347135 -3.322331)'), GeomFromEWKT('SRID=4674;POINT (-38.347132 -3.322229)'))) / (select extract(epoch from '2026-07-17 15:42:40'::timestamp) - extract(epoch from '2026-07-17 15:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347135 -3.322331)'), GeomFromEWKT('SRID=4674;POINT (-38.347132 -3.322229)'))) / (select extract(epoch from '2026-07-17 15:42:40'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47391, 'SRID=4674;POINT (-38.347134 -3.322177)', '2026-07-17 15:42:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347132 -3.322229)'), GeomFromEWKT('SRID=4674;POINT (-38.347134 -3.322177)'))) / (select extract(epoch from '2026-07-17 15:42:42'::timestamp) - extract(epoch from '2026-07-17 15:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347132 -3.322229)'), GeomFromEWKT('SRID=4674;POINT (-38.347134 -3.322177)'))) / (select extract(epoch from '2026-07-17 15:42:42'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47391, 'SRID=4674;POINT (-38.347142 -3.322113)', '2026-07-17 15:42:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347134 -3.322177)'), GeomFromEWKT('SRID=4674;POINT (-38.347142 -3.322113)'))) / (select extract(epoch from '2026-07-17 15:42:45'::timestamp) - extract(epoch from '2026-07-17 15:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347134 -3.322177)'), GeomFromEWKT('SRID=4674;POINT (-38.347142 -3.322113)'))) / (select extract(epoch from '2026-07-17 15:42:45'::timestamp) - extract(epoch from '2026-07-17 15:42:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347143 -3.321998)', '2026-07-17 15:42:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347142 -3.322113)'), GeomFromEWKT('SRID=4674;POINT (-38.347143 -3.321998)'))) / (select extract(epoch from '2026-07-17 15:42:51'::timestamp) - extract(epoch from '2026-07-17 15:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347142 -3.322113)'), GeomFromEWKT('SRID=4674;POINT (-38.347143 -3.321998)'))) / (select extract(epoch from '2026-07-17 15:42:51'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47391, 'SRID=4674;POINT (-38.347142 -3.321899)', '2026-07-17 15:42:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347143 -3.321998)'), GeomFromEWKT('SRID=4674;POINT (-38.347142 -3.321899)'))) / (select extract(epoch from '2026-07-17 15:42:56'::timestamp) - extract(epoch from '2026-07-17 15:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347143 -3.321998)'), GeomFromEWKT('SRID=4674;POINT (-38.347142 -3.321899)'))) / (select extract(epoch from '2026-07-17 15:42:56'::timestamp) - extract(epoch from '2026-07-17 15:42: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'), 47391, 'SRID=4674;POINT (-38.347137 -3.321754)', '2026-07-17 15:43:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347142 -3.321899)'), GeomFromEWKT('SRID=4674;POINT (-38.347137 -3.321754)'))) / (select extract(epoch from '2026-07-17 15:43:03'::timestamp) - extract(epoch from '2026-07-17 15:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347142 -3.321899)'), GeomFromEWKT('SRID=4674;POINT (-38.347137 -3.321754)'))) / (select extract(epoch from '2026-07-17 15:43:03'::timestamp) - extract(epoch from '2026-07-17 15:42:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347137 -3.321642)', '2026-07-17 15:43:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347137 -3.321754)'), GeomFromEWKT('SRID=4674;POINT (-38.347137 -3.321642)'))) / (select extract(epoch from '2026-07-17 15:43:08'::timestamp) - extract(epoch from '2026-07-17 15:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347137 -3.321754)'), GeomFromEWKT('SRID=4674;POINT (-38.347137 -3.321642)'))) / (select extract(epoch from '2026-07-17 15:43:08'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47391, 'SRID=4674;POINT (-38.347136 -3.321622)', '2026-07-17 15:43:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347137 -3.321642)'), GeomFromEWKT('SRID=4674;POINT (-38.347136 -3.321622)'))) / (select extract(epoch from '2026-07-17 15:43:09'::timestamp) - extract(epoch from '2026-07-17 15:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347137 -3.321642)'), GeomFromEWKT('SRID=4674;POINT (-38.347136 -3.321622)'))) / (select extract(epoch from '2026-07-17 15:43:09'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47391, 'SRID=4674;POINT (-38.347134 -3.321584)', '2026-07-17 15:43:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347136 -3.321622)'), GeomFromEWKT('SRID=4674;POINT (-38.347134 -3.321584)'))) / (select extract(epoch from '2026-07-17 15:43:11'::timestamp) - extract(epoch from '2026-07-17 15:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347136 -3.321622)'), GeomFromEWKT('SRID=4674;POINT (-38.347134 -3.321584)'))) / (select extract(epoch from '2026-07-17 15:43:11'::timestamp) - extract(epoch from '2026-07-17 15:43:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347139 -3.321564)', '2026-07-17 15:43:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347134 -3.321584)'), GeomFromEWKT('SRID=4674;POINT (-38.347139 -3.321564)'))) / (select extract(epoch from '2026-07-17 15:43:12'::timestamp) - extract(epoch from '2026-07-17 15:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347134 -3.321584)'), GeomFromEWKT('SRID=4674;POINT (-38.347139 -3.321564)'))) / (select extract(epoch from '2026-07-17 15:43:12'::timestamp) - extract(epoch from '2026-07-17 15:43:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347141 -3.32153)', '2026-07-17 15:43:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347139 -3.321564)'), GeomFromEWKT('SRID=4674;POINT (-38.347141 -3.32153)'))) / (select extract(epoch from '2026-07-17 15:43:13'::timestamp) - extract(epoch from '2026-07-17 15:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347139 -3.321564)'), GeomFromEWKT('SRID=4674;POINT (-38.347141 -3.32153)'))) / (select extract(epoch from '2026-07-17 15:43:13'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47391, 'SRID=4674;POINT (-38.347137 -3.321465)', '2026-07-17 15:43:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347141 -3.32153)'), GeomFromEWKT('SRID=4674;POINT (-38.347137 -3.321465)'))) / (select extract(epoch from '2026-07-17 15:43:16'::timestamp) - extract(epoch from '2026-07-17 15:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347141 -3.32153)'), GeomFromEWKT('SRID=4674;POINT (-38.347137 -3.321465)'))) / (select extract(epoch from '2026-07-17 15:43:16'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47391, 'SRID=4674;POINT (-38.347142 -3.321369)', '2026-07-17 15:43:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347137 -3.321465)'), GeomFromEWKT('SRID=4674;POINT (-38.347142 -3.321369)'))) / (select extract(epoch from '2026-07-17 15:43:22'::timestamp) - extract(epoch from '2026-07-17 15:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347137 -3.321465)'), GeomFromEWKT('SRID=4674;POINT (-38.347142 -3.321369)'))) / (select extract(epoch from '2026-07-17 15:43:22'::timestamp) - extract(epoch from '2026-07-17 15:43:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347152 -3.32126)', '2026-07-17 15:43:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347142 -3.321369)'), GeomFromEWKT('SRID=4674;POINT (-38.347152 -3.32126)'))) / (select extract(epoch from '2026-07-17 15:43:27'::timestamp) - extract(epoch from '2026-07-17 15:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347142 -3.321369)'), GeomFromEWKT('SRID=4674;POINT (-38.347152 -3.32126)'))) / (select extract(epoch from '2026-07-17 15:43:27'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47391, 'SRID=4674;POINT (-38.347152 -3.321128)', '2026-07-17 15:43:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347152 -3.32126)'), GeomFromEWKT('SRID=4674;POINT (-38.347152 -3.321128)'))) / (select extract(epoch from '2026-07-17 15:43:33'::timestamp) - extract(epoch from '2026-07-17 15:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347152 -3.32126)'), GeomFromEWKT('SRID=4674;POINT (-38.347152 -3.321128)'))) / (select extract(epoch from '2026-07-17 15:43:33'::timestamp) - extract(epoch from '2026-07-17 15:43:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34715 -3.320983)', '2026-07-17 15:43:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347152 -3.321128)'), GeomFromEWKT('SRID=4674;POINT (-38.34715 -3.320983)'))) / (select extract(epoch from '2026-07-17 15:43:40'::timestamp) - extract(epoch from '2026-07-17 15:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347152 -3.321128)'), GeomFromEWKT('SRID=4674;POINT (-38.34715 -3.320983)'))) / (select extract(epoch from '2026-07-17 15:43:40'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47391, 'SRID=4674;POINT (-38.347137 -3.320871)', '2026-07-17 15:43:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34715 -3.320983)'), GeomFromEWKT('SRID=4674;POINT (-38.347137 -3.320871)'))) / (select extract(epoch from '2026-07-17 15:43:45'::timestamp) - extract(epoch from '2026-07-17 15:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34715 -3.320983)'), GeomFromEWKT('SRID=4674;POINT (-38.347137 -3.320871)'))) / (select extract(epoch from '2026-07-17 15:43:45'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47391, 'SRID=4674;POINT (-38.347119 -3.320715)', '2026-07-17 15:43:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347137 -3.320871)'), GeomFromEWKT('SRID=4674;POINT (-38.347119 -3.320715)'))) / (select extract(epoch from '2026-07-17 15:43:53'::timestamp) - extract(epoch from '2026-07-17 15:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347137 -3.320871)'), GeomFromEWKT('SRID=4674;POINT (-38.347119 -3.320715)'))) / (select extract(epoch from '2026-07-17 15:43:53'::timestamp) - extract(epoch from '2026-07-17 15:43: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'), 47391, 'SRID=4674;POINT (-38.347109 -3.320609)', '2026-07-17 15:43:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347119 -3.320715)'), GeomFromEWKT('SRID=4674;POINT (-38.347109 -3.320609)'))) / (select extract(epoch from '2026-07-17 15:43:58'::timestamp) - extract(epoch from '2026-07-17 15:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347119 -3.320715)'), GeomFromEWKT('SRID=4674;POINT (-38.347109 -3.320609)'))) / (select extract(epoch from '2026-07-17 15:43:58'::timestamp) - extract(epoch from '2026-07-17 15:43:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.3471 -3.320517)', '2026-07-17 15:44:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347109 -3.320609)'), GeomFromEWKT('SRID=4674;POINT (-38.3471 -3.320517)'))) / (select extract(epoch from '2026-07-17 15:44:03'::timestamp) - extract(epoch from '2026-07-17 15:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347109 -3.320609)'), GeomFromEWKT('SRID=4674;POINT (-38.3471 -3.320517)'))) / (select extract(epoch from '2026-07-17 15:44:03'::timestamp) - extract(epoch from '2026-07-17 15:43:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347109 -3.320439)', '2026-07-17 15:44:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3471 -3.320517)'), GeomFromEWKT('SRID=4674;POINT (-38.347109 -3.320439)'))) / (select extract(epoch from '2026-07-17 15:44:07'::timestamp) - extract(epoch from '2026-07-17 15:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3471 -3.320517)'), GeomFromEWKT('SRID=4674;POINT (-38.347109 -3.320439)'))) / (select extract(epoch from '2026-07-17 15:44:07'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47391, 'SRID=4674;POINT (-38.347105 -3.320326)', '2026-07-17 15:44:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347109 -3.320439)'), GeomFromEWKT('SRID=4674;POINT (-38.347105 -3.320326)'))) / (select extract(epoch from '2026-07-17 15:44:13'::timestamp) - extract(epoch from '2026-07-17 15:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347109 -3.320439)'), GeomFromEWKT('SRID=4674;POINT (-38.347105 -3.320326)'))) / (select extract(epoch from '2026-07-17 15:44:13'::timestamp) - extract(epoch from '2026-07-17 15:44:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347092 -3.320219)', '2026-07-17 15:44:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347105 -3.320326)'), GeomFromEWKT('SRID=4674;POINT (-38.347092 -3.320219)'))) / (select extract(epoch from '2026-07-17 15:44:18'::timestamp) - extract(epoch from '2026-07-17 15:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347105 -3.320326)'), GeomFromEWKT('SRID=4674;POINT (-38.347092 -3.320219)'))) / (select extract(epoch from '2026-07-17 15:44:18'::timestamp) - extract(epoch from '2026-07-17 15:44:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34707 -3.3201)', '2026-07-17 15:44:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347092 -3.320219)'), GeomFromEWKT('SRID=4674;POINT (-38.34707 -3.3201)'))) / (select extract(epoch from '2026-07-17 15:44:24'::timestamp) - extract(epoch from '2026-07-17 15:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347092 -3.320219)'), GeomFromEWKT('SRID=4674;POINT (-38.34707 -3.3201)'))) / (select extract(epoch from '2026-07-17 15:44:24'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47391, 'SRID=4674;POINT (-38.347047 -3.31999)', '2026-07-17 15:44:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34707 -3.3201)'), GeomFromEWKT('SRID=4674;POINT (-38.347047 -3.31999)'))) / (select extract(epoch from '2026-07-17 15:44:30'::timestamp) - extract(epoch from '2026-07-17 15:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34707 -3.3201)'), GeomFromEWKT('SRID=4674;POINT (-38.347047 -3.31999)'))) / (select extract(epoch from '2026-07-17 15:44:30'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47391, 'SRID=4674;POINT (-38.347037 -3.319932)', '2026-07-17 15:44:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347047 -3.31999)'), GeomFromEWKT('SRID=4674;POINT (-38.347037 -3.319932)'))) / (select extract(epoch from '2026-07-17 15:44:33'::timestamp) - extract(epoch from '2026-07-17 15:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347047 -3.31999)'), GeomFromEWKT('SRID=4674;POINT (-38.347037 -3.319932)'))) / (select extract(epoch from '2026-07-17 15:44:33'::timestamp) - extract(epoch from '2026-07-17 15:44: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'), 47391, 'SRID=4674;POINT (-38.347021 -3.319872)', '2026-07-17 15:44:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347037 -3.319932)'), GeomFromEWKT('SRID=4674;POINT (-38.347021 -3.319872)'))) / (select extract(epoch from '2026-07-17 15:44:36'::timestamp) - extract(epoch from '2026-07-17 15:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347037 -3.319932)'), GeomFromEWKT('SRID=4674;POINT (-38.347021 -3.319872)'))) / (select extract(epoch from '2026-07-17 15:44:36'::timestamp) - extract(epoch from '2026-07-17 15:44:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346998 -3.319778)', '2026-07-17 15:44:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347021 -3.319872)'), GeomFromEWKT('SRID=4674;POINT (-38.346998 -3.319778)'))) / (select extract(epoch from '2026-07-17 15:44:41'::timestamp) - extract(epoch from '2026-07-17 15:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347021 -3.319872)'), GeomFromEWKT('SRID=4674;POINT (-38.346998 -3.319778)'))) / (select extract(epoch from '2026-07-17 15:44:41'::timestamp) - extract(epoch from '2026-07-17 15:44:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346981 -3.319726)', '2026-07-17 15:44:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346998 -3.319778)'), GeomFromEWKT('SRID=4674;POINT (-38.346981 -3.319726)'))) / (select extract(epoch from '2026-07-17 15:44:44'::timestamp) - extract(epoch from '2026-07-17 15:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346998 -3.319778)'), GeomFromEWKT('SRID=4674;POINT (-38.346981 -3.319726)'))) / (select extract(epoch from '2026-07-17 15:44:44'::timestamp) - extract(epoch from '2026-07-17 15:44:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34698 -3.319698)', '2026-07-17 15:44:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346981 -3.319726)'), GeomFromEWKT('SRID=4674;POINT (-38.34698 -3.319698)'))) / (select extract(epoch from '2026-07-17 15:44:45'::timestamp) - extract(epoch from '2026-07-17 15:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346981 -3.319726)'), GeomFromEWKT('SRID=4674;POINT (-38.34698 -3.319698)'))) / (select extract(epoch from '2026-07-17 15:44:45'::timestamp) - extract(epoch from '2026-07-17 15:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
