BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.713294 -2.882113)', '2026-06-18 08:50:33', 9.4, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.713184 -2.881995)', '2026-06-18 08:50:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713294 -2.882113)'), GeomFromEWKT('SRID=4674;POINT (-39.713184 -2.881995)'))) / (select extract(epoch from '2026-06-18 08:50:41'::timestamp) - extract(epoch from '2026-06-18 08:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713294 -2.882113)'), GeomFromEWKT('SRID=4674;POINT (-39.713184 -2.881995)'))) / (select extract(epoch from '2026-06-18 08:50:41'::timestamp) - extract(epoch from '2026-06-18 08:50:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.713104 -2.881914)', '2026-06-18 08:50:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713184 -2.881995)'), GeomFromEWKT('SRID=4674;POINT (-39.713104 -2.881914)'))) / (select extract(epoch from '2026-06-18 08:50:47'::timestamp) - extract(epoch from '2026-06-18 08:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713184 -2.881995)'), GeomFromEWKT('SRID=4674;POINT (-39.713104 -2.881914)'))) / (select extract(epoch from '2026-06-18 08:50:47'::timestamp) - extract(epoch from '2026-06-18 08:50: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'), 46821, 'SRID=4674;POINT (-39.713017 -2.881815)', '2026-06-18 08:50:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713104 -2.881914)'), GeomFromEWKT('SRID=4674;POINT (-39.713017 -2.881815)'))) / (select extract(epoch from '2026-06-18 08:50:54'::timestamp) - extract(epoch from '2026-06-18 08:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713104 -2.881914)'), GeomFromEWKT('SRID=4674;POINT (-39.713017 -2.881815)'))) / (select extract(epoch from '2026-06-18 08:50:54'::timestamp) - extract(epoch from '2026-06-18 08:50: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'), 46821, 'SRID=4674;POINT (-39.712928 -2.881725)', '2026-06-18 08:51:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713017 -2.881815)'), GeomFromEWKT('SRID=4674;POINT (-39.712928 -2.881725)'))) / (select extract(epoch from '2026-06-18 08:51:01'::timestamp) - extract(epoch from '2026-06-18 08:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.713017 -2.881815)'), GeomFromEWKT('SRID=4674;POINT (-39.712928 -2.881725)'))) / (select extract(epoch from '2026-06-18 08:51:01'::timestamp) - extract(epoch from '2026-06-18 08:50:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.712836 -2.881626)', '2026-06-18 08:51:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712928 -2.881725)'), GeomFromEWKT('SRID=4674;POINT (-39.712836 -2.881626)'))) / (select extract(epoch from '2026-06-18 08:51:08'::timestamp) - extract(epoch from '2026-06-18 08:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712928 -2.881725)'), GeomFromEWKT('SRID=4674;POINT (-39.712836 -2.881626)'))) / (select extract(epoch from '2026-06-18 08:51:08'::timestamp) - extract(epoch from '2026-06-18 08:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.712756 -2.881545)', '2026-06-18 08:51:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712836 -2.881626)'), GeomFromEWKT('SRID=4674;POINT (-39.712756 -2.881545)'))) / (select extract(epoch from '2026-06-18 08:51:14'::timestamp) - extract(epoch from '2026-06-18 08:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712836 -2.881626)'), GeomFromEWKT('SRID=4674;POINT (-39.712756 -2.881545)'))) / (select extract(epoch from '2026-06-18 08:51:14'::timestamp) - extract(epoch from '2026-06-18 08:51: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'), 46821, 'SRID=4674;POINT (-39.712645 -2.881442)', '2026-06-18 08:51:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712756 -2.881545)'), GeomFromEWKT('SRID=4674;POINT (-39.712645 -2.881442)'))) / (select extract(epoch from '2026-06-18 08:51:22'::timestamp) - extract(epoch from '2026-06-18 08:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712756 -2.881545)'), GeomFromEWKT('SRID=4674;POINT (-39.712645 -2.881442)'))) / (select extract(epoch from '2026-06-18 08:51:22'::timestamp) - extract(epoch from '2026-06-18 08:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.712548 -2.881342)', '2026-06-18 08:51:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712645 -2.881442)'), GeomFromEWKT('SRID=4674;POINT (-39.712548 -2.881342)'))) / (select extract(epoch from '2026-06-18 08:51:29'::timestamp) - extract(epoch from '2026-06-18 08:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712645 -2.881442)'), GeomFromEWKT('SRID=4674;POINT (-39.712548 -2.881342)'))) / (select extract(epoch from '2026-06-18 08:51:29'::timestamp) - extract(epoch from '2026-06-18 08:51:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.712483 -2.881265)', '2026-06-18 08:51:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712548 -2.881342)'), GeomFromEWKT('SRID=4674;POINT (-39.712483 -2.881265)'))) / (select extract(epoch from '2026-06-18 08:51:34'::timestamp) - extract(epoch from '2026-06-18 08:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712548 -2.881342)'), GeomFromEWKT('SRID=4674;POINT (-39.712483 -2.881265)'))) / (select extract(epoch from '2026-06-18 08:51:34'::timestamp) - extract(epoch from '2026-06-18 08:51:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.712384 -2.881159)', '2026-06-18 08:51:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712483 -2.881265)'), GeomFromEWKT('SRID=4674;POINT (-39.712384 -2.881159)'))) / (select extract(epoch from '2026-06-18 08:51:41'::timestamp) - extract(epoch from '2026-06-18 08:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712483 -2.881265)'), GeomFromEWKT('SRID=4674;POINT (-39.712384 -2.881159)'))) / (select extract(epoch from '2026-06-18 08:51:41'::timestamp) - extract(epoch from '2026-06-18 08:51:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.712297 -2.881073)', '2026-06-18 08:51:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712384 -2.881159)'), GeomFromEWKT('SRID=4674;POINT (-39.712297 -2.881073)'))) / (select extract(epoch from '2026-06-18 08:51:47'::timestamp) - extract(epoch from '2026-06-18 08:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712384 -2.881159)'), GeomFromEWKT('SRID=4674;POINT (-39.712297 -2.881073)'))) / (select extract(epoch from '2026-06-18 08:51:47'::timestamp) - extract(epoch from '2026-06-18 08:51:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.712206 -2.88097)', '2026-06-18 08:51:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712297 -2.881073)'), GeomFromEWKT('SRID=4674;POINT (-39.712206 -2.88097)'))) / (select extract(epoch from '2026-06-18 08:51:54'::timestamp) - extract(epoch from '2026-06-18 08:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712297 -2.881073)'), GeomFromEWKT('SRID=4674;POINT (-39.712206 -2.88097)'))) / (select extract(epoch from '2026-06-18 08:51:54'::timestamp) - extract(epoch from '2026-06-18 08:51: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'), 46821, 'SRID=4674;POINT (-39.712103 -2.880849)', '2026-06-18 08:52:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712206 -2.88097)'), GeomFromEWKT('SRID=4674;POINT (-39.712103 -2.880849)'))) / (select extract(epoch from '2026-06-18 08:52:02'::timestamp) - extract(epoch from '2026-06-18 08:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712206 -2.88097)'), GeomFromEWKT('SRID=4674;POINT (-39.712103 -2.880849)'))) / (select extract(epoch from '2026-06-18 08:52:02'::timestamp) - extract(epoch from '2026-06-18 08:51: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'), 46821, 'SRID=4674;POINT (-39.71199 -2.880724)', '2026-06-18 08:52:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712103 -2.880849)'), GeomFromEWKT('SRID=4674;POINT (-39.71199 -2.880724)'))) / (select extract(epoch from '2026-06-18 08:52:10'::timestamp) - extract(epoch from '2026-06-18 08:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.712103 -2.880849)'), GeomFromEWKT('SRID=4674;POINT (-39.71199 -2.880724)'))) / (select extract(epoch from '2026-06-18 08:52:10'::timestamp) - extract(epoch from '2026-06-18 08:52: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'), 46821, 'SRID=4674;POINT (-39.711887 -2.880614)', '2026-06-18 08:52:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71199 -2.880724)'), GeomFromEWKT('SRID=4674;POINT (-39.711887 -2.880614)'))) / (select extract(epoch from '2026-06-18 08:52:17'::timestamp) - extract(epoch from '2026-06-18 08:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71199 -2.880724)'), GeomFromEWKT('SRID=4674;POINT (-39.711887 -2.880614)'))) / (select extract(epoch from '2026-06-18 08:52:17'::timestamp) - extract(epoch from '2026-06-18 08:52: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'), 46821, 'SRID=4674;POINT (-39.711786 -2.880507)', '2026-06-18 08:52:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711887 -2.880614)'), GeomFromEWKT('SRID=4674;POINT (-39.711786 -2.880507)'))) / (select extract(epoch from '2026-06-18 08:52:24'::timestamp) - extract(epoch from '2026-06-18 08:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711887 -2.880614)'), GeomFromEWKT('SRID=4674;POINT (-39.711786 -2.880507)'))) / (select extract(epoch from '2026-06-18 08:52:24'::timestamp) - extract(epoch from '2026-06-18 08:52:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.71169 -2.880409)', '2026-06-18 08:52:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711786 -2.880507)'), GeomFromEWKT('SRID=4674;POINT (-39.71169 -2.880409)'))) / (select extract(epoch from '2026-06-18 08:52:31'::timestamp) - extract(epoch from '2026-06-18 08:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711786 -2.880507)'), GeomFromEWKT('SRID=4674;POINT (-39.71169 -2.880409)'))) / (select extract(epoch from '2026-06-18 08:52:31'::timestamp) - extract(epoch from '2026-06-18 08:52: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'), 46821, 'SRID=4674;POINT (-39.711592 -2.880303)', '2026-06-18 08:52:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71169 -2.880409)'), GeomFromEWKT('SRID=4674;POINT (-39.711592 -2.880303)'))) / (select extract(epoch from '2026-06-18 08:52:38'::timestamp) - extract(epoch from '2026-06-18 08:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71169 -2.880409)'), GeomFromEWKT('SRID=4674;POINT (-39.711592 -2.880303)'))) / (select extract(epoch from '2026-06-18 08:52:38'::timestamp) - extract(epoch from '2026-06-18 08:52:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.711507 -2.880213)', '2026-06-18 08:52:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711592 -2.880303)'), GeomFromEWKT('SRID=4674;POINT (-39.711507 -2.880213)'))) / (select extract(epoch from '2026-06-18 08:52:44'::timestamp) - extract(epoch from '2026-06-18 08:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711592 -2.880303)'), GeomFromEWKT('SRID=4674;POINT (-39.711507 -2.880213)'))) / (select extract(epoch from '2026-06-18 08:52:44'::timestamp) - extract(epoch from '2026-06-18 08:52: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'), 46821, 'SRID=4674;POINT (-39.711423 -2.880124)', '2026-06-18 08:52:50', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711507 -2.880213)'), GeomFromEWKT('SRID=4674;POINT (-39.711423 -2.880124)'))) / (select extract(epoch from '2026-06-18 08:52:50'::timestamp) - extract(epoch from '2026-06-18 08:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711507 -2.880213)'), GeomFromEWKT('SRID=4674;POINT (-39.711423 -2.880124)'))) / (select extract(epoch from '2026-06-18 08:52:50'::timestamp) - extract(epoch from '2026-06-18 08:52: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'), 46821, 'SRID=4674;POINT (-39.711324 -2.880021)', '2026-06-18 08:52:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711423 -2.880124)'), GeomFromEWKT('SRID=4674;POINT (-39.711324 -2.880021)'))) / (select extract(epoch from '2026-06-18 08:52:57'::timestamp) - extract(epoch from '2026-06-18 08:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711423 -2.880124)'), GeomFromEWKT('SRID=4674;POINT (-39.711324 -2.880021)'))) / (select extract(epoch from '2026-06-18 08:52:57'::timestamp) - extract(epoch from '2026-06-18 08:52:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.711221 -2.879923)', '2026-06-18 08:53:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711324 -2.880021)'), GeomFromEWKT('SRID=4674;POINT (-39.711221 -2.879923)'))) / (select extract(epoch from '2026-06-18 08:53:04'::timestamp) - extract(epoch from '2026-06-18 08:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711324 -2.880021)'), GeomFromEWKT('SRID=4674;POINT (-39.711221 -2.879923)'))) / (select extract(epoch from '2026-06-18 08:53:04'::timestamp) - extract(epoch from '2026-06-18 08:52: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'), 46821, 'SRID=4674;POINT (-39.711105 -2.879807)', '2026-06-18 08:53:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711221 -2.879923)'), GeomFromEWKT('SRID=4674;POINT (-39.711105 -2.879807)'))) / (select extract(epoch from '2026-06-18 08:53:12'::timestamp) - extract(epoch from '2026-06-18 08:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711221 -2.879923)'), GeomFromEWKT('SRID=4674;POINT (-39.711105 -2.879807)'))) / (select extract(epoch from '2026-06-18 08:53:12'::timestamp) - extract(epoch from '2026-06-18 08:53: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'), 46821, 'SRID=4674;POINT (-39.711004 -2.879696)', '2026-06-18 08:53:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711105 -2.879807)'), GeomFromEWKT('SRID=4674;POINT (-39.711004 -2.879696)'))) / (select extract(epoch from '2026-06-18 08:53:19'::timestamp) - extract(epoch from '2026-06-18 08:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711105 -2.879807)'), GeomFromEWKT('SRID=4674;POINT (-39.711004 -2.879696)'))) / (select extract(epoch from '2026-06-18 08:53:19'::timestamp) - extract(epoch from '2026-06-18 08:53: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'), 46821, 'SRID=4674;POINT (-39.710885 -2.879571)', '2026-06-18 08:53:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711004 -2.879696)'), GeomFromEWKT('SRID=4674;POINT (-39.710885 -2.879571)'))) / (select extract(epoch from '2026-06-18 08:53:27'::timestamp) - extract(epoch from '2026-06-18 08:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.711004 -2.879696)'), GeomFromEWKT('SRID=4674;POINT (-39.710885 -2.879571)'))) / (select extract(epoch from '2026-06-18 08:53:27'::timestamp) - extract(epoch from '2026-06-18 08:53: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'), 46821, 'SRID=4674;POINT (-39.710799 -2.879481)', '2026-06-18 08:53:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710885 -2.879571)'), GeomFromEWKT('SRID=4674;POINT (-39.710799 -2.879481)'))) / (select extract(epoch from '2026-06-18 08:53:33'::timestamp) - extract(epoch from '2026-06-18 08:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710885 -2.879571)'), GeomFromEWKT('SRID=4674;POINT (-39.710799 -2.879481)'))) / (select extract(epoch from '2026-06-18 08:53:33'::timestamp) - extract(epoch from '2026-06-18 08:53: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'), 46821, 'SRID=4674;POINT (-39.710717 -2.879388)', '2026-06-18 08:53:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710799 -2.879481)'), GeomFromEWKT('SRID=4674;POINT (-39.710717 -2.879388)'))) / (select extract(epoch from '2026-06-18 08:53:39'::timestamp) - extract(epoch from '2026-06-18 08:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710799 -2.879481)'), GeomFromEWKT('SRID=4674;POINT (-39.710717 -2.879388)'))) / (select extract(epoch from '2026-06-18 08:53:39'::timestamp) - extract(epoch from '2026-06-18 08:53: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'), 46821, 'SRID=4674;POINT (-39.710638 -2.879296)', '2026-06-18 08:53:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710717 -2.879388)'), GeomFromEWKT('SRID=4674;POINT (-39.710638 -2.879296)'))) / (select extract(epoch from '2026-06-18 08:53:45'::timestamp) - extract(epoch from '2026-06-18 08:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710717 -2.879388)'), GeomFromEWKT('SRID=4674;POINT (-39.710638 -2.879296)'))) / (select extract(epoch from '2026-06-18 08:53:45'::timestamp) - extract(epoch from '2026-06-18 08:53: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'), 46821, 'SRID=4674;POINT (-39.71055 -2.879185)', '2026-06-18 08:53:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710638 -2.879296)'), GeomFromEWKT('SRID=4674;POINT (-39.71055 -2.879185)'))) / (select extract(epoch from '2026-06-18 08:53:52'::timestamp) - extract(epoch from '2026-06-18 08:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710638 -2.879296)'), GeomFromEWKT('SRID=4674;POINT (-39.71055 -2.879185)'))) / (select extract(epoch from '2026-06-18 08:53:52'::timestamp) - extract(epoch from '2026-06-18 08:53: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'), 46821, 'SRID=4674;POINT (-39.710538 -2.879169)', '2026-06-18 08:53:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71055 -2.879185)'), GeomFromEWKT('SRID=4674;POINT (-39.710538 -2.879169)'))) / (select extract(epoch from '2026-06-18 08:53:53'::timestamp) - extract(epoch from '2026-06-18 08:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.71055 -2.879185)'), GeomFromEWKT('SRID=4674;POINT (-39.710538 -2.879169)'))) / (select extract(epoch from '2026-06-18 08:53:53'::timestamp) - extract(epoch from '2026-06-18 08:53:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.710485 -2.87911)', '2026-06-18 08:53:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710538 -2.879169)'), GeomFromEWKT('SRID=4674;POINT (-39.710485 -2.87911)'))) / (select extract(epoch from '2026-06-18 08:53:57'::timestamp) - extract(epoch from '2026-06-18 08:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710538 -2.879169)'), GeomFromEWKT('SRID=4674;POINT (-39.710485 -2.87911)'))) / (select extract(epoch from '2026-06-18 08:53:57'::timestamp) - extract(epoch from '2026-06-18 08:53: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'), 46821, 'SRID=4674;POINT (-39.710409 -2.879014)', '2026-06-18 08:54:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710485 -2.87911)'), GeomFromEWKT('SRID=4674;POINT (-39.710409 -2.879014)'))) / (select extract(epoch from '2026-06-18 08:54:03'::timestamp) - extract(epoch from '2026-06-18 08:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710485 -2.87911)'), GeomFromEWKT('SRID=4674;POINT (-39.710409 -2.879014)'))) / (select extract(epoch from '2026-06-18 08:54:03'::timestamp) - extract(epoch from '2026-06-18 08:53:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.710307 -2.878905)', '2026-06-18 08:54:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710409 -2.879014)'), GeomFromEWKT('SRID=4674;POINT (-39.710307 -2.878905)'))) / (select extract(epoch from '2026-06-18 08:54:10'::timestamp) - extract(epoch from '2026-06-18 08:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710409 -2.879014)'), GeomFromEWKT('SRID=4674;POINT (-39.710307 -2.878905)'))) / (select extract(epoch from '2026-06-18 08:54:10'::timestamp) - extract(epoch from '2026-06-18 08:54:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.710221 -2.878814)', '2026-06-18 08:54:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710307 -2.878905)'), GeomFromEWKT('SRID=4674;POINT (-39.710221 -2.878814)'))) / (select extract(epoch from '2026-06-18 08:54:16'::timestamp) - extract(epoch from '2026-06-18 08:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710307 -2.878905)'), GeomFromEWKT('SRID=4674;POINT (-39.710221 -2.878814)'))) / (select extract(epoch from '2026-06-18 08:54:16'::timestamp) - extract(epoch from '2026-06-18 08:54: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'), 46821, 'SRID=4674;POINT (-39.710133 -2.878724)', '2026-06-18 08:54:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710221 -2.878814)'), GeomFromEWKT('SRID=4674;POINT (-39.710133 -2.878724)'))) / (select extract(epoch from '2026-06-18 08:54:22'::timestamp) - extract(epoch from '2026-06-18 08:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710221 -2.878814)'), GeomFromEWKT('SRID=4674;POINT (-39.710133 -2.878724)'))) / (select extract(epoch from '2026-06-18 08:54:22'::timestamp) - extract(epoch from '2026-06-18 08:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.710063 -2.878651)', '2026-06-18 08:54:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710133 -2.878724)'), GeomFromEWKT('SRID=4674;POINT (-39.710063 -2.878651)'))) / (select extract(epoch from '2026-06-18 08:54:27'::timestamp) - extract(epoch from '2026-06-18 08:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710133 -2.878724)'), GeomFromEWKT('SRID=4674;POINT (-39.710063 -2.878651)'))) / (select extract(epoch from '2026-06-18 08:54:27'::timestamp) - extract(epoch from '2026-06-18 08:54:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.709982 -2.878556)', '2026-06-18 08:54:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710063 -2.878651)'), GeomFromEWKT('SRID=4674;POINT (-39.709982 -2.878556)'))) / (select extract(epoch from '2026-06-18 08:54:33'::timestamp) - extract(epoch from '2026-06-18 08:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.710063 -2.878651)'), GeomFromEWKT('SRID=4674;POINT (-39.709982 -2.878556)'))) / (select extract(epoch from '2026-06-18 08:54:33'::timestamp) - extract(epoch from '2026-06-18 08:54:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.70986 -2.878412)', '2026-06-18 08:54:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709982 -2.878556)'), GeomFromEWKT('SRID=4674;POINT (-39.70986 -2.878412)'))) / (select extract(epoch from '2026-06-18 08:54:42'::timestamp) - extract(epoch from '2026-06-18 08:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709982 -2.878556)'), GeomFromEWKT('SRID=4674;POINT (-39.70986 -2.878412)'))) / (select extract(epoch from '2026-06-18 08:54:42'::timestamp) - extract(epoch from '2026-06-18 08:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.709765 -2.8783)', '2026-06-18 08:54:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70986 -2.878412)'), GeomFromEWKT('SRID=4674;POINT (-39.709765 -2.8783)'))) / (select extract(epoch from '2026-06-18 08:54:49'::timestamp) - extract(epoch from '2026-06-18 08:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70986 -2.878412)'), GeomFromEWKT('SRID=4674;POINT (-39.709765 -2.8783)'))) / (select extract(epoch from '2026-06-18 08:54:49'::timestamp) - extract(epoch from '2026-06-18 08:54:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.709683 -2.878211)', '2026-06-18 08:54:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709765 -2.8783)'), GeomFromEWKT('SRID=4674;POINT (-39.709683 -2.878211)'))) / (select extract(epoch from '2026-06-18 08:54:55'::timestamp) - extract(epoch from '2026-06-18 08:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709765 -2.8783)'), GeomFromEWKT('SRID=4674;POINT (-39.709683 -2.878211)'))) / (select extract(epoch from '2026-06-18 08:54:55'::timestamp) - extract(epoch from '2026-06-18 08:54: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'), 46821, 'SRID=4674;POINT (-39.709604 -2.87812)', '2026-06-18 08:55:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709683 -2.878211)'), GeomFromEWKT('SRID=4674;POINT (-39.709604 -2.87812)'))) / (select extract(epoch from '2026-06-18 08:55:02'::timestamp) - extract(epoch from '2026-06-18 08:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709683 -2.878211)'), GeomFromEWKT('SRID=4674;POINT (-39.709604 -2.87812)'))) / (select extract(epoch from '2026-06-18 08:55:02'::timestamp) - extract(epoch from '2026-06-18 08:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.70954 -2.878033)', '2026-06-18 08:55:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709604 -2.87812)'), GeomFromEWKT('SRID=4674;POINT (-39.70954 -2.878033)'))) / (select extract(epoch from '2026-06-18 08:55:08'::timestamp) - extract(epoch from '2026-06-18 08:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709604 -2.87812)'), GeomFromEWKT('SRID=4674;POINT (-39.70954 -2.878033)'))) / (select extract(epoch from '2026-06-18 08:55:08'::timestamp) - extract(epoch from '2026-06-18 08:55: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'), 46821, 'SRID=4674;POINT (-39.709441 -2.87791)', '2026-06-18 08:55:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70954 -2.878033)'), GeomFromEWKT('SRID=4674;POINT (-39.709441 -2.87791)'))) / (select extract(epoch from '2026-06-18 08:55:16'::timestamp) - extract(epoch from '2026-06-18 08:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70954 -2.878033)'), GeomFromEWKT('SRID=4674;POINT (-39.709441 -2.87791)'))) / (select extract(epoch from '2026-06-18 08:55:16'::timestamp) - extract(epoch from '2026-06-18 08:55: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'), 46821, 'SRID=4674;POINT (-39.709369 -2.877821)', '2026-06-18 08:55:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709441 -2.87791)'), GeomFromEWKT('SRID=4674;POINT (-39.709369 -2.877821)'))) / (select extract(epoch from '2026-06-18 08:55:22'::timestamp) - extract(epoch from '2026-06-18 08:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709441 -2.87791)'), GeomFromEWKT('SRID=4674;POINT (-39.709369 -2.877821)'))) / (select extract(epoch from '2026-06-18 08:55:22'::timestamp) - extract(epoch from '2026-06-18 08:55:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.709253 -2.877682)', '2026-06-18 08:55:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709369 -2.877821)'), GeomFromEWKT('SRID=4674;POINT (-39.709253 -2.877682)'))) / (select extract(epoch from '2026-06-18 08:55:31'::timestamp) - extract(epoch from '2026-06-18 08:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709369 -2.877821)'), GeomFromEWKT('SRID=4674;POINT (-39.709253 -2.877682)'))) / (select extract(epoch from '2026-06-18 08:55:31'::timestamp) - extract(epoch from '2026-06-18 08:55: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'), 46821, 'SRID=4674;POINT (-39.709172 -2.877581)', '2026-06-18 08:55:37', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709253 -2.877682)'), GeomFromEWKT('SRID=4674;POINT (-39.709172 -2.877581)'))) / (select extract(epoch from '2026-06-18 08:55:37'::timestamp) - extract(epoch from '2026-06-18 08:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709253 -2.877682)'), GeomFromEWKT('SRID=4674;POINT (-39.709172 -2.877581)'))) / (select extract(epoch from '2026-06-18 08:55:37'::timestamp) - extract(epoch from '2026-06-18 08:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.70906 -2.877455)', '2026-06-18 08:55:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709172 -2.877581)'), GeomFromEWKT('SRID=4674;POINT (-39.70906 -2.877455)'))) / (select extract(epoch from '2026-06-18 08:55:45'::timestamp) - extract(epoch from '2026-06-18 08:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.709172 -2.877581)'), GeomFromEWKT('SRID=4674;POINT (-39.70906 -2.877455)'))) / (select extract(epoch from '2026-06-18 08:55:45'::timestamp) - extract(epoch from '2026-06-18 08:55: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'), 46821, 'SRID=4674;POINT (-39.708988 -2.877357)', '2026-06-18 08:55:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70906 -2.877455)'), GeomFromEWKT('SRID=4674;POINT (-39.708988 -2.877357)'))) / (select extract(epoch from '2026-06-18 08:55:51'::timestamp) - extract(epoch from '2026-06-18 08:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70906 -2.877455)'), GeomFromEWKT('SRID=4674;POINT (-39.708988 -2.877357)'))) / (select extract(epoch from '2026-06-18 08:55:51'::timestamp) - extract(epoch from '2026-06-18 08:55: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'), 46821, 'SRID=4674;POINT (-39.708904 -2.877255)', '2026-06-18 08:55:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708988 -2.877357)'), GeomFromEWKT('SRID=4674;POINT (-39.708904 -2.877255)'))) / (select extract(epoch from '2026-06-18 08:55:58'::timestamp) - extract(epoch from '2026-06-18 08:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708988 -2.877357)'), GeomFromEWKT('SRID=4674;POINT (-39.708904 -2.877255)'))) / (select extract(epoch from '2026-06-18 08:55:58'::timestamp) - extract(epoch from '2026-06-18 08:55: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'), 46821, 'SRID=4674;POINT (-39.708798 -2.877148)', '2026-06-18 08:56:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708904 -2.877255)'), GeomFromEWKT('SRID=4674;POINT (-39.708798 -2.877148)'))) / (select extract(epoch from '2026-06-18 08:56:06'::timestamp) - extract(epoch from '2026-06-18 08:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708904 -2.877255)'), GeomFromEWKT('SRID=4674;POINT (-39.708798 -2.877148)'))) / (select extract(epoch from '2026-06-18 08:56:06'::timestamp) - extract(epoch from '2026-06-18 08:55: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'), 46821, 'SRID=4674;POINT (-39.708721 -2.877061)', '2026-06-18 08:56:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708798 -2.877148)'), GeomFromEWKT('SRID=4674;POINT (-39.708721 -2.877061)'))) / (select extract(epoch from '2026-06-18 08:56:12'::timestamp) - extract(epoch from '2026-06-18 08:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708798 -2.877148)'), GeomFromEWKT('SRID=4674;POINT (-39.708721 -2.877061)'))) / (select extract(epoch from '2026-06-18 08:56:12'::timestamp) - extract(epoch from '2026-06-18 08:56:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.708617 -2.876938)', '2026-06-18 08:56:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708721 -2.877061)'), GeomFromEWKT('SRID=4674;POINT (-39.708617 -2.876938)'))) / (select extract(epoch from '2026-06-18 08:56:20'::timestamp) - extract(epoch from '2026-06-18 08:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708721 -2.877061)'), GeomFromEWKT('SRID=4674;POINT (-39.708617 -2.876938)'))) / (select extract(epoch from '2026-06-18 08:56:20'::timestamp) - extract(epoch from '2026-06-18 08:56: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'), 46821, 'SRID=4674;POINT (-39.70854 -2.876841)', '2026-06-18 08:56:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708617 -2.876938)'), GeomFromEWKT('SRID=4674;POINT (-39.70854 -2.876841)'))) / (select extract(epoch from '2026-06-18 08:56:26'::timestamp) - extract(epoch from '2026-06-18 08:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708617 -2.876938)'), GeomFromEWKT('SRID=4674;POINT (-39.70854 -2.876841)'))) / (select extract(epoch from '2026-06-18 08:56:26'::timestamp) - extract(epoch from '2026-06-18 08:56: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'), 46821, 'SRID=4674;POINT (-39.70843 -2.876717)', '2026-06-18 08:56:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70854 -2.876841)'), GeomFromEWKT('SRID=4674;POINT (-39.70843 -2.876717)'))) / (select extract(epoch from '2026-06-18 08:56:34'::timestamp) - extract(epoch from '2026-06-18 08:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70854 -2.876841)'), GeomFromEWKT('SRID=4674;POINT (-39.70843 -2.876717)'))) / (select extract(epoch from '2026-06-18 08:56:34'::timestamp) - extract(epoch from '2026-06-18 08:56: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'), 46821, 'SRID=4674;POINT (-39.70833 -2.876614)', '2026-06-18 08:56:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70843 -2.876717)'), GeomFromEWKT('SRID=4674;POINT (-39.70833 -2.876614)'))) / (select extract(epoch from '2026-06-18 08:56:41'::timestamp) - extract(epoch from '2026-06-18 08:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70843 -2.876717)'), GeomFromEWKT('SRID=4674;POINT (-39.70833 -2.876614)'))) / (select extract(epoch from '2026-06-18 08:56:41'::timestamp) - extract(epoch from '2026-06-18 08:56:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.70825 -2.876523)', '2026-06-18 08:56:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70833 -2.876614)'), GeomFromEWKT('SRID=4674;POINT (-39.70825 -2.876523)'))) / (select extract(epoch from '2026-06-18 08:56:47'::timestamp) - extract(epoch from '2026-06-18 08:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70833 -2.876614)'), GeomFromEWKT('SRID=4674;POINT (-39.70825 -2.876523)'))) / (select extract(epoch from '2026-06-18 08:56:47'::timestamp) - extract(epoch from '2026-06-18 08:56:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.708161 -2.876415)', '2026-06-18 08:56:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70825 -2.876523)'), GeomFromEWKT('SRID=4674;POINT (-39.708161 -2.876415)'))) / (select extract(epoch from '2026-06-18 08:56:54'::timestamp) - extract(epoch from '2026-06-18 08:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70825 -2.876523)'), GeomFromEWKT('SRID=4674;POINT (-39.708161 -2.876415)'))) / (select extract(epoch from '2026-06-18 08:56:54'::timestamp) - extract(epoch from '2026-06-18 08:56:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.708087 -2.876333)', '2026-06-18 08:57:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708161 -2.876415)'), GeomFromEWKT('SRID=4674;POINT (-39.708087 -2.876333)'))) / (select extract(epoch from '2026-06-18 08:57:00'::timestamp) - extract(epoch from '2026-06-18 08:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708161 -2.876415)'), GeomFromEWKT('SRID=4674;POINT (-39.708087 -2.876333)'))) / (select extract(epoch from '2026-06-18 08:57:00'::timestamp) - extract(epoch from '2026-06-18 08:56:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.70802 -2.876243)', '2026-06-18 08:57:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708087 -2.876333)'), GeomFromEWKT('SRID=4674;POINT (-39.70802 -2.876243)'))) / (select extract(epoch from '2026-06-18 08:57:06'::timestamp) - extract(epoch from '2026-06-18 08:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.708087 -2.876333)'), GeomFromEWKT('SRID=4674;POINT (-39.70802 -2.876243)'))) / (select extract(epoch from '2026-06-18 08:57:06'::timestamp) - extract(epoch from '2026-06-18 08:57:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.707914 -2.876106)', '2026-06-18 08:57:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70802 -2.876243)'), GeomFromEWKT('SRID=4674;POINT (-39.707914 -2.876106)'))) / (select extract(epoch from '2026-06-18 08:57:15'::timestamp) - extract(epoch from '2026-06-18 08:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70802 -2.876243)'), GeomFromEWKT('SRID=4674;POINT (-39.707914 -2.876106)'))) / (select extract(epoch from '2026-06-18 08:57:15'::timestamp) - extract(epoch from '2026-06-18 08:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.707822 -2.876002)', '2026-06-18 08:57:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707914 -2.876106)'), GeomFromEWKT('SRID=4674;POINT (-39.707822 -2.876002)'))) / (select extract(epoch from '2026-06-18 08:57:22'::timestamp) - extract(epoch from '2026-06-18 08:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707914 -2.876106)'), GeomFromEWKT('SRID=4674;POINT (-39.707822 -2.876002)'))) / (select extract(epoch from '2026-06-18 08:57:22'::timestamp) - extract(epoch from '2026-06-18 08:57: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'), 46821, 'SRID=4674;POINT (-39.707739 -2.875912)', '2026-06-18 08:57:28', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707822 -2.876002)'), GeomFromEWKT('SRID=4674;POINT (-39.707739 -2.875912)'))) / (select extract(epoch from '2026-06-18 08:57:28'::timestamp) - extract(epoch from '2026-06-18 08:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707822 -2.876002)'), GeomFromEWKT('SRID=4674;POINT (-39.707739 -2.875912)'))) / (select extract(epoch from '2026-06-18 08:57:28'::timestamp) - extract(epoch from '2026-06-18 08:57: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'), 46821, 'SRID=4674;POINT (-39.707662 -2.875826)', '2026-06-18 08:57:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707739 -2.875912)'), GeomFromEWKT('SRID=4674;POINT (-39.707662 -2.875826)'))) / (select extract(epoch from '2026-06-18 08:57:34'::timestamp) - extract(epoch from '2026-06-18 08:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707739 -2.875912)'), GeomFromEWKT('SRID=4674;POINT (-39.707662 -2.875826)'))) / (select extract(epoch from '2026-06-18 08:57:34'::timestamp) - extract(epoch from '2026-06-18 08:57: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'), 46821, 'SRID=4674;POINT (-39.707554 -2.875703)', '2026-06-18 08:57:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707662 -2.875826)'), GeomFromEWKT('SRID=4674;POINT (-39.707554 -2.875703)'))) / (select extract(epoch from '2026-06-18 08:57:42'::timestamp) - extract(epoch from '2026-06-18 08:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707662 -2.875826)'), GeomFromEWKT('SRID=4674;POINT (-39.707554 -2.875703)'))) / (select extract(epoch from '2026-06-18 08:57:42'::timestamp) - extract(epoch from '2026-06-18 08:57:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.707467 -2.875603)', '2026-06-18 08:57:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707554 -2.875703)'), GeomFromEWKT('SRID=4674;POINT (-39.707467 -2.875603)'))) / (select extract(epoch from '2026-06-18 08:57:48'::timestamp) - extract(epoch from '2026-06-18 08:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707554 -2.875703)'), GeomFromEWKT('SRID=4674;POINT (-39.707467 -2.875603)'))) / (select extract(epoch from '2026-06-18 08:57:48'::timestamp) - extract(epoch from '2026-06-18 08:57: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'), 46821, 'SRID=4674;POINT (-39.707377 -2.875498)', '2026-06-18 08:57:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707467 -2.875603)'), GeomFromEWKT('SRID=4674;POINT (-39.707377 -2.875498)'))) / (select extract(epoch from '2026-06-18 08:57:55'::timestamp) - extract(epoch from '2026-06-18 08:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707467 -2.875603)'), GeomFromEWKT('SRID=4674;POINT (-39.707377 -2.875498)'))) / (select extract(epoch from '2026-06-18 08:57:55'::timestamp) - extract(epoch from '2026-06-18 08:57: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'), 46821, 'SRID=4674;POINT (-39.707318 -2.875421)', '2026-06-18 08:58:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707377 -2.875498)'), GeomFromEWKT('SRID=4674;POINT (-39.707318 -2.875421)'))) / (select extract(epoch from '2026-06-18 08:58:00'::timestamp) - extract(epoch from '2026-06-18 08:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707377 -2.875498)'), GeomFromEWKT('SRID=4674;POINT (-39.707318 -2.875421)'))) / (select extract(epoch from '2026-06-18 08:58:00'::timestamp) - extract(epoch from '2026-06-18 08:57:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.707213 -2.875287)', '2026-06-18 08:58:08', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707318 -2.875421)'), GeomFromEWKT('SRID=4674;POINT (-39.707213 -2.875287)'))) / (select extract(epoch from '2026-06-18 08:58:08'::timestamp) - extract(epoch from '2026-06-18 08:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707318 -2.875421)'), GeomFromEWKT('SRID=4674;POINT (-39.707213 -2.875287)'))) / (select extract(epoch from '2026-06-18 08:58:08'::timestamp) - extract(epoch from '2026-06-18 08:58:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.707133 -2.875193)', '2026-06-18 08:58:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707213 -2.875287)'), GeomFromEWKT('SRID=4674;POINT (-39.707133 -2.875193)'))) / (select extract(epoch from '2026-06-18 08:58:14'::timestamp) - extract(epoch from '2026-06-18 08:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707213 -2.875287)'), GeomFromEWKT('SRID=4674;POINT (-39.707133 -2.875193)'))) / (select extract(epoch from '2026-06-18 08:58:14'::timestamp) - extract(epoch from '2026-06-18 08:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.70705 -2.875107)', '2026-06-18 08:58:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707133 -2.875193)'), GeomFromEWKT('SRID=4674;POINT (-39.70705 -2.875107)'))) / (select extract(epoch from '2026-06-18 08:58:20'::timestamp) - extract(epoch from '2026-06-18 08:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.707133 -2.875193)'), GeomFromEWKT('SRID=4674;POINT (-39.70705 -2.875107)'))) / (select extract(epoch from '2026-06-18 08:58:20'::timestamp) - extract(epoch from '2026-06-18 08:58: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'), 46821, 'SRID=4674;POINT (-39.706971 -2.875021)', '2026-06-18 08:58:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70705 -2.875107)'), GeomFromEWKT('SRID=4674;POINT (-39.706971 -2.875021)'))) / (select extract(epoch from '2026-06-18 08:58:26'::timestamp) - extract(epoch from '2026-06-18 08:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70705 -2.875107)'), GeomFromEWKT('SRID=4674;POINT (-39.706971 -2.875021)'))) / (select extract(epoch from '2026-06-18 08:58:26'::timestamp) - extract(epoch from '2026-06-18 08:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.706865 -2.874907)', '2026-06-18 08:58:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706971 -2.875021)'), GeomFromEWKT('SRID=4674;POINT (-39.706865 -2.874907)'))) / (select extract(epoch from '2026-06-18 08:58:34'::timestamp) - extract(epoch from '2026-06-18 08:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706971 -2.875021)'), GeomFromEWKT('SRID=4674;POINT (-39.706865 -2.874907)'))) / (select extract(epoch from '2026-06-18 08:58:34'::timestamp) - extract(epoch from '2026-06-18 08:58: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'), 46821, 'SRID=4674;POINT (-39.70676 -2.874797)', '2026-06-18 08:58:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706865 -2.874907)'), GeomFromEWKT('SRID=4674;POINT (-39.70676 -2.874797)'))) / (select extract(epoch from '2026-06-18 08:58:42'::timestamp) - extract(epoch from '2026-06-18 08:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706865 -2.874907)'), GeomFromEWKT('SRID=4674;POINT (-39.70676 -2.874797)'))) / (select extract(epoch from '2026-06-18 08:58:42'::timestamp) - extract(epoch from '2026-06-18 08:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.706679 -2.874699)', '2026-06-18 08:58:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70676 -2.874797)'), GeomFromEWKT('SRID=4674;POINT (-39.706679 -2.874699)'))) / (select extract(epoch from '2026-06-18 08:58:49'::timestamp) - extract(epoch from '2026-06-18 08:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70676 -2.874797)'), GeomFromEWKT('SRID=4674;POINT (-39.706679 -2.874699)'))) / (select extract(epoch from '2026-06-18 08:58:49'::timestamp) - extract(epoch from '2026-06-18 08:58:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.706596 -2.874594)', '2026-06-18 08:58:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706679 -2.874699)'), GeomFromEWKT('SRID=4674;POINT (-39.706596 -2.874594)'))) / (select extract(epoch from '2026-06-18 08:58:56'::timestamp) - extract(epoch from '2026-06-18 08:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706679 -2.874699)'), GeomFromEWKT('SRID=4674;POINT (-39.706596 -2.874594)'))) / (select extract(epoch from '2026-06-18 08:58:56'::timestamp) - extract(epoch from '2026-06-18 08:58:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.706511 -2.874494)', '2026-06-18 08:59:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706596 -2.874594)'), GeomFromEWKT('SRID=4674;POINT (-39.706511 -2.874494)'))) / (select extract(epoch from '2026-06-18 08:59:03'::timestamp) - extract(epoch from '2026-06-18 08:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706596 -2.874594)'), GeomFromEWKT('SRID=4674;POINT (-39.706511 -2.874494)'))) / (select extract(epoch from '2026-06-18 08:59:03'::timestamp) - extract(epoch from '2026-06-18 08:58: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'), 46821, 'SRID=4674;POINT (-39.706431 -2.874401)', '2026-06-18 08:59:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706511 -2.874494)'), GeomFromEWKT('SRID=4674;POINT (-39.706431 -2.874401)'))) / (select extract(epoch from '2026-06-18 08:59:10'::timestamp) - extract(epoch from '2026-06-18 08:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706511 -2.874494)'), GeomFromEWKT('SRID=4674;POINT (-39.706431 -2.874401)'))) / (select extract(epoch from '2026-06-18 08:59:10'::timestamp) - extract(epoch from '2026-06-18 08:59: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'), 46821, 'SRID=4674;POINT (-39.70635 -2.874312)', '2026-06-18 08:59:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706431 -2.874401)'), GeomFromEWKT('SRID=4674;POINT (-39.70635 -2.874312)'))) / (select extract(epoch from '2026-06-18 08:59:17'::timestamp) - extract(epoch from '2026-06-18 08:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706431 -2.874401)'), GeomFromEWKT('SRID=4674;POINT (-39.70635 -2.874312)'))) / (select extract(epoch from '2026-06-18 08:59:17'::timestamp) - extract(epoch from '2026-06-18 08:59: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'), 46821, 'SRID=4674;POINT (-39.706283 -2.874232)', '2026-06-18 08:59:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70635 -2.874312)'), GeomFromEWKT('SRID=4674;POINT (-39.706283 -2.874232)'))) / (select extract(epoch from '2026-06-18 08:59:23'::timestamp) - extract(epoch from '2026-06-18 08:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70635 -2.874312)'), GeomFromEWKT('SRID=4674;POINT (-39.706283 -2.874232)'))) / (select extract(epoch from '2026-06-18 08:59:23'::timestamp) - extract(epoch from '2026-06-18 08:59: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'), 46821, 'SRID=4674;POINT (-39.706202 -2.874137)', '2026-06-18 08:59:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706283 -2.874232)'), GeomFromEWKT('SRID=4674;POINT (-39.706202 -2.874137)'))) / (select extract(epoch from '2026-06-18 08:59:30'::timestamp) - extract(epoch from '2026-06-18 08:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706283 -2.874232)'), GeomFromEWKT('SRID=4674;POINT (-39.706202 -2.874137)'))) / (select extract(epoch from '2026-06-18 08:59:30'::timestamp) - extract(epoch from '2026-06-18 08:59:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.706121 -2.874038)', '2026-06-18 08:59:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706202 -2.874137)'), GeomFromEWKT('SRID=4674;POINT (-39.706121 -2.874038)'))) / (select extract(epoch from '2026-06-18 08:59:37'::timestamp) - extract(epoch from '2026-06-18 08:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706202 -2.874137)'), GeomFromEWKT('SRID=4674;POINT (-39.706121 -2.874038)'))) / (select extract(epoch from '2026-06-18 08:59:37'::timestamp) - extract(epoch from '2026-06-18 08:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.706043 -2.873959)', '2026-06-18 08:59:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706121 -2.874038)'), GeomFromEWKT('SRID=4674;POINT (-39.706043 -2.873959)'))) / (select extract(epoch from '2026-06-18 08:59:43'::timestamp) - extract(epoch from '2026-06-18 08:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706121 -2.874038)'), GeomFromEWKT('SRID=4674;POINT (-39.706043 -2.873959)'))) / (select extract(epoch from '2026-06-18 08:59:43'::timestamp) - extract(epoch from '2026-06-18 08:59: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'), 46821, 'SRID=4674;POINT (-39.705956 -2.873858)', '2026-06-18 08:59:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706043 -2.873959)'), GeomFromEWKT('SRID=4674;POINT (-39.705956 -2.873858)'))) / (select extract(epoch from '2026-06-18 08:59:50'::timestamp) - extract(epoch from '2026-06-18 08:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.706043 -2.873959)'), GeomFromEWKT('SRID=4674;POINT (-39.705956 -2.873858)'))) / (select extract(epoch from '2026-06-18 08:59:50'::timestamp) - extract(epoch from '2026-06-18 08:59:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.705877 -2.873755)', '2026-06-18 08:59:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705956 -2.873858)'), GeomFromEWKT('SRID=4674;POINT (-39.705877 -2.873755)'))) / (select extract(epoch from '2026-06-18 08:59:57'::timestamp) - extract(epoch from '2026-06-18 08:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705956 -2.873858)'), GeomFromEWKT('SRID=4674;POINT (-39.705877 -2.873755)'))) / (select extract(epoch from '2026-06-18 08:59:57'::timestamp) - extract(epoch from '2026-06-18 08:59: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'), 46821, 'SRID=4674;POINT (-39.705787 -2.873656)', '2026-06-18 09:00:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705877 -2.873755)'), GeomFromEWKT('SRID=4674;POINT (-39.705787 -2.873656)'))) / (select extract(epoch from '2026-06-18 09:00:04'::timestamp) - extract(epoch from '2026-06-18 08:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705877 -2.873755)'), GeomFromEWKT('SRID=4674;POINT (-39.705787 -2.873656)'))) / (select extract(epoch from '2026-06-18 09:00:04'::timestamp) - extract(epoch from '2026-06-18 08:59:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.705693 -2.873532)', '2026-06-18 09:00:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705787 -2.873656)'), GeomFromEWKT('SRID=4674;POINT (-39.705693 -2.873532)'))) / (select extract(epoch from '2026-06-18 09:00:12'::timestamp) - extract(epoch from '2026-06-18 09:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705787 -2.873656)'), GeomFromEWKT('SRID=4674;POINT (-39.705693 -2.873532)'))) / (select extract(epoch from '2026-06-18 09:00:12'::timestamp) - extract(epoch from '2026-06-18 09:00:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.705605 -2.87343)', '2026-06-18 09:00:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705693 -2.873532)'), GeomFromEWKT('SRID=4674;POINT (-39.705605 -2.87343)'))) / (select extract(epoch from '2026-06-18 09:00:19'::timestamp) - extract(epoch from '2026-06-18 09:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705693 -2.873532)'), GeomFromEWKT('SRID=4674;POINT (-39.705605 -2.87343)'))) / (select extract(epoch from '2026-06-18 09:00:19'::timestamp) - extract(epoch from '2026-06-18 09:00:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.705531 -2.87333)', '2026-06-18 09:00:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705605 -2.87343)'), GeomFromEWKT('SRID=4674;POINT (-39.705531 -2.87333)'))) / (select extract(epoch from '2026-06-18 09:00:26'::timestamp) - extract(epoch from '2026-06-18 09:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705605 -2.87343)'), GeomFromEWKT('SRID=4674;POINT (-39.705531 -2.87333)'))) / (select extract(epoch from '2026-06-18 09:00:26'::timestamp) - extract(epoch from '2026-06-18 09:00:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.70545 -2.873237)', '2026-06-18 09:00:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705531 -2.87333)'), GeomFromEWKT('SRID=4674;POINT (-39.70545 -2.873237)'))) / (select extract(epoch from '2026-06-18 09:00:33'::timestamp) - extract(epoch from '2026-06-18 09:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705531 -2.87333)'), GeomFromEWKT('SRID=4674;POINT (-39.70545 -2.873237)'))) / (select extract(epoch from '2026-06-18 09:00:33'::timestamp) - extract(epoch from '2026-06-18 09:00:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.705344 -2.873109)', '2026-06-18 09:00:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70545 -2.873237)'), GeomFromEWKT('SRID=4674;POINT (-39.705344 -2.873109)'))) / (select extract(epoch from '2026-06-18 09:00:42'::timestamp) - extract(epoch from '2026-06-18 09:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70545 -2.873237)'), GeomFromEWKT('SRID=4674;POINT (-39.705344 -2.873109)'))) / (select extract(epoch from '2026-06-18 09:00:42'::timestamp) - extract(epoch from '2026-06-18 09:00: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'), 46821, 'SRID=4674;POINT (-39.705272 -2.873025)', '2026-06-18 09:00:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705344 -2.873109)'), GeomFromEWKT('SRID=4674;POINT (-39.705272 -2.873025)'))) / (select extract(epoch from '2026-06-18 09:00:48'::timestamp) - extract(epoch from '2026-06-18 09:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705344 -2.873109)'), GeomFromEWKT('SRID=4674;POINT (-39.705272 -2.873025)'))) / (select extract(epoch from '2026-06-18 09:00:48'::timestamp) - extract(epoch from '2026-06-18 09:00: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'), 46821, 'SRID=4674;POINT (-39.705211 -2.872961)', '2026-06-18 09:00:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705272 -2.873025)'), GeomFromEWKT('SRID=4674;POINT (-39.705211 -2.872961)'))) / (select extract(epoch from '2026-06-18 09:00:53'::timestamp) - extract(epoch from '2026-06-18 09:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705272 -2.873025)'), GeomFromEWKT('SRID=4674;POINT (-39.705211 -2.872961)'))) / (select extract(epoch from '2026-06-18 09:00:53'::timestamp) - extract(epoch from '2026-06-18 09:00: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'), 46821, 'SRID=4674;POINT (-39.705142 -2.87288)', '2026-06-18 09:00:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705211 -2.872961)'), GeomFromEWKT('SRID=4674;POINT (-39.705142 -2.87288)'))) / (select extract(epoch from '2026-06-18 09:00:59'::timestamp) - extract(epoch from '2026-06-18 09:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705211 -2.872961)'), GeomFromEWKT('SRID=4674;POINT (-39.705142 -2.87288)'))) / (select extract(epoch from '2026-06-18 09:00:59'::timestamp) - extract(epoch from '2026-06-18 09:00: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'), 46821, 'SRID=4674;POINT (-39.705046 -2.872768)', '2026-06-18 09:01:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705142 -2.87288)'), GeomFromEWKT('SRID=4674;POINT (-39.705046 -2.872768)'))) / (select extract(epoch from '2026-06-18 09:01:07'::timestamp) - extract(epoch from '2026-06-18 09:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705142 -2.87288)'), GeomFromEWKT('SRID=4674;POINT (-39.705046 -2.872768)'))) / (select extract(epoch from '2026-06-18 09:01:07'::timestamp) - extract(epoch from '2026-06-18 09:00: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'), 46821, 'SRID=4674;POINT (-39.704972 -2.872677)', '2026-06-18 09:01:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705046 -2.872768)'), GeomFromEWKT('SRID=4674;POINT (-39.704972 -2.872677)'))) / (select extract(epoch from '2026-06-18 09:01:13'::timestamp) - extract(epoch from '2026-06-18 09:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.705046 -2.872768)'), GeomFromEWKT('SRID=4674;POINT (-39.704972 -2.872677)'))) / (select extract(epoch from '2026-06-18 09:01:13'::timestamp) - extract(epoch from '2026-06-18 09:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.704893 -2.872586)', '2026-06-18 09:01:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704972 -2.872677)'), GeomFromEWKT('SRID=4674;POINT (-39.704893 -2.872586)'))) / (select extract(epoch from '2026-06-18 09:01:19'::timestamp) - extract(epoch from '2026-06-18 09:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704972 -2.872677)'), GeomFromEWKT('SRID=4674;POINT (-39.704893 -2.872586)'))) / (select extract(epoch from '2026-06-18 09:01:19'::timestamp) - extract(epoch from '2026-06-18 09:01:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.704803 -2.872481)', '2026-06-18 09:01:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704893 -2.872586)'), GeomFromEWKT('SRID=4674;POINT (-39.704803 -2.872481)'))) / (select extract(epoch from '2026-06-18 09:01:26'::timestamp) - extract(epoch from '2026-06-18 09:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704893 -2.872586)'), GeomFromEWKT('SRID=4674;POINT (-39.704803 -2.872481)'))) / (select extract(epoch from '2026-06-18 09:01:26'::timestamp) - extract(epoch from '2026-06-18 09:01: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'), 46821, 'SRID=4674;POINT (-39.704731 -2.872397)', '2026-06-18 09:01:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704803 -2.872481)'), GeomFromEWKT('SRID=4674;POINT (-39.704731 -2.872397)'))) / (select extract(epoch from '2026-06-18 09:01:32'::timestamp) - extract(epoch from '2026-06-18 09:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704803 -2.872481)'), GeomFromEWKT('SRID=4674;POINT (-39.704731 -2.872397)'))) / (select extract(epoch from '2026-06-18 09:01:32'::timestamp) - extract(epoch from '2026-06-18 09:01: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'), 46821, 'SRID=4674;POINT (-39.704668 -2.872309)', '2026-06-18 09:01:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704731 -2.872397)'), GeomFromEWKT('SRID=4674;POINT (-39.704668 -2.872309)'))) / (select extract(epoch from '2026-06-18 09:01:38'::timestamp) - extract(epoch from '2026-06-18 09:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704731 -2.872397)'), GeomFromEWKT('SRID=4674;POINT (-39.704668 -2.872309)'))) / (select extract(epoch from '2026-06-18 09:01:38'::timestamp) - extract(epoch from '2026-06-18 09:01: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'), 46821, 'SRID=4674;POINT (-39.704578 -2.872203)', '2026-06-18 09:01:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704668 -2.872309)'), GeomFromEWKT('SRID=4674;POINT (-39.704578 -2.872203)'))) / (select extract(epoch from '2026-06-18 09:01:45'::timestamp) - extract(epoch from '2026-06-18 09:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704668 -2.872309)'), GeomFromEWKT('SRID=4674;POINT (-39.704578 -2.872203)'))) / (select extract(epoch from '2026-06-18 09:01:45'::timestamp) - extract(epoch from '2026-06-18 09:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.70448 -2.872101)', '2026-06-18 09:01:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704578 -2.872203)'), GeomFromEWKT('SRID=4674;POINT (-39.70448 -2.872101)'))) / (select extract(epoch from '2026-06-18 09:01:52'::timestamp) - extract(epoch from '2026-06-18 09:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704578 -2.872203)'), GeomFromEWKT('SRID=4674;POINT (-39.70448 -2.872101)'))) / (select extract(epoch from '2026-06-18 09:01:52'::timestamp) - extract(epoch from '2026-06-18 09:01: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'), 46821, 'SRID=4674;POINT (-39.704398 -2.872017)', '2026-06-18 09:01:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70448 -2.872101)'), GeomFromEWKT('SRID=4674;POINT (-39.704398 -2.872017)'))) / (select extract(epoch from '2026-06-18 09:01:58'::timestamp) - extract(epoch from '2026-06-18 09:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70448 -2.872101)'), GeomFromEWKT('SRID=4674;POINT (-39.704398 -2.872017)'))) / (select extract(epoch from '2026-06-18 09:01:58'::timestamp) - extract(epoch from '2026-06-18 09:01:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.704297 -2.871923)', '2026-06-18 09:02:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704398 -2.872017)'), GeomFromEWKT('SRID=4674;POINT (-39.704297 -2.871923)'))) / (select extract(epoch from '2026-06-18 09:02:05'::timestamp) - extract(epoch from '2026-06-18 09:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704398 -2.872017)'), GeomFromEWKT('SRID=4674;POINT (-39.704297 -2.871923)'))) / (select extract(epoch from '2026-06-18 09:02:05'::timestamp) - extract(epoch from '2026-06-18 09:01:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.7042 -2.871836)', '2026-06-18 09:02:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704297 -2.871923)'), GeomFromEWKT('SRID=4674;POINT (-39.7042 -2.871836)'))) / (select extract(epoch from '2026-06-18 09:02:12'::timestamp) - extract(epoch from '2026-06-18 09:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704297 -2.871923)'), GeomFromEWKT('SRID=4674;POINT (-39.7042 -2.871836)'))) / (select extract(epoch from '2026-06-18 09:02:12'::timestamp) - extract(epoch from '2026-06-18 09:02:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.704114 -2.871745)', '2026-06-18 09:02:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7042 -2.871836)'), GeomFromEWKT('SRID=4674;POINT (-39.704114 -2.871745)'))) / (select extract(epoch from '2026-06-18 09:02:19'::timestamp) - extract(epoch from '2026-06-18 09:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7042 -2.871836)'), GeomFromEWKT('SRID=4674;POINT (-39.704114 -2.871745)'))) / (select extract(epoch from '2026-06-18 09:02:19'::timestamp) - extract(epoch from '2026-06-18 09:02:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.704013 -2.871632)', '2026-06-18 09:02:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704114 -2.871745)'), GeomFromEWKT('SRID=4674;POINT (-39.704013 -2.871632)'))) / (select extract(epoch from '2026-06-18 09:02:27'::timestamp) - extract(epoch from '2026-06-18 09:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704114 -2.871745)'), GeomFromEWKT('SRID=4674;POINT (-39.704013 -2.871632)'))) / (select extract(epoch from '2026-06-18 09:02:27'::timestamp) - extract(epoch from '2026-06-18 09:02: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'), 46821, 'SRID=4674;POINT (-39.703906 -2.871502)', '2026-06-18 09:02:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704013 -2.871632)'), GeomFromEWKT('SRID=4674;POINT (-39.703906 -2.871502)'))) / (select extract(epoch from '2026-06-18 09:02:36'::timestamp) - extract(epoch from '2026-06-18 09:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.704013 -2.871632)'), GeomFromEWKT('SRID=4674;POINT (-39.703906 -2.871502)'))) / (select extract(epoch from '2026-06-18 09:02:36'::timestamp) - extract(epoch from '2026-06-18 09:02: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'), 46821, 'SRID=4674;POINT (-39.703839 -2.871423)', '2026-06-18 09:02:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703906 -2.871502)'), GeomFromEWKT('SRID=4674;POINT (-39.703839 -2.871423)'))) / (select extract(epoch from '2026-06-18 09:02:42'::timestamp) - extract(epoch from '2026-06-18 09:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703906 -2.871502)'), GeomFromEWKT('SRID=4674;POINT (-39.703839 -2.871423)'))) / (select extract(epoch from '2026-06-18 09:02:42'::timestamp) - extract(epoch from '2026-06-18 09:02: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'), 46821, 'SRID=4674;POINT (-39.703752 -2.871322)', '2026-06-18 09:02:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703839 -2.871423)'), GeomFromEWKT('SRID=4674;POINT (-39.703752 -2.871322)'))) / (select extract(epoch from '2026-06-18 09:02:49'::timestamp) - extract(epoch from '2026-06-18 09:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703839 -2.871423)'), GeomFromEWKT('SRID=4674;POINT (-39.703752 -2.871322)'))) / (select extract(epoch from '2026-06-18 09:02:49'::timestamp) - extract(epoch from '2026-06-18 09:02:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.70366 -2.871222)', '2026-06-18 09:02:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703752 -2.871322)'), GeomFromEWKT('SRID=4674;POINT (-39.70366 -2.871222)'))) / (select extract(epoch from '2026-06-18 09:02:56'::timestamp) - extract(epoch from '2026-06-18 09:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703752 -2.871322)'), GeomFromEWKT('SRID=4674;POINT (-39.70366 -2.871222)'))) / (select extract(epoch from '2026-06-18 09:02:56'::timestamp) - extract(epoch from '2026-06-18 09:02: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'), 46821, 'SRID=4674;POINT (-39.703573 -2.871118)', '2026-06-18 09:03:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70366 -2.871222)'), GeomFromEWKT('SRID=4674;POINT (-39.703573 -2.871118)'))) / (select extract(epoch from '2026-06-18 09:03:03'::timestamp) - extract(epoch from '2026-06-18 09:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70366 -2.871222)'), GeomFromEWKT('SRID=4674;POINT (-39.703573 -2.871118)'))) / (select extract(epoch from '2026-06-18 09:03:03'::timestamp) - extract(epoch from '2026-06-18 09:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.703484 -2.871019)', '2026-06-18 09:03:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703573 -2.871118)'), GeomFromEWKT('SRID=4674;POINT (-39.703484 -2.871019)'))) / (select extract(epoch from '2026-06-18 09:03:10'::timestamp) - extract(epoch from '2026-06-18 09:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703573 -2.871118)'), GeomFromEWKT('SRID=4674;POINT (-39.703484 -2.871019)'))) / (select extract(epoch from '2026-06-18 09:03:10'::timestamp) - extract(epoch from '2026-06-18 09:03: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'), 46821, 'SRID=4674;POINT (-39.703414 -2.870939)', '2026-06-18 09:03:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703484 -2.871019)'), GeomFromEWKT('SRID=4674;POINT (-39.703414 -2.870939)'))) / (select extract(epoch from '2026-06-18 09:03:16'::timestamp) - extract(epoch from '2026-06-18 09:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703484 -2.871019)'), GeomFromEWKT('SRID=4674;POINT (-39.703414 -2.870939)'))) / (select extract(epoch from '2026-06-18 09:03:16'::timestamp) - extract(epoch from '2026-06-18 09:03: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'), 46821, 'SRID=4674;POINT (-39.703343 -2.87086)', '2026-06-18 09:03:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703414 -2.870939)'), GeomFromEWKT('SRID=4674;POINT (-39.703343 -2.87086)'))) / (select extract(epoch from '2026-06-18 09:03:22'::timestamp) - extract(epoch from '2026-06-18 09:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703414 -2.870939)'), GeomFromEWKT('SRID=4674;POINT (-39.703343 -2.87086)'))) / (select extract(epoch from '2026-06-18 09:03:22'::timestamp) - extract(epoch from '2026-06-18 09:03:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.703274 -2.870785)', '2026-06-18 09:03:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703343 -2.87086)'), GeomFromEWKT('SRID=4674;POINT (-39.703274 -2.870785)'))) / (select extract(epoch from '2026-06-18 09:03:28'::timestamp) - extract(epoch from '2026-06-18 09:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703343 -2.87086)'), GeomFromEWKT('SRID=4674;POINT (-39.703274 -2.870785)'))) / (select extract(epoch from '2026-06-18 09:03:28'::timestamp) - extract(epoch from '2026-06-18 09:03: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'), 46821, 'SRID=4674;POINT (-39.703171 -2.870676)', '2026-06-18 09:03:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703274 -2.870785)'), GeomFromEWKT('SRID=4674;POINT (-39.703171 -2.870676)'))) / (select extract(epoch from '2026-06-18 09:03:36'::timestamp) - extract(epoch from '2026-06-18 09:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703274 -2.870785)'), GeomFromEWKT('SRID=4674;POINT (-39.703171 -2.870676)'))) / (select extract(epoch from '2026-06-18 09:03:36'::timestamp) - extract(epoch from '2026-06-18 09:03:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.703095 -2.870591)', '2026-06-18 09:03:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703171 -2.870676)'), GeomFromEWKT('SRID=4674;POINT (-39.703095 -2.870591)'))) / (select extract(epoch from '2026-06-18 09:03:42'::timestamp) - extract(epoch from '2026-06-18 09:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703171 -2.870676)'), GeomFromEWKT('SRID=4674;POINT (-39.703095 -2.870591)'))) / (select extract(epoch from '2026-06-18 09:03:42'::timestamp) - extract(epoch from '2026-06-18 09:03:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.703007 -2.870486)', '2026-06-18 09:03:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703095 -2.870591)'), GeomFromEWKT('SRID=4674;POINT (-39.703007 -2.870486)'))) / (select extract(epoch from '2026-06-18 09:03:49'::timestamp) - extract(epoch from '2026-06-18 09:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703095 -2.870591)'), GeomFromEWKT('SRID=4674;POINT (-39.703007 -2.870486)'))) / (select extract(epoch from '2026-06-18 09:03:49'::timestamp) - extract(epoch from '2026-06-18 09:03: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'), 46821, 'SRID=4674;POINT (-39.702922 -2.870391)', '2026-06-18 09:03:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703007 -2.870486)'), GeomFromEWKT('SRID=4674;POINT (-39.702922 -2.870391)'))) / (select extract(epoch from '2026-06-18 09:03:56'::timestamp) - extract(epoch from '2026-06-18 09:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.703007 -2.870486)'), GeomFromEWKT('SRID=4674;POINT (-39.702922 -2.870391)'))) / (select extract(epoch from '2026-06-18 09:03:56'::timestamp) - extract(epoch from '2026-06-18 09:03: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'), 46821, 'SRID=4674;POINT (-39.70282 -2.870271)', '2026-06-18 09:04:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702922 -2.870391)'), GeomFromEWKT('SRID=4674;POINT (-39.70282 -2.870271)'))) / (select extract(epoch from '2026-06-18 09:04:04'::timestamp) - extract(epoch from '2026-06-18 09:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702922 -2.870391)'), GeomFromEWKT('SRID=4674;POINT (-39.70282 -2.870271)'))) / (select extract(epoch from '2026-06-18 09:04:04'::timestamp) - extract(epoch from '2026-06-18 09:03:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.70273 -2.870174)', '2026-06-18 09:04:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70282 -2.870271)'), GeomFromEWKT('SRID=4674;POINT (-39.70273 -2.870174)'))) / (select extract(epoch from '2026-06-18 09:04:11'::timestamp) - extract(epoch from '2026-06-18 09:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70282 -2.870271)'), GeomFromEWKT('SRID=4674;POINT (-39.70273 -2.870174)'))) / (select extract(epoch from '2026-06-18 09:04:11'::timestamp) - extract(epoch from '2026-06-18 09:04:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.702653 -2.870087)', '2026-06-18 09:04:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70273 -2.870174)'), GeomFromEWKT('SRID=4674;POINT (-39.702653 -2.870087)'))) / (select extract(epoch from '2026-06-18 09:04:17'::timestamp) - extract(epoch from '2026-06-18 09:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70273 -2.870174)'), GeomFromEWKT('SRID=4674;POINT (-39.702653 -2.870087)'))) / (select extract(epoch from '2026-06-18 09:04:17'::timestamp) - extract(epoch from '2026-06-18 09:04:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.702558 -2.869992)', '2026-06-18 09:04:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702653 -2.870087)'), GeomFromEWKT('SRID=4674;POINT (-39.702558 -2.869992)'))) / (select extract(epoch from '2026-06-18 09:04:24'::timestamp) - extract(epoch from '2026-06-18 09:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702653 -2.870087)'), GeomFromEWKT('SRID=4674;POINT (-39.702558 -2.869992)'))) / (select extract(epoch from '2026-06-18 09:04:24'::timestamp) - extract(epoch from '2026-06-18 09:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.702463 -2.869894)', '2026-06-18 09:04:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702558 -2.869992)'), GeomFromEWKT('SRID=4674;POINT (-39.702463 -2.869894)'))) / (select extract(epoch from '2026-06-18 09:04:31'::timestamp) - extract(epoch from '2026-06-18 09:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702558 -2.869992)'), GeomFromEWKT('SRID=4674;POINT (-39.702463 -2.869894)'))) / (select extract(epoch from '2026-06-18 09:04:31'::timestamp) - extract(epoch from '2026-06-18 09:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.702367 -2.869793)', '2026-06-18 09:04:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702463 -2.869894)'), GeomFromEWKT('SRID=4674;POINT (-39.702367 -2.869793)'))) / (select extract(epoch from '2026-06-18 09:04:38'::timestamp) - extract(epoch from '2026-06-18 09:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702463 -2.869894)'), GeomFromEWKT('SRID=4674;POINT (-39.702367 -2.869793)'))) / (select extract(epoch from '2026-06-18 09:04:38'::timestamp) - extract(epoch from '2026-06-18 09:04: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'), 46821, 'SRID=4674;POINT (-39.702231 -2.869649)', '2026-06-18 09:04:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702367 -2.869793)'), GeomFromEWKT('SRID=4674;POINT (-39.702231 -2.869649)'))) / (select extract(epoch from '2026-06-18 09:04:48'::timestamp) - extract(epoch from '2026-06-18 09:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702367 -2.869793)'), GeomFromEWKT('SRID=4674;POINT (-39.702231 -2.869649)'))) / (select extract(epoch from '2026-06-18 09:04:48'::timestamp) - extract(epoch from '2026-06-18 09:04:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.702145 -2.869539)', '2026-06-18 09:04:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702231 -2.869649)'), GeomFromEWKT('SRID=4674;POINT (-39.702145 -2.869539)'))) / (select extract(epoch from '2026-06-18 09:04:55'::timestamp) - extract(epoch from '2026-06-18 09:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702231 -2.869649)'), GeomFromEWKT('SRID=4674;POINT (-39.702145 -2.869539)'))) / (select extract(epoch from '2026-06-18 09:04:55'::timestamp) - extract(epoch from '2026-06-18 09:04:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.702053 -2.869427)', '2026-06-18 09:05:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702145 -2.869539)'), GeomFromEWKT('SRID=4674;POINT (-39.702053 -2.869427)'))) / (select extract(epoch from '2026-06-18 09:05:02'::timestamp) - extract(epoch from '2026-06-18 09:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702145 -2.869539)'), GeomFromEWKT('SRID=4674;POINT (-39.702053 -2.869427)'))) / (select extract(epoch from '2026-06-18 09:05:02'::timestamp) - extract(epoch from '2026-06-18 09:04: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'), 46821, 'SRID=4674;POINT (-39.70197 -2.86934)', '2026-06-18 09:05:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702053 -2.869427)'), GeomFromEWKT('SRID=4674;POINT (-39.70197 -2.86934)'))) / (select extract(epoch from '2026-06-18 09:05:08'::timestamp) - extract(epoch from '2026-06-18 09:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.702053 -2.869427)'), GeomFromEWKT('SRID=4674;POINT (-39.70197 -2.86934)'))) / (select extract(epoch from '2026-06-18 09:05:08'::timestamp) - extract(epoch from '2026-06-18 09:05: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'), 46821, 'SRID=4674;POINT (-39.701959 -2.869326)', '2026-06-18 09:05:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70197 -2.86934)'), GeomFromEWKT('SRID=4674;POINT (-39.701959 -2.869326)'))) / (select extract(epoch from '2026-06-18 09:05:09'::timestamp) - extract(epoch from '2026-06-18 09:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70197 -2.86934)'), GeomFromEWKT('SRID=4674;POINT (-39.701959 -2.869326)'))) / (select extract(epoch from '2026-06-18 09:05:09'::timestamp) - extract(epoch from '2026-06-18 09:05:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.701866 -2.869219)', '2026-06-18 09:05:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701959 -2.869326)'), GeomFromEWKT('SRID=4674;POINT (-39.701866 -2.869219)'))) / (select extract(epoch from '2026-06-18 09:05:16'::timestamp) - extract(epoch from '2026-06-18 09:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701959 -2.869326)'), GeomFromEWKT('SRID=4674;POINT (-39.701866 -2.869219)'))) / (select extract(epoch from '2026-06-18 09:05:16'::timestamp) - extract(epoch from '2026-06-18 09:05:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.701786 -2.869132)', '2026-06-18 09:05:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701866 -2.869219)'), GeomFromEWKT('SRID=4674;POINT (-39.701786 -2.869132)'))) / (select extract(epoch from '2026-06-18 09:05:22'::timestamp) - extract(epoch from '2026-06-18 09:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701866 -2.869219)'), GeomFromEWKT('SRID=4674;POINT (-39.701786 -2.869132)'))) / (select extract(epoch from '2026-06-18 09:05:22'::timestamp) - extract(epoch from '2026-06-18 09:05: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'), 46821, 'SRID=4674;POINT (-39.701705 -2.869034)', '2026-06-18 09:05:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701786 -2.869132)'), GeomFromEWKT('SRID=4674;POINT (-39.701705 -2.869034)'))) / (select extract(epoch from '2026-06-18 09:05:29'::timestamp) - extract(epoch from '2026-06-18 09:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701786 -2.869132)'), GeomFromEWKT('SRID=4674;POINT (-39.701705 -2.869034)'))) / (select extract(epoch from '2026-06-18 09:05:29'::timestamp) - extract(epoch from '2026-06-18 09:05:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.701631 -2.868948)', '2026-06-18 09:05:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701705 -2.869034)'), GeomFromEWKT('SRID=4674;POINT (-39.701631 -2.868948)'))) / (select extract(epoch from '2026-06-18 09:05:35'::timestamp) - extract(epoch from '2026-06-18 09:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701705 -2.869034)'), GeomFromEWKT('SRID=4674;POINT (-39.701631 -2.868948)'))) / (select extract(epoch from '2026-06-18 09:05:35'::timestamp) - extract(epoch from '2026-06-18 09:05:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.701529 -2.868838)', '2026-06-18 09:05:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701631 -2.868948)'), GeomFromEWKT('SRID=4674;POINT (-39.701529 -2.868838)'))) / (select extract(epoch from '2026-06-18 09:05:43'::timestamp) - extract(epoch from '2026-06-18 09:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701631 -2.868948)'), GeomFromEWKT('SRID=4674;POINT (-39.701529 -2.868838)'))) / (select extract(epoch from '2026-06-18 09:05:43'::timestamp) - extract(epoch from '2026-06-18 09:05: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'), 46821, 'SRID=4674;POINT (-39.701425 -2.868721)', '2026-06-18 09:05:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701529 -2.868838)'), GeomFromEWKT('SRID=4674;POINT (-39.701425 -2.868721)'))) / (select extract(epoch from '2026-06-18 09:05:51'::timestamp) - extract(epoch from '2026-06-18 09:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701529 -2.868838)'), GeomFromEWKT('SRID=4674;POINT (-39.701425 -2.868721)'))) / (select extract(epoch from '2026-06-18 09:05:51'::timestamp) - extract(epoch from '2026-06-18 09:05:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.70135 -2.868629)', '2026-06-18 09:05:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701425 -2.868721)'), GeomFromEWKT('SRID=4674;POINT (-39.70135 -2.868629)'))) / (select extract(epoch from '2026-06-18 09:05:57'::timestamp) - extract(epoch from '2026-06-18 09:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701425 -2.868721)'), GeomFromEWKT('SRID=4674;POINT (-39.70135 -2.868629)'))) / (select extract(epoch from '2026-06-18 09:05:57'::timestamp) - extract(epoch from '2026-06-18 09:05: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'), 46821, 'SRID=4674;POINT (-39.701267 -2.868518)', '2026-06-18 09:06:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70135 -2.868629)'), GeomFromEWKT('SRID=4674;POINT (-39.701267 -2.868518)'))) / (select extract(epoch from '2026-06-18 09:06:04'::timestamp) - extract(epoch from '2026-06-18 09:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70135 -2.868629)'), GeomFromEWKT('SRID=4674;POINT (-39.701267 -2.868518)'))) / (select extract(epoch from '2026-06-18 09:06:04'::timestamp) - extract(epoch from '2026-06-18 09:05: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'), 46821, 'SRID=4674;POINT (-39.701188 -2.868419)', '2026-06-18 09:06:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701267 -2.868518)'), GeomFromEWKT('SRID=4674;POINT (-39.701188 -2.868419)'))) / (select extract(epoch from '2026-06-18 09:06:10'::timestamp) - extract(epoch from '2026-06-18 09:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701267 -2.868518)'), GeomFromEWKT('SRID=4674;POINT (-39.701188 -2.868419)'))) / (select extract(epoch from '2026-06-18 09:06:10'::timestamp) - extract(epoch from '2026-06-18 09:06: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'), 46821, 'SRID=4674;POINT (-39.701101 -2.868328)', '2026-06-18 09:06:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701188 -2.868419)'), GeomFromEWKT('SRID=4674;POINT (-39.701101 -2.868328)'))) / (select extract(epoch from '2026-06-18 09:06:16'::timestamp) - extract(epoch from '2026-06-18 09:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701188 -2.868419)'), GeomFromEWKT('SRID=4674;POINT (-39.701101 -2.868328)'))) / (select extract(epoch from '2026-06-18 09:06:16'::timestamp) - extract(epoch from '2026-06-18 09:06: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'), 46821, 'SRID=4674;POINT (-39.701006 -2.868227)', '2026-06-18 09:06:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701101 -2.868328)'), GeomFromEWKT('SRID=4674;POINT (-39.701006 -2.868227)'))) / (select extract(epoch from '2026-06-18 09:06:23'::timestamp) - extract(epoch from '2026-06-18 09:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701101 -2.868328)'), GeomFromEWKT('SRID=4674;POINT (-39.701006 -2.868227)'))) / (select extract(epoch from '2026-06-18 09:06:23'::timestamp) - extract(epoch from '2026-06-18 09:06: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'), 46821, 'SRID=4674;POINT (-39.700899 -2.868102)', '2026-06-18 09:06:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701006 -2.868227)'), GeomFromEWKT('SRID=4674;POINT (-39.700899 -2.868102)'))) / (select extract(epoch from '2026-06-18 09:06:31'::timestamp) - extract(epoch from '2026-06-18 09:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701006 -2.868227)'), GeomFromEWKT('SRID=4674;POINT (-39.700899 -2.868102)'))) / (select extract(epoch from '2026-06-18 09:06:31'::timestamp) - extract(epoch from '2026-06-18 09:06:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.700831 -2.868009)', '2026-06-18 09:06:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700899 -2.868102)'), GeomFromEWKT('SRID=4674;POINT (-39.700831 -2.868009)'))) / (select extract(epoch from '2026-06-18 09:06:37'::timestamp) - extract(epoch from '2026-06-18 09:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700899 -2.868102)'), GeomFromEWKT('SRID=4674;POINT (-39.700831 -2.868009)'))) / (select extract(epoch from '2026-06-18 09:06:37'::timestamp) - extract(epoch from '2026-06-18 09:06:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.700755 -2.867895)', '2026-06-18 09:06:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700831 -2.868009)'), GeomFromEWKT('SRID=4674;POINT (-39.700755 -2.867895)'))) / (select extract(epoch from '2026-06-18 09:06:44'::timestamp) - extract(epoch from '2026-06-18 09:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700831 -2.868009)'), GeomFromEWKT('SRID=4674;POINT (-39.700755 -2.867895)'))) / (select extract(epoch from '2026-06-18 09:06:44'::timestamp) - extract(epoch from '2026-06-18 09:06: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'), 46821, 'SRID=4674;POINT (-39.700676 -2.867772)', '2026-06-18 09:06:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700755 -2.867895)'), GeomFromEWKT('SRID=4674;POINT (-39.700676 -2.867772)'))) / (select extract(epoch from '2026-06-18 09:06:51'::timestamp) - extract(epoch from '2026-06-18 09:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700755 -2.867895)'), GeomFromEWKT('SRID=4674;POINT (-39.700676 -2.867772)'))) / (select extract(epoch from '2026-06-18 09:06:51'::timestamp) - extract(epoch from '2026-06-18 09:06: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'), 46821, 'SRID=4674;POINT (-39.700601 -2.867645)', '2026-06-18 09:06:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700676 -2.867772)'), GeomFromEWKT('SRID=4674;POINT (-39.700601 -2.867645)'))) / (select extract(epoch from '2026-06-18 09:06:58'::timestamp) - extract(epoch from '2026-06-18 09:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700676 -2.867772)'), GeomFromEWKT('SRID=4674;POINT (-39.700601 -2.867645)'))) / (select extract(epoch from '2026-06-18 09:06:58'::timestamp) - extract(epoch from '2026-06-18 09:06: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'), 46821, 'SRID=4674;POINT (-39.700541 -2.867537)', '2026-06-18 09:07:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700601 -2.867645)'), GeomFromEWKT('SRID=4674;POINT (-39.700541 -2.867537)'))) / (select extract(epoch from '2026-06-18 09:07:04'::timestamp) - extract(epoch from '2026-06-18 09:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700601 -2.867645)'), GeomFromEWKT('SRID=4674;POINT (-39.700541 -2.867537)'))) / (select extract(epoch from '2026-06-18 09:07:04'::timestamp) - extract(epoch from '2026-06-18 09:06: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'), 46821, 'SRID=4674;POINT (-39.700465 -2.867395)', '2026-06-18 09:07:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700541 -2.867537)'), GeomFromEWKT('SRID=4674;POINT (-39.700465 -2.867395)'))) / (select extract(epoch from '2026-06-18 09:07:12'::timestamp) - extract(epoch from '2026-06-18 09:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700541 -2.867537)'), GeomFromEWKT('SRID=4674;POINT (-39.700465 -2.867395)'))) / (select extract(epoch from '2026-06-18 09:07:12'::timestamp) - extract(epoch from '2026-06-18 09:07: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'), 46821, 'SRID=4674;POINT (-39.700381 -2.867228)', '2026-06-18 09:07:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700465 -2.867395)'), GeomFromEWKT('SRID=4674;POINT (-39.700381 -2.867228)'))) / (select extract(epoch from '2026-06-18 09:07:21'::timestamp) - extract(epoch from '2026-06-18 09:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700465 -2.867395)'), GeomFromEWKT('SRID=4674;POINT (-39.700381 -2.867228)'))) / (select extract(epoch from '2026-06-18 09:07:21'::timestamp) - extract(epoch from '2026-06-18 09:07: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'), 46821, 'SRID=4674;POINT (-39.70032 -2.867113)', '2026-06-18 09:07:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700381 -2.867228)'), GeomFromEWKT('SRID=4674;POINT (-39.70032 -2.867113)'))) / (select extract(epoch from '2026-06-18 09:07:27'::timestamp) - extract(epoch from '2026-06-18 09:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700381 -2.867228)'), GeomFromEWKT('SRID=4674;POINT (-39.70032 -2.867113)'))) / (select extract(epoch from '2026-06-18 09:07:27'::timestamp) - extract(epoch from '2026-06-18 09:07: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'), 46821, 'SRID=4674;POINT (-39.700254 -2.867002)', '2026-06-18 09:07:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70032 -2.867113)'), GeomFromEWKT('SRID=4674;POINT (-39.700254 -2.867002)'))) / (select extract(epoch from '2026-06-18 09:07:33'::timestamp) - extract(epoch from '2026-06-18 09:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70032 -2.867113)'), GeomFromEWKT('SRID=4674;POINT (-39.700254 -2.867002)'))) / (select extract(epoch from '2026-06-18 09:07:33'::timestamp) - extract(epoch from '2026-06-18 09:07: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'), 46821, 'SRID=4674;POINT (-39.700202 -2.866907)', '2026-06-18 09:07:38', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700254 -2.867002)'), GeomFromEWKT('SRID=4674;POINT (-39.700202 -2.866907)'))) / (select extract(epoch from '2026-06-18 09:07:38'::timestamp) - extract(epoch from '2026-06-18 09:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700254 -2.867002)'), GeomFromEWKT('SRID=4674;POINT (-39.700202 -2.866907)'))) / (select extract(epoch from '2026-06-18 09:07:38'::timestamp) - extract(epoch from '2026-06-18 09:07: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'), 46821, 'SRID=4674;POINT (-39.700131 -2.866773)', '2026-06-18 09:07:45', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700202 -2.866907)'), GeomFromEWKT('SRID=4674;POINT (-39.700131 -2.866773)'))) / (select extract(epoch from '2026-06-18 09:07:45'::timestamp) - extract(epoch from '2026-06-18 09:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700202 -2.866907)'), GeomFromEWKT('SRID=4674;POINT (-39.700131 -2.866773)'))) / (select extract(epoch from '2026-06-18 09:07:45'::timestamp) - extract(epoch from '2026-06-18 09:07: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'), 46821, 'SRID=4674;POINT (-39.700073 -2.866686)', '2026-06-18 09:07:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700131 -2.866773)'), GeomFromEWKT('SRID=4674;POINT (-39.700073 -2.866686)'))) / (select extract(epoch from '2026-06-18 09:07:50'::timestamp) - extract(epoch from '2026-06-18 09:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700131 -2.866773)'), GeomFromEWKT('SRID=4674;POINT (-39.700073 -2.866686)'))) / (select extract(epoch from '2026-06-18 09:07:50'::timestamp) - extract(epoch from '2026-06-18 09:07: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'), 46821, 'SRID=4674;POINT (-39.700009 -2.866572)', '2026-06-18 09:07:56', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700073 -2.866686)'), GeomFromEWKT('SRID=4674;POINT (-39.700009 -2.866572)'))) / (select extract(epoch from '2026-06-18 09:07:56'::timestamp) - extract(epoch from '2026-06-18 09:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700073 -2.866686)'), GeomFromEWKT('SRID=4674;POINT (-39.700009 -2.866572)'))) / (select extract(epoch from '2026-06-18 09:07:56'::timestamp) - extract(epoch from '2026-06-18 09:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.699955 -2.866434)', '2026-06-18 09:08:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700009 -2.866572)'), GeomFromEWKT('SRID=4674;POINT (-39.699955 -2.866434)'))) / (select extract(epoch from '2026-06-18 09:08:03'::timestamp) - extract(epoch from '2026-06-18 09:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700009 -2.866572)'), GeomFromEWKT('SRID=4674;POINT (-39.699955 -2.866434)'))) / (select extract(epoch from '2026-06-18 09:08:03'::timestamp) - extract(epoch from '2026-06-18 09:07:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.699902 -2.866323)', '2026-06-18 09:08:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699955 -2.866434)'), GeomFromEWKT('SRID=4674;POINT (-39.699902 -2.866323)'))) / (select extract(epoch from '2026-06-18 09:08:09'::timestamp) - extract(epoch from '2026-06-18 09:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699955 -2.866434)'), GeomFromEWKT('SRID=4674;POINT (-39.699902 -2.866323)'))) / (select extract(epoch from '2026-06-18 09:08:09'::timestamp) - extract(epoch from '2026-06-18 09:08:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.699847 -2.866203)', '2026-06-18 09:08:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699902 -2.866323)'), GeomFromEWKT('SRID=4674;POINT (-39.699847 -2.866203)'))) / (select extract(epoch from '2026-06-18 09:08:16'::timestamp) - extract(epoch from '2026-06-18 09:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699902 -2.866323)'), GeomFromEWKT('SRID=4674;POINT (-39.699847 -2.866203)'))) / (select extract(epoch from '2026-06-18 09:08:16'::timestamp) - extract(epoch from '2026-06-18 09:08: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'), 46821, 'SRID=4674;POINT (-39.699803 -2.866117)', '2026-06-18 09:08:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699847 -2.866203)'), GeomFromEWKT('SRID=4674;POINT (-39.699803 -2.866117)'))) / (select extract(epoch from '2026-06-18 09:08:21'::timestamp) - extract(epoch from '2026-06-18 09:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699847 -2.866203)'), GeomFromEWKT('SRID=4674;POINT (-39.699803 -2.866117)'))) / (select extract(epoch from '2026-06-18 09:08:21'::timestamp) - extract(epoch from '2026-06-18 09:08: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'), 46821, 'SRID=4674;POINT (-39.699736 -2.865995)', '2026-06-18 09:08:28', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699803 -2.866117)'), GeomFromEWKT('SRID=4674;POINT (-39.699736 -2.865995)'))) / (select extract(epoch from '2026-06-18 09:08:28'::timestamp) - extract(epoch from '2026-06-18 09:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699803 -2.866117)'), GeomFromEWKT('SRID=4674;POINT (-39.699736 -2.865995)'))) / (select extract(epoch from '2026-06-18 09:08:28'::timestamp) - extract(epoch from '2026-06-18 09:08: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'), 46821, 'SRID=4674;POINT (-39.699675 -2.865888)', '2026-06-18 09:08:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699736 -2.865995)'), GeomFromEWKT('SRID=4674;POINT (-39.699675 -2.865888)'))) / (select extract(epoch from '2026-06-18 09:08:34'::timestamp) - extract(epoch from '2026-06-18 09:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699736 -2.865995)'), GeomFromEWKT('SRID=4674;POINT (-39.699675 -2.865888)'))) / (select extract(epoch from '2026-06-18 09:08:34'::timestamp) - extract(epoch from '2026-06-18 09:08:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.699612 -2.865782)', '2026-06-18 09:08:40', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699675 -2.865888)'), GeomFromEWKT('SRID=4674;POINT (-39.699612 -2.865782)'))) / (select extract(epoch from '2026-06-18 09:08:40'::timestamp) - extract(epoch from '2026-06-18 09:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699675 -2.865888)'), GeomFromEWKT('SRID=4674;POINT (-39.699612 -2.865782)'))) / (select extract(epoch from '2026-06-18 09:08:40'::timestamp) - extract(epoch from '2026-06-18 09:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.699566 -2.865688)', '2026-06-18 09:08:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699612 -2.865782)'), GeomFromEWKT('SRID=4674;POINT (-39.699566 -2.865688)'))) / (select extract(epoch from '2026-06-18 09:08:45'::timestamp) - extract(epoch from '2026-06-18 09:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699612 -2.865782)'), GeomFromEWKT('SRID=4674;POINT (-39.699566 -2.865688)'))) / (select extract(epoch from '2026-06-18 09:08:45'::timestamp) - extract(epoch from '2026-06-18 09:08:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.69952 -2.865569)', '2026-06-18 09:08:51', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699566 -2.865688)'), GeomFromEWKT('SRID=4674;POINT (-39.69952 -2.865569)'))) / (select extract(epoch from '2026-06-18 09:08:51'::timestamp) - extract(epoch from '2026-06-18 09:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699566 -2.865688)'), GeomFromEWKT('SRID=4674;POINT (-39.69952 -2.865569)'))) / (select extract(epoch from '2026-06-18 09:08:51'::timestamp) - extract(epoch from '2026-06-18 09:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.69946 -2.865435)', '2026-06-18 09:08:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69952 -2.865569)'), GeomFromEWKT('SRID=4674;POINT (-39.69946 -2.865435)'))) / (select extract(epoch from '2026-06-18 09:08:58'::timestamp) - extract(epoch from '2026-06-18 09:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69952 -2.865569)'), GeomFromEWKT('SRID=4674;POINT (-39.69946 -2.865435)'))) / (select extract(epoch from '2026-06-18 09:08:58'::timestamp) - extract(epoch from '2026-06-18 09:08: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'), 46821, 'SRID=4674;POINT (-39.699404 -2.865321)', '2026-06-18 09:09:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69946 -2.865435)'), GeomFromEWKT('SRID=4674;POINT (-39.699404 -2.865321)'))) / (select extract(epoch from '2026-06-18 09:09:04'::timestamp) - extract(epoch from '2026-06-18 09:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69946 -2.865435)'), GeomFromEWKT('SRID=4674;POINT (-39.699404 -2.865321)'))) / (select extract(epoch from '2026-06-18 09:09:04'::timestamp) - extract(epoch from '2026-06-18 09:08: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'), 46821, 'SRID=4674;POINT (-39.699354 -2.865204)', '2026-06-18 09:09:10', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699404 -2.865321)'), GeomFromEWKT('SRID=4674;POINT (-39.699354 -2.865204)'))) / (select extract(epoch from '2026-06-18 09:09:10'::timestamp) - extract(epoch from '2026-06-18 09:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699404 -2.865321)'), GeomFromEWKT('SRID=4674;POINT (-39.699354 -2.865204)'))) / (select extract(epoch from '2026-06-18 09:09:10'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.699312 -2.865092)', '2026-06-18 09:09:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699354 -2.865204)'), GeomFromEWKT('SRID=4674;POINT (-39.699312 -2.865092)'))) / (select extract(epoch from '2026-06-18 09:09:16'::timestamp) - extract(epoch from '2026-06-18 09:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699354 -2.865204)'), GeomFromEWKT('SRID=4674;POINT (-39.699312 -2.865092)'))) / (select extract(epoch from '2026-06-18 09:09:16'::timestamp) - extract(epoch from '2026-06-18 09:09: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'), 46821, 'SRID=4674;POINT (-39.699263 -2.865007)', '2026-06-18 09:09:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699312 -2.865092)'), GeomFromEWKT('SRID=4674;POINT (-39.699263 -2.865007)'))) / (select extract(epoch from '2026-06-18 09:09:21'::timestamp) - extract(epoch from '2026-06-18 09:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699312 -2.865092)'), GeomFromEWKT('SRID=4674;POINT (-39.699263 -2.865007)'))) / (select extract(epoch from '2026-06-18 09:09:21'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.699187 -2.864885)', '2026-06-18 09:09:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699263 -2.865007)'), GeomFromEWKT('SRID=4674;POINT (-39.699187 -2.864885)'))) / (select extract(epoch from '2026-06-18 09:09:28'::timestamp) - extract(epoch from '2026-06-18 09:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699263 -2.865007)'), GeomFromEWKT('SRID=4674;POINT (-39.699187 -2.864885)'))) / (select extract(epoch from '2026-06-18 09:09:28'::timestamp) - extract(epoch from '2026-06-18 09:09: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'), 46821, 'SRID=4674;POINT (-39.699097 -2.864737)', '2026-06-18 09:09:36', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699187 -2.864885)'), GeomFromEWKT('SRID=4674;POINT (-39.699097 -2.864737)'))) / (select extract(epoch from '2026-06-18 09:09:36'::timestamp) - extract(epoch from '2026-06-18 09:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699187 -2.864885)'), GeomFromEWKT('SRID=4674;POINT (-39.699097 -2.864737)'))) / (select extract(epoch from '2026-06-18 09:09:36'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.699028 -2.8646)', '2026-06-18 09:09:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699097 -2.864737)'), GeomFromEWKT('SRID=4674;POINT (-39.699028 -2.8646)'))) / (select extract(epoch from '2026-06-18 09:09:43'::timestamp) - extract(epoch from '2026-06-18 09:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699097 -2.864737)'), GeomFromEWKT('SRID=4674;POINT (-39.699028 -2.8646)'))) / (select extract(epoch from '2026-06-18 09:09:43'::timestamp) - extract(epoch from '2026-06-18 09:09:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.698971 -2.864491)', '2026-06-18 09:09:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699028 -2.8646)'), GeomFromEWKT('SRID=4674;POINT (-39.698971 -2.864491)'))) / (select extract(epoch from '2026-06-18 09:09:49'::timestamp) - extract(epoch from '2026-06-18 09:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699028 -2.8646)'), GeomFromEWKT('SRID=4674;POINT (-39.698971 -2.864491)'))) / (select extract(epoch from '2026-06-18 09:09:49'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.698922 -2.864383)', '2026-06-18 09:09:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698971 -2.864491)'), GeomFromEWKT('SRID=4674;POINT (-39.698922 -2.864383)'))) / (select extract(epoch from '2026-06-18 09:09:55'::timestamp) - extract(epoch from '2026-06-18 09:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698971 -2.864491)'), GeomFromEWKT('SRID=4674;POINT (-39.698922 -2.864383)'))) / (select extract(epoch from '2026-06-18 09:09:55'::timestamp) - extract(epoch from '2026-06-18 09:09: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'), 46821, 'SRID=4674;POINT (-39.698875 -2.864278)', '2026-06-18 09:10:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698922 -2.864383)'), GeomFromEWKT('SRID=4674;POINT (-39.698875 -2.864278)'))) / (select extract(epoch from '2026-06-18 09:10:01'::timestamp) - extract(epoch from '2026-06-18 09:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698922 -2.864383)'), GeomFromEWKT('SRID=4674;POINT (-39.698875 -2.864278)'))) / (select extract(epoch from '2026-06-18 09:10:01'::timestamp) - extract(epoch from '2026-06-18 09:09: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'), 46821, 'SRID=4674;POINT (-39.698807 -2.864153)', '2026-06-18 09:10:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698875 -2.864278)'), GeomFromEWKT('SRID=4674;POINT (-39.698807 -2.864153)'))) / (select extract(epoch from '2026-06-18 09:10:08'::timestamp) - extract(epoch from '2026-06-18 09:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698875 -2.864278)'), GeomFromEWKT('SRID=4674;POINT (-39.698807 -2.864153)'))) / (select extract(epoch from '2026-06-18 09:10:08'::timestamp) - extract(epoch from '2026-06-18 09:10: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'), 46821, 'SRID=4674;POINT (-39.698743 -2.864021)', '2026-06-18 09:10:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698807 -2.864153)'), GeomFromEWKT('SRID=4674;POINT (-39.698743 -2.864021)'))) / (select extract(epoch from '2026-06-18 09:10:15'::timestamp) - extract(epoch from '2026-06-18 09:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698807 -2.864153)'), GeomFromEWKT('SRID=4674;POINT (-39.698743 -2.864021)'))) / (select extract(epoch from '2026-06-18 09:10:15'::timestamp) - extract(epoch from '2026-06-18 09:10: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'), 46821, 'SRID=4674;POINT (-39.698676 -2.863883)', '2026-06-18 09:10:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698743 -2.864021)'), GeomFromEWKT('SRID=4674;POINT (-39.698676 -2.863883)'))) / (select extract(epoch from '2026-06-18 09:10:22'::timestamp) - extract(epoch from '2026-06-18 09:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698743 -2.864021)'), GeomFromEWKT('SRID=4674;POINT (-39.698676 -2.863883)'))) / (select extract(epoch from '2026-06-18 09:10:22'::timestamp) - extract(epoch from '2026-06-18 09:10: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'), 46821, 'SRID=4674;POINT (-39.698599 -2.863755)', '2026-06-18 09:10:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698676 -2.863883)'), GeomFromEWKT('SRID=4674;POINT (-39.698599 -2.863755)'))) / (select extract(epoch from '2026-06-18 09:10:29'::timestamp) - extract(epoch from '2026-06-18 09:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698676 -2.863883)'), GeomFromEWKT('SRID=4674;POINT (-39.698599 -2.863755)'))) / (select extract(epoch from '2026-06-18 09:10:29'::timestamp) - extract(epoch from '2026-06-18 09:10:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.698531 -2.86362)', '2026-06-18 09:10:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698599 -2.863755)'), GeomFromEWKT('SRID=4674;POINT (-39.698531 -2.86362)'))) / (select extract(epoch from '2026-06-18 09:10:36'::timestamp) - extract(epoch from '2026-06-18 09:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698599 -2.863755)'), GeomFromEWKT('SRID=4674;POINT (-39.698531 -2.86362)'))) / (select extract(epoch from '2026-06-18 09:10:36'::timestamp) - extract(epoch from '2026-06-18 09:10:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.698481 -2.863508)', '2026-06-18 09:10:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698531 -2.86362)'), GeomFromEWKT('SRID=4674;POINT (-39.698481 -2.863508)'))) / (select extract(epoch from '2026-06-18 09:10:42'::timestamp) - extract(epoch from '2026-06-18 09:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698531 -2.86362)'), GeomFromEWKT('SRID=4674;POINT (-39.698481 -2.863508)'))) / (select extract(epoch from '2026-06-18 09:10:42'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.698412 -2.863412)', '2026-06-18 09:10:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698481 -2.863508)'), GeomFromEWKT('SRID=4674;POINT (-39.698412 -2.863412)'))) / (select extract(epoch from '2026-06-18 09:10:48'::timestamp) - extract(epoch from '2026-06-18 09:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698481 -2.863508)'), GeomFromEWKT('SRID=4674;POINT (-39.698412 -2.863412)'))) / (select extract(epoch from '2026-06-18 09:10:48'::timestamp) - extract(epoch from '2026-06-18 09:10:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.698351 -2.86331)', '2026-06-18 09:10:54', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698412 -2.863412)'), GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.86331)'))) / (select extract(epoch from '2026-06-18 09:10:54'::timestamp) - extract(epoch from '2026-06-18 09:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698412 -2.863412)'), GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.86331)'))) / (select extract(epoch from '2026-06-18 09:10:54'::timestamp) - extract(epoch from '2026-06-18 09:10: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'), 46821, 'SRID=4674;POINT (-39.698298 -2.863208)', '2026-06-18 09:11:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.86331)'), GeomFromEWKT('SRID=4674;POINT (-39.698298 -2.863208)'))) / (select extract(epoch from '2026-06-18 09:11:00'::timestamp) - extract(epoch from '2026-06-18 09:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698351 -2.86331)'), GeomFromEWKT('SRID=4674;POINT (-39.698298 -2.863208)'))) / (select extract(epoch from '2026-06-18 09:11:00'::timestamp) - extract(epoch from '2026-06-18 09:10: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'), 46821, 'SRID=4674;POINT (-39.698242 -2.863104)', '2026-06-18 09:11:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698298 -2.863208)'), GeomFromEWKT('SRID=4674;POINT (-39.698242 -2.863104)'))) / (select extract(epoch from '2026-06-18 09:11:06'::timestamp) - extract(epoch from '2026-06-18 09:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698298 -2.863208)'), GeomFromEWKT('SRID=4674;POINT (-39.698242 -2.863104)'))) / (select extract(epoch from '2026-06-18 09:11:06'::timestamp) - extract(epoch from '2026-06-18 09:11: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'), 46821, 'SRID=4674;POINT (-39.698173 -2.862953)', '2026-06-18 09:11:14', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698242 -2.863104)'), GeomFromEWKT('SRID=4674;POINT (-39.698173 -2.862953)'))) / (select extract(epoch from '2026-06-18 09:11:14'::timestamp) - extract(epoch from '2026-06-18 09:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698242 -2.863104)'), GeomFromEWKT('SRID=4674;POINT (-39.698173 -2.862953)'))) / (select extract(epoch from '2026-06-18 09:11:14'::timestamp) - extract(epoch from '2026-06-18 09:11: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'), 46821, 'SRID=4674;POINT (-39.698108 -2.86284)', '2026-06-18 09:11:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698173 -2.862953)'), GeomFromEWKT('SRID=4674;POINT (-39.698108 -2.86284)'))) / (select extract(epoch from '2026-06-18 09:11:20'::timestamp) - extract(epoch from '2026-06-18 09:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698173 -2.862953)'), GeomFromEWKT('SRID=4674;POINT (-39.698108 -2.86284)'))) / (select extract(epoch from '2026-06-18 09:11:20'::timestamp) - extract(epoch from '2026-06-18 09:11: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'), 46821, 'SRID=4674;POINT (-39.698052 -2.862729)', '2026-06-18 09:11:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698108 -2.86284)'), GeomFromEWKT('SRID=4674;POINT (-39.698052 -2.862729)'))) / (select extract(epoch from '2026-06-18 09:11:26'::timestamp) - extract(epoch from '2026-06-18 09:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698108 -2.86284)'), GeomFromEWKT('SRID=4674;POINT (-39.698052 -2.862729)'))) / (select extract(epoch from '2026-06-18 09:11:26'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.697996 -2.862617)', '2026-06-18 09:11:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698052 -2.862729)'), GeomFromEWKT('SRID=4674;POINT (-39.697996 -2.862617)'))) / (select extract(epoch from '2026-06-18 09:11:32'::timestamp) - extract(epoch from '2026-06-18 09:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698052 -2.862729)'), GeomFromEWKT('SRID=4674;POINT (-39.697996 -2.862617)'))) / (select extract(epoch from '2026-06-18 09:11:32'::timestamp) - extract(epoch from '2026-06-18 09:11: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'), 46821, 'SRID=4674;POINT (-39.697956 -2.862543)', '2026-06-18 09:11:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697996 -2.862617)'), GeomFromEWKT('SRID=4674;POINT (-39.697956 -2.862543)'))) / (select extract(epoch from '2026-06-18 09:11:36'::timestamp) - extract(epoch from '2026-06-18 09:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697996 -2.862617)'), GeomFromEWKT('SRID=4674;POINT (-39.697956 -2.862543)'))) / (select extract(epoch from '2026-06-18 09:11:36'::timestamp) - extract(epoch from '2026-06-18 09:11: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'), 46821, 'SRID=4674;POINT (-39.697879 -2.862422)', '2026-06-18 09:11:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697956 -2.862543)'), GeomFromEWKT('SRID=4674;POINT (-39.697879 -2.862422)'))) / (select extract(epoch from '2026-06-18 09:11:43'::timestamp) - extract(epoch from '2026-06-18 09:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697956 -2.862543)'), GeomFromEWKT('SRID=4674;POINT (-39.697879 -2.862422)'))) / (select extract(epoch from '2026-06-18 09:11:43'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.69781 -2.862314)', '2026-06-18 09:11:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697879 -2.862422)'), GeomFromEWKT('SRID=4674;POINT (-39.69781 -2.862314)'))) / (select extract(epoch from '2026-06-18 09:11:49'::timestamp) - extract(epoch from '2026-06-18 09:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697879 -2.862422)'), GeomFromEWKT('SRID=4674;POINT (-39.69781 -2.862314)'))) / (select extract(epoch from '2026-06-18 09:11:49'::timestamp) - extract(epoch from '2026-06-18 09:11: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'), 46821, 'SRID=4674;POINT (-39.697739 -2.862203)', '2026-06-18 09:11:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69781 -2.862314)'), GeomFromEWKT('SRID=4674;POINT (-39.697739 -2.862203)'))) / (select extract(epoch from '2026-06-18 09:11:55'::timestamp) - extract(epoch from '2026-06-18 09:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69781 -2.862314)'), GeomFromEWKT('SRID=4674;POINT (-39.697739 -2.862203)'))) / (select extract(epoch from '2026-06-18 09:11:55'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.69765 -2.86205)', '2026-06-18 09:12:03', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697739 -2.862203)'), GeomFromEWKT('SRID=4674;POINT (-39.69765 -2.86205)'))) / (select extract(epoch from '2026-06-18 09:12:03'::timestamp) - extract(epoch from '2026-06-18 09:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697739 -2.862203)'), GeomFromEWKT('SRID=4674;POINT (-39.69765 -2.86205)'))) / (select extract(epoch from '2026-06-18 09:12:03'::timestamp) - extract(epoch from '2026-06-18 09:11: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'), 46821, 'SRID=4674;POINT (-39.697604 -2.861958)', '2026-06-18 09:12:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69765 -2.86205)'), GeomFromEWKT('SRID=4674;POINT (-39.697604 -2.861958)'))) / (select extract(epoch from '2026-06-18 09:12:08'::timestamp) - extract(epoch from '2026-06-18 09:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69765 -2.86205)'), GeomFromEWKT('SRID=4674;POINT (-39.697604 -2.861958)'))) / (select extract(epoch from '2026-06-18 09:12:08'::timestamp) - extract(epoch from '2026-06-18 09:12: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'), 46821, 'SRID=4674;POINT (-39.697547 -2.861843)', '2026-06-18 09:12:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697604 -2.861958)'), GeomFromEWKT('SRID=4674;POINT (-39.697547 -2.861843)'))) / (select extract(epoch from '2026-06-18 09:12:14'::timestamp) - extract(epoch from '2026-06-18 09:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697604 -2.861958)'), GeomFromEWKT('SRID=4674;POINT (-39.697547 -2.861843)'))) / (select extract(epoch from '2026-06-18 09:12:14'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.697463 -2.861672)', '2026-06-18 09:12:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697547 -2.861843)'), GeomFromEWKT('SRID=4674;POINT (-39.697463 -2.861672)'))) / (select extract(epoch from '2026-06-18 09:12:23'::timestamp) - extract(epoch from '2026-06-18 09:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697547 -2.861843)'), GeomFromEWKT('SRID=4674;POINT (-39.697463 -2.861672)'))) / (select extract(epoch from '2026-06-18 09:12:23'::timestamp) - extract(epoch from '2026-06-18 09:12: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'), 46821, 'SRID=4674;POINT (-39.697414 -2.861578)', '2026-06-18 09:12:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697463 -2.861672)'), GeomFromEWKT('SRID=4674;POINT (-39.697414 -2.861578)'))) / (select extract(epoch from '2026-06-18 09:12:28'::timestamp) - extract(epoch from '2026-06-18 09:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697463 -2.861672)'), GeomFromEWKT('SRID=4674;POINT (-39.697414 -2.861578)'))) / (select extract(epoch from '2026-06-18 09:12:28'::timestamp) - extract(epoch from '2026-06-18 09:12: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'), 46821, 'SRID=4674;POINT (-39.697352 -2.86146)', '2026-06-18 09:12:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697414 -2.861578)'), GeomFromEWKT('SRID=4674;POINT (-39.697352 -2.86146)'))) / (select extract(epoch from '2026-06-18 09:12:34'::timestamp) - extract(epoch from '2026-06-18 09:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697414 -2.861578)'), GeomFromEWKT('SRID=4674;POINT (-39.697352 -2.86146)'))) / (select extract(epoch from '2026-06-18 09:12:34'::timestamp) - extract(epoch from '2026-06-18 09:12: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'), 46821, 'SRID=4674;POINT (-39.697342 -2.861443)', '2026-06-18 09:12:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697352 -2.86146)'), GeomFromEWKT('SRID=4674;POINT (-39.697342 -2.861443)'))) / (select extract(epoch from '2026-06-18 09:12:35'::timestamp) - extract(epoch from '2026-06-18 09:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697352 -2.86146)'), GeomFromEWKT('SRID=4674;POINT (-39.697342 -2.861443)'))) / (select extract(epoch from '2026-06-18 09:12:35'::timestamp) - extract(epoch from '2026-06-18 09:12: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'), 46821, 'SRID=4674;POINT (-39.697276 -2.86132)', '2026-06-18 09:12:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697342 -2.861443)'), GeomFromEWKT('SRID=4674;POINT (-39.697276 -2.86132)'))) / (select extract(epoch from '2026-06-18 09:12:42'::timestamp) - extract(epoch from '2026-06-18 09:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697342 -2.861443)'), GeomFromEWKT('SRID=4674;POINT (-39.697276 -2.86132)'))) / (select extract(epoch from '2026-06-18 09:12:42'::timestamp) - extract(epoch from '2026-06-18 09:12: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'), 46821, 'SRID=4674;POINT (-39.697225 -2.861183)', '2026-06-18 09:12:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697276 -2.86132)'), GeomFromEWKT('SRID=4674;POINT (-39.697225 -2.861183)'))) / (select extract(epoch from '2026-06-18 09:12:49'::timestamp) - extract(epoch from '2026-06-18 09:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697276 -2.86132)'), GeomFromEWKT('SRID=4674;POINT (-39.697225 -2.861183)'))) / (select extract(epoch from '2026-06-18 09:12:49'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.697159 -2.861061)', '2026-06-18 09:12:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697225 -2.861183)'), GeomFromEWKT('SRID=4674;POINT (-39.697159 -2.861061)'))) / (select extract(epoch from '2026-06-18 09:12:56'::timestamp) - extract(epoch from '2026-06-18 09:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697225 -2.861183)'), GeomFromEWKT('SRID=4674;POINT (-39.697159 -2.861061)'))) / (select extract(epoch from '2026-06-18 09:12:56'::timestamp) - extract(epoch from '2026-06-18 09:12:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.697093 -2.86094)', '2026-06-18 09:13:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697159 -2.861061)'), GeomFromEWKT('SRID=4674;POINT (-39.697093 -2.86094)'))) / (select extract(epoch from '2026-06-18 09:13:03'::timestamp) - extract(epoch from '2026-06-18 09:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697159 -2.861061)'), GeomFromEWKT('SRID=4674;POINT (-39.697093 -2.86094)'))) / (select extract(epoch from '2026-06-18 09:13:03'::timestamp) - extract(epoch from '2026-06-18 09:12:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.697035 -2.860832)', '2026-06-18 09:13:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697093 -2.86094)'), GeomFromEWKT('SRID=4674;POINT (-39.697035 -2.860832)'))) / (select extract(epoch from '2026-06-18 09:13:09'::timestamp) - extract(epoch from '2026-06-18 09:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697093 -2.86094)'), GeomFromEWKT('SRID=4674;POINT (-39.697035 -2.860832)'))) / (select extract(epoch from '2026-06-18 09:13:09'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.696967 -2.860708)', '2026-06-18 09:13:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697035 -2.860832)'), GeomFromEWKT('SRID=4674;POINT (-39.696967 -2.860708)'))) / (select extract(epoch from '2026-06-18 09:13:16'::timestamp) - extract(epoch from '2026-06-18 09:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697035 -2.860832)'), GeomFromEWKT('SRID=4674;POINT (-39.696967 -2.860708)'))) / (select extract(epoch from '2026-06-18 09:13:16'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.696888 -2.860587)', '2026-06-18 09:13:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696967 -2.860708)'), GeomFromEWKT('SRID=4674;POINT (-39.696888 -2.860587)'))) / (select extract(epoch from '2026-06-18 09:13:23'::timestamp) - extract(epoch from '2026-06-18 09:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696967 -2.860708)'), GeomFromEWKT('SRID=4674;POINT (-39.696888 -2.860587)'))) / (select extract(epoch from '2026-06-18 09:13:23'::timestamp) - extract(epoch from '2026-06-18 09:13: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'), 46821, 'SRID=4674;POINT (-39.696816 -2.860462)', '2026-06-18 09:13:30', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696888 -2.860587)'), GeomFromEWKT('SRID=4674;POINT (-39.696816 -2.860462)'))) / (select extract(epoch from '2026-06-18 09:13:30'::timestamp) - extract(epoch from '2026-06-18 09:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696888 -2.860587)'), GeomFromEWKT('SRID=4674;POINT (-39.696816 -2.860462)'))) / (select extract(epoch from '2026-06-18 09:13:30'::timestamp) - extract(epoch from '2026-06-18 09:13: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'), 46821, 'SRID=4674;POINT (-39.696757 -2.860352)', '2026-06-18 09:13:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696816 -2.860462)'), GeomFromEWKT('SRID=4674;POINT (-39.696757 -2.860352)'))) / (select extract(epoch from '2026-06-18 09:13:36'::timestamp) - extract(epoch from '2026-06-18 09:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696816 -2.860462)'), GeomFromEWKT('SRID=4674;POINT (-39.696757 -2.860352)'))) / (select extract(epoch from '2026-06-18 09:13:36'::timestamp) - extract(epoch from '2026-06-18 09:13: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'), 46821, 'SRID=4674;POINT (-39.696673 -2.860208)', '2026-06-18 09:13:44', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696757 -2.860352)'), GeomFromEWKT('SRID=4674;POINT (-39.696673 -2.860208)'))) / (select extract(epoch from '2026-06-18 09:13:44'::timestamp) - extract(epoch from '2026-06-18 09:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696757 -2.860352)'), GeomFromEWKT('SRID=4674;POINT (-39.696673 -2.860208)'))) / (select extract(epoch from '2026-06-18 09:13:44'::timestamp) - extract(epoch from '2026-06-18 09:13: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'), 46821, 'SRID=4674;POINT (-39.696588 -2.860082)', '2026-06-18 09:13:51', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696673 -2.860208)'), GeomFromEWKT('SRID=4674;POINT (-39.696588 -2.860082)'))) / (select extract(epoch from '2026-06-18 09:13:51'::timestamp) - extract(epoch from '2026-06-18 09:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696673 -2.860208)'), GeomFromEWKT('SRID=4674;POINT (-39.696588 -2.860082)'))) / (select extract(epoch from '2026-06-18 09:13:51'::timestamp) - extract(epoch from '2026-06-18 09:13: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'), 46821, 'SRID=4674;POINT (-39.696529 -2.859972)', '2026-06-18 09:13:57', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696588 -2.860082)'), GeomFromEWKT('SRID=4674;POINT (-39.696529 -2.859972)'))) / (select extract(epoch from '2026-06-18 09:13:57'::timestamp) - extract(epoch from '2026-06-18 09:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696588 -2.860082)'), GeomFromEWKT('SRID=4674;POINT (-39.696529 -2.859972)'))) / (select extract(epoch from '2026-06-18 09:13:57'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.696467 -2.859865)', '2026-06-18 09:14:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696529 -2.859972)'), GeomFromEWKT('SRID=4674;POINT (-39.696467 -2.859865)'))) / (select extract(epoch from '2026-06-18 09:14:03'::timestamp) - extract(epoch from '2026-06-18 09:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696529 -2.859972)'), GeomFromEWKT('SRID=4674;POINT (-39.696467 -2.859865)'))) / (select extract(epoch from '2026-06-18 09:14:03'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.696391 -2.859715)', '2026-06-18 09:14:11', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696467 -2.859865)'), GeomFromEWKT('SRID=4674;POINT (-39.696391 -2.859715)'))) / (select extract(epoch from '2026-06-18 09:14:11'::timestamp) - extract(epoch from '2026-06-18 09:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696467 -2.859865)'), GeomFromEWKT('SRID=4674;POINT (-39.696391 -2.859715)'))) / (select extract(epoch from '2026-06-18 09:14:11'::timestamp) - extract(epoch from '2026-06-18 09:14: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'), 46821, 'SRID=4674;POINT (-39.696314 -2.859585)', '2026-06-18 09:14:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696391 -2.859715)'), GeomFromEWKT('SRID=4674;POINT (-39.696314 -2.859585)'))) / (select extract(epoch from '2026-06-18 09:14:18'::timestamp) - extract(epoch from '2026-06-18 09:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696391 -2.859715)'), GeomFromEWKT('SRID=4674;POINT (-39.696314 -2.859585)'))) / (select extract(epoch from '2026-06-18 09:14:18'::timestamp) - extract(epoch from '2026-06-18 09:14: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'), 46821, 'SRID=4674;POINT (-39.696244 -2.859481)', '2026-06-18 09:14:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696314 -2.859585)'), GeomFromEWKT('SRID=4674;POINT (-39.696244 -2.859481)'))) / (select extract(epoch from '2026-06-18 09:14:24'::timestamp) - extract(epoch from '2026-06-18 09:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696314 -2.859585)'), GeomFromEWKT('SRID=4674;POINT (-39.696244 -2.859481)'))) / (select extract(epoch from '2026-06-18 09:14:24'::timestamp) - extract(epoch from '2026-06-18 09:14:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.696172 -2.859384)', '2026-06-18 09:14:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696244 -2.859481)'), GeomFromEWKT('SRID=4674;POINT (-39.696172 -2.859384)'))) / (select extract(epoch from '2026-06-18 09:14:30'::timestamp) - extract(epoch from '2026-06-18 09:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696244 -2.859481)'), GeomFromEWKT('SRID=4674;POINT (-39.696172 -2.859384)'))) / (select extract(epoch from '2026-06-18 09:14:30'::timestamp) - extract(epoch from '2026-06-18 09:14: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'), 46821, 'SRID=4674;POINT (-39.696091 -2.859266)', '2026-06-18 09:14:37', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696172 -2.859384)'), GeomFromEWKT('SRID=4674;POINT (-39.696091 -2.859266)'))) / (select extract(epoch from '2026-06-18 09:14:37'::timestamp) - extract(epoch from '2026-06-18 09:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696172 -2.859384)'), GeomFromEWKT('SRID=4674;POINT (-39.696091 -2.859266)'))) / (select extract(epoch from '2026-06-18 09:14:37'::timestamp) - extract(epoch from '2026-06-18 09:14: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'), 46821, 'SRID=4674;POINT (-39.696008 -2.859144)', '2026-06-18 09:14:44', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696091 -2.859266)'), GeomFromEWKT('SRID=4674;POINT (-39.696008 -2.859144)'))) / (select extract(epoch from '2026-06-18 09:14:44'::timestamp) - extract(epoch from '2026-06-18 09:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696091 -2.859266)'), GeomFromEWKT('SRID=4674;POINT (-39.696008 -2.859144)'))) / (select extract(epoch from '2026-06-18 09:14:44'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.69592 -2.859021)', '2026-06-18 09:14:51', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696008 -2.859144)'), GeomFromEWKT('SRID=4674;POINT (-39.69592 -2.859021)'))) / (select extract(epoch from '2026-06-18 09:14:51'::timestamp) - extract(epoch from '2026-06-18 09:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696008 -2.859144)'), GeomFromEWKT('SRID=4674;POINT (-39.69592 -2.859021)'))) / (select extract(epoch from '2026-06-18 09:14:51'::timestamp) - extract(epoch from '2026-06-18 09:14: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'), 46821, 'SRID=4674;POINT (-39.695833 -2.858901)', '2026-06-18 09:14:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69592 -2.859021)'), GeomFromEWKT('SRID=4674;POINT (-39.695833 -2.858901)'))) / (select extract(epoch from '2026-06-18 09:14:58'::timestamp) - extract(epoch from '2026-06-18 09:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69592 -2.859021)'), GeomFromEWKT('SRID=4674;POINT (-39.695833 -2.858901)'))) / (select extract(epoch from '2026-06-18 09:14:58'::timestamp) - extract(epoch from '2026-06-18 09:14:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.695751 -2.858768)', '2026-06-18 09:15:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695833 -2.858901)'), GeomFromEWKT('SRID=4674;POINT (-39.695751 -2.858768)'))) / (select extract(epoch from '2026-06-18 09:15:05'::timestamp) - extract(epoch from '2026-06-18 09:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695833 -2.858901)'), GeomFromEWKT('SRID=4674;POINT (-39.695751 -2.858768)'))) / (select extract(epoch from '2026-06-18 09:15:05'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.695667 -2.858636)', '2026-06-18 09:15:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695751 -2.858768)'), GeomFromEWKT('SRID=4674;POINT (-39.695667 -2.858636)'))) / (select extract(epoch from '2026-06-18 09:15:12'::timestamp) - extract(epoch from '2026-06-18 09:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695751 -2.858768)'), GeomFromEWKT('SRID=4674;POINT (-39.695667 -2.858636)'))) / (select extract(epoch from '2026-06-18 09:15:12'::timestamp) - extract(epoch from '2026-06-18 09:15:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.695618 -2.858542)', '2026-06-18 09:15:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695667 -2.858636)'), GeomFromEWKT('SRID=4674;POINT (-39.695618 -2.858542)'))) / (select extract(epoch from '2026-06-18 09:15:17'::timestamp) - extract(epoch from '2026-06-18 09:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695667 -2.858636)'), GeomFromEWKT('SRID=4674;POINT (-39.695618 -2.858542)'))) / (select extract(epoch from '2026-06-18 09:15:17'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.695536 -2.858421)', '2026-06-18 09:15:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695618 -2.858542)'), GeomFromEWKT('SRID=4674;POINT (-39.695536 -2.858421)'))) / (select extract(epoch from '2026-06-18 09:15:24'::timestamp) - extract(epoch from '2026-06-18 09:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695618 -2.858542)'), GeomFromEWKT('SRID=4674;POINT (-39.695536 -2.858421)'))) / (select extract(epoch from '2026-06-18 09:15:24'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.695475 -2.85834)', '2026-06-18 09:15:29', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695536 -2.858421)'), GeomFromEWKT('SRID=4674;POINT (-39.695475 -2.85834)'))) / (select extract(epoch from '2026-06-18 09:15:29'::timestamp) - extract(epoch from '2026-06-18 09:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695536 -2.858421)'), GeomFromEWKT('SRID=4674;POINT (-39.695475 -2.85834)'))) / (select extract(epoch from '2026-06-18 09:15:29'::timestamp) - extract(epoch from '2026-06-18 09:15:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.695391 -2.858219)', '2026-06-18 09:15:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695475 -2.85834)'), GeomFromEWKT('SRID=4674;POINT (-39.695391 -2.858219)'))) / (select extract(epoch from '2026-06-18 09:15:36'::timestamp) - extract(epoch from '2026-06-18 09:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695475 -2.85834)'), GeomFromEWKT('SRID=4674;POINT (-39.695391 -2.858219)'))) / (select extract(epoch from '2026-06-18 09:15:36'::timestamp) - extract(epoch from '2026-06-18 09:15:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.695303 -2.858069)', '2026-06-18 09:15:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695391 -2.858219)'), GeomFromEWKT('SRID=4674;POINT (-39.695303 -2.858069)'))) / (select extract(epoch from '2026-06-18 09:15:44'::timestamp) - extract(epoch from '2026-06-18 09:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695391 -2.858219)'), GeomFromEWKT('SRID=4674;POINT (-39.695303 -2.858069)'))) / (select extract(epoch from '2026-06-18 09:15:44'::timestamp) - extract(epoch from '2026-06-18 09:15: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'), 46821, 'SRID=4674;POINT (-39.695234 -2.857962)', '2026-06-18 09:15:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695303 -2.858069)'), GeomFromEWKT('SRID=4674;POINT (-39.695234 -2.857962)'))) / (select extract(epoch from '2026-06-18 09:15:50'::timestamp) - extract(epoch from '2026-06-18 09:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695303 -2.858069)'), GeomFromEWKT('SRID=4674;POINT (-39.695234 -2.857962)'))) / (select extract(epoch from '2026-06-18 09:15:50'::timestamp) - extract(epoch from '2026-06-18 09:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.695154 -2.857827)', '2026-06-18 09:15:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695234 -2.857962)'), GeomFromEWKT('SRID=4674;POINT (-39.695154 -2.857827)'))) / (select extract(epoch from '2026-06-18 09:15:57'::timestamp) - extract(epoch from '2026-06-18 09:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695234 -2.857962)'), GeomFromEWKT('SRID=4674;POINT (-39.695154 -2.857827)'))) / (select extract(epoch from '2026-06-18 09:15:57'::timestamp) - extract(epoch from '2026-06-18 09:15: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'), 46821, 'SRID=4674;POINT (-39.695082 -2.857718)', '2026-06-18 09:16:03', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695154 -2.857827)'), GeomFromEWKT('SRID=4674;POINT (-39.695082 -2.857718)'))) / (select extract(epoch from '2026-06-18 09:16:03'::timestamp) - extract(epoch from '2026-06-18 09:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695154 -2.857827)'), GeomFromEWKT('SRID=4674;POINT (-39.695082 -2.857718)'))) / (select extract(epoch from '2026-06-18 09:16:03'::timestamp) - extract(epoch from '2026-06-18 09:15: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'), 46821, 'SRID=4674;POINT (-39.694988 -2.857571)', '2026-06-18 09:16:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695082 -2.857718)'), GeomFromEWKT('SRID=4674;POINT (-39.694988 -2.857571)'))) / (select extract(epoch from '2026-06-18 09:16:11'::timestamp) - extract(epoch from '2026-06-18 09:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695082 -2.857718)'), GeomFromEWKT('SRID=4674;POINT (-39.694988 -2.857571)'))) / (select extract(epoch from '2026-06-18 09:16:11'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.694913 -2.857464)', '2026-06-18 09:16:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694988 -2.857571)'), GeomFromEWKT('SRID=4674;POINT (-39.694913 -2.857464)'))) / (select extract(epoch from '2026-06-18 09:16:17'::timestamp) - extract(epoch from '2026-06-18 09:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694988 -2.857571)'), GeomFromEWKT('SRID=4674;POINT (-39.694913 -2.857464)'))) / (select extract(epoch from '2026-06-18 09:16:17'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.694832 -2.857366)', '2026-06-18 09:16:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694913 -2.857464)'), GeomFromEWKT('SRID=4674;POINT (-39.694832 -2.857366)'))) / (select extract(epoch from '2026-06-18 09:16:23'::timestamp) - extract(epoch from '2026-06-18 09:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694913 -2.857464)'), GeomFromEWKT('SRID=4674;POINT (-39.694832 -2.857366)'))) / (select extract(epoch from '2026-06-18 09:16:23'::timestamp) - extract(epoch from '2026-06-18 09:16: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'), 46821, 'SRID=4674;POINT (-39.694752 -2.857267)', '2026-06-18 09:16:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694832 -2.857366)'), GeomFromEWKT('SRID=4674;POINT (-39.694752 -2.857267)'))) / (select extract(epoch from '2026-06-18 09:16:29'::timestamp) - extract(epoch from '2026-06-18 09:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694832 -2.857366)'), GeomFromEWKT('SRID=4674;POINT (-39.694752 -2.857267)'))) / (select extract(epoch from '2026-06-18 09:16:29'::timestamp) - extract(epoch from '2026-06-18 09:16: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'), 46821, 'SRID=4674;POINT (-39.694665 -2.857144)', '2026-06-18 09:16:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694752 -2.857267)'), GeomFromEWKT('SRID=4674;POINT (-39.694665 -2.857144)'))) / (select extract(epoch from '2026-06-18 09:16:36'::timestamp) - extract(epoch from '2026-06-18 09:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694752 -2.857267)'), GeomFromEWKT('SRID=4674;POINT (-39.694665 -2.857144)'))) / (select extract(epoch from '2026-06-18 09:16:36'::timestamp) - extract(epoch from '2026-06-18 09:16:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.694614 -2.857053)', '2026-06-18 09:16:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694665 -2.857144)'), GeomFromEWKT('SRID=4674;POINT (-39.694614 -2.857053)'))) / (select extract(epoch from '2026-06-18 09:16:41'::timestamp) - extract(epoch from '2026-06-18 09:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694665 -2.857144)'), GeomFromEWKT('SRID=4674;POINT (-39.694614 -2.857053)'))) / (select extract(epoch from '2026-06-18 09:16:41'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.694558 -2.856969)', '2026-06-18 09:16:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694614 -2.857053)'), GeomFromEWKT('SRID=4674;POINT (-39.694558 -2.856969)'))) / (select extract(epoch from '2026-06-18 09:16:46'::timestamp) - extract(epoch from '2026-06-18 09:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694614 -2.857053)'), GeomFromEWKT('SRID=4674;POINT (-39.694558 -2.856969)'))) / (select extract(epoch from '2026-06-18 09:16:46'::timestamp) - extract(epoch from '2026-06-18 09:16:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.694455 -2.856839)', '2026-06-18 09:16:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694558 -2.856969)'), GeomFromEWKT('SRID=4674;POINT (-39.694455 -2.856839)'))) / (select extract(epoch from '2026-06-18 09:16:54'::timestamp) - extract(epoch from '2026-06-18 09:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694558 -2.856969)'), GeomFromEWKT('SRID=4674;POINT (-39.694455 -2.856839)'))) / (select extract(epoch from '2026-06-18 09:16:54'::timestamp) - extract(epoch from '2026-06-18 09:16: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'), 46821, 'SRID=4674;POINT (-39.694374 -2.856715)', '2026-06-18 09:17:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694455 -2.856839)'), GeomFromEWKT('SRID=4674;POINT (-39.694374 -2.856715)'))) / (select extract(epoch from '2026-06-18 09:17:01'::timestamp) - extract(epoch from '2026-06-18 09:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694455 -2.856839)'), GeomFromEWKT('SRID=4674;POINT (-39.694374 -2.856715)'))) / (select extract(epoch from '2026-06-18 09:17:01'::timestamp) - extract(epoch from '2026-06-18 09:16: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'), 46821, 'SRID=4674;POINT (-39.694297 -2.856583)', '2026-06-18 09:17:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694374 -2.856715)'), GeomFromEWKT('SRID=4674;POINT (-39.694297 -2.856583)'))) / (select extract(epoch from '2026-06-18 09:17:08'::timestamp) - extract(epoch from '2026-06-18 09:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694374 -2.856715)'), GeomFromEWKT('SRID=4674;POINT (-39.694297 -2.856583)'))) / (select extract(epoch from '2026-06-18 09:17:08'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.694221 -2.856454)', '2026-06-18 09:17:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694297 -2.856583)'), GeomFromEWKT('SRID=4674;POINT (-39.694221 -2.856454)'))) / (select extract(epoch from '2026-06-18 09:17:15'::timestamp) - extract(epoch from '2026-06-18 09:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694297 -2.856583)'), GeomFromEWKT('SRID=4674;POINT (-39.694221 -2.856454)'))) / (select extract(epoch from '2026-06-18 09:17:15'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.694162 -2.856345)', '2026-06-18 09:17:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694221 -2.856454)'), GeomFromEWKT('SRID=4674;POINT (-39.694162 -2.856345)'))) / (select extract(epoch from '2026-06-18 09:17:21'::timestamp) - extract(epoch from '2026-06-18 09:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694221 -2.856454)'), GeomFromEWKT('SRID=4674;POINT (-39.694162 -2.856345)'))) / (select extract(epoch from '2026-06-18 09:17:21'::timestamp) - extract(epoch from '2026-06-18 09:17: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'), 46821, 'SRID=4674;POINT (-39.694097 -2.856224)', '2026-06-18 09:17:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694162 -2.856345)'), GeomFromEWKT('SRID=4674;POINT (-39.694097 -2.856224)'))) / (select extract(epoch from '2026-06-18 09:17:28'::timestamp) - extract(epoch from '2026-06-18 09:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694162 -2.856345)'), GeomFromEWKT('SRID=4674;POINT (-39.694097 -2.856224)'))) / (select extract(epoch from '2026-06-18 09:17:28'::timestamp) - extract(epoch from '2026-06-18 09:17: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'), 46821, 'SRID=4674;POINT (-39.694048 -2.856138)', '2026-06-18 09:17:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694097 -2.856224)'), GeomFromEWKT('SRID=4674;POINT (-39.694048 -2.856138)'))) / (select extract(epoch from '2026-06-18 09:17:33'::timestamp) - extract(epoch from '2026-06-18 09:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694097 -2.856224)'), GeomFromEWKT('SRID=4674;POINT (-39.694048 -2.856138)'))) / (select extract(epoch from '2026-06-18 09:17:33'::timestamp) - extract(epoch from '2026-06-18 09:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.693973 -2.856017)', '2026-06-18 09:17:40', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694048 -2.856138)'), GeomFromEWKT('SRID=4674;POINT (-39.693973 -2.856017)'))) / (select extract(epoch from '2026-06-18 09:17:40'::timestamp) - extract(epoch from '2026-06-18 09:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694048 -2.856138)'), GeomFromEWKT('SRID=4674;POINT (-39.693973 -2.856017)'))) / (select extract(epoch from '2026-06-18 09:17:40'::timestamp) - extract(epoch from '2026-06-18 09:17: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'), 46821, 'SRID=4674;POINT (-39.693886 -2.855876)', '2026-06-18 09:17:48', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693973 -2.856017)'), GeomFromEWKT('SRID=4674;POINT (-39.693886 -2.855876)'))) / (select extract(epoch from '2026-06-18 09:17:48'::timestamp) - extract(epoch from '2026-06-18 09:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693973 -2.856017)'), GeomFromEWKT('SRID=4674;POINT (-39.693886 -2.855876)'))) / (select extract(epoch from '2026-06-18 09:17:48'::timestamp) - extract(epoch from '2026-06-18 09:17: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'), 46821, 'SRID=4674;POINT (-39.693833 -2.855785)', '2026-06-18 09:17:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693886 -2.855876)'), GeomFromEWKT('SRID=4674;POINT (-39.693833 -2.855785)'))) / (select extract(epoch from '2026-06-18 09:17:53'::timestamp) - extract(epoch from '2026-06-18 09:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693886 -2.855876)'), GeomFromEWKT('SRID=4674;POINT (-39.693833 -2.855785)'))) / (select extract(epoch from '2026-06-18 09:17:53'::timestamp) - extract(epoch from '2026-06-18 09:17:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.693758 -2.855658)', '2026-06-18 09:18:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693833 -2.855785)'), GeomFromEWKT('SRID=4674;POINT (-39.693758 -2.855658)'))) / (select extract(epoch from '2026-06-18 09:18:00'::timestamp) - extract(epoch from '2026-06-18 09:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693833 -2.855785)'), GeomFromEWKT('SRID=4674;POINT (-39.693758 -2.855658)'))) / (select extract(epoch from '2026-06-18 09:18:00'::timestamp) - extract(epoch from '2026-06-18 09:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.693703 -2.855569)', '2026-06-18 09:18:05', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693758 -2.855658)'), GeomFromEWKT('SRID=4674;POINT (-39.693703 -2.855569)'))) / (select extract(epoch from '2026-06-18 09:18:05'::timestamp) - extract(epoch from '2026-06-18 09:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693758 -2.855658)'), GeomFromEWKT('SRID=4674;POINT (-39.693703 -2.855569)'))) / (select extract(epoch from '2026-06-18 09:18:05'::timestamp) - extract(epoch from '2026-06-18 09:18: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'), 46821, 'SRID=4674;POINT (-39.69362 -2.855447)', '2026-06-18 09:18:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693703 -2.855569)'), GeomFromEWKT('SRID=4674;POINT (-39.69362 -2.855447)'))) / (select extract(epoch from '2026-06-18 09:18:12'::timestamp) - extract(epoch from '2026-06-18 09:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693703 -2.855569)'), GeomFromEWKT('SRID=4674;POINT (-39.69362 -2.855447)'))) / (select extract(epoch from '2026-06-18 09:18:12'::timestamp) - extract(epoch from '2026-06-18 09:18: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'), 46821, 'SRID=4674;POINT (-39.693556 -2.855342)', '2026-06-18 09:18:18', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69362 -2.855447)'), GeomFromEWKT('SRID=4674;POINT (-39.693556 -2.855342)'))) / (select extract(epoch from '2026-06-18 09:18:18'::timestamp) - extract(epoch from '2026-06-18 09:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69362 -2.855447)'), GeomFromEWKT('SRID=4674;POINT (-39.693556 -2.855342)'))) / (select extract(epoch from '2026-06-18 09:18:18'::timestamp) - extract(epoch from '2026-06-18 09:18: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'), 46821, 'SRID=4674;POINT (-39.693493 -2.855235)', '2026-06-18 09:18:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693556 -2.855342)'), GeomFromEWKT('SRID=4674;POINT (-39.693493 -2.855235)'))) / (select extract(epoch from '2026-06-18 09:18:24'::timestamp) - extract(epoch from '2026-06-18 09:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693556 -2.855342)'), GeomFromEWKT('SRID=4674;POINT (-39.693493 -2.855235)'))) / (select extract(epoch from '2026-06-18 09:18:24'::timestamp) - extract(epoch from '2026-06-18 09:18: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'), 46821, 'SRID=4674;POINT (-39.693395 -2.855094)', '2026-06-18 09:18:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693493 -2.855235)'), GeomFromEWKT('SRID=4674;POINT (-39.693395 -2.855094)'))) / (select extract(epoch from '2026-06-18 09:18:32'::timestamp) - extract(epoch from '2026-06-18 09:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693493 -2.855235)'), GeomFromEWKT('SRID=4674;POINT (-39.693395 -2.855094)'))) / (select extract(epoch from '2026-06-18 09:18:32'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.693293 -2.854954)', '2026-06-18 09:18:40', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693395 -2.855094)'), GeomFromEWKT('SRID=4674;POINT (-39.693293 -2.854954)'))) / (select extract(epoch from '2026-06-18 09:18:40'::timestamp) - extract(epoch from '2026-06-18 09:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693395 -2.855094)'), GeomFromEWKT('SRID=4674;POINT (-39.693293 -2.854954)'))) / (select extract(epoch from '2026-06-18 09:18:40'::timestamp) - extract(epoch from '2026-06-18 09:18: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'), 46821, 'SRID=4674;POINT (-39.693199 -2.854803)', '2026-06-18 09:18:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693293 -2.854954)'), GeomFromEWKT('SRID=4674;POINT (-39.693199 -2.854803)'))) / (select extract(epoch from '2026-06-18 09:18:48'::timestamp) - extract(epoch from '2026-06-18 09:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693293 -2.854954)'), GeomFromEWKT('SRID=4674;POINT (-39.693199 -2.854803)'))) / (select extract(epoch from '2026-06-18 09:18:48'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.693118 -2.854676)', '2026-06-18 09:18:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693199 -2.854803)'), GeomFromEWKT('SRID=4674;POINT (-39.693118 -2.854676)'))) / (select extract(epoch from '2026-06-18 09:18:55'::timestamp) - extract(epoch from '2026-06-18 09:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693199 -2.854803)'), GeomFromEWKT('SRID=4674;POINT (-39.693118 -2.854676)'))) / (select extract(epoch from '2026-06-18 09:18:55'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.693059 -2.854589)', '2026-06-18 09:19:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693118 -2.854676)'), GeomFromEWKT('SRID=4674;POINT (-39.693059 -2.854589)'))) / (select extract(epoch from '2026-06-18 09:19:00'::timestamp) - extract(epoch from '2026-06-18 09:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693118 -2.854676)'), GeomFromEWKT('SRID=4674;POINT (-39.693059 -2.854589)'))) / (select extract(epoch from '2026-06-18 09:19:00'::timestamp) - extract(epoch from '2026-06-18 09:18: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'), 46821, 'SRID=4674;POINT (-39.692994 -2.854484)', '2026-06-18 09:19:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693059 -2.854589)'), GeomFromEWKT('SRID=4674;POINT (-39.692994 -2.854484)'))) / (select extract(epoch from '2026-06-18 09:19:06'::timestamp) - extract(epoch from '2026-06-18 09:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693059 -2.854589)'), GeomFromEWKT('SRID=4674;POINT (-39.692994 -2.854484)'))) / (select extract(epoch from '2026-06-18 09:19:06'::timestamp) - extract(epoch from '2026-06-18 09:19: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'), 46821, 'SRID=4674;POINT (-39.692945 -2.8544)', '2026-06-18 09:19:11', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692994 -2.854484)'), GeomFromEWKT('SRID=4674;POINT (-39.692945 -2.8544)'))) / (select extract(epoch from '2026-06-18 09:19:11'::timestamp) - extract(epoch from '2026-06-18 09:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692994 -2.854484)'), GeomFromEWKT('SRID=4674;POINT (-39.692945 -2.8544)'))) / (select extract(epoch from '2026-06-18 09:19:11'::timestamp) - extract(epoch from '2026-06-18 09:19: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'), 46821, 'SRID=4674;POINT (-39.692878 -2.8543)', '2026-06-18 09:19:17', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692945 -2.8544)'), GeomFromEWKT('SRID=4674;POINT (-39.692878 -2.8543)'))) / (select extract(epoch from '2026-06-18 09:19:17'::timestamp) - extract(epoch from '2026-06-18 09:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692945 -2.8544)'), GeomFromEWKT('SRID=4674;POINT (-39.692878 -2.8543)'))) / (select extract(epoch from '2026-06-18 09:19:17'::timestamp) - extract(epoch from '2026-06-18 09:19: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'), 46821, 'SRID=4674;POINT (-39.692822 -2.854221)', '2026-06-18 09:19:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692878 -2.8543)'), GeomFromEWKT('SRID=4674;POINT (-39.692822 -2.854221)'))) / (select extract(epoch from '2026-06-18 09:19:22'::timestamp) - extract(epoch from '2026-06-18 09:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692878 -2.8543)'), GeomFromEWKT('SRID=4674;POINT (-39.692822 -2.854221)'))) / (select extract(epoch from '2026-06-18 09:19:22'::timestamp) - extract(epoch from '2026-06-18 09:19: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'), 46821, 'SRID=4674;POINT (-39.69276 -2.854139)', '2026-06-18 09:19:27', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692822 -2.854221)'), GeomFromEWKT('SRID=4674;POINT (-39.69276 -2.854139)'))) / (select extract(epoch from '2026-06-18 09:19:27'::timestamp) - extract(epoch from '2026-06-18 09:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692822 -2.854221)'), GeomFromEWKT('SRID=4674;POINT (-39.69276 -2.854139)'))) / (select extract(epoch from '2026-06-18 09:19:27'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.692703 -2.854023)', '2026-06-18 09:19:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69276 -2.854139)'), GeomFromEWKT('SRID=4674;POINT (-39.692703 -2.854023)'))) / (select extract(epoch from '2026-06-18 09:19:33'::timestamp) - extract(epoch from '2026-06-18 09:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69276 -2.854139)'), GeomFromEWKT('SRID=4674;POINT (-39.692703 -2.854023)'))) / (select extract(epoch from '2026-06-18 09:19:33'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.692654 -2.853906)', '2026-06-18 09:19:39', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692703 -2.854023)'), GeomFromEWKT('SRID=4674;POINT (-39.692654 -2.853906)'))) / (select extract(epoch from '2026-06-18 09:19:39'::timestamp) - extract(epoch from '2026-06-18 09:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692703 -2.854023)'), GeomFromEWKT('SRID=4674;POINT (-39.692654 -2.853906)'))) / (select extract(epoch from '2026-06-18 09:19:39'::timestamp) - extract(epoch from '2026-06-18 09:19:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.692606 -2.853787)', '2026-06-18 09:19:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692654 -2.853906)'), GeomFromEWKT('SRID=4674;POINT (-39.692606 -2.853787)'))) / (select extract(epoch from '2026-06-18 09:19:45'::timestamp) - extract(epoch from '2026-06-18 09:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692654 -2.853906)'), GeomFromEWKT('SRID=4674;POINT (-39.692606 -2.853787)'))) / (select extract(epoch from '2026-06-18 09:19:45'::timestamp) - extract(epoch from '2026-06-18 09:19: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'), 46821, 'SRID=4674;POINT (-39.692542 -2.85365)', '2026-06-18 09:19:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692606 -2.853787)'), GeomFromEWKT('SRID=4674;POINT (-39.692542 -2.85365)'))) / (select extract(epoch from '2026-06-18 09:19:52'::timestamp) - extract(epoch from '2026-06-18 09:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692606 -2.853787)'), GeomFromEWKT('SRID=4674;POINT (-39.692542 -2.85365)'))) / (select extract(epoch from '2026-06-18 09:19:52'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.692488 -2.853539)', '2026-06-18 09:19:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692542 -2.85365)'), GeomFromEWKT('SRID=4674;POINT (-39.692488 -2.853539)'))) / (select extract(epoch from '2026-06-18 09:19:58'::timestamp) - extract(epoch from '2026-06-18 09:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692542 -2.85365)'), GeomFromEWKT('SRID=4674;POINT (-39.692488 -2.853539)'))) / (select extract(epoch from '2026-06-18 09:19:58'::timestamp) - extract(epoch from '2026-06-18 09:19: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'), 46821, 'SRID=4674;POINT (-39.692418 -2.853413)', '2026-06-18 09:20:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692488 -2.853539)'), GeomFromEWKT('SRID=4674;POINT (-39.692418 -2.853413)'))) / (select extract(epoch from '2026-06-18 09:20:05'::timestamp) - extract(epoch from '2026-06-18 09:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692488 -2.853539)'), GeomFromEWKT('SRID=4674;POINT (-39.692418 -2.853413)'))) / (select extract(epoch from '2026-06-18 09:20:05'::timestamp) - extract(epoch from '2026-06-18 09:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.692353 -2.853277)', '2026-06-18 09:20:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692418 -2.853413)'), GeomFromEWKT('SRID=4674;POINT (-39.692353 -2.853277)'))) / (select extract(epoch from '2026-06-18 09:20:12'::timestamp) - extract(epoch from '2026-06-18 09:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692418 -2.853413)'), GeomFromEWKT('SRID=4674;POINT (-39.692353 -2.853277)'))) / (select extract(epoch from '2026-06-18 09:20:12'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.692286 -2.853147)', '2026-06-18 09:20:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692353 -2.853277)'), GeomFromEWKT('SRID=4674;POINT (-39.692286 -2.853147)'))) / (select extract(epoch from '2026-06-18 09:20:19'::timestamp) - extract(epoch from '2026-06-18 09:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692353 -2.853277)'), GeomFromEWKT('SRID=4674;POINT (-39.692286 -2.853147)'))) / (select extract(epoch from '2026-06-18 09:20:19'::timestamp) - extract(epoch from '2026-06-18 09:20:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.692219 -2.85304)', '2026-06-18 09:20:25', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692286 -2.853147)'), GeomFromEWKT('SRID=4674;POINT (-39.692219 -2.85304)'))) / (select extract(epoch from '2026-06-18 09:20:25'::timestamp) - extract(epoch from '2026-06-18 09:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692286 -2.853147)'), GeomFromEWKT('SRID=4674;POINT (-39.692219 -2.85304)'))) / (select extract(epoch from '2026-06-18 09:20:25'::timestamp) - extract(epoch from '2026-06-18 09:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.692153 -2.852926)', '2026-06-18 09:20:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692219 -2.85304)'), GeomFromEWKT('SRID=4674;POINT (-39.692153 -2.852926)'))) / (select extract(epoch from '2026-06-18 09:20:31'::timestamp) - extract(epoch from '2026-06-18 09:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692219 -2.85304)'), GeomFromEWKT('SRID=4674;POINT (-39.692153 -2.852926)'))) / (select extract(epoch from '2026-06-18 09:20:31'::timestamp) - extract(epoch from '2026-06-18 09:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.692063 -2.85278)', '2026-06-18 09:20:39', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692153 -2.852926)'), GeomFromEWKT('SRID=4674;POINT (-39.692063 -2.85278)'))) / (select extract(epoch from '2026-06-18 09:20:39'::timestamp) - extract(epoch from '2026-06-18 09:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692153 -2.852926)'), GeomFromEWKT('SRID=4674;POINT (-39.692063 -2.85278)'))) / (select extract(epoch from '2026-06-18 09:20:39'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.691986 -2.852647)', '2026-06-18 09:20:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692063 -2.85278)'), GeomFromEWKT('SRID=4674;POINT (-39.691986 -2.852647)'))) / (select extract(epoch from '2026-06-18 09:20:46'::timestamp) - extract(epoch from '2026-06-18 09:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692063 -2.85278)'), GeomFromEWKT('SRID=4674;POINT (-39.691986 -2.852647)'))) / (select extract(epoch from '2026-06-18 09:20:46'::timestamp) - extract(epoch from '2026-06-18 09:20:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.691933 -2.852531)', '2026-06-18 09:20:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691986 -2.852647)'), GeomFromEWKT('SRID=4674;POINT (-39.691933 -2.852531)'))) / (select extract(epoch from '2026-06-18 09:20:52'::timestamp) - extract(epoch from '2026-06-18 09:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691986 -2.852647)'), GeomFromEWKT('SRID=4674;POINT (-39.691933 -2.852531)'))) / (select extract(epoch from '2026-06-18 09:20:52'::timestamp) - extract(epoch from '2026-06-18 09:20: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'), 46821, 'SRID=4674;POINT (-39.691875 -2.852423)', '2026-06-18 09:20:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691933 -2.852531)'), GeomFromEWKT('SRID=4674;POINT (-39.691875 -2.852423)'))) / (select extract(epoch from '2026-06-18 09:20:58'::timestamp) - extract(epoch from '2026-06-18 09:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691933 -2.852531)'), GeomFromEWKT('SRID=4674;POINT (-39.691875 -2.852423)'))) / (select extract(epoch from '2026-06-18 09:20:58'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.691773 -2.852273)', '2026-06-18 09:21:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691875 -2.852423)'), GeomFromEWKT('SRID=4674;POINT (-39.691773 -2.852273)'))) / (select extract(epoch from '2026-06-18 09:21:07'::timestamp) - extract(epoch from '2026-06-18 09:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691875 -2.852423)'), GeomFromEWKT('SRID=4674;POINT (-39.691773 -2.852273)'))) / (select extract(epoch from '2026-06-18 09:21:07'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.691708 -2.852164)', '2026-06-18 09:21:13', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691773 -2.852273)'), GeomFromEWKT('SRID=4674;POINT (-39.691708 -2.852164)'))) / (select extract(epoch from '2026-06-18 09:21:13'::timestamp) - extract(epoch from '2026-06-18 09:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691773 -2.852273)'), GeomFromEWKT('SRID=4674;POINT (-39.691708 -2.852164)'))) / (select extract(epoch from '2026-06-18 09:21:13'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.691644 -2.852042)', '2026-06-18 09:21:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691708 -2.852164)'), GeomFromEWKT('SRID=4674;POINT (-39.691644 -2.852042)'))) / (select extract(epoch from '2026-06-18 09:21:20'::timestamp) - extract(epoch from '2026-06-18 09:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691708 -2.852164)'), GeomFromEWKT('SRID=4674;POINT (-39.691644 -2.852042)'))) / (select extract(epoch from '2026-06-18 09:21:20'::timestamp) - extract(epoch from '2026-06-18 09:21: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'), 46821, 'SRID=4674;POINT (-39.691583 -2.851937)', '2026-06-18 09:21:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691644 -2.852042)'), GeomFromEWKT('SRID=4674;POINT (-39.691583 -2.851937)'))) / (select extract(epoch from '2026-06-18 09:21:26'::timestamp) - extract(epoch from '2026-06-18 09:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691644 -2.852042)'), GeomFromEWKT('SRID=4674;POINT (-39.691583 -2.851937)'))) / (select extract(epoch from '2026-06-18 09:21:26'::timestamp) - extract(epoch from '2026-06-18 09:21: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'), 46821, 'SRID=4674;POINT (-39.69153 -2.85185)', '2026-06-18 09:21:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691583 -2.851937)'), GeomFromEWKT('SRID=4674;POINT (-39.69153 -2.85185)'))) / (select extract(epoch from '2026-06-18 09:21:31'::timestamp) - extract(epoch from '2026-06-18 09:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691583 -2.851937)'), GeomFromEWKT('SRID=4674;POINT (-39.69153 -2.85185)'))) / (select extract(epoch from '2026-06-18 09:21:31'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.691455 -2.851731)', '2026-06-18 09:21:38', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69153 -2.85185)'), GeomFromEWKT('SRID=4674;POINT (-39.691455 -2.851731)'))) / (select extract(epoch from '2026-06-18 09:21:38'::timestamp) - extract(epoch from '2026-06-18 09:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69153 -2.85185)'), GeomFromEWKT('SRID=4674;POINT (-39.691455 -2.851731)'))) / (select extract(epoch from '2026-06-18 09:21:38'::timestamp) - extract(epoch from '2026-06-18 09:21: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'), 46821, 'SRID=4674;POINT (-39.691362 -2.851591)', '2026-06-18 09:21:46', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691455 -2.851731)'), GeomFromEWKT('SRID=4674;POINT (-39.691362 -2.851591)'))) / (select extract(epoch from '2026-06-18 09:21:46'::timestamp) - extract(epoch from '2026-06-18 09:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691455 -2.851731)'), GeomFromEWKT('SRID=4674;POINT (-39.691362 -2.851591)'))) / (select extract(epoch from '2026-06-18 09:21:46'::timestamp) - extract(epoch from '2026-06-18 09:21: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'), 46821, 'SRID=4674;POINT (-39.691274 -2.851448)', '2026-06-18 09:21:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691362 -2.851591)'), GeomFromEWKT('SRID=4674;POINT (-39.691274 -2.851448)'))) / (select extract(epoch from '2026-06-18 09:21:54'::timestamp) - extract(epoch from '2026-06-18 09:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691362 -2.851591)'), GeomFromEWKT('SRID=4674;POINT (-39.691274 -2.851448)'))) / (select extract(epoch from '2026-06-18 09:21:54'::timestamp) - extract(epoch from '2026-06-18 09:21: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'), 46821, 'SRID=4674;POINT (-39.691203 -2.851309)', '2026-06-18 09:22:01', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691274 -2.851448)'), GeomFromEWKT('SRID=4674;POINT (-39.691203 -2.851309)'))) / (select extract(epoch from '2026-06-18 09:22:01'::timestamp) - extract(epoch from '2026-06-18 09:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691274 -2.851448)'), GeomFromEWKT('SRID=4674;POINT (-39.691203 -2.851309)'))) / (select extract(epoch from '2026-06-18 09:22:01'::timestamp) - extract(epoch from '2026-06-18 09:21: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'), 46821, 'SRID=4674;POINT (-39.69113 -2.851198)', '2026-06-18 09:22:07', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691203 -2.851309)'), GeomFromEWKT('SRID=4674;POINT (-39.69113 -2.851198)'))) / (select extract(epoch from '2026-06-18 09:22:07'::timestamp) - extract(epoch from '2026-06-18 09:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691203 -2.851309)'), GeomFromEWKT('SRID=4674;POINT (-39.69113 -2.851198)'))) / (select extract(epoch from '2026-06-18 09:22:07'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.691065 -2.851077)', '2026-06-18 09:22:13', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69113 -2.851198)'), GeomFromEWKT('SRID=4674;POINT (-39.691065 -2.851077)'))) / (select extract(epoch from '2026-06-18 09:22:13'::timestamp) - extract(epoch from '2026-06-18 09:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69113 -2.851198)'), GeomFromEWKT('SRID=4674;POINT (-39.691065 -2.851077)'))) / (select extract(epoch from '2026-06-18 09:22:13'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.690991 -2.85094)', '2026-06-18 09:22:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691065 -2.851077)'), GeomFromEWKT('SRID=4674;POINT (-39.690991 -2.85094)'))) / (select extract(epoch from '2026-06-18 09:22:20'::timestamp) - extract(epoch from '2026-06-18 09:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691065 -2.851077)'), GeomFromEWKT('SRID=4674;POINT (-39.690991 -2.85094)'))) / (select extract(epoch from '2026-06-18 09:22:20'::timestamp) - extract(epoch from '2026-06-18 09:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.690933 -2.850823)', '2026-06-18 09:22:26', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690991 -2.85094)'), GeomFromEWKT('SRID=4674;POINT (-39.690933 -2.850823)'))) / (select extract(epoch from '2026-06-18 09:22:26'::timestamp) - extract(epoch from '2026-06-18 09:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690991 -2.85094)'), GeomFromEWKT('SRID=4674;POINT (-39.690933 -2.850823)'))) / (select extract(epoch from '2026-06-18 09:22:26'::timestamp) - extract(epoch from '2026-06-18 09:22: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'), 46821, 'SRID=4674;POINT (-39.69087 -2.850708)', '2026-06-18 09:22:32', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690933 -2.850823)'), GeomFromEWKT('SRID=4674;POINT (-39.69087 -2.850708)'))) / (select extract(epoch from '2026-06-18 09:22:32'::timestamp) - extract(epoch from '2026-06-18 09:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690933 -2.850823)'), GeomFromEWKT('SRID=4674;POINT (-39.69087 -2.850708)'))) / (select extract(epoch from '2026-06-18 09:22:32'::timestamp) - extract(epoch from '2026-06-18 09:22: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'), 46821, 'SRID=4674;POINT (-39.690806 -2.850594)', '2026-06-18 09:22:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69087 -2.850708)'), GeomFromEWKT('SRID=4674;POINT (-39.690806 -2.850594)'))) / (select extract(epoch from '2026-06-18 09:22:38'::timestamp) - extract(epoch from '2026-06-18 09:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69087 -2.850708)'), GeomFromEWKT('SRID=4674;POINT (-39.690806 -2.850594)'))) / (select extract(epoch from '2026-06-18 09:22:38'::timestamp) - extract(epoch from '2026-06-18 09:22: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'), 46821, 'SRID=4674;POINT (-39.690732 -2.850464)', '2026-06-18 09:22:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690806 -2.850594)'), GeomFromEWKT('SRID=4674;POINT (-39.690732 -2.850464)'))) / (select extract(epoch from '2026-06-18 09:22:45'::timestamp) - extract(epoch from '2026-06-18 09:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690806 -2.850594)'), GeomFromEWKT('SRID=4674;POINT (-39.690732 -2.850464)'))) / (select extract(epoch from '2026-06-18 09:22:45'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.690668 -2.850349)', '2026-06-18 09:22:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690732 -2.850464)'), GeomFromEWKT('SRID=4674;POINT (-39.690668 -2.850349)'))) / (select extract(epoch from '2026-06-18 09:22:51'::timestamp) - extract(epoch from '2026-06-18 09:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690732 -2.850464)'), GeomFromEWKT('SRID=4674;POINT (-39.690668 -2.850349)'))) / (select extract(epoch from '2026-06-18 09:22:51'::timestamp) - extract(epoch from '2026-06-18 09:22:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.690612 -2.85026)', '2026-06-18 09:22:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690668 -2.850349)'), GeomFromEWKT('SRID=4674;POINT (-39.690612 -2.85026)'))) / (select extract(epoch from '2026-06-18 09:22:56'::timestamp) - extract(epoch from '2026-06-18 09:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690668 -2.850349)'), GeomFromEWKT('SRID=4674;POINT (-39.690612 -2.85026)'))) / (select extract(epoch from '2026-06-18 09:22:56'::timestamp) - extract(epoch from '2026-06-18 09:22: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'), 46821, 'SRID=4674;POINT (-39.690542 -2.850152)', '2026-06-18 09:23:02', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690612 -2.85026)'), GeomFromEWKT('SRID=4674;POINT (-39.690542 -2.850152)'))) / (select extract(epoch from '2026-06-18 09:23:02'::timestamp) - extract(epoch from '2026-06-18 09:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690612 -2.85026)'), GeomFromEWKT('SRID=4674;POINT (-39.690542 -2.850152)'))) / (select extract(epoch from '2026-06-18 09:23:02'::timestamp) - extract(epoch from '2026-06-18 09:22: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'), 46821, 'SRID=4674;POINT (-39.690484 -2.850059)', '2026-06-18 09:23:07', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690542 -2.850152)'), GeomFromEWKT('SRID=4674;POINT (-39.690484 -2.850059)'))) / (select extract(epoch from '2026-06-18 09:23:07'::timestamp) - extract(epoch from '2026-06-18 09:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690542 -2.850152)'), GeomFromEWKT('SRID=4674;POINT (-39.690484 -2.850059)'))) / (select extract(epoch from '2026-06-18 09:23:07'::timestamp) - extract(epoch from '2026-06-18 09:23: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'), 46821, 'SRID=4674;POINT (-39.690424 -2.849949)', '2026-06-18 09:23:13', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690484 -2.850059)'), GeomFromEWKT('SRID=4674;POINT (-39.690424 -2.849949)'))) / (select extract(epoch from '2026-06-18 09:23:13'::timestamp) - extract(epoch from '2026-06-18 09:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690484 -2.850059)'), GeomFromEWKT('SRID=4674;POINT (-39.690424 -2.849949)'))) / (select extract(epoch from '2026-06-18 09:23:13'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.690361 -2.849836)', '2026-06-18 09:23:19', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690424 -2.849949)'), GeomFromEWKT('SRID=4674;POINT (-39.690361 -2.849836)'))) / (select extract(epoch from '2026-06-18 09:23:19'::timestamp) - extract(epoch from '2026-06-18 09:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690424 -2.849949)'), GeomFromEWKT('SRID=4674;POINT (-39.690361 -2.849836)'))) / (select extract(epoch from '2026-06-18 09:23:19'::timestamp) - extract(epoch from '2026-06-18 09:23: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'), 46821, 'SRID=4674;POINT (-39.690291 -2.849724)', '2026-06-18 09:23:25', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690361 -2.849836)'), GeomFromEWKT('SRID=4674;POINT (-39.690291 -2.849724)'))) / (select extract(epoch from '2026-06-18 09:23:25'::timestamp) - extract(epoch from '2026-06-18 09:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690361 -2.849836)'), GeomFromEWKT('SRID=4674;POINT (-39.690291 -2.849724)'))) / (select extract(epoch from '2026-06-18 09:23:25'::timestamp) - extract(epoch from '2026-06-18 09:23: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'), 46821, 'SRID=4674;POINT (-39.690225 -2.84961)', '2026-06-18 09:23:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690291 -2.849724)'), GeomFromEWKT('SRID=4674;POINT (-39.690225 -2.84961)'))) / (select extract(epoch from '2026-06-18 09:23:31'::timestamp) - extract(epoch from '2026-06-18 09:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690291 -2.849724)'), GeomFromEWKT('SRID=4674;POINT (-39.690225 -2.84961)'))) / (select extract(epoch from '2026-06-18 09:23:31'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.690149 -2.849478)', '2026-06-18 09:23:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690225 -2.84961)'), GeomFromEWKT('SRID=4674;POINT (-39.690149 -2.849478)'))) / (select extract(epoch from '2026-06-18 09:23:38'::timestamp) - extract(epoch from '2026-06-18 09:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690225 -2.84961)'), GeomFromEWKT('SRID=4674;POINT (-39.690149 -2.849478)'))) / (select extract(epoch from '2026-06-18 09:23:38'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.690066 -2.849344)', '2026-06-18 09:23:45', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690149 -2.849478)'), GeomFromEWKT('SRID=4674;POINT (-39.690066 -2.849344)'))) / (select extract(epoch from '2026-06-18 09:23:45'::timestamp) - extract(epoch from '2026-06-18 09:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690149 -2.849478)'), GeomFromEWKT('SRID=4674;POINT (-39.690066 -2.849344)'))) / (select extract(epoch from '2026-06-18 09:23:45'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.690033 -2.849289)', '2026-06-18 09:23:48', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690066 -2.849344)'), GeomFromEWKT('SRID=4674;POINT (-39.690033 -2.849289)'))) / (select extract(epoch from '2026-06-18 09:23:48'::timestamp) - extract(epoch from '2026-06-18 09:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690066 -2.849344)'), GeomFromEWKT('SRID=4674;POINT (-39.690033 -2.849289)'))) / (select extract(epoch from '2026-06-18 09:23:48'::timestamp) - extract(epoch from '2026-06-18 09:23: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'), 46821, 'SRID=4674;POINT (-39.690013 -2.849253)', '2026-06-18 09:23:50', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690033 -2.849289)'), GeomFromEWKT('SRID=4674;POINT (-39.690013 -2.849253)'))) / (select extract(epoch from '2026-06-18 09:23:50'::timestamp) - extract(epoch from '2026-06-18 09:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690033 -2.849289)'), GeomFromEWKT('SRID=4674;POINT (-39.690013 -2.849253)'))) / (select extract(epoch from '2026-06-18 09:23:50'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.689961 -2.849162)', '2026-06-18 09:23:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690013 -2.849253)'), GeomFromEWKT('SRID=4674;POINT (-39.689961 -2.849162)'))) / (select extract(epoch from '2026-06-18 09:23:55'::timestamp) - extract(epoch from '2026-06-18 09:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690013 -2.849253)'), GeomFromEWKT('SRID=4674;POINT (-39.689961 -2.849162)'))) / (select extract(epoch from '2026-06-18 09:23:55'::timestamp) - extract(epoch from '2026-06-18 09:23: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'), 46821, 'SRID=4674;POINT (-39.689897 -2.849049)', '2026-06-18 09:24:01', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689961 -2.849162)'), GeomFromEWKT('SRID=4674;POINT (-39.689897 -2.849049)'))) / (select extract(epoch from '2026-06-18 09:24:01'::timestamp) - extract(epoch from '2026-06-18 09:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689961 -2.849162)'), GeomFromEWKT('SRID=4674;POINT (-39.689897 -2.849049)'))) / (select extract(epoch from '2026-06-18 09:24:01'::timestamp) - extract(epoch from '2026-06-18 09:23: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'), 46821, 'SRID=4674;POINT (-39.689831 -2.84894)', '2026-06-18 09:24:07', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689897 -2.849049)'), GeomFromEWKT('SRID=4674;POINT (-39.689831 -2.84894)'))) / (select extract(epoch from '2026-06-18 09:24:07'::timestamp) - extract(epoch from '2026-06-18 09:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689897 -2.849049)'), GeomFromEWKT('SRID=4674;POINT (-39.689831 -2.84894)'))) / (select extract(epoch from '2026-06-18 09:24:07'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.689747 -2.848794)', '2026-06-18 09:24:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689831 -2.84894)'), GeomFromEWKT('SRID=4674;POINT (-39.689747 -2.848794)'))) / (select extract(epoch from '2026-06-18 09:24:15'::timestamp) - extract(epoch from '2026-06-18 09:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689831 -2.84894)'), GeomFromEWKT('SRID=4674;POINT (-39.689747 -2.848794)'))) / (select extract(epoch from '2026-06-18 09:24:15'::timestamp) - extract(epoch from '2026-06-18 09:24: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'), 46821, 'SRID=4674;POINT (-39.689663 -2.848645)', '2026-06-18 09:24:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689747 -2.848794)'), GeomFromEWKT('SRID=4674;POINT (-39.689663 -2.848645)'))) / (select extract(epoch from '2026-06-18 09:24:23'::timestamp) - extract(epoch from '2026-06-18 09:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689747 -2.848794)'), GeomFromEWKT('SRID=4674;POINT (-39.689663 -2.848645)'))) / (select extract(epoch from '2026-06-18 09:24:23'::timestamp) - extract(epoch from '2026-06-18 09:24: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'), 46821, 'SRID=4674;POINT (-39.68959 -2.848513)', '2026-06-18 09:24:30', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689663 -2.848645)'), GeomFromEWKT('SRID=4674;POINT (-39.68959 -2.848513)'))) / (select extract(epoch from '2026-06-18 09:24:30'::timestamp) - extract(epoch from '2026-06-18 09:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689663 -2.848645)'), GeomFromEWKT('SRID=4674;POINT (-39.68959 -2.848513)'))) / (select extract(epoch from '2026-06-18 09:24:30'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.689509 -2.848359)', '2026-06-18 09:24:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68959 -2.848513)'), GeomFromEWKT('SRID=4674;POINT (-39.689509 -2.848359)'))) / (select extract(epoch from '2026-06-18 09:24:38'::timestamp) - extract(epoch from '2026-06-18 09:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68959 -2.848513)'), GeomFromEWKT('SRID=4674;POINT (-39.689509 -2.848359)'))) / (select extract(epoch from '2026-06-18 09:24:38'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.689438 -2.848222)', '2026-06-18 09:24:45', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689509 -2.848359)'), GeomFromEWKT('SRID=4674;POINT (-39.689438 -2.848222)'))) / (select extract(epoch from '2026-06-18 09:24:45'::timestamp) - extract(epoch from '2026-06-18 09:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689509 -2.848359)'), GeomFromEWKT('SRID=4674;POINT (-39.689438 -2.848222)'))) / (select extract(epoch from '2026-06-18 09:24:45'::timestamp) - extract(epoch from '2026-06-18 09:24: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'), 46821, 'SRID=4674;POINT (-39.689367 -2.848086)', '2026-06-18 09:24:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689438 -2.848222)'), GeomFromEWKT('SRID=4674;POINT (-39.689367 -2.848086)'))) / (select extract(epoch from '2026-06-18 09:24:52'::timestamp) - extract(epoch from '2026-06-18 09:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689438 -2.848222)'), GeomFromEWKT('SRID=4674;POINT (-39.689367 -2.848086)'))) / (select extract(epoch from '2026-06-18 09:24:52'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.689306 -2.847963)', '2026-06-18 09:24:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689367 -2.848086)'), GeomFromEWKT('SRID=4674;POINT (-39.689306 -2.847963)'))) / (select extract(epoch from '2026-06-18 09:24:58'::timestamp) - extract(epoch from '2026-06-18 09:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689367 -2.848086)'), GeomFromEWKT('SRID=4674;POINT (-39.689306 -2.847963)'))) / (select extract(epoch from '2026-06-18 09:24:58'::timestamp) - extract(epoch from '2026-06-18 09:24: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'), 46821, 'SRID=4674;POINT (-39.689255 -2.847856)', '2026-06-18 09:25:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689306 -2.847963)'), GeomFromEWKT('SRID=4674;POINT (-39.689255 -2.847856)'))) / (select extract(epoch from '2026-06-18 09:25:03'::timestamp) - extract(epoch from '2026-06-18 09:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689306 -2.847963)'), GeomFromEWKT('SRID=4674;POINT (-39.689255 -2.847856)'))) / (select extract(epoch from '2026-06-18 09:25:03'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.689187 -2.847713)', '2026-06-18 09:25:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689255 -2.847856)'), GeomFromEWKT('SRID=4674;POINT (-39.689187 -2.847713)'))) / (select extract(epoch from '2026-06-18 09:25:10'::timestamp) - extract(epoch from '2026-06-18 09:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689255 -2.847856)'), GeomFromEWKT('SRID=4674;POINT (-39.689187 -2.847713)'))) / (select extract(epoch from '2026-06-18 09:25:10'::timestamp) - extract(epoch from '2026-06-18 09:25: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'), 46821, 'SRID=4674;POINT (-39.689178 -2.847692)', '2026-06-18 09:25:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689187 -2.847713)'), GeomFromEWKT('SRID=4674;POINT (-39.689178 -2.847692)'))) / (select extract(epoch from '2026-06-18 09:25:11'::timestamp) - extract(epoch from '2026-06-18 09:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689187 -2.847713)'), GeomFromEWKT('SRID=4674;POINT (-39.689178 -2.847692)'))) / (select extract(epoch from '2026-06-18 09:25:11'::timestamp) - extract(epoch from '2026-06-18 09:25: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'), 46821, 'SRID=4674;POINT (-39.689155 -2.847629)', '2026-06-18 09:25:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689178 -2.847692)'), GeomFromEWKT('SRID=4674;POINT (-39.689155 -2.847629)'))) / (select extract(epoch from '2026-06-18 09:25:14'::timestamp) - extract(epoch from '2026-06-18 09:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689178 -2.847692)'), GeomFromEWKT('SRID=4674;POINT (-39.689155 -2.847629)'))) / (select extract(epoch from '2026-06-18 09:25:14'::timestamp) - extract(epoch from '2026-06-18 09:25: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'), 46821, 'SRID=4674;POINT (-39.689084 -2.847461)', '2026-06-18 09:25:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689155 -2.847629)'), GeomFromEWKT('SRID=4674;POINT (-39.689084 -2.847461)'))) / (select extract(epoch from '2026-06-18 09:25:22'::timestamp) - extract(epoch from '2026-06-18 09:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689155 -2.847629)'), GeomFromEWKT('SRID=4674;POINT (-39.689084 -2.847461)'))) / (select extract(epoch from '2026-06-18 09:25:22'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.689044 -2.847325)', '2026-06-18 09:25:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689084 -2.847461)'), GeomFromEWKT('SRID=4674;POINT (-39.689044 -2.847325)'))) / (select extract(epoch from '2026-06-18 09:25:28'::timestamp) - extract(epoch from '2026-06-18 09:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689084 -2.847461)'), GeomFromEWKT('SRID=4674;POINT (-39.689044 -2.847325)'))) / (select extract(epoch from '2026-06-18 09:25:28'::timestamp) - extract(epoch from '2026-06-18 09:25:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.689 -2.847185)', '2026-06-18 09:25:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689044 -2.847325)'), GeomFromEWKT('SRID=4674;POINT (-39.689 -2.847185)'))) / (select extract(epoch from '2026-06-18 09:25:34'::timestamp) - extract(epoch from '2026-06-18 09:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689044 -2.847325)'), GeomFromEWKT('SRID=4674;POINT (-39.689 -2.847185)'))) / (select extract(epoch from '2026-06-18 09:25:34'::timestamp) - extract(epoch from '2026-06-18 09:25: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'), 46821, 'SRID=4674;POINT (-39.688961 -2.847015)', '2026-06-18 09:25:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689 -2.847185)'), GeomFromEWKT('SRID=4674;POINT (-39.688961 -2.847015)'))) / (select extract(epoch from '2026-06-18 09:25:41'::timestamp) - extract(epoch from '2026-06-18 09:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689 -2.847185)'), GeomFromEWKT('SRID=4674;POINT (-39.688961 -2.847015)'))) / (select extract(epoch from '2026-06-18 09:25:41'::timestamp) - extract(epoch from '2026-06-18 09:25: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'), 46821, 'SRID=4674;POINT (-39.688913 -2.846856)', '2026-06-18 09:25:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688961 -2.847015)'), GeomFromEWKT('SRID=4674;POINT (-39.688913 -2.846856)'))) / (select extract(epoch from '2026-06-18 09:25:48'::timestamp) - extract(epoch from '2026-06-18 09:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688961 -2.847015)'), GeomFromEWKT('SRID=4674;POINT (-39.688913 -2.846856)'))) / (select extract(epoch from '2026-06-18 09:25:48'::timestamp) - extract(epoch from '2026-06-18 09:25: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'), 46821, 'SRID=4674;POINT (-39.688871 -2.846697)', '2026-06-18 09:25:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688913 -2.846856)'), GeomFromEWKT('SRID=4674;POINT (-39.688871 -2.846697)'))) / (select extract(epoch from '2026-06-18 09:25:55'::timestamp) - extract(epoch from '2026-06-18 09:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688913 -2.846856)'), GeomFromEWKT('SRID=4674;POINT (-39.688871 -2.846697)'))) / (select extract(epoch from '2026-06-18 09:25:55'::timestamp) - extract(epoch from '2026-06-18 09:25: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'), 46821, 'SRID=4674;POINT (-39.688836 -2.846537)', '2026-06-18 09:26:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688871 -2.846697)'), GeomFromEWKT('SRID=4674;POINT (-39.688836 -2.846537)'))) / (select extract(epoch from '2026-06-18 09:26:02'::timestamp) - extract(epoch from '2026-06-18 09:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688871 -2.846697)'), GeomFromEWKT('SRID=4674;POINT (-39.688836 -2.846537)'))) / (select extract(epoch from '2026-06-18 09:26:02'::timestamp) - extract(epoch from '2026-06-18 09:25: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'), 46821, 'SRID=4674;POINT (-39.688797 -2.846406)', '2026-06-18 09:26:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688836 -2.846537)'), GeomFromEWKT('SRID=4674;POINT (-39.688797 -2.846406)'))) / (select extract(epoch from '2026-06-18 09:26:08'::timestamp) - extract(epoch from '2026-06-18 09:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688836 -2.846537)'), GeomFromEWKT('SRID=4674;POINT (-39.688797 -2.846406)'))) / (select extract(epoch from '2026-06-18 09:26:08'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.688758 -2.846275)', '2026-06-18 09:26:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688797 -2.846406)'), GeomFromEWKT('SRID=4674;POINT (-39.688758 -2.846275)'))) / (select extract(epoch from '2026-06-18 09:26:14'::timestamp) - extract(epoch from '2026-06-18 09:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688797 -2.846406)'), GeomFromEWKT('SRID=4674;POINT (-39.688758 -2.846275)'))) / (select extract(epoch from '2026-06-18 09:26:14'::timestamp) - extract(epoch from '2026-06-18 09:26: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'), 46821, 'SRID=4674;POINT (-39.688713 -2.846146)', '2026-06-18 09:26:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688758 -2.846275)'), GeomFromEWKT('SRID=4674;POINT (-39.688713 -2.846146)'))) / (select extract(epoch from '2026-06-18 09:26:20'::timestamp) - extract(epoch from '2026-06-18 09:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688758 -2.846275)'), GeomFromEWKT('SRID=4674;POINT (-39.688713 -2.846146)'))) / (select extract(epoch from '2026-06-18 09:26:20'::timestamp) - extract(epoch from '2026-06-18 09:26:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.68867 -2.84601)', '2026-06-18 09:26:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688713 -2.846146)'), GeomFromEWKT('SRID=4674;POINT (-39.68867 -2.84601)'))) / (select extract(epoch from '2026-06-18 09:26:26'::timestamp) - extract(epoch from '2026-06-18 09:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688713 -2.846146)'), GeomFromEWKT('SRID=4674;POINT (-39.68867 -2.84601)'))) / (select extract(epoch from '2026-06-18 09:26:26'::timestamp) - extract(epoch from '2026-06-18 09:26: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'), 46821, 'SRID=4674;POINT (-39.688641 -2.845891)', '2026-06-18 09:26:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68867 -2.84601)'), GeomFromEWKT('SRID=4674;POINT (-39.688641 -2.845891)'))) / (select extract(epoch from '2026-06-18 09:26:31'::timestamp) - extract(epoch from '2026-06-18 09:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68867 -2.84601)'), GeomFromEWKT('SRID=4674;POINT (-39.688641 -2.845891)'))) / (select extract(epoch from '2026-06-18 09:26:31'::timestamp) - extract(epoch from '2026-06-18 09:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.688609 -2.845753)', '2026-06-18 09:26:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688641 -2.845891)'), GeomFromEWKT('SRID=4674;POINT (-39.688609 -2.845753)'))) / (select extract(epoch from '2026-06-18 09:26:37'::timestamp) - extract(epoch from '2026-06-18 09:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688641 -2.845891)'), GeomFromEWKT('SRID=4674;POINT (-39.688609 -2.845753)'))) / (select extract(epoch from '2026-06-18 09:26:37'::timestamp) - extract(epoch from '2026-06-18 09:26: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'), 46821, 'SRID=4674;POINT (-39.688571 -2.845592)', '2026-06-18 09:26:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688609 -2.845753)'), GeomFromEWKT('SRID=4674;POINT (-39.688571 -2.845592)'))) / (select extract(epoch from '2026-06-18 09:26:44'::timestamp) - extract(epoch from '2026-06-18 09:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688609 -2.845753)'), GeomFromEWKT('SRID=4674;POINT (-39.688571 -2.845592)'))) / (select extract(epoch from '2026-06-18 09:26:44'::timestamp) - extract(epoch from '2026-06-18 09:26: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'), 46821, 'SRID=4674;POINT (-39.688531 -2.845433)', '2026-06-18 09:26:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688571 -2.845592)'), GeomFromEWKT('SRID=4674;POINT (-39.688531 -2.845433)'))) / (select extract(epoch from '2026-06-18 09:26:51'::timestamp) - extract(epoch from '2026-06-18 09:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688571 -2.845592)'), GeomFromEWKT('SRID=4674;POINT (-39.688531 -2.845433)'))) / (select extract(epoch from '2026-06-18 09:26:51'::timestamp) - extract(epoch from '2026-06-18 09:26: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'), 46821, 'SRID=4674;POINT (-39.6885 -2.845295)', '2026-06-18 09:26:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688531 -2.845433)'), GeomFromEWKT('SRID=4674;POINT (-39.6885 -2.845295)'))) / (select extract(epoch from '2026-06-18 09:26:57'::timestamp) - extract(epoch from '2026-06-18 09:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688531 -2.845433)'), GeomFromEWKT('SRID=4674;POINT (-39.6885 -2.845295)'))) / (select extract(epoch from '2026-06-18 09:26:57'::timestamp) - extract(epoch from '2026-06-18 09:26:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.688461 -2.845162)', '2026-06-18 09:27:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6885 -2.845295)'), GeomFromEWKT('SRID=4674;POINT (-39.688461 -2.845162)'))) / (select extract(epoch from '2026-06-18 09:27:03'::timestamp) - extract(epoch from '2026-06-18 09:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6885 -2.845295)'), GeomFromEWKT('SRID=4674;POINT (-39.688461 -2.845162)'))) / (select extract(epoch from '2026-06-18 09:27:03'::timestamp) - extract(epoch from '2026-06-18 09:26: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'), 46821, 'SRID=4674;POINT (-39.688402 -2.84496)', '2026-06-18 09:27:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688461 -2.845162)'), GeomFromEWKT('SRID=4674;POINT (-39.688402 -2.84496)'))) / (select extract(epoch from '2026-06-18 09:27:12'::timestamp) - extract(epoch from '2026-06-18 09:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688461 -2.845162)'), GeomFromEWKT('SRID=4674;POINT (-39.688402 -2.84496)'))) / (select extract(epoch from '2026-06-18 09:27:12'::timestamp) - extract(epoch from '2026-06-18 09:27: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'), 46821, 'SRID=4674;POINT (-39.68836 -2.844829)', '2026-06-18 09:27:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688402 -2.84496)'), GeomFromEWKT('SRID=4674;POINT (-39.68836 -2.844829)'))) / (select extract(epoch from '2026-06-18 09:27:18'::timestamp) - extract(epoch from '2026-06-18 09:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688402 -2.84496)'), GeomFromEWKT('SRID=4674;POINT (-39.68836 -2.844829)'))) / (select extract(epoch from '2026-06-18 09:27:18'::timestamp) - extract(epoch from '2026-06-18 09:27: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'), 46821, 'SRID=4674;POINT (-39.688326 -2.844706)', '2026-06-18 09:27:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68836 -2.844829)'), GeomFromEWKT('SRID=4674;POINT (-39.688326 -2.844706)'))) / (select extract(epoch from '2026-06-18 09:27:24'::timestamp) - extract(epoch from '2026-06-18 09:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68836 -2.844829)'), GeomFromEWKT('SRID=4674;POINT (-39.688326 -2.844706)'))) / (select extract(epoch from '2026-06-18 09:27:24'::timestamp) - extract(epoch from '2026-06-18 09:27: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'), 46821, 'SRID=4674;POINT (-39.688286 -2.844583)', '2026-06-18 09:27:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688326 -2.844706)'), GeomFromEWKT('SRID=4674;POINT (-39.688286 -2.844583)'))) / (select extract(epoch from '2026-06-18 09:27:30'::timestamp) - extract(epoch from '2026-06-18 09:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688326 -2.844706)'), GeomFromEWKT('SRID=4674;POINT (-39.688286 -2.844583)'))) / (select extract(epoch from '2026-06-18 09:27:30'::timestamp) - extract(epoch from '2026-06-18 09:27: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'), 46821, 'SRID=4674;POINT (-39.688225 -2.844414)', '2026-06-18 09:27:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688286 -2.844583)'), GeomFromEWKT('SRID=4674;POINT (-39.688225 -2.844414)'))) / (select extract(epoch from '2026-06-18 09:27:38'::timestamp) - extract(epoch from '2026-06-18 09:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688286 -2.844583)'), GeomFromEWKT('SRID=4674;POINT (-39.688225 -2.844414)'))) / (select extract(epoch from '2026-06-18 09:27:38'::timestamp) - extract(epoch from '2026-06-18 09:27: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'), 46821, 'SRID=4674;POINT (-39.688184 -2.844257)', '2026-06-18 09:27:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688225 -2.844414)'), GeomFromEWKT('SRID=4674;POINT (-39.688184 -2.844257)'))) / (select extract(epoch from '2026-06-18 09:27:45'::timestamp) - extract(epoch from '2026-06-18 09:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688225 -2.844414)'), GeomFromEWKT('SRID=4674;POINT (-39.688184 -2.844257)'))) / (select extract(epoch from '2026-06-18 09:27:45'::timestamp) - extract(epoch from '2026-06-18 09:27: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'), 46821, 'SRID=4674;POINT (-39.688154 -2.844145)', '2026-06-18 09:27:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688184 -2.844257)'), GeomFromEWKT('SRID=4674;POINT (-39.688154 -2.844145)'))) / (select extract(epoch from '2026-06-18 09:27:50'::timestamp) - extract(epoch from '2026-06-18 09:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688184 -2.844257)'), GeomFromEWKT('SRID=4674;POINT (-39.688154 -2.844145)'))) / (select extract(epoch from '2026-06-18 09:27:50'::timestamp) - extract(epoch from '2026-06-18 09:27: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'), 46821, 'SRID=4674;POINT (-39.688101 -2.843971)', '2026-06-18 09:27:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688154 -2.844145)'), GeomFromEWKT('SRID=4674;POINT (-39.688101 -2.843971)'))) / (select extract(epoch from '2026-06-18 09:27:58'::timestamp) - extract(epoch from '2026-06-18 09:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688154 -2.844145)'), GeomFromEWKT('SRID=4674;POINT (-39.688101 -2.843971)'))) / (select extract(epoch from '2026-06-18 09:27:58'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.688044 -2.843789)', '2026-06-18 09:28:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688101 -2.843971)'), GeomFromEWKT('SRID=4674;POINT (-39.688044 -2.843789)'))) / (select extract(epoch from '2026-06-18 09:28:06'::timestamp) - extract(epoch from '2026-06-18 09:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688101 -2.843971)'), GeomFromEWKT('SRID=4674;POINT (-39.688044 -2.843789)'))) / (select extract(epoch from '2026-06-18 09:28:06'::timestamp) - extract(epoch from '2026-06-18 09:27: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'), 46821, 'SRID=4674;POINT (-39.688003 -2.843652)', '2026-06-18 09:28:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688044 -2.843789)'), GeomFromEWKT('SRID=4674;POINT (-39.688003 -2.843652)'))) / (select extract(epoch from '2026-06-18 09:28:12'::timestamp) - extract(epoch from '2026-06-18 09:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688044 -2.843789)'), GeomFromEWKT('SRID=4674;POINT (-39.688003 -2.843652)'))) / (select extract(epoch from '2026-06-18 09:28:12'::timestamp) - extract(epoch from '2026-06-18 09:28: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'), 46821, 'SRID=4674;POINT (-39.687959 -2.843513)', '2026-06-18 09:28:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688003 -2.843652)'), GeomFromEWKT('SRID=4674;POINT (-39.687959 -2.843513)'))) / (select extract(epoch from '2026-06-18 09:28:18'::timestamp) - extract(epoch from '2026-06-18 09:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688003 -2.843652)'), GeomFromEWKT('SRID=4674;POINT (-39.687959 -2.843513)'))) / (select extract(epoch from '2026-06-18 09:28:18'::timestamp) - extract(epoch from '2026-06-18 09:28: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'), 46821, 'SRID=4674;POINT (-39.687902 -2.843361)', '2026-06-18 09:28:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687959 -2.843513)'), GeomFromEWKT('SRID=4674;POINT (-39.687902 -2.843361)'))) / (select extract(epoch from '2026-06-18 09:28:25'::timestamp) - extract(epoch from '2026-06-18 09:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687959 -2.843513)'), GeomFromEWKT('SRID=4674;POINT (-39.687902 -2.843361)'))) / (select extract(epoch from '2026-06-18 09:28:25'::timestamp) - extract(epoch from '2026-06-18 09:28: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'), 46821, 'SRID=4674;POINT (-39.68787 -2.843253)', '2026-06-18 09:28:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687902 -2.843361)'), GeomFromEWKT('SRID=4674;POINT (-39.68787 -2.843253)'))) / (select extract(epoch from '2026-06-18 09:28:30'::timestamp) - extract(epoch from '2026-06-18 09:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687902 -2.843361)'), GeomFromEWKT('SRID=4674;POINT (-39.68787 -2.843253)'))) / (select extract(epoch from '2026-06-18 09:28:30'::timestamp) - extract(epoch from '2026-06-18 09:28: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'), 46821, 'SRID=4674;POINT (-39.687832 -2.843115)', '2026-06-18 09:28:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68787 -2.843253)'), GeomFromEWKT('SRID=4674;POINT (-39.687832 -2.843115)'))) / (select extract(epoch from '2026-06-18 09:28:36'::timestamp) - extract(epoch from '2026-06-18 09:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68787 -2.843253)'), GeomFromEWKT('SRID=4674;POINT (-39.687832 -2.843115)'))) / (select extract(epoch from '2026-06-18 09:28:36'::timestamp) - extract(epoch from '2026-06-18 09:28: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'), 46821, 'SRID=4674;POINT (-39.687792 -2.842972)', '2026-06-18 09:28:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687832 -2.843115)'), GeomFromEWKT('SRID=4674;POINT (-39.687792 -2.842972)'))) / (select extract(epoch from '2026-06-18 09:28:42'::timestamp) - extract(epoch from '2026-06-18 09:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687832 -2.843115)'), GeomFromEWKT('SRID=4674;POINT (-39.687792 -2.842972)'))) / (select extract(epoch from '2026-06-18 09:28:42'::timestamp) - extract(epoch from '2026-06-18 09:28:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.687745 -2.842806)', '2026-06-18 09:28:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687792 -2.842972)'), GeomFromEWKT('SRID=4674;POINT (-39.687745 -2.842806)'))) / (select extract(epoch from '2026-06-18 09:28:49'::timestamp) - extract(epoch from '2026-06-18 09:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687792 -2.842972)'), GeomFromEWKT('SRID=4674;POINT (-39.687745 -2.842806)'))) / (select extract(epoch from '2026-06-18 09:28:49'::timestamp) - extract(epoch from '2026-06-18 09:28: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'), 46821, 'SRID=4674;POINT (-39.687697 -2.842671)', '2026-06-18 09:28:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687745 -2.842806)'), GeomFromEWKT('SRID=4674;POINT (-39.687697 -2.842671)'))) / (select extract(epoch from '2026-06-18 09:28:55'::timestamp) - extract(epoch from '2026-06-18 09:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687745 -2.842806)'), GeomFromEWKT('SRID=4674;POINT (-39.687697 -2.842671)'))) / (select extract(epoch from '2026-06-18 09:28:55'::timestamp) - extract(epoch from '2026-06-18 09:28: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'), 46821, 'SRID=4674;POINT (-39.687657 -2.842558)', '2026-06-18 09:29:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687697 -2.842671)'), GeomFromEWKT('SRID=4674;POINT (-39.687657 -2.842558)'))) / (select extract(epoch from '2026-06-18 09:29:00'::timestamp) - extract(epoch from '2026-06-18 09:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687697 -2.842671)'), GeomFromEWKT('SRID=4674;POINT (-39.687657 -2.842558)'))) / (select extract(epoch from '2026-06-18 09:29:00'::timestamp) - extract(epoch from '2026-06-18 09:28: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'), 46821, 'SRID=4674;POINT (-39.687617 -2.842445)', '2026-06-18 09:29:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687657 -2.842558)'), GeomFromEWKT('SRID=4674;POINT (-39.687617 -2.842445)'))) / (select extract(epoch from '2026-06-18 09:29:05'::timestamp) - extract(epoch from '2026-06-18 09:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687657 -2.842558)'), GeomFromEWKT('SRID=4674;POINT (-39.687617 -2.842445)'))) / (select extract(epoch from '2026-06-18 09:29:05'::timestamp) - extract(epoch from '2026-06-18 09:29: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'), 46821, 'SRID=4674;POINT (-39.687546 -2.842274)', '2026-06-18 09:29:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687617 -2.842445)'), GeomFromEWKT('SRID=4674;POINT (-39.687546 -2.842274)'))) / (select extract(epoch from '2026-06-18 09:29:13'::timestamp) - extract(epoch from '2026-06-18 09:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687617 -2.842445)'), GeomFromEWKT('SRID=4674;POINT (-39.687546 -2.842274)'))) / (select extract(epoch from '2026-06-18 09:29:13'::timestamp) - extract(epoch from '2026-06-18 09:29: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'), 46821, 'SRID=4674;POINT (-39.687508 -2.842143)', '2026-06-18 09:29:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687546 -2.842274)'), GeomFromEWKT('SRID=4674;POINT (-39.687508 -2.842143)'))) / (select extract(epoch from '2026-06-18 09:29:19'::timestamp) - extract(epoch from '2026-06-18 09:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687546 -2.842274)'), GeomFromEWKT('SRID=4674;POINT (-39.687508 -2.842143)'))) / (select extract(epoch from '2026-06-18 09:29:19'::timestamp) - extract(epoch from '2026-06-18 09:29: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'), 46821, 'SRID=4674;POINT (-39.687477 -2.842029)', '2026-06-18 09:29:24', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687508 -2.842143)'), GeomFromEWKT('SRID=4674;POINT (-39.687477 -2.842029)'))) / (select extract(epoch from '2026-06-18 09:29:24'::timestamp) - extract(epoch from '2026-06-18 09:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687508 -2.842143)'), GeomFromEWKT('SRID=4674;POINT (-39.687477 -2.842029)'))) / (select extract(epoch from '2026-06-18 09:29:24'::timestamp) - extract(epoch from '2026-06-18 09:29: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'), 46821, 'SRID=4674;POINT (-39.687438 -2.841919)', '2026-06-18 09:29:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687477 -2.842029)'), GeomFromEWKT('SRID=4674;POINT (-39.687438 -2.841919)'))) / (select extract(epoch from '2026-06-18 09:29:29'::timestamp) - extract(epoch from '2026-06-18 09:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687477 -2.842029)'), GeomFromEWKT('SRID=4674;POINT (-39.687438 -2.841919)'))) / (select extract(epoch from '2026-06-18 09:29:29'::timestamp) - extract(epoch from '2026-06-18 09:29: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'), 46821, 'SRID=4674;POINT (-39.687389 -2.841775)', '2026-06-18 09:29:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687438 -2.841919)'), GeomFromEWKT('SRID=4674;POINT (-39.687389 -2.841775)'))) / (select extract(epoch from '2026-06-18 09:29:36'::timestamp) - extract(epoch from '2026-06-18 09:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687438 -2.841919)'), GeomFromEWKT('SRID=4674;POINT (-39.687389 -2.841775)'))) / (select extract(epoch from '2026-06-18 09:29:36'::timestamp) - extract(epoch from '2026-06-18 09:29: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'), 46821, 'SRID=4674;POINT (-39.687354 -2.841663)', '2026-06-18 09:29:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687389 -2.841775)'), GeomFromEWKT('SRID=4674;POINT (-39.687354 -2.841663)'))) / (select extract(epoch from '2026-06-18 09:29:41'::timestamp) - extract(epoch from '2026-06-18 09:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687389 -2.841775)'), GeomFromEWKT('SRID=4674;POINT (-39.687354 -2.841663)'))) / (select extract(epoch from '2026-06-18 09:29:41'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.687299 -2.841484)', '2026-06-18 09:29:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687354 -2.841663)'), GeomFromEWKT('SRID=4674;POINT (-39.687299 -2.841484)'))) / (select extract(epoch from '2026-06-18 09:29:49'::timestamp) - extract(epoch from '2026-06-18 09:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687354 -2.841663)'), GeomFromEWKT('SRID=4674;POINT (-39.687299 -2.841484)'))) / (select extract(epoch from '2026-06-18 09:29:49'::timestamp) - extract(epoch from '2026-06-18 09:29: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'), 46821, 'SRID=4674;POINT (-39.687248 -2.841352)', '2026-06-18 09:29:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687299 -2.841484)'), GeomFromEWKT('SRID=4674;POINT (-39.687248 -2.841352)'))) / (select extract(epoch from '2026-06-18 09:29:55'::timestamp) - extract(epoch from '2026-06-18 09:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687299 -2.841484)'), GeomFromEWKT('SRID=4674;POINT (-39.687248 -2.841352)'))) / (select extract(epoch from '2026-06-18 09:29:55'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.687209 -2.841243)', '2026-06-18 09:30:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687248 -2.841352)'), GeomFromEWKT('SRID=4674;POINT (-39.687209 -2.841243)'))) / (select extract(epoch from '2026-06-18 09:30:00'::timestamp) - extract(epoch from '2026-06-18 09:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687248 -2.841352)'), GeomFromEWKT('SRID=4674;POINT (-39.687209 -2.841243)'))) / (select extract(epoch from '2026-06-18 09:30:00'::timestamp) - extract(epoch from '2026-06-18 09:29: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'), 46821, 'SRID=4674;POINT (-39.687164 -2.84111)', '2026-06-18 09:30:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687209 -2.841243)'), GeomFromEWKT('SRID=4674;POINT (-39.687164 -2.84111)'))) / (select extract(epoch from '2026-06-18 09:30:06'::timestamp) - extract(epoch from '2026-06-18 09:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687209 -2.841243)'), GeomFromEWKT('SRID=4674;POINT (-39.687164 -2.84111)'))) / (select extract(epoch from '2026-06-18 09:30:06'::timestamp) - extract(epoch from '2026-06-18 09:30: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'), 46821, 'SRID=4674;POINT (-39.68712 -2.840984)', '2026-06-18 09:30:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687164 -2.84111)'), GeomFromEWKT('SRID=4674;POINT (-39.68712 -2.840984)'))) / (select extract(epoch from '2026-06-18 09:30:12'::timestamp) - extract(epoch from '2026-06-18 09:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687164 -2.84111)'), GeomFromEWKT('SRID=4674;POINT (-39.68712 -2.840984)'))) / (select extract(epoch from '2026-06-18 09:30:12'::timestamp) - extract(epoch from '2026-06-18 09:30: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'), 46821, 'SRID=4674;POINT (-39.687079 -2.840863)', '2026-06-18 09:30:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68712 -2.840984)'), GeomFromEWKT('SRID=4674;POINT (-39.687079 -2.840863)'))) / (select extract(epoch from '2026-06-18 09:30:18'::timestamp) - extract(epoch from '2026-06-18 09:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68712 -2.840984)'), GeomFromEWKT('SRID=4674;POINT (-39.687079 -2.840863)'))) / (select extract(epoch from '2026-06-18 09:30:18'::timestamp) - extract(epoch from '2026-06-18 09:30: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'), 46821, 'SRID=4674;POINT (-39.687041 -2.840737)', '2026-06-18 09:30:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687079 -2.840863)'), GeomFromEWKT('SRID=4674;POINT (-39.687041 -2.840737)'))) / (select extract(epoch from '2026-06-18 09:30:24'::timestamp) - extract(epoch from '2026-06-18 09:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687079 -2.840863)'), GeomFromEWKT('SRID=4674;POINT (-39.687041 -2.840737)'))) / (select extract(epoch from '2026-06-18 09:30:24'::timestamp) - extract(epoch from '2026-06-18 09:30: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'), 46821, 'SRID=4674;POINT (-39.687 -2.840606)', '2026-06-18 09:30:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687041 -2.840737)'), GeomFromEWKT('SRID=4674;POINT (-39.687 -2.840606)'))) / (select extract(epoch from '2026-06-18 09:30:30'::timestamp) - extract(epoch from '2026-06-18 09:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687041 -2.840737)'), GeomFromEWKT('SRID=4674;POINT (-39.687 -2.840606)'))) / (select extract(epoch from '2026-06-18 09:30:30'::timestamp) - extract(epoch from '2026-06-18 09:30: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'), 46821, 'SRID=4674;POINT (-39.686955 -2.840484)', '2026-06-18 09:30:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687 -2.840606)'), GeomFromEWKT('SRID=4674;POINT (-39.686955 -2.840484)'))) / (select extract(epoch from '2026-06-18 09:30:36'::timestamp) - extract(epoch from '2026-06-18 09:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687 -2.840606)'), GeomFromEWKT('SRID=4674;POINT (-39.686955 -2.840484)'))) / (select extract(epoch from '2026-06-18 09:30:36'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.686902 -2.840317)', '2026-06-18 09:30:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686955 -2.840484)'), GeomFromEWKT('SRID=4674;POINT (-39.686902 -2.840317)'))) / (select extract(epoch from '2026-06-18 09:30:44'::timestamp) - extract(epoch from '2026-06-18 09:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686955 -2.840484)'), GeomFromEWKT('SRID=4674;POINT (-39.686902 -2.840317)'))) / (select extract(epoch from '2026-06-18 09:30:44'::timestamp) - extract(epoch from '2026-06-18 09:30: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'), 46821, 'SRID=4674;POINT (-39.686843 -2.840142)', '2026-06-18 09:30:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686902 -2.840317)'), GeomFromEWKT('SRID=4674;POINT (-39.686843 -2.840142)'))) / (select extract(epoch from '2026-06-18 09:30:52'::timestamp) - extract(epoch from '2026-06-18 09:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686902 -2.840317)'), GeomFromEWKT('SRID=4674;POINT (-39.686843 -2.840142)'))) / (select extract(epoch from '2026-06-18 09:30:52'::timestamp) - extract(epoch from '2026-06-18 09:30: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'), 46821, 'SRID=4674;POINT (-39.686799 -2.840014)', '2026-06-18 09:30:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686843 -2.840142)'), GeomFromEWKT('SRID=4674;POINT (-39.686799 -2.840014)'))) / (select extract(epoch from '2026-06-18 09:30:58'::timestamp) - extract(epoch from '2026-06-18 09:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686843 -2.840142)'), GeomFromEWKT('SRID=4674;POINT (-39.686799 -2.840014)'))) / (select extract(epoch from '2026-06-18 09:30:58'::timestamp) - extract(epoch from '2026-06-18 09:30: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'), 46821, 'SRID=4674;POINT (-39.68676 -2.839909)', '2026-06-18 09:31:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686799 -2.840014)'), GeomFromEWKT('SRID=4674;POINT (-39.68676 -2.839909)'))) / (select extract(epoch from '2026-06-18 09:31:03'::timestamp) - extract(epoch from '2026-06-18 09:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686799 -2.840014)'), GeomFromEWKT('SRID=4674;POINT (-39.68676 -2.839909)'))) / (select extract(epoch from '2026-06-18 09:31:03'::timestamp) - extract(epoch from '2026-06-18 09:30:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.68673 -2.839811)', '2026-06-18 09:31:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68676 -2.839909)'), GeomFromEWKT('SRID=4674;POINT (-39.68673 -2.839811)'))) / (select extract(epoch from '2026-06-18 09:31:08'::timestamp) - extract(epoch from '2026-06-18 09:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68676 -2.839909)'), GeomFromEWKT('SRID=4674;POINT (-39.68673 -2.839811)'))) / (select extract(epoch from '2026-06-18 09:31:08'::timestamp) - extract(epoch from '2026-06-18 09:31: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'), 46821, 'SRID=4674;POINT (-39.686696 -2.83971)', '2026-06-18 09:31:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68673 -2.839811)'), GeomFromEWKT('SRID=4674;POINT (-39.686696 -2.83971)'))) / (select extract(epoch from '2026-06-18 09:31:13'::timestamp) - extract(epoch from '2026-06-18 09:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68673 -2.839811)'), GeomFromEWKT('SRID=4674;POINT (-39.686696 -2.83971)'))) / (select extract(epoch from '2026-06-18 09:31:13'::timestamp) - extract(epoch from '2026-06-18 09:31:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.686655 -2.839564)', '2026-06-18 09:31:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686696 -2.83971)'), GeomFromEWKT('SRID=4674;POINT (-39.686655 -2.839564)'))) / (select extract(epoch from '2026-06-18 09:31:20'::timestamp) - extract(epoch from '2026-06-18 09:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686696 -2.83971)'), GeomFromEWKT('SRID=4674;POINT (-39.686655 -2.839564)'))) / (select extract(epoch from '2026-06-18 09:31:20'::timestamp) - extract(epoch from '2026-06-18 09:31: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'), 46821, 'SRID=4674;POINT (-39.686615 -2.839413)', '2026-06-18 09:31:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686655 -2.839564)'), GeomFromEWKT('SRID=4674;POINT (-39.686615 -2.839413)'))) / (select extract(epoch from '2026-06-18 09:31:27'::timestamp) - extract(epoch from '2026-06-18 09:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686655 -2.839564)'), GeomFromEWKT('SRID=4674;POINT (-39.686615 -2.839413)'))) / (select extract(epoch from '2026-06-18 09:31:27'::timestamp) - extract(epoch from '2026-06-18 09:31: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'), 46821, 'SRID=4674;POINT (-39.686558 -2.839231)', '2026-06-18 09:31:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686615 -2.839413)'), GeomFromEWKT('SRID=4674;POINT (-39.686558 -2.839231)'))) / (select extract(epoch from '2026-06-18 09:31:35'::timestamp) - extract(epoch from '2026-06-18 09:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686615 -2.839413)'), GeomFromEWKT('SRID=4674;POINT (-39.686558 -2.839231)'))) / (select extract(epoch from '2026-06-18 09:31:35'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.686513 -2.8391)', '2026-06-18 09:31:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686558 -2.839231)'), GeomFromEWKT('SRID=4674;POINT (-39.686513 -2.8391)'))) / (select extract(epoch from '2026-06-18 09:31:41'::timestamp) - extract(epoch from '2026-06-18 09:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686558 -2.839231)'), GeomFromEWKT('SRID=4674;POINT (-39.686513 -2.8391)'))) / (select extract(epoch from '2026-06-18 09:31:41'::timestamp) - extract(epoch from '2026-06-18 09:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.686487 -2.839036)', '2026-06-18 09:31:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686513 -2.8391)'), GeomFromEWKT('SRID=4674;POINT (-39.686487 -2.839036)'))) / (select extract(epoch from '2026-06-18 09:31:44'::timestamp) - extract(epoch from '2026-06-18 09:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686513 -2.8391)'), GeomFromEWKT('SRID=4674;POINT (-39.686487 -2.839036)'))) / (select extract(epoch from '2026-06-18 09:31:44'::timestamp) - extract(epoch from '2026-06-18 09:31:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.686476 -2.838995)', '2026-06-18 09:31:46', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686487 -2.839036)'), GeomFromEWKT('SRID=4674;POINT (-39.686476 -2.838995)'))) / (select extract(epoch from '2026-06-18 09:31:46'::timestamp) - extract(epoch from '2026-06-18 09:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686487 -2.839036)'), GeomFromEWKT('SRID=4674;POINT (-39.686476 -2.838995)'))) / (select extract(epoch from '2026-06-18 09:31:46'::timestamp) - extract(epoch from '2026-06-18 09:31: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'), 46821, 'SRID=4674;POINT (-39.686425 -2.838841)', '2026-06-18 09:31:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686476 -2.838995)'), GeomFromEWKT('SRID=4674;POINT (-39.686425 -2.838841)'))) / (select extract(epoch from '2026-06-18 09:31:53'::timestamp) - extract(epoch from '2026-06-18 09:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686476 -2.838995)'), GeomFromEWKT('SRID=4674;POINT (-39.686425 -2.838841)'))) / (select extract(epoch from '2026-06-18 09:31:53'::timestamp) - extract(epoch from '2026-06-18 09:31: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'), 46821, 'SRID=4674;POINT (-39.686386 -2.838732)', '2026-06-18 09:31:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686425 -2.838841)'), GeomFromEWKT('SRID=4674;POINT (-39.686386 -2.838732)'))) / (select extract(epoch from '2026-06-18 09:31:58'::timestamp) - extract(epoch from '2026-06-18 09:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686425 -2.838841)'), GeomFromEWKT('SRID=4674;POINT (-39.686386 -2.838732)'))) / (select extract(epoch from '2026-06-18 09:31:58'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.686346 -2.838622)', '2026-06-18 09:32:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686386 -2.838732)'), GeomFromEWKT('SRID=4674;POINT (-39.686346 -2.838622)'))) / (select extract(epoch from '2026-06-18 09:32:03'::timestamp) - extract(epoch from '2026-06-18 09:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686386 -2.838732)'), GeomFromEWKT('SRID=4674;POINT (-39.686346 -2.838622)'))) / (select extract(epoch from '2026-06-18 09:32:03'::timestamp) - extract(epoch from '2026-06-18 09:31: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'), 46821, 'SRID=4674;POINT (-39.686287 -2.838466)', '2026-06-18 09:32:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686346 -2.838622)'), GeomFromEWKT('SRID=4674;POINT (-39.686287 -2.838466)'))) / (select extract(epoch from '2026-06-18 09:32:10'::timestamp) - extract(epoch from '2026-06-18 09:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686346 -2.838622)'), GeomFromEWKT('SRID=4674;POINT (-39.686287 -2.838466)'))) / (select extract(epoch from '2026-06-18 09:32:10'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.686279 -2.838445)', '2026-06-18 09:32:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686287 -2.838466)'), GeomFromEWKT('SRID=4674;POINT (-39.686279 -2.838445)'))) / (select extract(epoch from '2026-06-18 09:32:11'::timestamp) - extract(epoch from '2026-06-18 09:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686287 -2.838466)'), GeomFromEWKT('SRID=4674;POINT (-39.686279 -2.838445)'))) / (select extract(epoch from '2026-06-18 09:32:11'::timestamp) - extract(epoch from '2026-06-18 09:32: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'), 46821, 'SRID=4674;POINT (-39.686252 -2.838385)', '2026-06-18 09:32:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686279 -2.838445)'), GeomFromEWKT('SRID=4674;POINT (-39.686252 -2.838385)'))) / (select extract(epoch from '2026-06-18 09:32:14'::timestamp) - extract(epoch from '2026-06-18 09:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686279 -2.838445)'), GeomFromEWKT('SRID=4674;POINT (-39.686252 -2.838385)'))) / (select extract(epoch from '2026-06-18 09:32:14'::timestamp) - extract(epoch from '2026-06-18 09:32: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'), 46821, 'SRID=4674;POINT (-39.686196 -2.838245)', '2026-06-18 09:32:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686252 -2.838385)'), GeomFromEWKT('SRID=4674;POINT (-39.686196 -2.838245)'))) / (select extract(epoch from '2026-06-18 09:32:21'::timestamp) - extract(epoch from '2026-06-18 09:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686252 -2.838385)'), GeomFromEWKT('SRID=4674;POINT (-39.686196 -2.838245)'))) / (select extract(epoch from '2026-06-18 09:32:21'::timestamp) - extract(epoch from '2026-06-18 09:32: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'), 46821, 'SRID=4674;POINT (-39.686142 -2.838099)', '2026-06-18 09:32:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686196 -2.838245)'), GeomFromEWKT('SRID=4674;POINT (-39.686142 -2.838099)'))) / (select extract(epoch from '2026-06-18 09:32:28'::timestamp) - extract(epoch from '2026-06-18 09:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686196 -2.838245)'), GeomFromEWKT('SRID=4674;POINT (-39.686142 -2.838099)'))) / (select extract(epoch from '2026-06-18 09:32:28'::timestamp) - extract(epoch from '2026-06-18 09:32: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'), 46821, 'SRID=4674;POINT (-39.686072 -2.83793)', '2026-06-18 09:32:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686142 -2.838099)'), GeomFromEWKT('SRID=4674;POINT (-39.686072 -2.83793)'))) / (select extract(epoch from '2026-06-18 09:32:36'::timestamp) - extract(epoch from '2026-06-18 09:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686142 -2.838099)'), GeomFromEWKT('SRID=4674;POINT (-39.686072 -2.83793)'))) / (select extract(epoch from '2026-06-18 09:32:36'::timestamp) - extract(epoch from '2026-06-18 09:32: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'), 46821, 'SRID=4674;POINT (-39.686022 -2.837803)', '2026-06-18 09:32:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686072 -2.83793)'), GeomFromEWKT('SRID=4674;POINT (-39.686022 -2.837803)'))) / (select extract(epoch from '2026-06-18 09:32:42'::timestamp) - extract(epoch from '2026-06-18 09:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686072 -2.83793)'), GeomFromEWKT('SRID=4674;POINT (-39.686022 -2.837803)'))) / (select extract(epoch from '2026-06-18 09:32:42'::timestamp) - extract(epoch from '2026-06-18 09:32: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'), 46821, 'SRID=4674;POINT (-39.685974 -2.8377)', '2026-06-18 09:32:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686022 -2.837803)'), GeomFromEWKT('SRID=4674;POINT (-39.685974 -2.8377)'))) / (select extract(epoch from '2026-06-18 09:32:47'::timestamp) - extract(epoch from '2026-06-18 09:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.686022 -2.837803)'), GeomFromEWKT('SRID=4674;POINT (-39.685974 -2.8377)'))) / (select extract(epoch from '2026-06-18 09:32:47'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.685964 -2.837662)', '2026-06-18 09:32:49', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685974 -2.8377)'), GeomFromEWKT('SRID=4674;POINT (-39.685964 -2.837662)'))) / (select extract(epoch from '2026-06-18 09:32:49'::timestamp) - extract(epoch from '2026-06-18 09:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685974 -2.8377)'), GeomFromEWKT('SRID=4674;POINT (-39.685964 -2.837662)'))) / (select extract(epoch from '2026-06-18 09:32:49'::timestamp) - extract(epoch from '2026-06-18 09:32: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'), 46821, 'SRID=4674;POINT (-39.685911 -2.83752)', '2026-06-18 09:32:56', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685964 -2.837662)'), GeomFromEWKT('SRID=4674;POINT (-39.685911 -2.83752)'))) / (select extract(epoch from '2026-06-18 09:32:56'::timestamp) - extract(epoch from '2026-06-18 09:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685964 -2.837662)'), GeomFromEWKT('SRID=4674;POINT (-39.685911 -2.83752)'))) / (select extract(epoch from '2026-06-18 09:32:56'::timestamp) - extract(epoch from '2026-06-18 09:32: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'), 46821, 'SRID=4674;POINT (-39.685867 -2.837416)', '2026-06-18 09:33:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685911 -2.83752)'), GeomFromEWKT('SRID=4674;POINT (-39.685867 -2.837416)'))) / (select extract(epoch from '2026-06-18 09:33:01'::timestamp) - extract(epoch from '2026-06-18 09:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685911 -2.83752)'), GeomFromEWKT('SRID=4674;POINT (-39.685867 -2.837416)'))) / (select extract(epoch from '2026-06-18 09:33:01'::timestamp) - extract(epoch from '2026-06-18 09:32: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'), 46821, 'SRID=4674;POINT (-39.685817 -2.837292)', '2026-06-18 09:33:07', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685867 -2.837416)'), GeomFromEWKT('SRID=4674;POINT (-39.685817 -2.837292)'))) / (select extract(epoch from '2026-06-18 09:33:07'::timestamp) - extract(epoch from '2026-06-18 09:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685867 -2.837416)'), GeomFromEWKT('SRID=4674;POINT (-39.685817 -2.837292)'))) / (select extract(epoch from '2026-06-18 09:33:07'::timestamp) - extract(epoch from '2026-06-18 09:33: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'), 46821, 'SRID=4674;POINT (-39.685778 -2.837189)', '2026-06-18 09:33:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685817 -2.837292)'), GeomFromEWKT('SRID=4674;POINT (-39.685778 -2.837189)'))) / (select extract(epoch from '2026-06-18 09:33:12'::timestamp) - extract(epoch from '2026-06-18 09:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685817 -2.837292)'), GeomFromEWKT('SRID=4674;POINT (-39.685778 -2.837189)'))) / (select extract(epoch from '2026-06-18 09:33:12'::timestamp) - extract(epoch from '2026-06-18 09:33: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'), 46821, 'SRID=4674;POINT (-39.68572 -2.837051)', '2026-06-18 09:33:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685778 -2.837189)'), GeomFromEWKT('SRID=4674;POINT (-39.68572 -2.837051)'))) / (select extract(epoch from '2026-06-18 09:33:19'::timestamp) - extract(epoch from '2026-06-18 09:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685778 -2.837189)'), GeomFromEWKT('SRID=4674;POINT (-39.68572 -2.837051)'))) / (select extract(epoch from '2026-06-18 09:33:19'::timestamp) - extract(epoch from '2026-06-18 09:33: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'), 46821, 'SRID=4674;POINT (-39.685671 -2.836925)', '2026-06-18 09:33:25', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68572 -2.837051)'), GeomFromEWKT('SRID=4674;POINT (-39.685671 -2.836925)'))) / (select extract(epoch from '2026-06-18 09:33:25'::timestamp) - extract(epoch from '2026-06-18 09:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68572 -2.837051)'), GeomFromEWKT('SRID=4674;POINT (-39.685671 -2.836925)'))) / (select extract(epoch from '2026-06-18 09:33:25'::timestamp) - extract(epoch from '2026-06-18 09:33:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.685618 -2.836772)', '2026-06-18 09:33:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685671 -2.836925)'), GeomFromEWKT('SRID=4674;POINT (-39.685618 -2.836772)'))) / (select extract(epoch from '2026-06-18 09:33:32'::timestamp) - extract(epoch from '2026-06-18 09:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685671 -2.836925)'), GeomFromEWKT('SRID=4674;POINT (-39.685618 -2.836772)'))) / (select extract(epoch from '2026-06-18 09:33:32'::timestamp) - extract(epoch from '2026-06-18 09:33:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.685571 -2.836645)', '2026-06-18 09:33:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685618 -2.836772)'), GeomFromEWKT('SRID=4674;POINT (-39.685571 -2.836645)'))) / (select extract(epoch from '2026-06-18 09:33:38'::timestamp) - extract(epoch from '2026-06-18 09:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685618 -2.836772)'), GeomFromEWKT('SRID=4674;POINT (-39.685571 -2.836645)'))) / (select extract(epoch from '2026-06-18 09:33:38'::timestamp) - extract(epoch from '2026-06-18 09:33:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.685542 -2.836558)', '2026-06-18 09:33:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685571 -2.836645)'), GeomFromEWKT('SRID=4674;POINT (-39.685542 -2.836558)'))) / (select extract(epoch from '2026-06-18 09:33:42'::timestamp) - extract(epoch from '2026-06-18 09:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685571 -2.836645)'), GeomFromEWKT('SRID=4674;POINT (-39.685542 -2.836558)'))) / (select extract(epoch from '2026-06-18 09:33:42'::timestamp) - extract(epoch from '2026-06-18 09:33:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.685532 -2.836537)', '2026-06-18 09:33:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685542 -2.836558)'), GeomFromEWKT('SRID=4674;POINT (-39.685532 -2.836537)'))) / (select extract(epoch from '2026-06-18 09:33:43'::timestamp) - extract(epoch from '2026-06-18 09:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685542 -2.836558)'), GeomFromEWKT('SRID=4674;POINT (-39.685532 -2.836537)'))) / (select extract(epoch from '2026-06-18 09:33:43'::timestamp) - extract(epoch from '2026-06-18 09:33: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'), 46821, 'SRID=4674;POINT (-39.685492 -2.836428)', '2026-06-18 09:33:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685532 -2.836537)'), GeomFromEWKT('SRID=4674;POINT (-39.685492 -2.836428)'))) / (select extract(epoch from '2026-06-18 09:33:48'::timestamp) - extract(epoch from '2026-06-18 09:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685532 -2.836537)'), GeomFromEWKT('SRID=4674;POINT (-39.685492 -2.836428)'))) / (select extract(epoch from '2026-06-18 09:33:48'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.685443 -2.836252)', '2026-06-18 09:33:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685492 -2.836428)'), GeomFromEWKT('SRID=4674;POINT (-39.685443 -2.836252)'))) / (select extract(epoch from '2026-06-18 09:33:56'::timestamp) - extract(epoch from '2026-06-18 09:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685492 -2.836428)'), GeomFromEWKT('SRID=4674;POINT (-39.685443 -2.836252)'))) / (select extract(epoch from '2026-06-18 09:33:56'::timestamp) - extract(epoch from '2026-06-18 09:33: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'), 46821, 'SRID=4674;POINT (-39.685422 -2.836165)', '2026-06-18 09:34:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685443 -2.836252)'), GeomFromEWKT('SRID=4674;POINT (-39.685422 -2.836165)'))) / (select extract(epoch from '2026-06-18 09:34:00'::timestamp) - extract(epoch from '2026-06-18 09:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685443 -2.836252)'), GeomFromEWKT('SRID=4674;POINT (-39.685422 -2.836165)'))) / (select extract(epoch from '2026-06-18 09:34:00'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.685397 -2.836032)', '2026-06-18 09:34:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685422 -2.836165)'), GeomFromEWKT('SRID=4674;POINT (-39.685397 -2.836032)'))) / (select extract(epoch from '2026-06-18 09:34:06'::timestamp) - extract(epoch from '2026-06-18 09:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685422 -2.836165)'), GeomFromEWKT('SRID=4674;POINT (-39.685397 -2.836032)'))) / (select extract(epoch from '2026-06-18 09:34:06'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.685374 -2.835917)', '2026-06-18 09:34:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685397 -2.836032)'), GeomFromEWKT('SRID=4674;POINT (-39.685374 -2.835917)'))) / (select extract(epoch from '2026-06-18 09:34:11'::timestamp) - extract(epoch from '2026-06-18 09:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685397 -2.836032)'), GeomFromEWKT('SRID=4674;POINT (-39.685374 -2.835917)'))) / (select extract(epoch from '2026-06-18 09:34:11'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.685363 -2.835825)', '2026-06-18 09:34:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685374 -2.835917)'), GeomFromEWKT('SRID=4674;POINT (-39.685363 -2.835825)'))) / (select extract(epoch from '2026-06-18 09:34:15'::timestamp) - extract(epoch from '2026-06-18 09:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685374 -2.835917)'), GeomFromEWKT('SRID=4674;POINT (-39.685363 -2.835825)'))) / (select extract(epoch from '2026-06-18 09:34:15'::timestamp) - extract(epoch from '2026-06-18 09:34:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.685336 -2.835667)', '2026-06-18 09:34:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685363 -2.835825)'), GeomFromEWKT('SRID=4674;POINT (-39.685336 -2.835667)'))) / (select extract(epoch from '2026-06-18 09:34:22'::timestamp) - extract(epoch from '2026-06-18 09:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685363 -2.835825)'), GeomFromEWKT('SRID=4674;POINT (-39.685336 -2.835667)'))) / (select extract(epoch from '2026-06-18 09:34:22'::timestamp) - extract(epoch from '2026-06-18 09:34:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.685304 -2.835524)', '2026-06-18 09:34:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685336 -2.835667)'), GeomFromEWKT('SRID=4674;POINT (-39.685304 -2.835524)'))) / (select extract(epoch from '2026-06-18 09:34:28'::timestamp) - extract(epoch from '2026-06-18 09:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685336 -2.835667)'), GeomFromEWKT('SRID=4674;POINT (-39.685304 -2.835524)'))) / (select extract(epoch from '2026-06-18 09:34:28'::timestamp) - extract(epoch from '2026-06-18 09:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.685267 -2.83539)', '2026-06-18 09:34:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685304 -2.835524)'), GeomFromEWKT('SRID=4674;POINT (-39.685267 -2.83539)'))) / (select extract(epoch from '2026-06-18 09:34:34'::timestamp) - extract(epoch from '2026-06-18 09:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685304 -2.835524)'), GeomFromEWKT('SRID=4674;POINT (-39.685267 -2.83539)'))) / (select extract(epoch from '2026-06-18 09:34:34'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.685233 -2.835235)', '2026-06-18 09:34:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685267 -2.83539)'), GeomFromEWKT('SRID=4674;POINT (-39.685233 -2.835235)'))) / (select extract(epoch from '2026-06-18 09:34:41'::timestamp) - extract(epoch from '2026-06-18 09:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685267 -2.83539)'), GeomFromEWKT('SRID=4674;POINT (-39.685233 -2.835235)'))) / (select extract(epoch from '2026-06-18 09:34:41'::timestamp) - extract(epoch from '2026-06-18 09:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.685198 -2.8351)', '2026-06-18 09:34:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685233 -2.835235)'), GeomFromEWKT('SRID=4674;POINT (-39.685198 -2.8351)'))) / (select extract(epoch from '2026-06-18 09:34:47'::timestamp) - extract(epoch from '2026-06-18 09:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685233 -2.835235)'), GeomFromEWKT('SRID=4674;POINT (-39.685198 -2.8351)'))) / (select extract(epoch from '2026-06-18 09:34:47'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.685167 -2.834999)', '2026-06-18 09:34:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685198 -2.8351)'), GeomFromEWKT('SRID=4674;POINT (-39.685167 -2.834999)'))) / (select extract(epoch from '2026-06-18 09:34:52'::timestamp) - extract(epoch from '2026-06-18 09:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685198 -2.8351)'), GeomFromEWKT('SRID=4674;POINT (-39.685167 -2.834999)'))) / (select extract(epoch from '2026-06-18 09:34:52'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.685129 -2.834873)', '2026-06-18 09:34:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685167 -2.834999)'), GeomFromEWKT('SRID=4674;POINT (-39.685129 -2.834873)'))) / (select extract(epoch from '2026-06-18 09:34:58'::timestamp) - extract(epoch from '2026-06-18 09:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685167 -2.834999)'), GeomFromEWKT('SRID=4674;POINT (-39.685129 -2.834873)'))) / (select extract(epoch from '2026-06-18 09:34:58'::timestamp) - extract(epoch from '2026-06-18 09:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.685082 -2.834718)', '2026-06-18 09:35:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685129 -2.834873)'), GeomFromEWKT('SRID=4674;POINT (-39.685082 -2.834718)'))) / (select extract(epoch from '2026-06-18 09:35:05'::timestamp) - extract(epoch from '2026-06-18 09:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685129 -2.834873)'), GeomFromEWKT('SRID=4674;POINT (-39.685082 -2.834718)'))) / (select extract(epoch from '2026-06-18 09:35:05'::timestamp) - extract(epoch from '2026-06-18 09:34:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.685046 -2.834581)', '2026-06-18 09:35:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685082 -2.834718)'), GeomFromEWKT('SRID=4674;POINT (-39.685046 -2.834581)'))) / (select extract(epoch from '2026-06-18 09:35:11'::timestamp) - extract(epoch from '2026-06-18 09:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685082 -2.834718)'), GeomFromEWKT('SRID=4674;POINT (-39.685046 -2.834581)'))) / (select extract(epoch from '2026-06-18 09:35:11'::timestamp) - extract(epoch from '2026-06-18 09:35: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'), 46821, 'SRID=4674;POINT (-39.685013 -2.834414)', '2026-06-18 09:35:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685046 -2.834581)'), GeomFromEWKT('SRID=4674;POINT (-39.685013 -2.834414)'))) / (select extract(epoch from '2026-06-18 09:35:18'::timestamp) - extract(epoch from '2026-06-18 09:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685046 -2.834581)'), GeomFromEWKT('SRID=4674;POINT (-39.685013 -2.834414)'))) / (select extract(epoch from '2026-06-18 09:35:18'::timestamp) - extract(epoch from '2026-06-18 09:35: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'), 46821, 'SRID=4674;POINT (-39.684971 -2.834221)', '2026-06-18 09:35:26', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685013 -2.834414)'), GeomFromEWKT('SRID=4674;POINT (-39.684971 -2.834221)'))) / (select extract(epoch from '2026-06-18 09:35:26'::timestamp) - extract(epoch from '2026-06-18 09:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.685013 -2.834414)'), GeomFromEWKT('SRID=4674;POINT (-39.684971 -2.834221)'))) / (select extract(epoch from '2026-06-18 09:35:26'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.684933 -2.834083)', '2026-06-18 09:35:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684971 -2.834221)'), GeomFromEWKT('SRID=4674;POINT (-39.684933 -2.834083)'))) / (select extract(epoch from '2026-06-18 09:35:32'::timestamp) - extract(epoch from '2026-06-18 09:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684971 -2.834221)'), GeomFromEWKT('SRID=4674;POINT (-39.684933 -2.834083)'))) / (select extract(epoch from '2026-06-18 09:35:32'::timestamp) - extract(epoch from '2026-06-18 09:35: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'), 46821, 'SRID=4674;POINT (-39.684903 -2.833945)', '2026-06-18 09:35:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684933 -2.834083)'), GeomFromEWKT('SRID=4674;POINT (-39.684903 -2.833945)'))) / (select extract(epoch from '2026-06-18 09:35:38'::timestamp) - extract(epoch from '2026-06-18 09:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684933 -2.834083)'), GeomFromEWKT('SRID=4674;POINT (-39.684903 -2.833945)'))) / (select extract(epoch from '2026-06-18 09:35:38'::timestamp) - extract(epoch from '2026-06-18 09:35: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'), 46821, 'SRID=4674;POINT (-39.684859 -2.833783)', '2026-06-18 09:35:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684903 -2.833945)'), GeomFromEWKT('SRID=4674;POINT (-39.684859 -2.833783)'))) / (select extract(epoch from '2026-06-18 09:35:45'::timestamp) - extract(epoch from '2026-06-18 09:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684903 -2.833945)'), GeomFromEWKT('SRID=4674;POINT (-39.684859 -2.833783)'))) / (select extract(epoch from '2026-06-18 09:35:45'::timestamp) - extract(epoch from '2026-06-18 09:35: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'), 46821, 'SRID=4674;POINT (-39.684821 -2.833639)', '2026-06-18 09:35:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684859 -2.833783)'), GeomFromEWKT('SRID=4674;POINT (-39.684821 -2.833639)'))) / (select extract(epoch from '2026-06-18 09:35:51'::timestamp) - extract(epoch from '2026-06-18 09:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684859 -2.833783)'), GeomFromEWKT('SRID=4674;POINT (-39.684821 -2.833639)'))) / (select extract(epoch from '2026-06-18 09:35:51'::timestamp) - extract(epoch from '2026-06-18 09:35: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'), 46821, 'SRID=4674;POINT (-39.684773 -2.833472)', '2026-06-18 09:35:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684821 -2.833639)'), GeomFromEWKT('SRID=4674;POINT (-39.684773 -2.833472)'))) / (select extract(epoch from '2026-06-18 09:35:58'::timestamp) - extract(epoch from '2026-06-18 09:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684821 -2.833639)'), GeomFromEWKT('SRID=4674;POINT (-39.684773 -2.833472)'))) / (select extract(epoch from '2026-06-18 09:35:58'::timestamp) - extract(epoch from '2026-06-18 09:35:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.684729 -2.833336)', '2026-06-18 09:36:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684773 -2.833472)'), GeomFromEWKT('SRID=4674;POINT (-39.684729 -2.833336)'))) / (select extract(epoch from '2026-06-18 09:36:04'::timestamp) - extract(epoch from '2026-06-18 09:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684773 -2.833472)'), GeomFromEWKT('SRID=4674;POINT (-39.684729 -2.833336)'))) / (select extract(epoch from '2026-06-18 09:36:04'::timestamp) - extract(epoch from '2026-06-18 09:35: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'), 46821, 'SRID=4674;POINT (-39.6847 -2.833224)', '2026-06-18 09:36:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684729 -2.833336)'), GeomFromEWKT('SRID=4674;POINT (-39.6847 -2.833224)'))) / (select extract(epoch from '2026-06-18 09:36:09'::timestamp) - extract(epoch from '2026-06-18 09:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684729 -2.833336)'), GeomFromEWKT('SRID=4674;POINT (-39.6847 -2.833224)'))) / (select extract(epoch from '2026-06-18 09:36:09'::timestamp) - extract(epoch from '2026-06-18 09:36:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.684661 -2.833114)', '2026-06-18 09:36:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6847 -2.833224)'), GeomFromEWKT('SRID=4674;POINT (-39.684661 -2.833114)'))) / (select extract(epoch from '2026-06-18 09:36:14'::timestamp) - extract(epoch from '2026-06-18 09:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6847 -2.833224)'), GeomFromEWKT('SRID=4674;POINT (-39.684661 -2.833114)'))) / (select extract(epoch from '2026-06-18 09:36:14'::timestamp) - extract(epoch from '2026-06-18 09:36: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'), 46821, 'SRID=4674;POINT (-39.684614 -2.83298)', '2026-06-18 09:36:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684661 -2.833114)'), GeomFromEWKT('SRID=4674;POINT (-39.684614 -2.83298)'))) / (select extract(epoch from '2026-06-18 09:36:20'::timestamp) - extract(epoch from '2026-06-18 09:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684661 -2.833114)'), GeomFromEWKT('SRID=4674;POINT (-39.684614 -2.83298)'))) / (select extract(epoch from '2026-06-18 09:36:20'::timestamp) - extract(epoch from '2026-06-18 09:36: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'), 46821, 'SRID=4674;POINT (-39.684556 -2.832828)', '2026-06-18 09:36:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684614 -2.83298)'), GeomFromEWKT('SRID=4674;POINT (-39.684556 -2.832828)'))) / (select extract(epoch from '2026-06-18 09:36:27'::timestamp) - extract(epoch from '2026-06-18 09:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684614 -2.83298)'), GeomFromEWKT('SRID=4674;POINT (-39.684556 -2.832828)'))) / (select extract(epoch from '2026-06-18 09:36:27'::timestamp) - extract(epoch from '2026-06-18 09:36: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'), 46821, 'SRID=4674;POINT (-39.684514 -2.83272)', '2026-06-18 09:36:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684556 -2.832828)'), GeomFromEWKT('SRID=4674;POINT (-39.684514 -2.83272)'))) / (select extract(epoch from '2026-06-18 09:36:32'::timestamp) - extract(epoch from '2026-06-18 09:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684556 -2.832828)'), GeomFromEWKT('SRID=4674;POINT (-39.684514 -2.83272)'))) / (select extract(epoch from '2026-06-18 09:36:32'::timestamp) - extract(epoch from '2026-06-18 09:36: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'), 46821, 'SRID=4674;POINT (-39.684464 -2.832617)', '2026-06-18 09:36:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684514 -2.83272)'), GeomFromEWKT('SRID=4674;POINT (-39.684464 -2.832617)'))) / (select extract(epoch from '2026-06-18 09:36:37'::timestamp) - extract(epoch from '2026-06-18 09:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684514 -2.83272)'), GeomFromEWKT('SRID=4674;POINT (-39.684464 -2.832617)'))) / (select extract(epoch from '2026-06-18 09:36:37'::timestamp) - extract(epoch from '2026-06-18 09:36: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'), 46821, 'SRID=4674;POINT (-39.684409 -2.832496)', '2026-06-18 09:36:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684464 -2.832617)'), GeomFromEWKT('SRID=4674;POINT (-39.684409 -2.832496)'))) / (select extract(epoch from '2026-06-18 09:36:43'::timestamp) - extract(epoch from '2026-06-18 09:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684464 -2.832617)'), GeomFromEWKT('SRID=4674;POINT (-39.684409 -2.832496)'))) / (select extract(epoch from '2026-06-18 09:36:43'::timestamp) - extract(epoch from '2026-06-18 09:36:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.684344 -2.832351)', '2026-06-18 09:36:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684409 -2.832496)'), GeomFromEWKT('SRID=4674;POINT (-39.684344 -2.832351)'))) / (select extract(epoch from '2026-06-18 09:36:50'::timestamp) - extract(epoch from '2026-06-18 09:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684409 -2.832496)'), GeomFromEWKT('SRID=4674;POINT (-39.684344 -2.832351)'))) / (select extract(epoch from '2026-06-18 09:36:50'::timestamp) - extract(epoch from '2026-06-18 09:36:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.684267 -2.832209)', '2026-06-18 09:36:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684344 -2.832351)'), GeomFromEWKT('SRID=4674;POINT (-39.684267 -2.832209)'))) / (select extract(epoch from '2026-06-18 09:36:57'::timestamp) - extract(epoch from '2026-06-18 09:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684344 -2.832351)'), GeomFromEWKT('SRID=4674;POINT (-39.684267 -2.832209)'))) / (select extract(epoch from '2026-06-18 09:36:57'::timestamp) - extract(epoch from '2026-06-18 09:36: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'), 46821, 'SRID=4674;POINT (-39.684202 -2.832085)', '2026-06-18 09:37:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684267 -2.832209)'), GeomFromEWKT('SRID=4674;POINT (-39.684202 -2.832085)'))) / (select extract(epoch from '2026-06-18 09:37:03'::timestamp) - extract(epoch from '2026-06-18 09:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684267 -2.832209)'), GeomFromEWKT('SRID=4674;POINT (-39.684202 -2.832085)'))) / (select extract(epoch from '2026-06-18 09:37:03'::timestamp) - extract(epoch from '2026-06-18 09:36: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'), 46821, 'SRID=4674;POINT (-39.684145 -2.831957)', '2026-06-18 09:37:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684202 -2.832085)'), GeomFromEWKT('SRID=4674;POINT (-39.684145 -2.831957)'))) / (select extract(epoch from '2026-06-18 09:37:09'::timestamp) - extract(epoch from '2026-06-18 09:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684202 -2.832085)'), GeomFromEWKT('SRID=4674;POINT (-39.684145 -2.831957)'))) / (select extract(epoch from '2026-06-18 09:37:09'::timestamp) - extract(epoch from '2026-06-18 09:37: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'), 46821, 'SRID=4674;POINT (-39.68409 -2.831827)', '2026-06-18 09:37:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684145 -2.831957)'), GeomFromEWKT('SRID=4674;POINT (-39.68409 -2.831827)'))) / (select extract(epoch from '2026-06-18 09:37:15'::timestamp) - extract(epoch from '2026-06-18 09:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684145 -2.831957)'), GeomFromEWKT('SRID=4674;POINT (-39.68409 -2.831827)'))) / (select extract(epoch from '2026-06-18 09:37:15'::timestamp) - extract(epoch from '2026-06-18 09:37: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'), 46821, 'SRID=4674;POINT (-39.684027 -2.831681)', '2026-06-18 09:37:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68409 -2.831827)'), GeomFromEWKT('SRID=4674;POINT (-39.684027 -2.831681)'))) / (select extract(epoch from '2026-06-18 09:37:22'::timestamp) - extract(epoch from '2026-06-18 09:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68409 -2.831827)'), GeomFromEWKT('SRID=4674;POINT (-39.684027 -2.831681)'))) / (select extract(epoch from '2026-06-18 09:37:22'::timestamp) - extract(epoch from '2026-06-18 09:37: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'), 46821, 'SRID=4674;POINT (-39.68398 -2.831576)', '2026-06-18 09:37:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684027 -2.831681)'), GeomFromEWKT('SRID=4674;POINT (-39.68398 -2.831576)'))) / (select extract(epoch from '2026-06-18 09:37:27'::timestamp) - extract(epoch from '2026-06-18 09:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684027 -2.831681)'), GeomFromEWKT('SRID=4674;POINT (-39.68398 -2.831576)'))) / (select extract(epoch from '2026-06-18 09:37:27'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.683922 -2.831404)', '2026-06-18 09:37:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68398 -2.831576)'), GeomFromEWKT('SRID=4674;POINT (-39.683922 -2.831404)'))) / (select extract(epoch from '2026-06-18 09:37:35'::timestamp) - extract(epoch from '2026-06-18 09:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68398 -2.831576)'), GeomFromEWKT('SRID=4674;POINT (-39.683922 -2.831404)'))) / (select extract(epoch from '2026-06-18 09:37:35'::timestamp) - extract(epoch from '2026-06-18 09:37: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'), 46821, 'SRID=4674;POINT (-39.683859 -2.831254)', '2026-06-18 09:37:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683922 -2.831404)'), GeomFromEWKT('SRID=4674;POINT (-39.683859 -2.831254)'))) / (select extract(epoch from '2026-06-18 09:37:42'::timestamp) - extract(epoch from '2026-06-18 09:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683922 -2.831404)'), GeomFromEWKT('SRID=4674;POINT (-39.683859 -2.831254)'))) / (select extract(epoch from '2026-06-18 09:37:42'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.683793 -2.831105)', '2026-06-18 09:37:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683859 -2.831254)'), GeomFromEWKT('SRID=4674;POINT (-39.683793 -2.831105)'))) / (select extract(epoch from '2026-06-18 09:37:49'::timestamp) - extract(epoch from '2026-06-18 09:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683859 -2.831254)'), GeomFromEWKT('SRID=4674;POINT (-39.683793 -2.831105)'))) / (select extract(epoch from '2026-06-18 09:37:49'::timestamp) - extract(epoch from '2026-06-18 09:37: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'), 46821, 'SRID=4674;POINT (-39.68371 -2.830938)', '2026-06-18 09:37:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683793 -2.831105)'), GeomFromEWKT('SRID=4674;POINT (-39.68371 -2.830938)'))) / (select extract(epoch from '2026-06-18 09:37:57'::timestamp) - extract(epoch from '2026-06-18 09:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683793 -2.831105)'), GeomFromEWKT('SRID=4674;POINT (-39.68371 -2.830938)'))) / (select extract(epoch from '2026-06-18 09:37:57'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.683636 -2.830793)', '2026-06-18 09:38:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68371 -2.830938)'), GeomFromEWKT('SRID=4674;POINT (-39.683636 -2.830793)'))) / (select extract(epoch from '2026-06-18 09:38:04'::timestamp) - extract(epoch from '2026-06-18 09:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68371 -2.830938)'), GeomFromEWKT('SRID=4674;POINT (-39.683636 -2.830793)'))) / (select extract(epoch from '2026-06-18 09:38:04'::timestamp) - extract(epoch from '2026-06-18 09:37: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'), 46821, 'SRID=4674;POINT (-39.683586 -2.830687)', '2026-06-18 09:38:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683636 -2.830793)'), GeomFromEWKT('SRID=4674;POINT (-39.683586 -2.830687)'))) / (select extract(epoch from '2026-06-18 09:38:09'::timestamp) - extract(epoch from '2026-06-18 09:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683636 -2.830793)'), GeomFromEWKT('SRID=4674;POINT (-39.683586 -2.830687)'))) / (select extract(epoch from '2026-06-18 09:38:09'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.683517 -2.830543)', '2026-06-18 09:38:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683586 -2.830687)'), GeomFromEWKT('SRID=4674;POINT (-39.683517 -2.830543)'))) / (select extract(epoch from '2026-06-18 09:38:16'::timestamp) - extract(epoch from '2026-06-18 09:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683586 -2.830687)'), GeomFromEWKT('SRID=4674;POINT (-39.683517 -2.830543)'))) / (select extract(epoch from '2026-06-18 09:38:16'::timestamp) - extract(epoch from '2026-06-18 09:38: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'), 46821, 'SRID=4674;POINT (-39.683455 -2.830392)', '2026-06-18 09:38:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683517 -2.830543)'), GeomFromEWKT('SRID=4674;POINT (-39.683455 -2.830392)'))) / (select extract(epoch from '2026-06-18 09:38:23'::timestamp) - extract(epoch from '2026-06-18 09:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683517 -2.830543)'), GeomFromEWKT('SRID=4674;POINT (-39.683455 -2.830392)'))) / (select extract(epoch from '2026-06-18 09:38:23'::timestamp) - extract(epoch from '2026-06-18 09:38: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'), 46821, 'SRID=4674;POINT (-39.6834 -2.830264)', '2026-06-18 09:38:29', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683455 -2.830392)'), GeomFromEWKT('SRID=4674;POINT (-39.6834 -2.830264)'))) / (select extract(epoch from '2026-06-18 09:38:29'::timestamp) - extract(epoch from '2026-06-18 09:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683455 -2.830392)'), GeomFromEWKT('SRID=4674;POINT (-39.6834 -2.830264)'))) / (select extract(epoch from '2026-06-18 09:38:29'::timestamp) - extract(epoch from '2026-06-18 09:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.683342 -2.830139)', '2026-06-18 09:38:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6834 -2.830264)'), GeomFromEWKT('SRID=4674;POINT (-39.683342 -2.830139)'))) / (select extract(epoch from '2026-06-18 09:38:35'::timestamp) - extract(epoch from '2026-06-18 09:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6834 -2.830264)'), GeomFromEWKT('SRID=4674;POINT (-39.683342 -2.830139)'))) / (select extract(epoch from '2026-06-18 09:38:35'::timestamp) - extract(epoch from '2026-06-18 09:38:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.683291 -2.830015)', '2026-06-18 09:38:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683342 -2.830139)'), GeomFromEWKT('SRID=4674;POINT (-39.683291 -2.830015)'))) / (select extract(epoch from '2026-06-18 09:38:41'::timestamp) - extract(epoch from '2026-06-18 09:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683342 -2.830139)'), GeomFromEWKT('SRID=4674;POINT (-39.683291 -2.830015)'))) / (select extract(epoch from '2026-06-18 09:38:41'::timestamp) - extract(epoch from '2026-06-18 09:38:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.683257 -2.829884)', '2026-06-18 09:38:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683291 -2.830015)'), GeomFromEWKT('SRID=4674;POINT (-39.683257 -2.829884)'))) / (select extract(epoch from '2026-06-18 09:38:47'::timestamp) - extract(epoch from '2026-06-18 09:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683291 -2.830015)'), GeomFromEWKT('SRID=4674;POINT (-39.683257 -2.829884)'))) / (select extract(epoch from '2026-06-18 09:38:47'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.683219 -2.829752)', '2026-06-18 09:38:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683257 -2.829884)'), GeomFromEWKT('SRID=4674;POINT (-39.683219 -2.829752)'))) / (select extract(epoch from '2026-06-18 09:38:53'::timestamp) - extract(epoch from '2026-06-18 09:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683257 -2.829884)'), GeomFromEWKT('SRID=4674;POINT (-39.683219 -2.829752)'))) / (select extract(epoch from '2026-06-18 09:38:53'::timestamp) - extract(epoch from '2026-06-18 09:38:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.683183 -2.82965)', '2026-06-18 09:38:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683219 -2.829752)'), GeomFromEWKT('SRID=4674;POINT (-39.683183 -2.82965)'))) / (select extract(epoch from '2026-06-18 09:38:58'::timestamp) - extract(epoch from '2026-06-18 09:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683219 -2.829752)'), GeomFromEWKT('SRID=4674;POINT (-39.683183 -2.82965)'))) / (select extract(epoch from '2026-06-18 09:38:58'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.683149 -2.829548)', '2026-06-18 09:39:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683183 -2.82965)'), GeomFromEWKT('SRID=4674;POINT (-39.683149 -2.829548)'))) / (select extract(epoch from '2026-06-18 09:39:03'::timestamp) - extract(epoch from '2026-06-18 09:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683183 -2.82965)'), GeomFromEWKT('SRID=4674;POINT (-39.683149 -2.829548)'))) / (select extract(epoch from '2026-06-18 09:39:03'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.683105 -2.829425)', '2026-06-18 09:39:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683149 -2.829548)'), GeomFromEWKT('SRID=4674;POINT (-39.683105 -2.829425)'))) / (select extract(epoch from '2026-06-18 09:39:09'::timestamp) - extract(epoch from '2026-06-18 09:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683149 -2.829548)'), GeomFromEWKT('SRID=4674;POINT (-39.683105 -2.829425)'))) / (select extract(epoch from '2026-06-18 09:39:09'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.683063 -2.829323)', '2026-06-18 09:39:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683105 -2.829425)'), GeomFromEWKT('SRID=4674;POINT (-39.683063 -2.829323)'))) / (select extract(epoch from '2026-06-18 09:39:14'::timestamp) - extract(epoch from '2026-06-18 09:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683105 -2.829425)'), GeomFromEWKT('SRID=4674;POINT (-39.683063 -2.829323)'))) / (select extract(epoch from '2026-06-18 09:39:14'::timestamp) - extract(epoch from '2026-06-18 09:39:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.683048 -2.829281)', '2026-06-18 09:39:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683063 -2.829323)'), GeomFromEWKT('SRID=4674;POINT (-39.683048 -2.829281)'))) / (select extract(epoch from '2026-06-18 09:39:16'::timestamp) - extract(epoch from '2026-06-18 09:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683063 -2.829323)'), GeomFromEWKT('SRID=4674;POINT (-39.683048 -2.829281)'))) / (select extract(epoch from '2026-06-18 09:39:16'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.68303 -2.829241)', '2026-06-18 09:39:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683048 -2.829281)'), GeomFromEWKT('SRID=4674;POINT (-39.68303 -2.829241)'))) / (select extract(epoch from '2026-06-18 09:39:18'::timestamp) - extract(epoch from '2026-06-18 09:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683048 -2.829281)'), GeomFromEWKT('SRID=4674;POINT (-39.68303 -2.829241)'))) / (select extract(epoch from '2026-06-18 09:39:18'::timestamp) - extract(epoch from '2026-06-18 09:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.683007 -2.829183)', '2026-06-18 09:39:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68303 -2.829241)'), GeomFromEWKT('SRID=4674;POINT (-39.683007 -2.829183)'))) / (select extract(epoch from '2026-06-18 09:39:21'::timestamp) - extract(epoch from '2026-06-18 09:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68303 -2.829241)'), GeomFromEWKT('SRID=4674;POINT (-39.683007 -2.829183)'))) / (select extract(epoch from '2026-06-18 09:39:21'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.682991 -2.829145)', '2026-06-18 09:39:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683007 -2.829183)'), GeomFromEWKT('SRID=4674;POINT (-39.682991 -2.829145)'))) / (select extract(epoch from '2026-06-18 09:39:23'::timestamp) - extract(epoch from '2026-06-18 09:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683007 -2.829183)'), GeomFromEWKT('SRID=4674;POINT (-39.682991 -2.829145)'))) / (select extract(epoch from '2026-06-18 09:39:23'::timestamp) - extract(epoch from '2026-06-18 09:39: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'), 46821, 'SRID=4674;POINT (-39.682943 -2.829003)', '2026-06-18 09:39:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682991 -2.829145)'), GeomFromEWKT('SRID=4674;POINT (-39.682943 -2.829003)'))) / (select extract(epoch from '2026-06-18 09:39:30'::timestamp) - extract(epoch from '2026-06-18 09:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682991 -2.829145)'), GeomFromEWKT('SRID=4674;POINT (-39.682943 -2.829003)'))) / (select extract(epoch from '2026-06-18 09:39:30'::timestamp) - extract(epoch from '2026-06-18 09:39:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.682888 -2.828857)', '2026-06-18 09:39:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682943 -2.829003)'), GeomFromEWKT('SRID=4674;POINT (-39.682888 -2.828857)'))) / (select extract(epoch from '2026-06-18 09:39:37'::timestamp) - extract(epoch from '2026-06-18 09:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682943 -2.829003)'), GeomFromEWKT('SRID=4674;POINT (-39.682888 -2.828857)'))) / (select extract(epoch from '2026-06-18 09:39:37'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.682846 -2.828732)', '2026-06-18 09:39:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682888 -2.828857)'), GeomFromEWKT('SRID=4674;POINT (-39.682846 -2.828732)'))) / (select extract(epoch from '2026-06-18 09:39:43'::timestamp) - extract(epoch from '2026-06-18 09:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682888 -2.828857)'), GeomFromEWKT('SRID=4674;POINT (-39.682846 -2.828732)'))) / (select extract(epoch from '2026-06-18 09:39:43'::timestamp) - extract(epoch from '2026-06-18 09:39: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'), 46821, 'SRID=4674;POINT (-39.68281 -2.828602)', '2026-06-18 09:39:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682846 -2.828732)'), GeomFromEWKT('SRID=4674;POINT (-39.68281 -2.828602)'))) / (select extract(epoch from '2026-06-18 09:39:49'::timestamp) - extract(epoch from '2026-06-18 09:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682846 -2.828732)'), GeomFromEWKT('SRID=4674;POINT (-39.68281 -2.828602)'))) / (select extract(epoch from '2026-06-18 09:39:49'::timestamp) - extract(epoch from '2026-06-18 09:39: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'), 46821, 'SRID=4674;POINT (-39.682766 -2.828445)', '2026-06-18 09:39:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68281 -2.828602)'), GeomFromEWKT('SRID=4674;POINT (-39.682766 -2.828445)'))) / (select extract(epoch from '2026-06-18 09:39:56'::timestamp) - extract(epoch from '2026-06-18 09:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68281 -2.828602)'), GeomFromEWKT('SRID=4674;POINT (-39.682766 -2.828445)'))) / (select extract(epoch from '2026-06-18 09:39:56'::timestamp) - extract(epoch from '2026-06-18 09:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.682729 -2.828336)', '2026-06-18 09:40:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682766 -2.828445)'), GeomFromEWKT('SRID=4674;POINT (-39.682729 -2.828336)'))) / (select extract(epoch from '2026-06-18 09:40:01'::timestamp) - extract(epoch from '2026-06-18 09:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682766 -2.828445)'), GeomFromEWKT('SRID=4674;POINT (-39.682729 -2.828336)'))) / (select extract(epoch from '2026-06-18 09:40:01'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.682699 -2.828227)', '2026-06-18 09:40:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682729 -2.828336)'), GeomFromEWKT('SRID=4674;POINT (-39.682699 -2.828227)'))) / (select extract(epoch from '2026-06-18 09:40:06'::timestamp) - extract(epoch from '2026-06-18 09:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682729 -2.828336)'), GeomFromEWKT('SRID=4674;POINT (-39.682699 -2.828227)'))) / (select extract(epoch from '2026-06-18 09:40:06'::timestamp) - extract(epoch from '2026-06-18 09: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'), 46821, 'SRID=4674;POINT (-39.682659 -2.828068)', '2026-06-18 09:40:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682699 -2.828227)'), GeomFromEWKT('SRID=4674;POINT (-39.682659 -2.828068)'))) / (select extract(epoch from '2026-06-18 09:40:13'::timestamp) - extract(epoch from '2026-06-18 09:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682699 -2.828227)'), GeomFromEWKT('SRID=4674;POINT (-39.682659 -2.828068)'))) / (select extract(epoch from '2026-06-18 09:40:13'::timestamp) - extract(epoch from '2026-06-18 09:40: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'), 46821, 'SRID=4674;POINT (-39.682625 -2.827927)', '2026-06-18 09:40:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682659 -2.828068)'), GeomFromEWKT('SRID=4674;POINT (-39.682625 -2.827927)'))) / (select extract(epoch from '2026-06-18 09:40:19'::timestamp) - extract(epoch from '2026-06-18 09:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682659 -2.828068)'), GeomFromEWKT('SRID=4674;POINT (-39.682625 -2.827927)'))) / (select extract(epoch from '2026-06-18 09:40:19'::timestamp) - extract(epoch from '2026-06-18 09:40:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46821, 'SRID=4674;POINT (-39.682582 -2.827792)', '2026-06-18 09:40:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682625 -2.827927)'), GeomFromEWKT('SRID=4674;POINT (-39.682582 -2.827792)'))) / (select extract(epoch from '2026-06-18 09:40:25'::timestamp) - extract(epoch from '2026-06-18 09:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682625 -2.827927)'), GeomFromEWKT('SRID=4674;POINT (-39.682582 -2.827792)'))) / (select extract(epoch from '2026-06-18 09:40:25'::timestamp) - extract(epoch from '2026-06-18 09:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
