 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806878 -2.87222)', '2026-07-08 09:52:50', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806917 -2.872214)'), GeomFromEWKT('SRID=4674;POINT (-39.806878 -2.87222)'))) / (select extract(epoch from '2026-07-08 09:52:50'::timestamp) - extract(epoch from '2026-07-08 09:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806917 -2.872214)'), GeomFromEWKT('SRID=4674;POINT (-39.806878 -2.87222)'))) / (select extract(epoch from '2026-07-08 09:52:50'::timestamp) - extract(epoch from '2026-07-08 09:52:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806854 -2.872225)', '2026-07-08 09:52:52', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806878 -2.87222)'), GeomFromEWKT('SRID=4674;POINT (-39.806854 -2.872225)'))) / (select extract(epoch from '2026-07-08 09:52:52'::timestamp) - extract(epoch from '2026-07-08 09:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806878 -2.87222)'), GeomFromEWKT('SRID=4674;POINT (-39.806854 -2.872225)'))) / (select extract(epoch from '2026-07-08 09:52:52'::timestamp) - extract(epoch from '2026-07-08 09: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'), 47862, 'SRID=4674;POINT (-39.806773 -2.87226)', '2026-07-08 09:52:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806854 -2.872225)'), GeomFromEWKT('SRID=4674;POINT (-39.806773 -2.87226)'))) / (select extract(epoch from '2026-07-08 09:52:58'::timestamp) - extract(epoch from '2026-07-08 09:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806854 -2.872225)'), GeomFromEWKT('SRID=4674;POINT (-39.806773 -2.87226)'))) / (select extract(epoch from '2026-07-08 09:52:58'::timestamp) - extract(epoch from '2026-07-08 09:52:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806696 -2.87231)', '2026-07-08 09:53:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806773 -2.87226)'), GeomFromEWKT('SRID=4674;POINT (-39.806696 -2.87231)'))) / (select extract(epoch from '2026-07-08 09:53:05'::timestamp) - extract(epoch from '2026-07-08 09:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806773 -2.87226)'), GeomFromEWKT('SRID=4674;POINT (-39.806696 -2.87231)'))) / (select extract(epoch from '2026-07-08 09:53:05'::timestamp) - extract(epoch from '2026-07-08 09:52: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'), 47862, 'SRID=4674;POINT (-39.806622 -2.872323)', '2026-07-08 09:53:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806696 -2.87231)'), GeomFromEWKT('SRID=4674;POINT (-39.806622 -2.872323)'))) / (select extract(epoch from '2026-07-08 09:53:12'::timestamp) - extract(epoch from '2026-07-08 09:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806696 -2.87231)'), GeomFromEWKT('SRID=4674;POINT (-39.806622 -2.872323)'))) / (select extract(epoch from '2026-07-08 09:53:12'::timestamp) - extract(epoch from '2026-07-08 09:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80659 -2.872323)', '2026-07-08 09:53:16', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806622 -2.872323)'), GeomFromEWKT('SRID=4674;POINT (-39.80659 -2.872323)'))) / (select extract(epoch from '2026-07-08 09:53:16'::timestamp) - extract(epoch from '2026-07-08 09:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806622 -2.872323)'), GeomFromEWKT('SRID=4674;POINT (-39.80659 -2.872323)'))) / (select extract(epoch from '2026-07-08 09:53:16'::timestamp) - extract(epoch from '2026-07-08 09: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'), 47862, 'SRID=4674;POINT (-39.806581 -2.872323)', '2026-07-08 09:53:17', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80659 -2.872323)'), GeomFromEWKT('SRID=4674;POINT (-39.806581 -2.872323)'))) / (select extract(epoch from '2026-07-08 09:53:17'::timestamp) - extract(epoch from '2026-07-08 09:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80659 -2.872323)'), GeomFromEWKT('SRID=4674;POINT (-39.806581 -2.872323)'))) / (select extract(epoch from '2026-07-08 09:53:17'::timestamp) - extract(epoch from '2026-07-08 09:53:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806546 -2.872335)', '2026-07-08 09:53:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806581 -2.872323)'), GeomFromEWKT('SRID=4674;POINT (-39.806546 -2.872335)'))) / (select extract(epoch from '2026-07-08 09:53:25'::timestamp) - extract(epoch from '2026-07-08 09:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806581 -2.872323)'), GeomFromEWKT('SRID=4674;POINT (-39.806546 -2.872335)'))) / (select extract(epoch from '2026-07-08 09:53:25'::timestamp) - extract(epoch from '2026-07-08 09:53: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'), 47862, 'SRID=4674;POINT (-39.806558 -2.872359)', '2026-07-08 09:53:31', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806546 -2.872335)'), GeomFromEWKT('SRID=4674;POINT (-39.806558 -2.872359)'))) / (select extract(epoch from '2026-07-08 09:53:31'::timestamp) - extract(epoch from '2026-07-08 09:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806546 -2.872335)'), GeomFromEWKT('SRID=4674;POINT (-39.806558 -2.872359)'))) / (select extract(epoch from '2026-07-08 09:53:31'::timestamp) - extract(epoch from '2026-07-08 09:53: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'), 47862, 'SRID=4674;POINT (-39.806591 -2.872369)', '2026-07-08 09:53:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806558 -2.872359)'), GeomFromEWKT('SRID=4674;POINT (-39.806591 -2.872369)'))) / (select extract(epoch from '2026-07-08 09:53:37'::timestamp) - extract(epoch from '2026-07-08 09:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806558 -2.872359)'), GeomFromEWKT('SRID=4674;POINT (-39.806591 -2.872369)'))) / (select extract(epoch from '2026-07-08 09:53:37'::timestamp) - extract(epoch from '2026-07-08 09:53:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806635 -2.872386)', '2026-07-08 09:53:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806591 -2.872369)'), GeomFromEWKT('SRID=4674;POINT (-39.806635 -2.872386)'))) / (select extract(epoch from '2026-07-08 09:53:49'::timestamp) - extract(epoch from '2026-07-08 09:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806591 -2.872369)'), GeomFromEWKT('SRID=4674;POINT (-39.806635 -2.872386)'))) / (select extract(epoch from '2026-07-08 09:53:49'::timestamp) - extract(epoch from '2026-07-08 09:53:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806674 -2.872394)', '2026-07-08 09:53:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806635 -2.872386)'), GeomFromEWKT('SRID=4674;POINT (-39.806674 -2.872394)'))) / (select extract(epoch from '2026-07-08 09:53:55'::timestamp) - extract(epoch from '2026-07-08 09:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806635 -2.872386)'), GeomFromEWKT('SRID=4674;POINT (-39.806674 -2.872394)'))) / (select extract(epoch from '2026-07-08 09:53:55'::timestamp) - extract(epoch from '2026-07-08 09:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806691 -2.872379)', '2026-07-08 09:54:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806674 -2.872394)'), GeomFromEWKT('SRID=4674;POINT (-39.806691 -2.872379)'))) / (select extract(epoch from '2026-07-08 09:54:02'::timestamp) - extract(epoch from '2026-07-08 09:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806674 -2.872394)'), GeomFromEWKT('SRID=4674;POINT (-39.806691 -2.872379)'))) / (select extract(epoch from '2026-07-08 09:54:02'::timestamp) - extract(epoch from '2026-07-08 09:53:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80672 -2.872366)', '2026-07-08 09:54:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806691 -2.872379)'), GeomFromEWKT('SRID=4674;POINT (-39.80672 -2.872366)'))) / (select extract(epoch from '2026-07-08 09:54:11'::timestamp) - extract(epoch from '2026-07-08 09:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806691 -2.872379)'), GeomFromEWKT('SRID=4674;POINT (-39.80672 -2.872366)'))) / (select extract(epoch from '2026-07-08 09:54:11'::timestamp) - extract(epoch from '2026-07-08 09:54:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806699 -2.872379)', '2026-07-08 09:54:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80672 -2.872366)'), GeomFromEWKT('SRID=4674;POINT (-39.806699 -2.872379)'))) / (select extract(epoch from '2026-07-08 09:54:20'::timestamp) - extract(epoch from '2026-07-08 09:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80672 -2.872366)'), GeomFromEWKT('SRID=4674;POINT (-39.806699 -2.872379)'))) / (select extract(epoch from '2026-07-08 09:54:20'::timestamp) - extract(epoch from '2026-07-08 09:54:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806677 -2.872437)', '2026-07-08 09:54:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806699 -2.872379)'), GeomFromEWKT('SRID=4674;POINT (-39.806677 -2.872437)'))) / (select extract(epoch from '2026-07-08 09:54:30'::timestamp) - extract(epoch from '2026-07-08 09:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806699 -2.872379)'), GeomFromEWKT('SRID=4674;POINT (-39.806677 -2.872437)'))) / (select extract(epoch from '2026-07-08 09:54:30'::timestamp) - extract(epoch from '2026-07-08 09:54: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'), 47862, 'SRID=4674;POINT (-39.806679 -2.872444)', '2026-07-08 09:54:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806677 -2.872437)'), GeomFromEWKT('SRID=4674;POINT (-39.806679 -2.872444)'))) / (select extract(epoch from '2026-07-08 09:54:31'::timestamp) - extract(epoch from '2026-07-08 09:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806677 -2.872437)'), GeomFromEWKT('SRID=4674;POINT (-39.806679 -2.872444)'))) / (select extract(epoch from '2026-07-08 09:54:31'::timestamp) - extract(epoch from '2026-07-08 09:54:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806689 -2.872469)', '2026-07-08 09:54:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806679 -2.872444)'), GeomFromEWKT('SRID=4674;POINT (-39.806689 -2.872469)'))) / (select extract(epoch from '2026-07-08 09:54:35'::timestamp) - extract(epoch from '2026-07-08 09:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806679 -2.872444)'), GeomFromEWKT('SRID=4674;POINT (-39.806689 -2.872469)'))) / (select extract(epoch from '2026-07-08 09:54:35'::timestamp) - extract(epoch from '2026-07-08 09:54: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'), 47862, 'SRID=4674;POINT (-39.806704 -2.872493)', '2026-07-08 09:54:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806689 -2.872469)'), GeomFromEWKT('SRID=4674;POINT (-39.806704 -2.872493)'))) / (select extract(epoch from '2026-07-08 09:54:45'::timestamp) - extract(epoch from '2026-07-08 09:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806689 -2.872469)'), GeomFromEWKT('SRID=4674;POINT (-39.806704 -2.872493)'))) / (select extract(epoch from '2026-07-08 09:54:45'::timestamp) - extract(epoch from '2026-07-08 09:54:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806725 -2.8725)', '2026-07-08 09:54:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806704 -2.872493)'), GeomFromEWKT('SRID=4674;POINT (-39.806725 -2.8725)'))) / (select extract(epoch from '2026-07-08 09:54:56'::timestamp) - extract(epoch from '2026-07-08 09:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806704 -2.872493)'), GeomFromEWKT('SRID=4674;POINT (-39.806725 -2.8725)'))) / (select extract(epoch from '2026-07-08 09:54:56'::timestamp) - extract(epoch from '2026-07-08 09:54: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'), 47862, 'SRID=4674;POINT (-39.806777 -2.872487)', '2026-07-08 09:55:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806725 -2.8725)'), GeomFromEWKT('SRID=4674;POINT (-39.806777 -2.872487)'))) / (select extract(epoch from '2026-07-08 09:55:13'::timestamp) - extract(epoch from '2026-07-08 09:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806725 -2.8725)'), GeomFromEWKT('SRID=4674;POINT (-39.806777 -2.872487)'))) / (select extract(epoch from '2026-07-08 09:55:13'::timestamp) - extract(epoch from '2026-07-08 09:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806836 -2.872455)', '2026-07-08 09:55:29', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806777 -2.872487)'), GeomFromEWKT('SRID=4674;POINT (-39.806836 -2.872455)'))) / (select extract(epoch from '2026-07-08 09:55:29'::timestamp) - extract(epoch from '2026-07-08 09:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806777 -2.872487)'), GeomFromEWKT('SRID=4674;POINT (-39.806836 -2.872455)'))) / (select extract(epoch from '2026-07-08 09:55:29'::timestamp) - extract(epoch from '2026-07-08 09:55: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'), 47862, 'SRID=4674;POINT (-39.806864 -2.872443)', '2026-07-08 09:55:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806836 -2.872455)'), GeomFromEWKT('SRID=4674;POINT (-39.806864 -2.872443)'))) / (select extract(epoch from '2026-07-08 09:55:38'::timestamp) - extract(epoch from '2026-07-08 09:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806836 -2.872455)'), GeomFromEWKT('SRID=4674;POINT (-39.806864 -2.872443)'))) / (select extract(epoch from '2026-07-08 09:55:38'::timestamp) - extract(epoch from '2026-07-08 09:55:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806889 -2.872427)', '2026-07-08 09:55:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806864 -2.872443)'), GeomFromEWKT('SRID=4674;POINT (-39.806889 -2.872427)'))) / (select extract(epoch from '2026-07-08 09:55:46'::timestamp) - extract(epoch from '2026-07-08 09:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806864 -2.872443)'), GeomFromEWKT('SRID=4674;POINT (-39.806889 -2.872427)'))) / (select extract(epoch from '2026-07-08 09:55:46'::timestamp) - extract(epoch from '2026-07-08 09:55: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'), 47862, 'SRID=4674;POINT (-39.806917 -2.872397)', '2026-07-08 09:55:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806889 -2.872427)'), GeomFromEWKT('SRID=4674;POINT (-39.806917 -2.872397)'))) / (select extract(epoch from '2026-07-08 09:55:55'::timestamp) - extract(epoch from '2026-07-08 09:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806889 -2.872427)'), GeomFromEWKT('SRID=4674;POINT (-39.806917 -2.872397)'))) / (select extract(epoch from '2026-07-08 09:55:55'::timestamp) - extract(epoch from '2026-07-08 09:55:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80689 -2.872385)', '2026-07-08 09:56:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806917 -2.872397)'), GeomFromEWKT('SRID=4674;POINT (-39.80689 -2.872385)'))) / (select extract(epoch from '2026-07-08 09:56:04'::timestamp) - extract(epoch from '2026-07-08 09:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806917 -2.872397)'), GeomFromEWKT('SRID=4674;POINT (-39.80689 -2.872385)'))) / (select extract(epoch from '2026-07-08 09:56:04'::timestamp) - extract(epoch from '2026-07-08 09:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806886 -2.87241)', '2026-07-08 09:56:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80689 -2.872385)'), GeomFromEWKT('SRID=4674;POINT (-39.806886 -2.87241)'))) / (select extract(epoch from '2026-07-08 09:56:12'::timestamp) - extract(epoch from '2026-07-08 09:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80689 -2.872385)'), GeomFromEWKT('SRID=4674;POINT (-39.806886 -2.87241)'))) / (select extract(epoch from '2026-07-08 09:56:12'::timestamp) - extract(epoch from '2026-07-08 09:56:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806891 -2.872437)', '2026-07-08 09:56:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806886 -2.87241)'), GeomFromEWKT('SRID=4674;POINT (-39.806891 -2.872437)'))) / (select extract(epoch from '2026-07-08 09:56:20'::timestamp) - extract(epoch from '2026-07-08 09:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806886 -2.87241)'), GeomFromEWKT('SRID=4674;POINT (-39.806891 -2.872437)'))) / (select extract(epoch from '2026-07-08 09:56:20'::timestamp) - extract(epoch from '2026-07-08 09: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'), 47862, 'SRID=4674;POINT (-39.806902 -2.872453)', '2026-07-08 09:56:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806891 -2.872437)'), GeomFromEWKT('SRID=4674;POINT (-39.806902 -2.872453)'))) / (select extract(epoch from '2026-07-08 09:56:29'::timestamp) - extract(epoch from '2026-07-08 09:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806891 -2.872437)'), GeomFromEWKT('SRID=4674;POINT (-39.806902 -2.872453)'))) / (select extract(epoch from '2026-07-08 09:56:29'::timestamp) - extract(epoch from '2026-07-08 09: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'), 47862, 'SRID=4674;POINT (-39.806907 -2.872475)', '2026-07-08 09:56:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806902 -2.872453)'), GeomFromEWKT('SRID=4674;POINT (-39.806907 -2.872475)'))) / (select extract(epoch from '2026-07-08 09:56:37'::timestamp) - extract(epoch from '2026-07-08 09:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806902 -2.872453)'), GeomFromEWKT('SRID=4674;POINT (-39.806907 -2.872475)'))) / (select extract(epoch from '2026-07-08 09:56:37'::timestamp) - extract(epoch from '2026-07-08 09:56:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806904 -2.872486)', '2026-07-08 09:56:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806907 -2.872475)'), GeomFromEWKT('SRID=4674;POINT (-39.806904 -2.872486)'))) / (select extract(epoch from '2026-07-08 09:56:39'::timestamp) - extract(epoch from '2026-07-08 09:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806907 -2.872475)'), GeomFromEWKT('SRID=4674;POINT (-39.806904 -2.872486)'))) / (select extract(epoch from '2026-07-08 09:56:39'::timestamp) - extract(epoch from '2026-07-08 09:56: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'), 47862, 'SRID=4674;POINT (-39.806858 -2.87254)', '2026-07-08 09:56:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806904 -2.872486)'), GeomFromEWKT('SRID=4674;POINT (-39.806858 -2.87254)'))) / (select extract(epoch from '2026-07-08 09:56:47'::timestamp) - extract(epoch from '2026-07-08 09:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806904 -2.872486)'), GeomFromEWKT('SRID=4674;POINT (-39.806858 -2.87254)'))) / (select extract(epoch from '2026-07-08 09:56:47'::timestamp) - extract(epoch from '2026-07-08 09:56: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'), 47862, 'SRID=4674;POINT (-39.806841 -2.872561)', '2026-07-08 09:56:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806858 -2.87254)'), GeomFromEWKT('SRID=4674;POINT (-39.806841 -2.872561)'))) / (select extract(epoch from '2026-07-08 09:56:49'::timestamp) - extract(epoch from '2026-07-08 09:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806858 -2.87254)'), GeomFromEWKT('SRID=4674;POINT (-39.806841 -2.872561)'))) / (select extract(epoch from '2026-07-08 09:56:49'::timestamp) - extract(epoch from '2026-07-08 09: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'), 47862, 'SRID=4674;POINT (-39.80682 -2.872598)', '2026-07-08 09:56:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806841 -2.872561)'), GeomFromEWKT('SRID=4674;POINT (-39.80682 -2.872598)'))) / (select extract(epoch from '2026-07-08 09:56:52'::timestamp) - extract(epoch from '2026-07-08 09:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806841 -2.872561)'), GeomFromEWKT('SRID=4674;POINT (-39.80682 -2.872598)'))) / (select extract(epoch from '2026-07-08 09:56:52'::timestamp) - extract(epoch from '2026-07-08 09:56:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806765 -2.872658)', '2026-07-08 09:56:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80682 -2.872598)'), GeomFromEWKT('SRID=4674;POINT (-39.806765 -2.872658)'))) / (select extract(epoch from '2026-07-08 09:56:58'::timestamp) - extract(epoch from '2026-07-08 09:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80682 -2.872598)'), GeomFromEWKT('SRID=4674;POINT (-39.806765 -2.872658)'))) / (select extract(epoch from '2026-07-08 09:56:58'::timestamp) - extract(epoch from '2026-07-08 09:56:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806744 -2.872678)', '2026-07-08 09:57:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806765 -2.872658)'), GeomFromEWKT('SRID=4674;POINT (-39.806744 -2.872678)'))) / (select extract(epoch from '2026-07-08 09:57:00'::timestamp) - extract(epoch from '2026-07-08 09:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806765 -2.872658)'), GeomFromEWKT('SRID=4674;POINT (-39.806744 -2.872678)'))) / (select extract(epoch from '2026-07-08 09:57:00'::timestamp) - extract(epoch from '2026-07-08 09:56: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'), 47862, 'SRID=4674;POINT (-39.80669 -2.872761)', '2026-07-08 09:57:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806744 -2.872678)'), GeomFromEWKT('SRID=4674;POINT (-39.80669 -2.872761)'))) / (select extract(epoch from '2026-07-08 09:57:07'::timestamp) - extract(epoch from '2026-07-08 09:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806744 -2.872678)'), GeomFromEWKT('SRID=4674;POINT (-39.80669 -2.872761)'))) / (select extract(epoch from '2026-07-08 09:57:07'::timestamp) - extract(epoch from '2026-07-08 09: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'), 47862, 'SRID=4674;POINT (-39.806674 -2.872834)', '2026-07-08 09:57:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80669 -2.872761)'), GeomFromEWKT('SRID=4674;POINT (-39.806674 -2.872834)'))) / (select extract(epoch from '2026-07-08 09:57:12'::timestamp) - extract(epoch from '2026-07-08 09:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80669 -2.872761)'), GeomFromEWKT('SRID=4674;POINT (-39.806674 -2.872834)'))) / (select extract(epoch from '2026-07-08 09:57:12'::timestamp) - extract(epoch from '2026-07-08 09:57: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'), 47862, 'SRID=4674;POINT (-39.806672 -2.872864)', '2026-07-08 09:57:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806674 -2.872834)'), GeomFromEWKT('SRID=4674;POINT (-39.806672 -2.872864)'))) / (select extract(epoch from '2026-07-08 09:57:14'::timestamp) - extract(epoch from '2026-07-08 09:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806674 -2.872834)'), GeomFromEWKT('SRID=4674;POINT (-39.806672 -2.872864)'))) / (select extract(epoch from '2026-07-08 09:57:14'::timestamp) - extract(epoch from '2026-07-08 09:57: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'), 47862, 'SRID=4674;POINT (-39.806664 -2.872889)', '2026-07-08 09:57:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806672 -2.872864)'), GeomFromEWKT('SRID=4674;POINT (-39.806664 -2.872889)'))) / (select extract(epoch from '2026-07-08 09:57:16'::timestamp) - extract(epoch from '2026-07-08 09:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806672 -2.872864)'), GeomFromEWKT('SRID=4674;POINT (-39.806664 -2.872889)'))) / (select extract(epoch from '2026-07-08 09:57:16'::timestamp) - extract(epoch from '2026-07-08 09:57: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'), 47862, 'SRID=4674;POINT (-39.806656 -2.872899)', '2026-07-08 09:57:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806664 -2.872889)'), GeomFromEWKT('SRID=4674;POINT (-39.806656 -2.872899)'))) / (select extract(epoch from '2026-07-08 09:57:17'::timestamp) - extract(epoch from '2026-07-08 09:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806664 -2.872889)'), GeomFromEWKT('SRID=4674;POINT (-39.806656 -2.872899)'))) / (select extract(epoch from '2026-07-08 09:57:17'::timestamp) - extract(epoch from '2026-07-08 09:57:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80662 -2.872927)', '2026-07-08 09:57:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806656 -2.872899)'), GeomFromEWKT('SRID=4674;POINT (-39.80662 -2.872927)'))) / (select extract(epoch from '2026-07-08 09:57:20'::timestamp) - extract(epoch from '2026-07-08 09:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806656 -2.872899)'), GeomFromEWKT('SRID=4674;POINT (-39.80662 -2.872927)'))) / (select extract(epoch from '2026-07-08 09:57:20'::timestamp) - extract(epoch from '2026-07-08 09:57:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806611 -2.872933)', '2026-07-08 09:57:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80662 -2.872927)'), GeomFromEWKT('SRID=4674;POINT (-39.806611 -2.872933)'))) / (select extract(epoch from '2026-07-08 09:57:22'::timestamp) - extract(epoch from '2026-07-08 09:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80662 -2.872927)'), GeomFromEWKT('SRID=4674;POINT (-39.806611 -2.872933)'))) / (select extract(epoch from '2026-07-08 09:57:22'::timestamp) - extract(epoch from '2026-07-08 09:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806601 -2.87294)', '2026-07-08 09:57:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806611 -2.872933)'), GeomFromEWKT('SRID=4674;POINT (-39.806601 -2.87294)'))) / (select extract(epoch from '2026-07-08 09:57:23'::timestamp) - extract(epoch from '2026-07-08 09:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806611 -2.872933)'), GeomFromEWKT('SRID=4674;POINT (-39.806601 -2.87294)'))) / (select extract(epoch from '2026-07-08 09:57:23'::timestamp) - extract(epoch from '2026-07-08 09: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'), 47862, 'SRID=4674;POINT (-39.806593 -2.872949)', '2026-07-08 09:57:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806601 -2.87294)'), GeomFromEWKT('SRID=4674;POINT (-39.806593 -2.872949)'))) / (select extract(epoch from '2026-07-08 09:57:24'::timestamp) - extract(epoch from '2026-07-08 09:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806601 -2.87294)'), GeomFromEWKT('SRID=4674;POINT (-39.806593 -2.872949)'))) / (select extract(epoch from '2026-07-08 09:57:24'::timestamp) - extract(epoch from '2026-07-08 09:57:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806554 -2.873017)', '2026-07-08 09:57:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806593 -2.872949)'), GeomFromEWKT('SRID=4674;POINT (-39.806554 -2.873017)'))) / (select extract(epoch from '2026-07-08 09:57:30'::timestamp) - extract(epoch from '2026-07-08 09:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806593 -2.872949)'), GeomFromEWKT('SRID=4674;POINT (-39.806554 -2.873017)'))) / (select extract(epoch from '2026-07-08 09:57:30'::timestamp) - extract(epoch from '2026-07-08 09:57:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80656 -2.87306)', '2026-07-08 09:57:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806554 -2.873017)'), GeomFromEWKT('SRID=4674;POINT (-39.80656 -2.87306)'))) / (select extract(epoch from '2026-07-08 09:57:33'::timestamp) - extract(epoch from '2026-07-08 09:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806554 -2.873017)'), GeomFromEWKT('SRID=4674;POINT (-39.80656 -2.87306)'))) / (select extract(epoch from '2026-07-08 09:57:33'::timestamp) - extract(epoch from '2026-07-08 09:57:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806562 -2.873087)', '2026-07-08 09:57:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80656 -2.87306)'), GeomFromEWKT('SRID=4674;POINT (-39.806562 -2.873087)'))) / (select extract(epoch from '2026-07-08 09:57:35'::timestamp) - extract(epoch from '2026-07-08 09:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80656 -2.87306)'), GeomFromEWKT('SRID=4674;POINT (-39.806562 -2.873087)'))) / (select extract(epoch from '2026-07-08 09:57:35'::timestamp) - extract(epoch from '2026-07-08 09:57: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'), 47862, 'SRID=4674;POINT (-39.806567 -2.873116)', '2026-07-08 09:57:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806562 -2.873087)'), GeomFromEWKT('SRID=4674;POINT (-39.806567 -2.873116)'))) / (select extract(epoch from '2026-07-08 09:57:37'::timestamp) - extract(epoch from '2026-07-08 09:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806562 -2.873087)'), GeomFromEWKT('SRID=4674;POINT (-39.806567 -2.873116)'))) / (select extract(epoch from '2026-07-08 09:57:37'::timestamp) - extract(epoch from '2026-07-08 09:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806573 -2.873145)', '2026-07-08 09:57:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806567 -2.873116)'), GeomFromEWKT('SRID=4674;POINT (-39.806573 -2.873145)'))) / (select extract(epoch from '2026-07-08 09:57:39'::timestamp) - extract(epoch from '2026-07-08 09:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806567 -2.873116)'), GeomFromEWKT('SRID=4674;POINT (-39.806573 -2.873145)'))) / (select extract(epoch from '2026-07-08 09:57:39'::timestamp) - extract(epoch from '2026-07-08 09:57:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806561 -2.873206)', '2026-07-08 09:57:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806573 -2.873145)'), GeomFromEWKT('SRID=4674;POINT (-39.806561 -2.873206)'))) / (select extract(epoch from '2026-07-08 09:57:44'::timestamp) - extract(epoch from '2026-07-08 09:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806573 -2.873145)'), GeomFromEWKT('SRID=4674;POINT (-39.806561 -2.873206)'))) / (select extract(epoch from '2026-07-08 09:57:44'::timestamp) - extract(epoch from '2026-07-08 09:57: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'), 47862, 'SRID=4674;POINT (-39.806541 -2.873234)', '2026-07-08 09:57:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806561 -2.873206)'), GeomFromEWKT('SRID=4674;POINT (-39.806541 -2.873234)'))) / (select extract(epoch from '2026-07-08 09:57:47'::timestamp) - extract(epoch from '2026-07-08 09:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806561 -2.873206)'), GeomFromEWKT('SRID=4674;POINT (-39.806541 -2.873234)'))) / (select extract(epoch from '2026-07-08 09:57:47'::timestamp) - extract(epoch from '2026-07-08 09:57:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806473 -2.87335)', '2026-07-08 09:57:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806541 -2.873234)'), GeomFromEWKT('SRID=4674;POINT (-39.806473 -2.87335)'))) / (select extract(epoch from '2026-07-08 09:57:56'::timestamp) - extract(epoch from '2026-07-08 09:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806541 -2.873234)'), GeomFromEWKT('SRID=4674;POINT (-39.806473 -2.87335)'))) / (select extract(epoch from '2026-07-08 09:57:56'::timestamp) - extract(epoch from '2026-07-08 09:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806401 -2.873431)', '2026-07-08 09:58:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806473 -2.87335)'), GeomFromEWKT('SRID=4674;POINT (-39.806401 -2.873431)'))) / (select extract(epoch from '2026-07-08 09:58:05'::timestamp) - extract(epoch from '2026-07-08 09:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806473 -2.87335)'), GeomFromEWKT('SRID=4674;POINT (-39.806401 -2.873431)'))) / (select extract(epoch from '2026-07-08 09:58:05'::timestamp) - extract(epoch from '2026-07-08 09:57: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'), 47862, 'SRID=4674;POINT (-39.806353 -2.873505)', '2026-07-08 09:58:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806401 -2.873431)'), GeomFromEWKT('SRID=4674;POINT (-39.806353 -2.873505)'))) / (select extract(epoch from '2026-07-08 09:58:11'::timestamp) - extract(epoch from '2026-07-08 09:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806401 -2.873431)'), GeomFromEWKT('SRID=4674;POINT (-39.806353 -2.873505)'))) / (select extract(epoch from '2026-07-08 09:58:11'::timestamp) - extract(epoch from '2026-07-08 09:58:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806346 -2.873518)', '2026-07-08 09:58:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806353 -2.873505)'), GeomFromEWKT('SRID=4674;POINT (-39.806346 -2.873518)'))) / (select extract(epoch from '2026-07-08 09:58:12'::timestamp) - extract(epoch from '2026-07-08 09:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806353 -2.873505)'), GeomFromEWKT('SRID=4674;POINT (-39.806346 -2.873518)'))) / (select extract(epoch from '2026-07-08 09:58:12'::timestamp) - extract(epoch from '2026-07-08 09:58: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'), 47862, 'SRID=4674;POINT (-39.806337 -2.873528)', '2026-07-08 09:58:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806346 -2.873518)'), GeomFromEWKT('SRID=4674;POINT (-39.806337 -2.873528)'))) / (select extract(epoch from '2026-07-08 09:58:13'::timestamp) - extract(epoch from '2026-07-08 09:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806346 -2.873518)'), GeomFromEWKT('SRID=4674;POINT (-39.806337 -2.873528)'))) / (select extract(epoch from '2026-07-08 09:58:13'::timestamp) - extract(epoch from '2026-07-08 09:58:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806301 -2.873565)', '2026-07-08 09:58:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806337 -2.873528)'), GeomFromEWKT('SRID=4674;POINT (-39.806301 -2.873565)'))) / (select extract(epoch from '2026-07-08 09:58:17'::timestamp) - extract(epoch from '2026-07-08 09:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806337 -2.873528)'), GeomFromEWKT('SRID=4674;POINT (-39.806301 -2.873565)'))) / (select extract(epoch from '2026-07-08 09:58:17'::timestamp) - extract(epoch from '2026-07-08 09:58: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'), 47862, 'SRID=4674;POINT (-39.806263 -2.873594)', '2026-07-08 09:58:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806301 -2.873565)'), GeomFromEWKT('SRID=4674;POINT (-39.806263 -2.873594)'))) / (select extract(epoch from '2026-07-08 09:58:21'::timestamp) - extract(epoch from '2026-07-08 09:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806301 -2.873565)'), GeomFromEWKT('SRID=4674;POINT (-39.806263 -2.873594)'))) / (select extract(epoch from '2026-07-08 09:58:21'::timestamp) - extract(epoch from '2026-07-08 09:58: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'), 47862, 'SRID=4674;POINT (-39.806257 -2.873602)', '2026-07-08 09:58:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806263 -2.873594)'), GeomFromEWKT('SRID=4674;POINT (-39.806257 -2.873602)'))) / (select extract(epoch from '2026-07-08 09:58:22'::timestamp) - extract(epoch from '2026-07-08 09:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806263 -2.873594)'), GeomFromEWKT('SRID=4674;POINT (-39.806257 -2.873602)'))) / (select extract(epoch from '2026-07-08 09:58:22'::timestamp) - extract(epoch from '2026-07-08 09:58:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806225 -2.873649)', '2026-07-08 09:58:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806257 -2.873602)'), GeomFromEWKT('SRID=4674;POINT (-39.806225 -2.873649)'))) / (select extract(epoch from '2026-07-08 09:58:28'::timestamp) - extract(epoch from '2026-07-08 09:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806257 -2.873602)'), GeomFromEWKT('SRID=4674;POINT (-39.806225 -2.873649)'))) / (select extract(epoch from '2026-07-08 09:58:28'::timestamp) - extract(epoch from '2026-07-08 09:58: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'), 47862, 'SRID=4674;POINT (-39.806216 -2.873668)', '2026-07-08 09:58:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806225 -2.873649)'), GeomFromEWKT('SRID=4674;POINT (-39.806216 -2.873668)'))) / (select extract(epoch from '2026-07-08 09:58:30'::timestamp) - extract(epoch from '2026-07-08 09:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806225 -2.873649)'), GeomFromEWKT('SRID=4674;POINT (-39.806216 -2.873668)'))) / (select extract(epoch from '2026-07-08 09:58:30'::timestamp) - extract(epoch from '2026-07-08 09:58: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'), 47862, 'SRID=4674;POINT (-39.80621 -2.8737)', '2026-07-08 09:58:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806216 -2.873668)'), GeomFromEWKT('SRID=4674;POINT (-39.80621 -2.8737)'))) / (select extract(epoch from '2026-07-08 09:58:33'::timestamp) - extract(epoch from '2026-07-08 09:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806216 -2.873668)'), GeomFromEWKT('SRID=4674;POINT (-39.80621 -2.8737)'))) / (select extract(epoch from '2026-07-08 09:58:33'::timestamp) - extract(epoch from '2026-07-08 09:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806204 -2.873721)', '2026-07-08 09:58:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80621 -2.8737)'), GeomFromEWKT('SRID=4674;POINT (-39.806204 -2.873721)'))) / (select extract(epoch from '2026-07-08 09:58:35'::timestamp) - extract(epoch from '2026-07-08 09:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80621 -2.8737)'), GeomFromEWKT('SRID=4674;POINT (-39.806204 -2.873721)'))) / (select extract(epoch from '2026-07-08 09:58:35'::timestamp) - extract(epoch from '2026-07-08 09:58: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'), 47862, 'SRID=4674;POINT (-39.806187 -2.873746)', '2026-07-08 09:58:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806204 -2.873721)'), GeomFromEWKT('SRID=4674;POINT (-39.806187 -2.873746)'))) / (select extract(epoch from '2026-07-08 09:58:38'::timestamp) - extract(epoch from '2026-07-08 09:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806204 -2.873721)'), GeomFromEWKT('SRID=4674;POINT (-39.806187 -2.873746)'))) / (select extract(epoch from '2026-07-08 09:58:38'::timestamp) - extract(epoch from '2026-07-08 09:58:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806136 -2.873792)', '2026-07-08 09:58:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806187 -2.873746)'), GeomFromEWKT('SRID=4674;POINT (-39.806136 -2.873792)'))) / (select extract(epoch from '2026-07-08 09:58:44'::timestamp) - extract(epoch from '2026-07-08 09:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806187 -2.873746)'), GeomFromEWKT('SRID=4674;POINT (-39.806136 -2.873792)'))) / (select extract(epoch from '2026-07-08 09:58:44'::timestamp) - extract(epoch from '2026-07-08 09:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806128 -2.873801)', '2026-07-08 09:58:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806136 -2.873792)'), GeomFromEWKT('SRID=4674;POINT (-39.806128 -2.873801)'))) / (select extract(epoch from '2026-07-08 09:58:45'::timestamp) - extract(epoch from '2026-07-08 09:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806136 -2.873792)'), GeomFromEWKT('SRID=4674;POINT (-39.806128 -2.873801)'))) / (select extract(epoch from '2026-07-08 09:58:45'::timestamp) - extract(epoch from '2026-07-08 09:58:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806088 -2.873847)', '2026-07-08 09:58:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806128 -2.873801)'), GeomFromEWKT('SRID=4674;POINT (-39.806088 -2.873847)'))) / (select extract(epoch from '2026-07-08 09:58:50'::timestamp) - extract(epoch from '2026-07-08 09:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806128 -2.873801)'), GeomFromEWKT('SRID=4674;POINT (-39.806088 -2.873847)'))) / (select extract(epoch from '2026-07-08 09:58:50'::timestamp) - extract(epoch from '2026-07-08 09:58: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'), 47862, 'SRID=4674;POINT (-39.806069 -2.873867)', '2026-07-08 09:58:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806088 -2.873847)'), GeomFromEWKT('SRID=4674;POINT (-39.806069 -2.873867)'))) / (select extract(epoch from '2026-07-08 09:58:52'::timestamp) - extract(epoch from '2026-07-08 09:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806088 -2.873847)'), GeomFromEWKT('SRID=4674;POINT (-39.806069 -2.873867)'))) / (select extract(epoch from '2026-07-08 09:58:52'::timestamp) - extract(epoch from '2026-07-08 09:58:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806056 -2.873888)', '2026-07-08 09:58:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806069 -2.873867)'), GeomFromEWKT('SRID=4674;POINT (-39.806056 -2.873888)'))) / (select extract(epoch from '2026-07-08 09:58:54'::timestamp) - extract(epoch from '2026-07-08 09:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806069 -2.873867)'), GeomFromEWKT('SRID=4674;POINT (-39.806056 -2.873888)'))) / (select extract(epoch from '2026-07-08 09:58:54'::timestamp) - extract(epoch from '2026-07-08 09:58: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'), 47862, 'SRID=4674;POINT (-39.806029 -2.873913)', '2026-07-08 09:58:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806056 -2.873888)'), GeomFromEWKT('SRID=4674;POINT (-39.806029 -2.873913)'))) / (select extract(epoch from '2026-07-08 09:58:57'::timestamp) - extract(epoch from '2026-07-08 09:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806056 -2.873888)'), GeomFromEWKT('SRID=4674;POINT (-39.806029 -2.873913)'))) / (select extract(epoch from '2026-07-08 09:58:57'::timestamp) - extract(epoch from '2026-07-08 09:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806017 -2.873923)', '2026-07-08 09:58:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806029 -2.873913)'), GeomFromEWKT('SRID=4674;POINT (-39.806017 -2.873923)'))) / (select extract(epoch from '2026-07-08 09:58:59'::timestamp) - extract(epoch from '2026-07-08 09:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806029 -2.873913)'), GeomFromEWKT('SRID=4674;POINT (-39.806017 -2.873923)'))) / (select extract(epoch from '2026-07-08 09:58:59'::timestamp) - extract(epoch from '2026-07-08 09:58:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806011 -2.873925)', '2026-07-08 09:59:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806017 -2.873923)'), GeomFromEWKT('SRID=4674;POINT (-39.806011 -2.873925)'))) / (select extract(epoch from '2026-07-08 09:59:00'::timestamp) - extract(epoch from '2026-07-08 09:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806017 -2.873923)'), GeomFromEWKT('SRID=4674;POINT (-39.806011 -2.873925)'))) / (select extract(epoch from '2026-07-08 09:59:00'::timestamp) - extract(epoch from '2026-07-08 09:58:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805977 -2.873936)', '2026-07-08 09:59:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806011 -2.873925)'), GeomFromEWKT('SRID=4674;POINT (-39.805977 -2.873936)'))) / (select extract(epoch from '2026-07-08 09:59:07'::timestamp) - extract(epoch from '2026-07-08 09:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806011 -2.873925)'), GeomFromEWKT('SRID=4674;POINT (-39.805977 -2.873936)'))) / (select extract(epoch from '2026-07-08 09:59:07'::timestamp) - extract(epoch from '2026-07-08 09:59: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'), 47862, 'SRID=4674;POINT (-39.805955 -2.873938)', '2026-07-08 09:59:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805977 -2.873936)'), GeomFromEWKT('SRID=4674;POINT (-39.805955 -2.873938)'))) / (select extract(epoch from '2026-07-08 09:59:11'::timestamp) - extract(epoch from '2026-07-08 09:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805977 -2.873936)'), GeomFromEWKT('SRID=4674;POINT (-39.805955 -2.873938)'))) / (select extract(epoch from '2026-07-08 09:59:11'::timestamp) - extract(epoch from '2026-07-08 09:59:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805932 -2.873951)', '2026-07-08 09:59:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805955 -2.873938)'), GeomFromEWKT('SRID=4674;POINT (-39.805932 -2.873951)'))) / (select extract(epoch from '2026-07-08 09:59:15'::timestamp) - extract(epoch from '2026-07-08 09:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805955 -2.873938)'), GeomFromEWKT('SRID=4674;POINT (-39.805932 -2.873951)'))) / (select extract(epoch from '2026-07-08 09:59:15'::timestamp) - extract(epoch from '2026-07-08 09:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805893 -2.873952)', '2026-07-08 09:59:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805932 -2.873951)'), GeomFromEWKT('SRID=4674;POINT (-39.805893 -2.873952)'))) / (select extract(epoch from '2026-07-08 09:59:25'::timestamp) - extract(epoch from '2026-07-08 09:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805932 -2.873951)'), GeomFromEWKT('SRID=4674;POINT (-39.805893 -2.873952)'))) / (select extract(epoch from '2026-07-08 09:59:25'::timestamp) - extract(epoch from '2026-07-08 09:59:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805849 -2.873983)', '2026-07-08 09:59:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805893 -2.873952)'), GeomFromEWKT('SRID=4674;POINT (-39.805849 -2.873983)'))) / (select extract(epoch from '2026-07-08 09:59:40'::timestamp) - extract(epoch from '2026-07-08 09:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805893 -2.873952)'), GeomFromEWKT('SRID=4674;POINT (-39.805849 -2.873983)'))) / (select extract(epoch from '2026-07-08 09:59:40'::timestamp) - extract(epoch from '2026-07-08 09:59: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'), 47862, 'SRID=4674;POINT (-39.805856 -2.874019)', '2026-07-08 09:59:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805849 -2.873983)'), GeomFromEWKT('SRID=4674;POINT (-39.805856 -2.874019)'))) / (select extract(epoch from '2026-07-08 09:59:49'::timestamp) - extract(epoch from '2026-07-08 09:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805849 -2.873983)'), GeomFromEWKT('SRID=4674;POINT (-39.805856 -2.874019)'))) / (select extract(epoch from '2026-07-08 09:59:49'::timestamp) - extract(epoch from '2026-07-08 09:59: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'), 47862, 'SRID=4674;POINT (-39.805858 -2.87401)', '2026-07-08 10:00:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805856 -2.874019)'), GeomFromEWKT('SRID=4674;POINT (-39.805858 -2.87401)'))) / (select extract(epoch from '2026-07-08 10:00:01'::timestamp) - extract(epoch from '2026-07-08 09:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805856 -2.874019)'), GeomFromEWKT('SRID=4674;POINT (-39.805858 -2.87401)'))) / (select extract(epoch from '2026-07-08 10:00:01'::timestamp) - extract(epoch from '2026-07-08 09:59: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'), 47862, 'SRID=4674;POINT (-39.805872 -2.873946)', '2026-07-08 10:00:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805858 -2.87401)'), GeomFromEWKT('SRID=4674;POINT (-39.805872 -2.873946)'))) / (select extract(epoch from '2026-07-08 10:00:12'::timestamp) - extract(epoch from '2026-07-08 10:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805858 -2.87401)'), GeomFromEWKT('SRID=4674;POINT (-39.805872 -2.873946)'))) / (select extract(epoch from '2026-07-08 10:00:12'::timestamp) - extract(epoch from '2026-07-08 10:00: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'), 47862, 'SRID=4674;POINT (-39.80589 -2.873851)', '2026-07-08 10:00:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805872 -2.873946)'), GeomFromEWKT('SRID=4674;POINT (-39.80589 -2.873851)'))) / (select extract(epoch from '2026-07-08 10:00:22'::timestamp) - extract(epoch from '2026-07-08 10:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805872 -2.873946)'), GeomFromEWKT('SRID=4674;POINT (-39.80589 -2.873851)'))) / (select extract(epoch from '2026-07-08 10:00:22'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.80589 -2.873747)', '2026-07-08 10:00:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80589 -2.873851)'), GeomFromEWKT('SRID=4674;POINT (-39.80589 -2.873747)'))) / (select extract(epoch from '2026-07-08 10:00:31'::timestamp) - extract(epoch from '2026-07-08 10:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80589 -2.873851)'), GeomFromEWKT('SRID=4674;POINT (-39.80589 -2.873747)'))) / (select extract(epoch from '2026-07-08 10:00:31'::timestamp) - extract(epoch from '2026-07-08 10:00:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805847 -2.87373)', '2026-07-08 10:00:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80589 -2.873747)'), GeomFromEWKT('SRID=4674;POINT (-39.805847 -2.87373)'))) / (select extract(epoch from '2026-07-08 10:00:38'::timestamp) - extract(epoch from '2026-07-08 10:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80589 -2.873747)'), GeomFromEWKT('SRID=4674;POINT (-39.805847 -2.87373)'))) / (select extract(epoch from '2026-07-08 10:00:38'::timestamp) - extract(epoch from '2026-07-08 10:00: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'), 47862, 'SRID=4674;POINT (-39.805833 -2.873736)', '2026-07-08 10:00:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805847 -2.87373)'), GeomFromEWKT('SRID=4674;POINT (-39.805833 -2.873736)'))) / (select extract(epoch from '2026-07-08 10:00:40'::timestamp) - extract(epoch from '2026-07-08 10:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805847 -2.87373)'), GeomFromEWKT('SRID=4674;POINT (-39.805833 -2.873736)'))) / (select extract(epoch from '2026-07-08 10:00:40'::timestamp) - extract(epoch from '2026-07-08 10:00:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805809 -2.873772)', '2026-07-08 10:00:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805833 -2.873736)'), GeomFromEWKT('SRID=4674;POINT (-39.805809 -2.873772)'))) / (select extract(epoch from '2026-07-08 10:00:45'::timestamp) - extract(epoch from '2026-07-08 10:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805833 -2.873736)'), GeomFromEWKT('SRID=4674;POINT (-39.805809 -2.873772)'))) / (select extract(epoch from '2026-07-08 10:00:45'::timestamp) - extract(epoch from '2026-07-08 10:00:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80579 -2.873871)', '2026-07-08 10:00:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805809 -2.873772)'), GeomFromEWKT('SRID=4674;POINT (-39.80579 -2.873871)'))) / (select extract(epoch from '2026-07-08 10:00:54'::timestamp) - extract(epoch from '2026-07-08 10:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805809 -2.873772)'), GeomFromEWKT('SRID=4674;POINT (-39.80579 -2.873871)'))) / (select extract(epoch from '2026-07-08 10:00:54'::timestamp) - extract(epoch from '2026-07-08 10:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805786 -2.873896)', '2026-07-08 10:00:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80579 -2.873871)'), GeomFromEWKT('SRID=4674;POINT (-39.805786 -2.873896)'))) / (select extract(epoch from '2026-07-08 10:00:57'::timestamp) - extract(epoch from '2026-07-08 10:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80579 -2.873871)'), GeomFromEWKT('SRID=4674;POINT (-39.805786 -2.873896)'))) / (select extract(epoch from '2026-07-08 10:00:57'::timestamp) - extract(epoch from '2026-07-08 10:00: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'), 47862, 'SRID=4674;POINT (-39.805766 -2.873925)', '2026-07-08 10:01:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805786 -2.873896)'), GeomFromEWKT('SRID=4674;POINT (-39.805766 -2.873925)'))) / (select extract(epoch from '2026-07-08 10:01:02'::timestamp) - extract(epoch from '2026-07-08 10:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805786 -2.873896)'), GeomFromEWKT('SRID=4674;POINT (-39.805766 -2.873925)'))) / (select extract(epoch from '2026-07-08 10:01:02'::timestamp) - extract(epoch from '2026-07-08 10:00:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80569 -2.873979)', '2026-07-08 10:01:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805766 -2.873925)'), GeomFromEWKT('SRID=4674;POINT (-39.80569 -2.873979)'))) / (select extract(epoch from '2026-07-08 10:01:11'::timestamp) - extract(epoch from '2026-07-08 10:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805766 -2.873925)'), GeomFromEWKT('SRID=4674;POINT (-39.80569 -2.873979)'))) / (select extract(epoch from '2026-07-08 10:01:11'::timestamp) - extract(epoch from '2026-07-08 10:01:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805675 -2.874029)', '2026-07-08 10:01:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80569 -2.873979)'), GeomFromEWKT('SRID=4674;POINT (-39.805675 -2.874029)'))) / (select extract(epoch from '2026-07-08 10:01:16'::timestamp) - extract(epoch from '2026-07-08 10:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80569 -2.873979)'), GeomFromEWKT('SRID=4674;POINT (-39.805675 -2.874029)'))) / (select extract(epoch from '2026-07-08 10:01:16'::timestamp) - extract(epoch from '2026-07-08 10:01: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'), 47862, 'SRID=4674;POINT (-39.805676 -2.874057)', '2026-07-08 10:01:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805675 -2.874029)'), GeomFromEWKT('SRID=4674;POINT (-39.805676 -2.874057)'))) / (select extract(epoch from '2026-07-08 10:01:18'::timestamp) - extract(epoch from '2026-07-08 10:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805675 -2.874029)'), GeomFromEWKT('SRID=4674;POINT (-39.805676 -2.874057)'))) / (select extract(epoch from '2026-07-08 10:01:18'::timestamp) - extract(epoch from '2026-07-08 10:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80569 -2.874157)', '2026-07-08 10:01:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805676 -2.874057)'), GeomFromEWKT('SRID=4674;POINT (-39.80569 -2.874157)'))) / (select extract(epoch from '2026-07-08 10:01:24'::timestamp) - extract(epoch from '2026-07-08 10:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805676 -2.874057)'), GeomFromEWKT('SRID=4674;POINT (-39.80569 -2.874157)'))) / (select extract(epoch from '2026-07-08 10:01:24'::timestamp) - extract(epoch from '2026-07-08 10:01: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'), 47862, 'SRID=4674;POINT (-39.805689 -2.874253)', '2026-07-08 10:01:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80569 -2.874157)'), GeomFromEWKT('SRID=4674;POINT (-39.805689 -2.874253)'))) / (select extract(epoch from '2026-07-08 10:01:33'::timestamp) - extract(epoch from '2026-07-08 10:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80569 -2.874157)'), GeomFromEWKT('SRID=4674;POINT (-39.805689 -2.874253)'))) / (select extract(epoch from '2026-07-08 10:01:33'::timestamp) - extract(epoch from '2026-07-08 10:01:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805678 -2.874374)', '2026-07-08 10:01:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805689 -2.874253)'), GeomFromEWKT('SRID=4674;POINT (-39.805678 -2.874374)'))) / (select extract(epoch from '2026-07-08 10:01:42'::timestamp) - extract(epoch from '2026-07-08 10:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805689 -2.874253)'), GeomFromEWKT('SRID=4674;POINT (-39.805678 -2.874374)'))) / (select extract(epoch from '2026-07-08 10:01:42'::timestamp) - extract(epoch from '2026-07-08 10:01: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'), 47862, 'SRID=4674;POINT (-39.80567 -2.874433)', '2026-07-08 10:01:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805678 -2.874374)'), GeomFromEWKT('SRID=4674;POINT (-39.80567 -2.874433)'))) / (select extract(epoch from '2026-07-08 10:01:47'::timestamp) - extract(epoch from '2026-07-08 10:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805678 -2.874374)'), GeomFromEWKT('SRID=4674;POINT (-39.80567 -2.874433)'))) / (select extract(epoch from '2026-07-08 10:01:47'::timestamp) - extract(epoch from '2026-07-08 10:01: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'), 47862, 'SRID=4674;POINT (-39.805666 -2.874471)', '2026-07-08 10:01:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80567 -2.874433)'), GeomFromEWKT('SRID=4674;POINT (-39.805666 -2.874471)'))) / (select extract(epoch from '2026-07-08 10:01:50'::timestamp) - extract(epoch from '2026-07-08 10:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80567 -2.874433)'), GeomFromEWKT('SRID=4674;POINT (-39.805666 -2.874471)'))) / (select extract(epoch from '2026-07-08 10:01:50'::timestamp) - extract(epoch from '2026-07-08 10:01:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805664 -2.87451)', '2026-07-08 10:01:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805666 -2.874471)'), GeomFromEWKT('SRID=4674;POINT (-39.805664 -2.87451)'))) / (select extract(epoch from '2026-07-08 10:01:53'::timestamp) - extract(epoch from '2026-07-08 10:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805666 -2.874471)'), GeomFromEWKT('SRID=4674;POINT (-39.805664 -2.87451)'))) / (select extract(epoch from '2026-07-08 10:01:53'::timestamp) - extract(epoch from '2026-07-08 10:01:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80564 -2.874616)', '2026-07-08 10:02:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805664 -2.87451)'), GeomFromEWKT('SRID=4674;POINT (-39.80564 -2.874616)'))) / (select extract(epoch from '2026-07-08 10:02:02'::timestamp) - extract(epoch from '2026-07-08 10:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805664 -2.87451)'), GeomFromEWKT('SRID=4674;POINT (-39.80564 -2.874616)'))) / (select extract(epoch from '2026-07-08 10:02:02'::timestamp) - extract(epoch from '2026-07-08 10:01: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'), 47862, 'SRID=4674;POINT (-39.805602 -2.87468)', '2026-07-08 10:02:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80564 -2.874616)'), GeomFromEWKT('SRID=4674;POINT (-39.805602 -2.87468)'))) / (select extract(epoch from '2026-07-08 10:02:09'::timestamp) - extract(epoch from '2026-07-08 10:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80564 -2.874616)'), GeomFromEWKT('SRID=4674;POINT (-39.805602 -2.87468)'))) / (select extract(epoch from '2026-07-08 10:02:09'::timestamp) - extract(epoch from '2026-07-08 10:02: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'), 47862, 'SRID=4674;POINT (-39.805594 -2.874767)', '2026-07-08 10:02:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805602 -2.87468)'), GeomFromEWKT('SRID=4674;POINT (-39.805594 -2.874767)'))) / (select extract(epoch from '2026-07-08 10:02:17'::timestamp) - extract(epoch from '2026-07-08 10:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805602 -2.87468)'), GeomFromEWKT('SRID=4674;POINT (-39.805594 -2.874767)'))) / (select extract(epoch from '2026-07-08 10:02:17'::timestamp) - extract(epoch from '2026-07-08 10:02: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'), 47862, 'SRID=4674;POINT (-39.805601 -2.874801)', '2026-07-08 10:02:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805594 -2.874767)'), GeomFromEWKT('SRID=4674;POINT (-39.805601 -2.874801)'))) / (select extract(epoch from '2026-07-08 10:02:20'::timestamp) - extract(epoch from '2026-07-08 10:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805594 -2.874767)'), GeomFromEWKT('SRID=4674;POINT (-39.805601 -2.874801)'))) / (select extract(epoch from '2026-07-08 10:02:20'::timestamp) - extract(epoch from '2026-07-08 10:02:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805607 -2.874845)', '2026-07-08 10:02:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805601 -2.874801)'), GeomFromEWKT('SRID=4674;POINT (-39.805607 -2.874845)'))) / (select extract(epoch from '2026-07-08 10:02:22'::timestamp) - extract(epoch from '2026-07-08 10:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805601 -2.874801)'), GeomFromEWKT('SRID=4674;POINT (-39.805607 -2.874845)'))) / (select extract(epoch from '2026-07-08 10:02:22'::timestamp) - extract(epoch from '2026-07-08 10:02:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805598 -2.874913)', '2026-07-08 10:02:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805607 -2.874845)'), GeomFromEWKT('SRID=4674;POINT (-39.805598 -2.874913)'))) / (select extract(epoch from '2026-07-08 10:02:29'::timestamp) - extract(epoch from '2026-07-08 10:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805607 -2.874845)'), GeomFromEWKT('SRID=4674;POINT (-39.805598 -2.874913)'))) / (select extract(epoch from '2026-07-08 10:02:29'::timestamp) - extract(epoch from '2026-07-08 10:02: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'), 47862, 'SRID=4674;POINT (-39.805541 -2.874922)', '2026-07-08 10:02:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805598 -2.874913)'), GeomFromEWKT('SRID=4674;POINT (-39.805541 -2.874922)'))) / (select extract(epoch from '2026-07-08 10:02:38'::timestamp) - extract(epoch from '2026-07-08 10:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805598 -2.874913)'), GeomFromEWKT('SRID=4674;POINT (-39.805541 -2.874922)'))) / (select extract(epoch from '2026-07-08 10:02:38'::timestamp) - extract(epoch from '2026-07-08 10:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805508 -2.87491)', '2026-07-08 10:02:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805541 -2.874922)'), GeomFromEWKT('SRID=4674;POINT (-39.805508 -2.87491)'))) / (select extract(epoch from '2026-07-08 10:02:48'::timestamp) - extract(epoch from '2026-07-08 10:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805541 -2.874922)'), GeomFromEWKT('SRID=4674;POINT (-39.805508 -2.87491)'))) / (select extract(epoch from '2026-07-08 10:02:48'::timestamp) - extract(epoch from '2026-07-08 10:02:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805516 -2.874879)', '2026-07-08 10:02:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805508 -2.87491)'), GeomFromEWKT('SRID=4674;POINT (-39.805516 -2.874879)'))) / (select extract(epoch from '2026-07-08 10:02:57'::timestamp) - extract(epoch from '2026-07-08 10:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805508 -2.87491)'), GeomFromEWKT('SRID=4674;POINT (-39.805516 -2.874879)'))) / (select extract(epoch from '2026-07-08 10:02:57'::timestamp) - extract(epoch from '2026-07-08 10:02: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'), 47862, 'SRID=4674;POINT (-39.805541 -2.874823)', '2026-07-08 10:03:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805516 -2.874879)'), GeomFromEWKT('SRID=4674;POINT (-39.805541 -2.874823)'))) / (select extract(epoch from '2026-07-08 10:03:08'::timestamp) - extract(epoch from '2026-07-08 10:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805516 -2.874879)'), GeomFromEWKT('SRID=4674;POINT (-39.805541 -2.874823)'))) / (select extract(epoch from '2026-07-08 10:03:08'::timestamp) - extract(epoch from '2026-07-08 10:02: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'), 47862, 'SRID=4674;POINT (-39.805587 -2.874782)', '2026-07-08 10:03:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805541 -2.874823)'), GeomFromEWKT('SRID=4674;POINT (-39.805587 -2.874782)'))) / (select extract(epoch from '2026-07-08 10:03:19'::timestamp) - extract(epoch from '2026-07-08 10:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805541 -2.874823)'), GeomFromEWKT('SRID=4674;POINT (-39.805587 -2.874782)'))) / (select extract(epoch from '2026-07-08 10:03:19'::timestamp) - extract(epoch from '2026-07-08 10:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805623 -2.874724)', '2026-07-08 10:03:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805587 -2.874782)'), GeomFromEWKT('SRID=4674;POINT (-39.805623 -2.874724)'))) / (select extract(epoch from '2026-07-08 10:03:33'::timestamp) - extract(epoch from '2026-07-08 10:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805587 -2.874782)'), GeomFromEWKT('SRID=4674;POINT (-39.805623 -2.874724)'))) / (select extract(epoch from '2026-07-08 10:03:33'::timestamp) - extract(epoch from '2026-07-08 10:03: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'), 47862, 'SRID=4674;POINT (-39.805644 -2.874759)', '2026-07-08 10:03:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805623 -2.874724)'), GeomFromEWKT('SRID=4674;POINT (-39.805644 -2.874759)'))) / (select extract(epoch from '2026-07-08 10:03:46'::timestamp) - extract(epoch from '2026-07-08 10:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805623 -2.874724)'), GeomFromEWKT('SRID=4674;POINT (-39.805644 -2.874759)'))) / (select extract(epoch from '2026-07-08 10:03:46'::timestamp) - extract(epoch from '2026-07-08 10:03: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'), 47862, 'SRID=4674;POINT (-39.805653 -2.874898)', '2026-07-08 10:04:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805644 -2.874759)'), GeomFromEWKT('SRID=4674;POINT (-39.805653 -2.874898)'))) / (select extract(epoch from '2026-07-08 10:04:02'::timestamp) - extract(epoch from '2026-07-08 10:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805644 -2.874759)'), GeomFromEWKT('SRID=4674;POINT (-39.805653 -2.874898)'))) / (select extract(epoch from '2026-07-08 10:04:02'::timestamp) - extract(epoch from '2026-07-08 10:03:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805684 -2.874945)', '2026-07-08 10:04:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805653 -2.874898)'), GeomFromEWKT('SRID=4674;POINT (-39.805684 -2.874945)'))) / (select extract(epoch from '2026-07-08 10:04:15'::timestamp) - extract(epoch from '2026-07-08 10:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805653 -2.874898)'), GeomFromEWKT('SRID=4674;POINT (-39.805684 -2.874945)'))) / (select extract(epoch from '2026-07-08 10:04:15'::timestamp) - extract(epoch from '2026-07-08 10:04:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805766 -2.874928)', '2026-07-08 10:04:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805684 -2.874945)'), GeomFromEWKT('SRID=4674;POINT (-39.805766 -2.874928)'))) / (select extract(epoch from '2026-07-08 10:04:30'::timestamp) - extract(epoch from '2026-07-08 10:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805684 -2.874945)'), GeomFromEWKT('SRID=4674;POINT (-39.805766 -2.874928)'))) / (select extract(epoch from '2026-07-08 10:04:30'::timestamp) - extract(epoch from '2026-07-08 10:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805863 -2.874911)', '2026-07-08 10:04:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805766 -2.874928)'), GeomFromEWKT('SRID=4674;POINT (-39.805863 -2.874911)'))) / (select extract(epoch from '2026-07-08 10:04:48'::timestamp) - extract(epoch from '2026-07-08 10:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805766 -2.874928)'), GeomFromEWKT('SRID=4674;POINT (-39.805863 -2.874911)'))) / (select extract(epoch from '2026-07-08 10:04:48'::timestamp) - extract(epoch from '2026-07-08 10:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805859 -2.874903)', '2026-07-08 10:05:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805863 -2.874911)'), GeomFromEWKT('SRID=4674;POINT (-39.805859 -2.874903)'))) / (select extract(epoch from '2026-07-08 10:05:00'::timestamp) - extract(epoch from '2026-07-08 10:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805863 -2.874911)'), GeomFromEWKT('SRID=4674;POINT (-39.805859 -2.874903)'))) / (select extract(epoch from '2026-07-08 10:05:00'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805752 -2.87484)', '2026-07-08 10:05:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805859 -2.874903)'), GeomFromEWKT('SRID=4674;POINT (-39.805752 -2.87484)'))) / (select extract(epoch from '2026-07-08 10:05:18'::timestamp) - extract(epoch from '2026-07-08 10:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805859 -2.874903)'), GeomFromEWKT('SRID=4674;POINT (-39.805752 -2.87484)'))) / (select extract(epoch from '2026-07-08 10:05:18'::timestamp) - extract(epoch from '2026-07-08 10:05:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805639 -2.874842)', '2026-07-08 10:05:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805752 -2.87484)'), GeomFromEWKT('SRID=4674;POINT (-39.805639 -2.874842)'))) / (select extract(epoch from '2026-07-08 10:05:30'::timestamp) - extract(epoch from '2026-07-08 10:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805752 -2.87484)'), GeomFromEWKT('SRID=4674;POINT (-39.805639 -2.874842)'))) / (select extract(epoch from '2026-07-08 10:05:30'::timestamp) - extract(epoch from '2026-07-08 10:05:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805606 -2.874862)', '2026-07-08 10:05:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805639 -2.874842)'), GeomFromEWKT('SRID=4674;POINT (-39.805606 -2.874862)'))) / (select extract(epoch from '2026-07-08 10:05:41'::timestamp) - extract(epoch from '2026-07-08 10:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805639 -2.874842)'), GeomFromEWKT('SRID=4674;POINT (-39.805606 -2.874862)'))) / (select extract(epoch from '2026-07-08 10:05:41'::timestamp) - extract(epoch from '2026-07-08 10:05:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805622 -2.87488)', '2026-07-08 10:05:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805606 -2.874862)'), GeomFromEWKT('SRID=4674;POINT (-39.805622 -2.87488)'))) / (select extract(epoch from '2026-07-08 10:05:55'::timestamp) - extract(epoch from '2026-07-08 10:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805606 -2.874862)'), GeomFromEWKT('SRID=4674;POINT (-39.805622 -2.87488)'))) / (select extract(epoch from '2026-07-08 10:05:55'::timestamp) - extract(epoch from '2026-07-08 10:05:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805653 -2.874842)', '2026-07-08 10:06:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805622 -2.87488)'), GeomFromEWKT('SRID=4674;POINT (-39.805653 -2.874842)'))) / (select extract(epoch from '2026-07-08 10:06:10'::timestamp) - extract(epoch from '2026-07-08 10:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805622 -2.87488)'), GeomFromEWKT('SRID=4674;POINT (-39.805653 -2.874842)'))) / (select extract(epoch from '2026-07-08 10:06:10'::timestamp) - extract(epoch from '2026-07-08 10:05: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'), 47862, 'SRID=4674;POINT (-39.805712 -2.874749)', '2026-07-08 10:06:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805653 -2.874842)'), GeomFromEWKT('SRID=4674;POINT (-39.805712 -2.874749)'))) / (select extract(epoch from '2026-07-08 10:06:30'::timestamp) - extract(epoch from '2026-07-08 10:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805653 -2.874842)'), GeomFromEWKT('SRID=4674;POINT (-39.805712 -2.874749)'))) / (select extract(epoch from '2026-07-08 10:06:30'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805783 -2.874674)', '2026-07-08 10:06:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805712 -2.874749)'), GeomFromEWKT('SRID=4674;POINT (-39.805783 -2.874674)'))) / (select extract(epoch from '2026-07-08 10:06:45'::timestamp) - extract(epoch from '2026-07-08 10:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805712 -2.874749)'), GeomFromEWKT('SRID=4674;POINT (-39.805783 -2.874674)'))) / (select extract(epoch from '2026-07-08 10:06:45'::timestamp) - extract(epoch from '2026-07-08 10:06:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805839 -2.874612)', '2026-07-08 10:07:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805783 -2.874674)'), GeomFromEWKT('SRID=4674;POINT (-39.805839 -2.874612)'))) / (select extract(epoch from '2026-07-08 10:07:00'::timestamp) - extract(epoch from '2026-07-08 10:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805783 -2.874674)'), GeomFromEWKT('SRID=4674;POINT (-39.805839 -2.874612)'))) / (select extract(epoch from '2026-07-08 10:07:00'::timestamp) - extract(epoch from '2026-07-08 10:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805886 -2.874505)', '2026-07-08 10:07:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805839 -2.874612)'), GeomFromEWKT('SRID=4674;POINT (-39.805886 -2.874505)'))) / (select extract(epoch from '2026-07-08 10:07:18'::timestamp) - extract(epoch from '2026-07-08 10:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805839 -2.874612)'), GeomFromEWKT('SRID=4674;POINT (-39.805886 -2.874505)'))) / (select extract(epoch from '2026-07-08 10:07:18'::timestamp) - extract(epoch from '2026-07-08 10:07: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'), 47862, 'SRID=4674;POINT (-39.80592 -2.874424)', '2026-07-08 10:07:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805886 -2.874505)'), GeomFromEWKT('SRID=4674;POINT (-39.80592 -2.874424)'))) / (select extract(epoch from '2026-07-08 10:07:30'::timestamp) - extract(epoch from '2026-07-08 10:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805886 -2.874505)'), GeomFromEWKT('SRID=4674;POINT (-39.80592 -2.874424)'))) / (select extract(epoch from '2026-07-08 10:07:30'::timestamp) - extract(epoch from '2026-07-08 10:07: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'), 47862, 'SRID=4674;POINT (-39.805937 -2.874366)', '2026-07-08 10:07:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80592 -2.874424)'), GeomFromEWKT('SRID=4674;POINT (-39.805937 -2.874366)'))) / (select extract(epoch from '2026-07-08 10:07:45'::timestamp) - extract(epoch from '2026-07-08 10:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80592 -2.874424)'), GeomFromEWKT('SRID=4674;POINT (-39.805937 -2.874366)'))) / (select extract(epoch from '2026-07-08 10:07:45'::timestamp) - extract(epoch from '2026-07-08 10:07: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'), 47862, 'SRID=4674;POINT (-39.805908 -2.874331)', '2026-07-08 10:07:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805937 -2.874366)'), GeomFromEWKT('SRID=4674;POINT (-39.805908 -2.874331)'))) / (select extract(epoch from '2026-07-08 10:07:56'::timestamp) - extract(epoch from '2026-07-08 10:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805937 -2.874366)'), GeomFromEWKT('SRID=4674;POINT (-39.805908 -2.874331)'))) / (select extract(epoch from '2026-07-08 10:07:56'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805921 -2.874356)', '2026-07-08 10:08:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805908 -2.874331)'), GeomFromEWKT('SRID=4674;POINT (-39.805921 -2.874356)'))) / (select extract(epoch from '2026-07-08 10:08:03'::timestamp) - extract(epoch from '2026-07-08 10:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805908 -2.874331)'), GeomFromEWKT('SRID=4674;POINT (-39.805921 -2.874356)'))) / (select extract(epoch from '2026-07-08 10:08:03'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805946 -2.874373)', '2026-07-08 10:08:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805921 -2.874356)'), GeomFromEWKT('SRID=4674;POINT (-39.805946 -2.874373)'))) / (select extract(epoch from '2026-07-08 10:08:05'::timestamp) - extract(epoch from '2026-07-08 10:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805921 -2.874356)'), GeomFromEWKT('SRID=4674;POINT (-39.805946 -2.874373)'))) / (select extract(epoch from '2026-07-08 10:08:05'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805988 -2.87439)', '2026-07-08 10:08:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805946 -2.874373)'), GeomFromEWKT('SRID=4674;POINT (-39.805988 -2.87439)'))) / (select extract(epoch from '2026-07-08 10:08:08'::timestamp) - extract(epoch from '2026-07-08 10:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805946 -2.874373)'), GeomFromEWKT('SRID=4674;POINT (-39.805988 -2.87439)'))) / (select extract(epoch from '2026-07-08 10:08:08'::timestamp) - extract(epoch from '2026-07-08 10:08: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'), 47862, 'SRID=4674;POINT (-39.806144 -2.874416)', '2026-07-08 10:08:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805988 -2.87439)'), GeomFromEWKT('SRID=4674;POINT (-39.806144 -2.874416)'))) / (select extract(epoch from '2026-07-08 10:08:16'::timestamp) - extract(epoch from '2026-07-08 10:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805988 -2.87439)'), GeomFromEWKT('SRID=4674;POINT (-39.806144 -2.874416)'))) / (select extract(epoch from '2026-07-08 10:08:16'::timestamp) - extract(epoch from '2026-07-08 10:08: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'), 47862, 'SRID=4674;POINT (-39.806246 -2.874461)', '2026-07-08 10:08:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806144 -2.874416)'), GeomFromEWKT('SRID=4674;POINT (-39.806246 -2.874461)'))) / (select extract(epoch from '2026-07-08 10:08:22'::timestamp) - extract(epoch from '2026-07-08 10:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806144 -2.874416)'), GeomFromEWKT('SRID=4674;POINT (-39.806246 -2.874461)'))) / (select extract(epoch from '2026-07-08 10:08:22'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806261 -2.874505)', '2026-07-08 10:08:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806246 -2.874461)'), GeomFromEWKT('SRID=4674;POINT (-39.806261 -2.874505)'))) / (select extract(epoch from '2026-07-08 10:08:28'::timestamp) - extract(epoch from '2026-07-08 10:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806246 -2.874461)'), GeomFromEWKT('SRID=4674;POINT (-39.806261 -2.874505)'))) / (select extract(epoch from '2026-07-08 10:08:28'::timestamp) - extract(epoch from '2026-07-08 10:08: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'), 47862, 'SRID=4674;POINT (-39.806219 -2.874566)', '2026-07-08 10:08:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806261 -2.874505)'), GeomFromEWKT('SRID=4674;POINT (-39.806219 -2.874566)'))) / (select extract(epoch from '2026-07-08 10:08:37'::timestamp) - extract(epoch from '2026-07-08 10:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806261 -2.874505)'), GeomFromEWKT('SRID=4674;POINT (-39.806219 -2.874566)'))) / (select extract(epoch from '2026-07-08 10:08:37'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806156 -2.874601)', '2026-07-08 10:08:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806219 -2.874566)'), GeomFromEWKT('SRID=4674;POINT (-39.806156 -2.874601)'))) / (select extract(epoch from '2026-07-08 10:08:44'::timestamp) - extract(epoch from '2026-07-08 10:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806219 -2.874566)'), GeomFromEWKT('SRID=4674;POINT (-39.806156 -2.874601)'))) / (select extract(epoch from '2026-07-08 10:08:44'::timestamp) - extract(epoch from '2026-07-08 10:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806077 -2.874649)', '2026-07-08 10:08:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806156 -2.874601)'), GeomFromEWKT('SRID=4674;POINT (-39.806077 -2.874649)'))) / (select extract(epoch from '2026-07-08 10:08:52'::timestamp) - extract(epoch from '2026-07-08 10:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806156 -2.874601)'), GeomFromEWKT('SRID=4674;POINT (-39.806077 -2.874649)'))) / (select extract(epoch from '2026-07-08 10:08:52'::timestamp) - extract(epoch from '2026-07-08 10:08: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'), 47862, 'SRID=4674;POINT (-39.806026 -2.874754)', '2026-07-08 10:09:03', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806077 -2.874649)'), GeomFromEWKT('SRID=4674;POINT (-39.806026 -2.874754)'))) / (select extract(epoch from '2026-07-08 10:09:03'::timestamp) - extract(epoch from '2026-07-08 10:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806077 -2.874649)'), GeomFromEWKT('SRID=4674;POINT (-39.806026 -2.874754)'))) / (select extract(epoch from '2026-07-08 10:09:03'::timestamp) - extract(epoch from '2026-07-08 10:08:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80603 -2.874828)', '2026-07-08 10:09:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806026 -2.874754)'), GeomFromEWKT('SRID=4674;POINT (-39.80603 -2.874828)'))) / (select extract(epoch from '2026-07-08 10:09:08'::timestamp) - extract(epoch from '2026-07-08 10:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806026 -2.874754)'), GeomFromEWKT('SRID=4674;POINT (-39.80603 -2.874828)'))) / (select extract(epoch from '2026-07-08 10:09:08'::timestamp) - extract(epoch from '2026-07-08 10:09: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'), 47862, 'SRID=4674;POINT (-39.806036 -2.874848)', '2026-07-08 10:09:10', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80603 -2.874828)'), GeomFromEWKT('SRID=4674;POINT (-39.806036 -2.874848)'))) / (select extract(epoch from '2026-07-08 10:09:10'::timestamp) - extract(epoch from '2026-07-08 10:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80603 -2.874828)'), GeomFromEWKT('SRID=4674;POINT (-39.806036 -2.874848)'))) / (select extract(epoch from '2026-07-08 10:09:10'::timestamp) - extract(epoch from '2026-07-08 10:09: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'), 47862, 'SRID=4674;POINT (-39.806046 -2.874911)', '2026-07-08 10:09:16', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806036 -2.874848)'), GeomFromEWKT('SRID=4674;POINT (-39.806046 -2.874911)'))) / (select extract(epoch from '2026-07-08 10:09:16'::timestamp) - extract(epoch from '2026-07-08 10:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806036 -2.874848)'), GeomFromEWKT('SRID=4674;POINT (-39.806046 -2.874911)'))) / (select extract(epoch from '2026-07-08 10:09:16'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806048 -2.874927)', '2026-07-08 10:09:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806046 -2.874911)'), GeomFromEWKT('SRID=4674;POINT (-39.806048 -2.874927)'))) / (select extract(epoch from '2026-07-08 10:09:17'::timestamp) - extract(epoch from '2026-07-08 10:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806046 -2.874911)'), GeomFromEWKT('SRID=4674;POINT (-39.806048 -2.874927)'))) / (select extract(epoch from '2026-07-08 10:09:17'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806092 -2.875077)', '2026-07-08 10:09:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806048 -2.874927)'), GeomFromEWKT('SRID=4674;POINT (-39.806092 -2.875077)'))) / (select extract(epoch from '2026-07-08 10:09:26'::timestamp) - extract(epoch from '2026-07-08 10:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806048 -2.874927)'), GeomFromEWKT('SRID=4674;POINT (-39.806092 -2.875077)'))) / (select extract(epoch from '2026-07-08 10:09:26'::timestamp) - extract(epoch from '2026-07-08 10:09: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'), 47862, 'SRID=4674;POINT (-39.80616 -2.875214)', '2026-07-08 10:09:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806092 -2.875077)'), GeomFromEWKT('SRID=4674;POINT (-39.80616 -2.875214)'))) / (select extract(epoch from '2026-07-08 10:09:36'::timestamp) - extract(epoch from '2026-07-08 10:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806092 -2.875077)'), GeomFromEWKT('SRID=4674;POINT (-39.80616 -2.875214)'))) / (select extract(epoch from '2026-07-08 10:09:36'::timestamp) - extract(epoch from '2026-07-08 10:09: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'), 47862, 'SRID=4674;POINT (-39.806239 -2.875317)', '2026-07-08 10:09:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80616 -2.875214)'), GeomFromEWKT('SRID=4674;POINT (-39.806239 -2.875317)'))) / (select extract(epoch from '2026-07-08 10:09:43'::timestamp) - extract(epoch from '2026-07-08 10:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80616 -2.875214)'), GeomFromEWKT('SRID=4674;POINT (-39.806239 -2.875317)'))) / (select extract(epoch from '2026-07-08 10:09:43'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806312 -2.875463)', '2026-07-08 10:09:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806239 -2.875317)'), GeomFromEWKT('SRID=4674;POINT (-39.806312 -2.875463)'))) / (select extract(epoch from '2026-07-08 10:09:53'::timestamp) - extract(epoch from '2026-07-08 10:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806239 -2.875317)'), GeomFromEWKT('SRID=4674;POINT (-39.806312 -2.875463)'))) / (select extract(epoch from '2026-07-08 10:09:53'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.80632 -2.875556)', '2026-07-08 10:10:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806312 -2.875463)'), GeomFromEWKT('SRID=4674;POINT (-39.80632 -2.875556)'))) / (select extract(epoch from '2026-07-08 10:10:00'::timestamp) - extract(epoch from '2026-07-08 10:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806312 -2.875463)'), GeomFromEWKT('SRID=4674;POINT (-39.80632 -2.875556)'))) / (select extract(epoch from '2026-07-08 10:10:00'::timestamp) - extract(epoch from '2026-07-08 10:09: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'), 47862, 'SRID=4674;POINT (-39.806345 -2.875648)', '2026-07-08 10:10:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80632 -2.875556)'), GeomFromEWKT('SRID=4674;POINT (-39.806345 -2.875648)'))) / (select extract(epoch from '2026-07-08 10:10:08'::timestamp) - extract(epoch from '2026-07-08 10:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80632 -2.875556)'), GeomFromEWKT('SRID=4674;POINT (-39.806345 -2.875648)'))) / (select extract(epoch from '2026-07-08 10:10:08'::timestamp) - extract(epoch from '2026-07-08 10:10:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806355 -2.875767)', '2026-07-08 10:10:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806345 -2.875648)'), GeomFromEWKT('SRID=4674;POINT (-39.806355 -2.875767)'))) / (select extract(epoch from '2026-07-08 10:10:16'::timestamp) - extract(epoch from '2026-07-08 10:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806345 -2.875648)'), GeomFromEWKT('SRID=4674;POINT (-39.806355 -2.875767)'))) / (select extract(epoch from '2026-07-08 10:10:16'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806363 -2.875876)', '2026-07-08 10:10:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806355 -2.875767)'), GeomFromEWKT('SRID=4674;POINT (-39.806363 -2.875876)'))) / (select extract(epoch from '2026-07-08 10:10:24'::timestamp) - extract(epoch from '2026-07-08 10:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806355 -2.875767)'), GeomFromEWKT('SRID=4674;POINT (-39.806363 -2.875876)'))) / (select extract(epoch from '2026-07-08 10:10:24'::timestamp) - extract(epoch from '2026-07-08 10:10:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806416 -2.875985)', '2026-07-08 10:10:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806363 -2.875876)'), GeomFromEWKT('SRID=4674;POINT (-39.806416 -2.875985)'))) / (select extract(epoch from '2026-07-08 10:10:32'::timestamp) - extract(epoch from '2026-07-08 10:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806363 -2.875876)'), GeomFromEWKT('SRID=4674;POINT (-39.806416 -2.875985)'))) / (select extract(epoch from '2026-07-08 10:10:32'::timestamp) - extract(epoch from '2026-07-08 10:10:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806422 -2.876006)', '2026-07-08 10:10:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806416 -2.875985)'), GeomFromEWKT('SRID=4674;POINT (-39.806422 -2.876006)'))) / (select extract(epoch from '2026-07-08 10:10:34'::timestamp) - extract(epoch from '2026-07-08 10:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806416 -2.875985)'), GeomFromEWKT('SRID=4674;POINT (-39.806422 -2.876006)'))) / (select extract(epoch from '2026-07-08 10:10:34'::timestamp) - extract(epoch from '2026-07-08 10:10: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'), 47862, 'SRID=4674;POINT (-39.806422 -2.876048)', '2026-07-08 10:10:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806422 -2.876006)'), GeomFromEWKT('SRID=4674;POINT (-39.806422 -2.876048)'))) / (select extract(epoch from '2026-07-08 10:10:38'::timestamp) - extract(epoch from '2026-07-08 10:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806422 -2.876006)'), GeomFromEWKT('SRID=4674;POINT (-39.806422 -2.876048)'))) / (select extract(epoch from '2026-07-08 10:10:38'::timestamp) - extract(epoch from '2026-07-08 10:10: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'), 47862, 'SRID=4674;POINT (-39.806438 -2.876157)', '2026-07-08 10:10:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806422 -2.876048)'), GeomFromEWKT('SRID=4674;POINT (-39.806438 -2.876157)'))) / (select extract(epoch from '2026-07-08 10:10:47'::timestamp) - extract(epoch from '2026-07-08 10:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806422 -2.876048)'), GeomFromEWKT('SRID=4674;POINT (-39.806438 -2.876157)'))) / (select extract(epoch from '2026-07-08 10:10:47'::timestamp) - extract(epoch from '2026-07-08 10:10: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'), 47862, 'SRID=4674;POINT (-39.806439 -2.876168)', '2026-07-08 10:10:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806438 -2.876157)'), GeomFromEWKT('SRID=4674;POINT (-39.806439 -2.876168)'))) / (select extract(epoch from '2026-07-08 10:10:49'::timestamp) - extract(epoch from '2026-07-08 10:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806438 -2.876157)'), GeomFromEWKT('SRID=4674;POINT (-39.806439 -2.876168)'))) / (select extract(epoch from '2026-07-08 10:10:49'::timestamp) - extract(epoch from '2026-07-08 10:10: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'), 47862, 'SRID=4674;POINT (-39.806446 -2.876264)', '2026-07-08 10:10:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806439 -2.876168)'), GeomFromEWKT('SRID=4674;POINT (-39.806446 -2.876264)'))) / (select extract(epoch from '2026-07-08 10:10:56'::timestamp) - extract(epoch from '2026-07-08 10:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806439 -2.876168)'), GeomFromEWKT('SRID=4674;POINT (-39.806446 -2.876264)'))) / (select extract(epoch from '2026-07-08 10:10:56'::timestamp) - extract(epoch from '2026-07-08 10:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806447 -2.876272)', '2026-07-08 10:10:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806446 -2.876264)'), GeomFromEWKT('SRID=4674;POINT (-39.806447 -2.876272)'))) / (select extract(epoch from '2026-07-08 10:10:57'::timestamp) - extract(epoch from '2026-07-08 10:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806446 -2.876264)'), GeomFromEWKT('SRID=4674;POINT (-39.806447 -2.876272)'))) / (select extract(epoch from '2026-07-08 10:10:57'::timestamp) - extract(epoch from '2026-07-08 10:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806449 -2.876309)', '2026-07-08 10:11:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806447 -2.876272)'), GeomFromEWKT('SRID=4674;POINT (-39.806449 -2.876309)'))) / (select extract(epoch from '2026-07-08 10:11:02'::timestamp) - extract(epoch from '2026-07-08 10:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806447 -2.876272)'), GeomFromEWKT('SRID=4674;POINT (-39.806449 -2.876309)'))) / (select extract(epoch from '2026-07-08 10:11:02'::timestamp) - extract(epoch from '2026-07-08 10:10:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80645 -2.87633)', '2026-07-08 10:11:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806449 -2.876309)'), GeomFromEWKT('SRID=4674;POINT (-39.80645 -2.87633)'))) / (select extract(epoch from '2026-07-08 10:11:04'::timestamp) - extract(epoch from '2026-07-08 10:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806449 -2.876309)'), GeomFromEWKT('SRID=4674;POINT (-39.80645 -2.87633)'))) / (select extract(epoch from '2026-07-08 10:11:04'::timestamp) - extract(epoch from '2026-07-08 10:11:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806463 -2.876411)', '2026-07-08 10:11:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80645 -2.87633)'), GeomFromEWKT('SRID=4674;POINT (-39.806463 -2.876411)'))) / (select extract(epoch from '2026-07-08 10:11:11'::timestamp) - extract(epoch from '2026-07-08 10:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80645 -2.87633)'), GeomFromEWKT('SRID=4674;POINT (-39.806463 -2.876411)'))) / (select extract(epoch from '2026-07-08 10:11:11'::timestamp) - extract(epoch from '2026-07-08 10:11: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'), 47862, 'SRID=4674;POINT (-39.806464 -2.876494)', '2026-07-08 10:11:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806463 -2.876411)'), GeomFromEWKT('SRID=4674;POINT (-39.806464 -2.876494)'))) / (select extract(epoch from '2026-07-08 10:11:17'::timestamp) - extract(epoch from '2026-07-08 10:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806463 -2.876411)'), GeomFromEWKT('SRID=4674;POINT (-39.806464 -2.876494)'))) / (select extract(epoch from '2026-07-08 10:11:17'::timestamp) - extract(epoch from '2026-07-08 10:11: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'), 47862, 'SRID=4674;POINT (-39.806463 -2.876505)', '2026-07-08 10:11:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806464 -2.876494)'), GeomFromEWKT('SRID=4674;POINT (-39.806463 -2.876505)'))) / (select extract(epoch from '2026-07-08 10:11:18'::timestamp) - extract(epoch from '2026-07-08 10:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806464 -2.876494)'), GeomFromEWKT('SRID=4674;POINT (-39.806463 -2.876505)'))) / (select extract(epoch from '2026-07-08 10:11:18'::timestamp) - extract(epoch from '2026-07-08 10:11:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806457 -2.876589)', '2026-07-08 10:11:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806463 -2.876505)'), GeomFromEWKT('SRID=4674;POINT (-39.806457 -2.876589)'))) / (select extract(epoch from '2026-07-08 10:11:25'::timestamp) - extract(epoch from '2026-07-08 10:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806463 -2.876505)'), GeomFromEWKT('SRID=4674;POINT (-39.806457 -2.876589)'))) / (select extract(epoch from '2026-07-08 10:11:25'::timestamp) - extract(epoch from '2026-07-08 10:11: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'), 47862, 'SRID=4674;POINT (-39.806447 -2.876693)', '2026-07-08 10:11:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806457 -2.876589)'), GeomFromEWKT('SRID=4674;POINT (-39.806447 -2.876693)'))) / (select extract(epoch from '2026-07-08 10:11:33'::timestamp) - extract(epoch from '2026-07-08 10:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806457 -2.876589)'), GeomFromEWKT('SRID=4674;POINT (-39.806447 -2.876693)'))) / (select extract(epoch from '2026-07-08 10:11:33'::timestamp) - extract(epoch from '2026-07-08 10:11:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806443 -2.876717)', '2026-07-08 10:11:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806447 -2.876693)'), GeomFromEWKT('SRID=4674;POINT (-39.806443 -2.876717)'))) / (select extract(epoch from '2026-07-08 10:11:35'::timestamp) - extract(epoch from '2026-07-08 10:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806447 -2.876693)'), GeomFromEWKT('SRID=4674;POINT (-39.806443 -2.876717)'))) / (select extract(epoch from '2026-07-08 10:11:35'::timestamp) - extract(epoch from '2026-07-08 10:11: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'), 47862, 'SRID=4674;POINT (-39.806434 -2.876735)', '2026-07-08 10:11:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806443 -2.876717)'), GeomFromEWKT('SRID=4674;POINT (-39.806434 -2.876735)'))) / (select extract(epoch from '2026-07-08 10:11:37'::timestamp) - extract(epoch from '2026-07-08 10:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806443 -2.876717)'), GeomFromEWKT('SRID=4674;POINT (-39.806434 -2.876735)'))) / (select extract(epoch from '2026-07-08 10:11:37'::timestamp) - extract(epoch from '2026-07-08 10:11: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'), 47862, 'SRID=4674;POINT (-39.806428 -2.876757)', '2026-07-08 10:11:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806434 -2.876735)'), GeomFromEWKT('SRID=4674;POINT (-39.806428 -2.876757)'))) / (select extract(epoch from '2026-07-08 10:11:39'::timestamp) - extract(epoch from '2026-07-08 10:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806434 -2.876735)'), GeomFromEWKT('SRID=4674;POINT (-39.806428 -2.876757)'))) / (select extract(epoch from '2026-07-08 10:11:39'::timestamp) - extract(epoch from '2026-07-08 10:11: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'), 47862, 'SRID=4674;POINT (-39.806423 -2.876856)', '2026-07-08 10:11:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806428 -2.876757)'), GeomFromEWKT('SRID=4674;POINT (-39.806423 -2.876856)'))) / (select extract(epoch from '2026-07-08 10:11:46'::timestamp) - extract(epoch from '2026-07-08 10:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806428 -2.876757)'), GeomFromEWKT('SRID=4674;POINT (-39.806423 -2.876856)'))) / (select extract(epoch from '2026-07-08 10:11:46'::timestamp) - extract(epoch from '2026-07-08 10:11: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'), 47862, 'SRID=4674;POINT (-39.806435 -2.876909)', '2026-07-08 10:11:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806423 -2.876856)'), GeomFromEWKT('SRID=4674;POINT (-39.806435 -2.876909)'))) / (select extract(epoch from '2026-07-08 10:11:50'::timestamp) - extract(epoch from '2026-07-08 10:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806423 -2.876856)'), GeomFromEWKT('SRID=4674;POINT (-39.806435 -2.876909)'))) / (select extract(epoch from '2026-07-08 10:11:50'::timestamp) - extract(epoch from '2026-07-08 10:11: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'), 47862, 'SRID=4674;POINT (-39.806428 -2.876939)', '2026-07-08 10:11:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806435 -2.876909)'), GeomFromEWKT('SRID=4674;POINT (-39.806428 -2.876939)'))) / (select extract(epoch from '2026-07-08 10:11:53'::timestamp) - extract(epoch from '2026-07-08 10:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806435 -2.876909)'), GeomFromEWKT('SRID=4674;POINT (-39.806428 -2.876939)'))) / (select extract(epoch from '2026-07-08 10:11:53'::timestamp) - extract(epoch from '2026-07-08 10:11: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'), 47862, 'SRID=4674;POINT (-39.806406 -2.876992)', '2026-07-08 10:11:59', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806428 -2.876939)'), GeomFromEWKT('SRID=4674;POINT (-39.806406 -2.876992)'))) / (select extract(epoch from '2026-07-08 10:11:59'::timestamp) - extract(epoch from '2026-07-08 10:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806428 -2.876939)'), GeomFromEWKT('SRID=4674;POINT (-39.806406 -2.876992)'))) / (select extract(epoch from '2026-07-08 10:11:59'::timestamp) - extract(epoch from '2026-07-08 10:11:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806398 -2.877034)', '2026-07-08 10:12:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806406 -2.876992)'), GeomFromEWKT('SRID=4674;POINT (-39.806398 -2.877034)'))) / (select extract(epoch from '2026-07-08 10:12:03'::timestamp) - extract(epoch from '2026-07-08 10:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806406 -2.876992)'), GeomFromEWKT('SRID=4674;POINT (-39.806398 -2.877034)'))) / (select extract(epoch from '2026-07-08 10:12:03'::timestamp) - extract(epoch from '2026-07-08 10:11: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'), 47862, 'SRID=4674;POINT (-39.806387 -2.877067)', '2026-07-08 10:12:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806398 -2.877034)'), GeomFromEWKT('SRID=4674;POINT (-39.806387 -2.877067)'))) / (select extract(epoch from '2026-07-08 10:12:06'::timestamp) - extract(epoch from '2026-07-08 10:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806398 -2.877034)'), GeomFromEWKT('SRID=4674;POINT (-39.806387 -2.877067)'))) / (select extract(epoch from '2026-07-08 10:12:06'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806388 -2.877164)', '2026-07-08 10:12:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806387 -2.877067)'), GeomFromEWKT('SRID=4674;POINT (-39.806388 -2.877164)'))) / (select extract(epoch from '2026-07-08 10:12:13'::timestamp) - extract(epoch from '2026-07-08 10:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806387 -2.877067)'), GeomFromEWKT('SRID=4674;POINT (-39.806388 -2.877164)'))) / (select extract(epoch from '2026-07-08 10:12:13'::timestamp) - extract(epoch from '2026-07-08 10:12:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806419 -2.87726)', '2026-07-08 10:12:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806388 -2.877164)'), GeomFromEWKT('SRID=4674;POINT (-39.806419 -2.87726)'))) / (select extract(epoch from '2026-07-08 10:12:21'::timestamp) - extract(epoch from '2026-07-08 10:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806388 -2.877164)'), GeomFromEWKT('SRID=4674;POINT (-39.806419 -2.87726)'))) / (select extract(epoch from '2026-07-08 10:12:21'::timestamp) - extract(epoch from '2026-07-08 10:12: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'), 47862, 'SRID=4674;POINT (-39.80648 -2.87737)', '2026-07-08 10:12:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806419 -2.87726)'), GeomFromEWKT('SRID=4674;POINT (-39.80648 -2.87737)'))) / (select extract(epoch from '2026-07-08 10:12:28'::timestamp) - extract(epoch from '2026-07-08 10:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806419 -2.87726)'), GeomFromEWKT('SRID=4674;POINT (-39.80648 -2.87737)'))) / (select extract(epoch from '2026-07-08 10:12:28'::timestamp) - extract(epoch from '2026-07-08 10:12: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'), 47862, 'SRID=4674;POINT (-39.8065 -2.877401)', '2026-07-08 10:12:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80648 -2.87737)'), GeomFromEWKT('SRID=4674;POINT (-39.8065 -2.877401)'))) / (select extract(epoch from '2026-07-08 10:12:30'::timestamp) - extract(epoch from '2026-07-08 10:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80648 -2.87737)'), GeomFromEWKT('SRID=4674;POINT (-39.8065 -2.877401)'))) / (select extract(epoch from '2026-07-08 10:12:30'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806517 -2.877452)', '2026-07-08 10:12:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8065 -2.877401)'), GeomFromEWKT('SRID=4674;POINT (-39.806517 -2.877452)'))) / (select extract(epoch from '2026-07-08 10:12:34'::timestamp) - extract(epoch from '2026-07-08 10:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8065 -2.877401)'), GeomFromEWKT('SRID=4674;POINT (-39.806517 -2.877452)'))) / (select extract(epoch from '2026-07-08 10:12:34'::timestamp) - extract(epoch from '2026-07-08 10:12: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'), 47862, 'SRID=4674;POINT (-39.806545 -2.877531)', '2026-07-08 10:12:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806517 -2.877452)'), GeomFromEWKT('SRID=4674;POINT (-39.806545 -2.877531)'))) / (select extract(epoch from '2026-07-08 10:12:40'::timestamp) - extract(epoch from '2026-07-08 10:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806517 -2.877452)'), GeomFromEWKT('SRID=4674;POINT (-39.806545 -2.877531)'))) / (select extract(epoch from '2026-07-08 10:12:40'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.80658 -2.87762)', '2026-07-08 10:12:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806545 -2.877531)'), GeomFromEWKT('SRID=4674;POINT (-39.80658 -2.87762)'))) / (select extract(epoch from '2026-07-08 10:12:48'::timestamp) - extract(epoch from '2026-07-08 10:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806545 -2.877531)'), GeomFromEWKT('SRID=4674;POINT (-39.80658 -2.87762)'))) / (select extract(epoch from '2026-07-08 10:12:48'::timestamp) - extract(epoch from '2026-07-08 10:12:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806612 -2.877738)', '2026-07-08 10:12:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80658 -2.87762)'), GeomFromEWKT('SRID=4674;POINT (-39.806612 -2.877738)'))) / (select extract(epoch from '2026-07-08 10:12:56'::timestamp) - extract(epoch from '2026-07-08 10:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80658 -2.87762)'), GeomFromEWKT('SRID=4674;POINT (-39.806612 -2.877738)'))) / (select extract(epoch from '2026-07-08 10:12:56'::timestamp) - extract(epoch from '2026-07-08 10:12: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'), 47862, 'SRID=4674;POINT (-39.806619 -2.877762)', '2026-07-08 10:12:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806612 -2.877738)'), GeomFromEWKT('SRID=4674;POINT (-39.806619 -2.877762)'))) / (select extract(epoch from '2026-07-08 10:12:58'::timestamp) - extract(epoch from '2026-07-08 10:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806612 -2.877738)'), GeomFromEWKT('SRID=4674;POINT (-39.806619 -2.877762)'))) / (select extract(epoch from '2026-07-08 10:12:58'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806619 -2.877799)', '2026-07-08 10:13:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806619 -2.877762)'), GeomFromEWKT('SRID=4674;POINT (-39.806619 -2.877799)'))) / (select extract(epoch from '2026-07-08 10:13:02'::timestamp) - extract(epoch from '2026-07-08 10:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806619 -2.877762)'), GeomFromEWKT('SRID=4674;POINT (-39.806619 -2.877799)'))) / (select extract(epoch from '2026-07-08 10:13:02'::timestamp) - extract(epoch from '2026-07-08 10:12:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80662 -2.877849)', '2026-07-08 10:13:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806619 -2.877799)'), GeomFromEWKT('SRID=4674;POINT (-39.80662 -2.877849)'))) / (select extract(epoch from '2026-07-08 10:13:09'::timestamp) - extract(epoch from '2026-07-08 10:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806619 -2.877799)'), GeomFromEWKT('SRID=4674;POINT (-39.80662 -2.877849)'))) / (select extract(epoch from '2026-07-08 10:13:09'::timestamp) - extract(epoch from '2026-07-08 10:13: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'), 47862, 'SRID=4674;POINT (-39.806637 -2.877899)', '2026-07-08 10:13:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80662 -2.877849)'), GeomFromEWKT('SRID=4674;POINT (-39.806637 -2.877899)'))) / (select extract(epoch from '2026-07-08 10:13:21'::timestamp) - extract(epoch from '2026-07-08 10:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80662 -2.877849)'), GeomFromEWKT('SRID=4674;POINT (-39.806637 -2.877899)'))) / (select extract(epoch from '2026-07-08 10:13:21'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806636 -2.877901)', '2026-07-08 10:13:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806637 -2.877899)'), GeomFromEWKT('SRID=4674;POINT (-39.806636 -2.877901)'))) / (select extract(epoch from '2026-07-08 10:13:34'::timestamp) - extract(epoch from '2026-07-08 10:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806637 -2.877899)'), GeomFromEWKT('SRID=4674;POINT (-39.806636 -2.877901)'))) / (select extract(epoch from '2026-07-08 10:13:34'::timestamp) - extract(epoch from '2026-07-08 10:13: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'), 47862, 'SRID=4674;POINT (-39.80664 -2.877866)', '2026-07-08 10:13:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806636 -2.877901)'), GeomFromEWKT('SRID=4674;POINT (-39.80664 -2.877866)'))) / (select extract(epoch from '2026-07-08 10:13:43'::timestamp) - extract(epoch from '2026-07-08 10:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806636 -2.877901)'), GeomFromEWKT('SRID=4674;POINT (-39.80664 -2.877866)'))) / (select extract(epoch from '2026-07-08 10:13:43'::timestamp) - extract(epoch from '2026-07-08 10:13: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'), 47862, 'SRID=4674;POINT (-39.806614 -2.877822)', '2026-07-08 10:13:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80664 -2.877866)'), GeomFromEWKT('SRID=4674;POINT (-39.806614 -2.877822)'))) / (select extract(epoch from '2026-07-08 10:13:55'::timestamp) - extract(epoch from '2026-07-08 10:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80664 -2.877866)'), GeomFromEWKT('SRID=4674;POINT (-39.806614 -2.877822)'))) / (select extract(epoch from '2026-07-08 10:13:55'::timestamp) - extract(epoch from '2026-07-08 10:13: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'), 47862, 'SRID=4674;POINT (-39.806606 -2.877853)', '2026-07-08 10:14:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806614 -2.877822)'), GeomFromEWKT('SRID=4674;POINT (-39.806606 -2.877853)'))) / (select extract(epoch from '2026-07-08 10:14:03'::timestamp) - extract(epoch from '2026-07-08 10:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806614 -2.877822)'), GeomFromEWKT('SRID=4674;POINT (-39.806606 -2.877853)'))) / (select extract(epoch from '2026-07-08 10:14:03'::timestamp) - extract(epoch from '2026-07-08 10:13: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'), 47862, 'SRID=4674;POINT (-39.806637 -2.877966)', '2026-07-08 10:14:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806606 -2.877853)'), GeomFromEWKT('SRID=4674;POINT (-39.806637 -2.877966)'))) / (select extract(epoch from '2026-07-08 10:14:14'::timestamp) - extract(epoch from '2026-07-08 10:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806606 -2.877853)'), GeomFromEWKT('SRID=4674;POINT (-39.806637 -2.877966)'))) / (select extract(epoch from '2026-07-08 10:14:14'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806647 -2.878097)', '2026-07-08 10:14:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806637 -2.877966)'), GeomFromEWKT('SRID=4674;POINT (-39.806647 -2.878097)'))) / (select extract(epoch from '2026-07-08 10:14:25'::timestamp) - extract(epoch from '2026-07-08 10:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806637 -2.877966)'), GeomFromEWKT('SRID=4674;POINT (-39.806647 -2.878097)'))) / (select extract(epoch from '2026-07-08 10:14:25'::timestamp) - extract(epoch from '2026-07-08 10:14: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'), 47862, 'SRID=4674;POINT (-39.806674 -2.878187)', '2026-07-08 10:14:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806647 -2.878097)'), GeomFromEWKT('SRID=4674;POINT (-39.806674 -2.878187)'))) / (select extract(epoch from '2026-07-08 10:14:33'::timestamp) - extract(epoch from '2026-07-08 10:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806647 -2.878097)'), GeomFromEWKT('SRID=4674;POINT (-39.806674 -2.878187)'))) / (select extract(epoch from '2026-07-08 10:14:33'::timestamp) - extract(epoch from '2026-07-08 10:14:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806689 -2.878251)', '2026-07-08 10:14:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806674 -2.878187)'), GeomFromEWKT('SRID=4674;POINT (-39.806689 -2.878251)'))) / (select extract(epoch from '2026-07-08 10:14:39'::timestamp) - extract(epoch from '2026-07-08 10:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806674 -2.878187)'), GeomFromEWKT('SRID=4674;POINT (-39.806689 -2.878251)'))) / (select extract(epoch from '2026-07-08 10:14:39'::timestamp) - extract(epoch from '2026-07-08 10:14: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'), 47862, 'SRID=4674;POINT (-39.806702 -2.878333)', '2026-07-08 10:14:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806689 -2.878251)'), GeomFromEWKT('SRID=4674;POINT (-39.806702 -2.878333)'))) / (select extract(epoch from '2026-07-08 10:14:45'::timestamp) - extract(epoch from '2026-07-08 10:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806689 -2.878251)'), GeomFromEWKT('SRID=4674;POINT (-39.806702 -2.878333)'))) / (select extract(epoch from '2026-07-08 10:14:45'::timestamp) - extract(epoch from '2026-07-08 10:14: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'), 47862, 'SRID=4674;POINT (-39.806719 -2.878381)', '2026-07-08 10:14:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806702 -2.878333)'), GeomFromEWKT('SRID=4674;POINT (-39.806719 -2.878381)'))) / (select extract(epoch from '2026-07-08 10:14:49'::timestamp) - extract(epoch from '2026-07-08 10:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806702 -2.878333)'), GeomFromEWKT('SRID=4674;POINT (-39.806719 -2.878381)'))) / (select extract(epoch from '2026-07-08 10:14:49'::timestamp) - extract(epoch from '2026-07-08 10:14: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'), 47862, 'SRID=4674;POINT (-39.806722 -2.878392)', '2026-07-08 10:14:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806719 -2.878381)'), GeomFromEWKT('SRID=4674;POINT (-39.806722 -2.878392)'))) / (select extract(epoch from '2026-07-08 10:14:50'::timestamp) - extract(epoch from '2026-07-08 10:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806719 -2.878381)'), GeomFromEWKT('SRID=4674;POINT (-39.806722 -2.878392)'))) / (select extract(epoch from '2026-07-08 10:14:50'::timestamp) - extract(epoch from '2026-07-08 10:14: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'), 47862, 'SRID=4674;POINT (-39.806746 -2.878491)', '2026-07-08 10:14:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806722 -2.878392)'), GeomFromEWKT('SRID=4674;POINT (-39.806746 -2.878491)'))) / (select extract(epoch from '2026-07-08 10:14:58'::timestamp) - extract(epoch from '2026-07-08 10:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806722 -2.878392)'), GeomFromEWKT('SRID=4674;POINT (-39.806746 -2.878491)'))) / (select extract(epoch from '2026-07-08 10:14:58'::timestamp) - extract(epoch from '2026-07-08 10:14: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'), 47862, 'SRID=4674;POINT (-39.806784 -2.878604)', '2026-07-08 10:15:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806746 -2.878491)'), GeomFromEWKT('SRID=4674;POINT (-39.806784 -2.878604)'))) / (select extract(epoch from '2026-07-08 10:15:07'::timestamp) - extract(epoch from '2026-07-08 10:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806746 -2.878491)'), GeomFromEWKT('SRID=4674;POINT (-39.806784 -2.878604)'))) / (select extract(epoch from '2026-07-08 10:15:07'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806831 -2.878726)', '2026-07-08 10:15:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806784 -2.878604)'), GeomFromEWKT('SRID=4674;POINT (-39.806831 -2.878726)'))) / (select extract(epoch from '2026-07-08 10:15:16'::timestamp) - extract(epoch from '2026-07-08 10:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806784 -2.878604)'), GeomFromEWKT('SRID=4674;POINT (-39.806831 -2.878726)'))) / (select extract(epoch from '2026-07-08 10:15:16'::timestamp) - extract(epoch from '2026-07-08 10:15:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80686 -2.878809)', '2026-07-08 10:15:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806831 -2.878726)'), GeomFromEWKT('SRID=4674;POINT (-39.80686 -2.878809)'))) / (select extract(epoch from '2026-07-08 10:15:22'::timestamp) - extract(epoch from '2026-07-08 10:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806831 -2.878726)'), GeomFromEWKT('SRID=4674;POINT (-39.80686 -2.878809)'))) / (select extract(epoch from '2026-07-08 10:15:22'::timestamp) - extract(epoch from '2026-07-08 10:15:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806864 -2.878823)', '2026-07-08 10:15:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80686 -2.878809)'), GeomFromEWKT('SRID=4674;POINT (-39.806864 -2.878823)'))) / (select extract(epoch from '2026-07-08 10:15:24'::timestamp) - extract(epoch from '2026-07-08 10:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80686 -2.878809)'), GeomFromEWKT('SRID=4674;POINT (-39.806864 -2.878823)'))) / (select extract(epoch from '2026-07-08 10:15:24'::timestamp) - extract(epoch from '2026-07-08 10:15:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806891 -2.878952)', '2026-07-08 10:15:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806864 -2.878823)'), GeomFromEWKT('SRID=4674;POINT (-39.806891 -2.878952)'))) / (select extract(epoch from '2026-07-08 10:15:32'::timestamp) - extract(epoch from '2026-07-08 10:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806864 -2.878823)'), GeomFromEWKT('SRID=4674;POINT (-39.806891 -2.878952)'))) / (select extract(epoch from '2026-07-08 10:15:32'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806921 -2.879037)', '2026-07-08 10:15:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806891 -2.878952)'), GeomFromEWKT('SRID=4674;POINT (-39.806921 -2.879037)'))) / (select extract(epoch from '2026-07-08 10:15:38'::timestamp) - extract(epoch from '2026-07-08 10:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806891 -2.878952)'), GeomFromEWKT('SRID=4674;POINT (-39.806921 -2.879037)'))) / (select extract(epoch from '2026-07-08 10:15:38'::timestamp) - extract(epoch from '2026-07-08 10:15: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'), 47862, 'SRID=4674;POINT (-39.806939 -2.87911)', '2026-07-08 10:15:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806921 -2.879037)'), GeomFromEWKT('SRID=4674;POINT (-39.806939 -2.87911)'))) / (select extract(epoch from '2026-07-08 10:15:45'::timestamp) - extract(epoch from '2026-07-08 10:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806921 -2.879037)'), GeomFromEWKT('SRID=4674;POINT (-39.806939 -2.87911)'))) / (select extract(epoch from '2026-07-08 10:15:45'::timestamp) - extract(epoch from '2026-07-08 10:15: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'), 47862, 'SRID=4674;POINT (-39.806961 -2.879229)', '2026-07-08 10:15:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806939 -2.87911)'), GeomFromEWKT('SRID=4674;POINT (-39.806961 -2.879229)'))) / (select extract(epoch from '2026-07-08 10:15:53'::timestamp) - extract(epoch from '2026-07-08 10:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806939 -2.87911)'), GeomFromEWKT('SRID=4674;POINT (-39.806961 -2.879229)'))) / (select extract(epoch from '2026-07-08 10:15:53'::timestamp) - extract(epoch from '2026-07-08 10:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806965 -2.879312)', '2026-07-08 10:16:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806961 -2.879229)'), GeomFromEWKT('SRID=4674;POINT (-39.806965 -2.879312)'))) / (select extract(epoch from '2026-07-08 10:16:00'::timestamp) - extract(epoch from '2026-07-08 10:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806961 -2.879229)'), GeomFromEWKT('SRID=4674;POINT (-39.806965 -2.879312)'))) / (select extract(epoch from '2026-07-08 10:16:00'::timestamp) - extract(epoch from '2026-07-08 10:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806965 -2.879326)', '2026-07-08 10:16:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806965 -2.879312)'), GeomFromEWKT('SRID=4674;POINT (-39.806965 -2.879326)'))) / (select extract(epoch from '2026-07-08 10:16:02'::timestamp) - extract(epoch from '2026-07-08 10:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806965 -2.879312)'), GeomFromEWKT('SRID=4674;POINT (-39.806965 -2.879326)'))) / (select extract(epoch from '2026-07-08 10:16:02'::timestamp) - extract(epoch from '2026-07-08 10:16: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'), 47862, 'SRID=4674;POINT (-39.806969 -2.879348)', '2026-07-08 10:16:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806965 -2.879326)'), GeomFromEWKT('SRID=4674;POINT (-39.806969 -2.879348)'))) / (select extract(epoch from '2026-07-08 10:16:06'::timestamp) - extract(epoch from '2026-07-08 10:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806965 -2.879326)'), GeomFromEWKT('SRID=4674;POINT (-39.806969 -2.879348)'))) / (select extract(epoch from '2026-07-08 10:16:06'::timestamp) - extract(epoch from '2026-07-08 10:16: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'), 47862, 'SRID=4674;POINT (-39.806977 -2.879359)', '2026-07-08 10:16:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806969 -2.879348)'), GeomFromEWKT('SRID=4674;POINT (-39.806977 -2.879359)'))) / (select extract(epoch from '2026-07-08 10:16:15'::timestamp) - extract(epoch from '2026-07-08 10:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806969 -2.879348)'), GeomFromEWKT('SRID=4674;POINT (-39.806977 -2.879359)'))) / (select extract(epoch from '2026-07-08 10:16:15'::timestamp) - extract(epoch from '2026-07-08 10:16: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'), 47862, 'SRID=4674;POINT (-39.807 -2.879331)', '2026-07-08 10:16:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806977 -2.879359)'), GeomFromEWKT('SRID=4674;POINT (-39.807 -2.879331)'))) / (select extract(epoch from '2026-07-08 10:16:26'::timestamp) - extract(epoch from '2026-07-08 10:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806977 -2.879359)'), GeomFromEWKT('SRID=4674;POINT (-39.807 -2.879331)'))) / (select extract(epoch from '2026-07-08 10:16:26'::timestamp) - extract(epoch from '2026-07-08 10:16: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'), 47862, 'SRID=4674;POINT (-39.80703 -2.879285)', '2026-07-08 10:16:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807 -2.879331)'), GeomFromEWKT('SRID=4674;POINT (-39.80703 -2.879285)'))) / (select extract(epoch from '2026-07-08 10:16:35'::timestamp) - extract(epoch from '2026-07-08 10:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807 -2.879331)'), GeomFromEWKT('SRID=4674;POINT (-39.80703 -2.879285)'))) / (select extract(epoch from '2026-07-08 10:16:35'::timestamp) - extract(epoch from '2026-07-08 10:16: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'), 47862, 'SRID=4674;POINT (-39.807052 -2.879235)', '2026-07-08 10:16:44', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80703 -2.879285)'), GeomFromEWKT('SRID=4674;POINT (-39.807052 -2.879235)'))) / (select extract(epoch from '2026-07-08 10:16:44'::timestamp) - extract(epoch from '2026-07-08 10:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80703 -2.879285)'), GeomFromEWKT('SRID=4674;POINT (-39.807052 -2.879235)'))) / (select extract(epoch from '2026-07-08 10:16:44'::timestamp) - extract(epoch from '2026-07-08 10:16: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'), 47862, 'SRID=4674;POINT (-39.807062 -2.879175)', '2026-07-08 10:16:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807052 -2.879235)'), GeomFromEWKT('SRID=4674;POINT (-39.807062 -2.879175)'))) / (select extract(epoch from '2026-07-08 10:16:52'::timestamp) - extract(epoch from '2026-07-08 10:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807052 -2.879235)'), GeomFromEWKT('SRID=4674;POINT (-39.807062 -2.879175)'))) / (select extract(epoch from '2026-07-08 10:16:52'::timestamp) - extract(epoch from '2026-07-08 10:16: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'), 47862, 'SRID=4674;POINT (-39.807076 -2.879122)', '2026-07-08 10:17:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807062 -2.879175)'), GeomFromEWKT('SRID=4674;POINT (-39.807076 -2.879122)'))) / (select extract(epoch from '2026-07-08 10:17:00'::timestamp) - extract(epoch from '2026-07-08 10:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807062 -2.879175)'), GeomFromEWKT('SRID=4674;POINT (-39.807076 -2.879122)'))) / (select extract(epoch from '2026-07-08 10:17:00'::timestamp) - extract(epoch from '2026-07-08 10:16: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'), 47862, 'SRID=4674;POINT (-39.807054 -2.879056)', '2026-07-08 10:17:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807076 -2.879122)'), GeomFromEWKT('SRID=4674;POINT (-39.807054 -2.879056)'))) / (select extract(epoch from '2026-07-08 10:17:06'::timestamp) - extract(epoch from '2026-07-08 10:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807076 -2.879122)'), GeomFromEWKT('SRID=4674;POINT (-39.807054 -2.879056)'))) / (select extract(epoch from '2026-07-08 10:17:06'::timestamp) - extract(epoch from '2026-07-08 10:17:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80704 -2.879038)', '2026-07-08 10:17:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807054 -2.879056)'), GeomFromEWKT('SRID=4674;POINT (-39.80704 -2.879038)'))) / (select extract(epoch from '2026-07-08 10:17:08'::timestamp) - extract(epoch from '2026-07-08 10:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807054 -2.879056)'), GeomFromEWKT('SRID=4674;POINT (-39.80704 -2.879038)'))) / (select extract(epoch from '2026-07-08 10:17:08'::timestamp) - extract(epoch from '2026-07-08 10:17: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'), 47862, 'SRID=4674;POINT (-39.806968 -2.87902)', '2026-07-08 10:17:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80704 -2.879038)'), GeomFromEWKT('SRID=4674;POINT (-39.806968 -2.87902)'))) / (select extract(epoch from '2026-07-08 10:17:16'::timestamp) - extract(epoch from '2026-07-08 10:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80704 -2.879038)'), GeomFromEWKT('SRID=4674;POINT (-39.806968 -2.87902)'))) / (select extract(epoch from '2026-07-08 10:17:16'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.80695 -2.879032)', '2026-07-08 10:17:18', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806968 -2.87902)'), GeomFromEWKT('SRID=4674;POINT (-39.80695 -2.879032)'))) / (select extract(epoch from '2026-07-08 10:17:18'::timestamp) - extract(epoch from '2026-07-08 10:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806968 -2.87902)'), GeomFromEWKT('SRID=4674;POINT (-39.80695 -2.879032)'))) / (select extract(epoch from '2026-07-08 10:17:18'::timestamp) - extract(epoch from '2026-07-08 10:17: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'), 47862, 'SRID=4674;POINT (-39.806928 -2.879082)', '2026-07-08 10:17:23', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80695 -2.879032)'), GeomFromEWKT('SRID=4674;POINT (-39.806928 -2.879082)'))) / (select extract(epoch from '2026-07-08 10:17:23'::timestamp) - extract(epoch from '2026-07-08 10:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80695 -2.879032)'), GeomFromEWKT('SRID=4674;POINT (-39.806928 -2.879082)'))) / (select extract(epoch from '2026-07-08 10:17:23'::timestamp) - extract(epoch from '2026-07-08 10:17: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'), 47862, 'SRID=4674;POINT (-39.806932 -2.879108)', '2026-07-08 10:17:25', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806928 -2.879082)'), GeomFromEWKT('SRID=4674;POINT (-39.806932 -2.879108)'))) / (select extract(epoch from '2026-07-08 10:17:25'::timestamp) - extract(epoch from '2026-07-08 10:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806928 -2.879082)'), GeomFromEWKT('SRID=4674;POINT (-39.806932 -2.879108)'))) / (select extract(epoch from '2026-07-08 10:17:25'::timestamp) - extract(epoch from '2026-07-08 10:17:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806941 -2.879145)', '2026-07-08 10:17:28', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806932 -2.879108)'), GeomFromEWKT('SRID=4674;POINT (-39.806941 -2.879145)'))) / (select extract(epoch from '2026-07-08 10:17:28'::timestamp) - extract(epoch from '2026-07-08 10:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806932 -2.879108)'), GeomFromEWKT('SRID=4674;POINT (-39.806941 -2.879145)'))) / (select extract(epoch from '2026-07-08 10:17:28'::timestamp) - extract(epoch from '2026-07-08 10:17: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'), 47862, 'SRID=4674;POINT (-39.806997 -2.879205)', '2026-07-08 10:17:33', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806941 -2.879145)'), GeomFromEWKT('SRID=4674;POINT (-39.806997 -2.879205)'))) / (select extract(epoch from '2026-07-08 10:17:33'::timestamp) - extract(epoch from '2026-07-08 10:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806941 -2.879145)'), GeomFromEWKT('SRID=4674;POINT (-39.806997 -2.879205)'))) / (select extract(epoch from '2026-07-08 10:17:33'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.807088 -2.879274)', '2026-07-08 10:17:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806997 -2.879205)'), GeomFromEWKT('SRID=4674;POINT (-39.807088 -2.879274)'))) / (select extract(epoch from '2026-07-08 10:17:39'::timestamp) - extract(epoch from '2026-07-08 10:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806997 -2.879205)'), GeomFromEWKT('SRID=4674;POINT (-39.807088 -2.879274)'))) / (select extract(epoch from '2026-07-08 10:17:39'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.807224 -2.879335)', '2026-07-08 10:17:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807088 -2.879274)'), GeomFromEWKT('SRID=4674;POINT (-39.807224 -2.879335)'))) / (select extract(epoch from '2026-07-08 10:17:46'::timestamp) - extract(epoch from '2026-07-08 10:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807088 -2.879274)'), GeomFromEWKT('SRID=4674;POINT (-39.807224 -2.879335)'))) / (select extract(epoch from '2026-07-08 10:17:46'::timestamp) - extract(epoch from '2026-07-08 10:17: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'), 47862, 'SRID=4674;POINT (-39.807283 -2.879392)', '2026-07-08 10:17:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807224 -2.879335)'), GeomFromEWKT('SRID=4674;POINT (-39.807283 -2.879392)'))) / (select extract(epoch from '2026-07-08 10:17:51'::timestamp) - extract(epoch from '2026-07-08 10:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807224 -2.879335)'), GeomFromEWKT('SRID=4674;POINT (-39.807283 -2.879392)'))) / (select extract(epoch from '2026-07-08 10:17:51'::timestamp) - extract(epoch from '2026-07-08 10:17: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'), 47862, 'SRID=4674;POINT (-39.807289 -2.879411)', '2026-07-08 10:17:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807283 -2.879392)'), GeomFromEWKT('SRID=4674;POINT (-39.807289 -2.879411)'))) / (select extract(epoch from '2026-07-08 10:17:53'::timestamp) - extract(epoch from '2026-07-08 10:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807283 -2.879392)'), GeomFromEWKT('SRID=4674;POINT (-39.807289 -2.879411)'))) / (select extract(epoch from '2026-07-08 10:17:53'::timestamp) - extract(epoch from '2026-07-08 10:17: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'), 47862, 'SRID=4674;POINT (-39.807296 -2.879442)', '2026-07-08 10:17:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807289 -2.879411)'), GeomFromEWKT('SRID=4674;POINT (-39.807296 -2.879442)'))) / (select extract(epoch from '2026-07-08 10:17:56'::timestamp) - extract(epoch from '2026-07-08 10:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807289 -2.879411)'), GeomFromEWKT('SRID=4674;POINT (-39.807296 -2.879442)'))) / (select extract(epoch from '2026-07-08 10:17:56'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.807288 -2.87949)', '2026-07-08 10:18:00', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807296 -2.879442)'), GeomFromEWKT('SRID=4674;POINT (-39.807288 -2.87949)'))) / (select extract(epoch from '2026-07-08 10:18:00'::timestamp) - extract(epoch from '2026-07-08 10:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807296 -2.879442)'), GeomFromEWKT('SRID=4674;POINT (-39.807288 -2.87949)'))) / (select extract(epoch from '2026-07-08 10:18:00'::timestamp) - extract(epoch from '2026-07-08 10:17: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'), 47862, 'SRID=4674;POINT (-39.807286 -2.879526)', '2026-07-08 10:18:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807288 -2.87949)'), GeomFromEWKT('SRID=4674;POINT (-39.807286 -2.879526)'))) / (select extract(epoch from '2026-07-08 10:18:03'::timestamp) - extract(epoch from '2026-07-08 10:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807288 -2.87949)'), GeomFromEWKT('SRID=4674;POINT (-39.807286 -2.879526)'))) / (select extract(epoch from '2026-07-08 10:18:03'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.80729 -2.87959)', '2026-07-08 10:18:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807286 -2.879526)'), GeomFromEWKT('SRID=4674;POINT (-39.80729 -2.87959)'))) / (select extract(epoch from '2026-07-08 10:18:08'::timestamp) - extract(epoch from '2026-07-08 10:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807286 -2.879526)'), GeomFromEWKT('SRID=4674;POINT (-39.80729 -2.87959)'))) / (select extract(epoch from '2026-07-08 10:18:08'::timestamp) - extract(epoch from '2026-07-08 10:18: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'), 47862, 'SRID=4674;POINT (-39.807286 -2.879663)', '2026-07-08 10:18:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80729 -2.87959)'), GeomFromEWKT('SRID=4674;POINT (-39.807286 -2.879663)'))) / (select extract(epoch from '2026-07-08 10:18:15'::timestamp) - extract(epoch from '2026-07-08 10:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80729 -2.87959)'), GeomFromEWKT('SRID=4674;POINT (-39.807286 -2.879663)'))) / (select extract(epoch from '2026-07-08 10:18:15'::timestamp) - extract(epoch from '2026-07-08 10:18:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.807263 -2.879752)', '2026-07-08 10:18:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807286 -2.879663)'), GeomFromEWKT('SRID=4674;POINT (-39.807263 -2.879752)'))) / (select extract(epoch from '2026-07-08 10:18:21'::timestamp) - extract(epoch from '2026-07-08 10:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807286 -2.879663)'), GeomFromEWKT('SRID=4674;POINT (-39.807263 -2.879752)'))) / (select extract(epoch from '2026-07-08 10:18:21'::timestamp) - extract(epoch from '2026-07-08 10:18:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.807251 -2.879793)', '2026-07-08 10:18:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807263 -2.879752)'), GeomFromEWKT('SRID=4674;POINT (-39.807251 -2.879793)'))) / (select extract(epoch from '2026-07-08 10:18:24'::timestamp) - extract(epoch from '2026-07-08 10:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807263 -2.879752)'), GeomFromEWKT('SRID=4674;POINT (-39.807251 -2.879793)'))) / (select extract(epoch from '2026-07-08 10:18:24'::timestamp) - extract(epoch from '2026-07-08 10:18: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'), 47862, 'SRID=4674;POINT (-39.807244 -2.87982)', '2026-07-08 10:18:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807251 -2.879793)'), GeomFromEWKT('SRID=4674;POINT (-39.807244 -2.87982)'))) / (select extract(epoch from '2026-07-08 10:18:27'::timestamp) - extract(epoch from '2026-07-08 10:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807251 -2.879793)'), GeomFromEWKT('SRID=4674;POINT (-39.807244 -2.87982)'))) / (select extract(epoch from '2026-07-08 10:18:27'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.807239 -2.879939)', '2026-07-08 10:18:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807244 -2.87982)'), GeomFromEWKT('SRID=4674;POINT (-39.807239 -2.879939)'))) / (select extract(epoch from '2026-07-08 10:18:34'::timestamp) - extract(epoch from '2026-07-08 10:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807244 -2.87982)'), GeomFromEWKT('SRID=4674;POINT (-39.807239 -2.879939)'))) / (select extract(epoch from '2026-07-08 10:18:34'::timestamp) - extract(epoch from '2026-07-08 10:18:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.807222 -2.88001)', '2026-07-08 10:18:40', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807239 -2.879939)'), GeomFromEWKT('SRID=4674;POINT (-39.807222 -2.88001)'))) / (select extract(epoch from '2026-07-08 10:18:40'::timestamp) - extract(epoch from '2026-07-08 10:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807239 -2.879939)'), GeomFromEWKT('SRID=4674;POINT (-39.807222 -2.88001)'))) / (select extract(epoch from '2026-07-08 10:18:40'::timestamp) - extract(epoch from '2026-07-08 10:18:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.807206 -2.88007)', '2026-07-08 10:18:46', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807222 -2.88001)'), GeomFromEWKT('SRID=4674;POINT (-39.807206 -2.88007)'))) / (select extract(epoch from '2026-07-08 10:18:46'::timestamp) - extract(epoch from '2026-07-08 10:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807222 -2.88001)'), GeomFromEWKT('SRID=4674;POINT (-39.807206 -2.88007)'))) / (select extract(epoch from '2026-07-08 10:18:46'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.807208 -2.880083)', '2026-07-08 10:18:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807206 -2.88007)'), GeomFromEWKT('SRID=4674;POINT (-39.807208 -2.880083)'))) / (select extract(epoch from '2026-07-08 10:18:47'::timestamp) - extract(epoch from '2026-07-08 10:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807206 -2.88007)'), GeomFromEWKT('SRID=4674;POINT (-39.807208 -2.880083)'))) / (select extract(epoch from '2026-07-08 10:18:47'::timestamp) - extract(epoch from '2026-07-08 10:18: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'), 47862, 'SRID=4674;POINT (-39.807206 -2.880121)', '2026-07-08 10:18:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807208 -2.880083)'), GeomFromEWKT('SRID=4674;POINT (-39.807206 -2.880121)'))) / (select extract(epoch from '2026-07-08 10:18:50'::timestamp) - extract(epoch from '2026-07-08 10:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807208 -2.880083)'), GeomFromEWKT('SRID=4674;POINT (-39.807206 -2.880121)'))) / (select extract(epoch from '2026-07-08 10:18:50'::timestamp) - extract(epoch from '2026-07-08 10:18: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'), 47862, 'SRID=4674;POINT (-39.807203 -2.880149)', '2026-07-08 10:18:52', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807206 -2.880121)'), GeomFromEWKT('SRID=4674;POINT (-39.807203 -2.880149)'))) / (select extract(epoch from '2026-07-08 10:18:52'::timestamp) - extract(epoch from '2026-07-08 10:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807206 -2.880121)'), GeomFromEWKT('SRID=4674;POINT (-39.807203 -2.880149)'))) / (select extract(epoch from '2026-07-08 10:18:52'::timestamp) - extract(epoch from '2026-07-08 10:18: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'), 47862, 'SRID=4674;POINT (-39.807199 -2.880175)', '2026-07-08 10:18:54', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807203 -2.880149)'), GeomFromEWKT('SRID=4674;POINT (-39.807199 -2.880175)'))) / (select extract(epoch from '2026-07-08 10:18:54'::timestamp) - extract(epoch from '2026-07-08 10:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807203 -2.880149)'), GeomFromEWKT('SRID=4674;POINT (-39.807199 -2.880175)'))) / (select extract(epoch from '2026-07-08 10:18:54'::timestamp) - extract(epoch from '2026-07-08 10:18: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'), 47862, 'SRID=4674;POINT (-39.807198 -2.8802)', '2026-07-08 10:18:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807199 -2.880175)'), GeomFromEWKT('SRID=4674;POINT (-39.807198 -2.8802)'))) / (select extract(epoch from '2026-07-08 10:18:56'::timestamp) - extract(epoch from '2026-07-08 10:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807199 -2.880175)'), GeomFromEWKT('SRID=4674;POINT (-39.807198 -2.8802)'))) / (select extract(epoch from '2026-07-08 10:18:56'::timestamp) - extract(epoch from '2026-07-08 10:18: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'), 47862, 'SRID=4674;POINT (-39.807194 -2.880211)', '2026-07-08 10:18:57', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807198 -2.8802)'), GeomFromEWKT('SRID=4674;POINT (-39.807194 -2.880211)'))) / (select extract(epoch from '2026-07-08 10:18:57'::timestamp) - extract(epoch from '2026-07-08 10:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807198 -2.8802)'), GeomFromEWKT('SRID=4674;POINT (-39.807194 -2.880211)'))) / (select extract(epoch from '2026-07-08 10:18:57'::timestamp) - extract(epoch from '2026-07-08 10:18: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'), 47862, 'SRID=4674;POINT (-39.807186 -2.880228)', '2026-07-08 10:18:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807194 -2.880211)'), GeomFromEWKT('SRID=4674;POINT (-39.807186 -2.880228)'))) / (select extract(epoch from '2026-07-08 10:18:59'::timestamp) - extract(epoch from '2026-07-08 10:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807194 -2.880211)'), GeomFromEWKT('SRID=4674;POINT (-39.807186 -2.880228)'))) / (select extract(epoch from '2026-07-08 10:18:59'::timestamp) - extract(epoch from '2026-07-08 10:18: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'), 47862, 'SRID=4674;POINT (-39.807174 -2.880243)', '2026-07-08 10:19:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807186 -2.880228)'), GeomFromEWKT('SRID=4674;POINT (-39.807174 -2.880243)'))) / (select extract(epoch from '2026-07-08 10:19:01'::timestamp) - extract(epoch from '2026-07-08 10:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807186 -2.880228)'), GeomFromEWKT('SRID=4674;POINT (-39.807174 -2.880243)'))) / (select extract(epoch from '2026-07-08 10:19:01'::timestamp) - extract(epoch from '2026-07-08 10:18:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80717 -2.880249)', '2026-07-08 10:19:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807174 -2.880243)'), GeomFromEWKT('SRID=4674;POINT (-39.80717 -2.880249)'))) / (select extract(epoch from '2026-07-08 10:19:02'::timestamp) - extract(epoch from '2026-07-08 10:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807174 -2.880243)'), GeomFromEWKT('SRID=4674;POINT (-39.80717 -2.880249)'))) / (select extract(epoch from '2026-07-08 10:19:02'::timestamp) - extract(epoch from '2026-07-08 10:19: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'), 47862, 'SRID=4674;POINT (-39.807139 -2.880307)', '2026-07-08 10:19:09', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80717 -2.880249)'), GeomFromEWKT('SRID=4674;POINT (-39.807139 -2.880307)'))) / (select extract(epoch from '2026-07-08 10:19:09'::timestamp) - extract(epoch from '2026-07-08 10:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80717 -2.880249)'), GeomFromEWKT('SRID=4674;POINT (-39.807139 -2.880307)'))) / (select extract(epoch from '2026-07-08 10:19:09'::timestamp) - extract(epoch from '2026-07-08 10:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80714 -2.880321)', '2026-07-08 10:19:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807139 -2.880307)'), GeomFromEWKT('SRID=4674;POINT (-39.80714 -2.880321)'))) / (select extract(epoch from '2026-07-08 10:19:10'::timestamp) - extract(epoch from '2026-07-08 10:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807139 -2.880307)'), GeomFromEWKT('SRID=4674;POINT (-39.80714 -2.880321)'))) / (select extract(epoch from '2026-07-08 10:19:10'::timestamp) - extract(epoch from '2026-07-08 10:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.807144 -2.880356)', '2026-07-08 10:19:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80714 -2.880321)'), GeomFromEWKT('SRID=4674;POINT (-39.807144 -2.880356)'))) / (select extract(epoch from '2026-07-08 10:19:13'::timestamp) - extract(epoch from '2026-07-08 10:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80714 -2.880321)'), GeomFromEWKT('SRID=4674;POINT (-39.807144 -2.880356)'))) / (select extract(epoch from '2026-07-08 10:19:13'::timestamp) - extract(epoch from '2026-07-08 10:19: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'), 47862, 'SRID=4674;POINT (-39.807142 -2.880366)', '2026-07-08 10:19:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807144 -2.880356)'), GeomFromEWKT('SRID=4674;POINT (-39.807142 -2.880366)'))) / (select extract(epoch from '2026-07-08 10:19:14'::timestamp) - extract(epoch from '2026-07-08 10:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807144 -2.880356)'), GeomFromEWKT('SRID=4674;POINT (-39.807142 -2.880366)'))) / (select extract(epoch from '2026-07-08 10:19:14'::timestamp) - extract(epoch from '2026-07-08 10:19: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'), 47862, 'SRID=4674;POINT (-39.807135 -2.880402)', '2026-07-08 10:19:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807142 -2.880366)'), GeomFromEWKT('SRID=4674;POINT (-39.807135 -2.880402)'))) / (select extract(epoch from '2026-07-08 10:19:17'::timestamp) - extract(epoch from '2026-07-08 10:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807142 -2.880366)'), GeomFromEWKT('SRID=4674;POINT (-39.807135 -2.880402)'))) / (select extract(epoch from '2026-07-08 10:19:17'::timestamp) - extract(epoch from '2026-07-08 10:19: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'), 47862, 'SRID=4674;POINT (-39.807126 -2.880462)', '2026-07-08 10:19:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807135 -2.880402)'), GeomFromEWKT('SRID=4674;POINT (-39.807126 -2.880462)'))) / (select extract(epoch from '2026-07-08 10:19:22'::timestamp) - extract(epoch from '2026-07-08 10:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807135 -2.880402)'), GeomFromEWKT('SRID=4674;POINT (-39.807126 -2.880462)'))) / (select extract(epoch from '2026-07-08 10:19:22'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.807131 -2.88057)', '2026-07-08 10:19:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807126 -2.880462)'), GeomFromEWKT('SRID=4674;POINT (-39.807131 -2.88057)'))) / (select extract(epoch from '2026-07-08 10:19:29'::timestamp) - extract(epoch from '2026-07-08 10:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807126 -2.880462)'), GeomFromEWKT('SRID=4674;POINT (-39.807131 -2.88057)'))) / (select extract(epoch from '2026-07-08 10:19:29'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.807141 -2.880669)', '2026-07-08 10:19:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807131 -2.88057)'), GeomFromEWKT('SRID=4674;POINT (-39.807141 -2.880669)'))) / (select extract(epoch from '2026-07-08 10:19:35'::timestamp) - extract(epoch from '2026-07-08 10:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807131 -2.88057)'), GeomFromEWKT('SRID=4674;POINT (-39.807141 -2.880669)'))) / (select extract(epoch from '2026-07-08 10:19:35'::timestamp) - extract(epoch from '2026-07-08 10:19: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'), 47862, 'SRID=4674;POINT (-39.80714 -2.880682)', '2026-07-08 10:19:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807141 -2.880669)'), GeomFromEWKT('SRID=4674;POINT (-39.80714 -2.880682)'))) / (select extract(epoch from '2026-07-08 10:19:36'::timestamp) - extract(epoch from '2026-07-08 10:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807141 -2.880669)'), GeomFromEWKT('SRID=4674;POINT (-39.80714 -2.880682)'))) / (select extract(epoch from '2026-07-08 10:19:36'::timestamp) - extract(epoch from '2026-07-08 10:19: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'), 47862, 'SRID=4674;POINT (-39.807122 -2.880737)', '2026-07-08 10:19:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80714 -2.880682)'), GeomFromEWKT('SRID=4674;POINT (-39.807122 -2.880737)'))) / (select extract(epoch from '2026-07-08 10:19:40'::timestamp) - extract(epoch from '2026-07-08 10:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80714 -2.880682)'), GeomFromEWKT('SRID=4674;POINT (-39.807122 -2.880737)'))) / (select extract(epoch from '2026-07-08 10:19:40'::timestamp) - extract(epoch from '2026-07-08 10:19: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'), 47862, 'SRID=4674;POINT (-39.807108 -2.880822)', '2026-07-08 10:19:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807122 -2.880737)'), GeomFromEWKT('SRID=4674;POINT (-39.807108 -2.880822)'))) / (select extract(epoch from '2026-07-08 10:19:46'::timestamp) - extract(epoch from '2026-07-08 10:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807122 -2.880737)'), GeomFromEWKT('SRID=4674;POINT (-39.807108 -2.880822)'))) / (select extract(epoch from '2026-07-08 10:19:46'::timestamp) - extract(epoch from '2026-07-08 10:19: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'), 47862, 'SRID=4674;POINT (-39.807103 -2.880854)', '2026-07-08 10:19:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807108 -2.880822)'), GeomFromEWKT('SRID=4674;POINT (-39.807103 -2.880854)'))) / (select extract(epoch from '2026-07-08 10:19:48'::timestamp) - extract(epoch from '2026-07-08 10:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807108 -2.880822)'), GeomFromEWKT('SRID=4674;POINT (-39.807103 -2.880854)'))) / (select extract(epoch from '2026-07-08 10:19:48'::timestamp) - extract(epoch from '2026-07-08 10:19: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'), 47862, 'SRID=4674;POINT (-39.807105 -2.880903)', '2026-07-08 10:19:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807103 -2.880854)'), GeomFromEWKT('SRID=4674;POINT (-39.807105 -2.880903)'))) / (select extract(epoch from '2026-07-08 10:19:51'::timestamp) - extract(epoch from '2026-07-08 10:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807103 -2.880854)'), GeomFromEWKT('SRID=4674;POINT (-39.807105 -2.880903)'))) / (select extract(epoch from '2026-07-08 10:19:51'::timestamp) - extract(epoch from '2026-07-08 10:19: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'), 47862, 'SRID=4674;POINT (-39.807126 -2.881002)', '2026-07-08 10:19:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807105 -2.880903)'), GeomFromEWKT('SRID=4674;POINT (-39.807126 -2.881002)'))) / (select extract(epoch from '2026-07-08 10:19:57'::timestamp) - extract(epoch from '2026-07-08 10:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807105 -2.880903)'), GeomFromEWKT('SRID=4674;POINT (-39.807126 -2.881002)'))) / (select extract(epoch from '2026-07-08 10:19:57'::timestamp) - extract(epoch from '2026-07-08 10:19: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'), 47862, 'SRID=4674;POINT (-39.807152 -2.881111)', '2026-07-08 10:20:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807126 -2.881002)'), GeomFromEWKT('SRID=4674;POINT (-39.807152 -2.881111)'))) / (select extract(epoch from '2026-07-08 10:20:04'::timestamp) - extract(epoch from '2026-07-08 10:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807126 -2.881002)'), GeomFromEWKT('SRID=4674;POINT (-39.807152 -2.881111)'))) / (select extract(epoch from '2026-07-08 10:20:04'::timestamp) - extract(epoch from '2026-07-08 10:19:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.807165 -2.881156)', '2026-07-08 10:20:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807152 -2.881111)'), GeomFromEWKT('SRID=4674;POINT (-39.807165 -2.881156)'))) / (select extract(epoch from '2026-07-08 10:20:07'::timestamp) - extract(epoch from '2026-07-08 10:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807152 -2.881111)'), GeomFromEWKT('SRID=4674;POINT (-39.807165 -2.881156)'))) / (select extract(epoch from '2026-07-08 10:20:07'::timestamp) - extract(epoch from '2026-07-08 10:20: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'), 47862, 'SRID=4674;POINT (-39.807168 -2.881204)', '2026-07-08 10:20:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807165 -2.881156)'), GeomFromEWKT('SRID=4674;POINT (-39.807168 -2.881204)'))) / (select extract(epoch from '2026-07-08 10:20:10'::timestamp) - extract(epoch from '2026-07-08 10:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807165 -2.881156)'), GeomFromEWKT('SRID=4674;POINT (-39.807168 -2.881204)'))) / (select extract(epoch from '2026-07-08 10:20:10'::timestamp) - extract(epoch from '2026-07-08 10:20: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'), 47862, 'SRID=4674;POINT (-39.807191 -2.881316)', '2026-07-08 10:20:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807168 -2.881204)'), GeomFromEWKT('SRID=4674;POINT (-39.807191 -2.881316)'))) / (select extract(epoch from '2026-07-08 10:20:17'::timestamp) - extract(epoch from '2026-07-08 10:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807168 -2.881204)'), GeomFromEWKT('SRID=4674;POINT (-39.807191 -2.881316)'))) / (select extract(epoch from '2026-07-08 10:20:17'::timestamp) - extract(epoch from '2026-07-08 10:20: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'), 47862, 'SRID=4674;POINT (-39.807201 -2.881373)', '2026-07-08 10:20:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807191 -2.881316)'), GeomFromEWKT('SRID=4674;POINT (-39.807201 -2.881373)'))) / (select extract(epoch from '2026-07-08 10:20:21'::timestamp) - extract(epoch from '2026-07-08 10:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807191 -2.881316)'), GeomFromEWKT('SRID=4674;POINT (-39.807201 -2.881373)'))) / (select extract(epoch from '2026-07-08 10:20:21'::timestamp) - extract(epoch from '2026-07-08 10:20: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'), 47862, 'SRID=4674;POINT (-39.807202 -2.881407)', '2026-07-08 10:20:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807201 -2.881373)'), GeomFromEWKT('SRID=4674;POINT (-39.807202 -2.881407)'))) / (select extract(epoch from '2026-07-08 10:20:23'::timestamp) - extract(epoch from '2026-07-08 10:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807201 -2.881373)'), GeomFromEWKT('SRID=4674;POINT (-39.807202 -2.881407)'))) / (select extract(epoch from '2026-07-08 10:20:23'::timestamp) - extract(epoch from '2026-07-08 10:20:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.807212 -2.8815)', '2026-07-08 10:20:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807202 -2.881407)'), GeomFromEWKT('SRID=4674;POINT (-39.807212 -2.8815)'))) / (select extract(epoch from '2026-07-08 10:20:29'::timestamp) - extract(epoch from '2026-07-08 10:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807202 -2.881407)'), GeomFromEWKT('SRID=4674;POINT (-39.807212 -2.8815)'))) / (select extract(epoch from '2026-07-08 10:20:29'::timestamp) - extract(epoch from '2026-07-08 10:20: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'), 47862, 'SRID=4674;POINT (-39.807217 -2.881562)', '2026-07-08 10:20:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807212 -2.8815)'), GeomFromEWKT('SRID=4674;POINT (-39.807217 -2.881562)'))) / (select extract(epoch from '2026-07-08 10:20:33'::timestamp) - extract(epoch from '2026-07-08 10:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807212 -2.8815)'), GeomFromEWKT('SRID=4674;POINT (-39.807217 -2.881562)'))) / (select extract(epoch from '2026-07-08 10:20:33'::timestamp) - extract(epoch from '2026-07-08 10:20: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'), 47862, 'SRID=4674;POINT (-39.80722 -2.881592)', '2026-07-08 10:20:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807217 -2.881562)'), GeomFromEWKT('SRID=4674;POINT (-39.80722 -2.881592)'))) / (select extract(epoch from '2026-07-08 10:20:35'::timestamp) - extract(epoch from '2026-07-08 10:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807217 -2.881562)'), GeomFromEWKT('SRID=4674;POINT (-39.80722 -2.881592)'))) / (select extract(epoch from '2026-07-08 10:20:35'::timestamp) - extract(epoch from '2026-07-08 10:20: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'), 47862, 'SRID=4674;POINT (-39.807227 -2.881687)', '2026-07-08 10:20:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80722 -2.881592)'), GeomFromEWKT('SRID=4674;POINT (-39.807227 -2.881687)'))) / (select extract(epoch from '2026-07-08 10:20:41'::timestamp) - extract(epoch from '2026-07-08 10:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80722 -2.881592)'), GeomFromEWKT('SRID=4674;POINT (-39.807227 -2.881687)'))) / (select extract(epoch from '2026-07-08 10:20:41'::timestamp) - extract(epoch from '2026-07-08 10:20: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'), 47862, 'SRID=4674;POINT (-39.807248 -2.881783)', '2026-07-08 10:20:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807227 -2.881687)'), GeomFromEWKT('SRID=4674;POINT (-39.807248 -2.881783)'))) / (select extract(epoch from '2026-07-08 10:20:47'::timestamp) - extract(epoch from '2026-07-08 10:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807227 -2.881687)'), GeomFromEWKT('SRID=4674;POINT (-39.807248 -2.881783)'))) / (select extract(epoch from '2026-07-08 10:20:47'::timestamp) - extract(epoch from '2026-07-08 10:20: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'), 47862, 'SRID=4674;POINT (-39.80726 -2.881866)', '2026-07-08 10:20:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807248 -2.881783)'), GeomFromEWKT('SRID=4674;POINT (-39.80726 -2.881866)'))) / (select extract(epoch from '2026-07-08 10:20:52'::timestamp) - extract(epoch from '2026-07-08 10:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807248 -2.881783)'), GeomFromEWKT('SRID=4674;POINT (-39.80726 -2.881866)'))) / (select extract(epoch from '2026-07-08 10:20:52'::timestamp) - extract(epoch from '2026-07-08 10:20: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'), 47862, 'SRID=4674;POINT (-39.807255 -2.881913)', '2026-07-08 10:20:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80726 -2.881866)'), GeomFromEWKT('SRID=4674;POINT (-39.807255 -2.881913)'))) / (select extract(epoch from '2026-07-08 10:20:55'::timestamp) - extract(epoch from '2026-07-08 10:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80726 -2.881866)'), GeomFromEWKT('SRID=4674;POINT (-39.807255 -2.881913)'))) / (select extract(epoch from '2026-07-08 10:20:55'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.80725 -2.881944)', '2026-07-08 10:20:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807255 -2.881913)'), GeomFromEWKT('SRID=4674;POINT (-39.80725 -2.881944)'))) / (select extract(epoch from '2026-07-08 10:20:57'::timestamp) - extract(epoch from '2026-07-08 10:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807255 -2.881913)'), GeomFromEWKT('SRID=4674;POINT (-39.80725 -2.881944)'))) / (select extract(epoch from '2026-07-08 10:20:57'::timestamp) - extract(epoch from '2026-07-08 10:20:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.807245 -2.882041)', '2026-07-08 10:21:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80725 -2.881944)'), GeomFromEWKT('SRID=4674;POINT (-39.807245 -2.882041)'))) / (select extract(epoch from '2026-07-08 10:21:03'::timestamp) - extract(epoch from '2026-07-08 10:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80725 -2.881944)'), GeomFromEWKT('SRID=4674;POINT (-39.807245 -2.882041)'))) / (select extract(epoch from '2026-07-08 10:21:03'::timestamp) - extract(epoch from '2026-07-08 10:20: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'), 47862, 'SRID=4674;POINT (-39.807242 -2.882071)', '2026-07-08 10:21:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807245 -2.882041)'), GeomFromEWKT('SRID=4674;POINT (-39.807242 -2.882071)'))) / (select extract(epoch from '2026-07-08 10:21:05'::timestamp) - extract(epoch from '2026-07-08 10:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807245 -2.882041)'), GeomFromEWKT('SRID=4674;POINT (-39.807242 -2.882071)'))) / (select extract(epoch from '2026-07-08 10:21:05'::timestamp) - extract(epoch from '2026-07-08 10:21:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.807224 -2.882152)', '2026-07-08 10:21:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807242 -2.882071)'), GeomFromEWKT('SRID=4674;POINT (-39.807224 -2.882152)'))) / (select extract(epoch from '2026-07-08 10:21:11'::timestamp) - extract(epoch from '2026-07-08 10:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807242 -2.882071)'), GeomFromEWKT('SRID=4674;POINT (-39.807224 -2.882152)'))) / (select extract(epoch from '2026-07-08 10:21:11'::timestamp) - extract(epoch from '2026-07-08 10:21: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'), 47862, 'SRID=4674;POINT (-39.807219 -2.882182)', '2026-07-08 10:21:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807224 -2.882152)'), GeomFromEWKT('SRID=4674;POINT (-39.807219 -2.882182)'))) / (select extract(epoch from '2026-07-08 10:21:13'::timestamp) - extract(epoch from '2026-07-08 10:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807224 -2.882152)'), GeomFromEWKT('SRID=4674;POINT (-39.807219 -2.882182)'))) / (select extract(epoch from '2026-07-08 10:21:13'::timestamp) - extract(epoch from '2026-07-08 10:21:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.807206 -2.882221)', '2026-07-08 10:21:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807219 -2.882182)'), GeomFromEWKT('SRID=4674;POINT (-39.807206 -2.882221)'))) / (select extract(epoch from '2026-07-08 10:21:16'::timestamp) - extract(epoch from '2026-07-08 10:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807219 -2.882182)'), GeomFromEWKT('SRID=4674;POINT (-39.807206 -2.882221)'))) / (select extract(epoch from '2026-07-08 10:21:16'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.807188 -2.882303)', '2026-07-08 10:21:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807206 -2.882221)'), GeomFromEWKT('SRID=4674;POINT (-39.807188 -2.882303)'))) / (select extract(epoch from '2026-07-08 10:21:22'::timestamp) - extract(epoch from '2026-07-08 10:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807206 -2.882221)'), GeomFromEWKT('SRID=4674;POINT (-39.807188 -2.882303)'))) / (select extract(epoch from '2026-07-08 10:21:22'::timestamp) - extract(epoch from '2026-07-08 10:21: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'), 47862, 'SRID=4674;POINT (-39.807194 -2.882393)', '2026-07-08 10:21:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807188 -2.882303)'), GeomFromEWKT('SRID=4674;POINT (-39.807194 -2.882393)'))) / (select extract(epoch from '2026-07-08 10:21:28'::timestamp) - extract(epoch from '2026-07-08 10:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807188 -2.882303)'), GeomFromEWKT('SRID=4674;POINT (-39.807194 -2.882393)'))) / (select extract(epoch from '2026-07-08 10:21:28'::timestamp) - extract(epoch from '2026-07-08 10:21:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.807181 -2.88247)', '2026-07-08 10:21:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807194 -2.882393)'), GeomFromEWKT('SRID=4674;POINT (-39.807181 -2.88247)'))) / (select extract(epoch from '2026-07-08 10:21:34'::timestamp) - extract(epoch from '2026-07-08 10:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807194 -2.882393)'), GeomFromEWKT('SRID=4674;POINT (-39.807181 -2.88247)'))) / (select extract(epoch from '2026-07-08 10:21:34'::timestamp) - extract(epoch from '2026-07-08 10:21: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'), 47862, 'SRID=4674;POINT (-39.80714 -2.882559)', '2026-07-08 10:21:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807181 -2.88247)'), GeomFromEWKT('SRID=4674;POINT (-39.80714 -2.882559)'))) / (select extract(epoch from '2026-07-08 10:21:41'::timestamp) - extract(epoch from '2026-07-08 10:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807181 -2.88247)'), GeomFromEWKT('SRID=4674;POINT (-39.80714 -2.882559)'))) / (select extract(epoch from '2026-07-08 10:21:41'::timestamp) - extract(epoch from '2026-07-08 10:21: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'), 47862, 'SRID=4674;POINT (-39.807128 -2.882612)', '2026-07-08 10:21:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80714 -2.882559)'), GeomFromEWKT('SRID=4674;POINT (-39.807128 -2.882612)'))) / (select extract(epoch from '2026-07-08 10:21:45'::timestamp) - extract(epoch from '2026-07-08 10:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80714 -2.882559)'), GeomFromEWKT('SRID=4674;POINT (-39.807128 -2.882612)'))) / (select extract(epoch from '2026-07-08 10:21:45'::timestamp) - extract(epoch from '2026-07-08 10:21: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'), 47862, 'SRID=4674;POINT (-39.807133 -2.882641)', '2026-07-08 10:21:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807128 -2.882612)'), GeomFromEWKT('SRID=4674;POINT (-39.807133 -2.882641)'))) / (select extract(epoch from '2026-07-08 10:21:47'::timestamp) - extract(epoch from '2026-07-08 10:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807128 -2.882612)'), GeomFromEWKT('SRID=4674;POINT (-39.807133 -2.882641)'))) / (select extract(epoch from '2026-07-08 10:21:47'::timestamp) - extract(epoch from '2026-07-08 10:21:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.807172 -2.882727)', '2026-07-08 10:21:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807133 -2.882641)'), GeomFromEWKT('SRID=4674;POINT (-39.807172 -2.882727)'))) / (select extract(epoch from '2026-07-08 10:21:53'::timestamp) - extract(epoch from '2026-07-08 10:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807133 -2.882641)'), GeomFromEWKT('SRID=4674;POINT (-39.807172 -2.882727)'))) / (select extract(epoch from '2026-07-08 10:21:53'::timestamp) - extract(epoch from '2026-07-08 10:21: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'), 47862, 'SRID=4674;POINT (-39.807207 -2.88282)', '2026-07-08 10:21:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807172 -2.882727)'), GeomFromEWKT('SRID=4674;POINT (-39.807207 -2.88282)'))) / (select extract(epoch from '2026-07-08 10:21:59'::timestamp) - extract(epoch from '2026-07-08 10:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807172 -2.882727)'), GeomFromEWKT('SRID=4674;POINT (-39.807207 -2.88282)'))) / (select extract(epoch from '2026-07-08 10:21:59'::timestamp) - extract(epoch from '2026-07-08 10:21: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'), 47862, 'SRID=4674;POINT (-39.807209 -2.882837)', '2026-07-08 10:22:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807207 -2.88282)'), GeomFromEWKT('SRID=4674;POINT (-39.807209 -2.882837)'))) / (select extract(epoch from '2026-07-08 10:22:00'::timestamp) - extract(epoch from '2026-07-08 10:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807207 -2.88282)'), GeomFromEWKT('SRID=4674;POINT (-39.807209 -2.882837)'))) / (select extract(epoch from '2026-07-08 10:22:00'::timestamp) - extract(epoch from '2026-07-08 10:21: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'), 47862, 'SRID=4674;POINT (-39.807209 -2.882851)', '2026-07-08 10:22:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807209 -2.882837)'), GeomFromEWKT('SRID=4674;POINT (-39.807209 -2.882851)'))) / (select extract(epoch from '2026-07-08 10:22:01'::timestamp) - extract(epoch from '2026-07-08 10:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807209 -2.882837)'), GeomFromEWKT('SRID=4674;POINT (-39.807209 -2.882851)'))) / (select extract(epoch from '2026-07-08 10:22:01'::timestamp) - extract(epoch from '2026-07-08 10:22: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'), 47862, 'SRID=4674;POINT (-39.807202 -2.882887)', '2026-07-08 10:22:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807209 -2.882851)'), GeomFromEWKT('SRID=4674;POINT (-39.807202 -2.882887)'))) / (select extract(epoch from '2026-07-08 10:22:04'::timestamp) - extract(epoch from '2026-07-08 10:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807209 -2.882851)'), GeomFromEWKT('SRID=4674;POINT (-39.807202 -2.882887)'))) / (select extract(epoch from '2026-07-08 10:22:04'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.807196 -2.882896)', '2026-07-08 10:22:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807202 -2.882887)'), GeomFromEWKT('SRID=4674;POINT (-39.807196 -2.882896)'))) / (select extract(epoch from '2026-07-08 10:22:05'::timestamp) - extract(epoch from '2026-07-08 10:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807202 -2.882887)'), GeomFromEWKT('SRID=4674;POINT (-39.807196 -2.882896)'))) / (select extract(epoch from '2026-07-08 10:22:05'::timestamp) - extract(epoch from '2026-07-08 10:22: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'), 47862, 'SRID=4674;POINT (-39.807148 -2.882961)', '2026-07-08 10:22:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807196 -2.882896)'), GeomFromEWKT('SRID=4674;POINT (-39.807148 -2.882961)'))) / (select extract(epoch from '2026-07-08 10:22:13'::timestamp) - extract(epoch from '2026-07-08 10:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807196 -2.882896)'), GeomFromEWKT('SRID=4674;POINT (-39.807148 -2.882961)'))) / (select extract(epoch from '2026-07-08 10:22:13'::timestamp) - extract(epoch from '2026-07-08 10:22:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.807094 -2.882988)', '2026-07-08 10:22:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807148 -2.882961)'), GeomFromEWKT('SRID=4674;POINT (-39.807094 -2.882988)'))) / (select extract(epoch from '2026-07-08 10:22:20'::timestamp) - extract(epoch from '2026-07-08 10:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807148 -2.882961)'), GeomFromEWKT('SRID=4674;POINT (-39.807094 -2.882988)'))) / (select extract(epoch from '2026-07-08 10:22:20'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.80708 -2.882991)', '2026-07-08 10:22:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807094 -2.882988)'), GeomFromEWKT('SRID=4674;POINT (-39.80708 -2.882991)'))) / (select extract(epoch from '2026-07-08 10:22:22'::timestamp) - extract(epoch from '2026-07-08 10:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807094 -2.882988)'), GeomFromEWKT('SRID=4674;POINT (-39.80708 -2.882991)'))) / (select extract(epoch from '2026-07-08 10:22:22'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.80705 -2.882993)', '2026-07-08 10:22:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80708 -2.882991)'), GeomFromEWKT('SRID=4674;POINT (-39.80705 -2.882993)'))) / (select extract(epoch from '2026-07-08 10:22:31'::timestamp) - extract(epoch from '2026-07-08 10:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80708 -2.882991)'), GeomFromEWKT('SRID=4674;POINT (-39.80705 -2.882993)'))) / (select extract(epoch from '2026-07-08 10:22:31'::timestamp) - extract(epoch from '2026-07-08 10:22: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'), 47862, 'SRID=4674;POINT (-39.807035 -2.882985)', '2026-07-08 10:22:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80705 -2.882993)'), GeomFromEWKT('SRID=4674;POINT (-39.807035 -2.882985)'))) / (select extract(epoch from '2026-07-08 10:22:39'::timestamp) - extract(epoch from '2026-07-08 10:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80705 -2.882993)'), GeomFromEWKT('SRID=4674;POINT (-39.807035 -2.882985)'))) / (select extract(epoch from '2026-07-08 10:22:39'::timestamp) - extract(epoch from '2026-07-08 10:22:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.807006 -2.882964)', '2026-07-08 10:22:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807035 -2.882985)'), GeomFromEWKT('SRID=4674;POINT (-39.807006 -2.882964)'))) / (select extract(epoch from '2026-07-08 10:22:49'::timestamp) - extract(epoch from '2026-07-08 10:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807035 -2.882985)'), GeomFromEWKT('SRID=4674;POINT (-39.807006 -2.882964)'))) / (select extract(epoch from '2026-07-08 10:22:49'::timestamp) - extract(epoch from '2026-07-08 10:22: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'), 47862, 'SRID=4674;POINT (-39.806962 -2.882912)', '2026-07-08 10:22:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807006 -2.882964)'), GeomFromEWKT('SRID=4674;POINT (-39.806962 -2.882912)'))) / (select extract(epoch from '2026-07-08 10:22:58'::timestamp) - extract(epoch from '2026-07-08 10:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807006 -2.882964)'), GeomFromEWKT('SRID=4674;POINT (-39.806962 -2.882912)'))) / (select extract(epoch from '2026-07-08 10:22:58'::timestamp) - extract(epoch from '2026-07-08 10:22: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'), 47862, 'SRID=4674;POINT (-39.806898 -2.882882)', '2026-07-08 10:23:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806962 -2.882912)'), GeomFromEWKT('SRID=4674;POINT (-39.806898 -2.882882)'))) / (select extract(epoch from '2026-07-08 10:23:04'::timestamp) - extract(epoch from '2026-07-08 10:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806962 -2.882912)'), GeomFromEWKT('SRID=4674;POINT (-39.806898 -2.882882)'))) / (select extract(epoch from '2026-07-08 10:23:04'::timestamp) - extract(epoch from '2026-07-08 10:22: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'), 47862, 'SRID=4674;POINT (-39.806826 -2.882909)', '2026-07-08 10:23:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806898 -2.882882)'), GeomFromEWKT('SRID=4674;POINT (-39.806826 -2.882909)'))) / (select extract(epoch from '2026-07-08 10:23:11'::timestamp) - extract(epoch from '2026-07-08 10:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806898 -2.882882)'), GeomFromEWKT('SRID=4674;POINT (-39.806826 -2.882909)'))) / (select extract(epoch from '2026-07-08 10:23:11'::timestamp) - extract(epoch from '2026-07-08 10:23: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'), 47862, 'SRID=4674;POINT (-39.806799 -2.882984)', '2026-07-08 10:23:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806826 -2.882909)'), GeomFromEWKT('SRID=4674;POINT (-39.806799 -2.882984)'))) / (select extract(epoch from '2026-07-08 10:23:17'::timestamp) - extract(epoch from '2026-07-08 10:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806826 -2.882909)'), GeomFromEWKT('SRID=4674;POINT (-39.806799 -2.882984)'))) / (select extract(epoch from '2026-07-08 10:23:17'::timestamp) - extract(epoch from '2026-07-08 10:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80679 -2.883064)', '2026-07-08 10:23:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806799 -2.882984)'), GeomFromEWKT('SRID=4674;POINT (-39.80679 -2.883064)'))) / (select extract(epoch from '2026-07-08 10:23:24'::timestamp) - extract(epoch from '2026-07-08 10:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806799 -2.882984)'), GeomFromEWKT('SRID=4674;POINT (-39.80679 -2.883064)'))) / (select extract(epoch from '2026-07-08 10:23:24'::timestamp) - extract(epoch from '2026-07-08 10:23:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806786 -2.883074)', '2026-07-08 10:23:25', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80679 -2.883064)'), GeomFromEWKT('SRID=4674;POINT (-39.806786 -2.883074)'))) / (select extract(epoch from '2026-07-08 10:23:25'::timestamp) - extract(epoch from '2026-07-08 10:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80679 -2.883064)'), GeomFromEWKT('SRID=4674;POINT (-39.806786 -2.883074)'))) / (select extract(epoch from '2026-07-08 10:23:25'::timestamp) - extract(epoch from '2026-07-08 10:23: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'), 47862, 'SRID=4674;POINT (-39.806782 -2.883095)', '2026-07-08 10:23:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806786 -2.883074)'), GeomFromEWKT('SRID=4674;POINT (-39.806782 -2.883095)'))) / (select extract(epoch from '2026-07-08 10:23:27'::timestamp) - extract(epoch from '2026-07-08 10:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806786 -2.883074)'), GeomFromEWKT('SRID=4674;POINT (-39.806782 -2.883095)'))) / (select extract(epoch from '2026-07-08 10:23:27'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806769 -2.883122)', '2026-07-08 10:23:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806782 -2.883095)'), GeomFromEWKT('SRID=4674;POINT (-39.806769 -2.883122)'))) / (select extract(epoch from '2026-07-08 10:23:30'::timestamp) - extract(epoch from '2026-07-08 10:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806782 -2.883095)'), GeomFromEWKT('SRID=4674;POINT (-39.806769 -2.883122)'))) / (select extract(epoch from '2026-07-08 10:23:30'::timestamp) - extract(epoch from '2026-07-08 10:23: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'), 47862, 'SRID=4674;POINT (-39.80675 -2.883185)', '2026-07-08 10:23:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806769 -2.883122)'), GeomFromEWKT('SRID=4674;POINT (-39.80675 -2.883185)'))) / (select extract(epoch from '2026-07-08 10:23:36'::timestamp) - extract(epoch from '2026-07-08 10:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806769 -2.883122)'), GeomFromEWKT('SRID=4674;POINT (-39.80675 -2.883185)'))) / (select extract(epoch from '2026-07-08 10:23:36'::timestamp) - extract(epoch from '2026-07-08 10:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806728 -2.883287)', '2026-07-08 10:23:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80675 -2.883185)'), GeomFromEWKT('SRID=4674;POINT (-39.806728 -2.883287)'))) / (select extract(epoch from '2026-07-08 10:23:44'::timestamp) - extract(epoch from '2026-07-08 10:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80675 -2.883185)'), GeomFromEWKT('SRID=4674;POINT (-39.806728 -2.883287)'))) / (select extract(epoch from '2026-07-08 10:23:44'::timestamp) - extract(epoch from '2026-07-08 10:23: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'), 47862, 'SRID=4674;POINT (-39.806709 -2.883369)', '2026-07-08 10:23:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806728 -2.883287)'), GeomFromEWKT('SRID=4674;POINT (-39.806709 -2.883369)'))) / (select extract(epoch from '2026-07-08 10:23:51'::timestamp) - extract(epoch from '2026-07-08 10:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806728 -2.883287)'), GeomFromEWKT('SRID=4674;POINT (-39.806709 -2.883369)'))) / (select extract(epoch from '2026-07-08 10:23:51'::timestamp) - extract(epoch from '2026-07-08 10:23:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806653 -2.883451)', '2026-07-08 10:23:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806709 -2.883369)'), GeomFromEWKT('SRID=4674;POINT (-39.806653 -2.883451)'))) / (select extract(epoch from '2026-07-08 10:23:59'::timestamp) - extract(epoch from '2026-07-08 10:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806709 -2.883369)'), GeomFromEWKT('SRID=4674;POINT (-39.806653 -2.883451)'))) / (select extract(epoch from '2026-07-08 10:23:59'::timestamp) - extract(epoch from '2026-07-08 10:23: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'), 47862, 'SRID=4674;POINT (-39.806634 -2.883542)', '2026-07-08 10:24:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806653 -2.883451)'), GeomFromEWKT('SRID=4674;POINT (-39.806634 -2.883542)'))) / (select extract(epoch from '2026-07-08 10:24:07'::timestamp) - extract(epoch from '2026-07-08 10:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806653 -2.883451)'), GeomFromEWKT('SRID=4674;POINT (-39.806634 -2.883542)'))) / (select extract(epoch from '2026-07-08 10:24:07'::timestamp) - extract(epoch from '2026-07-08 10:23: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'), 47862, 'SRID=4674;POINT (-39.806635 -2.883623)', '2026-07-08 10:24:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806634 -2.883542)'), GeomFromEWKT('SRID=4674;POINT (-39.806635 -2.883623)'))) / (select extract(epoch from '2026-07-08 10:24:13'::timestamp) - extract(epoch from '2026-07-08 10:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806634 -2.883542)'), GeomFromEWKT('SRID=4674;POINT (-39.806635 -2.883623)'))) / (select extract(epoch from '2026-07-08 10:24:13'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806648 -2.88372)', '2026-07-08 10:24:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806635 -2.883623)'), GeomFromEWKT('SRID=4674;POINT (-39.806648 -2.88372)'))) / (select extract(epoch from '2026-07-08 10:24:20'::timestamp) - extract(epoch from '2026-07-08 10:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806635 -2.883623)'), GeomFromEWKT('SRID=4674;POINT (-39.806648 -2.88372)'))) / (select extract(epoch from '2026-07-08 10:24:20'::timestamp) - extract(epoch from '2026-07-08 10:24: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'), 47862, 'SRID=4674;POINT (-39.806644 -2.883839)', '2026-07-08 10:24:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806648 -2.88372)'), GeomFromEWKT('SRID=4674;POINT (-39.806644 -2.883839)'))) / (select extract(epoch from '2026-07-08 10:24:28'::timestamp) - extract(epoch from '2026-07-08 10:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806648 -2.88372)'), GeomFromEWKT('SRID=4674;POINT (-39.806644 -2.883839)'))) / (select extract(epoch from '2026-07-08 10:24:28'::timestamp) - extract(epoch from '2026-07-08 10:24: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'), 47862, 'SRID=4674;POINT (-39.806631 -2.883873)', '2026-07-08 10:24:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806644 -2.883839)'), GeomFromEWKT('SRID=4674;POINT (-39.806631 -2.883873)'))) / (select extract(epoch from '2026-07-08 10:24:31'::timestamp) - extract(epoch from '2026-07-08 10:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806644 -2.883839)'), GeomFromEWKT('SRID=4674;POINT (-39.806631 -2.883873)'))) / (select extract(epoch from '2026-07-08 10:24:31'::timestamp) - extract(epoch from '2026-07-08 10:24:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806616 -2.883887)', '2026-07-08 10:24:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806631 -2.883873)'), GeomFromEWKT('SRID=4674;POINT (-39.806616 -2.883887)'))) / (select extract(epoch from '2026-07-08 10:24:33'::timestamp) - extract(epoch from '2026-07-08 10:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806631 -2.883873)'), GeomFromEWKT('SRID=4674;POINT (-39.806616 -2.883887)'))) / (select extract(epoch from '2026-07-08 10:24:33'::timestamp) - extract(epoch from '2026-07-08 10:24: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'), 47862, 'SRID=4674;POINT (-39.806588 -2.88392)', '2026-07-08 10:24:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806616 -2.883887)'), GeomFromEWKT('SRID=4674;POINT (-39.806588 -2.88392)'))) / (select extract(epoch from '2026-07-08 10:24:37'::timestamp) - extract(epoch from '2026-07-08 10:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806616 -2.883887)'), GeomFromEWKT('SRID=4674;POINT (-39.806588 -2.88392)'))) / (select extract(epoch from '2026-07-08 10:24:37'::timestamp) - extract(epoch from '2026-07-08 10:24:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806568 -2.883951)', '2026-07-08 10:24:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806588 -2.88392)'), GeomFromEWKT('SRID=4674;POINT (-39.806568 -2.883951)'))) / (select extract(epoch from '2026-07-08 10:24:40'::timestamp) - extract(epoch from '2026-07-08 10:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806588 -2.88392)'), GeomFromEWKT('SRID=4674;POINT (-39.806568 -2.883951)'))) / (select extract(epoch from '2026-07-08 10:24:40'::timestamp) - extract(epoch from '2026-07-08 10:24:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806528 -2.884052)', '2026-07-08 10:24:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806568 -2.883951)'), GeomFromEWKT('SRID=4674;POINT (-39.806528 -2.884052)'))) / (select extract(epoch from '2026-07-08 10:24:48'::timestamp) - extract(epoch from '2026-07-08 10:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806568 -2.883951)'), GeomFromEWKT('SRID=4674;POINT (-39.806528 -2.884052)'))) / (select extract(epoch from '2026-07-08 10:24:48'::timestamp) - extract(epoch from '2026-07-08 10:24:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806488 -2.884119)', '2026-07-08 10:24:54', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806528 -2.884052)'), GeomFromEWKT('SRID=4674;POINT (-39.806488 -2.884119)'))) / (select extract(epoch from '2026-07-08 10:24:54'::timestamp) - extract(epoch from '2026-07-08 10:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806528 -2.884052)'), GeomFromEWKT('SRID=4674;POINT (-39.806488 -2.884119)'))) / (select extract(epoch from '2026-07-08 10:24:54'::timestamp) - extract(epoch from '2026-07-08 10:24: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'), 47862, 'SRID=4674;POINT (-39.806454 -2.88418)', '2026-07-08 10:25:00', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806488 -2.884119)'), GeomFromEWKT('SRID=4674;POINT (-39.806454 -2.88418)'))) / (select extract(epoch from '2026-07-08 10:25:00'::timestamp) - extract(epoch from '2026-07-08 10:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806488 -2.884119)'), GeomFromEWKT('SRID=4674;POINT (-39.806454 -2.88418)'))) / (select extract(epoch from '2026-07-08 10:25:00'::timestamp) - extract(epoch from '2026-07-08 10:24:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806412 -2.884256)', '2026-07-08 10:25:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806454 -2.88418)'), GeomFromEWKT('SRID=4674;POINT (-39.806412 -2.884256)'))) / (select extract(epoch from '2026-07-08 10:25:07'::timestamp) - extract(epoch from '2026-07-08 10:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806454 -2.88418)'), GeomFromEWKT('SRID=4674;POINT (-39.806412 -2.884256)'))) / (select extract(epoch from '2026-07-08 10:25:07'::timestamp) - extract(epoch from '2026-07-08 10:25: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'), 47862, 'SRID=4674;POINT (-39.806386 -2.884306)', '2026-07-08 10:25:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806412 -2.884256)'), GeomFromEWKT('SRID=4674;POINT (-39.806386 -2.884306)'))) / (select extract(epoch from '2026-07-08 10:25:11'::timestamp) - extract(epoch from '2026-07-08 10:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806412 -2.884256)'), GeomFromEWKT('SRID=4674;POINT (-39.806386 -2.884306)'))) / (select extract(epoch from '2026-07-08 10:25:11'::timestamp) - extract(epoch from '2026-07-08 10:25: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'), 47862, 'SRID=4674;POINT (-39.80638 -2.884319)', '2026-07-08 10:25:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806386 -2.884306)'), GeomFromEWKT('SRID=4674;POINT (-39.80638 -2.884319)'))) / (select extract(epoch from '2026-07-08 10:25:12'::timestamp) - extract(epoch from '2026-07-08 10:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806386 -2.884306)'), GeomFromEWKT('SRID=4674;POINT (-39.80638 -2.884319)'))) / (select extract(epoch from '2026-07-08 10:25:12'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806369 -2.884344)', '2026-07-08 10:25:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80638 -2.884319)'), GeomFromEWKT('SRID=4674;POINT (-39.806369 -2.884344)'))) / (select extract(epoch from '2026-07-08 10:25:14'::timestamp) - extract(epoch from '2026-07-08 10:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80638 -2.884319)'), GeomFromEWKT('SRID=4674;POINT (-39.806369 -2.884344)'))) / (select extract(epoch from '2026-07-08 10:25:14'::timestamp) - extract(epoch from '2026-07-08 10:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80636 -2.884372)', '2026-07-08 10:25:16', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806369 -2.884344)'), GeomFromEWKT('SRID=4674;POINT (-39.80636 -2.884372)'))) / (select extract(epoch from '2026-07-08 10:25:16'::timestamp) - extract(epoch from '2026-07-08 10:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806369 -2.884344)'), GeomFromEWKT('SRID=4674;POINT (-39.80636 -2.884372)'))) / (select extract(epoch from '2026-07-08 10:25:16'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806357 -2.884383)', '2026-07-08 10:25:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80636 -2.884372)'), GeomFromEWKT('SRID=4674;POINT (-39.806357 -2.884383)'))) / (select extract(epoch from '2026-07-08 10:25:17'::timestamp) - extract(epoch from '2026-07-08 10:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80636 -2.884372)'), GeomFromEWKT('SRID=4674;POINT (-39.806357 -2.884383)'))) / (select extract(epoch from '2026-07-08 10:25:17'::timestamp) - extract(epoch from '2026-07-08 10:25: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'), 47862, 'SRID=4674;POINT (-39.806347 -2.884458)', '2026-07-08 10:25:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806357 -2.884383)'), GeomFromEWKT('SRID=4674;POINT (-39.806347 -2.884458)'))) / (select extract(epoch from '2026-07-08 10:25:23'::timestamp) - extract(epoch from '2026-07-08 10:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806357 -2.884383)'), GeomFromEWKT('SRID=4674;POINT (-39.806347 -2.884458)'))) / (select extract(epoch from '2026-07-08 10:25:23'::timestamp) - extract(epoch from '2026-07-08 10:25: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'), 47862, 'SRID=4674;POINT (-39.806342 -2.884553)', '2026-07-08 10:25:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806347 -2.884458)'), GeomFromEWKT('SRID=4674;POINT (-39.806342 -2.884553)'))) / (select extract(epoch from '2026-07-08 10:25:30'::timestamp) - extract(epoch from '2026-07-08 10:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806347 -2.884458)'), GeomFromEWKT('SRID=4674;POINT (-39.806342 -2.884553)'))) / (select extract(epoch from '2026-07-08 10:25:30'::timestamp) - extract(epoch from '2026-07-08 10:25: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'), 47862, 'SRID=4674;POINT (-39.80634 -2.884597)', '2026-07-08 10:25:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806342 -2.884553)'), GeomFromEWKT('SRID=4674;POINT (-39.80634 -2.884597)'))) / (select extract(epoch from '2026-07-08 10:25:33'::timestamp) - extract(epoch from '2026-07-08 10:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806342 -2.884553)'), GeomFromEWKT('SRID=4674;POINT (-39.80634 -2.884597)'))) / (select extract(epoch from '2026-07-08 10:25:33'::timestamp) - extract(epoch from '2026-07-08 10:25: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'), 47862, 'SRID=4674;POINT (-39.80634 -2.884623)', '2026-07-08 10:25:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80634 -2.884597)'), GeomFromEWKT('SRID=4674;POINT (-39.80634 -2.884623)'))) / (select extract(epoch from '2026-07-08 10:25:35'::timestamp) - extract(epoch from '2026-07-08 10:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80634 -2.884597)'), GeomFromEWKT('SRID=4674;POINT (-39.80634 -2.884623)'))) / (select extract(epoch from '2026-07-08 10:25:35'::timestamp) - extract(epoch from '2026-07-08 10:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806337 -2.884667)', '2026-07-08 10:25:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80634 -2.884623)'), GeomFromEWKT('SRID=4674;POINT (-39.806337 -2.884667)'))) / (select extract(epoch from '2026-07-08 10:25:38'::timestamp) - extract(epoch from '2026-07-08 10:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80634 -2.884623)'), GeomFromEWKT('SRID=4674;POINT (-39.806337 -2.884667)'))) / (select extract(epoch from '2026-07-08 10:25:38'::timestamp) - extract(epoch from '2026-07-08 10:25: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'), 47862, 'SRID=4674;POINT (-39.806336 -2.8847)', '2026-07-08 10:25:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806337 -2.884667)'), GeomFromEWKT('SRID=4674;POINT (-39.806336 -2.8847)'))) / (select extract(epoch from '2026-07-08 10:25:40'::timestamp) - extract(epoch from '2026-07-08 10:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806337 -2.884667)'), GeomFromEWKT('SRID=4674;POINT (-39.806336 -2.8847)'))) / (select extract(epoch from '2026-07-08 10:25:40'::timestamp) - extract(epoch from '2026-07-08 10:25: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'), 47862, 'SRID=4674;POINT (-39.806336 -2.884714)', '2026-07-08 10:25:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806336 -2.8847)'), GeomFromEWKT('SRID=4674;POINT (-39.806336 -2.884714)'))) / (select extract(epoch from '2026-07-08 10:25:41'::timestamp) - extract(epoch from '2026-07-08 10:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806336 -2.8847)'), GeomFromEWKT('SRID=4674;POINT (-39.806336 -2.884714)'))) / (select extract(epoch from '2026-07-08 10:25:41'::timestamp) - extract(epoch from '2026-07-08 10:25: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'), 47862, 'SRID=4674;POINT (-39.806332 -2.884776)', '2026-07-08 10:25:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806336 -2.884714)'), GeomFromEWKT('SRID=4674;POINT (-39.806332 -2.884776)'))) / (select extract(epoch from '2026-07-08 10:25:45'::timestamp) - extract(epoch from '2026-07-08 10:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806336 -2.884714)'), GeomFromEWKT('SRID=4674;POINT (-39.806332 -2.884776)'))) / (select extract(epoch from '2026-07-08 10:25:45'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806331 -2.884878)', '2026-07-08 10:25:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806332 -2.884776)'), GeomFromEWKT('SRID=4674;POINT (-39.806331 -2.884878)'))) / (select extract(epoch from '2026-07-08 10:25:52'::timestamp) - extract(epoch from '2026-07-08 10:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806332 -2.884776)'), GeomFromEWKT('SRID=4674;POINT (-39.806331 -2.884878)'))) / (select extract(epoch from '2026-07-08 10:25:52'::timestamp) - extract(epoch from '2026-07-08 10:25: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'), 47862, 'SRID=4674;POINT (-39.806344 -2.884989)', '2026-07-08 10:25:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806331 -2.884878)'), GeomFromEWKT('SRID=4674;POINT (-39.806344 -2.884989)'))) / (select extract(epoch from '2026-07-08 10:25:59'::timestamp) - extract(epoch from '2026-07-08 10:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806331 -2.884878)'), GeomFromEWKT('SRID=4674;POINT (-39.806344 -2.884989)'))) / (select extract(epoch from '2026-07-08 10:25:59'::timestamp) - extract(epoch from '2026-07-08 10:25: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'), 47862, 'SRID=4674;POINT (-39.806356 -2.885098)', '2026-07-08 10:26:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806344 -2.884989)'), GeomFromEWKT('SRID=4674;POINT (-39.806356 -2.885098)'))) / (select extract(epoch from '2026-07-08 10:26:06'::timestamp) - extract(epoch from '2026-07-08 10:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806344 -2.884989)'), GeomFromEWKT('SRID=4674;POINT (-39.806356 -2.885098)'))) / (select extract(epoch from '2026-07-08 10:26:06'::timestamp) - extract(epoch from '2026-07-08 10:25:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806354 -2.885199)', '2026-07-08 10:26:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806356 -2.885098)'), GeomFromEWKT('SRID=4674;POINT (-39.806354 -2.885199)'))) / (select extract(epoch from '2026-07-08 10:26:13'::timestamp) - extract(epoch from '2026-07-08 10:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806356 -2.885098)'), GeomFromEWKT('SRID=4674;POINT (-39.806354 -2.885199)'))) / (select extract(epoch from '2026-07-08 10:26:13'::timestamp) - extract(epoch from '2026-07-08 10:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806352 -2.885246)', '2026-07-08 10:26:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806354 -2.885199)'), GeomFromEWKT('SRID=4674;POINT (-39.806352 -2.885246)'))) / (select extract(epoch from '2026-07-08 10:26:16'::timestamp) - extract(epoch from '2026-07-08 10:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806354 -2.885199)'), GeomFromEWKT('SRID=4674;POINT (-39.806352 -2.885246)'))) / (select extract(epoch from '2026-07-08 10:26:16'::timestamp) - extract(epoch from '2026-07-08 10:26: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'), 47862, 'SRID=4674;POINT (-39.806351 -2.885291)', '2026-07-08 10:26:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806352 -2.885246)'), GeomFromEWKT('SRID=4674;POINT (-39.806351 -2.885291)'))) / (select extract(epoch from '2026-07-08 10:26:19'::timestamp) - extract(epoch from '2026-07-08 10:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806352 -2.885246)'), GeomFromEWKT('SRID=4674;POINT (-39.806351 -2.885291)'))) / (select extract(epoch from '2026-07-08 10:26:19'::timestamp) - extract(epoch from '2026-07-08 10:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80635 -2.885399)', '2026-07-08 10:26:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806351 -2.885291)'), GeomFromEWKT('SRID=4674;POINT (-39.80635 -2.885399)'))) / (select extract(epoch from '2026-07-08 10:26:26'::timestamp) - extract(epoch from '2026-07-08 10:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806351 -2.885291)'), GeomFromEWKT('SRID=4674;POINT (-39.80635 -2.885399)'))) / (select extract(epoch from '2026-07-08 10:26:26'::timestamp) - extract(epoch from '2026-07-08 10:26: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'), 47862, 'SRID=4674;POINT (-39.806352 -2.885478)', '2026-07-08 10:26:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80635 -2.885399)'), GeomFromEWKT('SRID=4674;POINT (-39.806352 -2.885478)'))) / (select extract(epoch from '2026-07-08 10:26:31'::timestamp) - extract(epoch from '2026-07-08 10:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80635 -2.885399)'), GeomFromEWKT('SRID=4674;POINT (-39.806352 -2.885478)'))) / (select extract(epoch from '2026-07-08 10:26:31'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806349 -2.885581)', '2026-07-08 10:26:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806352 -2.885478)'), GeomFromEWKT('SRID=4674;POINT (-39.806349 -2.885581)'))) / (select extract(epoch from '2026-07-08 10:26:38'::timestamp) - extract(epoch from '2026-07-08 10:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806352 -2.885478)'), GeomFromEWKT('SRID=4674;POINT (-39.806349 -2.885581)'))) / (select extract(epoch from '2026-07-08 10:26:38'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806348 -2.885664)', '2026-07-08 10:26:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806349 -2.885581)'), GeomFromEWKT('SRID=4674;POINT (-39.806348 -2.885664)'))) / (select extract(epoch from '2026-07-08 10:26:43'::timestamp) - extract(epoch from '2026-07-08 10:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806349 -2.885581)'), GeomFromEWKT('SRID=4674;POINT (-39.806348 -2.885664)'))) / (select extract(epoch from '2026-07-08 10:26:43'::timestamp) - extract(epoch from '2026-07-08 10:26: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'), 47862, 'SRID=4674;POINT (-39.806347 -2.885679)', '2026-07-08 10:26:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806348 -2.885664)'), GeomFromEWKT('SRID=4674;POINT (-39.806347 -2.885679)'))) / (select extract(epoch from '2026-07-08 10:26:44'::timestamp) - extract(epoch from '2026-07-08 10:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806348 -2.885664)'), GeomFromEWKT('SRID=4674;POINT (-39.806347 -2.885679)'))) / (select extract(epoch from '2026-07-08 10:26:44'::timestamp) - extract(epoch from '2026-07-08 10:26: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'), 47862, 'SRID=4674;POINT (-39.806347 -2.885775)', '2026-07-08 10:26:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806347 -2.885679)'), GeomFromEWKT('SRID=4674;POINT (-39.806347 -2.885775)'))) / (select extract(epoch from '2026-07-08 10:26:50'::timestamp) - extract(epoch from '2026-07-08 10:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806347 -2.885679)'), GeomFromEWKT('SRID=4674;POINT (-39.806347 -2.885775)'))) / (select extract(epoch from '2026-07-08 10:26:50'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806363 -2.885874)', '2026-07-08 10:26:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806347 -2.885775)'), GeomFromEWKT('SRID=4674;POINT (-39.806363 -2.885874)'))) / (select extract(epoch from '2026-07-08 10:26:56'::timestamp) - extract(epoch from '2026-07-08 10:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806347 -2.885775)'), GeomFromEWKT('SRID=4674;POINT (-39.806363 -2.885874)'))) / (select extract(epoch from '2026-07-08 10:26:56'::timestamp) - extract(epoch from '2026-07-08 10:26: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'), 47862, 'SRID=4674;POINT (-39.806383 -2.885986)', '2026-07-08 10:27:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806363 -2.885874)'), GeomFromEWKT('SRID=4674;POINT (-39.806383 -2.885986)'))) / (select extract(epoch from '2026-07-08 10:27:03'::timestamp) - extract(epoch from '2026-07-08 10:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806363 -2.885874)'), GeomFromEWKT('SRID=4674;POINT (-39.806383 -2.885986)'))) / (select extract(epoch from '2026-07-08 10:27:03'::timestamp) - extract(epoch from '2026-07-08 10:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806369 -2.886056)', '2026-07-08 10:27:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806383 -2.885986)'), GeomFromEWKT('SRID=4674;POINT (-39.806369 -2.886056)'))) / (select extract(epoch from '2026-07-08 10:27:08'::timestamp) - extract(epoch from '2026-07-08 10:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806383 -2.885986)'), GeomFromEWKT('SRID=4674;POINT (-39.806369 -2.886056)'))) / (select extract(epoch from '2026-07-08 10:27:08'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.806366 -2.886069)', '2026-07-08 10:27:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806369 -2.886056)'), GeomFromEWKT('SRID=4674;POINT (-39.806366 -2.886069)'))) / (select extract(epoch from '2026-07-08 10:27:09'::timestamp) - extract(epoch from '2026-07-08 10:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806369 -2.886056)'), GeomFromEWKT('SRID=4674;POINT (-39.806366 -2.886069)'))) / (select extract(epoch from '2026-07-08 10:27:09'::timestamp) - extract(epoch from '2026-07-08 10:27: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'), 47862, 'SRID=4674;POINT (-39.806362 -2.88608)', '2026-07-08 10:27:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806366 -2.886069)'), GeomFromEWKT('SRID=4674;POINT (-39.806362 -2.88608)'))) / (select extract(epoch from '2026-07-08 10:27:10'::timestamp) - extract(epoch from '2026-07-08 10:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806366 -2.886069)'), GeomFromEWKT('SRID=4674;POINT (-39.806362 -2.88608)'))) / (select extract(epoch from '2026-07-08 10:27:10'::timestamp) - extract(epoch from '2026-07-08 10:27: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'), 47862, 'SRID=4674;POINT (-39.806342 -2.886115)', '2026-07-08 10:27:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806362 -2.88608)'), GeomFromEWKT('SRID=4674;POINT (-39.806342 -2.886115)'))) / (select extract(epoch from '2026-07-08 10:27:13'::timestamp) - extract(epoch from '2026-07-08 10:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806362 -2.88608)'), GeomFromEWKT('SRID=4674;POINT (-39.806342 -2.886115)'))) / (select extract(epoch from '2026-07-08 10:27:13'::timestamp) - extract(epoch from '2026-07-08 10:27:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80634 -2.886127)', '2026-07-08 10:27:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806342 -2.886115)'), GeomFromEWKT('SRID=4674;POINT (-39.80634 -2.886127)'))) / (select extract(epoch from '2026-07-08 10:27:14'::timestamp) - extract(epoch from '2026-07-08 10:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806342 -2.886115)'), GeomFromEWKT('SRID=4674;POINT (-39.80634 -2.886127)'))) / (select extract(epoch from '2026-07-08 10:27:14'::timestamp) - extract(epoch from '2026-07-08 10:27: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'), 47862, 'SRID=4674;POINT (-39.806332 -2.886223)', '2026-07-08 10:27:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80634 -2.886127)'), GeomFromEWKT('SRID=4674;POINT (-39.806332 -2.886223)'))) / (select extract(epoch from '2026-07-08 10:27:21'::timestamp) - extract(epoch from '2026-07-08 10:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80634 -2.886127)'), GeomFromEWKT('SRID=4674;POINT (-39.806332 -2.886223)'))) / (select extract(epoch from '2026-07-08 10:27:21'::timestamp) - extract(epoch from '2026-07-08 10:27: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'), 47862, 'SRID=4674;POINT (-39.806319 -2.886324)', '2026-07-08 10:27:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806332 -2.886223)'), GeomFromEWKT('SRID=4674;POINT (-39.806319 -2.886324)'))) / (select extract(epoch from '2026-07-08 10:27:28'::timestamp) - extract(epoch from '2026-07-08 10:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806332 -2.886223)'), GeomFromEWKT('SRID=4674;POINT (-39.806319 -2.886324)'))) / (select extract(epoch from '2026-07-08 10:27:28'::timestamp) - extract(epoch from '2026-07-08 10:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806289 -2.886401)', '2026-07-08 10:27:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806319 -2.886324)'), GeomFromEWKT('SRID=4674;POINT (-39.806289 -2.886401)'))) / (select extract(epoch from '2026-07-08 10:27:35'::timestamp) - extract(epoch from '2026-07-08 10:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806319 -2.886324)'), GeomFromEWKT('SRID=4674;POINT (-39.806289 -2.886401)'))) / (select extract(epoch from '2026-07-08 10:27:35'::timestamp) - extract(epoch from '2026-07-08 10:27: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'), 47862, 'SRID=4674;POINT (-39.80623 -2.886484)', '2026-07-08 10:27:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806289 -2.886401)'), GeomFromEWKT('SRID=4674;POINT (-39.80623 -2.886484)'))) / (select extract(epoch from '2026-07-08 10:27:43'::timestamp) - extract(epoch from '2026-07-08 10:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806289 -2.886401)'), GeomFromEWKT('SRID=4674;POINT (-39.80623 -2.886484)'))) / (select extract(epoch from '2026-07-08 10:27:43'::timestamp) - extract(epoch from '2026-07-08 10:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806178 -2.886535)', '2026-07-08 10:27:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80623 -2.886484)'), GeomFromEWKT('SRID=4674;POINT (-39.806178 -2.886535)'))) / (select extract(epoch from '2026-07-08 10:27:49'::timestamp) - extract(epoch from '2026-07-08 10:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80623 -2.886484)'), GeomFromEWKT('SRID=4674;POINT (-39.806178 -2.886535)'))) / (select extract(epoch from '2026-07-08 10:27:49'::timestamp) - extract(epoch from '2026-07-08 10:27: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'), 47862, 'SRID=4674;POINT (-39.806125 -2.886628)', '2026-07-08 10:27:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806178 -2.886535)'), GeomFromEWKT('SRID=4674;POINT (-39.806125 -2.886628)'))) / (select extract(epoch from '2026-07-08 10:27:57'::timestamp) - extract(epoch from '2026-07-08 10:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806178 -2.886535)'), GeomFromEWKT('SRID=4674;POINT (-39.806125 -2.886628)'))) / (select extract(epoch from '2026-07-08 10:27:57'::timestamp) - extract(epoch from '2026-07-08 10:27: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'), 47862, 'SRID=4674;POINT (-39.806107 -2.88666)', '2026-07-08 10:28:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806125 -2.886628)'), GeomFromEWKT('SRID=4674;POINT (-39.806107 -2.88666)'))) / (select extract(epoch from '2026-07-08 10:28:00'::timestamp) - extract(epoch from '2026-07-08 10:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806125 -2.886628)'), GeomFromEWKT('SRID=4674;POINT (-39.806107 -2.88666)'))) / (select extract(epoch from '2026-07-08 10:28:00'::timestamp) - extract(epoch from '2026-07-08 10:27: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'), 47862, 'SRID=4674;POINT (-39.806082 -2.886684)', '2026-07-08 10:28:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806107 -2.88666)'), GeomFromEWKT('SRID=4674;POINT (-39.806082 -2.886684)'))) / (select extract(epoch from '2026-07-08 10:28:03'::timestamp) - extract(epoch from '2026-07-08 10:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806107 -2.88666)'), GeomFromEWKT('SRID=4674;POINT (-39.806082 -2.886684)'))) / (select extract(epoch from '2026-07-08 10:28:03'::timestamp) - extract(epoch from '2026-07-08 10:28: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'), 47862, 'SRID=4674;POINT (-39.806042 -2.88671)', '2026-07-08 10:28:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806082 -2.886684)'), GeomFromEWKT('SRID=4674;POINT (-39.806042 -2.88671)'))) / (select extract(epoch from '2026-07-08 10:28:07'::timestamp) - extract(epoch from '2026-07-08 10:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806082 -2.886684)'), GeomFromEWKT('SRID=4674;POINT (-39.806042 -2.88671)'))) / (select extract(epoch from '2026-07-08 10:28:07'::timestamp) - extract(epoch from '2026-07-08 10:28:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.806023 -2.886727)', '2026-07-08 10:28:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806042 -2.88671)'), GeomFromEWKT('SRID=4674;POINT (-39.806023 -2.886727)'))) / (select extract(epoch from '2026-07-08 10:28:09'::timestamp) - extract(epoch from '2026-07-08 10:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806042 -2.88671)'), GeomFromEWKT('SRID=4674;POINT (-39.806023 -2.886727)'))) / (select extract(epoch from '2026-07-08 10:28:09'::timestamp) - extract(epoch from '2026-07-08 10:28:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805969 -2.886782)', '2026-07-08 10:28:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806023 -2.886727)'), GeomFromEWKT('SRID=4674;POINT (-39.805969 -2.886782)'))) / (select extract(epoch from '2026-07-08 10:28:15'::timestamp) - extract(epoch from '2026-07-08 10:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806023 -2.886727)'), GeomFromEWKT('SRID=4674;POINT (-39.805969 -2.886782)'))) / (select extract(epoch from '2026-07-08 10:28:15'::timestamp) - extract(epoch from '2026-07-08 10:28: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'), 47862, 'SRID=4674;POINT (-39.805961 -2.886793)', '2026-07-08 10:28:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805969 -2.886782)'), GeomFromEWKT('SRID=4674;POINT (-39.805961 -2.886793)'))) / (select extract(epoch from '2026-07-08 10:28:16'::timestamp) - extract(epoch from '2026-07-08 10:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805969 -2.886782)'), GeomFromEWKT('SRID=4674;POINT (-39.805961 -2.886793)'))) / (select extract(epoch from '2026-07-08 10:28:16'::timestamp) - extract(epoch from '2026-07-08 10:28: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'), 47862, 'SRID=4674;POINT (-39.805956 -2.886805)', '2026-07-08 10:28:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805961 -2.886793)'), GeomFromEWKT('SRID=4674;POINT (-39.805956 -2.886805)'))) / (select extract(epoch from '2026-07-08 10:28:17'::timestamp) - extract(epoch from '2026-07-08 10:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805961 -2.886793)'), GeomFromEWKT('SRID=4674;POINT (-39.805956 -2.886805)'))) / (select extract(epoch from '2026-07-08 10:28:17'::timestamp) - extract(epoch from '2026-07-08 10:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805939 -2.886852)', '2026-07-08 10:28:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805956 -2.886805)'), GeomFromEWKT('SRID=4674;POINT (-39.805939 -2.886852)'))) / (select extract(epoch from '2026-07-08 10:28:21'::timestamp) - extract(epoch from '2026-07-08 10:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805956 -2.886805)'), GeomFromEWKT('SRID=4674;POINT (-39.805939 -2.886852)'))) / (select extract(epoch from '2026-07-08 10:28:21'::timestamp) - extract(epoch from '2026-07-08 10:28: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'), 47862, 'SRID=4674;POINT (-39.805936 -2.886866)', '2026-07-08 10:28:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805939 -2.886852)'), GeomFromEWKT('SRID=4674;POINT (-39.805936 -2.886866)'))) / (select extract(epoch from '2026-07-08 10:28:22'::timestamp) - extract(epoch from '2026-07-08 10:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805939 -2.886852)'), GeomFromEWKT('SRID=4674;POINT (-39.805936 -2.886866)'))) / (select extract(epoch from '2026-07-08 10:28:22'::timestamp) - extract(epoch from '2026-07-08 10:28:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805928 -2.886914)', '2026-07-08 10:28:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805936 -2.886866)'), GeomFromEWKT('SRID=4674;POINT (-39.805928 -2.886914)'))) / (select extract(epoch from '2026-07-08 10:28:26'::timestamp) - extract(epoch from '2026-07-08 10:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805936 -2.886866)'), GeomFromEWKT('SRID=4674;POINT (-39.805928 -2.886914)'))) / (select extract(epoch from '2026-07-08 10:28:26'::timestamp) - extract(epoch from '2026-07-08 10:28: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'), 47862, 'SRID=4674;POINT (-39.805896 -2.886976)', '2026-07-08 10:28:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805928 -2.886914)'), GeomFromEWKT('SRID=4674;POINT (-39.805896 -2.886976)'))) / (select extract(epoch from '2026-07-08 10:28:32'::timestamp) - extract(epoch from '2026-07-08 10:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805928 -2.886914)'), GeomFromEWKT('SRID=4674;POINT (-39.805896 -2.886976)'))) / (select extract(epoch from '2026-07-08 10:28:32'::timestamp) - extract(epoch from '2026-07-08 10:28:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80586 -2.887024)', '2026-07-08 10:28:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805896 -2.886976)'), GeomFromEWKT('SRID=4674;POINT (-39.80586 -2.887024)'))) / (select extract(epoch from '2026-07-08 10:28:37'::timestamp) - extract(epoch from '2026-07-08 10:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805896 -2.886976)'), GeomFromEWKT('SRID=4674;POINT (-39.80586 -2.887024)'))) / (select extract(epoch from '2026-07-08 10:28:37'::timestamp) - extract(epoch from '2026-07-08 10:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805856 -2.887033)', '2026-07-08 10:28:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80586 -2.887024)'), GeomFromEWKT('SRID=4674;POINT (-39.805856 -2.887033)'))) / (select extract(epoch from '2026-07-08 10:28:38'::timestamp) - extract(epoch from '2026-07-08 10:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80586 -2.887024)'), GeomFromEWKT('SRID=4674;POINT (-39.805856 -2.887033)'))) / (select extract(epoch from '2026-07-08 10:28:38'::timestamp) - extract(epoch from '2026-07-08 10:28: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'), 47862, 'SRID=4674;POINT (-39.80582 -2.887096)', '2026-07-08 10:28:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805856 -2.887033)'), GeomFromEWKT('SRID=4674;POINT (-39.80582 -2.887096)'))) / (select extract(epoch from '2026-07-08 10:28:45'::timestamp) - extract(epoch from '2026-07-08 10:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805856 -2.887033)'), GeomFromEWKT('SRID=4674;POINT (-39.80582 -2.887096)'))) / (select extract(epoch from '2026-07-08 10:28:45'::timestamp) - extract(epoch from '2026-07-08 10:28:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805779 -2.887147)', '2026-07-08 10:28:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80582 -2.887096)'), GeomFromEWKT('SRID=4674;POINT (-39.805779 -2.887147)'))) / (select extract(epoch from '2026-07-08 10:28:51'::timestamp) - extract(epoch from '2026-07-08 10:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80582 -2.887096)'), GeomFromEWKT('SRID=4674;POINT (-39.805779 -2.887147)'))) / (select extract(epoch from '2026-07-08 10:28:51'::timestamp) - extract(epoch from '2026-07-08 10:28:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80571 -2.887199)', '2026-07-08 10:28:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805779 -2.887147)'), GeomFromEWKT('SRID=4674;POINT (-39.80571 -2.887199)'))) / (select extract(epoch from '2026-07-08 10:28:58'::timestamp) - extract(epoch from '2026-07-08 10:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805779 -2.887147)'), GeomFromEWKT('SRID=4674;POINT (-39.80571 -2.887199)'))) / (select extract(epoch from '2026-07-08 10:28:58'::timestamp) - extract(epoch from '2026-07-08 10:28:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805662 -2.887274)', '2026-07-08 10:29:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80571 -2.887199)'), GeomFromEWKT('SRID=4674;POINT (-39.805662 -2.887274)'))) / (select extract(epoch from '2026-07-08 10:29:04'::timestamp) - extract(epoch from '2026-07-08 10:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80571 -2.887199)'), GeomFromEWKT('SRID=4674;POINT (-39.805662 -2.887274)'))) / (select extract(epoch from '2026-07-08 10:29:04'::timestamp) - extract(epoch from '2026-07-08 10:28: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'), 47862, 'SRID=4674;POINT (-39.805654 -2.887285)', '2026-07-08 10:29:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805662 -2.887274)'), GeomFromEWKT('SRID=4674;POINT (-39.805654 -2.887285)'))) / (select extract(epoch from '2026-07-08 10:29:05'::timestamp) - extract(epoch from '2026-07-08 10:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805662 -2.887274)'), GeomFromEWKT('SRID=4674;POINT (-39.805654 -2.887285)'))) / (select extract(epoch from '2026-07-08 10:29:05'::timestamp) - extract(epoch from '2026-07-08 10:29: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'), 47862, 'SRID=4674;POINT (-39.805621 -2.887319)', '2026-07-08 10:29:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805654 -2.887285)'), GeomFromEWKT('SRID=4674;POINT (-39.805621 -2.887319)'))) / (select extract(epoch from '2026-07-08 10:29:09'::timestamp) - extract(epoch from '2026-07-08 10:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805654 -2.887285)'), GeomFromEWKT('SRID=4674;POINT (-39.805621 -2.887319)'))) / (select extract(epoch from '2026-07-08 10:29:09'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805574 -2.887381)', '2026-07-08 10:29:15', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805621 -2.887319)'), GeomFromEWKT('SRID=4674;POINT (-39.805574 -2.887381)'))) / (select extract(epoch from '2026-07-08 10:29:15'::timestamp) - extract(epoch from '2026-07-08 10:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805621 -2.887319)'), GeomFromEWKT('SRID=4674;POINT (-39.805574 -2.887381)'))) / (select extract(epoch from '2026-07-08 10:29:15'::timestamp) - extract(epoch from '2026-07-08 10:29:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805519 -2.88747)', '2026-07-08 10:29:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805574 -2.887381)'), GeomFromEWKT('SRID=4674;POINT (-39.805519 -2.88747)'))) / (select extract(epoch from '2026-07-08 10:29:22'::timestamp) - extract(epoch from '2026-07-08 10:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805574 -2.887381)'), GeomFromEWKT('SRID=4674;POINT (-39.805519 -2.88747)'))) / (select extract(epoch from '2026-07-08 10:29:22'::timestamp) - extract(epoch from '2026-07-08 10:29: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'), 47862, 'SRID=4674;POINT (-39.805465 -2.887543)', '2026-07-08 10:29:29', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805519 -2.88747)'), GeomFromEWKT('SRID=4674;POINT (-39.805465 -2.887543)'))) / (select extract(epoch from '2026-07-08 10:29:29'::timestamp) - extract(epoch from '2026-07-08 10:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805519 -2.88747)'), GeomFromEWKT('SRID=4674;POINT (-39.805465 -2.887543)'))) / (select extract(epoch from '2026-07-08 10:29:29'::timestamp) - extract(epoch from '2026-07-08 10:29: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'), 47862, 'SRID=4674;POINT (-39.805398 -2.887568)', '2026-07-08 10:29:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805465 -2.887543)'), GeomFromEWKT('SRID=4674;POINT (-39.805398 -2.887568)'))) / (select extract(epoch from '2026-07-08 10:29:35'::timestamp) - extract(epoch from '2026-07-08 10:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805465 -2.887543)'), GeomFromEWKT('SRID=4674;POINT (-39.805398 -2.887568)'))) / (select extract(epoch from '2026-07-08 10:29:35'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805342 -2.887597)', '2026-07-08 10:29:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805398 -2.887568)'), GeomFromEWKT('SRID=4674;POINT (-39.805342 -2.887597)'))) / (select extract(epoch from '2026-07-08 10:29:40'::timestamp) - extract(epoch from '2026-07-08 10:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805398 -2.887568)'), GeomFromEWKT('SRID=4674;POINT (-39.805342 -2.887597)'))) / (select extract(epoch from '2026-07-08 10:29:40'::timestamp) - extract(epoch from '2026-07-08 10:29: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'), 47862, 'SRID=4674;POINT (-39.805333 -2.887605)', '2026-07-08 10:29:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805342 -2.887597)'), GeomFromEWKT('SRID=4674;POINT (-39.805333 -2.887605)'))) / (select extract(epoch from '2026-07-08 10:29:41'::timestamp) - extract(epoch from '2026-07-08 10:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805342 -2.887597)'), GeomFromEWKT('SRID=4674;POINT (-39.805333 -2.887605)'))) / (select extract(epoch from '2026-07-08 10:29:41'::timestamp) - extract(epoch from '2026-07-08 10:29: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'), 47862, 'SRID=4674;POINT (-39.805286 -2.887652)', '2026-07-08 10:29:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805333 -2.887605)'), GeomFromEWKT('SRID=4674;POINT (-39.805286 -2.887652)'))) / (select extract(epoch from '2026-07-08 10:29:46'::timestamp) - extract(epoch from '2026-07-08 10:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805333 -2.887605)'), GeomFromEWKT('SRID=4674;POINT (-39.805286 -2.887652)'))) / (select extract(epoch from '2026-07-08 10:29:46'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805255 -2.887748)', '2026-07-08 10:29:53', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805286 -2.887652)'), GeomFromEWKT('SRID=4674;POINT (-39.805255 -2.887748)'))) / (select extract(epoch from '2026-07-08 10:29:53'::timestamp) - extract(epoch from '2026-07-08 10:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805286 -2.887652)'), GeomFromEWKT('SRID=4674;POINT (-39.805255 -2.887748)'))) / (select extract(epoch from '2026-07-08 10:29:53'::timestamp) - extract(epoch from '2026-07-08 10:29: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'), 47862, 'SRID=4674;POINT (-39.805257 -2.887782)', '2026-07-08 10:29:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805255 -2.887748)'), GeomFromEWKT('SRID=4674;POINT (-39.805257 -2.887782)'))) / (select extract(epoch from '2026-07-08 10:29:55'::timestamp) - extract(epoch from '2026-07-08 10:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805255 -2.887748)'), GeomFromEWKT('SRID=4674;POINT (-39.805257 -2.887782)'))) / (select extract(epoch from '2026-07-08 10:29:55'::timestamp) - extract(epoch from '2026-07-08 10:29: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'), 47862, 'SRID=4674;POINT (-39.805267 -2.88783)', '2026-07-08 10:29:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805257 -2.887782)'), GeomFromEWKT('SRID=4674;POINT (-39.805267 -2.88783)'))) / (select extract(epoch from '2026-07-08 10:29:58'::timestamp) - extract(epoch from '2026-07-08 10:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805257 -2.887782)'), GeomFromEWKT('SRID=4674;POINT (-39.805267 -2.88783)'))) / (select extract(epoch from '2026-07-08 10:29:58'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805295 -2.887902)', '2026-07-08 10:30:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805267 -2.88783)'), GeomFromEWKT('SRID=4674;POINT (-39.805295 -2.887902)'))) / (select extract(epoch from '2026-07-08 10:30:03'::timestamp) - extract(epoch from '2026-07-08 10:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805267 -2.88783)'), GeomFromEWKT('SRID=4674;POINT (-39.805295 -2.887902)'))) / (select extract(epoch from '2026-07-08 10:30:03'::timestamp) - extract(epoch from '2026-07-08 10:29: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'), 47862, 'SRID=4674;POINT (-39.805301 -2.887917)', '2026-07-08 10:30:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805295 -2.887902)'), GeomFromEWKT('SRID=4674;POINT (-39.805301 -2.887917)'))) / (select extract(epoch from '2026-07-08 10:30:04'::timestamp) - extract(epoch from '2026-07-08 10:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805295 -2.887902)'), GeomFromEWKT('SRID=4674;POINT (-39.805301 -2.887917)'))) / (select extract(epoch from '2026-07-08 10:30:04'::timestamp) - extract(epoch from '2026-07-08 10:30: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'), 47862, 'SRID=4674;POINT (-39.805313 -2.887949)', '2026-07-08 10:30:06', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805301 -2.887917)'), GeomFromEWKT('SRID=4674;POINT (-39.805313 -2.887949)'))) / (select extract(epoch from '2026-07-08 10:30:06'::timestamp) - extract(epoch from '2026-07-08 10:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805301 -2.887917)'), GeomFromEWKT('SRID=4674;POINT (-39.805313 -2.887949)'))) / (select extract(epoch from '2026-07-08 10:30:06'::timestamp) - extract(epoch from '2026-07-08 10:30: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'), 47862, 'SRID=4674;POINT (-39.805329 -2.887996)', '2026-07-08 10:30:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805313 -2.887949)'), GeomFromEWKT('SRID=4674;POINT (-39.805329 -2.887996)'))) / (select extract(epoch from '2026-07-08 10:30:09'::timestamp) - extract(epoch from '2026-07-08 10:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805313 -2.887949)'), GeomFromEWKT('SRID=4674;POINT (-39.805329 -2.887996)'))) / (select extract(epoch from '2026-07-08 10:30:09'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805348 -2.88804)', '2026-07-08 10:30:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805329 -2.887996)'), GeomFromEWKT('SRID=4674;POINT (-39.805348 -2.88804)'))) / (select extract(epoch from '2026-07-08 10:30:12'::timestamp) - extract(epoch from '2026-07-08 10:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805329 -2.887996)'), GeomFromEWKT('SRID=4674;POINT (-39.805348 -2.88804)'))) / (select extract(epoch from '2026-07-08 10:30:12'::timestamp) - extract(epoch from '2026-07-08 10:30: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'), 47862, 'SRID=4674;POINT (-39.805382 -2.888082)', '2026-07-08 10:30:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805348 -2.88804)'), GeomFromEWKT('SRID=4674;POINT (-39.805382 -2.888082)'))) / (select extract(epoch from '2026-07-08 10:30:15'::timestamp) - extract(epoch from '2026-07-08 10:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805348 -2.88804)'), GeomFromEWKT('SRID=4674;POINT (-39.805382 -2.888082)'))) / (select extract(epoch from '2026-07-08 10:30:15'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805443 -2.888157)', '2026-07-08 10:30:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805382 -2.888082)'), GeomFromEWKT('SRID=4674;POINT (-39.805443 -2.888157)'))) / (select extract(epoch from '2026-07-08 10:30:21'::timestamp) - extract(epoch from '2026-07-08 10:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805382 -2.888082)'), GeomFromEWKT('SRID=4674;POINT (-39.805443 -2.888157)'))) / (select extract(epoch from '2026-07-08 10:30:21'::timestamp) - extract(epoch from '2026-07-08 10:30:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805462 -2.888191)', '2026-07-08 10:30:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805443 -2.888157)'), GeomFromEWKT('SRID=4674;POINT (-39.805462 -2.888191)'))) / (select extract(epoch from '2026-07-08 10:30:24'::timestamp) - extract(epoch from '2026-07-08 10:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805443 -2.888157)'), GeomFromEWKT('SRID=4674;POINT (-39.805462 -2.888191)'))) / (select extract(epoch from '2026-07-08 10:30:24'::timestamp) - extract(epoch from '2026-07-08 10:30:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805469 -2.88822)', '2026-07-08 10:30:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805462 -2.888191)'), GeomFromEWKT('SRID=4674;POINT (-39.805469 -2.88822)'))) / (select extract(epoch from '2026-07-08 10:30:27'::timestamp) - extract(epoch from '2026-07-08 10:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805462 -2.888191)'), GeomFromEWKT('SRID=4674;POINT (-39.805469 -2.88822)'))) / (select extract(epoch from '2026-07-08 10:30:27'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805469 -2.88825)', '2026-07-08 10:30:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805469 -2.88822)'), GeomFromEWKT('SRID=4674;POINT (-39.805469 -2.88825)'))) / (select extract(epoch from '2026-07-08 10:30:34'::timestamp) - extract(epoch from '2026-07-08 10:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805469 -2.88822)'), GeomFromEWKT('SRID=4674;POINT (-39.805469 -2.88825)'))) / (select extract(epoch from '2026-07-08 10:30:34'::timestamp) - extract(epoch from '2026-07-08 10:30: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'), 47862, 'SRID=4674;POINT (-39.805461 -2.88826)', '2026-07-08 10:30:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805469 -2.88825)'), GeomFromEWKT('SRID=4674;POINT (-39.805461 -2.88826)'))) / (select extract(epoch from '2026-07-08 10:30:44'::timestamp) - extract(epoch from '2026-07-08 10:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805469 -2.88825)'), GeomFromEWKT('SRID=4674;POINT (-39.805461 -2.88826)'))) / (select extract(epoch from '2026-07-08 10:30:44'::timestamp) - extract(epoch from '2026-07-08 10:30:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805473 -2.888279)', '2026-07-08 10:30:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805461 -2.88826)'), GeomFromEWKT('SRID=4674;POINT (-39.805473 -2.888279)'))) / (select extract(epoch from '2026-07-08 10:30:53'::timestamp) - extract(epoch from '2026-07-08 10:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805461 -2.88826)'), GeomFromEWKT('SRID=4674;POINT (-39.805473 -2.888279)'))) / (select extract(epoch from '2026-07-08 10:30:53'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805484 -2.888295)', '2026-07-08 10:30:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805473 -2.888279)'), GeomFromEWKT('SRID=4674;POINT (-39.805484 -2.888295)'))) / (select extract(epoch from '2026-07-08 10:30:58'::timestamp) - extract(epoch from '2026-07-08 10:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805473 -2.888279)'), GeomFromEWKT('SRID=4674;POINT (-39.805484 -2.888295)'))) / (select extract(epoch from '2026-07-08 10:30:58'::timestamp) - extract(epoch from '2026-07-08 10:30:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805508 -2.888323)', '2026-07-08 10:31:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805484 -2.888295)'), GeomFromEWKT('SRID=4674;POINT (-39.805508 -2.888323)'))) / (select extract(epoch from '2026-07-08 10:31:07'::timestamp) - extract(epoch from '2026-07-08 10:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805484 -2.888295)'), GeomFromEWKT('SRID=4674;POINT (-39.805508 -2.888323)'))) / (select extract(epoch from '2026-07-08 10:31:07'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805519 -2.888342)', '2026-07-08 10:31:10', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805508 -2.888323)'), GeomFromEWKT('SRID=4674;POINT (-39.805519 -2.888342)'))) / (select extract(epoch from '2026-07-08 10:31:10'::timestamp) - extract(epoch from '2026-07-08 10:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805508 -2.888323)'), GeomFromEWKT('SRID=4674;POINT (-39.805519 -2.888342)'))) / (select extract(epoch from '2026-07-08 10:31:10'::timestamp) - extract(epoch from '2026-07-08 10:31:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805534 -2.888365)', '2026-07-08 10:31:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805519 -2.888342)'), GeomFromEWKT('SRID=4674;POINT (-39.805534 -2.888365)'))) / (select extract(epoch from '2026-07-08 10:31:12'::timestamp) - extract(epoch from '2026-07-08 10:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805519 -2.888342)'), GeomFromEWKT('SRID=4674;POINT (-39.805534 -2.888365)'))) / (select extract(epoch from '2026-07-08 10:31:12'::timestamp) - extract(epoch from '2026-07-08 10:31: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'), 47862, 'SRID=4674;POINT (-39.805549 -2.88839)', '2026-07-08 10:31:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805534 -2.888365)'), GeomFromEWKT('SRID=4674;POINT (-39.805549 -2.88839)'))) / (select extract(epoch from '2026-07-08 10:31:14'::timestamp) - extract(epoch from '2026-07-08 10:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805534 -2.888365)'), GeomFromEWKT('SRID=4674;POINT (-39.805549 -2.88839)'))) / (select extract(epoch from '2026-07-08 10:31:14'::timestamp) - extract(epoch from '2026-07-08 10:31:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805561 -2.888417)', '2026-07-08 10:31:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805549 -2.88839)'), GeomFromEWKT('SRID=4674;POINT (-39.805561 -2.888417)'))) / (select extract(epoch from '2026-07-08 10:31:16'::timestamp) - extract(epoch from '2026-07-08 10:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805549 -2.88839)'), GeomFromEWKT('SRID=4674;POINT (-39.805561 -2.888417)'))) / (select extract(epoch from '2026-07-08 10:31:16'::timestamp) - extract(epoch from '2026-07-08 10:31: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'), 47862, 'SRID=4674;POINT (-39.80557 -2.888432)', '2026-07-08 10:31:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805561 -2.888417)'), GeomFromEWKT('SRID=4674;POINT (-39.80557 -2.888432)'))) / (select extract(epoch from '2026-07-08 10:31:17'::timestamp) - extract(epoch from '2026-07-08 10:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805561 -2.888417)'), GeomFromEWKT('SRID=4674;POINT (-39.80557 -2.888432)'))) / (select extract(epoch from '2026-07-08 10:31:17'::timestamp) - extract(epoch from '2026-07-08 10:31:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805587 -2.888468)', '2026-07-08 10:31:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80557 -2.888432)'), GeomFromEWKT('SRID=4674;POINT (-39.805587 -2.888468)'))) / (select extract(epoch from '2026-07-08 10:31:20'::timestamp) - extract(epoch from '2026-07-08 10:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80557 -2.888432)'), GeomFromEWKT('SRID=4674;POINT (-39.805587 -2.888468)'))) / (select extract(epoch from '2026-07-08 10:31:20'::timestamp) - extract(epoch from '2026-07-08 10:31: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'), 47862, 'SRID=4674;POINT (-39.805592 -2.888494)', '2026-07-08 10:31:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805587 -2.888468)'), GeomFromEWKT('SRID=4674;POINT (-39.805592 -2.888494)'))) / (select extract(epoch from '2026-07-08 10:31:22'::timestamp) - extract(epoch from '2026-07-08 10:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805587 -2.888468)'), GeomFromEWKT('SRID=4674;POINT (-39.805592 -2.888494)'))) / (select extract(epoch from '2026-07-08 10:31:22'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805601 -2.888518)', '2026-07-08 10:31:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805592 -2.888494)'), GeomFromEWKT('SRID=4674;POINT (-39.805601 -2.888518)'))) / (select extract(epoch from '2026-07-08 10:31:24'::timestamp) - extract(epoch from '2026-07-08 10:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805592 -2.888494)'), GeomFromEWKT('SRID=4674;POINT (-39.805601 -2.888518)'))) / (select extract(epoch from '2026-07-08 10:31:24'::timestamp) - extract(epoch from '2026-07-08 10:31:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805613 -2.888565)', '2026-07-08 10:31:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805601 -2.888518)'), GeomFromEWKT('SRID=4674;POINT (-39.805613 -2.888565)'))) / (select extract(epoch from '2026-07-08 10:31:27'::timestamp) - extract(epoch from '2026-07-08 10:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805601 -2.888518)'), GeomFromEWKT('SRID=4674;POINT (-39.805613 -2.888565)'))) / (select extract(epoch from '2026-07-08 10:31:27'::timestamp) - extract(epoch from '2026-07-08 10:31: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'), 47862, 'SRID=4674;POINT (-39.805649 -2.888639)', '2026-07-08 10:31:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805613 -2.888565)'), GeomFromEWKT('SRID=4674;POINT (-39.805649 -2.888639)'))) / (select extract(epoch from '2026-07-08 10:31:33'::timestamp) - extract(epoch from '2026-07-08 10:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805613 -2.888565)'), GeomFromEWKT('SRID=4674;POINT (-39.805649 -2.888639)'))) / (select extract(epoch from '2026-07-08 10:31:33'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805657 -2.888681)', '2026-07-08 10:31:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805649 -2.888639)'), GeomFromEWKT('SRID=4674;POINT (-39.805657 -2.888681)'))) / (select extract(epoch from '2026-07-08 10:31:39'::timestamp) - extract(epoch from '2026-07-08 10:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805649 -2.888639)'), GeomFromEWKT('SRID=4674;POINT (-39.805657 -2.888681)'))) / (select extract(epoch from '2026-07-08 10:31:39'::timestamp) - extract(epoch from '2026-07-08 10:31: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'), 47862, 'SRID=4674;POINT (-39.805669 -2.888698)', '2026-07-08 10:31:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805657 -2.888681)'), GeomFromEWKT('SRID=4674;POINT (-39.805669 -2.888698)'))) / (select extract(epoch from '2026-07-08 10:31:48'::timestamp) - extract(epoch from '2026-07-08 10:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805657 -2.888681)'), GeomFromEWKT('SRID=4674;POINT (-39.805669 -2.888698)'))) / (select extract(epoch from '2026-07-08 10:31:48'::timestamp) - extract(epoch from '2026-07-08 10:31: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'), 47862, 'SRID=4674;POINT (-39.805698 -2.888683)', '2026-07-08 10:32:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805669 -2.888698)'), GeomFromEWKT('SRID=4674;POINT (-39.805698 -2.888683)'))) / (select extract(epoch from '2026-07-08 10:32:00'::timestamp) - extract(epoch from '2026-07-08 10:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805669 -2.888698)'), GeomFromEWKT('SRID=4674;POINT (-39.805698 -2.888683)'))) / (select extract(epoch from '2026-07-08 10:32:00'::timestamp) - extract(epoch from '2026-07-08 10:31: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'), 47862, 'SRID=4674;POINT (-39.805738 -2.88867)', '2026-07-08 10:32:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805698 -2.888683)'), GeomFromEWKT('SRID=4674;POINT (-39.805738 -2.88867)'))) / (select extract(epoch from '2026-07-08 10:32:10'::timestamp) - extract(epoch from '2026-07-08 10:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805698 -2.888683)'), GeomFromEWKT('SRID=4674;POINT (-39.805738 -2.88867)'))) / (select extract(epoch from '2026-07-08 10:32:10'::timestamp) - extract(epoch from '2026-07-08 10:32: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'), 47862, 'SRID=4674;POINT (-39.805787 -2.888651)', '2026-07-08 10:32:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805738 -2.88867)'), GeomFromEWKT('SRID=4674;POINT (-39.805787 -2.888651)'))) / (select extract(epoch from '2026-07-08 10:32:21'::timestamp) - extract(epoch from '2026-07-08 10:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805738 -2.88867)'), GeomFromEWKT('SRID=4674;POINT (-39.805787 -2.888651)'))) / (select extract(epoch from '2026-07-08 10:32:21'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805821 -2.888641)', '2026-07-08 10:32:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805787 -2.888651)'), GeomFromEWKT('SRID=4674;POINT (-39.805821 -2.888641)'))) / (select extract(epoch from '2026-07-08 10:32:30'::timestamp) - extract(epoch from '2026-07-08 10:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805787 -2.888651)'), GeomFromEWKT('SRID=4674;POINT (-39.805821 -2.888641)'))) / (select extract(epoch from '2026-07-08 10:32:30'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805849 -2.888634)', '2026-07-08 10:32:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805821 -2.888641)'), GeomFromEWKT('SRID=4674;POINT (-39.805849 -2.888634)'))) / (select extract(epoch from '2026-07-08 10:32:38'::timestamp) - extract(epoch from '2026-07-08 10:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805821 -2.888641)'), GeomFromEWKT('SRID=4674;POINT (-39.805849 -2.888634)'))) / (select extract(epoch from '2026-07-08 10:32:38'::timestamp) - extract(epoch from '2026-07-08 10:32: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'), 47862, 'SRID=4674;POINT (-39.805885 -2.888624)', '2026-07-08 10:32:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805849 -2.888634)'), GeomFromEWKT('SRID=4674;POINT (-39.805885 -2.888624)'))) / (select extract(epoch from '2026-07-08 10:32:47'::timestamp) - extract(epoch from '2026-07-08 10:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805849 -2.888634)'), GeomFromEWKT('SRID=4674;POINT (-39.805885 -2.888624)'))) / (select extract(epoch from '2026-07-08 10:32:47'::timestamp) - extract(epoch from '2026-07-08 10:32: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'), 47862, 'SRID=4674;POINT (-39.805935 -2.88861)', '2026-07-08 10:32:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805885 -2.888624)'), GeomFromEWKT('SRID=4674;POINT (-39.805935 -2.88861)'))) / (select extract(epoch from '2026-07-08 10:32:58'::timestamp) - extract(epoch from '2026-07-08 10:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805885 -2.888624)'), GeomFromEWKT('SRID=4674;POINT (-39.805935 -2.88861)'))) / (select extract(epoch from '2026-07-08 10:32:58'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805962 -2.88861)', '2026-07-08 10:33:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805935 -2.88861)'), GeomFromEWKT('SRID=4674;POINT (-39.805962 -2.88861)'))) / (select extract(epoch from '2026-07-08 10:33:06'::timestamp) - extract(epoch from '2026-07-08 10:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805935 -2.88861)'), GeomFromEWKT('SRID=4674;POINT (-39.805962 -2.88861)'))) / (select extract(epoch from '2026-07-08 10:33:06'::timestamp) - extract(epoch from '2026-07-08 10:32: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'), 47862, 'SRID=4674;POINT (-39.805991 -2.888609)', '2026-07-08 10:33:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805962 -2.88861)'), GeomFromEWKT('SRID=4674;POINT (-39.805991 -2.888609)'))) / (select extract(epoch from '2026-07-08 10:33:13'::timestamp) - extract(epoch from '2026-07-08 10:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805962 -2.88861)'), GeomFromEWKT('SRID=4674;POINT (-39.805991 -2.888609)'))) / (select extract(epoch from '2026-07-08 10:33:13'::timestamp) - extract(epoch from '2026-07-08 10:33: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'), 47862, 'SRID=4674;POINT (-39.806037 -2.888607)', '2026-07-08 10:33:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805991 -2.888609)'), GeomFromEWKT('SRID=4674;POINT (-39.806037 -2.888607)'))) / (select extract(epoch from '2026-07-08 10:33:23'::timestamp) - extract(epoch from '2026-07-08 10:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805991 -2.888609)'), GeomFromEWKT('SRID=4674;POINT (-39.806037 -2.888607)'))) / (select extract(epoch from '2026-07-08 10:33:23'::timestamp) - extract(epoch from '2026-07-08 10:33: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'), 47862, 'SRID=4674;POINT (-39.80608 -2.888613)', '2026-07-08 10:33:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806037 -2.888607)'), GeomFromEWKT('SRID=4674;POINT (-39.80608 -2.888613)'))) / (select extract(epoch from '2026-07-08 10:33:34'::timestamp) - extract(epoch from '2026-07-08 10:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806037 -2.888607)'), GeomFromEWKT('SRID=4674;POINT (-39.80608 -2.888613)'))) / (select extract(epoch from '2026-07-08 10:33:34'::timestamp) - extract(epoch from '2026-07-08 10:33: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'), 47862, 'SRID=4674;POINT (-39.806062 -2.888604)', '2026-07-08 10:33:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80608 -2.888613)'), GeomFromEWKT('SRID=4674;POINT (-39.806062 -2.888604)'))) / (select extract(epoch from '2026-07-08 10:33:45'::timestamp) - extract(epoch from '2026-07-08 10:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80608 -2.888613)'), GeomFromEWKT('SRID=4674;POINT (-39.806062 -2.888604)'))) / (select extract(epoch from '2026-07-08 10:33:45'::timestamp) - extract(epoch from '2026-07-08 10:33: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'), 47862, 'SRID=4674;POINT (-39.805982 -2.888632)', '2026-07-08 10:33:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806062 -2.888604)'), GeomFromEWKT('SRID=4674;POINT (-39.805982 -2.888632)'))) / (select extract(epoch from '2026-07-08 10:33:53'::timestamp) - extract(epoch from '2026-07-08 10:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.806062 -2.888604)'), GeomFromEWKT('SRID=4674;POINT (-39.805982 -2.888632)'))) / (select extract(epoch from '2026-07-08 10:33:53'::timestamp) - extract(epoch from '2026-07-08 10:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805974 -2.888643)', '2026-07-08 10:33:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805982 -2.888632)'), GeomFromEWKT('SRID=4674;POINT (-39.805974 -2.888643)'))) / (select extract(epoch from '2026-07-08 10:33:54'::timestamp) - extract(epoch from '2026-07-08 10:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805982 -2.888632)'), GeomFromEWKT('SRID=4674;POINT (-39.805974 -2.888643)'))) / (select extract(epoch from '2026-07-08 10:33:54'::timestamp) - extract(epoch from '2026-07-08 10:33: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'), 47862, 'SRID=4674;POINT (-39.805932 -2.888676)', '2026-07-08 10:33:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805974 -2.888643)'), GeomFromEWKT('SRID=4674;POINT (-39.805932 -2.888676)'))) / (select extract(epoch from '2026-07-08 10:33:58'::timestamp) - extract(epoch from '2026-07-08 10:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805974 -2.888643)'), GeomFromEWKT('SRID=4674;POINT (-39.805932 -2.888676)'))) / (select extract(epoch from '2026-07-08 10:33:58'::timestamp) - extract(epoch from '2026-07-08 10:33: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'), 47862, 'SRID=4674;POINT (-39.80587 -2.888684)', '2026-07-08 10:34:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805932 -2.888676)'), GeomFromEWKT('SRID=4674;POINT (-39.80587 -2.888684)'))) / (select extract(epoch from '2026-07-08 10:34:05'::timestamp) - extract(epoch from '2026-07-08 10:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805932 -2.888676)'), GeomFromEWKT('SRID=4674;POINT (-39.80587 -2.888684)'))) / (select extract(epoch from '2026-07-08 10:34:05'::timestamp) - extract(epoch from '2026-07-08 10:33: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'), 47862, 'SRID=4674;POINT (-39.805842 -2.888685)', '2026-07-08 10:34:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80587 -2.888684)'), GeomFromEWKT('SRID=4674;POINT (-39.805842 -2.888685)'))) / (select extract(epoch from '2026-07-08 10:34:12'::timestamp) - extract(epoch from '2026-07-08 10:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80587 -2.888684)'), GeomFromEWKT('SRID=4674;POINT (-39.805842 -2.888685)'))) / (select extract(epoch from '2026-07-08 10:34:12'::timestamp) - extract(epoch from '2026-07-08 10:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805808 -2.888724)', '2026-07-08 10:34:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805842 -2.888685)'), GeomFromEWKT('SRID=4674;POINT (-39.805808 -2.888724)'))) / (select extract(epoch from '2026-07-08 10:34:20'::timestamp) - extract(epoch from '2026-07-08 10:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805842 -2.888685)'), GeomFromEWKT('SRID=4674;POINT (-39.805808 -2.888724)'))) / (select extract(epoch from '2026-07-08 10:34:20'::timestamp) - extract(epoch from '2026-07-08 10:34:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805737 -2.888749)', '2026-07-08 10:34:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805808 -2.888724)'), GeomFromEWKT('SRID=4674;POINT (-39.805737 -2.888749)'))) / (select extract(epoch from '2026-07-08 10:34:27'::timestamp) - extract(epoch from '2026-07-08 10:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805808 -2.888724)'), GeomFromEWKT('SRID=4674;POINT (-39.805737 -2.888749)'))) / (select extract(epoch from '2026-07-08 10:34:27'::timestamp) - extract(epoch from '2026-07-08 10:34: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'), 47862, 'SRID=4674;POINT (-39.805672 -2.888766)', '2026-07-08 10:34:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805737 -2.888749)'), GeomFromEWKT('SRID=4674;POINT (-39.805672 -2.888766)'))) / (select extract(epoch from '2026-07-08 10:34:32'::timestamp) - extract(epoch from '2026-07-08 10:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805737 -2.888749)'), GeomFromEWKT('SRID=4674;POINT (-39.805672 -2.888766)'))) / (select extract(epoch from '2026-07-08 10:34:32'::timestamp) - extract(epoch from '2026-07-08 10:34:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805581 -2.888813)', '2026-07-08 10:34:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805672 -2.888766)'), GeomFromEWKT('SRID=4674;POINT (-39.805581 -2.888813)'))) / (select extract(epoch from '2026-07-08 10:34:39'::timestamp) - extract(epoch from '2026-07-08 10:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805672 -2.888766)'), GeomFromEWKT('SRID=4674;POINT (-39.805581 -2.888813)'))) / (select extract(epoch from '2026-07-08 10:34:39'::timestamp) - extract(epoch from '2026-07-08 10:34: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'), 47862, 'SRID=4674;POINT (-39.805548 -2.888838)', '2026-07-08 10:34:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805581 -2.888813)'), GeomFromEWKT('SRID=4674;POINT (-39.805548 -2.888838)'))) / (select extract(epoch from '2026-07-08 10:34:42'::timestamp) - extract(epoch from '2026-07-08 10:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805581 -2.888813)'), GeomFromEWKT('SRID=4674;POINT (-39.805548 -2.888838)'))) / (select extract(epoch from '2026-07-08 10:34:42'::timestamp) - extract(epoch from '2026-07-08 10:34: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'), 47862, 'SRID=4674;POINT (-39.805527 -2.888844)', '2026-07-08 10:34:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805548 -2.888838)'), GeomFromEWKT('SRID=4674;POINT (-39.805527 -2.888844)'))) / (select extract(epoch from '2026-07-08 10:34:44'::timestamp) - extract(epoch from '2026-07-08 10:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805548 -2.888838)'), GeomFromEWKT('SRID=4674;POINT (-39.805527 -2.888844)'))) / (select extract(epoch from '2026-07-08 10:34:44'::timestamp) - extract(epoch from '2026-07-08 10:34: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'), 47862, 'SRID=4674;POINT (-39.805515 -2.888844)', '2026-07-08 10:34:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805527 -2.888844)'), GeomFromEWKT('SRID=4674;POINT (-39.805515 -2.888844)'))) / (select extract(epoch from '2026-07-08 10:34:45'::timestamp) - extract(epoch from '2026-07-08 10:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805527 -2.888844)'), GeomFromEWKT('SRID=4674;POINT (-39.805515 -2.888844)'))) / (select extract(epoch from '2026-07-08 10:34:45'::timestamp) - extract(epoch from '2026-07-08 10:34: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'), 47862, 'SRID=4674;POINT (-39.805472 -2.888846)', '2026-07-08 10:34:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805515 -2.888844)'), GeomFromEWKT('SRID=4674;POINT (-39.805472 -2.888846)'))) / (select extract(epoch from '2026-07-08 10:34:51'::timestamp) - extract(epoch from '2026-07-08 10:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805515 -2.888844)'), GeomFromEWKT('SRID=4674;POINT (-39.805472 -2.888846)'))) / (select extract(epoch from '2026-07-08 10:34:51'::timestamp) - extract(epoch from '2026-07-08 10:34: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'), 47862, 'SRID=4674;POINT (-39.805484 -2.888845)', '2026-07-08 10:35:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805472 -2.888846)'), GeomFromEWKT('SRID=4674;POINT (-39.805484 -2.888845)'))) / (select extract(epoch from '2026-07-08 10:35:00'::timestamp) - extract(epoch from '2026-07-08 10:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805472 -2.888846)'), GeomFromEWKT('SRID=4674;POINT (-39.805484 -2.888845)'))) / (select extract(epoch from '2026-07-08 10:35:00'::timestamp) - extract(epoch from '2026-07-08 10:34: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'), 47862, 'SRID=4674;POINT (-39.80552 -2.888837)', '2026-07-08 10:35:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805484 -2.888845)'), GeomFromEWKT('SRID=4674;POINT (-39.80552 -2.888837)'))) / (select extract(epoch from '2026-07-08 10:35:08'::timestamp) - extract(epoch from '2026-07-08 10:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805484 -2.888845)'), GeomFromEWKT('SRID=4674;POINT (-39.80552 -2.888837)'))) / (select extract(epoch from '2026-07-08 10:35:08'::timestamp) - extract(epoch from '2026-07-08 10:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805561 -2.888815)', '2026-07-08 10:35:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80552 -2.888837)'), GeomFromEWKT('SRID=4674;POINT (-39.805561 -2.888815)'))) / (select extract(epoch from '2026-07-08 10:35:17'::timestamp) - extract(epoch from '2026-07-08 10:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80552 -2.888837)'), GeomFromEWKT('SRID=4674;POINT (-39.805561 -2.888815)'))) / (select extract(epoch from '2026-07-08 10:35:17'::timestamp) - extract(epoch from '2026-07-08 10:35: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'), 47862, 'SRID=4674;POINT (-39.805594 -2.888794)', '2026-07-08 10:35:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805561 -2.888815)'), GeomFromEWKT('SRID=4674;POINT (-39.805594 -2.888794)'))) / (select extract(epoch from '2026-07-08 10:35:25'::timestamp) - extract(epoch from '2026-07-08 10:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805561 -2.888815)'), GeomFromEWKT('SRID=4674;POINT (-39.805594 -2.888794)'))) / (select extract(epoch from '2026-07-08 10:35:25'::timestamp) - extract(epoch from '2026-07-08 10:35: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'), 47862, 'SRID=4674;POINT (-39.805616 -2.888772)', '2026-07-08 10:35:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805594 -2.888794)'), GeomFromEWKT('SRID=4674;POINT (-39.805616 -2.888772)'))) / (select extract(epoch from '2026-07-08 10:35:31'::timestamp) - extract(epoch from '2026-07-08 10:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805594 -2.888794)'), GeomFromEWKT('SRID=4674;POINT (-39.805616 -2.888772)'))) / (select extract(epoch from '2026-07-08 10:35:31'::timestamp) - extract(epoch from '2026-07-08 10:35:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805634 -2.888754)', '2026-07-08 10:35:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805616 -2.888772)'), GeomFromEWKT('SRID=4674;POINT (-39.805634 -2.888754)'))) / (select extract(epoch from '2026-07-08 10:35:36'::timestamp) - extract(epoch from '2026-07-08 10:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805616 -2.888772)'), GeomFromEWKT('SRID=4674;POINT (-39.805634 -2.888754)'))) / (select extract(epoch from '2026-07-08 10:35:36'::timestamp) - extract(epoch from '2026-07-08 10:35:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.80566 -2.888724)', '2026-07-08 10:35:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805634 -2.888754)'), GeomFromEWKT('SRID=4674;POINT (-39.80566 -2.888724)'))) / (select extract(epoch from '2026-07-08 10:35:46'::timestamp) - extract(epoch from '2026-07-08 10:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805634 -2.888754)'), GeomFromEWKT('SRID=4674;POINT (-39.80566 -2.888724)'))) / (select extract(epoch from '2026-07-08 10:35:46'::timestamp) - extract(epoch from '2026-07-08 10:35:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805687 -2.888693)', '2026-07-08 10:35:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80566 -2.888724)'), GeomFromEWKT('SRID=4674;POINT (-39.805687 -2.888693)'))) / (select extract(epoch from '2026-07-08 10:35:56'::timestamp) - extract(epoch from '2026-07-08 10:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80566 -2.888724)'), GeomFromEWKT('SRID=4674;POINT (-39.805687 -2.888693)'))) / (select extract(epoch from '2026-07-08 10:35:56'::timestamp) - extract(epoch from '2026-07-08 10:35: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'), 47862, 'SRID=4674;POINT (-39.80571 -2.888676)', '2026-07-08 10:36:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805687 -2.888693)'), GeomFromEWKT('SRID=4674;POINT (-39.80571 -2.888676)'))) / (select extract(epoch from '2026-07-08 10:36:03'::timestamp) - extract(epoch from '2026-07-08 10:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805687 -2.888693)'), GeomFromEWKT('SRID=4674;POINT (-39.80571 -2.888676)'))) / (select extract(epoch from '2026-07-08 10:36:03'::timestamp) - extract(epoch from '2026-07-08 10:35:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805732 -2.888654)', '2026-07-08 10:36:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80571 -2.888676)'), GeomFromEWKT('SRID=4674;POINT (-39.805732 -2.888654)'))) / (select extract(epoch from '2026-07-08 10:36:11'::timestamp) - extract(epoch from '2026-07-08 10:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80571 -2.888676)'), GeomFromEWKT('SRID=4674;POINT (-39.805732 -2.888654)'))) / (select extract(epoch from '2026-07-08 10:36:11'::timestamp) - extract(epoch from '2026-07-08 10:36: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'), 47862, 'SRID=4674;POINT (-39.805773 -2.888619)', '2026-07-08 10:36:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805732 -2.888654)'), GeomFromEWKT('SRID=4674;POINT (-39.805773 -2.888619)'))) / (select extract(epoch from '2026-07-08 10:36:21'::timestamp) - extract(epoch from '2026-07-08 10:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805732 -2.888654)'), GeomFromEWKT('SRID=4674;POINT (-39.805773 -2.888619)'))) / (select extract(epoch from '2026-07-08 10:36:21'::timestamp) - extract(epoch from '2026-07-08 10:36: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'), 47862, 'SRID=4674;POINT (-39.805793 -2.888583)', '2026-07-08 10:36:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805773 -2.888619)'), GeomFromEWKT('SRID=4674;POINT (-39.805793 -2.888583)'))) / (select extract(epoch from '2026-07-08 10:36:32'::timestamp) - extract(epoch from '2026-07-08 10:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805773 -2.888619)'), GeomFromEWKT('SRID=4674;POINT (-39.805793 -2.888583)'))) / (select extract(epoch from '2026-07-08 10:36:32'::timestamp) - extract(epoch from '2026-07-08 10:36: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'), 47862, 'SRID=4674;POINT (-39.805799 -2.88859)', '2026-07-08 10:36:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805793 -2.888583)'), GeomFromEWKT('SRID=4674;POINT (-39.805799 -2.88859)'))) / (select extract(epoch from '2026-07-08 10:36:44'::timestamp) - extract(epoch from '2026-07-08 10:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805793 -2.888583)'), GeomFromEWKT('SRID=4674;POINT (-39.805799 -2.88859)'))) / (select extract(epoch from '2026-07-08 10:36:44'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805813 -2.888602)', '2026-07-08 10:36:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805799 -2.88859)'), GeomFromEWKT('SRID=4674;POINT (-39.805813 -2.888602)'))) / (select extract(epoch from '2026-07-08 10:36:52'::timestamp) - extract(epoch from '2026-07-08 10:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805799 -2.88859)'), GeomFromEWKT('SRID=4674;POINT (-39.805813 -2.888602)'))) / (select extract(epoch from '2026-07-08 10:36:52'::timestamp) - extract(epoch from '2026-07-08 10:36: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'), 47862, 'SRID=4674;POINT (-39.805819 -2.888609)', '2026-07-08 10:36:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805813 -2.888602)'), GeomFromEWKT('SRID=4674;POINT (-39.805819 -2.888609)'))) / (select extract(epoch from '2026-07-08 10:36:54'::timestamp) - extract(epoch from '2026-07-08 10:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805813 -2.888602)'), GeomFromEWKT('SRID=4674;POINT (-39.805819 -2.888609)'))) / (select extract(epoch from '2026-07-08 10:36:54'::timestamp) - extract(epoch from '2026-07-08 10:36:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805825 -2.888614)', '2026-07-08 10:36:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805819 -2.888609)'), GeomFromEWKT('SRID=4674;POINT (-39.805825 -2.888614)'))) / (select extract(epoch from '2026-07-08 10:36:58'::timestamp) - extract(epoch from '2026-07-08 10:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805819 -2.888609)'), GeomFromEWKT('SRID=4674;POINT (-39.805825 -2.888614)'))) / (select extract(epoch from '2026-07-08 10:36:58'::timestamp) - extract(epoch from '2026-07-08 10:36: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'), 47862, 'SRID=4674;POINT (-39.805842 -2.888632)', '2026-07-08 10:37:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805825 -2.888614)'), GeomFromEWKT('SRID=4674;POINT (-39.805842 -2.888632)'))) / (select extract(epoch from '2026-07-08 10:37:08'::timestamp) - extract(epoch from '2026-07-08 10:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805825 -2.888614)'), GeomFromEWKT('SRID=4674;POINT (-39.805842 -2.888632)'))) / (select extract(epoch from '2026-07-08 10:37:08'::timestamp) - extract(epoch from '2026-07-08 10:36: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'), 47862, 'SRID=4674;POINT (-39.80585 -2.888652)', '2026-07-08 10:37:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805842 -2.888632)'), GeomFromEWKT('SRID=4674;POINT (-39.80585 -2.888652)'))) / (select extract(epoch from '2026-07-08 10:37:19'::timestamp) - extract(epoch from '2026-07-08 10:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805842 -2.888632)'), GeomFromEWKT('SRID=4674;POINT (-39.80585 -2.888652)'))) / (select extract(epoch from '2026-07-08 10:37:19'::timestamp) - extract(epoch from '2026-07-08 10:37: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'), 47862, 'SRID=4674;POINT (-39.805855 -2.888663)', '2026-07-08 10:37:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80585 -2.888652)'), GeomFromEWKT('SRID=4674;POINT (-39.805855 -2.888663)'))) / (select extract(epoch from '2026-07-08 10:37:27'::timestamp) - extract(epoch from '2026-07-08 10:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80585 -2.888652)'), GeomFromEWKT('SRID=4674;POINT (-39.805855 -2.888663)'))) / (select extract(epoch from '2026-07-08 10:37:27'::timestamp) - extract(epoch from '2026-07-08 10:37:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805861 -2.888674)', '2026-07-08 10:37:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805855 -2.888663)'), GeomFromEWKT('SRID=4674;POINT (-39.805861 -2.888674)'))) / (select extract(epoch from '2026-07-08 10:37:37'::timestamp) - extract(epoch from '2026-07-08 10:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805855 -2.888663)'), GeomFromEWKT('SRID=4674;POINT (-39.805861 -2.888674)'))) / (select extract(epoch from '2026-07-08 10:37:37'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805863 -2.888687)', '2026-07-08 10:37:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805861 -2.888674)'), GeomFromEWKT('SRID=4674;POINT (-39.805863 -2.888687)'))) / (select extract(epoch from '2026-07-08 10:37:48'::timestamp) - extract(epoch from '2026-07-08 10:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805861 -2.888674)'), GeomFromEWKT('SRID=4674;POINT (-39.805863 -2.888687)'))) / (select extract(epoch from '2026-07-08 10:37:48'::timestamp) - extract(epoch from '2026-07-08 10:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805867 -2.888693)', '2026-07-08 10:37:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805863 -2.888687)'), GeomFromEWKT('SRID=4674;POINT (-39.805867 -2.888693)'))) / (select extract(epoch from '2026-07-08 10:37:57'::timestamp) - extract(epoch from '2026-07-08 10:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805863 -2.888687)'), GeomFromEWKT('SRID=4674;POINT (-39.805867 -2.888693)'))) / (select extract(epoch from '2026-07-08 10:37:57'::timestamp) - extract(epoch from '2026-07-08 10:37: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'), 47862, 'SRID=4674;POINT (-39.805869 -2.888692)', '2026-07-08 10:38:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805867 -2.888693)'), GeomFromEWKT('SRID=4674;POINT (-39.805869 -2.888692)'))) / (select extract(epoch from '2026-07-08 10:38:11'::timestamp) - extract(epoch from '2026-07-08 10:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805867 -2.888693)'), GeomFromEWKT('SRID=4674;POINT (-39.805869 -2.888692)'))) / (select extract(epoch from '2026-07-08 10:38:11'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.80587 -2.888689)', '2026-07-08 10:38:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805869 -2.888692)'), GeomFromEWKT('SRID=4674;POINT (-39.80587 -2.888689)'))) / (select extract(epoch from '2026-07-08 10:38:18'::timestamp) - extract(epoch from '2026-07-08 10:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805869 -2.888692)'), GeomFromEWKT('SRID=4674;POINT (-39.80587 -2.888689)'))) / (select extract(epoch from '2026-07-08 10:38:18'::timestamp) - extract(epoch from '2026-07-08 10:38: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'), 47862, 'SRID=4674;POINT (-39.805876 -2.888703)', '2026-07-08 10:38:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80587 -2.888689)'), GeomFromEWKT('SRID=4674;POINT (-39.805876 -2.888703)'))) / (select extract(epoch from '2026-07-08 10:38:29'::timestamp) - extract(epoch from '2026-07-08 10:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80587 -2.888689)'), GeomFromEWKT('SRID=4674;POINT (-39.805876 -2.888703)'))) / (select extract(epoch from '2026-07-08 10:38:29'::timestamp) - extract(epoch from '2026-07-08 10:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805877 -2.888702)', '2026-07-08 10:38:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805876 -2.888703)'), GeomFromEWKT('SRID=4674;POINT (-39.805877 -2.888702)'))) / (select extract(epoch from '2026-07-08 10:38:43'::timestamp) - extract(epoch from '2026-07-08 10:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805876 -2.888703)'), GeomFromEWKT('SRID=4674;POINT (-39.805877 -2.888702)'))) / (select extract(epoch from '2026-07-08 10:38:43'::timestamp) - extract(epoch from '2026-07-08 10: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'), 47862, 'SRID=4674;POINT (-39.805881 -2.888701)', '2026-07-08 10:38:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805877 -2.888702)'), GeomFromEWKT('SRID=4674;POINT (-39.805881 -2.888701)'))) / (select extract(epoch from '2026-07-08 10:38:52'::timestamp) - extract(epoch from '2026-07-08 10:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805877 -2.888702)'), GeomFromEWKT('SRID=4674;POINT (-39.805881 -2.888701)'))) / (select extract(epoch from '2026-07-08 10:38:52'::timestamp) - extract(epoch from '2026-07-08 10:38: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'), 47862, 'SRID=4674;POINT (-39.805883 -2.888699)', '2026-07-08 10:39:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805881 -2.888701)'), GeomFromEWKT('SRID=4674;POINT (-39.805883 -2.888699)'))) / (select extract(epoch from '2026-07-08 10:39:02'::timestamp) - extract(epoch from '2026-07-08 10:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805881 -2.888701)'), GeomFromEWKT('SRID=4674;POINT (-39.805883 -2.888699)'))) / (select extract(epoch from '2026-07-08 10:39:02'::timestamp) - extract(epoch from '2026-07-08 10:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805884 -2.888699)', '2026-07-08 10:39:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805883 -2.888699)'), GeomFromEWKT('SRID=4674;POINT (-39.805884 -2.888699)'))) / (select extract(epoch from '2026-07-08 10:39:13'::timestamp) - extract(epoch from '2026-07-08 10:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805883 -2.888699)'), GeomFromEWKT('SRID=4674;POINT (-39.805884 -2.888699)'))) / (select extract(epoch from '2026-07-08 10:39:13'::timestamp) - extract(epoch from '2026-07-08 10:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805878 -2.88869)', '2026-07-08 10:39:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805884 -2.888699)'), GeomFromEWKT('SRID=4674;POINT (-39.805878 -2.88869)'))) / (select extract(epoch from '2026-07-08 10:39:24'::timestamp) - extract(epoch from '2026-07-08 10:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805884 -2.888699)'), GeomFromEWKT('SRID=4674;POINT (-39.805878 -2.88869)'))) / (select extract(epoch from '2026-07-08 10:39:24'::timestamp) - extract(epoch from '2026-07-08 10:39: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'), 47862, 'SRID=4674;POINT (-39.805875 -2.888685)', '2026-07-08 10:39:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805878 -2.88869)'), GeomFromEWKT('SRID=4674;POINT (-39.805875 -2.888685)'))) / (select extract(epoch from '2026-07-08 10:39:38'::timestamp) - extract(epoch from '2026-07-08 10:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805878 -2.88869)'), GeomFromEWKT('SRID=4674;POINT (-39.805875 -2.888685)'))) / (select extract(epoch from '2026-07-08 10:39:38'::timestamp) - extract(epoch from '2026-07-08 10:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805875 -2.888678)', '2026-07-08 10:39:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805875 -2.888685)'), GeomFromEWKT('SRID=4674;POINT (-39.805875 -2.888678)'))) / (select extract(epoch from '2026-07-08 10:39:48'::timestamp) - extract(epoch from '2026-07-08 10:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805875 -2.888685)'), GeomFromEWKT('SRID=4674;POINT (-39.805875 -2.888678)'))) / (select extract(epoch from '2026-07-08 10:39:48'::timestamp) - extract(epoch from '2026-07-08 10:39:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.805878 -2.88868)', '2026-07-08 10:39:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805875 -2.888678)'), GeomFromEWKT('SRID=4674;POINT (-39.805878 -2.88868)'))) / (select extract(epoch from '2026-07-08 10:39:56'::timestamp) - extract(epoch from '2026-07-08 10:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.805875 -2.888678)'), GeomFromEWKT('SRID=4674;POINT (-39.805878 -2.88868)'))) / (select extract(epoch from '2026-07-08 10:39:56'::timestamp) - extract(epoch from '2026-07-08 10:39:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
