BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028993 -3.4033)', '2026-07-20 16:24:26', -13.6, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.02904 -3.403187)', '2026-07-20 16:24:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028993 -3.4033)'), GeomFromEWKT('SRID=4674;POINT (-39.02904 -3.403187)'))) / (select extract(epoch from '2026-07-20 16:24:33'::timestamp) - extract(epoch from '2026-07-20 16:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028993 -3.4033)'), GeomFromEWKT('SRID=4674;POINT (-39.02904 -3.403187)'))) / (select extract(epoch from '2026-07-20 16:24:33'::timestamp) - extract(epoch from '2026-07-20 16:24:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029105 -3.403039)', '2026-07-20 16:24:40', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02904 -3.403187)'), GeomFromEWKT('SRID=4674;POINT (-39.029105 -3.403039)'))) / (select extract(epoch from '2026-07-20 16:24:40'::timestamp) - extract(epoch from '2026-07-20 16:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02904 -3.403187)'), GeomFromEWKT('SRID=4674;POINT (-39.029105 -3.403039)'))) / (select extract(epoch from '2026-07-20 16:24:40'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029109 -3.40291)', '2026-07-20 16:24:46', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029105 -3.403039)'), GeomFromEWKT('SRID=4674;POINT (-39.029109 -3.40291)'))) / (select extract(epoch from '2026-07-20 16:24:46'::timestamp) - extract(epoch from '2026-07-20 16:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029105 -3.403039)'), GeomFromEWKT('SRID=4674;POINT (-39.029109 -3.40291)'))) / (select extract(epoch from '2026-07-20 16:24:46'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029111 -3.402777)', '2026-07-20 16:24:52', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029109 -3.40291)'), GeomFromEWKT('SRID=4674;POINT (-39.029111 -3.402777)'))) / (select extract(epoch from '2026-07-20 16:24:52'::timestamp) - extract(epoch from '2026-07-20 16:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029109 -3.40291)'), GeomFromEWKT('SRID=4674;POINT (-39.029111 -3.402777)'))) / (select extract(epoch from '2026-07-20 16:24:52'::timestamp) - extract(epoch from '2026-07-20 16:24:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029182 -3.402463)', '2026-07-20 16:24:58', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029111 -3.402777)'), GeomFromEWKT('SRID=4674;POINT (-39.029182 -3.402463)'))) / (select extract(epoch from '2026-07-20 16:24:58'::timestamp) - extract(epoch from '2026-07-20 16:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029111 -3.402777)'), GeomFromEWKT('SRID=4674;POINT (-39.029182 -3.402463)'))) / (select extract(epoch from '2026-07-20 16:24:58'::timestamp) - extract(epoch from '2026-07-20 16:24:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029381 -3.402123)', '2026-07-20 16:25:05', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029182 -3.402463)'), GeomFromEWKT('SRID=4674;POINT (-39.029381 -3.402123)'))) / (select extract(epoch from '2026-07-20 16:25:05'::timestamp) - extract(epoch from '2026-07-20 16:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029182 -3.402463)'), GeomFromEWKT('SRID=4674;POINT (-39.029381 -3.402123)'))) / (select extract(epoch from '2026-07-20 16:25:05'::timestamp) - extract(epoch from '2026-07-20 16:24:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029441 -3.401969)', '2026-07-20 16:25:11', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029381 -3.402123)'), GeomFromEWKT('SRID=4674;POINT (-39.029441 -3.401969)'))) / (select extract(epoch from '2026-07-20 16:25:11'::timestamp) - extract(epoch from '2026-07-20 16:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029381 -3.402123)'), GeomFromEWKT('SRID=4674;POINT (-39.029441 -3.401969)'))) / (select extract(epoch from '2026-07-20 16:25:11'::timestamp) - extract(epoch from '2026-07-20 16:25: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'), 47443, 'SRID=4674;POINT (-39.029487 -3.401836)', '2026-07-20 16:25:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029441 -3.401969)'), GeomFromEWKT('SRID=4674;POINT (-39.029487 -3.401836)'))) / (select extract(epoch from '2026-07-20 16:25:17'::timestamp) - extract(epoch from '2026-07-20 16:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029441 -3.401969)'), GeomFromEWKT('SRID=4674;POINT (-39.029487 -3.401836)'))) / (select extract(epoch from '2026-07-20 16:25:17'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029524 -3.401706)', '2026-07-20 16:25:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029487 -3.401836)'), GeomFromEWKT('SRID=4674;POINT (-39.029524 -3.401706)'))) / (select extract(epoch from '2026-07-20 16:25:23'::timestamp) - extract(epoch from '2026-07-20 16:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029487 -3.401836)'), GeomFromEWKT('SRID=4674;POINT (-39.029524 -3.401706)'))) / (select extract(epoch from '2026-07-20 16:25:23'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029576 -3.401543)', '2026-07-20 16:25:30', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029524 -3.401706)'), GeomFromEWKT('SRID=4674;POINT (-39.029576 -3.401543)'))) / (select extract(epoch from '2026-07-20 16:25:30'::timestamp) - extract(epoch from '2026-07-20 16:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029524 -3.401706)'), GeomFromEWKT('SRID=4674;POINT (-39.029576 -3.401543)'))) / (select extract(epoch from '2026-07-20 16:25:30'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029638 -3.401335)', '2026-07-20 16:25:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029576 -3.401543)'), GeomFromEWKT('SRID=4674;POINT (-39.029638 -3.401335)'))) / (select extract(epoch from '2026-07-20 16:25:39'::timestamp) - extract(epoch from '2026-07-20 16:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029576 -3.401543)'), GeomFromEWKT('SRID=4674;POINT (-39.029638 -3.401335)'))) / (select extract(epoch from '2026-07-20 16:25:39'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029664 -3.40121)', '2026-07-20 16:25:45', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029638 -3.401335)'), GeomFromEWKT('SRID=4674;POINT (-39.029664 -3.40121)'))) / (select extract(epoch from '2026-07-20 16:25:45'::timestamp) - extract(epoch from '2026-07-20 16:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029638 -3.401335)'), GeomFromEWKT('SRID=4674;POINT (-39.029664 -3.40121)'))) / (select extract(epoch from '2026-07-20 16:25:45'::timestamp) - extract(epoch from '2026-07-20 16:25: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'), 47443, 'SRID=4674;POINT (-39.029672 -3.401089)', '2026-07-20 16:25:51', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029664 -3.40121)'), GeomFromEWKT('SRID=4674;POINT (-39.029672 -3.401089)'))) / (select extract(epoch from '2026-07-20 16:25:51'::timestamp) - extract(epoch from '2026-07-20 16:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029664 -3.40121)'), GeomFromEWKT('SRID=4674;POINT (-39.029672 -3.401089)'))) / (select extract(epoch from '2026-07-20 16:25:51'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.02968 -3.400963)', '2026-07-20 16:25:57', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029672 -3.401089)'), GeomFromEWKT('SRID=4674;POINT (-39.02968 -3.400963)'))) / (select extract(epoch from '2026-07-20 16:25:57'::timestamp) - extract(epoch from '2026-07-20 16:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029672 -3.401089)'), GeomFromEWKT('SRID=4674;POINT (-39.02968 -3.400963)'))) / (select extract(epoch from '2026-07-20 16:25:57'::timestamp) - extract(epoch from '2026-07-20 16:25: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'), 47443, 'SRID=4674;POINT (-39.029679 -3.400943)', '2026-07-20 16:25:58', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02968 -3.400963)'), GeomFromEWKT('SRID=4674;POINT (-39.029679 -3.400943)'))) / (select extract(epoch from '2026-07-20 16:25:58'::timestamp) - extract(epoch from '2026-07-20 16:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02968 -3.400963)'), GeomFromEWKT('SRID=4674;POINT (-39.029679 -3.400943)'))) / (select extract(epoch from '2026-07-20 16:25:58'::timestamp) - extract(epoch from '2026-07-20 16:25: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'), 47443, 'SRID=4674;POINT (-39.029674 -3.40086)', '2026-07-20 16:26:02', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029679 -3.400943)'), GeomFromEWKT('SRID=4674;POINT (-39.029674 -3.40086)'))) / (select extract(epoch from '2026-07-20 16:26:02'::timestamp) - extract(epoch from '2026-07-20 16:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029679 -3.400943)'), GeomFromEWKT('SRID=4674;POINT (-39.029674 -3.40086)'))) / (select extract(epoch from '2026-07-20 16:26:02'::timestamp) - extract(epoch from '2026-07-20 16:25: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'), 47443, 'SRID=4674;POINT (-39.029681 -3.400756)', '2026-07-20 16:26:07', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029674 -3.40086)'), GeomFromEWKT('SRID=4674;POINT (-39.029681 -3.400756)'))) / (select extract(epoch from '2026-07-20 16:26:07'::timestamp) - extract(epoch from '2026-07-20 16:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029674 -3.40086)'), GeomFromEWKT('SRID=4674;POINT (-39.029681 -3.400756)'))) / (select extract(epoch from '2026-07-20 16:26:07'::timestamp) - extract(epoch from '2026-07-20 16:26:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029687 -3.400611)', '2026-07-20 16:26:14', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029681 -3.400756)'), GeomFromEWKT('SRID=4674;POINT (-39.029687 -3.400611)'))) / (select extract(epoch from '2026-07-20 16:26:14'::timestamp) - extract(epoch from '2026-07-20 16:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029681 -3.400756)'), GeomFromEWKT('SRID=4674;POINT (-39.029687 -3.400611)'))) / (select extract(epoch from '2026-07-20 16:26:14'::timestamp) - extract(epoch from '2026-07-20 16:26: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'), 47443, 'SRID=4674;POINT (-39.029689 -3.400481)', '2026-07-20 16:26:20', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029687 -3.400611)'), GeomFromEWKT('SRID=4674;POINT (-39.029689 -3.400481)'))) / (select extract(epoch from '2026-07-20 16:26:20'::timestamp) - extract(epoch from '2026-07-20 16:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029687 -3.400611)'), GeomFromEWKT('SRID=4674;POINT (-39.029689 -3.400481)'))) / (select extract(epoch from '2026-07-20 16:26:20'::timestamp) - extract(epoch from '2026-07-20 16:26:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029685 -3.400338)', '2026-07-20 16:26:27', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029689 -3.400481)'), GeomFromEWKT('SRID=4674;POINT (-39.029685 -3.400338)'))) / (select extract(epoch from '2026-07-20 16:26:27'::timestamp) - extract(epoch from '2026-07-20 16:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029689 -3.400481)'), GeomFromEWKT('SRID=4674;POINT (-39.029685 -3.400338)'))) / (select extract(epoch from '2026-07-20 16:26:27'::timestamp) - extract(epoch from '2026-07-20 16:26:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029673 -3.400202)', '2026-07-20 16:26:34', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029685 -3.400338)'), GeomFromEWKT('SRID=4674;POINT (-39.029673 -3.400202)'))) / (select extract(epoch from '2026-07-20 16:26:34'::timestamp) - extract(epoch from '2026-07-20 16:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029685 -3.400338)'), GeomFromEWKT('SRID=4674;POINT (-39.029673 -3.400202)'))) / (select extract(epoch from '2026-07-20 16:26:34'::timestamp) - extract(epoch from '2026-07-20 16:26: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'), 47443, 'SRID=4674;POINT (-39.029672 -3.400099)', '2026-07-20 16:26:39', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029673 -3.400202)'), GeomFromEWKT('SRID=4674;POINT (-39.029672 -3.400099)'))) / (select extract(epoch from '2026-07-20 16:26:39'::timestamp) - extract(epoch from '2026-07-20 16:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029673 -3.400202)'), GeomFromEWKT('SRID=4674;POINT (-39.029672 -3.400099)'))) / (select extract(epoch from '2026-07-20 16:26:39'::timestamp) - extract(epoch from '2026-07-20 16:26: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'), 47443, 'SRID=4674;POINT (-39.029667 -3.399971)', '2026-07-20 16:26:45', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029672 -3.400099)'), GeomFromEWKT('SRID=4674;POINT (-39.029667 -3.399971)'))) / (select extract(epoch from '2026-07-20 16:26:45'::timestamp) - extract(epoch from '2026-07-20 16:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029672 -3.400099)'), GeomFromEWKT('SRID=4674;POINT (-39.029667 -3.399971)'))) / (select extract(epoch from '2026-07-20 16:26:45'::timestamp) - extract(epoch from '2026-07-20 16:26: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'), 47443, 'SRID=4674;POINT (-39.029649 -3.399842)', '2026-07-20 16:26:51', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029667 -3.399971)'), GeomFromEWKT('SRID=4674;POINT (-39.029649 -3.399842)'))) / (select extract(epoch from '2026-07-20 16:26:51'::timestamp) - extract(epoch from '2026-07-20 16:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029667 -3.399971)'), GeomFromEWKT('SRID=4674;POINT (-39.029649 -3.399842)'))) / (select extract(epoch from '2026-07-20 16:26:51'::timestamp) - extract(epoch from '2026-07-20 16:26: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'), 47443, 'SRID=4674;POINT (-39.029643 -3.399719)', '2026-07-20 16:26:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029649 -3.399842)'), GeomFromEWKT('SRID=4674;POINT (-39.029643 -3.399719)'))) / (select extract(epoch from '2026-07-20 16:26:57'::timestamp) - extract(epoch from '2026-07-20 16:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029649 -3.399842)'), GeomFromEWKT('SRID=4674;POINT (-39.029643 -3.399719)'))) / (select extract(epoch from '2026-07-20 16:26:57'::timestamp) - extract(epoch from '2026-07-20 16:26:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029645 -3.399699)', '2026-07-20 16:26:58', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029643 -3.399719)'), GeomFromEWKT('SRID=4674;POINT (-39.029645 -3.399699)'))) / (select extract(epoch from '2026-07-20 16:26:58'::timestamp) - extract(epoch from '2026-07-20 16:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029643 -3.399719)'), GeomFromEWKT('SRID=4674;POINT (-39.029645 -3.399699)'))) / (select extract(epoch from '2026-07-20 16:26:58'::timestamp) - extract(epoch from '2026-07-20 16:26:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029648 -3.399616)', '2026-07-20 16:27:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029645 -3.399699)'), GeomFromEWKT('SRID=4674;POINT (-39.029648 -3.399616)'))) / (select extract(epoch from '2026-07-20 16:27:02'::timestamp) - extract(epoch from '2026-07-20 16:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029645 -3.399699)'), GeomFromEWKT('SRID=4674;POINT (-39.029648 -3.399616)'))) / (select extract(epoch from '2026-07-20 16:27:02'::timestamp) - extract(epoch from '2026-07-20 16:26:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029643 -3.399475)', '2026-07-20 16:27:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029648 -3.399616)'), GeomFromEWKT('SRID=4674;POINT (-39.029643 -3.399475)'))) / (select extract(epoch from '2026-07-20 16:27:09'::timestamp) - extract(epoch from '2026-07-20 16:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029648 -3.399616)'), GeomFromEWKT('SRID=4674;POINT (-39.029643 -3.399475)'))) / (select extract(epoch from '2026-07-20 16:27:09'::timestamp) - extract(epoch from '2026-07-20 16:27: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'), 47443, 'SRID=4674;POINT (-39.029634 -3.399323)', '2026-07-20 16:27:16', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029643 -3.399475)'), GeomFromEWKT('SRID=4674;POINT (-39.029634 -3.399323)'))) / (select extract(epoch from '2026-07-20 16:27:16'::timestamp) - extract(epoch from '2026-07-20 16:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029643 -3.399475)'), GeomFromEWKT('SRID=4674;POINT (-39.029634 -3.399323)'))) / (select extract(epoch from '2026-07-20 16:27:16'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029613 -3.399134)', '2026-07-20 16:27:25', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029634 -3.399323)'), GeomFromEWKT('SRID=4674;POINT (-39.029613 -3.399134)'))) / (select extract(epoch from '2026-07-20 16:27:25'::timestamp) - extract(epoch from '2026-07-20 16:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029634 -3.399323)'), GeomFromEWKT('SRID=4674;POINT (-39.029613 -3.399134)'))) / (select extract(epoch from '2026-07-20 16:27:25'::timestamp) - extract(epoch from '2026-07-20 16:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029609 -3.399012)', '2026-07-20 16:27:31', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029613 -3.399134)'), GeomFromEWKT('SRID=4674;POINT (-39.029609 -3.399012)'))) / (select extract(epoch from '2026-07-20 16:27:31'::timestamp) - extract(epoch from '2026-07-20 16:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029613 -3.399134)'), GeomFromEWKT('SRID=4674;POINT (-39.029609 -3.399012)'))) / (select extract(epoch from '2026-07-20 16:27:31'::timestamp) - extract(epoch from '2026-07-20 16:27: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'), 47443, 'SRID=4674;POINT (-39.029608 -3.398931)', '2026-07-20 16:27:35', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029609 -3.399012)'), GeomFromEWKT('SRID=4674;POINT (-39.029608 -3.398931)'))) / (select extract(epoch from '2026-07-20 16:27:35'::timestamp) - extract(epoch from '2026-07-20 16:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029609 -3.399012)'), GeomFromEWKT('SRID=4674;POINT (-39.029608 -3.398931)'))) / (select extract(epoch from '2026-07-20 16:27:35'::timestamp) - extract(epoch from '2026-07-20 16:27: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'), 47443, 'SRID=4674;POINT (-39.029588 -3.398807)', '2026-07-20 16:27:41', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029608 -3.398931)'), GeomFromEWKT('SRID=4674;POINT (-39.029588 -3.398807)'))) / (select extract(epoch from '2026-07-20 16:27:41'::timestamp) - extract(epoch from '2026-07-20 16:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029608 -3.398931)'), GeomFromEWKT('SRID=4674;POINT (-39.029588 -3.398807)'))) / (select extract(epoch from '2026-07-20 16:27:41'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029572 -3.398667)', '2026-07-20 16:27:48', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029588 -3.398807)'), GeomFromEWKT('SRID=4674;POINT (-39.029572 -3.398667)'))) / (select extract(epoch from '2026-07-20 16:27:48'::timestamp) - extract(epoch from '2026-07-20 16:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029588 -3.398807)'), GeomFromEWKT('SRID=4674;POINT (-39.029572 -3.398667)'))) / (select extract(epoch from '2026-07-20 16:27:48'::timestamp) - extract(epoch from '2026-07-20 16:27:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029548 -3.398507)', '2026-07-20 16:27:56', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029572 -3.398667)'), GeomFromEWKT('SRID=4674;POINT (-39.029548 -3.398507)'))) / (select extract(epoch from '2026-07-20 16:27:56'::timestamp) - extract(epoch from '2026-07-20 16:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029572 -3.398667)'), GeomFromEWKT('SRID=4674;POINT (-39.029548 -3.398507)'))) / (select extract(epoch from '2026-07-20 16:27:56'::timestamp) - extract(epoch from '2026-07-20 16:27: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'), 47443, 'SRID=4674;POINT (-39.029551 -3.398361)', '2026-07-20 16:28:03', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029548 -3.398507)'), GeomFromEWKT('SRID=4674;POINT (-39.029551 -3.398361)'))) / (select extract(epoch from '2026-07-20 16:28:03'::timestamp) - extract(epoch from '2026-07-20 16:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029548 -3.398507)'), GeomFromEWKT('SRID=4674;POINT (-39.029551 -3.398361)'))) / (select extract(epoch from '2026-07-20 16:28:03'::timestamp) - extract(epoch from '2026-07-20 16:27:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029552 -3.398243)', '2026-07-20 16:28:09', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029551 -3.398361)'), GeomFromEWKT('SRID=4674;POINT (-39.029552 -3.398243)'))) / (select extract(epoch from '2026-07-20 16:28:09'::timestamp) - extract(epoch from '2026-07-20 16:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029551 -3.398361)'), GeomFromEWKT('SRID=4674;POINT (-39.029552 -3.398243)'))) / (select extract(epoch from '2026-07-20 16:28:09'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029552 -3.398116)', '2026-07-20 16:28:15', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029552 -3.398243)'), GeomFromEWKT('SRID=4674;POINT (-39.029552 -3.398116)'))) / (select extract(epoch from '2026-07-20 16:28:15'::timestamp) - extract(epoch from '2026-07-20 16:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029552 -3.398243)'), GeomFromEWKT('SRID=4674;POINT (-39.029552 -3.398116)'))) / (select extract(epoch from '2026-07-20 16:28:15'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.02954 -3.398019)', '2026-07-20 16:28:20', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029552 -3.398116)'), GeomFromEWKT('SRID=4674;POINT (-39.02954 -3.398019)'))) / (select extract(epoch from '2026-07-20 16:28:20'::timestamp) - extract(epoch from '2026-07-20 16:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029552 -3.398116)'), GeomFromEWKT('SRID=4674;POINT (-39.02954 -3.398019)'))) / (select extract(epoch from '2026-07-20 16:28:20'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029534 -3.397921)', '2026-07-20 16:28:25', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02954 -3.398019)'), GeomFromEWKT('SRID=4674;POINT (-39.029534 -3.397921)'))) / (select extract(epoch from '2026-07-20 16:28:25'::timestamp) - extract(epoch from '2026-07-20 16:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02954 -3.398019)'), GeomFromEWKT('SRID=4674;POINT (-39.029534 -3.397921)'))) / (select extract(epoch from '2026-07-20 16:28:25'::timestamp) - extract(epoch from '2026-07-20 16:28: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'), 47443, 'SRID=4674;POINT (-39.029537 -3.397799)', '2026-07-20 16:28:31', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029534 -3.397921)'), GeomFromEWKT('SRID=4674;POINT (-39.029537 -3.397799)'))) / (select extract(epoch from '2026-07-20 16:28:31'::timestamp) - extract(epoch from '2026-07-20 16:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029534 -3.397921)'), GeomFromEWKT('SRID=4674;POINT (-39.029537 -3.397799)'))) / (select extract(epoch from '2026-07-20 16:28:31'::timestamp) - extract(epoch from '2026-07-20 16:28:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029542 -3.397672)', '2026-07-20 16:28:37', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029537 -3.397799)'), GeomFromEWKT('SRID=4674;POINT (-39.029542 -3.397672)'))) / (select extract(epoch from '2026-07-20 16:28:37'::timestamp) - extract(epoch from '2026-07-20 16:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029537 -3.397799)'), GeomFromEWKT('SRID=4674;POINT (-39.029542 -3.397672)'))) / (select extract(epoch from '2026-07-20 16:28:37'::timestamp) - extract(epoch from '2026-07-20 16:28: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'), 47443, 'SRID=4674;POINT (-39.029537 -3.397569)', '2026-07-20 16:28:42', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029542 -3.397672)'), GeomFromEWKT('SRID=4674;POINT (-39.029537 -3.397569)'))) / (select extract(epoch from '2026-07-20 16:28:42'::timestamp) - extract(epoch from '2026-07-20 16:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029542 -3.397672)'), GeomFromEWKT('SRID=4674;POINT (-39.029537 -3.397569)'))) / (select extract(epoch from '2026-07-20 16:28:42'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029543 -3.397463)', '2026-07-20 16:28:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029537 -3.397569)'), GeomFromEWKT('SRID=4674;POINT (-39.029543 -3.397463)'))) / (select extract(epoch from '2026-07-20 16:28:47'::timestamp) - extract(epoch from '2026-07-20 16:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029537 -3.397569)'), GeomFromEWKT('SRID=4674;POINT (-39.029543 -3.397463)'))) / (select extract(epoch from '2026-07-20 16:28:47'::timestamp) - extract(epoch from '2026-07-20 16:28:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029538 -3.3974)', '2026-07-20 16:28:50', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029543 -3.397463)'), GeomFromEWKT('SRID=4674;POINT (-39.029538 -3.3974)'))) / (select extract(epoch from '2026-07-20 16:28:50'::timestamp) - extract(epoch from '2026-07-20 16:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029543 -3.397463)'), GeomFromEWKT('SRID=4674;POINT (-39.029538 -3.3974)'))) / (select extract(epoch from '2026-07-20 16:28:50'::timestamp) - extract(epoch from '2026-07-20 16:28: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'), 47443, 'SRID=4674;POINT (-39.02954 -3.397359)', '2026-07-20 16:28:52', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029538 -3.3974)'), GeomFromEWKT('SRID=4674;POINT (-39.02954 -3.397359)'))) / (select extract(epoch from '2026-07-20 16:28:52'::timestamp) - extract(epoch from '2026-07-20 16:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029538 -3.3974)'), GeomFromEWKT('SRID=4674;POINT (-39.02954 -3.397359)'))) / (select extract(epoch from '2026-07-20 16:28:52'::timestamp) - extract(epoch from '2026-07-20 16:28: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'), 47443, 'SRID=4674;POINT (-39.029534 -3.397255)', '2026-07-20 16:28:57', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02954 -3.397359)'), GeomFromEWKT('SRID=4674;POINT (-39.029534 -3.397255)'))) / (select extract(epoch from '2026-07-20 16:28:57'::timestamp) - extract(epoch from '2026-07-20 16:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02954 -3.397359)'), GeomFromEWKT('SRID=4674;POINT (-39.029534 -3.397255)'))) / (select extract(epoch from '2026-07-20 16:28:57'::timestamp) - extract(epoch from '2026-07-20 16:28: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'), 47443, 'SRID=4674;POINT (-39.029536 -3.397131)', '2026-07-20 16:29:03', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029534 -3.397255)'), GeomFromEWKT('SRID=4674;POINT (-39.029536 -3.397131)'))) / (select extract(epoch from '2026-07-20 16:29:03'::timestamp) - extract(epoch from '2026-07-20 16:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029534 -3.397255)'), GeomFromEWKT('SRID=4674;POINT (-39.029536 -3.397131)'))) / (select extract(epoch from '2026-07-20 16:29:03'::timestamp) - extract(epoch from '2026-07-20 16:28: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'), 47443, 'SRID=4674;POINT (-39.029537 -3.397003)', '2026-07-20 16:29:09', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029536 -3.397131)'), GeomFromEWKT('SRID=4674;POINT (-39.029537 -3.397003)'))) / (select extract(epoch from '2026-07-20 16:29:09'::timestamp) - extract(epoch from '2026-07-20 16:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029536 -3.397131)'), GeomFromEWKT('SRID=4674;POINT (-39.029537 -3.397003)'))) / (select extract(epoch from '2026-07-20 16:29:09'::timestamp) - extract(epoch from '2026-07-20 16:29: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'), 47443, 'SRID=4674;POINT (-39.029527 -3.396882)', '2026-07-20 16:29:15', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029537 -3.397003)'), GeomFromEWKT('SRID=4674;POINT (-39.029527 -3.396882)'))) / (select extract(epoch from '2026-07-20 16:29:15'::timestamp) - extract(epoch from '2026-07-20 16:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029537 -3.397003)'), GeomFromEWKT('SRID=4674;POINT (-39.029527 -3.396882)'))) / (select extract(epoch from '2026-07-20 16:29:15'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029519 -3.39678)', '2026-07-20 16:29:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029527 -3.396882)'), GeomFromEWKT('SRID=4674;POINT (-39.029519 -3.39678)'))) / (select extract(epoch from '2026-07-20 16:29:20'::timestamp) - extract(epoch from '2026-07-20 16:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029527 -3.396882)'), GeomFromEWKT('SRID=4674;POINT (-39.029519 -3.39678)'))) / (select extract(epoch from '2026-07-20 16:29:20'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029513 -3.396657)', '2026-07-20 16:29:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029519 -3.39678)'), GeomFromEWKT('SRID=4674;POINT (-39.029513 -3.396657)'))) / (select extract(epoch from '2026-07-20 16:29:26'::timestamp) - extract(epoch from '2026-07-20 16:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029519 -3.39678)'), GeomFromEWKT('SRID=4674;POINT (-39.029513 -3.396657)'))) / (select extract(epoch from '2026-07-20 16:29:26'::timestamp) - extract(epoch from '2026-07-20 16:29: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'), 47443, 'SRID=4674;POINT (-39.029509 -3.396469)', '2026-07-20 16:29:35', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029513 -3.396657)'), GeomFromEWKT('SRID=4674;POINT (-39.029509 -3.396469)'))) / (select extract(epoch from '2026-07-20 16:29:35'::timestamp) - extract(epoch from '2026-07-20 16:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029513 -3.396657)'), GeomFromEWKT('SRID=4674;POINT (-39.029509 -3.396469)'))) / (select extract(epoch from '2026-07-20 16:29:35'::timestamp) - extract(epoch from '2026-07-20 16:29: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'), 47443, 'SRID=4674;POINT (-39.029493 -3.396329)', '2026-07-20 16:29:42', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029509 -3.396469)'), GeomFromEWKT('SRID=4674;POINT (-39.029493 -3.396329)'))) / (select extract(epoch from '2026-07-20 16:29:42'::timestamp) - extract(epoch from '2026-07-20 16:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029509 -3.396469)'), GeomFromEWKT('SRID=4674;POINT (-39.029493 -3.396329)'))) / (select extract(epoch from '2026-07-20 16:29:42'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029486 -3.396186)', '2026-07-20 16:29:49', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029493 -3.396329)'), GeomFromEWKT('SRID=4674;POINT (-39.029486 -3.396186)'))) / (select extract(epoch from '2026-07-20 16:29:49'::timestamp) - extract(epoch from '2026-07-20 16:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029493 -3.396329)'), GeomFromEWKT('SRID=4674;POINT (-39.029486 -3.396186)'))) / (select extract(epoch from '2026-07-20 16:29:49'::timestamp) - extract(epoch from '2026-07-20 16:29:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029481 -3.396082)', '2026-07-20 16:29:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029486 -3.396186)'), GeomFromEWKT('SRID=4674;POINT (-39.029481 -3.396082)'))) / (select extract(epoch from '2026-07-20 16:29:54'::timestamp) - extract(epoch from '2026-07-20 16:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029486 -3.396186)'), GeomFromEWKT('SRID=4674;POINT (-39.029481 -3.396082)'))) / (select extract(epoch from '2026-07-20 16:29:54'::timestamp) - extract(epoch from '2026-07-20 16:29:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029476 -3.395957)', '2026-07-20 16:30:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029481 -3.396082)'), GeomFromEWKT('SRID=4674;POINT (-39.029476 -3.395957)'))) / (select extract(epoch from '2026-07-20 16:30:00'::timestamp) - extract(epoch from '2026-07-20 16:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029481 -3.396082)'), GeomFromEWKT('SRID=4674;POINT (-39.029476 -3.395957)'))) / (select extract(epoch from '2026-07-20 16:30:00'::timestamp) - extract(epoch from '2026-07-20 16:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029474 -3.395849)', '2026-07-20 16:30:05', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029476 -3.395957)'), GeomFromEWKT('SRID=4674;POINT (-39.029474 -3.395849)'))) / (select extract(epoch from '2026-07-20 16:30:05'::timestamp) - extract(epoch from '2026-07-20 16:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029476 -3.395957)'), GeomFromEWKT('SRID=4674;POINT (-39.029474 -3.395849)'))) / (select extract(epoch from '2026-07-20 16:30:05'::timestamp) - extract(epoch from '2026-07-20 16:30:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029466 -3.395727)', '2026-07-20 16:30:11', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029474 -3.395849)'), GeomFromEWKT('SRID=4674;POINT (-39.029466 -3.395727)'))) / (select extract(epoch from '2026-07-20 16:30:11'::timestamp) - extract(epoch from '2026-07-20 16:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029474 -3.395849)'), GeomFromEWKT('SRID=4674;POINT (-39.029466 -3.395727)'))) / (select extract(epoch from '2026-07-20 16:30:11'::timestamp) - extract(epoch from '2026-07-20 16:30: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'), 47443, 'SRID=4674;POINT (-39.029454 -3.395635)', '2026-07-20 16:30:16', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029466 -3.395727)'), GeomFromEWKT('SRID=4674;POINT (-39.029454 -3.395635)'))) / (select extract(epoch from '2026-07-20 16:30:16'::timestamp) - extract(epoch from '2026-07-20 16:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029466 -3.395727)'), GeomFromEWKT('SRID=4674;POINT (-39.029454 -3.395635)'))) / (select extract(epoch from '2026-07-20 16:30:16'::timestamp) - extract(epoch from '2026-07-20 16:30: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'), 47443, 'SRID=4674;POINT (-39.029441 -3.395536)', '2026-07-20 16:30:21', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029454 -3.395635)'), GeomFromEWKT('SRID=4674;POINT (-39.029441 -3.395536)'))) / (select extract(epoch from '2026-07-20 16:30:21'::timestamp) - extract(epoch from '2026-07-20 16:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029454 -3.395635)'), GeomFromEWKT('SRID=4674;POINT (-39.029441 -3.395536)'))) / (select extract(epoch from '2026-07-20 16:30:21'::timestamp) - extract(epoch from '2026-07-20 16:30:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029433 -3.395367)', '2026-07-20 16:30:29', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029441 -3.395536)'), GeomFromEWKT('SRID=4674;POINT (-39.029433 -3.395367)'))) / (select extract(epoch from '2026-07-20 16:30:29'::timestamp) - extract(epoch from '2026-07-20 16:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029441 -3.395536)'), GeomFromEWKT('SRID=4674;POINT (-39.029433 -3.395367)'))) / (select extract(epoch from '2026-07-20 16:30:29'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029428 -3.395245)', '2026-07-20 16:30:35', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029433 -3.395367)'), GeomFromEWKT('SRID=4674;POINT (-39.029428 -3.395245)'))) / (select extract(epoch from '2026-07-20 16:30:35'::timestamp) - extract(epoch from '2026-07-20 16:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029433 -3.395367)'), GeomFromEWKT('SRID=4674;POINT (-39.029428 -3.395245)'))) / (select extract(epoch from '2026-07-20 16:30:35'::timestamp) - extract(epoch from '2026-07-20 16:30: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'), 47443, 'SRID=4674;POINT (-39.029421 -3.395136)', '2026-07-20 16:30:40', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029428 -3.395245)'), GeomFromEWKT('SRID=4674;POINT (-39.029421 -3.395136)'))) / (select extract(epoch from '2026-07-20 16:30:40'::timestamp) - extract(epoch from '2026-07-20 16:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029428 -3.395245)'), GeomFromEWKT('SRID=4674;POINT (-39.029421 -3.395136)'))) / (select extract(epoch from '2026-07-20 16:30:40'::timestamp) - extract(epoch from '2026-07-20 16:30: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'), 47443, 'SRID=4674;POINT (-39.029406 -3.395021)', '2026-07-20 16:30:46', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029421 -3.395136)'), GeomFromEWKT('SRID=4674;POINT (-39.029406 -3.395021)'))) / (select extract(epoch from '2026-07-20 16:30:46'::timestamp) - extract(epoch from '2026-07-20 16:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029421 -3.395136)'), GeomFromEWKT('SRID=4674;POINT (-39.029406 -3.395021)'))) / (select extract(epoch from '2026-07-20 16:30:46'::timestamp) - extract(epoch from '2026-07-20 16:30: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'), 47443, 'SRID=4674;POINT (-39.029393 -3.394895)', '2026-07-20 16:30:52', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029406 -3.395021)'), GeomFromEWKT('SRID=4674;POINT (-39.029393 -3.394895)'))) / (select extract(epoch from '2026-07-20 16:30:52'::timestamp) - extract(epoch from '2026-07-20 16:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029406 -3.395021)'), GeomFromEWKT('SRID=4674;POINT (-39.029393 -3.394895)'))) / (select extract(epoch from '2026-07-20 16:30:52'::timestamp) - extract(epoch from '2026-07-20 16:30: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'), 47443, 'SRID=4674;POINT (-39.029369 -3.39476)', '2026-07-20 16:30:59', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029393 -3.394895)'), GeomFromEWKT('SRID=4674;POINT (-39.029369 -3.39476)'))) / (select extract(epoch from '2026-07-20 16:30:59'::timestamp) - extract(epoch from '2026-07-20 16:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029393 -3.394895)'), GeomFromEWKT('SRID=4674;POINT (-39.029369 -3.39476)'))) / (select extract(epoch from '2026-07-20 16:30:59'::timestamp) - extract(epoch from '2026-07-20 16:30:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029346 -3.394646)', '2026-07-20 16:31:05', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029369 -3.39476)'), GeomFromEWKT('SRID=4674;POINT (-39.029346 -3.394646)'))) / (select extract(epoch from '2026-07-20 16:31:05'::timestamp) - extract(epoch from '2026-07-20 16:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029369 -3.39476)'), GeomFromEWKT('SRID=4674;POINT (-39.029346 -3.394646)'))) / (select extract(epoch from '2026-07-20 16:31:05'::timestamp) - extract(epoch from '2026-07-20 16:30: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'), 47443, 'SRID=4674;POINT (-39.029308 -3.39452)', '2026-07-20 16:31:12', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029346 -3.394646)'), GeomFromEWKT('SRID=4674;POINT (-39.029308 -3.39452)'))) / (select extract(epoch from '2026-07-20 16:31:12'::timestamp) - extract(epoch from '2026-07-20 16:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029346 -3.394646)'), GeomFromEWKT('SRID=4674;POINT (-39.029308 -3.39452)'))) / (select extract(epoch from '2026-07-20 16:31:12'::timestamp) - extract(epoch from '2026-07-20 16:31: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'), 47443, 'SRID=4674;POINT (-39.029284 -3.394405)', '2026-07-20 16:31:18', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029308 -3.39452)'), GeomFromEWKT('SRID=4674;POINT (-39.029284 -3.394405)'))) / (select extract(epoch from '2026-07-20 16:31:18'::timestamp) - extract(epoch from '2026-07-20 16:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029308 -3.39452)'), GeomFromEWKT('SRID=4674;POINT (-39.029284 -3.394405)'))) / (select extract(epoch from '2026-07-20 16:31:18'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029265 -3.394282)', '2026-07-20 16:31:24', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029284 -3.394405)'), GeomFromEWKT('SRID=4674;POINT (-39.029265 -3.394282)'))) / (select extract(epoch from '2026-07-20 16:31:24'::timestamp) - extract(epoch from '2026-07-20 16:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029284 -3.394405)'), GeomFromEWKT('SRID=4674;POINT (-39.029265 -3.394282)'))) / (select extract(epoch from '2026-07-20 16:31:24'::timestamp) - extract(epoch from '2026-07-20 16:31: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'), 47443, 'SRID=4674;POINT (-39.029254 -3.394228)', '2026-07-20 16:31:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029265 -3.394282)'), GeomFromEWKT('SRID=4674;POINT (-39.029254 -3.394228)'))) / (select extract(epoch from '2026-07-20 16:31:27'::timestamp) - extract(epoch from '2026-07-20 16:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029265 -3.394282)'), GeomFromEWKT('SRID=4674;POINT (-39.029254 -3.394228)'))) / (select extract(epoch from '2026-07-20 16:31:27'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029251 -3.394186)', '2026-07-20 16:31:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029254 -3.394228)'), GeomFromEWKT('SRID=4674;POINT (-39.029251 -3.394186)'))) / (select extract(epoch from '2026-07-20 16:31:29'::timestamp) - extract(epoch from '2026-07-20 16:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029254 -3.394228)'), GeomFromEWKT('SRID=4674;POINT (-39.029251 -3.394186)'))) / (select extract(epoch from '2026-07-20 16:31:29'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.02924 -3.39408)', '2026-07-20 16:31:34', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029251 -3.394186)'), GeomFromEWKT('SRID=4674;POINT (-39.02924 -3.39408)'))) / (select extract(epoch from '2026-07-20 16:31:34'::timestamp) - extract(epoch from '2026-07-20 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029251 -3.394186)'), GeomFromEWKT('SRID=4674;POINT (-39.02924 -3.39408)'))) / (select extract(epoch from '2026-07-20 16:31:34'::timestamp) - extract(epoch from '2026-07-20 16:31: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'), 47443, 'SRID=4674;POINT (-39.029231 -3.393986)', '2026-07-20 16:31:39', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02924 -3.39408)'), GeomFromEWKT('SRID=4674;POINT (-39.029231 -3.393986)'))) / (select extract(epoch from '2026-07-20 16:31:39'::timestamp) - extract(epoch from '2026-07-20 16:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02924 -3.39408)'), GeomFromEWKT('SRID=4674;POINT (-39.029231 -3.393986)'))) / (select extract(epoch from '2026-07-20 16:31:39'::timestamp) - extract(epoch from '2026-07-20 16:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.02921 -3.393882)', '2026-07-20 16:31:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029231 -3.393986)'), GeomFromEWKT('SRID=4674;POINT (-39.02921 -3.393882)'))) / (select extract(epoch from '2026-07-20 16:31:45'::timestamp) - extract(epoch from '2026-07-20 16:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029231 -3.393986)'), GeomFromEWKT('SRID=4674;POINT (-39.02921 -3.393882)'))) / (select extract(epoch from '2026-07-20 16:31:45'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029204 -3.393746)', '2026-07-20 16:31:52', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02921 -3.393882)'), GeomFromEWKT('SRID=4674;POINT (-39.029204 -3.393746)'))) / (select extract(epoch from '2026-07-20 16:31:52'::timestamp) - extract(epoch from '2026-07-20 16:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02921 -3.393882)'), GeomFromEWKT('SRID=4674;POINT (-39.029204 -3.393746)'))) / (select extract(epoch from '2026-07-20 16:31:52'::timestamp) - extract(epoch from '2026-07-20 16:31: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'), 47443, 'SRID=4674;POINT (-39.029197 -3.39365)', '2026-07-20 16:31:57', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029204 -3.393746)'), GeomFromEWKT('SRID=4674;POINT (-39.029197 -3.39365)'))) / (select extract(epoch from '2026-07-20 16:31:57'::timestamp) - extract(epoch from '2026-07-20 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029204 -3.393746)'), GeomFromEWKT('SRID=4674;POINT (-39.029197 -3.39365)'))) / (select extract(epoch from '2026-07-20 16:31:57'::timestamp) - extract(epoch from '2026-07-20 16:31: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'), 47443, 'SRID=4674;POINT (-39.029173 -3.393538)', '2026-07-20 16:32:03', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029197 -3.39365)'), GeomFromEWKT('SRID=4674;POINT (-39.029173 -3.393538)'))) / (select extract(epoch from '2026-07-20 16:32:03'::timestamp) - extract(epoch from '2026-07-20 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029197 -3.39365)'), GeomFromEWKT('SRID=4674;POINT (-39.029173 -3.393538)'))) / (select extract(epoch from '2026-07-20 16:32:03'::timestamp) - extract(epoch from '2026-07-20 16:31: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'), 47443, 'SRID=4674;POINT (-39.029154 -3.393418)', '2026-07-20 16:32:09', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029173 -3.393538)'), GeomFromEWKT('SRID=4674;POINT (-39.029154 -3.393418)'))) / (select extract(epoch from '2026-07-20 16:32:09'::timestamp) - extract(epoch from '2026-07-20 16:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029173 -3.393538)'), GeomFromEWKT('SRID=4674;POINT (-39.029154 -3.393418)'))) / (select extract(epoch from '2026-07-20 16:32:09'::timestamp) - extract(epoch from '2026-07-20 16:32:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029141 -3.393294)', '2026-07-20 16:32:15', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029154 -3.393418)'), GeomFromEWKT('SRID=4674;POINT (-39.029141 -3.393294)'))) / (select extract(epoch from '2026-07-20 16:32:15'::timestamp) - extract(epoch from '2026-07-20 16:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029154 -3.393418)'), GeomFromEWKT('SRID=4674;POINT (-39.029141 -3.393294)'))) / (select extract(epoch from '2026-07-20 16:32:15'::timestamp) - extract(epoch from '2026-07-20 16:32: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'), 47443, 'SRID=4674;POINT (-39.02913 -3.393199)', '2026-07-20 16:32:20', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029141 -3.393294)'), GeomFromEWKT('SRID=4674;POINT (-39.02913 -3.393199)'))) / (select extract(epoch from '2026-07-20 16:32:20'::timestamp) - extract(epoch from '2026-07-20 16:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029141 -3.393294)'), GeomFromEWKT('SRID=4674;POINT (-39.02913 -3.393199)'))) / (select extract(epoch from '2026-07-20 16:32:20'::timestamp) - extract(epoch from '2026-07-20 16:32: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'), 47443, 'SRID=4674;POINT (-39.029113 -3.393081)', '2026-07-20 16:32:26', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02913 -3.393199)'), GeomFromEWKT('SRID=4674;POINT (-39.029113 -3.393081)'))) / (select extract(epoch from '2026-07-20 16:32:26'::timestamp) - extract(epoch from '2026-07-20 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02913 -3.393199)'), GeomFromEWKT('SRID=4674;POINT (-39.029113 -3.393081)'))) / (select extract(epoch from '2026-07-20 16:32:26'::timestamp) - extract(epoch from '2026-07-20 16:32: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'), 47443, 'SRID=4674;POINT (-39.029097 -3.39299)', '2026-07-20 16:32:31', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029113 -3.393081)'), GeomFromEWKT('SRID=4674;POINT (-39.029097 -3.39299)'))) / (select extract(epoch from '2026-07-20 16:32:31'::timestamp) - extract(epoch from '2026-07-20 16:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029113 -3.393081)'), GeomFromEWKT('SRID=4674;POINT (-39.029097 -3.39299)'))) / (select extract(epoch from '2026-07-20 16:32:31'::timestamp) - extract(epoch from '2026-07-20 16:32:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029084 -3.392889)', '2026-07-20 16:32:36', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029097 -3.39299)'), GeomFromEWKT('SRID=4674;POINT (-39.029084 -3.392889)'))) / (select extract(epoch from '2026-07-20 16:32:36'::timestamp) - extract(epoch from '2026-07-20 16:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029097 -3.39299)'), GeomFromEWKT('SRID=4674;POINT (-39.029084 -3.392889)'))) / (select extract(epoch from '2026-07-20 16:32:36'::timestamp) - extract(epoch from '2026-07-20 16:32: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'), 47443, 'SRID=4674;POINT (-39.02907 -3.392811)', '2026-07-20 16:32:40', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029084 -3.392889)'), GeomFromEWKT('SRID=4674;POINT (-39.02907 -3.392811)'))) / (select extract(epoch from '2026-07-20 16:32:40'::timestamp) - extract(epoch from '2026-07-20 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029084 -3.392889)'), GeomFromEWKT('SRID=4674;POINT (-39.02907 -3.392811)'))) / (select extract(epoch from '2026-07-20 16:32:40'::timestamp) - extract(epoch from '2026-07-20 16:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029068 -3.392771)', '2026-07-20 16:32:42', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02907 -3.392811)'), GeomFromEWKT('SRID=4674;POINT (-39.029068 -3.392771)'))) / (select extract(epoch from '2026-07-20 16:32:42'::timestamp) - extract(epoch from '2026-07-20 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02907 -3.392811)'), GeomFromEWKT('SRID=4674;POINT (-39.029068 -3.392771)'))) / (select extract(epoch from '2026-07-20 16:32:42'::timestamp) - extract(epoch from '2026-07-20 16:32: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'), 47443, 'SRID=4674;POINT (-39.029054 -3.392677)', '2026-07-20 16:32:47', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029068 -3.392771)'), GeomFromEWKT('SRID=4674;POINT (-39.029054 -3.392677)'))) / (select extract(epoch from '2026-07-20 16:32:47'::timestamp) - extract(epoch from '2026-07-20 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029068 -3.392771)'), GeomFromEWKT('SRID=4674;POINT (-39.029054 -3.392677)'))) / (select extract(epoch from '2026-07-20 16:32:47'::timestamp) - extract(epoch from '2026-07-20 16:32:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.029026 -3.392592)', '2026-07-20 16:32:52', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029054 -3.392677)'), GeomFromEWKT('SRID=4674;POINT (-39.029026 -3.392592)'))) / (select extract(epoch from '2026-07-20 16:32:52'::timestamp) - extract(epoch from '2026-07-20 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029054 -3.392677)'), GeomFromEWKT('SRID=4674;POINT (-39.029026 -3.392592)'))) / (select extract(epoch from '2026-07-20 16:32:52'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.029007 -3.3925)', '2026-07-20 16:32:57', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029026 -3.392592)'), GeomFromEWKT('SRID=4674;POINT (-39.029007 -3.3925)'))) / (select extract(epoch from '2026-07-20 16:32:57'::timestamp) - extract(epoch from '2026-07-20 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029026 -3.392592)'), GeomFromEWKT('SRID=4674;POINT (-39.029007 -3.3925)'))) / (select extract(epoch from '2026-07-20 16:32:57'::timestamp) - extract(epoch from '2026-07-20 16:32: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'), 47443, 'SRID=4674;POINT (-39.029002 -3.392379)', '2026-07-20 16:33:03', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029007 -3.3925)'), GeomFromEWKT('SRID=4674;POINT (-39.029002 -3.392379)'))) / (select extract(epoch from '2026-07-20 16:33:03'::timestamp) - extract(epoch from '2026-07-20 16:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029007 -3.3925)'), GeomFromEWKT('SRID=4674;POINT (-39.029002 -3.392379)'))) / (select extract(epoch from '2026-07-20 16:33:03'::timestamp) - extract(epoch from '2026-07-20 16:32: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'), 47443, 'SRID=4674;POINT (-39.029003 -3.392361)', '2026-07-20 16:33:04', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029002 -3.392379)'), GeomFromEWKT('SRID=4674;POINT (-39.029003 -3.392361)'))) / (select extract(epoch from '2026-07-20 16:33:04'::timestamp) - extract(epoch from '2026-07-20 16:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029002 -3.392379)'), GeomFromEWKT('SRID=4674;POINT (-39.029003 -3.392361)'))) / (select extract(epoch from '2026-07-20 16:33:04'::timestamp) - extract(epoch from '2026-07-20 16:33: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'), 47443, 'SRID=4674;POINT (-39.028992 -3.392267)', '2026-07-20 16:33:09', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029003 -3.392361)'), GeomFromEWKT('SRID=4674;POINT (-39.028992 -3.392267)'))) / (select extract(epoch from '2026-07-20 16:33:09'::timestamp) - extract(epoch from '2026-07-20 16:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029003 -3.392361)'), GeomFromEWKT('SRID=4674;POINT (-39.028992 -3.392267)'))) / (select extract(epoch from '2026-07-20 16:33:09'::timestamp) - extract(epoch from '2026-07-20 16:33: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'), 47443, 'SRID=4674;POINT (-39.028985 -3.392156)', '2026-07-20 16:33:15', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028992 -3.392267)'), GeomFromEWKT('SRID=4674;POINT (-39.028985 -3.392156)'))) / (select extract(epoch from '2026-07-20 16:33:15'::timestamp) - extract(epoch from '2026-07-20 16:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028992 -3.392267)'), GeomFromEWKT('SRID=4674;POINT (-39.028985 -3.392156)'))) / (select extract(epoch from '2026-07-20 16:33:15'::timestamp) - extract(epoch from '2026-07-20 16:33: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'), 47443, 'SRID=4674;POINT (-39.028991 -3.392118)', '2026-07-20 16:33:17', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028985 -3.392156)'), GeomFromEWKT('SRID=4674;POINT (-39.028991 -3.392118)'))) / (select extract(epoch from '2026-07-20 16:33:17'::timestamp) - extract(epoch from '2026-07-20 16:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028985 -3.392156)'), GeomFromEWKT('SRID=4674;POINT (-39.028991 -3.392118)'))) / (select extract(epoch from '2026-07-20 16:33:17'::timestamp) - extract(epoch from '2026-07-20 16:33: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'), 47443, 'SRID=4674;POINT (-39.028984 -3.392062)', '2026-07-20 16:33:20', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028991 -3.392118)'), GeomFromEWKT('SRID=4674;POINT (-39.028984 -3.392062)'))) / (select extract(epoch from '2026-07-20 16:33:20'::timestamp) - extract(epoch from '2026-07-20 16:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028991 -3.392118)'), GeomFromEWKT('SRID=4674;POINT (-39.028984 -3.392062)'))) / (select extract(epoch from '2026-07-20 16:33:20'::timestamp) - extract(epoch from '2026-07-20 16:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.02898 -3.391988)', '2026-07-20 16:33:24', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028984 -3.392062)'), GeomFromEWKT('SRID=4674;POINT (-39.02898 -3.391988)'))) / (select extract(epoch from '2026-07-20 16:33:24'::timestamp) - extract(epoch from '2026-07-20 16:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028984 -3.392062)'), GeomFromEWKT('SRID=4674;POINT (-39.02898 -3.391988)'))) / (select extract(epoch from '2026-07-20 16:33:24'::timestamp) - extract(epoch from '2026-07-20 16:33: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'), 47443, 'SRID=4674;POINT (-39.028973 -3.39195)', '2026-07-20 16:33:26', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02898 -3.391988)'), GeomFromEWKT('SRID=4674;POINT (-39.028973 -3.39195)'))) / (select extract(epoch from '2026-07-20 16:33:26'::timestamp) - extract(epoch from '2026-07-20 16:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02898 -3.391988)'), GeomFromEWKT('SRID=4674;POINT (-39.028973 -3.39195)'))) / (select extract(epoch from '2026-07-20 16:33:26'::timestamp) - extract(epoch from '2026-07-20 16:33:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028951 -3.39184)', '2026-07-20 16:33:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028973 -3.39195)'), GeomFromEWKT('SRID=4674;POINT (-39.028951 -3.39184)'))) / (select extract(epoch from '2026-07-20 16:33:32'::timestamp) - extract(epoch from '2026-07-20 16:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028973 -3.39195)'), GeomFromEWKT('SRID=4674;POINT (-39.028951 -3.39184)'))) / (select extract(epoch from '2026-07-20 16:33:32'::timestamp) - extract(epoch from '2026-07-20 16:33:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028951 -3.391736)', '2026-07-20 16:33:37', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028951 -3.39184)'), GeomFromEWKT('SRID=4674;POINT (-39.028951 -3.391736)'))) / (select extract(epoch from '2026-07-20 16:33:37'::timestamp) - extract(epoch from '2026-07-20 16:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028951 -3.39184)'), GeomFromEWKT('SRID=4674;POINT (-39.028951 -3.391736)'))) / (select extract(epoch from '2026-07-20 16:33:37'::timestamp) - extract(epoch from '2026-07-20 16:33:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028966 -3.391663)', '2026-07-20 16:33:41', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028951 -3.391736)'), GeomFromEWKT('SRID=4674;POINT (-39.028966 -3.391663)'))) / (select extract(epoch from '2026-07-20 16:33:41'::timestamp) - extract(epoch from '2026-07-20 16:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028951 -3.391736)'), GeomFromEWKT('SRID=4674;POINT (-39.028966 -3.391663)'))) / (select extract(epoch from '2026-07-20 16:33:41'::timestamp) - extract(epoch from '2026-07-20 16:33:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028965 -3.391643)', '2026-07-20 16:33:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028966 -3.391663)'), GeomFromEWKT('SRID=4674;POINT (-39.028965 -3.391643)'))) / (select extract(epoch from '2026-07-20 16:33:42'::timestamp) - extract(epoch from '2026-07-20 16:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028966 -3.391663)'), GeomFromEWKT('SRID=4674;POINT (-39.028965 -3.391643)'))) / (select extract(epoch from '2026-07-20 16:33:42'::timestamp) - extract(epoch from '2026-07-20 16:33: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'), 47443, 'SRID=4674;POINT (-39.028956 -3.391504)', '2026-07-20 16:33:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028965 -3.391643)'), GeomFromEWKT('SRID=4674;POINT (-39.028956 -3.391504)'))) / (select extract(epoch from '2026-07-20 16:33:49'::timestamp) - extract(epoch from '2026-07-20 16:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028965 -3.391643)'), GeomFromEWKT('SRID=4674;POINT (-39.028956 -3.391504)'))) / (select extract(epoch from '2026-07-20 16:33:49'::timestamp) - extract(epoch from '2026-07-20 16:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028939 -3.391417)', '2026-07-20 16:33:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028956 -3.391504)'), GeomFromEWKT('SRID=4674;POINT (-39.028939 -3.391417)'))) / (select extract(epoch from '2026-07-20 16:33:54'::timestamp) - extract(epoch from '2026-07-20 16:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028956 -3.391504)'), GeomFromEWKT('SRID=4674;POINT (-39.028939 -3.391417)'))) / (select extract(epoch from '2026-07-20 16:33:54'::timestamp) - extract(epoch from '2026-07-20 16:33: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'), 47443, 'SRID=4674;POINT (-39.02891 -3.391332)', '2026-07-20 16:33:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028939 -3.391417)'), GeomFromEWKT('SRID=4674;POINT (-39.02891 -3.391332)'))) / (select extract(epoch from '2026-07-20 16:33:59'::timestamp) - extract(epoch from '2026-07-20 16:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028939 -3.391417)'), GeomFromEWKT('SRID=4674;POINT (-39.02891 -3.391332)'))) / (select extract(epoch from '2026-07-20 16:33:59'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.028904 -3.391315)', '2026-07-20 16:34:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02891 -3.391332)'), GeomFromEWKT('SRID=4674;POINT (-39.028904 -3.391315)'))) / (select extract(epoch from '2026-07-20 16:34:00'::timestamp) - extract(epoch from '2026-07-20 16:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02891 -3.391332)'), GeomFromEWKT('SRID=4674;POINT (-39.028904 -3.391315)'))) / (select extract(epoch from '2026-07-20 16:34:00'::timestamp) - extract(epoch from '2026-07-20 16:33: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'), 47443, 'SRID=4674;POINT (-39.028855 -3.391194)', '2026-07-20 16:34:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028904 -3.391315)'), GeomFromEWKT('SRID=4674;POINT (-39.028855 -3.391194)'))) / (select extract(epoch from '2026-07-20 16:34:08'::timestamp) - extract(epoch from '2026-07-20 16:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028904 -3.391315)'), GeomFromEWKT('SRID=4674;POINT (-39.028855 -3.391194)'))) / (select extract(epoch from '2026-07-20 16:34:08'::timestamp) - extract(epoch from '2026-07-20 16:34:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028829 -3.391119)', '2026-07-20 16:34:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028855 -3.391194)'), GeomFromEWKT('SRID=4674;POINT (-39.028829 -3.391119)'))) / (select extract(epoch from '2026-07-20 16:34:13'::timestamp) - extract(epoch from '2026-07-20 16:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028855 -3.391194)'), GeomFromEWKT('SRID=4674;POINT (-39.028829 -3.391119)'))) / (select extract(epoch from '2026-07-20 16:34:13'::timestamp) - extract(epoch from '2026-07-20 16:34: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'), 47443, 'SRID=4674;POINT (-39.028801 -3.391035)', '2026-07-20 16:34:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028829 -3.391119)'), GeomFromEWKT('SRID=4674;POINT (-39.028801 -3.391035)'))) / (select extract(epoch from '2026-07-20 16:34:18'::timestamp) - extract(epoch from '2026-07-20 16:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028829 -3.391119)'), GeomFromEWKT('SRID=4674;POINT (-39.028801 -3.391035)'))) / (select extract(epoch from '2026-07-20 16:34:18'::timestamp) - extract(epoch from '2026-07-20 16:34: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'), 47443, 'SRID=4674;POINT (-39.028771 -3.3909)', '2026-07-20 16:34:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028801 -3.391035)'), GeomFromEWKT('SRID=4674;POINT (-39.028771 -3.3909)'))) / (select extract(epoch from '2026-07-20 16:34:25'::timestamp) - extract(epoch from '2026-07-20 16:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028801 -3.391035)'), GeomFromEWKT('SRID=4674;POINT (-39.028771 -3.3909)'))) / (select extract(epoch from '2026-07-20 16:34:25'::timestamp) - extract(epoch from '2026-07-20 16:34: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'), 47443, 'SRID=4674;POINT (-39.028739 -3.390794)', '2026-07-20 16:34:31', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028771 -3.3909)'), GeomFromEWKT('SRID=4674;POINT (-39.028739 -3.390794)'))) / (select extract(epoch from '2026-07-20 16:34:31'::timestamp) - extract(epoch from '2026-07-20 16:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028771 -3.3909)'), GeomFromEWKT('SRID=4674;POINT (-39.028739 -3.390794)'))) / (select extract(epoch from '2026-07-20 16:34:31'::timestamp) - extract(epoch from '2026-07-20 16:34: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'), 47443, 'SRID=4674;POINT (-39.028709 -3.390708)', '2026-07-20 16:34:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028739 -3.390794)'), GeomFromEWKT('SRID=4674;POINT (-39.028709 -3.390708)'))) / (select extract(epoch from '2026-07-20 16:34:36'::timestamp) - extract(epoch from '2026-07-20 16:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028739 -3.390794)'), GeomFromEWKT('SRID=4674;POINT (-39.028709 -3.390708)'))) / (select extract(epoch from '2026-07-20 16:34:36'::timestamp) - extract(epoch from '2026-07-20 16:34: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'), 47443, 'SRID=4674;POINT (-39.028696 -3.390587)', '2026-07-20 16:34:42', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028709 -3.390708)'), GeomFromEWKT('SRID=4674;POINT (-39.028696 -3.390587)'))) / (select extract(epoch from '2026-07-20 16:34:42'::timestamp) - extract(epoch from '2026-07-20 16:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028709 -3.390708)'), GeomFromEWKT('SRID=4674;POINT (-39.028696 -3.390587)'))) / (select extract(epoch from '2026-07-20 16:34:42'::timestamp) - extract(epoch from '2026-07-20 16:34:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028675 -3.390442)', '2026-07-20 16:34:49', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028696 -3.390587)'), GeomFromEWKT('SRID=4674;POINT (-39.028675 -3.390442)'))) / (select extract(epoch from '2026-07-20 16:34:49'::timestamp) - extract(epoch from '2026-07-20 16:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028696 -3.390587)'), GeomFromEWKT('SRID=4674;POINT (-39.028675 -3.390442)'))) / (select extract(epoch from '2026-07-20 16:34:49'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.028658 -3.390345)', '2026-07-20 16:34:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028675 -3.390442)'), GeomFromEWKT('SRID=4674;POINT (-39.028658 -3.390345)'))) / (select extract(epoch from '2026-07-20 16:34:54'::timestamp) - extract(epoch from '2026-07-20 16:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028675 -3.390442)'), GeomFromEWKT('SRID=4674;POINT (-39.028658 -3.390345)'))) / (select extract(epoch from '2026-07-20 16:34:54'::timestamp) - extract(epoch from '2026-07-20 16:34: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'), 47443, 'SRID=4674;POINT (-39.028628 -3.390226)', '2026-07-20 16:35:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028658 -3.390345)'), GeomFromEWKT('SRID=4674;POINT (-39.028628 -3.390226)'))) / (select extract(epoch from '2026-07-20 16:35:00'::timestamp) - extract(epoch from '2026-07-20 16:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028658 -3.390345)'), GeomFromEWKT('SRID=4674;POINT (-39.028628 -3.390226)'))) / (select extract(epoch from '2026-07-20 16:35:00'::timestamp) - extract(epoch from '2026-07-20 16:34:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028593 -3.390117)', '2026-07-20 16:35:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028628 -3.390226)'), GeomFromEWKT('SRID=4674;POINT (-39.028593 -3.390117)'))) / (select extract(epoch from '2026-07-20 16:35:06'::timestamp) - extract(epoch from '2026-07-20 16:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028628 -3.390226)'), GeomFromEWKT('SRID=4674;POINT (-39.028593 -3.390117)'))) / (select extract(epoch from '2026-07-20 16:35:06'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.028564 -3.390023)', '2026-07-20 16:35:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028593 -3.390117)'), GeomFromEWKT('SRID=4674;POINT (-39.028564 -3.390023)'))) / (select extract(epoch from '2026-07-20 16:35:12'::timestamp) - extract(epoch from '2026-07-20 16:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028593 -3.390117)'), GeomFromEWKT('SRID=4674;POINT (-39.028564 -3.390023)'))) / (select extract(epoch from '2026-07-20 16:35:12'::timestamp) - extract(epoch from '2026-07-20 16:35:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028561 -3.390004)', '2026-07-20 16:35:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028564 -3.390023)'), GeomFromEWKT('SRID=4674;POINT (-39.028561 -3.390004)'))) / (select extract(epoch from '2026-07-20 16:35:13'::timestamp) - extract(epoch from '2026-07-20 16:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028564 -3.390023)'), GeomFromEWKT('SRID=4674;POINT (-39.028561 -3.390004)'))) / (select extract(epoch from '2026-07-20 16:35:13'::timestamp) - extract(epoch from '2026-07-20 16:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028545 -3.389929)', '2026-07-20 16:35:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028561 -3.390004)'), GeomFromEWKT('SRID=4674;POINT (-39.028545 -3.389929)'))) / (select extract(epoch from '2026-07-20 16:35:17'::timestamp) - extract(epoch from '2026-07-20 16:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028561 -3.390004)'), GeomFromEWKT('SRID=4674;POINT (-39.028545 -3.389929)'))) / (select extract(epoch from '2026-07-20 16:35:17'::timestamp) - extract(epoch from '2026-07-20 16:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028523 -3.389818)', '2026-07-20 16:35:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028545 -3.389929)'), GeomFromEWKT('SRID=4674;POINT (-39.028523 -3.389818)'))) / (select extract(epoch from '2026-07-20 16:35:23'::timestamp) - extract(epoch from '2026-07-20 16:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028545 -3.389929)'), GeomFromEWKT('SRID=4674;POINT (-39.028523 -3.389818)'))) / (select extract(epoch from '2026-07-20 16:35:23'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.028493 -3.389711)', '2026-07-20 16:35:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028523 -3.389818)'), GeomFromEWKT('SRID=4674;POINT (-39.028493 -3.389711)'))) / (select extract(epoch from '2026-07-20 16:35:29'::timestamp) - extract(epoch from '2026-07-20 16:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028523 -3.389818)'), GeomFromEWKT('SRID=4674;POINT (-39.028493 -3.389711)'))) / (select extract(epoch from '2026-07-20 16:35:29'::timestamp) - extract(epoch from '2026-07-20 16:35: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'), 47443, 'SRID=4674;POINT (-39.028466 -3.389608)', '2026-07-20 16:35:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028493 -3.389711)'), GeomFromEWKT('SRID=4674;POINT (-39.028466 -3.389608)'))) / (select extract(epoch from '2026-07-20 16:35:35'::timestamp) - extract(epoch from '2026-07-20 16:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028493 -3.389711)'), GeomFromEWKT('SRID=4674;POINT (-39.028466 -3.389608)'))) / (select extract(epoch from '2026-07-20 16:35:35'::timestamp) - extract(epoch from '2026-07-20 16:35: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'), 47443, 'SRID=4674;POINT (-39.028439 -3.389518)', '2026-07-20 16:35:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028466 -3.389608)'), GeomFromEWKT('SRID=4674;POINT (-39.028439 -3.389518)'))) / (select extract(epoch from '2026-07-20 16:35:40'::timestamp) - extract(epoch from '2026-07-20 16:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028466 -3.389608)'), GeomFromEWKT('SRID=4674;POINT (-39.028439 -3.389518)'))) / (select extract(epoch from '2026-07-20 16:35:40'::timestamp) - extract(epoch from '2026-07-20 16:35: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'), 47443, 'SRID=4674;POINT (-39.028421 -3.389466)', '2026-07-20 16:35:43', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028439 -3.389518)'), GeomFromEWKT('SRID=4674;POINT (-39.028421 -3.389466)'))) / (select extract(epoch from '2026-07-20 16:35:43'::timestamp) - extract(epoch from '2026-07-20 16:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028439 -3.389518)'), GeomFromEWKT('SRID=4674;POINT (-39.028421 -3.389466)'))) / (select extract(epoch from '2026-07-20 16:35:43'::timestamp) - extract(epoch from '2026-07-20 16:35: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'), 47443, 'SRID=4674;POINT (-39.028419 -3.389434)', '2026-07-20 16:35:45', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028421 -3.389466)'), GeomFromEWKT('SRID=4674;POINT (-39.028419 -3.389434)'))) / (select extract(epoch from '2026-07-20 16:35:45'::timestamp) - extract(epoch from '2026-07-20 16:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028421 -3.389466)'), GeomFromEWKT('SRID=4674;POINT (-39.028419 -3.389434)'))) / (select extract(epoch from '2026-07-20 16:35:45'::timestamp) - extract(epoch from '2026-07-20 16:35: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'), 47443, 'SRID=4674;POINT (-39.02838 -3.389312)', '2026-07-20 16:35:52', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028419 -3.389434)'), GeomFromEWKT('SRID=4674;POINT (-39.02838 -3.389312)'))) / (select extract(epoch from '2026-07-20 16:35:52'::timestamp) - extract(epoch from '2026-07-20 16:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028419 -3.389434)'), GeomFromEWKT('SRID=4674;POINT (-39.02838 -3.389312)'))) / (select extract(epoch from '2026-07-20 16:35:52'::timestamp) - extract(epoch from '2026-07-20 16:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.02835 -3.389228)', '2026-07-20 16:35:57', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02838 -3.389312)'), GeomFromEWKT('SRID=4674;POINT (-39.02835 -3.389228)'))) / (select extract(epoch from '2026-07-20 16:35:57'::timestamp) - extract(epoch from '2026-07-20 16:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02838 -3.389312)'), GeomFromEWKT('SRID=4674;POINT (-39.02835 -3.389228)'))) / (select extract(epoch from '2026-07-20 16:35:57'::timestamp) - extract(epoch from '2026-07-20 16:35:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028329 -3.389127)', '2026-07-20 16:36:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02835 -3.389228)'), GeomFromEWKT('SRID=4674;POINT (-39.028329 -3.389127)'))) / (select extract(epoch from '2026-07-20 16:36:03'::timestamp) - extract(epoch from '2026-07-20 16:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02835 -3.389228)'), GeomFromEWKT('SRID=4674;POINT (-39.028329 -3.389127)'))) / (select extract(epoch from '2026-07-20 16:36:03'::timestamp) - extract(epoch from '2026-07-20 16:35:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028303 -3.389018)', '2026-07-20 16:36:09', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028329 -3.389127)'), GeomFromEWKT('SRID=4674;POINT (-39.028303 -3.389018)'))) / (select extract(epoch from '2026-07-20 16:36:09'::timestamp) - extract(epoch from '2026-07-20 16:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028329 -3.389127)'), GeomFromEWKT('SRID=4674;POINT (-39.028303 -3.389018)'))) / (select extract(epoch from '2026-07-20 16:36:09'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.028284 -3.388963)', '2026-07-20 16:36:12', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028303 -3.389018)'), GeomFromEWKT('SRID=4674;POINT (-39.028284 -3.388963)'))) / (select extract(epoch from '2026-07-20 16:36:12'::timestamp) - extract(epoch from '2026-07-20 16:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028303 -3.389018)'), GeomFromEWKT('SRID=4674;POINT (-39.028284 -3.388963)'))) / (select extract(epoch from '2026-07-20 16:36:12'::timestamp) - extract(epoch from '2026-07-20 16:36:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028276 -3.388925)', '2026-07-20 16:36:14', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028284 -3.388963)'), GeomFromEWKT('SRID=4674;POINT (-39.028276 -3.388925)'))) / (select extract(epoch from '2026-07-20 16:36:14'::timestamp) - extract(epoch from '2026-07-20 16:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028284 -3.388963)'), GeomFromEWKT('SRID=4674;POINT (-39.028276 -3.388925)'))) / (select extract(epoch from '2026-07-20 16:36:14'::timestamp) - extract(epoch from '2026-07-20 16:36:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028254 -3.388839)', '2026-07-20 16:36:19', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028276 -3.388925)'), GeomFromEWKT('SRID=4674;POINT (-39.028254 -3.388839)'))) / (select extract(epoch from '2026-07-20 16:36:19'::timestamp) - extract(epoch from '2026-07-20 16:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028276 -3.388925)'), GeomFromEWKT('SRID=4674;POINT (-39.028254 -3.388839)'))) / (select extract(epoch from '2026-07-20 16:36:19'::timestamp) - extract(epoch from '2026-07-20 16:36:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028231 -3.388752)', '2026-07-20 16:36:24', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028254 -3.388839)'), GeomFromEWKT('SRID=4674;POINT (-39.028231 -3.388752)'))) / (select extract(epoch from '2026-07-20 16:36:24'::timestamp) - extract(epoch from '2026-07-20 16:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028254 -3.388839)'), GeomFromEWKT('SRID=4674;POINT (-39.028231 -3.388752)'))) / (select extract(epoch from '2026-07-20 16:36:24'::timestamp) - extract(epoch from '2026-07-20 16:36:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028224 -3.388735)', '2026-07-20 16:36:25', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028231 -3.388752)'), GeomFromEWKT('SRID=4674;POINT (-39.028224 -3.388735)'))) / (select extract(epoch from '2026-07-20 16:36:25'::timestamp) - extract(epoch from '2026-07-20 16:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028231 -3.388752)'), GeomFromEWKT('SRID=4674;POINT (-39.028224 -3.388735)'))) / (select extract(epoch from '2026-07-20 16:36:25'::timestamp) - extract(epoch from '2026-07-20 16:36: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'), 47443, 'SRID=4674;POINT (-39.028199 -3.38865)', '2026-07-20 16:36:30', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028224 -3.388735)'), GeomFromEWKT('SRID=4674;POINT (-39.028199 -3.38865)'))) / (select extract(epoch from '2026-07-20 16:36:30'::timestamp) - extract(epoch from '2026-07-20 16:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028224 -3.388735)'), GeomFromEWKT('SRID=4674;POINT (-39.028199 -3.38865)'))) / (select extract(epoch from '2026-07-20 16:36:30'::timestamp) - extract(epoch from '2026-07-20 16:36:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028165 -3.388522)', '2026-07-20 16:36:37', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028199 -3.38865)'), GeomFromEWKT('SRID=4674;POINT (-39.028165 -3.388522)'))) / (select extract(epoch from '2026-07-20 16:36:37'::timestamp) - extract(epoch from '2026-07-20 16:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028199 -3.38865)'), GeomFromEWKT('SRID=4674;POINT (-39.028165 -3.388522)'))) / (select extract(epoch from '2026-07-20 16:36:37'::timestamp) - extract(epoch from '2026-07-20 16:36:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028145 -3.388452)', '2026-07-20 16:36:41', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028165 -3.388522)'), GeomFromEWKT('SRID=4674;POINT (-39.028145 -3.388452)'))) / (select extract(epoch from '2026-07-20 16:36:41'::timestamp) - extract(epoch from '2026-07-20 16:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028165 -3.388522)'), GeomFromEWKT('SRID=4674;POINT (-39.028145 -3.388452)'))) / (select extract(epoch from '2026-07-20 16:36:41'::timestamp) - extract(epoch from '2026-07-20 16:36:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028145 -3.388437)', '2026-07-20 16:36:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028145 -3.388452)'), GeomFromEWKT('SRID=4674;POINT (-39.028145 -3.388437)'))) / (select extract(epoch from '2026-07-20 16:36:42'::timestamp) - extract(epoch from '2026-07-20 16:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028145 -3.388452)'), GeomFromEWKT('SRID=4674;POINT (-39.028145 -3.388437)'))) / (select extract(epoch from '2026-07-20 16:36:42'::timestamp) - extract(epoch from '2026-07-20 16:36:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.02813 -3.388337)', '2026-07-20 16:36:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028145 -3.388437)'), GeomFromEWKT('SRID=4674;POINT (-39.02813 -3.388337)'))) / (select extract(epoch from '2026-07-20 16:36:48'::timestamp) - extract(epoch from '2026-07-20 16:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028145 -3.388437)'), GeomFromEWKT('SRID=4674;POINT (-39.02813 -3.388337)'))) / (select extract(epoch from '2026-07-20 16:36:48'::timestamp) - extract(epoch from '2026-07-20 16:36: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'), 47443, 'SRID=4674;POINT (-39.028123 -3.388221)', '2026-07-20 16:36:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02813 -3.388337)'), GeomFromEWKT('SRID=4674;POINT (-39.028123 -3.388221)'))) / (select extract(epoch from '2026-07-20 16:36:54'::timestamp) - extract(epoch from '2026-07-20 16:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02813 -3.388337)'), GeomFromEWKT('SRID=4674;POINT (-39.028123 -3.388221)'))) / (select extract(epoch from '2026-07-20 16:36:54'::timestamp) - extract(epoch from '2026-07-20 16:36: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'), 47443, 'SRID=4674;POINT (-39.028124 -3.388133)', '2026-07-20 16:36:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028123 -3.388221)'), GeomFromEWKT('SRID=4674;POINT (-39.028124 -3.388133)'))) / (select extract(epoch from '2026-07-20 16:36:59'::timestamp) - extract(epoch from '2026-07-20 16:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028123 -3.388221)'), GeomFromEWKT('SRID=4674;POINT (-39.028124 -3.388133)'))) / (select extract(epoch from '2026-07-20 16:36:59'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.028107 -3.388026)', '2026-07-20 16:37:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028124 -3.388133)'), GeomFromEWKT('SRID=4674;POINT (-39.028107 -3.388026)'))) / (select extract(epoch from '2026-07-20 16:37:05'::timestamp) - extract(epoch from '2026-07-20 16:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028124 -3.388133)'), GeomFromEWKT('SRID=4674;POINT (-39.028107 -3.388026)'))) / (select extract(epoch from '2026-07-20 16:37:05'::timestamp) - extract(epoch from '2026-07-20 16:36:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028089 -3.387895)', '2026-07-20 16:37:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028107 -3.388026)'), GeomFromEWKT('SRID=4674;POINT (-39.028089 -3.387895)'))) / (select extract(epoch from '2026-07-20 16:37:12'::timestamp) - extract(epoch from '2026-07-20 16:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028107 -3.388026)'), GeomFromEWKT('SRID=4674;POINT (-39.028089 -3.387895)'))) / (select extract(epoch from '2026-07-20 16:37:12'::timestamp) - extract(epoch from '2026-07-20 16:37:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028056 -3.387768)', '2026-07-20 16:37:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028089 -3.387895)'), GeomFromEWKT('SRID=4674;POINT (-39.028056 -3.387768)'))) / (select extract(epoch from '2026-07-20 16:37:19'::timestamp) - extract(epoch from '2026-07-20 16:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028089 -3.387895)'), GeomFromEWKT('SRID=4674;POINT (-39.028056 -3.387768)'))) / (select extract(epoch from '2026-07-20 16:37:19'::timestamp) - extract(epoch from '2026-07-20 16:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.028012 -3.387619)', '2026-07-20 16:37:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028056 -3.387768)'), GeomFromEWKT('SRID=4674;POINT (-39.028012 -3.387619)'))) / (select extract(epoch from '2026-07-20 16:37:27'::timestamp) - extract(epoch from '2026-07-20 16:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028056 -3.387768)'), GeomFromEWKT('SRID=4674;POINT (-39.028012 -3.387619)'))) / (select extract(epoch from '2026-07-20 16:37:27'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.027982 -3.387519)', '2026-07-20 16:37:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028012 -3.387619)'), GeomFromEWKT('SRID=4674;POINT (-39.027982 -3.387519)'))) / (select extract(epoch from '2026-07-20 16:37:33'::timestamp) - extract(epoch from '2026-07-20 16:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028012 -3.387619)'), GeomFromEWKT('SRID=4674;POINT (-39.027982 -3.387519)'))) / (select extract(epoch from '2026-07-20 16:37:33'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.027966 -3.387412)', '2026-07-20 16:37:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027982 -3.387519)'), GeomFromEWKT('SRID=4674;POINT (-39.027966 -3.387412)'))) / (select extract(epoch from '2026-07-20 16:37:39'::timestamp) - extract(epoch from '2026-07-20 16:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027982 -3.387519)'), GeomFromEWKT('SRID=4674;POINT (-39.027966 -3.387412)'))) / (select extract(epoch from '2026-07-20 16:37:39'::timestamp) - extract(epoch from '2026-07-20 16:37: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'), 47443, 'SRID=4674;POINT (-39.027951 -3.387328)', '2026-07-20 16:37:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027966 -3.387412)'), GeomFromEWKT('SRID=4674;POINT (-39.027951 -3.387328)'))) / (select extract(epoch from '2026-07-20 16:37:44'::timestamp) - extract(epoch from '2026-07-20 16:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027966 -3.387412)'), GeomFromEWKT('SRID=4674;POINT (-39.027951 -3.387328)'))) / (select extract(epoch from '2026-07-20 16:37:44'::timestamp) - extract(epoch from '2026-07-20 16:37: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'), 47443, 'SRID=4674;POINT (-39.027939 -3.387295)', '2026-07-20 16:37:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027951 -3.387328)'), GeomFromEWKT('SRID=4674;POINT (-39.027939 -3.387295)'))) / (select extract(epoch from '2026-07-20 16:37:46'::timestamp) - extract(epoch from '2026-07-20 16:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027951 -3.387328)'), GeomFromEWKT('SRID=4674;POINT (-39.027939 -3.387295)'))) / (select extract(epoch from '2026-07-20 16:37:46'::timestamp) - extract(epoch from '2026-07-20 16:37: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'), 47443, 'SRID=4674;POINT (-39.027927 -3.387209)', '2026-07-20 16:37:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027939 -3.387295)'), GeomFromEWKT('SRID=4674;POINT (-39.027927 -3.387209)'))) / (select extract(epoch from '2026-07-20 16:37:51'::timestamp) - extract(epoch from '2026-07-20 16:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027939 -3.387295)'), GeomFromEWKT('SRID=4674;POINT (-39.027927 -3.387209)'))) / (select extract(epoch from '2026-07-20 16:37:51'::timestamp) - extract(epoch from '2026-07-20 16:37: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'), 47443, 'SRID=4674;POINT (-39.027915 -3.387099)', '2026-07-20 16:37:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027927 -3.387209)'), GeomFromEWKT('SRID=4674;POINT (-39.027915 -3.387099)'))) / (select extract(epoch from '2026-07-20 16:37:57'::timestamp) - extract(epoch from '2026-07-20 16:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027927 -3.387209)'), GeomFromEWKT('SRID=4674;POINT (-39.027915 -3.387099)'))) / (select extract(epoch from '2026-07-20 16:37:57'::timestamp) - extract(epoch from '2026-07-20 16:37:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027905 -3.386981)', '2026-07-20 16:38:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027915 -3.387099)'), GeomFromEWKT('SRID=4674;POINT (-39.027905 -3.386981)'))) / (select extract(epoch from '2026-07-20 16:38:03'::timestamp) - extract(epoch from '2026-07-20 16:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027915 -3.387099)'), GeomFromEWKT('SRID=4674;POINT (-39.027905 -3.386981)'))) / (select extract(epoch from '2026-07-20 16:38:03'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.027891 -3.38685)', '2026-07-20 16:38:10', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027905 -3.386981)'), GeomFromEWKT('SRID=4674;POINT (-39.027891 -3.38685)'))) / (select extract(epoch from '2026-07-20 16:38:10'::timestamp) - extract(epoch from '2026-07-20 16:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027905 -3.386981)'), GeomFromEWKT('SRID=4674;POINT (-39.027891 -3.38685)'))) / (select extract(epoch from '2026-07-20 16:38:10'::timestamp) - extract(epoch from '2026-07-20 16:38: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'), 47443, 'SRID=4674;POINT (-39.027868 -3.386758)', '2026-07-20 16:38:15', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027891 -3.38685)'), GeomFromEWKT('SRID=4674;POINT (-39.027868 -3.386758)'))) / (select extract(epoch from '2026-07-20 16:38:15'::timestamp) - extract(epoch from '2026-07-20 16:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027891 -3.38685)'), GeomFromEWKT('SRID=4674;POINT (-39.027868 -3.386758)'))) / (select extract(epoch from '2026-07-20 16:38:15'::timestamp) - extract(epoch from '2026-07-20 16:38:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027866 -3.386741)', '2026-07-20 16:38:16', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027868 -3.386758)'), GeomFromEWKT('SRID=4674;POINT (-39.027866 -3.386741)'))) / (select extract(epoch from '2026-07-20 16:38:16'::timestamp) - extract(epoch from '2026-07-20 16:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027868 -3.386758)'), GeomFromEWKT('SRID=4674;POINT (-39.027866 -3.386741)'))) / (select extract(epoch from '2026-07-20 16:38:16'::timestamp) - extract(epoch from '2026-07-20 16:38:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027835 -3.386655)', '2026-07-20 16:38:21', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027866 -3.386741)'), GeomFromEWKT('SRID=4674;POINT (-39.027835 -3.386655)'))) / (select extract(epoch from '2026-07-20 16:38:21'::timestamp) - extract(epoch from '2026-07-20 16:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027866 -3.386741)'), GeomFromEWKT('SRID=4674;POINT (-39.027835 -3.386655)'))) / (select extract(epoch from '2026-07-20 16:38:21'::timestamp) - extract(epoch from '2026-07-20 16:38:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027801 -3.386552)', '2026-07-20 16:38:27', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027835 -3.386655)'), GeomFromEWKT('SRID=4674;POINT (-39.027801 -3.386552)'))) / (select extract(epoch from '2026-07-20 16:38:27'::timestamp) - extract(epoch from '2026-07-20 16:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027835 -3.386655)'), GeomFromEWKT('SRID=4674;POINT (-39.027801 -3.386552)'))) / (select extract(epoch from '2026-07-20 16:38:27'::timestamp) - extract(epoch from '2026-07-20 16:38: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'), 47443, 'SRID=4674;POINT (-39.027789 -3.386518)', '2026-07-20 16:38:29', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027801 -3.386552)'), GeomFromEWKT('SRID=4674;POINT (-39.027789 -3.386518)'))) / (select extract(epoch from '2026-07-20 16:38:29'::timestamp) - extract(epoch from '2026-07-20 16:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027801 -3.386552)'), GeomFromEWKT('SRID=4674;POINT (-39.027789 -3.386518)'))) / (select extract(epoch from '2026-07-20 16:38:29'::timestamp) - extract(epoch from '2026-07-20 16:38: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'), 47443, 'SRID=4674;POINT (-39.027779 -3.386488)', '2026-07-20 16:38:31', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027789 -3.386518)'), GeomFromEWKT('SRID=4674;POINT (-39.027779 -3.386488)'))) / (select extract(epoch from '2026-07-20 16:38:31'::timestamp) - extract(epoch from '2026-07-20 16:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027789 -3.386518)'), GeomFromEWKT('SRID=4674;POINT (-39.027779 -3.386488)'))) / (select extract(epoch from '2026-07-20 16:38:31'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.027747 -3.386406)', '2026-07-20 16:38:36', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027779 -3.386488)'), GeomFromEWKT('SRID=4674;POINT (-39.027747 -3.386406)'))) / (select extract(epoch from '2026-07-20 16:38:36'::timestamp) - extract(epoch from '2026-07-20 16:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027779 -3.386488)'), GeomFromEWKT('SRID=4674;POINT (-39.027747 -3.386406)'))) / (select extract(epoch from '2026-07-20 16:38:36'::timestamp) - extract(epoch from '2026-07-20 16:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027732 -3.386371)', '2026-07-20 16:38:38', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027747 -3.386406)'), GeomFromEWKT('SRID=4674;POINT (-39.027732 -3.386371)'))) / (select extract(epoch from '2026-07-20 16:38:38'::timestamp) - extract(epoch from '2026-07-20 16:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027747 -3.386406)'), GeomFromEWKT('SRID=4674;POINT (-39.027732 -3.386371)'))) / (select extract(epoch from '2026-07-20 16:38:38'::timestamp) - extract(epoch from '2026-07-20 16:38:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027726 -3.386318)', '2026-07-20 16:38:41', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027732 -3.386371)'), GeomFromEWKT('SRID=4674;POINT (-39.027726 -3.386318)'))) / (select extract(epoch from '2026-07-20 16:38:41'::timestamp) - extract(epoch from '2026-07-20 16:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027732 -3.386371)'), GeomFromEWKT('SRID=4674;POINT (-39.027726 -3.386318)'))) / (select extract(epoch from '2026-07-20 16:38:41'::timestamp) - extract(epoch from '2026-07-20 16:38: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'), 47443, 'SRID=4674;POINT (-39.027697 -3.386214)', '2026-07-20 16:38:47', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027726 -3.386318)'), GeomFromEWKT('SRID=4674;POINT (-39.027697 -3.386214)'))) / (select extract(epoch from '2026-07-20 16:38:47'::timestamp) - extract(epoch from '2026-07-20 16:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027726 -3.386318)'), GeomFromEWKT('SRID=4674;POINT (-39.027697 -3.386214)'))) / (select extract(epoch from '2026-07-20 16:38:47'::timestamp) - extract(epoch from '2026-07-20 16:38:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027675 -3.386123)', '2026-07-20 16:38:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027697 -3.386214)'), GeomFromEWKT('SRID=4674;POINT (-39.027675 -3.386123)'))) / (select extract(epoch from '2026-07-20 16:38:52'::timestamp) - extract(epoch from '2026-07-20 16:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027697 -3.386214)'), GeomFromEWKT('SRID=4674;POINT (-39.027675 -3.386123)'))) / (select extract(epoch from '2026-07-20 16:38:52'::timestamp) - extract(epoch from '2026-07-20 16:38:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027661 -3.386029)', '2026-07-20 16:38:57', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027675 -3.386123)'), GeomFromEWKT('SRID=4674;POINT (-39.027661 -3.386029)'))) / (select extract(epoch from '2026-07-20 16:38:57'::timestamp) - extract(epoch from '2026-07-20 16:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027675 -3.386123)'), GeomFromEWKT('SRID=4674;POINT (-39.027661 -3.386029)'))) / (select extract(epoch from '2026-07-20 16:38:57'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.027655 -3.386008)', '2026-07-20 16:38:58', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027661 -3.386029)'), GeomFromEWKT('SRID=4674;POINT (-39.027655 -3.386008)'))) / (select extract(epoch from '2026-07-20 16:38:58'::timestamp) - extract(epoch from '2026-07-20 16:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027661 -3.386029)'), GeomFromEWKT('SRID=4674;POINT (-39.027655 -3.386008)'))) / (select extract(epoch from '2026-07-20 16:38:58'::timestamp) - extract(epoch from '2026-07-20 16:38: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'), 47443, 'SRID=4674;POINT (-39.027634 -3.385917)', '2026-07-20 16:39:03', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027655 -3.386008)'), GeomFromEWKT('SRID=4674;POINT (-39.027634 -3.385917)'))) / (select extract(epoch from '2026-07-20 16:39:03'::timestamp) - extract(epoch from '2026-07-20 16:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027655 -3.386008)'), GeomFromEWKT('SRID=4674;POINT (-39.027634 -3.385917)'))) / (select extract(epoch from '2026-07-20 16:39:03'::timestamp) - extract(epoch from '2026-07-20 16:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027628 -3.3859)', '2026-07-20 16:39:04', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027634 -3.385917)'), GeomFromEWKT('SRID=4674;POINT (-39.027628 -3.3859)'))) / (select extract(epoch from '2026-07-20 16:39:04'::timestamp) - extract(epoch from '2026-07-20 16:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027634 -3.385917)'), GeomFromEWKT('SRID=4674;POINT (-39.027628 -3.3859)'))) / (select extract(epoch from '2026-07-20 16:39:04'::timestamp) - extract(epoch from '2026-07-20 16:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027601 -3.385803)', '2026-07-20 16:39:10', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027628 -3.3859)'), GeomFromEWKT('SRID=4674;POINT (-39.027601 -3.385803)'))) / (select extract(epoch from '2026-07-20 16:39:10'::timestamp) - extract(epoch from '2026-07-20 16:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027628 -3.3859)'), GeomFromEWKT('SRID=4674;POINT (-39.027601 -3.385803)'))) / (select extract(epoch from '2026-07-20 16:39:10'::timestamp) - extract(epoch from '2026-07-20 16:39: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'), 47443, 'SRID=4674;POINT (-39.02758 -3.38572)', '2026-07-20 16:39:15', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027601 -3.385803)'), GeomFromEWKT('SRID=4674;POINT (-39.02758 -3.38572)'))) / (select extract(epoch from '2026-07-20 16:39:15'::timestamp) - extract(epoch from '2026-07-20 16:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027601 -3.385803)'), GeomFromEWKT('SRID=4674;POINT (-39.02758 -3.38572)'))) / (select extract(epoch from '2026-07-20 16:39:15'::timestamp) - extract(epoch from '2026-07-20 16:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027561 -3.385596)', '2026-07-20 16:39:22', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02758 -3.38572)'), GeomFromEWKT('SRID=4674;POINT (-39.027561 -3.385596)'))) / (select extract(epoch from '2026-07-20 16:39:22'::timestamp) - extract(epoch from '2026-07-20 16:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02758 -3.38572)'), GeomFromEWKT('SRID=4674;POINT (-39.027561 -3.385596)'))) / (select extract(epoch from '2026-07-20 16:39:22'::timestamp) - extract(epoch from '2026-07-20 16:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027535 -3.385504)', '2026-07-20 16:39:27', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027561 -3.385596)'), GeomFromEWKT('SRID=4674;POINT (-39.027535 -3.385504)'))) / (select extract(epoch from '2026-07-20 16:39:27'::timestamp) - extract(epoch from '2026-07-20 16:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027561 -3.385596)'), GeomFromEWKT('SRID=4674;POINT (-39.027535 -3.385504)'))) / (select extract(epoch from '2026-07-20 16:39:27'::timestamp) - extract(epoch from '2026-07-20 16:39: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'), 47443, 'SRID=4674;POINT (-39.0275 -3.385394)', '2026-07-20 16:39:33', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027535 -3.385504)'), GeomFromEWKT('SRID=4674;POINT (-39.0275 -3.385394)'))) / (select extract(epoch from '2026-07-20 16:39:33'::timestamp) - extract(epoch from '2026-07-20 16:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027535 -3.385504)'), GeomFromEWKT('SRID=4674;POINT (-39.0275 -3.385394)'))) / (select extract(epoch from '2026-07-20 16:39:33'::timestamp) - extract(epoch from '2026-07-20 16:39: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'), 47443, 'SRID=4674;POINT (-39.027488 -3.385339)', '2026-07-20 16:39:36', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0275 -3.385394)'), GeomFromEWKT('SRID=4674;POINT (-39.027488 -3.385339)'))) / (select extract(epoch from '2026-07-20 16:39:36'::timestamp) - extract(epoch from '2026-07-20 16:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0275 -3.385394)'), GeomFromEWKT('SRID=4674;POINT (-39.027488 -3.385339)'))) / (select extract(epoch from '2026-07-20 16:39:36'::timestamp) - extract(epoch from '2026-07-20 16:39:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027481 -3.385308)', '2026-07-20 16:39:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027488 -3.385339)'), GeomFromEWKT('SRID=4674;POINT (-39.027481 -3.385308)'))) / (select extract(epoch from '2026-07-20 16:39:38'::timestamp) - extract(epoch from '2026-07-20 16:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027488 -3.385339)'), GeomFromEWKT('SRID=4674;POINT (-39.027481 -3.385308)'))) / (select extract(epoch from '2026-07-20 16:39:38'::timestamp) - extract(epoch from '2026-07-20 16:39:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027478 -3.385293)', '2026-07-20 16:39:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027481 -3.385308)'), GeomFromEWKT('SRID=4674;POINT (-39.027478 -3.385293)'))) / (select extract(epoch from '2026-07-20 16:39:39'::timestamp) - extract(epoch from '2026-07-20 16:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027481 -3.385308)'), GeomFromEWKT('SRID=4674;POINT (-39.027478 -3.385293)'))) / (select extract(epoch from '2026-07-20 16:39:39'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.027459 -3.385227)', '2026-07-20 16:39:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027478 -3.385293)'), GeomFromEWKT('SRID=4674;POINT (-39.027459 -3.385227)'))) / (select extract(epoch from '2026-07-20 16:39:43'::timestamp) - extract(epoch from '2026-07-20 16:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027478 -3.385293)'), GeomFromEWKT('SRID=4674;POINT (-39.027459 -3.385227)'))) / (select extract(epoch from '2026-07-20 16:39:43'::timestamp) - extract(epoch from '2026-07-20 16:39: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'), 47443, 'SRID=4674;POINT (-39.027436 -3.385147)', '2026-07-20 16:39:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027459 -3.385227)'), GeomFromEWKT('SRID=4674;POINT (-39.027436 -3.385147)'))) / (select extract(epoch from '2026-07-20 16:39:48'::timestamp) - extract(epoch from '2026-07-20 16:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027459 -3.385227)'), GeomFromEWKT('SRID=4674;POINT (-39.027436 -3.385147)'))) / (select extract(epoch from '2026-07-20 16:39:48'::timestamp) - extract(epoch from '2026-07-20 16:39:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027414 -3.385082)', '2026-07-20 16:39:52', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027436 -3.385147)'), GeomFromEWKT('SRID=4674;POINT (-39.027414 -3.385082)'))) / (select extract(epoch from '2026-07-20 16:39:52'::timestamp) - extract(epoch from '2026-07-20 16:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027436 -3.385147)'), GeomFromEWKT('SRID=4674;POINT (-39.027414 -3.385082)'))) / (select extract(epoch from '2026-07-20 16:39:52'::timestamp) - extract(epoch from '2026-07-20 16:39: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'), 47443, 'SRID=4674;POINT (-39.027411 -3.385046)', '2026-07-20 16:39:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027414 -3.385082)'), GeomFromEWKT('SRID=4674;POINT (-39.027411 -3.385046)'))) / (select extract(epoch from '2026-07-20 16:39:54'::timestamp) - extract(epoch from '2026-07-20 16:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027414 -3.385082)'), GeomFromEWKT('SRID=4674;POINT (-39.027411 -3.385046)'))) / (select extract(epoch from '2026-07-20 16:39:54'::timestamp) - extract(epoch from '2026-07-20 16:39: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'), 47443, 'SRID=4674;POINT (-39.027399 -3.385014)', '2026-07-20 16:39:56', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027411 -3.385046)'), GeomFromEWKT('SRID=4674;POINT (-39.027399 -3.385014)'))) / (select extract(epoch from '2026-07-20 16:39:56'::timestamp) - extract(epoch from '2026-07-20 16:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027411 -3.385046)'), GeomFromEWKT('SRID=4674;POINT (-39.027399 -3.385014)'))) / (select extract(epoch from '2026-07-20 16:39:56'::timestamp) - extract(epoch from '2026-07-20 16:39: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'), 47443, 'SRID=4674;POINT (-39.02739 -3.384966)', '2026-07-20 16:39:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027399 -3.385014)'), GeomFromEWKT('SRID=4674;POINT (-39.02739 -3.384966)'))) / (select extract(epoch from '2026-07-20 16:39:59'::timestamp) - extract(epoch from '2026-07-20 16:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027399 -3.385014)'), GeomFromEWKT('SRID=4674;POINT (-39.02739 -3.384966)'))) / (select extract(epoch from '2026-07-20 16:39:59'::timestamp) - extract(epoch from '2026-07-20 16:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027372 -3.384892)', '2026-07-20 16:40:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02739 -3.384966)'), GeomFromEWKT('SRID=4674;POINT (-39.027372 -3.384892)'))) / (select extract(epoch from '2026-07-20 16:40:03'::timestamp) - extract(epoch from '2026-07-20 16:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02739 -3.384966)'), GeomFromEWKT('SRID=4674;POINT (-39.027372 -3.384892)'))) / (select extract(epoch from '2026-07-20 16:40:03'::timestamp) - extract(epoch from '2026-07-20 16:39: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'), 47443, 'SRID=4674;POINT (-39.02737 -3.384874)', '2026-07-20 16:40:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027372 -3.384892)'), GeomFromEWKT('SRID=4674;POINT (-39.02737 -3.384874)'))) / (select extract(epoch from '2026-07-20 16:40:04'::timestamp) - extract(epoch from '2026-07-20 16:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027372 -3.384892)'), GeomFromEWKT('SRID=4674;POINT (-39.02737 -3.384874)'))) / (select extract(epoch from '2026-07-20 16:40:04'::timestamp) - extract(epoch from '2026-07-20 16:40: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'), 47443, 'SRID=4674;POINT (-39.027344 -3.384783)', '2026-07-20 16:40:09', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02737 -3.384874)'), GeomFromEWKT('SRID=4674;POINT (-39.027344 -3.384783)'))) / (select extract(epoch from '2026-07-20 16:40:09'::timestamp) - extract(epoch from '2026-07-20 16:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02737 -3.384874)'), GeomFromEWKT('SRID=4674;POINT (-39.027344 -3.384783)'))) / (select extract(epoch from '2026-07-20 16:40:09'::timestamp) - extract(epoch from '2026-07-20 16:40: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'), 47443, 'SRID=4674;POINT (-39.02732 -3.384676)', '2026-07-20 16:40:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027344 -3.384783)'), GeomFromEWKT('SRID=4674;POINT (-39.02732 -3.384676)'))) / (select extract(epoch from '2026-07-20 16:40:15'::timestamp) - extract(epoch from '2026-07-20 16:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027344 -3.384783)'), GeomFromEWKT('SRID=4674;POINT (-39.02732 -3.384676)'))) / (select extract(epoch from '2026-07-20 16:40:15'::timestamp) - extract(epoch from '2026-07-20 16:40: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'), 47443, 'SRID=4674;POINT (-39.027299 -3.384585)', '2026-07-20 16:40:20', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02732 -3.384676)'), GeomFromEWKT('SRID=4674;POINT (-39.027299 -3.384585)'))) / (select extract(epoch from '2026-07-20 16:40:20'::timestamp) - extract(epoch from '2026-07-20 16:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02732 -3.384676)'), GeomFromEWKT('SRID=4674;POINT (-39.027299 -3.384585)'))) / (select extract(epoch from '2026-07-20 16:40:20'::timestamp) - extract(epoch from '2026-07-20 16:40:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027278 -3.384491)', '2026-07-20 16:40:25', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027299 -3.384585)'), GeomFromEWKT('SRID=4674;POINT (-39.027278 -3.384491)'))) / (select extract(epoch from '2026-07-20 16:40:25'::timestamp) - extract(epoch from '2026-07-20 16:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027299 -3.384585)'), GeomFromEWKT('SRID=4674;POINT (-39.027278 -3.384491)'))) / (select extract(epoch from '2026-07-20 16:40:25'::timestamp) - extract(epoch from '2026-07-20 16:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027272 -3.384455)', '2026-07-20 16:40:27', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027278 -3.384491)'), GeomFromEWKT('SRID=4674;POINT (-39.027272 -3.384455)'))) / (select extract(epoch from '2026-07-20 16:40:27'::timestamp) - extract(epoch from '2026-07-20 16:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027278 -3.384491)'), GeomFromEWKT('SRID=4674;POINT (-39.027272 -3.384455)'))) / (select extract(epoch from '2026-07-20 16:40:27'::timestamp) - extract(epoch from '2026-07-20 16:40:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027262 -3.384403)', '2026-07-20 16:40:30', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027272 -3.384455)'), GeomFromEWKT('SRID=4674;POINT (-39.027262 -3.384403)'))) / (select extract(epoch from '2026-07-20 16:40:30'::timestamp) - extract(epoch from '2026-07-20 16:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027272 -3.384455)'), GeomFromEWKT('SRID=4674;POINT (-39.027262 -3.384403)'))) / (select extract(epoch from '2026-07-20 16:40:30'::timestamp) - extract(epoch from '2026-07-20 16:40:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027255 -3.384369)', '2026-07-20 16:40:32', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027262 -3.384403)'), GeomFromEWKT('SRID=4674;POINT (-39.027255 -3.384369)'))) / (select extract(epoch from '2026-07-20 16:40:32'::timestamp) - extract(epoch from '2026-07-20 16:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027262 -3.384403)'), GeomFromEWKT('SRID=4674;POINT (-39.027255 -3.384369)'))) / (select extract(epoch from '2026-07-20 16:40:32'::timestamp) - extract(epoch from '2026-07-20 16:40:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027251 -3.384339)', '2026-07-20 16:40:34', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027255 -3.384369)'), GeomFromEWKT('SRID=4674;POINT (-39.027251 -3.384339)'))) / (select extract(epoch from '2026-07-20 16:40:34'::timestamp) - extract(epoch from '2026-07-20 16:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027255 -3.384369)'), GeomFromEWKT('SRID=4674;POINT (-39.027251 -3.384339)'))) / (select extract(epoch from '2026-07-20 16:40:34'::timestamp) - extract(epoch from '2026-07-20 16:40: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'), 47443, 'SRID=4674;POINT (-39.027245 -3.384322)', '2026-07-20 16:40:35', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027251 -3.384339)'), GeomFromEWKT('SRID=4674;POINT (-39.027245 -3.384322)'))) / (select extract(epoch from '2026-07-20 16:40:35'::timestamp) - extract(epoch from '2026-07-20 16:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027251 -3.384339)'), GeomFromEWKT('SRID=4674;POINT (-39.027245 -3.384322)'))) / (select extract(epoch from '2026-07-20 16:40:35'::timestamp) - extract(epoch from '2026-07-20 16:40: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'), 47443, 'SRID=4674;POINT (-39.027228 -3.384217)', '2026-07-20 16:40:41', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027245 -3.384322)'), GeomFromEWKT('SRID=4674;POINT (-39.027228 -3.384217)'))) / (select extract(epoch from '2026-07-20 16:40:41'::timestamp) - extract(epoch from '2026-07-20 16:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027245 -3.384322)'), GeomFromEWKT('SRID=4674;POINT (-39.027228 -3.384217)'))) / (select extract(epoch from '2026-07-20 16:40:41'::timestamp) - extract(epoch from '2026-07-20 16:40:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027198 -3.384112)', '2026-07-20 16:40:47', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027228 -3.384217)'), GeomFromEWKT('SRID=4674;POINT (-39.027198 -3.384112)'))) / (select extract(epoch from '2026-07-20 16:40:47'::timestamp) - extract(epoch from '2026-07-20 16:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027228 -3.384217)'), GeomFromEWKT('SRID=4674;POINT (-39.027198 -3.384112)'))) / (select extract(epoch from '2026-07-20 16:40:47'::timestamp) - extract(epoch from '2026-07-20 16:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027161 -3.384004)', '2026-07-20 16:40:53', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027198 -3.384112)'), GeomFromEWKT('SRID=4674;POINT (-39.027161 -3.384004)'))) / (select extract(epoch from '2026-07-20 16:40:53'::timestamp) - extract(epoch from '2026-07-20 16:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027198 -3.384112)'), GeomFromEWKT('SRID=4674;POINT (-39.027161 -3.384004)'))) / (select extract(epoch from '2026-07-20 16:40:53'::timestamp) - extract(epoch from '2026-07-20 16:40:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027153 -3.383969)', '2026-07-20 16:40:55', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027161 -3.384004)'), GeomFromEWKT('SRID=4674;POINT (-39.027153 -3.383969)'))) / (select extract(epoch from '2026-07-20 16:40:55'::timestamp) - extract(epoch from '2026-07-20 16:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027161 -3.384004)'), GeomFromEWKT('SRID=4674;POINT (-39.027153 -3.383969)'))) / (select extract(epoch from '2026-07-20 16:40:55'::timestamp) - extract(epoch from '2026-07-20 16:40:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.027134 -3.383936)', '2026-07-20 16:40:57', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027153 -3.383969)'), GeomFromEWKT('SRID=4674;POINT (-39.027134 -3.383936)'))) / (select extract(epoch from '2026-07-20 16:40:57'::timestamp) - extract(epoch from '2026-07-20 16:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027153 -3.383969)'), GeomFromEWKT('SRID=4674;POINT (-39.027134 -3.383936)'))) / (select extract(epoch from '2026-07-20 16:40:57'::timestamp) - extract(epoch from '2026-07-20 16:40: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'), 47443, 'SRID=4674;POINT (-39.027099 -3.383839)', '2026-07-20 16:41:03', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027134 -3.383936)'), GeomFromEWKT('SRID=4674;POINT (-39.027099 -3.383839)'))) / (select extract(epoch from '2026-07-20 16:41:03'::timestamp) - extract(epoch from '2026-07-20 16:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027134 -3.383936)'), GeomFromEWKT('SRID=4674;POINT (-39.027099 -3.383839)'))) / (select extract(epoch from '2026-07-20 16:41:03'::timestamp) - extract(epoch from '2026-07-20 16:40: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'), 47443, 'SRID=4674;POINT (-39.02709 -3.383825)', '2026-07-20 16:41:04', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027099 -3.383839)'), GeomFromEWKT('SRID=4674;POINT (-39.02709 -3.383825)'))) / (select extract(epoch from '2026-07-20 16:41:04'::timestamp) - extract(epoch from '2026-07-20 16:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027099 -3.383839)'), GeomFromEWKT('SRID=4674;POINT (-39.02709 -3.383825)'))) / (select extract(epoch from '2026-07-20 16:41:04'::timestamp) - extract(epoch from '2026-07-20 16:41: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'), 47443, 'SRID=4674;POINT (-39.027055 -3.3838)', '2026-07-20 16:41:08', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02709 -3.383825)'), GeomFromEWKT('SRID=4674;POINT (-39.027055 -3.3838)'))) / (select extract(epoch from '2026-07-20 16:41:08'::timestamp) - extract(epoch from '2026-07-20 16:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02709 -3.383825)'), GeomFromEWKT('SRID=4674;POINT (-39.027055 -3.3838)'))) / (select extract(epoch from '2026-07-20 16:41:08'::timestamp) - extract(epoch from '2026-07-20 16:41: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'), 47443, 'SRID=4674;POINT (-39.027044 -3.383794)', '2026-07-20 16:41:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027055 -3.3838)'), GeomFromEWKT('SRID=4674;POINT (-39.027044 -3.383794)'))) / (select extract(epoch from '2026-07-20 16:41:09'::timestamp) - extract(epoch from '2026-07-20 16:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027055 -3.3838)'), GeomFromEWKT('SRID=4674;POINT (-39.027044 -3.383794)'))) / (select extract(epoch from '2026-07-20 16:41:09'::timestamp) - extract(epoch from '2026-07-20 16:41: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'), 47443, 'SRID=4674;POINT (-39.026998 -3.383744)', '2026-07-20 16:41:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027044 -3.383794)'), GeomFromEWKT('SRID=4674;POINT (-39.026998 -3.383744)'))) / (select extract(epoch from '2026-07-20 16:41:14'::timestamp) - extract(epoch from '2026-07-20 16:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027044 -3.383794)'), GeomFromEWKT('SRID=4674;POINT (-39.026998 -3.383744)'))) / (select extract(epoch from '2026-07-20 16:41:14'::timestamp) - extract(epoch from '2026-07-20 16:41: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'), 47443, 'SRID=4674;POINT (-39.026974 -3.383672)', '2026-07-20 16:41:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026998 -3.383744)'), GeomFromEWKT('SRID=4674;POINT (-39.026974 -3.383672)'))) / (select extract(epoch from '2026-07-20 16:41:19'::timestamp) - extract(epoch from '2026-07-20 16:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026998 -3.383744)'), GeomFromEWKT('SRID=4674;POINT (-39.026974 -3.383672)'))) / (select extract(epoch from '2026-07-20 16:41:19'::timestamp) - extract(epoch from '2026-07-20 16:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.02695 -3.383572)', '2026-07-20 16:41:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026974 -3.383672)'), GeomFromEWKT('SRID=4674;POINT (-39.02695 -3.383572)'))) / (select extract(epoch from '2026-07-20 16:41:25'::timestamp) - extract(epoch from '2026-07-20 16:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026974 -3.383672)'), GeomFromEWKT('SRID=4674;POINT (-39.02695 -3.383572)'))) / (select extract(epoch from '2026-07-20 16:41:25'::timestamp) - extract(epoch from '2026-07-20 16:41:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026943 -3.383541)', '2026-07-20 16:41:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02695 -3.383572)'), GeomFromEWKT('SRID=4674;POINT (-39.026943 -3.383541)'))) / (select extract(epoch from '2026-07-20 16:41:27'::timestamp) - extract(epoch from '2026-07-20 16:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02695 -3.383572)'), GeomFromEWKT('SRID=4674;POINT (-39.026943 -3.383541)'))) / (select extract(epoch from '2026-07-20 16:41:27'::timestamp) - extract(epoch from '2026-07-20 16:41: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'), 47443, 'SRID=4674;POINT (-39.026934 -3.383477)', '2026-07-20 16:41:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026943 -3.383541)'), GeomFromEWKT('SRID=4674;POINT (-39.026934 -3.383477)'))) / (select extract(epoch from '2026-07-20 16:41:31'::timestamp) - extract(epoch from '2026-07-20 16:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026943 -3.383541)'), GeomFromEWKT('SRID=4674;POINT (-39.026934 -3.383477)'))) / (select extract(epoch from '2026-07-20 16:41:31'::timestamp) - extract(epoch from '2026-07-20 16:41:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026916 -3.383376)', '2026-07-20 16:41:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026934 -3.383477)'), GeomFromEWKT('SRID=4674;POINT (-39.026916 -3.383376)'))) / (select extract(epoch from '2026-07-20 16:41:37'::timestamp) - extract(epoch from '2026-07-20 16:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026934 -3.383477)'), GeomFromEWKT('SRID=4674;POINT (-39.026916 -3.383376)'))) / (select extract(epoch from '2026-07-20 16:41:37'::timestamp) - extract(epoch from '2026-07-20 16:41: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'), 47443, 'SRID=4674;POINT (-39.02691 -3.383308)', '2026-07-20 16:41:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026916 -3.383376)'), GeomFromEWKT('SRID=4674;POINT (-39.02691 -3.383308)'))) / (select extract(epoch from '2026-07-20 16:41:41'::timestamp) - extract(epoch from '2026-07-20 16:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026916 -3.383376)'), GeomFromEWKT('SRID=4674;POINT (-39.02691 -3.383308)'))) / (select extract(epoch from '2026-07-20 16:41:41'::timestamp) - extract(epoch from '2026-07-20 16:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026903 -3.38329)', '2026-07-20 16:41:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02691 -3.383308)'), GeomFromEWKT('SRID=4674;POINT (-39.026903 -3.38329)'))) / (select extract(epoch from '2026-07-20 16:41:42'::timestamp) - extract(epoch from '2026-07-20 16:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02691 -3.383308)'), GeomFromEWKT('SRID=4674;POINT (-39.026903 -3.38329)'))) / (select extract(epoch from '2026-07-20 16:41:42'::timestamp) - extract(epoch from '2026-07-20 16:41: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'), 47443, 'SRID=4674;POINT (-39.026872 -3.383194)', '2026-07-20 16:41:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026903 -3.38329)'), GeomFromEWKT('SRID=4674;POINT (-39.026872 -3.383194)'))) / (select extract(epoch from '2026-07-20 16:41:48'::timestamp) - extract(epoch from '2026-07-20 16:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026903 -3.38329)'), GeomFromEWKT('SRID=4674;POINT (-39.026872 -3.383194)'))) / (select extract(epoch from '2026-07-20 16:41:48'::timestamp) - extract(epoch from '2026-07-20 16:41: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'), 47443, 'SRID=4674;POINT (-39.026866 -3.383179)', '2026-07-20 16:41:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026872 -3.383194)'), GeomFromEWKT('SRID=4674;POINT (-39.026866 -3.383179)'))) / (select extract(epoch from '2026-07-20 16:41:49'::timestamp) - extract(epoch from '2026-07-20 16:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026872 -3.383194)'), GeomFromEWKT('SRID=4674;POINT (-39.026866 -3.383179)'))) / (select extract(epoch from '2026-07-20 16:41:49'::timestamp) - extract(epoch from '2026-07-20 16:41:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026847 -3.38311)', '2026-07-20 16:41:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026866 -3.383179)'), GeomFromEWKT('SRID=4674;POINT (-39.026847 -3.38311)'))) / (select extract(epoch from '2026-07-20 16:41:53'::timestamp) - extract(epoch from '2026-07-20 16:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026866 -3.383179)'), GeomFromEWKT('SRID=4674;POINT (-39.026847 -3.38311)'))) / (select extract(epoch from '2026-07-20 16:41:53'::timestamp) - extract(epoch from '2026-07-20 16:41: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'), 47443, 'SRID=4674;POINT (-39.026822 -3.383039)', '2026-07-20 16:41:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026847 -3.38311)'), GeomFromEWKT('SRID=4674;POINT (-39.026822 -3.383039)'))) / (select extract(epoch from '2026-07-20 16:41:57'::timestamp) - extract(epoch from '2026-07-20 16:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026847 -3.38311)'), GeomFromEWKT('SRID=4674;POINT (-39.026822 -3.383039)'))) / (select extract(epoch from '2026-07-20 16:41:57'::timestamp) - extract(epoch from '2026-07-20 16:41:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026807 -3.383006)', '2026-07-20 16:41:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026822 -3.383039)'), GeomFromEWKT('SRID=4674;POINT (-39.026807 -3.383006)'))) / (select extract(epoch from '2026-07-20 16:41:59'::timestamp) - extract(epoch from '2026-07-20 16:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026822 -3.383039)'), GeomFromEWKT('SRID=4674;POINT (-39.026807 -3.383006)'))) / (select extract(epoch from '2026-07-20 16:41:59'::timestamp) - extract(epoch from '2026-07-20 16:41: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'), 47443, 'SRID=4674;POINT (-39.02678 -3.3829)', '2026-07-20 16:42:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026807 -3.383006)'), GeomFromEWKT('SRID=4674;POINT (-39.02678 -3.3829)'))) / (select extract(epoch from '2026-07-20 16:42:05'::timestamp) - extract(epoch from '2026-07-20 16:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026807 -3.383006)'), GeomFromEWKT('SRID=4674;POINT (-39.02678 -3.3829)'))) / (select extract(epoch from '2026-07-20 16:42:05'::timestamp) - extract(epoch from '2026-07-20 16:41: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'), 47443, 'SRID=4674;POINT (-39.026745 -3.382778)', '2026-07-20 16:42:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02678 -3.3829)'), GeomFromEWKT('SRID=4674;POINT (-39.026745 -3.382778)'))) / (select extract(epoch from '2026-07-20 16:42:12'::timestamp) - extract(epoch from '2026-07-20 16:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02678 -3.3829)'), GeomFromEWKT('SRID=4674;POINT (-39.026745 -3.382778)'))) / (select extract(epoch from '2026-07-20 16:42:12'::timestamp) - extract(epoch from '2026-07-20 16:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026715 -3.382668)', '2026-07-20 16:42:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026745 -3.382778)'), GeomFromEWKT('SRID=4674;POINT (-39.026715 -3.382668)'))) / (select extract(epoch from '2026-07-20 16:42:18'::timestamp) - extract(epoch from '2026-07-20 16:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026745 -3.382778)'), GeomFromEWKT('SRID=4674;POINT (-39.026715 -3.382668)'))) / (select extract(epoch from '2026-07-20 16:42:18'::timestamp) - extract(epoch from '2026-07-20 16:42: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'), 47443, 'SRID=4674;POINT (-39.026694 -3.382569)', '2026-07-20 16:42:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026715 -3.382668)'), GeomFromEWKT('SRID=4674;POINT (-39.026694 -3.382569)'))) / (select extract(epoch from '2026-07-20 16:42:23'::timestamp) - extract(epoch from '2026-07-20 16:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026715 -3.382668)'), GeomFromEWKT('SRID=4674;POINT (-39.026694 -3.382569)'))) / (select extract(epoch from '2026-07-20 16:42:23'::timestamp) - extract(epoch from '2026-07-20 16:42: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'), 47443, 'SRID=4674;POINT (-39.026679 -3.382466)', '2026-07-20 16:42:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026694 -3.382569)'), GeomFromEWKT('SRID=4674;POINT (-39.026679 -3.382466)'))) / (select extract(epoch from '2026-07-20 16:42:29'::timestamp) - extract(epoch from '2026-07-20 16:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026694 -3.382569)'), GeomFromEWKT('SRID=4674;POINT (-39.026679 -3.382466)'))) / (select extract(epoch from '2026-07-20 16:42:29'::timestamp) - extract(epoch from '2026-07-20 16:42: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'), 47443, 'SRID=4674;POINT (-39.026673 -3.382373)', '2026-07-20 16:42:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026679 -3.382466)'), GeomFromEWKT('SRID=4674;POINT (-39.026673 -3.382373)'))) / (select extract(epoch from '2026-07-20 16:42:34'::timestamp) - extract(epoch from '2026-07-20 16:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026679 -3.382466)'), GeomFromEWKT('SRID=4674;POINT (-39.026673 -3.382373)'))) / (select extract(epoch from '2026-07-20 16:42:34'::timestamp) - extract(epoch from '2026-07-20 16:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026663 -3.382281)', '2026-07-20 16:42:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026673 -3.382373)'), GeomFromEWKT('SRID=4674;POINT (-39.026663 -3.382281)'))) / (select extract(epoch from '2026-07-20 16:42:39'::timestamp) - extract(epoch from '2026-07-20 16:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026673 -3.382373)'), GeomFromEWKT('SRID=4674;POINT (-39.026663 -3.382281)'))) / (select extract(epoch from '2026-07-20 16:42:39'::timestamp) - extract(epoch from '2026-07-20 16:42: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'), 47443, 'SRID=4674;POINT (-39.026651 -3.382247)', '2026-07-20 16:42:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026663 -3.382281)'), GeomFromEWKT('SRID=4674;POINT (-39.026651 -3.382247)'))) / (select extract(epoch from '2026-07-20 16:42:41'::timestamp) - extract(epoch from '2026-07-20 16:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026663 -3.382281)'), GeomFromEWKT('SRID=4674;POINT (-39.026651 -3.382247)'))) / (select extract(epoch from '2026-07-20 16:42:41'::timestamp) - extract(epoch from '2026-07-20 16:42:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026616 -3.382151)', '2026-07-20 16:42:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026651 -3.382247)'), GeomFromEWKT('SRID=4674;POINT (-39.026616 -3.382151)'))) / (select extract(epoch from '2026-07-20 16:42:47'::timestamp) - extract(epoch from '2026-07-20 16:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026651 -3.382247)'), GeomFromEWKT('SRID=4674;POINT (-39.026616 -3.382151)'))) / (select extract(epoch from '2026-07-20 16:42:47'::timestamp) - extract(epoch from '2026-07-20 16:42: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'), 47443, 'SRID=4674;POINT (-39.026588 -3.382032)', '2026-07-20 16:42:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026616 -3.382151)'), GeomFromEWKT('SRID=4674;POINT (-39.026588 -3.382032)'))) / (select extract(epoch from '2026-07-20 16:42:54'::timestamp) - extract(epoch from '2026-07-20 16:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026616 -3.382151)'), GeomFromEWKT('SRID=4674;POINT (-39.026588 -3.382032)'))) / (select extract(epoch from '2026-07-20 16:42:54'::timestamp) - extract(epoch from '2026-07-20 16:42: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'), 47443, 'SRID=4674;POINT (-39.026564 -3.381927)', '2026-07-20 16:43:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026588 -3.382032)'), GeomFromEWKT('SRID=4674;POINT (-39.026564 -3.381927)'))) / (select extract(epoch from '2026-07-20 16:43:00'::timestamp) - extract(epoch from '2026-07-20 16:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026588 -3.382032)'), GeomFromEWKT('SRID=4674;POINT (-39.026564 -3.381927)'))) / (select extract(epoch from '2026-07-20 16:43:00'::timestamp) - extract(epoch from '2026-07-20 16:42: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'), 47443, 'SRID=4674;POINT (-39.026556 -3.381824)', '2026-07-20 16:43:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026564 -3.381927)'), GeomFromEWKT('SRID=4674;POINT (-39.026556 -3.381824)'))) / (select extract(epoch from '2026-07-20 16:43:06'::timestamp) - extract(epoch from '2026-07-20 16:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026564 -3.381927)'), GeomFromEWKT('SRID=4674;POINT (-39.026556 -3.381824)'))) / (select extract(epoch from '2026-07-20 16:43:06'::timestamp) - extract(epoch from '2026-07-20 16:43: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'), 47443, 'SRID=4674;POINT (-39.026534 -3.381693)', '2026-07-20 16:43:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026556 -3.381824)'), GeomFromEWKT('SRID=4674;POINT (-39.026534 -3.381693)'))) / (select extract(epoch from '2026-07-20 16:43:13'::timestamp) - extract(epoch from '2026-07-20 16:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026556 -3.381824)'), GeomFromEWKT('SRID=4674;POINT (-39.026534 -3.381693)'))) / (select extract(epoch from '2026-07-20 16:43:13'::timestamp) - extract(epoch from '2026-07-20 16:43: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'), 47443, 'SRID=4674;POINT (-39.026523 -3.381621)', '2026-07-20 16:43:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026534 -3.381693)'), GeomFromEWKT('SRID=4674;POINT (-39.026523 -3.381621)'))) / (select extract(epoch from '2026-07-20 16:43:17'::timestamp) - extract(epoch from '2026-07-20 16:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026534 -3.381693)'), GeomFromEWKT('SRID=4674;POINT (-39.026523 -3.381621)'))) / (select extract(epoch from '2026-07-20 16:43:17'::timestamp) - extract(epoch from '2026-07-20 16:43:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026524 -3.381603)', '2026-07-20 16:43:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026523 -3.381621)'), GeomFromEWKT('SRID=4674;POINT (-39.026524 -3.381603)'))) / (select extract(epoch from '2026-07-20 16:43:18'::timestamp) - extract(epoch from '2026-07-20 16:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026523 -3.381621)'), GeomFromEWKT('SRID=4674;POINT (-39.026524 -3.381603)'))) / (select extract(epoch from '2026-07-20 16:43:18'::timestamp) - extract(epoch from '2026-07-20 16:43: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'), 47443, 'SRID=4674;POINT (-39.026516 -3.381512)', '2026-07-20 16:43:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026524 -3.381603)'), GeomFromEWKT('SRID=4674;POINT (-39.026516 -3.381512)'))) / (select extract(epoch from '2026-07-20 16:43:23'::timestamp) - extract(epoch from '2026-07-20 16:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026524 -3.381603)'), GeomFromEWKT('SRID=4674;POINT (-39.026516 -3.381512)'))) / (select extract(epoch from '2026-07-20 16:43:23'::timestamp) - extract(epoch from '2026-07-20 16:43: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'), 47443, 'SRID=4674;POINT (-39.026514 -3.381476)', '2026-07-20 16:43:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026516 -3.381512)'), GeomFromEWKT('SRID=4674;POINT (-39.026514 -3.381476)'))) / (select extract(epoch from '2026-07-20 16:43:25'::timestamp) - extract(epoch from '2026-07-20 16:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026516 -3.381512)'), GeomFromEWKT('SRID=4674;POINT (-39.026514 -3.381476)'))) / (select extract(epoch from '2026-07-20 16:43:25'::timestamp) - extract(epoch from '2026-07-20 16:43: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'), 47443, 'SRID=4674;POINT (-39.026502 -3.381419)', '2026-07-20 16:43:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026514 -3.381476)'), GeomFromEWKT('SRID=4674;POINT (-39.026502 -3.381419)'))) / (select extract(epoch from '2026-07-20 16:43:28'::timestamp) - extract(epoch from '2026-07-20 16:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026514 -3.381476)'), GeomFromEWKT('SRID=4674;POINT (-39.026502 -3.381419)'))) / (select extract(epoch from '2026-07-20 16:43:28'::timestamp) - extract(epoch from '2026-07-20 16:43: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'), 47443, 'SRID=4674;POINT (-39.02648 -3.381326)', '2026-07-20 16:43:33', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026502 -3.381419)'), GeomFromEWKT('SRID=4674;POINT (-39.02648 -3.381326)'))) / (select extract(epoch from '2026-07-20 16:43:33'::timestamp) - extract(epoch from '2026-07-20 16:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026502 -3.381419)'), GeomFromEWKT('SRID=4674;POINT (-39.02648 -3.381326)'))) / (select extract(epoch from '2026-07-20 16:43:33'::timestamp) - extract(epoch from '2026-07-20 16:43: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'), 47443, 'SRID=4674;POINT (-39.026478 -3.381268)', '2026-07-20 16:43:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02648 -3.381326)'), GeomFromEWKT('SRID=4674;POINT (-39.026478 -3.381268)'))) / (select extract(epoch from '2026-07-20 16:43:36'::timestamp) - extract(epoch from '2026-07-20 16:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02648 -3.381326)'), GeomFromEWKT('SRID=4674;POINT (-39.026478 -3.381268)'))) / (select extract(epoch from '2026-07-20 16:43:36'::timestamp) - extract(epoch from '2026-07-20 16:43:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026473 -3.38125)', '2026-07-20 16:43:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026478 -3.381268)'), GeomFromEWKT('SRID=4674;POINT (-39.026473 -3.38125)'))) / (select extract(epoch from '2026-07-20 16:43:37'::timestamp) - extract(epoch from '2026-07-20 16:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026478 -3.381268)'), GeomFromEWKT('SRID=4674;POINT (-39.026473 -3.38125)'))) / (select extract(epoch from '2026-07-20 16:43:37'::timestamp) - extract(epoch from '2026-07-20 16:43: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'), 47443, 'SRID=4674;POINT (-39.026455 -3.381193)', '2026-07-20 16:43:40', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026473 -3.38125)'), GeomFromEWKT('SRID=4674;POINT (-39.026455 -3.381193)'))) / (select extract(epoch from '2026-07-20 16:43:40'::timestamp) - extract(epoch from '2026-07-20 16:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026473 -3.38125)'), GeomFromEWKT('SRID=4674;POINT (-39.026455 -3.381193)'))) / (select extract(epoch from '2026-07-20 16:43:40'::timestamp) - extract(epoch from '2026-07-20 16:43:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026452 -3.381135)', '2026-07-20 16:43:43', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026455 -3.381193)'), GeomFromEWKT('SRID=4674;POINT (-39.026452 -3.381135)'))) / (select extract(epoch from '2026-07-20 16:43:43'::timestamp) - extract(epoch from '2026-07-20 16:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026455 -3.381193)'), GeomFromEWKT('SRID=4674;POINT (-39.026452 -3.381135)'))) / (select extract(epoch from '2026-07-20 16:43:43'::timestamp) - extract(epoch from '2026-07-20 16:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026446 -3.381019)', '2026-07-20 16:43:49', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026452 -3.381135)'), GeomFromEWKT('SRID=4674;POINT (-39.026446 -3.381019)'))) / (select extract(epoch from '2026-07-20 16:43:49'::timestamp) - extract(epoch from '2026-07-20 16:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026452 -3.381135)'), GeomFromEWKT('SRID=4674;POINT (-39.026446 -3.381019)'))) / (select extract(epoch from '2026-07-20 16:43:49'::timestamp) - extract(epoch from '2026-07-20 16:43:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026444 -3.380903)', '2026-07-20 16:43:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026446 -3.381019)'), GeomFromEWKT('SRID=4674;POINT (-39.026444 -3.380903)'))) / (select extract(epoch from '2026-07-20 16:43:55'::timestamp) - extract(epoch from '2026-07-20 16:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026446 -3.381019)'), GeomFromEWKT('SRID=4674;POINT (-39.026444 -3.380903)'))) / (select extract(epoch from '2026-07-20 16:43:55'::timestamp) - extract(epoch from '2026-07-20 16:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026441 -3.380824)', '2026-07-20 16:43:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026444 -3.380903)'), GeomFromEWKT('SRID=4674;POINT (-39.026441 -3.380824)'))) / (select extract(epoch from '2026-07-20 16:43:59'::timestamp) - extract(epoch from '2026-07-20 16:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026444 -3.380903)'), GeomFromEWKT('SRID=4674;POINT (-39.026441 -3.380824)'))) / (select extract(epoch from '2026-07-20 16:43:59'::timestamp) - extract(epoch from '2026-07-20 16:43:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026435 -3.380714)', '2026-07-20 16:44:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026441 -3.380824)'), GeomFromEWKT('SRID=4674;POINT (-39.026435 -3.380714)'))) / (select extract(epoch from '2026-07-20 16:44:05'::timestamp) - extract(epoch from '2026-07-20 16:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026441 -3.380824)'), GeomFromEWKT('SRID=4674;POINT (-39.026435 -3.380714)'))) / (select extract(epoch from '2026-07-20 16:44:05'::timestamp) - extract(epoch from '2026-07-20 16:43: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'), 47443, 'SRID=4674;POINT (-39.026429 -3.380619)', '2026-07-20 16:44:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026435 -3.380714)'), GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.380619)'))) / (select extract(epoch from '2026-07-20 16:44:10'::timestamp) - extract(epoch from '2026-07-20 16:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026435 -3.380714)'), GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.380619)'))) / (select extract(epoch from '2026-07-20 16:44:10'::timestamp) - extract(epoch from '2026-07-20 16:44: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'), 47443, 'SRID=4674;POINT (-39.026429 -3.380526)', '2026-07-20 16:44:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.380619)'), GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.380526)'))) / (select extract(epoch from '2026-07-20 16:44:15'::timestamp) - extract(epoch from '2026-07-20 16:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.380619)'), GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.380526)'))) / (select extract(epoch from '2026-07-20 16:44:15'::timestamp) - extract(epoch from '2026-07-20 16:44: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'), 47443, 'SRID=4674;POINT (-39.026427 -3.380468)', '2026-07-20 16:44:18', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.380526)'), GeomFromEWKT('SRID=4674;POINT (-39.026427 -3.380468)'))) / (select extract(epoch from '2026-07-20 16:44:18'::timestamp) - extract(epoch from '2026-07-20 16:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.380526)'), GeomFromEWKT('SRID=4674;POINT (-39.026427 -3.380468)'))) / (select extract(epoch from '2026-07-20 16:44:18'::timestamp) - extract(epoch from '2026-07-20 16:44: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'), 47443, 'SRID=4674;POINT (-39.026427 -3.380431)', '2026-07-20 16:44:20', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026427 -3.380468)'), GeomFromEWKT('SRID=4674;POINT (-39.026427 -3.380431)'))) / (select extract(epoch from '2026-07-20 16:44:20'::timestamp) - extract(epoch from '2026-07-20 16:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026427 -3.380468)'), GeomFromEWKT('SRID=4674;POINT (-39.026427 -3.380431)'))) / (select extract(epoch from '2026-07-20 16:44:20'::timestamp) - extract(epoch from '2026-07-20 16:44:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026429 -3.380339)', '2026-07-20 16:44:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026427 -3.380431)'), GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.380339)'))) / (select extract(epoch from '2026-07-20 16:44:25'::timestamp) - extract(epoch from '2026-07-20 16:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026427 -3.380431)'), GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.380339)'))) / (select extract(epoch from '2026-07-20 16:44:25'::timestamp) - extract(epoch from '2026-07-20 16:44: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'), 47443, 'SRID=4674;POINT (-39.026415 -3.380289)', '2026-07-20 16:44:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.380339)'), GeomFromEWKT('SRID=4674;POINT (-39.026415 -3.380289)'))) / (select extract(epoch from '2026-07-20 16:44:28'::timestamp) - extract(epoch from '2026-07-20 16:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026429 -3.380339)'), GeomFromEWKT('SRID=4674;POINT (-39.026415 -3.380289)'))) / (select extract(epoch from '2026-07-20 16:44:28'::timestamp) - extract(epoch from '2026-07-20 16:44: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'), 47443, 'SRID=4674;POINT (-39.026416 -3.380258)', '2026-07-20 16:44:30', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026415 -3.380289)'), GeomFromEWKT('SRID=4674;POINT (-39.026416 -3.380258)'))) / (select extract(epoch from '2026-07-20 16:44:30'::timestamp) - extract(epoch from '2026-07-20 16:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026415 -3.380289)'), GeomFromEWKT('SRID=4674;POINT (-39.026416 -3.380258)'))) / (select extract(epoch from '2026-07-20 16:44:30'::timestamp) - extract(epoch from '2026-07-20 16:44:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026403 -3.380187)', '2026-07-20 16:44:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026416 -3.380258)'), GeomFromEWKT('SRID=4674;POINT (-39.026403 -3.380187)'))) / (select extract(epoch from '2026-07-20 16:44:34'::timestamp) - extract(epoch from '2026-07-20 16:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026416 -3.380258)'), GeomFromEWKT('SRID=4674;POINT (-39.026403 -3.380187)'))) / (select extract(epoch from '2026-07-20 16:44:34'::timestamp) - extract(epoch from '2026-07-20 16:44:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026399 -3.380168)', '2026-07-20 16:44:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026403 -3.380187)'), GeomFromEWKT('SRID=4674;POINT (-39.026399 -3.380168)'))) / (select extract(epoch from '2026-07-20 16:44:35'::timestamp) - extract(epoch from '2026-07-20 16:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026403 -3.380187)'), GeomFromEWKT('SRID=4674;POINT (-39.026399 -3.380168)'))) / (select extract(epoch from '2026-07-20 16:44:35'::timestamp) - extract(epoch from '2026-07-20 16:44:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026377 -3.380046)', '2026-07-20 16:44:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026399 -3.380168)'), GeomFromEWKT('SRID=4674;POINT (-39.026377 -3.380046)'))) / (select extract(epoch from '2026-07-20 16:44:42'::timestamp) - extract(epoch from '2026-07-20 16:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026399 -3.380168)'), GeomFromEWKT('SRID=4674;POINT (-39.026377 -3.380046)'))) / (select extract(epoch from '2026-07-20 16:44:42'::timestamp) - extract(epoch from '2026-07-20 16:44: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'), 47443, 'SRID=4674;POINT (-39.026366 -3.379948)', '2026-07-20 16:44:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026377 -3.380046)'), GeomFromEWKT('SRID=4674;POINT (-39.026366 -3.379948)'))) / (select extract(epoch from '2026-07-20 16:44:47'::timestamp) - extract(epoch from '2026-07-20 16:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026377 -3.380046)'), GeomFromEWKT('SRID=4674;POINT (-39.026366 -3.379948)'))) / (select extract(epoch from '2026-07-20 16:44:47'::timestamp) - extract(epoch from '2026-07-20 16:44: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'), 47443, 'SRID=4674;POINT (-39.026341 -3.379844)', '2026-07-20 16:44:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026366 -3.379948)'), GeomFromEWKT('SRID=4674;POINT (-39.026341 -3.379844)'))) / (select extract(epoch from '2026-07-20 16:44:53'::timestamp) - extract(epoch from '2026-07-20 16:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026366 -3.379948)'), GeomFromEWKT('SRID=4674;POINT (-39.026341 -3.379844)'))) / (select extract(epoch from '2026-07-20 16:44:53'::timestamp) - extract(epoch from '2026-07-20 16:44: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'), 47443, 'SRID=4674;POINT (-39.026319 -3.37976)', '2026-07-20 16:44:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026341 -3.379844)'), GeomFromEWKT('SRID=4674;POINT (-39.026319 -3.37976)'))) / (select extract(epoch from '2026-07-20 16:44:58'::timestamp) - extract(epoch from '2026-07-20 16:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026341 -3.379844)'), GeomFromEWKT('SRID=4674;POINT (-39.026319 -3.37976)'))) / (select extract(epoch from '2026-07-20 16:44:58'::timestamp) - extract(epoch from '2026-07-20 16:44: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'), 47443, 'SRID=4674;POINT (-39.026292 -3.37966)', '2026-07-20 16:45:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026319 -3.37976)'), GeomFromEWKT('SRID=4674;POINT (-39.026292 -3.37966)'))) / (select extract(epoch from '2026-07-20 16:45:04'::timestamp) - extract(epoch from '2026-07-20 16:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026319 -3.37976)'), GeomFromEWKT('SRID=4674;POINT (-39.026292 -3.37966)'))) / (select extract(epoch from '2026-07-20 16:45:04'::timestamp) - extract(epoch from '2026-07-20 16:44: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'), 47443, 'SRID=4674;POINT (-39.026274 -3.379613)', '2026-07-20 16:45:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026292 -3.37966)'), GeomFromEWKT('SRID=4674;POINT (-39.026274 -3.379613)'))) / (select extract(epoch from '2026-07-20 16:45:07'::timestamp) - extract(epoch from '2026-07-20 16:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026292 -3.37966)'), GeomFromEWKT('SRID=4674;POINT (-39.026274 -3.379613)'))) / (select extract(epoch from '2026-07-20 16:45:07'::timestamp) - extract(epoch from '2026-07-20 16:45: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'), 47443, 'SRID=4674;POINT (-39.026267 -3.379562)', '2026-07-20 16:45:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026274 -3.379613)'), GeomFromEWKT('SRID=4674;POINT (-39.026267 -3.379562)'))) / (select extract(epoch from '2026-07-20 16:45:10'::timestamp) - extract(epoch from '2026-07-20 16:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026274 -3.379613)'), GeomFromEWKT('SRID=4674;POINT (-39.026267 -3.379562)'))) / (select extract(epoch from '2026-07-20 16:45:10'::timestamp) - extract(epoch from '2026-07-20 16:45: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'), 47443, 'SRID=4674;POINT (-39.026266 -3.379525)', '2026-07-20 16:45:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026267 -3.379562)'), GeomFromEWKT('SRID=4674;POINT (-39.026266 -3.379525)'))) / (select extract(epoch from '2026-07-20 16:45:12'::timestamp) - extract(epoch from '2026-07-20 16:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026267 -3.379562)'), GeomFromEWKT('SRID=4674;POINT (-39.026266 -3.379525)'))) / (select extract(epoch from '2026-07-20 16:45:12'::timestamp) - extract(epoch from '2026-07-20 16:45: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'), 47443, 'SRID=4674;POINT (-39.026271 -3.379472)', '2026-07-20 16:45:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026266 -3.379525)'), GeomFromEWKT('SRID=4674;POINT (-39.026271 -3.379472)'))) / (select extract(epoch from '2026-07-20 16:45:15'::timestamp) - extract(epoch from '2026-07-20 16:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026266 -3.379525)'), GeomFromEWKT('SRID=4674;POINT (-39.026271 -3.379472)'))) / (select extract(epoch from '2026-07-20 16:45:15'::timestamp) - extract(epoch from '2026-07-20 16:45: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'), 47443, 'SRID=4674;POINT (-39.026269 -3.379356)', '2026-07-20 16:45:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026271 -3.379472)'), GeomFromEWKT('SRID=4674;POINT (-39.026269 -3.379356)'))) / (select extract(epoch from '2026-07-20 16:45:21'::timestamp) - extract(epoch from '2026-07-20 16:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026271 -3.379472)'), GeomFromEWKT('SRID=4674;POINT (-39.026269 -3.379356)'))) / (select extract(epoch from '2026-07-20 16:45:21'::timestamp) - extract(epoch from '2026-07-20 16:45: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'), 47443, 'SRID=4674;POINT (-39.026255 -3.379236)', '2026-07-20 16:45:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026269 -3.379356)'), GeomFromEWKT('SRID=4674;POINT (-39.026255 -3.379236)'))) / (select extract(epoch from '2026-07-20 16:45:27'::timestamp) - extract(epoch from '2026-07-20 16:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026269 -3.379356)'), GeomFromEWKT('SRID=4674;POINT (-39.026255 -3.379236)'))) / (select extract(epoch from '2026-07-20 16:45:27'::timestamp) - extract(epoch from '2026-07-20 16:45: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'), 47443, 'SRID=4674;POINT (-39.026215 -3.379081)', '2026-07-20 16:45:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026255 -3.379236)'), GeomFromEWKT('SRID=4674;POINT (-39.026215 -3.379081)'))) / (select extract(epoch from '2026-07-20 16:45:35'::timestamp) - extract(epoch from '2026-07-20 16:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026255 -3.379236)'), GeomFromEWKT('SRID=4674;POINT (-39.026215 -3.379081)'))) / (select extract(epoch from '2026-07-20 16:45:35'::timestamp) - extract(epoch from '2026-07-20 16:45: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'), 47443, 'SRID=4674;POINT (-39.026213 -3.379062)', '2026-07-20 16:45:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026215 -3.379081)'), GeomFromEWKT('SRID=4674;POINT (-39.026213 -3.379062)'))) / (select extract(epoch from '2026-07-20 16:45:36'::timestamp) - extract(epoch from '2026-07-20 16:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026215 -3.379081)'), GeomFromEWKT('SRID=4674;POINT (-39.026213 -3.379062)'))) / (select extract(epoch from '2026-07-20 16:45:36'::timestamp) - extract(epoch from '2026-07-20 16:45: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'), 47443, 'SRID=4674;POINT (-39.026199 -3.379003)', '2026-07-20 16:45:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026213 -3.379062)'), GeomFromEWKT('SRID=4674;POINT (-39.026199 -3.379003)'))) / (select extract(epoch from '2026-07-20 16:45:39'::timestamp) - extract(epoch from '2026-07-20 16:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026213 -3.379062)'), GeomFromEWKT('SRID=4674;POINT (-39.026199 -3.379003)'))) / (select extract(epoch from '2026-07-20 16:45:39'::timestamp) - extract(epoch from '2026-07-20 16:45: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'), 47443, 'SRID=4674;POINT (-39.026192 -3.37894)', '2026-07-20 16:45:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026199 -3.379003)'), GeomFromEWKT('SRID=4674;POINT (-39.026192 -3.37894)'))) / (select extract(epoch from '2026-07-20 16:45:42'::timestamp) - extract(epoch from '2026-07-20 16:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026199 -3.379003)'), GeomFromEWKT('SRID=4674;POINT (-39.026192 -3.37894)'))) / (select extract(epoch from '2026-07-20 16:45:42'::timestamp) - extract(epoch from '2026-07-20 16:45: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'), 47443, 'SRID=4674;POINT (-39.026179 -3.378905)', '2026-07-20 16:45:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026192 -3.37894)'), GeomFromEWKT('SRID=4674;POINT (-39.026179 -3.378905)'))) / (select extract(epoch from '2026-07-20 16:45:44'::timestamp) - extract(epoch from '2026-07-20 16:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026192 -3.37894)'), GeomFromEWKT('SRID=4674;POINT (-39.026179 -3.378905)'))) / (select extract(epoch from '2026-07-20 16:45:44'::timestamp) - extract(epoch from '2026-07-20 16:45:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026141 -3.378783)', '2026-07-20 16:45:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026179 -3.378905)'), GeomFromEWKT('SRID=4674;POINT (-39.026141 -3.378783)'))) / (select extract(epoch from '2026-07-20 16:45:51'::timestamp) - extract(epoch from '2026-07-20 16:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026179 -3.378905)'), GeomFromEWKT('SRID=4674;POINT (-39.026141 -3.378783)'))) / (select extract(epoch from '2026-07-20 16:45:51'::timestamp) - extract(epoch from '2026-07-20 16:45: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'), 47443, 'SRID=4674;POINT (-39.026127 -3.378696)', '2026-07-20 16:45:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026141 -3.378783)'), GeomFromEWKT('SRID=4674;POINT (-39.026127 -3.378696)'))) / (select extract(epoch from '2026-07-20 16:45:56'::timestamp) - extract(epoch from '2026-07-20 16:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026141 -3.378783)'), GeomFromEWKT('SRID=4674;POINT (-39.026127 -3.378696)'))) / (select extract(epoch from '2026-07-20 16:45:56'::timestamp) - extract(epoch from '2026-07-20 16:45: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'), 47443, 'SRID=4674;POINT (-39.026105 -3.378593)', '2026-07-20 16:46:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026127 -3.378696)'), GeomFromEWKT('SRID=4674;POINT (-39.026105 -3.378593)'))) / (select extract(epoch from '2026-07-20 16:46:02'::timestamp) - extract(epoch from '2026-07-20 16:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026127 -3.378696)'), GeomFromEWKT('SRID=4674;POINT (-39.026105 -3.378593)'))) / (select extract(epoch from '2026-07-20 16:46:02'::timestamp) - extract(epoch from '2026-07-20 16:45: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'), 47443, 'SRID=4674;POINT (-39.026085 -3.378502)', '2026-07-20 16:46:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026105 -3.378593)'), GeomFromEWKT('SRID=4674;POINT (-39.026085 -3.378502)'))) / (select extract(epoch from '2026-07-20 16:46:07'::timestamp) - extract(epoch from '2026-07-20 16:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026105 -3.378593)'), GeomFromEWKT('SRID=4674;POINT (-39.026085 -3.378502)'))) / (select extract(epoch from '2026-07-20 16:46:07'::timestamp) - extract(epoch from '2026-07-20 16:46: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'), 47443, 'SRID=4674;POINT (-39.026061 -3.378416)', '2026-07-20 16:46:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026085 -3.378502)'), GeomFromEWKT('SRID=4674;POINT (-39.026061 -3.378416)'))) / (select extract(epoch from '2026-07-20 16:46:12'::timestamp) - extract(epoch from '2026-07-20 16:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026085 -3.378502)'), GeomFromEWKT('SRID=4674;POINT (-39.026061 -3.378416)'))) / (select extract(epoch from '2026-07-20 16:46:12'::timestamp) - extract(epoch from '2026-07-20 16:46: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'), 47443, 'SRID=4674;POINT (-39.026046 -3.378382)', '2026-07-20 16:46:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026061 -3.378416)'), GeomFromEWKT('SRID=4674;POINT (-39.026046 -3.378382)'))) / (select extract(epoch from '2026-07-20 16:46:14'::timestamp) - extract(epoch from '2026-07-20 16:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026061 -3.378416)'), GeomFromEWKT('SRID=4674;POINT (-39.026046 -3.378382)'))) / (select extract(epoch from '2026-07-20 16:46:14'::timestamp) - extract(epoch from '2026-07-20 16:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.026034 -3.378327)', '2026-07-20 16:46:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026046 -3.378382)'), GeomFromEWKT('SRID=4674;POINT (-39.026034 -3.378327)'))) / (select extract(epoch from '2026-07-20 16:46:17'::timestamp) - extract(epoch from '2026-07-20 16:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026046 -3.378382)'), GeomFromEWKT('SRID=4674;POINT (-39.026034 -3.378327)'))) / (select extract(epoch from '2026-07-20 16:46:17'::timestamp) - extract(epoch from '2026-07-20 16:46: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'), 47443, 'SRID=4674;POINT (-39.02601 -3.378216)', '2026-07-20 16:46:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026034 -3.378327)'), GeomFromEWKT('SRID=4674;POINT (-39.02601 -3.378216)'))) / (select extract(epoch from '2026-07-20 16:46:23'::timestamp) - extract(epoch from '2026-07-20 16:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026034 -3.378327)'), GeomFromEWKT('SRID=4674;POINT (-39.02601 -3.378216)'))) / (select extract(epoch from '2026-07-20 16:46:23'::timestamp) - extract(epoch from '2026-07-20 16:46: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'), 47443, 'SRID=4674;POINT (-39.025996 -3.378109)', '2026-07-20 16:46:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02601 -3.378216)'), GeomFromEWKT('SRID=4674;POINT (-39.025996 -3.378109)'))) / (select extract(epoch from '2026-07-20 16:46:29'::timestamp) - extract(epoch from '2026-07-20 16:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02601 -3.378216)'), GeomFromEWKT('SRID=4674;POINT (-39.025996 -3.378109)'))) / (select extract(epoch from '2026-07-20 16:46:29'::timestamp) - extract(epoch from '2026-07-20 16:46: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'), 47443, 'SRID=4674;POINT (-39.025991 -3.377988)', '2026-07-20 16:46:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025996 -3.378109)'), GeomFromEWKT('SRID=4674;POINT (-39.025991 -3.377988)'))) / (select extract(epoch from '2026-07-20 16:46:35'::timestamp) - extract(epoch from '2026-07-20 16:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025996 -3.378109)'), GeomFromEWKT('SRID=4674;POINT (-39.025991 -3.377988)'))) / (select extract(epoch from '2026-07-20 16:46:35'::timestamp) - extract(epoch from '2026-07-20 16:46: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'), 47443, 'SRID=4674;POINT (-39.025991 -3.377968)', '2026-07-20 16:46:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025991 -3.377988)'), GeomFromEWKT('SRID=4674;POINT (-39.025991 -3.377968)'))) / (select extract(epoch from '2026-07-20 16:46:36'::timestamp) - extract(epoch from '2026-07-20 16:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025991 -3.377988)'), GeomFromEWKT('SRID=4674;POINT (-39.025991 -3.377968)'))) / (select extract(epoch from '2026-07-20 16:46:36'::timestamp) - extract(epoch from '2026-07-20 16:46: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'), 47443, 'SRID=4674;POINT (-39.025992 -3.377914)', '2026-07-20 16:46:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025991 -3.377968)'), GeomFromEWKT('SRID=4674;POINT (-39.025992 -3.377914)'))) / (select extract(epoch from '2026-07-20 16:46:39'::timestamp) - extract(epoch from '2026-07-20 16:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025991 -3.377968)'), GeomFromEWKT('SRID=4674;POINT (-39.025992 -3.377914)'))) / (select extract(epoch from '2026-07-20 16:46:39'::timestamp) - extract(epoch from '2026-07-20 16:46: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'), 47443, 'SRID=4674;POINT (-39.025969 -3.377801)', '2026-07-20 16:46:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025992 -3.377914)'), GeomFromEWKT('SRID=4674;POINT (-39.025969 -3.377801)'))) / (select extract(epoch from '2026-07-20 16:46:45'::timestamp) - extract(epoch from '2026-07-20 16:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025992 -3.377914)'), GeomFromEWKT('SRID=4674;POINT (-39.025969 -3.377801)'))) / (select extract(epoch from '2026-07-20 16:46:45'::timestamp) - extract(epoch from '2026-07-20 16:46:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.025955 -3.377684)', '2026-07-20 16:46:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025969 -3.377801)'), GeomFromEWKT('SRID=4674;POINT (-39.025955 -3.377684)'))) / (select extract(epoch from '2026-07-20 16:46:51'::timestamp) - extract(epoch from '2026-07-20 16:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025969 -3.377801)'), GeomFromEWKT('SRID=4674;POINT (-39.025955 -3.377684)'))) / (select extract(epoch from '2026-07-20 16:46:51'::timestamp) - extract(epoch from '2026-07-20 16:46: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'), 47443, 'SRID=4674;POINT (-39.02594 -3.37761)', '2026-07-20 16:46:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025955 -3.377684)'), GeomFromEWKT('SRID=4674;POINT (-39.02594 -3.37761)'))) / (select extract(epoch from '2026-07-20 16:46:55'::timestamp) - extract(epoch from '2026-07-20 16:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025955 -3.377684)'), GeomFromEWKT('SRID=4674;POINT (-39.02594 -3.37761)'))) / (select extract(epoch from '2026-07-20 16:46:55'::timestamp) - extract(epoch from '2026-07-20 16:46: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'), 47443, 'SRID=4674;POINT (-39.025936 -3.377592)', '2026-07-20 16:46:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02594 -3.37761)'), GeomFromEWKT('SRID=4674;POINT (-39.025936 -3.377592)'))) / (select extract(epoch from '2026-07-20 16:46:56'::timestamp) - extract(epoch from '2026-07-20 16:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02594 -3.37761)'), GeomFromEWKT('SRID=4674;POINT (-39.025936 -3.377592)'))) / (select extract(epoch from '2026-07-20 16:46:56'::timestamp) - extract(epoch from '2026-07-20 16:46: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'), 47443, 'SRID=4674;POINT (-39.025919 -3.377472)', '2026-07-20 16:47:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025936 -3.377592)'), GeomFromEWKT('SRID=4674;POINT (-39.025919 -3.377472)'))) / (select extract(epoch from '2026-07-20 16:47:02'::timestamp) - extract(epoch from '2026-07-20 16:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025936 -3.377592)'), GeomFromEWKT('SRID=4674;POINT (-39.025919 -3.377472)'))) / (select extract(epoch from '2026-07-20 16:47:02'::timestamp) - extract(epoch from '2026-07-20 16:46: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'), 47443, 'SRID=4674;POINT (-39.025906 -3.377359)', '2026-07-20 16:47:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025919 -3.377472)'), GeomFromEWKT('SRID=4674;POINT (-39.025906 -3.377359)'))) / (select extract(epoch from '2026-07-20 16:47:08'::timestamp) - extract(epoch from '2026-07-20 16:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025919 -3.377472)'), GeomFromEWKT('SRID=4674;POINT (-39.025906 -3.377359)'))) / (select extract(epoch from '2026-07-20 16:47:08'::timestamp) - extract(epoch from '2026-07-20 16:47: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'), 47443, 'SRID=4674;POINT (-39.025888 -3.377243)', '2026-07-20 16:47:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025906 -3.377359)'), GeomFromEWKT('SRID=4674;POINT (-39.025888 -3.377243)'))) / (select extract(epoch from '2026-07-20 16:47:14'::timestamp) - extract(epoch from '2026-07-20 16:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025906 -3.377359)'), GeomFromEWKT('SRID=4674;POINT (-39.025888 -3.377243)'))) / (select extract(epoch from '2026-07-20 16:47:14'::timestamp) - extract(epoch from '2026-07-20 16:47: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'), 47443, 'SRID=4674;POINT (-39.025874 -3.377129)', '2026-07-20 16:47:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025888 -3.377243)'), GeomFromEWKT('SRID=4674;POINT (-39.025874 -3.377129)'))) / (select extract(epoch from '2026-07-20 16:47:20'::timestamp) - extract(epoch from '2026-07-20 16:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025888 -3.377243)'), GeomFromEWKT('SRID=4674;POINT (-39.025874 -3.377129)'))) / (select extract(epoch from '2026-07-20 16:47:20'::timestamp) - extract(epoch from '2026-07-20 16:47:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.025863 -3.377023)', '2026-07-20 16:47:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025874 -3.377129)'), GeomFromEWKT('SRID=4674;POINT (-39.025863 -3.377023)'))) / (select extract(epoch from '2026-07-20 16:47:26'::timestamp) - extract(epoch from '2026-07-20 16:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025874 -3.377129)'), GeomFromEWKT('SRID=4674;POINT (-39.025863 -3.377023)'))) / (select extract(epoch from '2026-07-20 16:47:26'::timestamp) - extract(epoch from '2026-07-20 16:47: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'), 47443, 'SRID=4674;POINT (-39.025858 -3.376931)', '2026-07-20 16:47:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025863 -3.377023)'), GeomFromEWKT('SRID=4674;POINT (-39.025858 -3.376931)'))) / (select extract(epoch from '2026-07-20 16:47:31'::timestamp) - extract(epoch from '2026-07-20 16:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025863 -3.377023)'), GeomFromEWKT('SRID=4674;POINT (-39.025858 -3.376931)'))) / (select extract(epoch from '2026-07-20 16:47:31'::timestamp) - extract(epoch from '2026-07-20 16:47: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'), 47443, 'SRID=4674;POINT (-39.025832 -3.376824)', '2026-07-20 16:47:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025858 -3.376931)'), GeomFromEWKT('SRID=4674;POINT (-39.025832 -3.376824)'))) / (select extract(epoch from '2026-07-20 16:47:37'::timestamp) - extract(epoch from '2026-07-20 16:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025858 -3.376931)'), GeomFromEWKT('SRID=4674;POINT (-39.025832 -3.376824)'))) / (select extract(epoch from '2026-07-20 16:47:37'::timestamp) - extract(epoch from '2026-07-20 16:47: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'), 47443, 'SRID=4674;POINT (-39.02581 -3.376716)', '2026-07-20 16:47:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025832 -3.376824)'), GeomFromEWKT('SRID=4674;POINT (-39.02581 -3.376716)'))) / (select extract(epoch from '2026-07-20 16:47:43'::timestamp) - extract(epoch from '2026-07-20 16:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025832 -3.376824)'), GeomFromEWKT('SRID=4674;POINT (-39.02581 -3.376716)'))) / (select extract(epoch from '2026-07-20 16:47:43'::timestamp) - extract(epoch from '2026-07-20 16:47: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'), 47443, 'SRID=4674;POINT (-39.025791 -3.37658)', '2026-07-20 16:47:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02581 -3.376716)'), GeomFromEWKT('SRID=4674;POINT (-39.025791 -3.37658)'))) / (select extract(epoch from '2026-07-20 16:47:50'::timestamp) - extract(epoch from '2026-07-20 16:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02581 -3.376716)'), GeomFromEWKT('SRID=4674;POINT (-39.025791 -3.37658)'))) / (select extract(epoch from '2026-07-20 16:47:50'::timestamp) - extract(epoch from '2026-07-20 16:47: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'), 47443, 'SRID=4674;POINT (-39.025775 -3.376469)', '2026-07-20 16:47:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025791 -3.37658)'), GeomFromEWKT('SRID=4674;POINT (-39.025775 -3.376469)'))) / (select extract(epoch from '2026-07-20 16:47:56'::timestamp) - extract(epoch from '2026-07-20 16:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025791 -3.37658)'), GeomFromEWKT('SRID=4674;POINT (-39.025775 -3.376469)'))) / (select extract(epoch from '2026-07-20 16:47:56'::timestamp) - extract(epoch from '2026-07-20 16:47: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'), 47443, 'SRID=4674;POINT (-39.025741 -3.376365)', '2026-07-20 16:48:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025775 -3.376469)'), GeomFromEWKT('SRID=4674;POINT (-39.025741 -3.376365)'))) / (select extract(epoch from '2026-07-20 16:48:02'::timestamp) - extract(epoch from '2026-07-20 16:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025775 -3.376469)'), GeomFromEWKT('SRID=4674;POINT (-39.025741 -3.376365)'))) / (select extract(epoch from '2026-07-20 16:48:02'::timestamp) - extract(epoch from '2026-07-20 16:47: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'), 47443, 'SRID=4674;POINT (-39.025719 -3.37628)', '2026-07-20 16:48:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025741 -3.376365)'), GeomFromEWKT('SRID=4674;POINT (-39.025719 -3.37628)'))) / (select extract(epoch from '2026-07-20 16:48:07'::timestamp) - extract(epoch from '2026-07-20 16:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025741 -3.376365)'), GeomFromEWKT('SRID=4674;POINT (-39.025719 -3.37628)'))) / (select extract(epoch from '2026-07-20 16:48:07'::timestamp) - extract(epoch from '2026-07-20 16:48: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'), 47443, 'SRID=4674;POINT (-39.025693 -3.376195)', '2026-07-20 16:48:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025719 -3.37628)'), GeomFromEWKT('SRID=4674;POINT (-39.025693 -3.376195)'))) / (select extract(epoch from '2026-07-20 16:48:12'::timestamp) - extract(epoch from '2026-07-20 16:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025719 -3.37628)'), GeomFromEWKT('SRID=4674;POINT (-39.025693 -3.376195)'))) / (select extract(epoch from '2026-07-20 16:48:12'::timestamp) - extract(epoch from '2026-07-20 16:48: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'), 47443, 'SRID=4674;POINT (-39.025651 -3.376082)', '2026-07-20 16:48:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025693 -3.376195)'), GeomFromEWKT('SRID=4674;POINT (-39.025651 -3.376082)'))) / (select extract(epoch from '2026-07-20 16:48:19'::timestamp) - extract(epoch from '2026-07-20 16:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025693 -3.376195)'), GeomFromEWKT('SRID=4674;POINT (-39.025651 -3.376082)'))) / (select extract(epoch from '2026-07-20 16:48:19'::timestamp) - extract(epoch from '2026-07-20 16:48: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'), 47443, 'SRID=4674;POINT (-39.025637 -3.376052)', '2026-07-20 16:48:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025651 -3.376082)'), GeomFromEWKT('SRID=4674;POINT (-39.025637 -3.376052)'))) / (select extract(epoch from '2026-07-20 16:48:21'::timestamp) - extract(epoch from '2026-07-20 16:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025651 -3.376082)'), GeomFromEWKT('SRID=4674;POINT (-39.025637 -3.376052)'))) / (select extract(epoch from '2026-07-20 16:48:21'::timestamp) - extract(epoch from '2026-07-20 16:48: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'), 47443, 'SRID=4674;POINT (-39.025614 -3.376)', '2026-07-20 16:48:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025637 -3.376052)'), GeomFromEWKT('SRID=4674;POINT (-39.025614 -3.376)'))) / (select extract(epoch from '2026-07-20 16:48:24'::timestamp) - extract(epoch from '2026-07-20 16:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025637 -3.376052)'), GeomFromEWKT('SRID=4674;POINT (-39.025614 -3.376)'))) / (select extract(epoch from '2026-07-20 16:48:24'::timestamp) - extract(epoch from '2026-07-20 16:48: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'), 47443, 'SRID=4674;POINT (-39.025591 -3.375917)', '2026-07-20 16:48:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025614 -3.376)'), GeomFromEWKT('SRID=4674;POINT (-39.025591 -3.375917)'))) / (select extract(epoch from '2026-07-20 16:48:29'::timestamp) - extract(epoch from '2026-07-20 16:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025614 -3.376)'), GeomFromEWKT('SRID=4674;POINT (-39.025591 -3.375917)'))) / (select extract(epoch from '2026-07-20 16:48:29'::timestamp) - extract(epoch from '2026-07-20 16:48: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'), 47443, 'SRID=4674;POINT (-39.025566 -3.375813)', '2026-07-20 16:48:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025591 -3.375917)'), GeomFromEWKT('SRID=4674;POINT (-39.025566 -3.375813)'))) / (select extract(epoch from '2026-07-20 16:48:35'::timestamp) - extract(epoch from '2026-07-20 16:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025591 -3.375917)'), GeomFromEWKT('SRID=4674;POINT (-39.025566 -3.375813)'))) / (select extract(epoch from '2026-07-20 16:48:35'::timestamp) - extract(epoch from '2026-07-20 16:48: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'), 47443, 'SRID=4674;POINT (-39.025556 -3.375774)', '2026-07-20 16:48:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025566 -3.375813)'), GeomFromEWKT('SRID=4674;POINT (-39.025556 -3.375774)'))) / (select extract(epoch from '2026-07-20 16:48:37'::timestamp) - extract(epoch from '2026-07-20 16:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025566 -3.375813)'), GeomFromEWKT('SRID=4674;POINT (-39.025556 -3.375774)'))) / (select extract(epoch from '2026-07-20 16:48:37'::timestamp) - extract(epoch from '2026-07-20 16:48: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'), 47443, 'SRID=4674;POINT (-39.025541 -3.375722)', '2026-07-20 16:48:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025556 -3.375774)'), GeomFromEWKT('SRID=4674;POINT (-39.025541 -3.375722)'))) / (select extract(epoch from '2026-07-20 16:48:40'::timestamp) - extract(epoch from '2026-07-20 16:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025556 -3.375774)'), GeomFromEWKT('SRID=4674;POINT (-39.025541 -3.375722)'))) / (select extract(epoch from '2026-07-20 16:48:40'::timestamp) - extract(epoch from '2026-07-20 16:48: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'), 47443, 'SRID=4674;POINT (-39.025535 -3.375706)', '2026-07-20 16:48:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025541 -3.375722)'), GeomFromEWKT('SRID=4674;POINT (-39.025535 -3.375706)'))) / (select extract(epoch from '2026-07-20 16:48:41'::timestamp) - extract(epoch from '2026-07-20 16:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025541 -3.375722)'), GeomFromEWKT('SRID=4674;POINT (-39.025535 -3.375706)'))) / (select extract(epoch from '2026-07-20 16:48:41'::timestamp) - extract(epoch from '2026-07-20 16:48: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'), 47443, 'SRID=4674;POINT (-39.025517 -3.375658)', '2026-07-20 16:48:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025535 -3.375706)'), GeomFromEWKT('SRID=4674;POINT (-39.025517 -3.375658)'))) / (select extract(epoch from '2026-07-20 16:48:44'::timestamp) - extract(epoch from '2026-07-20 16:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025535 -3.375706)'), GeomFromEWKT('SRID=4674;POINT (-39.025517 -3.375658)'))) / (select extract(epoch from '2026-07-20 16:48:44'::timestamp) - extract(epoch from '2026-07-20 16:48: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'), 47443, 'SRID=4674;POINT (-39.025496 -3.375565)', '2026-07-20 16:48:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025517 -3.375658)'), GeomFromEWKT('SRID=4674;POINT (-39.025496 -3.375565)'))) / (select extract(epoch from '2026-07-20 16:48:50'::timestamp) - extract(epoch from '2026-07-20 16:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025517 -3.375658)'), GeomFromEWKT('SRID=4674;POINT (-39.025496 -3.375565)'))) / (select extract(epoch from '2026-07-20 16:48:50'::timestamp) - extract(epoch from '2026-07-20 16:48: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'), 47443, 'SRID=4674;POINT (-39.025494 -3.375549)', '2026-07-20 16:48:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025496 -3.375565)'), GeomFromEWKT('SRID=4674;POINT (-39.025494 -3.375549)'))) / (select extract(epoch from '2026-07-20 16:48:51'::timestamp) - extract(epoch from '2026-07-20 16:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025496 -3.375565)'), GeomFromEWKT('SRID=4674;POINT (-39.025494 -3.375549)'))) / (select extract(epoch from '2026-07-20 16:48:51'::timestamp) - extract(epoch from '2026-07-20 16:48: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'), 47443, 'SRID=4674;POINT (-39.025468 -3.375467)', '2026-07-20 16:48:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025494 -3.375549)'), GeomFromEWKT('SRID=4674;POINT (-39.025468 -3.375467)'))) / (select extract(epoch from '2026-07-20 16:48:56'::timestamp) - extract(epoch from '2026-07-20 16:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025494 -3.375549)'), GeomFromEWKT('SRID=4674;POINT (-39.025468 -3.375467)'))) / (select extract(epoch from '2026-07-20 16:48:56'::timestamp) - extract(epoch from '2026-07-20 16:48: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'), 47443, 'SRID=4674;POINT (-39.025462 -3.375401)', '2026-07-20 16:49:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025468 -3.375467)'), GeomFromEWKT('SRID=4674;POINT (-39.025462 -3.375401)'))) / (select extract(epoch from '2026-07-20 16:49:00'::timestamp) - extract(epoch from '2026-07-20 16:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025468 -3.375467)'), GeomFromEWKT('SRID=4674;POINT (-39.025462 -3.375401)'))) / (select extract(epoch from '2026-07-20 16:49:00'::timestamp) - extract(epoch from '2026-07-20 16:48: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'), 47443, 'SRID=4674;POINT (-39.025457 -3.375386)', '2026-07-20 16:49:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025462 -3.375401)'), GeomFromEWKT('SRID=4674;POINT (-39.025457 -3.375386)'))) / (select extract(epoch from '2026-07-20 16:49:01'::timestamp) - extract(epoch from '2026-07-20 16:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025462 -3.375401)'), GeomFromEWKT('SRID=4674;POINT (-39.025457 -3.375386)'))) / (select extract(epoch from '2026-07-20 16:49:01'::timestamp) - extract(epoch from '2026-07-20 16:49: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'), 47443, 'SRID=4674;POINT (-39.025437 -3.375336)', '2026-07-20 16:49:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025457 -3.375386)'), GeomFromEWKT('SRID=4674;POINT (-39.025437 -3.375336)'))) / (select extract(epoch from '2026-07-20 16:49:04'::timestamp) - extract(epoch from '2026-07-20 16:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025457 -3.375386)'), GeomFromEWKT('SRID=4674;POINT (-39.025437 -3.375336)'))) / (select extract(epoch from '2026-07-20 16:49:04'::timestamp) - extract(epoch from '2026-07-20 16:49:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.025441 -3.375318)', '2026-07-20 16:49:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025437 -3.375336)'), GeomFromEWKT('SRID=4674;POINT (-39.025441 -3.375318)'))) / (select extract(epoch from '2026-07-20 16:49:05'::timestamp) - extract(epoch from '2026-07-20 16:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025437 -3.375336)'), GeomFromEWKT('SRID=4674;POINT (-39.025441 -3.375318)'))) / (select extract(epoch from '2026-07-20 16:49:05'::timestamp) - extract(epoch from '2026-07-20 16:49: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'), 47443, 'SRID=4674;POINT (-39.02544 -3.375303)', '2026-07-20 16:49:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025441 -3.375318)'), GeomFromEWKT('SRID=4674;POINT (-39.02544 -3.375303)'))) / (select extract(epoch from '2026-07-20 16:49:06'::timestamp) - extract(epoch from '2026-07-20 16:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025441 -3.375318)'), GeomFromEWKT('SRID=4674;POINT (-39.02544 -3.375303)'))) / (select extract(epoch from '2026-07-20 16:49:06'::timestamp) - extract(epoch from '2026-07-20 16:49: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'), 47443, 'SRID=4674;POINT (-39.025429 -3.375251)', '2026-07-20 16:49:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02544 -3.375303)'), GeomFromEWKT('SRID=4674;POINT (-39.025429 -3.375251)'))) / (select extract(epoch from '2026-07-20 16:49:09'::timestamp) - extract(epoch from '2026-07-20 16:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02544 -3.375303)'), GeomFromEWKT('SRID=4674;POINT (-39.025429 -3.375251)'))) / (select extract(epoch from '2026-07-20 16:49:09'::timestamp) - extract(epoch from '2026-07-20 16:49:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.025426 -3.375234)', '2026-07-20 16:49:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025429 -3.375251)'), GeomFromEWKT('SRID=4674;POINT (-39.025426 -3.375234)'))) / (select extract(epoch from '2026-07-20 16:49:10'::timestamp) - extract(epoch from '2026-07-20 16:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025429 -3.375251)'), GeomFromEWKT('SRID=4674;POINT (-39.025426 -3.375234)'))) / (select extract(epoch from '2026-07-20 16:49:10'::timestamp) - extract(epoch from '2026-07-20 16:49: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'), 47443, 'SRID=4674;POINT (-39.025419 -3.37519)', '2026-07-20 16:49:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025426 -3.375234)'), GeomFromEWKT('SRID=4674;POINT (-39.025419 -3.37519)'))) / (select extract(epoch from '2026-07-20 16:49:13'::timestamp) - extract(epoch from '2026-07-20 16:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025426 -3.375234)'), GeomFromEWKT('SRID=4674;POINT (-39.025419 -3.37519)'))) / (select extract(epoch from '2026-07-20 16:49:13'::timestamp) - extract(epoch from '2026-07-20 16:49: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'), 47443, 'SRID=4674;POINT (-39.025394 -3.375106)', '2026-07-20 16:49:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025419 -3.37519)'), GeomFromEWKT('SRID=4674;POINT (-39.025394 -3.375106)'))) / (select extract(epoch from '2026-07-20 16:49:18'::timestamp) - extract(epoch from '2026-07-20 16:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025419 -3.37519)'), GeomFromEWKT('SRID=4674;POINT (-39.025394 -3.375106)'))) / (select extract(epoch from '2026-07-20 16:49:18'::timestamp) - extract(epoch from '2026-07-20 16:49: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'), 47443, 'SRID=4674;POINT (-39.025388 -3.375089)', '2026-07-20 16:49:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025394 -3.375106)'), GeomFromEWKT('SRID=4674;POINT (-39.025388 -3.375089)'))) / (select extract(epoch from '2026-07-20 16:49:19'::timestamp) - extract(epoch from '2026-07-20 16:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025394 -3.375106)'), GeomFromEWKT('SRID=4674;POINT (-39.025388 -3.375089)'))) / (select extract(epoch from '2026-07-20 16:49:19'::timestamp) - extract(epoch from '2026-07-20 16:49: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'), 47443, 'SRID=4674;POINT (-39.025369 -3.374987)', '2026-07-20 16:49:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025388 -3.375089)'), GeomFromEWKT('SRID=4674;POINT (-39.025369 -3.374987)'))) / (select extract(epoch from '2026-07-20 16:49:25'::timestamp) - extract(epoch from '2026-07-20 16:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025388 -3.375089)'), GeomFromEWKT('SRID=4674;POINT (-39.025369 -3.374987)'))) / (select extract(epoch from '2026-07-20 16:49:25'::timestamp) - extract(epoch from '2026-07-20 16:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.025348 -3.37492)', '2026-07-20 16:49:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025369 -3.374987)'), GeomFromEWKT('SRID=4674;POINT (-39.025348 -3.37492)'))) / (select extract(epoch from '2026-07-20 16:49:29'::timestamp) - extract(epoch from '2026-07-20 16:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025369 -3.374987)'), GeomFromEWKT('SRID=4674;POINT (-39.025348 -3.37492)'))) / (select extract(epoch from '2026-07-20 16:49:29'::timestamp) - extract(epoch from '2026-07-20 16:49: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'), 47443, 'SRID=4674;POINT (-39.025322 -3.374816)', '2026-07-20 16:49:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025348 -3.37492)'), GeomFromEWKT('SRID=4674;POINT (-39.025322 -3.374816)'))) / (select extract(epoch from '2026-07-20 16:49:35'::timestamp) - extract(epoch from '2026-07-20 16:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025348 -3.37492)'), GeomFromEWKT('SRID=4674;POINT (-39.025322 -3.374816)'))) / (select extract(epoch from '2026-07-20 16:49:35'::timestamp) - extract(epoch from '2026-07-20 16:49: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'), 47443, 'SRID=4674;POINT (-39.025306 -3.374701)', '2026-07-20 16:49:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025322 -3.374816)'), GeomFromEWKT('SRID=4674;POINT (-39.025306 -3.374701)'))) / (select extract(epoch from '2026-07-20 16:49:42'::timestamp) - extract(epoch from '2026-07-20 16:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025322 -3.374816)'), GeomFromEWKT('SRID=4674;POINT (-39.025306 -3.374701)'))) / (select extract(epoch from '2026-07-20 16:49:42'::timestamp) - extract(epoch from '2026-07-20 16:49: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'), 47443, 'SRID=4674;POINT (-39.025286 -3.374647)', '2026-07-20 16:49:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025306 -3.374701)'), GeomFromEWKT('SRID=4674;POINT (-39.025286 -3.374647)'))) / (select extract(epoch from '2026-07-20 16:49:46'::timestamp) - extract(epoch from '2026-07-20 16:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025306 -3.374701)'), GeomFromEWKT('SRID=4674;POINT (-39.025286 -3.374647)'))) / (select extract(epoch from '2026-07-20 16:49:46'::timestamp) - extract(epoch from '2026-07-20 16:49:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.025283 -3.374633)', '2026-07-20 16:49:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025286 -3.374647)'), GeomFromEWKT('SRID=4674;POINT (-39.025283 -3.374633)'))) / (select extract(epoch from '2026-07-20 16:49:47'::timestamp) - extract(epoch from '2026-07-20 16:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025286 -3.374647)'), GeomFromEWKT('SRID=4674;POINT (-39.025283 -3.374633)'))) / (select extract(epoch from '2026-07-20 16:49:47'::timestamp) - extract(epoch from '2026-07-20 16:49: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'), 47443, 'SRID=4674;POINT (-39.025266 -3.37455)', '2026-07-20 16:49:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025283 -3.374633)'), GeomFromEWKT('SRID=4674;POINT (-39.025266 -3.37455)'))) / (select extract(epoch from '2026-07-20 16:49:52'::timestamp) - extract(epoch from '2026-07-20 16:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025283 -3.374633)'), GeomFromEWKT('SRID=4674;POINT (-39.025266 -3.37455)'))) / (select extract(epoch from '2026-07-20 16:49:52'::timestamp) - extract(epoch from '2026-07-20 16:49: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'), 47443, 'SRID=4674;POINT (-39.025238 -3.374467)', '2026-07-20 16:49:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025266 -3.37455)'), GeomFromEWKT('SRID=4674;POINT (-39.025238 -3.374467)'))) / (select extract(epoch from '2026-07-20 16:49:57'::timestamp) - extract(epoch from '2026-07-20 16:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025266 -3.37455)'), GeomFromEWKT('SRID=4674;POINT (-39.025238 -3.374467)'))) / (select extract(epoch from '2026-07-20 16:49:57'::timestamp) - extract(epoch from '2026-07-20 16:49: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'), 47443, 'SRID=4674;POINT (-39.025197 -3.374365)', '2026-07-20 16:50:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025238 -3.374467)'), GeomFromEWKT('SRID=4674;POINT (-39.025197 -3.374365)'))) / (select extract(epoch from '2026-07-20 16:50:04'::timestamp) - extract(epoch from '2026-07-20 16:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025238 -3.374467)'), GeomFromEWKT('SRID=4674;POINT (-39.025197 -3.374365)'))) / (select extract(epoch from '2026-07-20 16:50:04'::timestamp) - extract(epoch from '2026-07-20 16:49: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'), 47443, 'SRID=4674;POINT (-39.025185 -3.374335)', '2026-07-20 16:50:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025197 -3.374365)'), GeomFromEWKT('SRID=4674;POINT (-39.025185 -3.374335)'))) / (select extract(epoch from '2026-07-20 16:50:06'::timestamp) - extract(epoch from '2026-07-20 16:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025197 -3.374365)'), GeomFromEWKT('SRID=4674;POINT (-39.025185 -3.374335)'))) / (select extract(epoch from '2026-07-20 16:50:06'::timestamp) - extract(epoch from '2026-07-20 16:50:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.025163 -3.374288)', '2026-07-20 16:50:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025185 -3.374335)'), GeomFromEWKT('SRID=4674;POINT (-39.025163 -3.374288)'))) / (select extract(epoch from '2026-07-20 16:50:09'::timestamp) - extract(epoch from '2026-07-20 16:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025185 -3.374335)'), GeomFromEWKT('SRID=4674;POINT (-39.025163 -3.374288)'))) / (select extract(epoch from '2026-07-20 16:50:09'::timestamp) - extract(epoch from '2026-07-20 16:50: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'), 47443, 'SRID=4674;POINT (-39.025119 -3.374168)', '2026-07-20 16:50:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025163 -3.374288)'), GeomFromEWKT('SRID=4674;POINT (-39.025119 -3.374168)'))) / (select extract(epoch from '2026-07-20 16:50:16'::timestamp) - extract(epoch from '2026-07-20 16:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025163 -3.374288)'), GeomFromEWKT('SRID=4674;POINT (-39.025119 -3.374168)'))) / (select extract(epoch from '2026-07-20 16:50:16'::timestamp) - extract(epoch from '2026-07-20 16:50: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'), 47443, 'SRID=4674;POINT (-39.025107 -3.374115)', '2026-07-20 16:50:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025119 -3.374168)'), GeomFromEWKT('SRID=4674;POINT (-39.025107 -3.374115)'))) / (select extract(epoch from '2026-07-20 16:50:19'::timestamp) - extract(epoch from '2026-07-20 16:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025119 -3.374168)'), GeomFromEWKT('SRID=4674;POINT (-39.025107 -3.374115)'))) / (select extract(epoch from '2026-07-20 16:50:19'::timestamp) - extract(epoch from '2026-07-20 16:50:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.025097 -3.374097)', '2026-07-20 16:50:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025107 -3.374115)'), GeomFromEWKT('SRID=4674;POINT (-39.025097 -3.374097)'))) / (select extract(epoch from '2026-07-20 16:50:20'::timestamp) - extract(epoch from '2026-07-20 16:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025107 -3.374115)'), GeomFromEWKT('SRID=4674;POINT (-39.025097 -3.374097)'))) / (select extract(epoch from '2026-07-20 16:50:20'::timestamp) - extract(epoch from '2026-07-20 16:50: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'), 47443, 'SRID=4674;POINT (-39.025071 -3.374014)', '2026-07-20 16:50:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025097 -3.374097)'), GeomFromEWKT('SRID=4674;POINT (-39.025071 -3.374014)'))) / (select extract(epoch from '2026-07-20 16:50:25'::timestamp) - extract(epoch from '2026-07-20 16:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025097 -3.374097)'), GeomFromEWKT('SRID=4674;POINT (-39.025071 -3.374014)'))) / (select extract(epoch from '2026-07-20 16:50:25'::timestamp) - extract(epoch from '2026-07-20 16:50: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'), 47443, 'SRID=4674;POINT (-39.025061 -3.373969)', '2026-07-20 16:50:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025071 -3.374014)'), GeomFromEWKT('SRID=4674;POINT (-39.025061 -3.373969)'))) / (select extract(epoch from '2026-07-20 16:50:28'::timestamp) - extract(epoch from '2026-07-20 16:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025071 -3.374014)'), GeomFromEWKT('SRID=4674;POINT (-39.025061 -3.373969)'))) / (select extract(epoch from '2026-07-20 16:50:28'::timestamp) - extract(epoch from '2026-07-20 16:50:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.025053 -3.373934)', '2026-07-20 16:50:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025061 -3.373969)'), GeomFromEWKT('SRID=4674;POINT (-39.025053 -3.373934)'))) / (select extract(epoch from '2026-07-20 16:50:30'::timestamp) - extract(epoch from '2026-07-20 16:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025061 -3.373969)'), GeomFromEWKT('SRID=4674;POINT (-39.025053 -3.373934)'))) / (select extract(epoch from '2026-07-20 16:50:30'::timestamp) - extract(epoch from '2026-07-20 16:50:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.025024 -3.373833)', '2026-07-20 16:50:36', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025053 -3.373934)'), GeomFromEWKT('SRID=4674;POINT (-39.025024 -3.373833)'))) / (select extract(epoch from '2026-07-20 16:50:36'::timestamp) - extract(epoch from '2026-07-20 16:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025053 -3.373934)'), GeomFromEWKT('SRID=4674;POINT (-39.025024 -3.373833)'))) / (select extract(epoch from '2026-07-20 16:50:36'::timestamp) - extract(epoch from '2026-07-20 16:50: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'), 47443, 'SRID=4674;POINT (-39.024993 -3.373735)', '2026-07-20 16:50:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025024 -3.373833)'), GeomFromEWKT('SRID=4674;POINT (-39.024993 -3.373735)'))) / (select extract(epoch from '2026-07-20 16:50:42'::timestamp) - extract(epoch from '2026-07-20 16:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025024 -3.373833)'), GeomFromEWKT('SRID=4674;POINT (-39.024993 -3.373735)'))) / (select extract(epoch from '2026-07-20 16:50:42'::timestamp) - extract(epoch from '2026-07-20 16:50: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'), 47443, 'SRID=4674;POINT (-39.024982 -3.373687)', '2026-07-20 16:50:45', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024993 -3.373735)'), GeomFromEWKT('SRID=4674;POINT (-39.024982 -3.373687)'))) / (select extract(epoch from '2026-07-20 16:50:45'::timestamp) - extract(epoch from '2026-07-20 16:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024993 -3.373735)'), GeomFromEWKT('SRID=4674;POINT (-39.024982 -3.373687)'))) / (select extract(epoch from '2026-07-20 16:50:45'::timestamp) - extract(epoch from '2026-07-20 16:50: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'), 47443, 'SRID=4674;POINT (-39.024983 -3.373653)', '2026-07-20 16:50:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024982 -3.373687)'), GeomFromEWKT('SRID=4674;POINT (-39.024983 -3.373653)'))) / (select extract(epoch from '2026-07-20 16:50:47'::timestamp) - extract(epoch from '2026-07-20 16:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024982 -3.373687)'), GeomFromEWKT('SRID=4674;POINT (-39.024983 -3.373653)'))) / (select extract(epoch from '2026-07-20 16:50:47'::timestamp) - extract(epoch from '2026-07-20 16:50:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.02497 -3.373616)', '2026-07-20 16:50:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024983 -3.373653)'), GeomFromEWKT('SRID=4674;POINT (-39.02497 -3.373616)'))) / (select extract(epoch from '2026-07-20 16:50:49'::timestamp) - extract(epoch from '2026-07-20 16:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024983 -3.373653)'), GeomFromEWKT('SRID=4674;POINT (-39.02497 -3.373616)'))) / (select extract(epoch from '2026-07-20 16:50:49'::timestamp) - extract(epoch from '2026-07-20 16:50:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024964 -3.373561)', '2026-07-20 16:50:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02497 -3.373616)'), GeomFromEWKT('SRID=4674;POINT (-39.024964 -3.373561)'))) / (select extract(epoch from '2026-07-20 16:50:52'::timestamp) - extract(epoch from '2026-07-20 16:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02497 -3.373616)'), GeomFromEWKT('SRID=4674;POINT (-39.024964 -3.373561)'))) / (select extract(epoch from '2026-07-20 16:50:52'::timestamp) - extract(epoch from '2026-07-20 16:50: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'), 47443, 'SRID=4674;POINT (-39.024943 -3.373475)', '2026-07-20 16:50:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024964 -3.373561)'), GeomFromEWKT('SRID=4674;POINT (-39.024943 -3.373475)'))) / (select extract(epoch from '2026-07-20 16:50:57'::timestamp) - extract(epoch from '2026-07-20 16:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024964 -3.373561)'), GeomFromEWKT('SRID=4674;POINT (-39.024943 -3.373475)'))) / (select extract(epoch from '2026-07-20 16:50:57'::timestamp) - extract(epoch from '2026-07-20 16:50: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'), 47443, 'SRID=4674;POINT (-39.024912 -3.373372)', '2026-07-20 16:51:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024943 -3.373475)'), GeomFromEWKT('SRID=4674;POINT (-39.024912 -3.373372)'))) / (select extract(epoch from '2026-07-20 16:51:03'::timestamp) - extract(epoch from '2026-07-20 16:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024943 -3.373475)'), GeomFromEWKT('SRID=4674;POINT (-39.024912 -3.373372)'))) / (select extract(epoch from '2026-07-20 16:51:03'::timestamp) - extract(epoch from '2026-07-20 16:50: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'), 47443, 'SRID=4674;POINT (-39.024892 -3.373284)', '2026-07-20 16:51:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024912 -3.373372)'), GeomFromEWKT('SRID=4674;POINT (-39.024892 -3.373284)'))) / (select extract(epoch from '2026-07-20 16:51:08'::timestamp) - extract(epoch from '2026-07-20 16:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024912 -3.373372)'), GeomFromEWKT('SRID=4674;POINT (-39.024892 -3.373284)'))) / (select extract(epoch from '2026-07-20 16:51:08'::timestamp) - extract(epoch from '2026-07-20 16:51:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024871 -3.373174)', '2026-07-20 16:51:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024892 -3.373284)'), GeomFromEWKT('SRID=4674;POINT (-39.024871 -3.373174)'))) / (select extract(epoch from '2026-07-20 16:51:14'::timestamp) - extract(epoch from '2026-07-20 16:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024892 -3.373284)'), GeomFromEWKT('SRID=4674;POINT (-39.024871 -3.373174)'))) / (select extract(epoch from '2026-07-20 16:51:14'::timestamp) - extract(epoch from '2026-07-20 16:51:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024869 -3.373155)', '2026-07-20 16:51:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024871 -3.373174)'), GeomFromEWKT('SRID=4674;POINT (-39.024869 -3.373155)'))) / (select extract(epoch from '2026-07-20 16:51:15'::timestamp) - extract(epoch from '2026-07-20 16:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024871 -3.373174)'), GeomFromEWKT('SRID=4674;POINT (-39.024869 -3.373155)'))) / (select extract(epoch from '2026-07-20 16:51:15'::timestamp) - extract(epoch from '2026-07-20 16:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024855 -3.373069)', '2026-07-20 16:51:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024869 -3.373155)'), GeomFromEWKT('SRID=4674;POINT (-39.024855 -3.373069)'))) / (select extract(epoch from '2026-07-20 16:51:20'::timestamp) - extract(epoch from '2026-07-20 16:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024869 -3.373155)'), GeomFromEWKT('SRID=4674;POINT (-39.024855 -3.373069)'))) / (select extract(epoch from '2026-07-20 16:51:20'::timestamp) - extract(epoch from '2026-07-20 16:51: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'), 47443, 'SRID=4674;POINT (-39.024841 -3.372961)', '2026-07-20 16:51:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024855 -3.373069)'), GeomFromEWKT('SRID=4674;POINT (-39.024841 -3.372961)'))) / (select extract(epoch from '2026-07-20 16:51:26'::timestamp) - extract(epoch from '2026-07-20 16:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024855 -3.373069)'), GeomFromEWKT('SRID=4674;POINT (-39.024841 -3.372961)'))) / (select extract(epoch from '2026-07-20 16:51:26'::timestamp) - extract(epoch from '2026-07-20 16:51: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'), 47443, 'SRID=4674;POINT (-39.024839 -3.372919)', '2026-07-20 16:51:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024841 -3.372961)'), GeomFromEWKT('SRID=4674;POINT (-39.024839 -3.372919)'))) / (select extract(epoch from '2026-07-20 16:51:28'::timestamp) - extract(epoch from '2026-07-20 16:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024841 -3.372961)'), GeomFromEWKT('SRID=4674;POINT (-39.024839 -3.372919)'))) / (select extract(epoch from '2026-07-20 16:51:28'::timestamp) - extract(epoch from '2026-07-20 16:51: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'), 47443, 'SRID=4674;POINT (-39.024843 -3.372882)', '2026-07-20 16:51:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024839 -3.372919)'), GeomFromEWKT('SRID=4674;POINT (-39.024843 -3.372882)'))) / (select extract(epoch from '2026-07-20 16:51:30'::timestamp) - extract(epoch from '2026-07-20 16:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024839 -3.372919)'), GeomFromEWKT('SRID=4674;POINT (-39.024843 -3.372882)'))) / (select extract(epoch from '2026-07-20 16:51:30'::timestamp) - extract(epoch from '2026-07-20 16:51:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024839 -3.372863)', '2026-07-20 16:51:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024843 -3.372882)'), GeomFromEWKT('SRID=4674;POINT (-39.024839 -3.372863)'))) / (select extract(epoch from '2026-07-20 16:51:31'::timestamp) - extract(epoch from '2026-07-20 16:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024843 -3.372882)'), GeomFromEWKT('SRID=4674;POINT (-39.024839 -3.372863)'))) / (select extract(epoch from '2026-07-20 16:51:31'::timestamp) - extract(epoch from '2026-07-20 16:51: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'), 47443, 'SRID=4674;POINT (-39.02483 -3.372826)', '2026-07-20 16:51:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024839 -3.372863)'), GeomFromEWKT('SRID=4674;POINT (-39.02483 -3.372826)'))) / (select extract(epoch from '2026-07-20 16:51:33'::timestamp) - extract(epoch from '2026-07-20 16:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024839 -3.372863)'), GeomFromEWKT('SRID=4674;POINT (-39.02483 -3.372826)'))) / (select extract(epoch from '2026-07-20 16:51:33'::timestamp) - extract(epoch from '2026-07-20 16:51: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'), 47443, 'SRID=4674;POINT (-39.024836 -3.37279)', '2026-07-20 16:51:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02483 -3.372826)'), GeomFromEWKT('SRID=4674;POINT (-39.024836 -3.37279)'))) / (select extract(epoch from '2026-07-20 16:51:35'::timestamp) - extract(epoch from '2026-07-20 16:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02483 -3.372826)'), GeomFromEWKT('SRID=4674;POINT (-39.024836 -3.37279)'))) / (select extract(epoch from '2026-07-20 16:51:35'::timestamp) - extract(epoch from '2026-07-20 16:51: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'), 47443, 'SRID=4674;POINT (-39.02482 -3.372655)', '2026-07-20 16:51:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024836 -3.37279)'), GeomFromEWKT('SRID=4674;POINT (-39.02482 -3.372655)'))) / (select extract(epoch from '2026-07-20 16:51:42'::timestamp) - extract(epoch from '2026-07-20 16:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024836 -3.37279)'), GeomFromEWKT('SRID=4674;POINT (-39.02482 -3.372655)'))) / (select extract(epoch from '2026-07-20 16:51:42'::timestamp) - extract(epoch from '2026-07-20 16:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024793 -3.372543)', '2026-07-20 16:51:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02482 -3.372655)'), GeomFromEWKT('SRID=4674;POINT (-39.024793 -3.372543)'))) / (select extract(epoch from '2026-07-20 16:51:48'::timestamp) - extract(epoch from '2026-07-20 16:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02482 -3.372655)'), GeomFromEWKT('SRID=4674;POINT (-39.024793 -3.372543)'))) / (select extract(epoch from '2026-07-20 16:51:48'::timestamp) - extract(epoch from '2026-07-20 16:51:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024786 -3.37251)', '2026-07-20 16:51:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024793 -3.372543)'), GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.37251)'))) / (select extract(epoch from '2026-07-20 16:51:50'::timestamp) - extract(epoch from '2026-07-20 16:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024793 -3.372543)'), GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.37251)'))) / (select extract(epoch from '2026-07-20 16:51:50'::timestamp) - extract(epoch from '2026-07-20 16:51:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024771 -3.372479)', '2026-07-20 16:51:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.37251)'), GeomFromEWKT('SRID=4674;POINT (-39.024771 -3.372479)'))) / (select extract(epoch from '2026-07-20 16:51:52'::timestamp) - extract(epoch from '2026-07-20 16:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.37251)'), GeomFromEWKT('SRID=4674;POINT (-39.024771 -3.372479)'))) / (select extract(epoch from '2026-07-20 16:51:52'::timestamp) - extract(epoch from '2026-07-20 16:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024767 -3.372464)', '2026-07-20 16:51:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024771 -3.372479)'), GeomFromEWKT('SRID=4674;POINT (-39.024767 -3.372464)'))) / (select extract(epoch from '2026-07-20 16:51:53'::timestamp) - extract(epoch from '2026-07-20 16:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024771 -3.372479)'), GeomFromEWKT('SRID=4674;POINT (-39.024767 -3.372464)'))) / (select extract(epoch from '2026-07-20 16:51:53'::timestamp) - extract(epoch from '2026-07-20 16:51: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'), 47443, 'SRID=4674;POINT (-39.024765 -3.37245)', '2026-07-20 16:51:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024767 -3.372464)'), GeomFromEWKT('SRID=4674;POINT (-39.024765 -3.37245)'))) / (select extract(epoch from '2026-07-20 16:51:54'::timestamp) - extract(epoch from '2026-07-20 16:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024767 -3.372464)'), GeomFromEWKT('SRID=4674;POINT (-39.024765 -3.37245)'))) / (select extract(epoch from '2026-07-20 16:51:54'::timestamp) - extract(epoch from '2026-07-20 16:51: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'), 47443, 'SRID=4674;POINT (-39.024757 -3.372425)', '2026-07-20 16:51:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024765 -3.37245)'), GeomFromEWKT('SRID=4674;POINT (-39.024757 -3.372425)'))) / (select extract(epoch from '2026-07-20 16:51:56'::timestamp) - extract(epoch from '2026-07-20 16:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024765 -3.37245)'), GeomFromEWKT('SRID=4674;POINT (-39.024757 -3.372425)'))) / (select extract(epoch from '2026-07-20 16:51:56'::timestamp) - extract(epoch from '2026-07-20 16:51:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024747 -3.372414)', '2026-07-20 16:51:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024757 -3.372425)'), GeomFromEWKT('SRID=4674;POINT (-39.024747 -3.372414)'))) / (select extract(epoch from '2026-07-20 16:51:57'::timestamp) - extract(epoch from '2026-07-20 16:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024757 -3.372425)'), GeomFromEWKT('SRID=4674;POINT (-39.024747 -3.372414)'))) / (select extract(epoch from '2026-07-20 16:51:57'::timestamp) - extract(epoch from '2026-07-20 16:51: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'), 47443, 'SRID=4674;POINT (-39.024719 -3.372324)', '2026-07-20 16:52:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024747 -3.372414)'), GeomFromEWKT('SRID=4674;POINT (-39.024719 -3.372324)'))) / (select extract(epoch from '2026-07-20 16:52:03'::timestamp) - extract(epoch from '2026-07-20 16:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024747 -3.372414)'), GeomFromEWKT('SRID=4674;POINT (-39.024719 -3.372324)'))) / (select extract(epoch from '2026-07-20 16:52:03'::timestamp) - extract(epoch from '2026-07-20 16:51: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'), 47443, 'SRID=4674;POINT (-39.024685 -3.372176)', '2026-07-20 16:52:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024719 -3.372324)'), GeomFromEWKT('SRID=4674;POINT (-39.024685 -3.372176)'))) / (select extract(epoch from '2026-07-20 16:52:11'::timestamp) - extract(epoch from '2026-07-20 16:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024719 -3.372324)'), GeomFromEWKT('SRID=4674;POINT (-39.024685 -3.372176)'))) / (select extract(epoch from '2026-07-20 16:52:11'::timestamp) - extract(epoch from '2026-07-20 16:52:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024674 -3.37214)', '2026-07-20 16:52:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024685 -3.372176)'), GeomFromEWKT('SRID=4674;POINT (-39.024674 -3.37214)'))) / (select extract(epoch from '2026-07-20 16:52:13'::timestamp) - extract(epoch from '2026-07-20 16:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024685 -3.372176)'), GeomFromEWKT('SRID=4674;POINT (-39.024674 -3.37214)'))) / (select extract(epoch from '2026-07-20 16:52:13'::timestamp) - extract(epoch from '2026-07-20 16:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024675 -3.372109)', '2026-07-20 16:52:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024674 -3.37214)'), GeomFromEWKT('SRID=4674;POINT (-39.024675 -3.372109)'))) / (select extract(epoch from '2026-07-20 16:52:15'::timestamp) - extract(epoch from '2026-07-20 16:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024674 -3.37214)'), GeomFromEWKT('SRID=4674;POINT (-39.024675 -3.372109)'))) / (select extract(epoch from '2026-07-20 16:52:15'::timestamp) - extract(epoch from '2026-07-20 16:52: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'), 47443, 'SRID=4674;POINT (-39.024658 -3.372003)', '2026-07-20 16:52:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024675 -3.372109)'), GeomFromEWKT('SRID=4674;POINT (-39.024658 -3.372003)'))) / (select extract(epoch from '2026-07-20 16:52:21'::timestamp) - extract(epoch from '2026-07-20 16:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024675 -3.372109)'), GeomFromEWKT('SRID=4674;POINT (-39.024658 -3.372003)'))) / (select extract(epoch from '2026-07-20 16:52:21'::timestamp) - extract(epoch from '2026-07-20 16:52: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'), 47443, 'SRID=4674;POINT (-39.024637 -3.371914)', '2026-07-20 16:52:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024658 -3.372003)'), GeomFromEWKT('SRID=4674;POINT (-39.024637 -3.371914)'))) / (select extract(epoch from '2026-07-20 16:52:26'::timestamp) - extract(epoch from '2026-07-20 16:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024658 -3.372003)'), GeomFromEWKT('SRID=4674;POINT (-39.024637 -3.371914)'))) / (select extract(epoch from '2026-07-20 16:52:26'::timestamp) - extract(epoch from '2026-07-20 16:52: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'), 47443, 'SRID=4674;POINT (-39.024621 -3.371859)', '2026-07-20 16:52:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024637 -3.371914)'), GeomFromEWKT('SRID=4674;POINT (-39.024621 -3.371859)'))) / (select extract(epoch from '2026-07-20 16:52:29'::timestamp) - extract(epoch from '2026-07-20 16:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024637 -3.371914)'), GeomFromEWKT('SRID=4674;POINT (-39.024621 -3.371859)'))) / (select extract(epoch from '2026-07-20 16:52:29'::timestamp) - extract(epoch from '2026-07-20 16:52: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'), 47443, 'SRID=4674;POINT (-39.024596 -3.371814)', '2026-07-20 16:52:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024621 -3.371859)'), GeomFromEWKT('SRID=4674;POINT (-39.024596 -3.371814)'))) / (select extract(epoch from '2026-07-20 16:52:32'::timestamp) - extract(epoch from '2026-07-20 16:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024621 -3.371859)'), GeomFromEWKT('SRID=4674;POINT (-39.024596 -3.371814)'))) / (select extract(epoch from '2026-07-20 16:52:32'::timestamp) - extract(epoch from '2026-07-20 16:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024588 -3.371778)', '2026-07-20 16:52:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024596 -3.371814)'), GeomFromEWKT('SRID=4674;POINT (-39.024588 -3.371778)'))) / (select extract(epoch from '2026-07-20 16:52:34'::timestamp) - extract(epoch from '2026-07-20 16:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024596 -3.371814)'), GeomFromEWKT('SRID=4674;POINT (-39.024588 -3.371778)'))) / (select extract(epoch from '2026-07-20 16:52:34'::timestamp) - extract(epoch from '2026-07-20 16:52: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'), 47443, 'SRID=4674;POINT (-39.024566 -3.371729)', '2026-07-20 16:52:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024588 -3.371778)'), GeomFromEWKT('SRID=4674;POINT (-39.024566 -3.371729)'))) / (select extract(epoch from '2026-07-20 16:52:37'::timestamp) - extract(epoch from '2026-07-20 16:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024588 -3.371778)'), GeomFromEWKT('SRID=4674;POINT (-39.024566 -3.371729)'))) / (select extract(epoch from '2026-07-20 16:52:37'::timestamp) - extract(epoch from '2026-07-20 16:52: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'), 47443, 'SRID=4674;POINT (-39.02456 -3.371712)', '2026-07-20 16:52:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024566 -3.371729)'), GeomFromEWKT('SRID=4674;POINT (-39.02456 -3.371712)'))) / (select extract(epoch from '2026-07-20 16:52:38'::timestamp) - extract(epoch from '2026-07-20 16:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024566 -3.371729)'), GeomFromEWKT('SRID=4674;POINT (-39.02456 -3.371712)'))) / (select extract(epoch from '2026-07-20 16:52:38'::timestamp) - extract(epoch from '2026-07-20 16:52:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024547 -3.371684)', '2026-07-20 16:52:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02456 -3.371712)'), GeomFromEWKT('SRID=4674;POINT (-39.024547 -3.371684)'))) / (select extract(epoch from '2026-07-20 16:52:40'::timestamp) - extract(epoch from '2026-07-20 16:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02456 -3.371712)'), GeomFromEWKT('SRID=4674;POINT (-39.024547 -3.371684)'))) / (select extract(epoch from '2026-07-20 16:52:40'::timestamp) - extract(epoch from '2026-07-20 16:52:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024544 -3.371667)', '2026-07-20 16:52:41', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024547 -3.371684)'), GeomFromEWKT('SRID=4674;POINT (-39.024544 -3.371667)'))) / (select extract(epoch from '2026-07-20 16:52:41'::timestamp) - extract(epoch from '2026-07-20 16:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024547 -3.371684)'), GeomFromEWKT('SRID=4674;POINT (-39.024544 -3.371667)'))) / (select extract(epoch from '2026-07-20 16:52:41'::timestamp) - extract(epoch from '2026-07-20 16:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024519 -3.371578)', '2026-07-20 16:52:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024544 -3.371667)'), GeomFromEWKT('SRID=4674;POINT (-39.024519 -3.371578)'))) / (select extract(epoch from '2026-07-20 16:52:46'::timestamp) - extract(epoch from '2026-07-20 16:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024544 -3.371667)'), GeomFromEWKT('SRID=4674;POINT (-39.024519 -3.371578)'))) / (select extract(epoch from '2026-07-20 16:52:46'::timestamp) - extract(epoch from '2026-07-20 16:52: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'), 47443, 'SRID=4674;POINT (-39.024483 -3.37145)', '2026-07-20 16:52:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024519 -3.371578)'), GeomFromEWKT('SRID=4674;POINT (-39.024483 -3.37145)'))) / (select extract(epoch from '2026-07-20 16:52:53'::timestamp) - extract(epoch from '2026-07-20 16:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024519 -3.371578)'), GeomFromEWKT('SRID=4674;POINT (-39.024483 -3.37145)'))) / (select extract(epoch from '2026-07-20 16:52:53'::timestamp) - extract(epoch from '2026-07-20 16:52: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'), 47443, 'SRID=4674;POINT (-39.024453 -3.37133)', '2026-07-20 16:53:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024483 -3.37145)'), GeomFromEWKT('SRID=4674;POINT (-39.024453 -3.37133)'))) / (select extract(epoch from '2026-07-20 16:53:00'::timestamp) - extract(epoch from '2026-07-20 16:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024483 -3.37145)'), GeomFromEWKT('SRID=4674;POINT (-39.024453 -3.37133)'))) / (select extract(epoch from '2026-07-20 16:53:00'::timestamp) - extract(epoch from '2026-07-20 16:52: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'), 47443, 'SRID=4674;POINT (-39.024455 -3.371309)', '2026-07-20 16:53:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024453 -3.37133)'), GeomFromEWKT('SRID=4674;POINT (-39.024455 -3.371309)'))) / (select extract(epoch from '2026-07-20 16:53:01'::timestamp) - extract(epoch from '2026-07-20 16:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024453 -3.37133)'), GeomFromEWKT('SRID=4674;POINT (-39.024455 -3.371309)'))) / (select extract(epoch from '2026-07-20 16:53:01'::timestamp) - extract(epoch from '2026-07-20 16:53: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'), 47443, 'SRID=4674;POINT (-39.024463 -3.371271)', '2026-07-20 16:53:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024455 -3.371309)'), GeomFromEWKT('SRID=4674;POINT (-39.024463 -3.371271)'))) / (select extract(epoch from '2026-07-20 16:53:03'::timestamp) - extract(epoch from '2026-07-20 16:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024455 -3.371309)'), GeomFromEWKT('SRID=4674;POINT (-39.024463 -3.371271)'))) / (select extract(epoch from '2026-07-20 16:53:03'::timestamp) - extract(epoch from '2026-07-20 16:53: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'), 47443, 'SRID=4674;POINT (-39.024458 -3.371252)', '2026-07-20 16:53:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024463 -3.371271)'), GeomFromEWKT('SRID=4674;POINT (-39.024458 -3.371252)'))) / (select extract(epoch from '2026-07-20 16:53:04'::timestamp) - extract(epoch from '2026-07-20 16:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024463 -3.371271)'), GeomFromEWKT('SRID=4674;POINT (-39.024458 -3.371252)'))) / (select extract(epoch from '2026-07-20 16:53:04'::timestamp) - extract(epoch from '2026-07-20 16:53:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024458 -3.371233)', '2026-07-20 16:53:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024458 -3.371252)'), GeomFromEWKT('SRID=4674;POINT (-39.024458 -3.371233)'))) / (select extract(epoch from '2026-07-20 16:53:05'::timestamp) - extract(epoch from '2026-07-20 16:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024458 -3.371252)'), GeomFromEWKT('SRID=4674;POINT (-39.024458 -3.371233)'))) / (select extract(epoch from '2026-07-20 16:53:05'::timestamp) - extract(epoch from '2026-07-20 16:53:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024461 -3.371182)', '2026-07-20 16:53:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024458 -3.371233)'), GeomFromEWKT('SRID=4674;POINT (-39.024461 -3.371182)'))) / (select extract(epoch from '2026-07-20 16:53:08'::timestamp) - extract(epoch from '2026-07-20 16:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024458 -3.371233)'), GeomFromEWKT('SRID=4674;POINT (-39.024461 -3.371182)'))) / (select extract(epoch from '2026-07-20 16:53:08'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.024437 -3.371073)', '2026-07-20 16:53:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024461 -3.371182)'), GeomFromEWKT('SRID=4674;POINT (-39.024437 -3.371073)'))) / (select extract(epoch from '2026-07-20 16:53:14'::timestamp) - extract(epoch from '2026-07-20 16:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024461 -3.371182)'), GeomFromEWKT('SRID=4674;POINT (-39.024437 -3.371073)'))) / (select extract(epoch from '2026-07-20 16:53:14'::timestamp) - extract(epoch from '2026-07-20 16:53: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'), 47443, 'SRID=4674;POINT (-39.024426 -3.37096)', '2026-07-20 16:53:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024437 -3.371073)'), GeomFromEWKT('SRID=4674;POINT (-39.024426 -3.37096)'))) / (select extract(epoch from '2026-07-20 16:53:20'::timestamp) - extract(epoch from '2026-07-20 16:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024437 -3.371073)'), GeomFromEWKT('SRID=4674;POINT (-39.024426 -3.37096)'))) / (select extract(epoch from '2026-07-20 16:53:20'::timestamp) - extract(epoch from '2026-07-20 16:53: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'), 47443, 'SRID=4674;POINT (-39.024414 -3.37087)', '2026-07-20 16:53:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024426 -3.37096)'), GeomFromEWKT('SRID=4674;POINT (-39.024414 -3.37087)'))) / (select extract(epoch from '2026-07-20 16:53:25'::timestamp) - extract(epoch from '2026-07-20 16:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024426 -3.37096)'), GeomFromEWKT('SRID=4674;POINT (-39.024414 -3.37087)'))) / (select extract(epoch from '2026-07-20 16:53:25'::timestamp) - extract(epoch from '2026-07-20 16:53:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024408 -3.370783)', '2026-07-20 16:53:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024414 -3.37087)'), GeomFromEWKT('SRID=4674;POINT (-39.024408 -3.370783)'))) / (select extract(epoch from '2026-07-20 16:53:30'::timestamp) - extract(epoch from '2026-07-20 16:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024414 -3.37087)'), GeomFromEWKT('SRID=4674;POINT (-39.024408 -3.370783)'))) / (select extract(epoch from '2026-07-20 16:53:30'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.024399 -3.370654)', '2026-07-20 16:53:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024408 -3.370783)'), GeomFromEWKT('SRID=4674;POINT (-39.024399 -3.370654)'))) / (select extract(epoch from '2026-07-20 16:53:37'::timestamp) - extract(epoch from '2026-07-20 16:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024408 -3.370783)'), GeomFromEWKT('SRID=4674;POINT (-39.024399 -3.370654)'))) / (select extract(epoch from '2026-07-20 16:53:37'::timestamp) - extract(epoch from '2026-07-20 16:53: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'), 47443, 'SRID=4674;POINT (-39.024394 -3.370636)', '2026-07-20 16:53:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024399 -3.370654)'), GeomFromEWKT('SRID=4674;POINT (-39.024394 -3.370636)'))) / (select extract(epoch from '2026-07-20 16:53:38'::timestamp) - extract(epoch from '2026-07-20 16:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024399 -3.370654)'), GeomFromEWKT('SRID=4674;POINT (-39.024394 -3.370636)'))) / (select extract(epoch from '2026-07-20 16:53:38'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.024386 -3.370585)', '2026-07-20 16:53:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024394 -3.370636)'), GeomFromEWKT('SRID=4674;POINT (-39.024386 -3.370585)'))) / (select extract(epoch from '2026-07-20 16:53:41'::timestamp) - extract(epoch from '2026-07-20 16:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024394 -3.370636)'), GeomFromEWKT('SRID=4674;POINT (-39.024386 -3.370585)'))) / (select extract(epoch from '2026-07-20 16:53:41'::timestamp) - extract(epoch from '2026-07-20 16:53: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'), 47443, 'SRID=4674;POINT (-39.024371 -3.370511)', '2026-07-20 16:53:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024386 -3.370585)'), GeomFromEWKT('SRID=4674;POINT (-39.024371 -3.370511)'))) / (select extract(epoch from '2026-07-20 16:53:45'::timestamp) - extract(epoch from '2026-07-20 16:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024386 -3.370585)'), GeomFromEWKT('SRID=4674;POINT (-39.024371 -3.370511)'))) / (select extract(epoch from '2026-07-20 16:53:45'::timestamp) - extract(epoch from '2026-07-20 16:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024376 -3.370493)', '2026-07-20 16:53:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024371 -3.370511)'), GeomFromEWKT('SRID=4674;POINT (-39.024376 -3.370493)'))) / (select extract(epoch from '2026-07-20 16:53:46'::timestamp) - extract(epoch from '2026-07-20 16:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024371 -3.370511)'), GeomFromEWKT('SRID=4674;POINT (-39.024376 -3.370493)'))) / (select extract(epoch from '2026-07-20 16:53:46'::timestamp) - extract(epoch from '2026-07-20 16:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024377 -3.370475)', '2026-07-20 16:53:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024376 -3.370493)'), GeomFromEWKT('SRID=4674;POINT (-39.024377 -3.370475)'))) / (select extract(epoch from '2026-07-20 16:53:47'::timestamp) - extract(epoch from '2026-07-20 16:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024376 -3.370493)'), GeomFromEWKT('SRID=4674;POINT (-39.024377 -3.370475)'))) / (select extract(epoch from '2026-07-20 16:53:47'::timestamp) - extract(epoch from '2026-07-20 16:53: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'), 47443, 'SRID=4674;POINT (-39.024367 -3.370403)', '2026-07-20 16:53:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024377 -3.370475)'), GeomFromEWKT('SRID=4674;POINT (-39.024367 -3.370403)'))) / (select extract(epoch from '2026-07-20 16:53:51'::timestamp) - extract(epoch from '2026-07-20 16:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024377 -3.370475)'), GeomFromEWKT('SRID=4674;POINT (-39.024367 -3.370403)'))) / (select extract(epoch from '2026-07-20 16:53:51'::timestamp) - extract(epoch from '2026-07-20 16:53:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024353 -3.370273)', '2026-07-20 16:53:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024367 -3.370403)'), GeomFromEWKT('SRID=4674;POINT (-39.024353 -3.370273)'))) / (select extract(epoch from '2026-07-20 16:53:58'::timestamp) - extract(epoch from '2026-07-20 16:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024367 -3.370403)'), GeomFromEWKT('SRID=4674;POINT (-39.024353 -3.370273)'))) / (select extract(epoch from '2026-07-20 16:53:58'::timestamp) - extract(epoch from '2026-07-20 16:53: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'), 47443, 'SRID=4674;POINT (-39.024352 -3.370255)', '2026-07-20 16:53:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024353 -3.370273)'), GeomFromEWKT('SRID=4674;POINT (-39.024352 -3.370255)'))) / (select extract(epoch from '2026-07-20 16:53:59'::timestamp) - extract(epoch from '2026-07-20 16:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024353 -3.370273)'), GeomFromEWKT('SRID=4674;POINT (-39.024352 -3.370255)'))) / (select extract(epoch from '2026-07-20 16:53:59'::timestamp) - extract(epoch from '2026-07-20 16:53: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'), 47443, 'SRID=4674;POINT (-39.024346 -3.370179)', '2026-07-20 16:54:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024352 -3.370255)'), GeomFromEWKT('SRID=4674;POINT (-39.024346 -3.370179)'))) / (select extract(epoch from '2026-07-20 16:54:03'::timestamp) - extract(epoch from '2026-07-20 16:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024352 -3.370255)'), GeomFromEWKT('SRID=4674;POINT (-39.024346 -3.370179)'))) / (select extract(epoch from '2026-07-20 16:54:03'::timestamp) - extract(epoch from '2026-07-20 16:53: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'), 47443, 'SRID=4674;POINT (-39.02434 -3.370109)', '2026-07-20 16:54:07', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024346 -3.370179)'), GeomFromEWKT('SRID=4674;POINT (-39.02434 -3.370109)'))) / (select extract(epoch from '2026-07-20 16:54:07'::timestamp) - extract(epoch from '2026-07-20 16:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024346 -3.370179)'), GeomFromEWKT('SRID=4674;POINT (-39.02434 -3.370109)'))) / (select extract(epoch from '2026-07-20 16:54:07'::timestamp) - extract(epoch from '2026-07-20 16:54:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024307 -3.369989)', '2026-07-20 16:54:14', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02434 -3.370109)'), GeomFromEWKT('SRID=4674;POINT (-39.024307 -3.369989)'))) / (select extract(epoch from '2026-07-20 16:54:14'::timestamp) - extract(epoch from '2026-07-20 16:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02434 -3.370109)'), GeomFromEWKT('SRID=4674;POINT (-39.024307 -3.369989)'))) / (select extract(epoch from '2026-07-20 16:54:14'::timestamp) - extract(epoch from '2026-07-20 16:54: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'), 47443, 'SRID=4674;POINT (-39.024304 -3.36997)', '2026-07-20 16:54:15', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024307 -3.369989)'), GeomFromEWKT('SRID=4674;POINT (-39.024304 -3.36997)'))) / (select extract(epoch from '2026-07-20 16:54:15'::timestamp) - extract(epoch from '2026-07-20 16:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024307 -3.369989)'), GeomFromEWKT('SRID=4674;POINT (-39.024304 -3.36997)'))) / (select extract(epoch from '2026-07-20 16:54:15'::timestamp) - extract(epoch from '2026-07-20 16:54: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'), 47443, 'SRID=4674;POINT (-39.024291 -3.369898)', '2026-07-20 16:54:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024304 -3.36997)'), GeomFromEWKT('SRID=4674;POINT (-39.024291 -3.369898)'))) / (select extract(epoch from '2026-07-20 16:54:19'::timestamp) - extract(epoch from '2026-07-20 16:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024304 -3.36997)'), GeomFromEWKT('SRID=4674;POINT (-39.024291 -3.369898)'))) / (select extract(epoch from '2026-07-20 16:54:19'::timestamp) - extract(epoch from '2026-07-20 16:54:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024255 -3.3698)', '2026-07-20 16:54:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024291 -3.369898)'), GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.3698)'))) / (select extract(epoch from '2026-07-20 16:54:25'::timestamp) - extract(epoch from '2026-07-20 16:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024291 -3.369898)'), GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.3698)'))) / (select extract(epoch from '2026-07-20 16:54:25'::timestamp) - extract(epoch from '2026-07-20 16:54: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'), 47443, 'SRID=4674;POINT (-39.024223 -3.369705)', '2026-07-20 16:54:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.3698)'), GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.369705)'))) / (select extract(epoch from '2026-07-20 16:54:31'::timestamp) - extract(epoch from '2026-07-20 16:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024255 -3.3698)'), GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.369705)'))) / (select extract(epoch from '2026-07-20 16:54:31'::timestamp) - extract(epoch from '2026-07-20 16:54: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'), 47443, 'SRID=4674;POINT (-39.024186 -3.369613)', '2026-07-20 16:54:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.369705)'), GeomFromEWKT('SRID=4674;POINT (-39.024186 -3.369613)'))) / (select extract(epoch from '2026-07-20 16:54:37'::timestamp) - extract(epoch from '2026-07-20 16:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024223 -3.369705)'), GeomFromEWKT('SRID=4674;POINT (-39.024186 -3.369613)'))) / (select extract(epoch from '2026-07-20 16:54:37'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.024146 -3.369494)', '2026-07-20 16:54:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024186 -3.369613)'), GeomFromEWKT('SRID=4674;POINT (-39.024146 -3.369494)'))) / (select extract(epoch from '2026-07-20 16:54:44'::timestamp) - extract(epoch from '2026-07-20 16:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024186 -3.369613)'), GeomFromEWKT('SRID=4674;POINT (-39.024146 -3.369494)'))) / (select extract(epoch from '2026-07-20 16:54:44'::timestamp) - extract(epoch from '2026-07-20 16:54:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024124 -3.369408)', '2026-07-20 16:54:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024146 -3.369494)'), GeomFromEWKT('SRID=4674;POINT (-39.024124 -3.369408)'))) / (select extract(epoch from '2026-07-20 16:54:49'::timestamp) - extract(epoch from '2026-07-20 16:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024146 -3.369494)'), GeomFromEWKT('SRID=4674;POINT (-39.024124 -3.369408)'))) / (select extract(epoch from '2026-07-20 16:54:49'::timestamp) - extract(epoch from '2026-07-20 16:54: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'), 47443, 'SRID=4674;POINT (-39.024119 -3.369392)', '2026-07-20 16:54:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024124 -3.369408)'), GeomFromEWKT('SRID=4674;POINT (-39.024119 -3.369392)'))) / (select extract(epoch from '2026-07-20 16:54:50'::timestamp) - extract(epoch from '2026-07-20 16:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024124 -3.369408)'), GeomFromEWKT('SRID=4674;POINT (-39.024119 -3.369392)'))) / (select extract(epoch from '2026-07-20 16:54:50'::timestamp) - extract(epoch from '2026-07-20 16:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024106 -3.369297)', '2026-07-20 16:54:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024119 -3.369392)'), GeomFromEWKT('SRID=4674;POINT (-39.024106 -3.369297)'))) / (select extract(epoch from '2026-07-20 16:54:55'::timestamp) - extract(epoch from '2026-07-20 16:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024119 -3.369392)'), GeomFromEWKT('SRID=4674;POINT (-39.024106 -3.369297)'))) / (select extract(epoch from '2026-07-20 16:54:55'::timestamp) - extract(epoch from '2026-07-20 16:54: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'), 47443, 'SRID=4674;POINT (-39.0241 -3.369261)', '2026-07-20 16:54:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024106 -3.369297)'), GeomFromEWKT('SRID=4674;POINT (-39.0241 -3.369261)'))) / (select extract(epoch from '2026-07-20 16:54:57'::timestamp) - extract(epoch from '2026-07-20 16:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024106 -3.369297)'), GeomFromEWKT('SRID=4674;POINT (-39.0241 -3.369261)'))) / (select extract(epoch from '2026-07-20 16:54:57'::timestamp) - extract(epoch from '2026-07-20 16:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024081 -3.369211)', '2026-07-20 16:55:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0241 -3.369261)'), GeomFromEWKT('SRID=4674;POINT (-39.024081 -3.369211)'))) / (select extract(epoch from '2026-07-20 16:55:00'::timestamp) - extract(epoch from '2026-07-20 16:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0241 -3.369261)'), GeomFromEWKT('SRID=4674;POINT (-39.024081 -3.369211)'))) / (select extract(epoch from '2026-07-20 16:55:00'::timestamp) - extract(epoch from '2026-07-20 16:54:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024074 -3.369183)', '2026-07-20 16:55:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024081 -3.369211)'), GeomFromEWKT('SRID=4674;POINT (-39.024074 -3.369183)'))) / (select extract(epoch from '2026-07-20 16:55:02'::timestamp) - extract(epoch from '2026-07-20 16:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024081 -3.369211)'), GeomFromEWKT('SRID=4674;POINT (-39.024074 -3.369183)'))) / (select extract(epoch from '2026-07-20 16:55:02'::timestamp) - extract(epoch from '2026-07-20 16:55: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'), 47443, 'SRID=4674;POINT (-39.024062 -3.369136)', '2026-07-20 16:55:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024074 -3.369183)'), GeomFromEWKT('SRID=4674;POINT (-39.024062 -3.369136)'))) / (select extract(epoch from '2026-07-20 16:55:05'::timestamp) - extract(epoch from '2026-07-20 16:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024074 -3.369183)'), GeomFromEWKT('SRID=4674;POINT (-39.024062 -3.369136)'))) / (select extract(epoch from '2026-07-20 16:55:05'::timestamp) - extract(epoch from '2026-07-20 16:55:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024043 -3.369065)', '2026-07-20 16:55:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024062 -3.369136)'), GeomFromEWKT('SRID=4674;POINT (-39.024043 -3.369065)'))) / (select extract(epoch from '2026-07-20 16:55:10'::timestamp) - extract(epoch from '2026-07-20 16:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024062 -3.369136)'), GeomFromEWKT('SRID=4674;POINT (-39.024043 -3.369065)'))) / (select extract(epoch from '2026-07-20 16:55:10'::timestamp) - extract(epoch from '2026-07-20 16:55: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'), 47443, 'SRID=4674;POINT (-39.024032 -3.368983)', '2026-07-20 16:55:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024043 -3.369065)'), GeomFromEWKT('SRID=4674;POINT (-39.024032 -3.368983)'))) / (select extract(epoch from '2026-07-20 16:55:15'::timestamp) - extract(epoch from '2026-07-20 16:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024043 -3.369065)'), GeomFromEWKT('SRID=4674;POINT (-39.024032 -3.368983)'))) / (select extract(epoch from '2026-07-20 16:55:15'::timestamp) - extract(epoch from '2026-07-20 16:55:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.024007 -3.368882)', '2026-07-20 16:55:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024032 -3.368983)'), GeomFromEWKT('SRID=4674;POINT (-39.024007 -3.368882)'))) / (select extract(epoch from '2026-07-20 16:55:21'::timestamp) - extract(epoch from '2026-07-20 16:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024032 -3.368983)'), GeomFromEWKT('SRID=4674;POINT (-39.024007 -3.368882)'))) / (select extract(epoch from '2026-07-20 16:55:21'::timestamp) - extract(epoch from '2026-07-20 16:55: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'), 47443, 'SRID=4674;POINT (-39.023988 -3.368816)', '2026-07-20 16:55:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024007 -3.368882)'), GeomFromEWKT('SRID=4674;POINT (-39.023988 -3.368816)'))) / (select extract(epoch from '2026-07-20 16:55:25'::timestamp) - extract(epoch from '2026-07-20 16:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024007 -3.368882)'), GeomFromEWKT('SRID=4674;POINT (-39.023988 -3.368816)'))) / (select extract(epoch from '2026-07-20 16:55:25'::timestamp) - extract(epoch from '2026-07-20 16:55: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'), 47443, 'SRID=4674;POINT (-39.023982 -3.368799)', '2026-07-20 16:55:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023988 -3.368816)'), GeomFromEWKT('SRID=4674;POINT (-39.023982 -3.368799)'))) / (select extract(epoch from '2026-07-20 16:55:26'::timestamp) - extract(epoch from '2026-07-20 16:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023988 -3.368816)'), GeomFromEWKT('SRID=4674;POINT (-39.023982 -3.368799)'))) / (select extract(epoch from '2026-07-20 16:55:26'::timestamp) - extract(epoch from '2026-07-20 16:55: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'), 47443, 'SRID=4674;POINT (-39.023966 -3.368716)', '2026-07-20 16:55:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023982 -3.368799)'), GeomFromEWKT('SRID=4674;POINT (-39.023966 -3.368716)'))) / (select extract(epoch from '2026-07-20 16:55:31'::timestamp) - extract(epoch from '2026-07-20 16:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023982 -3.368799)'), GeomFromEWKT('SRID=4674;POINT (-39.023966 -3.368716)'))) / (select extract(epoch from '2026-07-20 16:55:31'::timestamp) - extract(epoch from '2026-07-20 16:55: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'), 47443, 'SRID=4674;POINT (-39.023946 -3.36863)', '2026-07-20 16:55:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023966 -3.368716)'), GeomFromEWKT('SRID=4674;POINT (-39.023946 -3.36863)'))) / (select extract(epoch from '2026-07-20 16:55:36'::timestamp) - extract(epoch from '2026-07-20 16:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023966 -3.368716)'), GeomFromEWKT('SRID=4674;POINT (-39.023946 -3.36863)'))) / (select extract(epoch from '2026-07-20 16:55:36'::timestamp) - extract(epoch from '2026-07-20 16:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.023934 -3.368533)', '2026-07-20 16:55:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023946 -3.36863)'), GeomFromEWKT('SRID=4674;POINT (-39.023934 -3.368533)'))) / (select extract(epoch from '2026-07-20 16:55:42'::timestamp) - extract(epoch from '2026-07-20 16:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023946 -3.36863)'), GeomFromEWKT('SRID=4674;POINT (-39.023934 -3.368533)'))) / (select extract(epoch from '2026-07-20 16:55:42'::timestamp) - extract(epoch from '2026-07-20 16:55:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.023912 -3.36845)', '2026-07-20 16:55:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023934 -3.368533)'), GeomFromEWKT('SRID=4674;POINT (-39.023912 -3.36845)'))) / (select extract(epoch from '2026-07-20 16:55:47'::timestamp) - extract(epoch from '2026-07-20 16:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023934 -3.368533)'), GeomFromEWKT('SRID=4674;POINT (-39.023912 -3.36845)'))) / (select extract(epoch from '2026-07-20 16:55:47'::timestamp) - extract(epoch from '2026-07-20 16:55: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'), 47443, 'SRID=4674;POINT (-39.023889 -3.368359)', '2026-07-20 16:55:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023912 -3.36845)'), GeomFromEWKT('SRID=4674;POINT (-39.023889 -3.368359)'))) / (select extract(epoch from '2026-07-20 16:55:52'::timestamp) - extract(epoch from '2026-07-20 16:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023912 -3.36845)'), GeomFromEWKT('SRID=4674;POINT (-39.023889 -3.368359)'))) / (select extract(epoch from '2026-07-20 16:55:52'::timestamp) - extract(epoch from '2026-07-20 16:55: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'), 47443, 'SRID=4674;POINT (-39.02386 -3.368234)', '2026-07-20 16:55:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023889 -3.368359)'), GeomFromEWKT('SRID=4674;POINT (-39.02386 -3.368234)'))) / (select extract(epoch from '2026-07-20 16:55:59'::timestamp) - extract(epoch from '2026-07-20 16:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023889 -3.368359)'), GeomFromEWKT('SRID=4674;POINT (-39.02386 -3.368234)'))) / (select extract(epoch from '2026-07-20 16:55:59'::timestamp) - extract(epoch from '2026-07-20 16:55: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'), 47443, 'SRID=4674;POINT (-39.023841 -3.368165)', '2026-07-20 16:56:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02386 -3.368234)'), GeomFromEWKT('SRID=4674;POINT (-39.023841 -3.368165)'))) / (select extract(epoch from '2026-07-20 16:56:03'::timestamp) - extract(epoch from '2026-07-20 16:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02386 -3.368234)'), GeomFromEWKT('SRID=4674;POINT (-39.023841 -3.368165)'))) / (select extract(epoch from '2026-07-20 16:56:03'::timestamp) - extract(epoch from '2026-07-20 16:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.023839 -3.368148)', '2026-07-20 16:56:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023841 -3.368165)'), GeomFromEWKT('SRID=4674;POINT (-39.023839 -3.368148)'))) / (select extract(epoch from '2026-07-20 16:56:04'::timestamp) - extract(epoch from '2026-07-20 16:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023841 -3.368165)'), GeomFromEWKT('SRID=4674;POINT (-39.023839 -3.368148)'))) / (select extract(epoch from '2026-07-20 16:56:04'::timestamp) - extract(epoch from '2026-07-20 16:56: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'), 47443, 'SRID=4674;POINT (-39.023818 -3.368047)', '2026-07-20 16:56:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023839 -3.368148)'), GeomFromEWKT('SRID=4674;POINT (-39.023818 -3.368047)'))) / (select extract(epoch from '2026-07-20 16:56:10'::timestamp) - extract(epoch from '2026-07-20 16:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023839 -3.368148)'), GeomFromEWKT('SRID=4674;POINT (-39.023818 -3.368047)'))) / (select extract(epoch from '2026-07-20 16:56:10'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.023813 -3.368012)', '2026-07-20 16:56:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023818 -3.368047)'), GeomFromEWKT('SRID=4674;POINT (-39.023813 -3.368012)'))) / (select extract(epoch from '2026-07-20 16:56:12'::timestamp) - extract(epoch from '2026-07-20 16:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023818 -3.368047)'), GeomFromEWKT('SRID=4674;POINT (-39.023813 -3.368012)'))) / (select extract(epoch from '2026-07-20 16:56:12'::timestamp) - extract(epoch from '2026-07-20 16:56:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.023814 -3.367981)', '2026-07-20 16:56:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023813 -3.368012)'), GeomFromEWKT('SRID=4674;POINT (-39.023814 -3.367981)'))) / (select extract(epoch from '2026-07-20 16:56:14'::timestamp) - extract(epoch from '2026-07-20 16:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023813 -3.368012)'), GeomFromEWKT('SRID=4674;POINT (-39.023814 -3.367981)'))) / (select extract(epoch from '2026-07-20 16:56:14'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.023793 -3.367881)', '2026-07-20 16:56:20', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023814 -3.367981)'), GeomFromEWKT('SRID=4674;POINT (-39.023793 -3.367881)'))) / (select extract(epoch from '2026-07-20 16:56:20'::timestamp) - extract(epoch from '2026-07-20 16:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023814 -3.367981)'), GeomFromEWKT('SRID=4674;POINT (-39.023793 -3.367881)'))) / (select extract(epoch from '2026-07-20 16:56:20'::timestamp) - extract(epoch from '2026-07-20 16:56: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'), 47443, 'SRID=4674;POINT (-39.023784 -3.36781)', '2026-07-20 16:56:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023793 -3.367881)'), GeomFromEWKT('SRID=4674;POINT (-39.023784 -3.36781)'))) / (select extract(epoch from '2026-07-20 16:56:24'::timestamp) - extract(epoch from '2026-07-20 16:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023793 -3.367881)'), GeomFromEWKT('SRID=4674;POINT (-39.023784 -3.36781)'))) / (select extract(epoch from '2026-07-20 16:56:24'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.023772 -3.36774)', '2026-07-20 16:56:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023784 -3.36781)'), GeomFromEWKT('SRID=4674;POINT (-39.023772 -3.36774)'))) / (select extract(epoch from '2026-07-20 16:56:28'::timestamp) - extract(epoch from '2026-07-20 16:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023784 -3.36781)'), GeomFromEWKT('SRID=4674;POINT (-39.023772 -3.36774)'))) / (select extract(epoch from '2026-07-20 16:56:28'::timestamp) - extract(epoch from '2026-07-20 16:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.02377 -3.367723)', '2026-07-20 16:56:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023772 -3.36774)'), GeomFromEWKT('SRID=4674;POINT (-39.02377 -3.367723)'))) / (select extract(epoch from '2026-07-20 16:56:29'::timestamp) - extract(epoch from '2026-07-20 16:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023772 -3.36774)'), GeomFromEWKT('SRID=4674;POINT (-39.02377 -3.367723)'))) / (select extract(epoch from '2026-07-20 16:56:29'::timestamp) - extract(epoch from '2026-07-20 16:56: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'), 47443, 'SRID=4674;POINT (-39.023755 -3.367604)', '2026-07-20 16:56:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02377 -3.367723)'), GeomFromEWKT('SRID=4674;POINT (-39.023755 -3.367604)'))) / (select extract(epoch from '2026-07-20 16:56:36'::timestamp) - extract(epoch from '2026-07-20 16:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02377 -3.367723)'), GeomFromEWKT('SRID=4674;POINT (-39.023755 -3.367604)'))) / (select extract(epoch from '2026-07-20 16:56:36'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.023748 -3.367565)', '2026-07-20 16:56:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023755 -3.367604)'), GeomFromEWKT('SRID=4674;POINT (-39.023748 -3.367565)'))) / (select extract(epoch from '2026-07-20 16:56:38'::timestamp) - extract(epoch from '2026-07-20 16:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023755 -3.367604)'), GeomFromEWKT('SRID=4674;POINT (-39.023748 -3.367565)'))) / (select extract(epoch from '2026-07-20 16:56:38'::timestamp) - extract(epoch from '2026-07-20 16:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.02374 -3.367528)', '2026-07-20 16:56:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023748 -3.367565)'), GeomFromEWKT('SRID=4674;POINT (-39.02374 -3.367528)'))) / (select extract(epoch from '2026-07-20 16:56:40'::timestamp) - extract(epoch from '2026-07-20 16:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023748 -3.367565)'), GeomFromEWKT('SRID=4674;POINT (-39.02374 -3.367528)'))) / (select extract(epoch from '2026-07-20 16:56:40'::timestamp) - extract(epoch from '2026-07-20 16:56: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'), 47443, 'SRID=4674;POINT (-39.023724 -3.36742)', '2026-07-20 16:56:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02374 -3.367528)'), GeomFromEWKT('SRID=4674;POINT (-39.023724 -3.36742)'))) / (select extract(epoch from '2026-07-20 16:56:46'::timestamp) - extract(epoch from '2026-07-20 16:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02374 -3.367528)'), GeomFromEWKT('SRID=4674;POINT (-39.023724 -3.36742)'))) / (select extract(epoch from '2026-07-20 16:56:46'::timestamp) - extract(epoch from '2026-07-20 16:56:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.0237 -3.367312)', '2026-07-20 16:56:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023724 -3.36742)'), GeomFromEWKT('SRID=4674;POINT (-39.0237 -3.367312)'))) / (select extract(epoch from '2026-07-20 16:56:52'::timestamp) - extract(epoch from '2026-07-20 16:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023724 -3.36742)'), GeomFromEWKT('SRID=4674;POINT (-39.0237 -3.367312)'))) / (select extract(epoch from '2026-07-20 16:56:52'::timestamp) - extract(epoch from '2026-07-20 16:56:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.023692 -3.367219)', '2026-07-20 16:56:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0237 -3.367312)'), GeomFromEWKT('SRID=4674;POINT (-39.023692 -3.367219)'))) / (select extract(epoch from '2026-07-20 16:56:57'::timestamp) - extract(epoch from '2026-07-20 16:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0237 -3.367312)'), GeomFromEWKT('SRID=4674;POINT (-39.023692 -3.367219)'))) / (select extract(epoch from '2026-07-20 16:56:57'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.023674 -3.367111)', '2026-07-20 16:57:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023692 -3.367219)'), GeomFromEWKT('SRID=4674;POINT (-39.023674 -3.367111)'))) / (select extract(epoch from '2026-07-20 16:57:03'::timestamp) - extract(epoch from '2026-07-20 16:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023692 -3.367219)'), GeomFromEWKT('SRID=4674;POINT (-39.023674 -3.367111)'))) / (select extract(epoch from '2026-07-20 16:57:03'::timestamp) - extract(epoch from '2026-07-20 16:56: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'), 47443, 'SRID=4674;POINT (-39.023667 -3.367002)', '2026-07-20 16:57:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023674 -3.367111)'), GeomFromEWKT('SRID=4674;POINT (-39.023667 -3.367002)'))) / (select extract(epoch from '2026-07-20 16:57:09'::timestamp) - extract(epoch from '2026-07-20 16:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023674 -3.367111)'), GeomFromEWKT('SRID=4674;POINT (-39.023667 -3.367002)'))) / (select extract(epoch from '2026-07-20 16:57:09'::timestamp) - extract(epoch from '2026-07-20 16:57: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'), 47443, 'SRID=4674;POINT (-39.023666 -3.366964)', '2026-07-20 16:57:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023667 -3.367002)'), GeomFromEWKT('SRID=4674;POINT (-39.023666 -3.366964)'))) / (select extract(epoch from '2026-07-20 16:57:11'::timestamp) - extract(epoch from '2026-07-20 16:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023667 -3.367002)'), GeomFromEWKT('SRID=4674;POINT (-39.023666 -3.366964)'))) / (select extract(epoch from '2026-07-20 16:57:11'::timestamp) - extract(epoch from '2026-07-20 16:57:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.023663 -3.366905)', '2026-07-20 16:57:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023666 -3.366964)'), GeomFromEWKT('SRID=4674;POINT (-39.023663 -3.366905)'))) / (select extract(epoch from '2026-07-20 16:57:14'::timestamp) - extract(epoch from '2026-07-20 16:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023666 -3.366964)'), GeomFromEWKT('SRID=4674;POINT (-39.023663 -3.366905)'))) / (select extract(epoch from '2026-07-20 16:57:14'::timestamp) - extract(epoch from '2026-07-20 16:57:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.023664 -3.366854)', '2026-07-20 16:57:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023663 -3.366905)'), GeomFromEWKT('SRID=4674;POINT (-39.023664 -3.366854)'))) / (select extract(epoch from '2026-07-20 16:57:17'::timestamp) - extract(epoch from '2026-07-20 16:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023663 -3.366905)'), GeomFromEWKT('SRID=4674;POINT (-39.023664 -3.366854)'))) / (select extract(epoch from '2026-07-20 16:57:17'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.023659 -3.366836)', '2026-07-20 16:57:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023664 -3.366854)'), GeomFromEWKT('SRID=4674;POINT (-39.023659 -3.366836)'))) / (select extract(epoch from '2026-07-20 16:57:18'::timestamp) - extract(epoch from '2026-07-20 16:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023664 -3.366854)'), GeomFromEWKT('SRID=4674;POINT (-39.023659 -3.366836)'))) / (select extract(epoch from '2026-07-20 16:57:18'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.023645 -3.366728)', '2026-07-20 16:57:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023659 -3.366836)'), GeomFromEWKT('SRID=4674;POINT (-39.023645 -3.366728)'))) / (select extract(epoch from '2026-07-20 16:57:24'::timestamp) - extract(epoch from '2026-07-20 16:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023659 -3.366836)'), GeomFromEWKT('SRID=4674;POINT (-39.023645 -3.366728)'))) / (select extract(epoch from '2026-07-20 16:57:24'::timestamp) - extract(epoch from '2026-07-20 16:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.02364 -3.366628)', '2026-07-20 16:57:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023645 -3.366728)'), GeomFromEWKT('SRID=4674;POINT (-39.02364 -3.366628)'))) / (select extract(epoch from '2026-07-20 16:57:29'::timestamp) - extract(epoch from '2026-07-20 16:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023645 -3.366728)'), GeomFromEWKT('SRID=4674;POINT (-39.02364 -3.366628)'))) / (select extract(epoch from '2026-07-20 16:57:29'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.02364 -3.36661)', '2026-07-20 16:57:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02364 -3.366628)'), GeomFromEWKT('SRID=4674;POINT (-39.02364 -3.36661)'))) / (select extract(epoch from '2026-07-20 16:57:30'::timestamp) - extract(epoch from '2026-07-20 16:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02364 -3.366628)'), GeomFromEWKT('SRID=4674;POINT (-39.02364 -3.36661)'))) / (select extract(epoch from '2026-07-20 16:57:30'::timestamp) - extract(epoch from '2026-07-20 16:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.023632 -3.366574)', '2026-07-20 16:57:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02364 -3.36661)'), GeomFromEWKT('SRID=4674;POINT (-39.023632 -3.366574)'))) / (select extract(epoch from '2026-07-20 16:57:32'::timestamp) - extract(epoch from '2026-07-20 16:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02364 -3.36661)'), GeomFromEWKT('SRID=4674;POINT (-39.023632 -3.366574)'))) / (select extract(epoch from '2026-07-20 16:57:32'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.023632 -3.366519)', '2026-07-20 16:57:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023632 -3.366574)'), GeomFromEWKT('SRID=4674;POINT (-39.023632 -3.366519)'))) / (select extract(epoch from '2026-07-20 16:57:35'::timestamp) - extract(epoch from '2026-07-20 16:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023632 -3.366574)'), GeomFromEWKT('SRID=4674;POINT (-39.023632 -3.366519)'))) / (select extract(epoch from '2026-07-20 16:57:35'::timestamp) - extract(epoch from '2026-07-20 16:57: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'), 47443, 'SRID=4674;POINT (-39.023605 -3.366384)', '2026-07-20 16:57:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023632 -3.366519)'), GeomFromEWKT('SRID=4674;POINT (-39.023605 -3.366384)'))) / (select extract(epoch from '2026-07-20 16:57:42'::timestamp) - extract(epoch from '2026-07-20 16:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023632 -3.366519)'), GeomFromEWKT('SRID=4674;POINT (-39.023605 -3.366384)'))) / (select extract(epoch from '2026-07-20 16:57:42'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.023578 -3.366254)', '2026-07-20 16:57:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023605 -3.366384)'), GeomFromEWKT('SRID=4674;POINT (-39.023578 -3.366254)'))) / (select extract(epoch from '2026-07-20 16:57:49'::timestamp) - extract(epoch from '2026-07-20 16:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023605 -3.366384)'), GeomFromEWKT('SRID=4674;POINT (-39.023578 -3.366254)'))) / (select extract(epoch from '2026-07-20 16:57:49'::timestamp) - extract(epoch from '2026-07-20 16:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.023549 -3.366147)', '2026-07-20 16:57:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023578 -3.366254)'), GeomFromEWKT('SRID=4674;POINT (-39.023549 -3.366147)'))) / (select extract(epoch from '2026-07-20 16:57:55'::timestamp) - extract(epoch from '2026-07-20 16:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023578 -3.366254)'), GeomFromEWKT('SRID=4674;POINT (-39.023549 -3.366147)'))) / (select extract(epoch from '2026-07-20 16:57:55'::timestamp) - extract(epoch from '2026-07-20 16:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.023511 -3.366057)', '2026-07-20 16:58:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023549 -3.366147)'), GeomFromEWKT('SRID=4674;POINT (-39.023511 -3.366057)'))) / (select extract(epoch from '2026-07-20 16:58:01'::timestamp) - extract(epoch from '2026-07-20 16:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023549 -3.366147)'), GeomFromEWKT('SRID=4674;POINT (-39.023511 -3.366057)'))) / (select extract(epoch from '2026-07-20 16:58:01'::timestamp) - extract(epoch from '2026-07-20 16:57:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.023467 -3.365978)', '2026-07-20 16:58:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023511 -3.366057)'), GeomFromEWKT('SRID=4674;POINT (-39.023467 -3.365978)'))) / (select extract(epoch from '2026-07-20 16:58:07'::timestamp) - extract(epoch from '2026-07-20 16:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023511 -3.366057)'), GeomFromEWKT('SRID=4674;POINT (-39.023467 -3.365978)'))) / (select extract(epoch from '2026-07-20 16:58:07'::timestamp) - extract(epoch from '2026-07-20 16:58: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'), 47443, 'SRID=4674;POINT (-39.023411 -3.365896)', '2026-07-20 16:58:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023467 -3.365978)'), GeomFromEWKT('SRID=4674;POINT (-39.023411 -3.365896)'))) / (select extract(epoch from '2026-07-20 16:58:13'::timestamp) - extract(epoch from '2026-07-20 16:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023467 -3.365978)'), GeomFromEWKT('SRID=4674;POINT (-39.023411 -3.365896)'))) / (select extract(epoch from '2026-07-20 16:58:13'::timestamp) - extract(epoch from '2026-07-20 16:58: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'), 47443, 'SRID=4674;POINT (-39.023345 -3.36582)', '2026-07-20 16:58:19', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023411 -3.365896)'), GeomFromEWKT('SRID=4674;POINT (-39.023345 -3.36582)'))) / (select extract(epoch from '2026-07-20 16:58:19'::timestamp) - extract(epoch from '2026-07-20 16:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023411 -3.365896)'), GeomFromEWKT('SRID=4674;POINT (-39.023345 -3.36582)'))) / (select extract(epoch from '2026-07-20 16:58:19'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.023338 -3.36581)', '2026-07-20 16:58:20', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023345 -3.36582)'), GeomFromEWKT('SRID=4674;POINT (-39.023338 -3.36581)'))) / (select extract(epoch from '2026-07-20 16:58:20'::timestamp) - extract(epoch from '2026-07-20 16:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023345 -3.36582)'), GeomFromEWKT('SRID=4674;POINT (-39.023338 -3.36581)'))) / (select extract(epoch from '2026-07-20 16:58:20'::timestamp) - extract(epoch from '2026-07-20 16:58: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'), 47443, 'SRID=4674;POINT (-39.023304 -3.365765)', '2026-07-20 16:58:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023338 -3.36581)'), GeomFromEWKT('SRID=4674;POINT (-39.023304 -3.365765)'))) / (select extract(epoch from '2026-07-20 16:58:24'::timestamp) - extract(epoch from '2026-07-20 16:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023338 -3.36581)'), GeomFromEWKT('SRID=4674;POINT (-39.023304 -3.365765)'))) / (select extract(epoch from '2026-07-20 16:58:24'::timestamp) - extract(epoch from '2026-07-20 16:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.023296 -3.365754)', '2026-07-20 16:58:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023304 -3.365765)'), GeomFromEWKT('SRID=4674;POINT (-39.023296 -3.365754)'))) / (select extract(epoch from '2026-07-20 16:58:25'::timestamp) - extract(epoch from '2026-07-20 16:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023304 -3.365765)'), GeomFromEWKT('SRID=4674;POINT (-39.023296 -3.365754)'))) / (select extract(epoch from '2026-07-20 16:58:25'::timestamp) - extract(epoch from '2026-07-20 16:58: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'), 47443, 'SRID=4674;POINT (-39.023271 -3.365717)', '2026-07-20 16:58:28', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023296 -3.365754)'), GeomFromEWKT('SRID=4674;POINT (-39.023271 -3.365717)'))) / (select extract(epoch from '2026-07-20 16:58:28'::timestamp) - extract(epoch from '2026-07-20 16:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023296 -3.365754)'), GeomFromEWKT('SRID=4674;POINT (-39.023271 -3.365717)'))) / (select extract(epoch from '2026-07-20 16:58:28'::timestamp) - extract(epoch from '2026-07-20 16:58: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'), 47443, 'SRID=4674;POINT (-39.023265 -3.3657)', '2026-07-20 16:58:29', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023271 -3.365717)'), GeomFromEWKT('SRID=4674;POINT (-39.023265 -3.3657)'))) / (select extract(epoch from '2026-07-20 16:58:29'::timestamp) - extract(epoch from '2026-07-20 16:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023271 -3.365717)'), GeomFromEWKT('SRID=4674;POINT (-39.023265 -3.3657)'))) / (select extract(epoch from '2026-07-20 16:58:29'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.023248 -3.365672)', '2026-07-20 16:58:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023265 -3.3657)'), GeomFromEWKT('SRID=4674;POINT (-39.023248 -3.365672)'))) / (select extract(epoch from '2026-07-20 16:58:31'::timestamp) - extract(epoch from '2026-07-20 16:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023265 -3.3657)'), GeomFromEWKT('SRID=4674;POINT (-39.023248 -3.365672)'))) / (select extract(epoch from '2026-07-20 16:58:31'::timestamp) - extract(epoch from '2026-07-20 16:58: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'), 47443, 'SRID=4674;POINT (-39.023233 -3.365642)', '2026-07-20 16:58:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023248 -3.365672)'), GeomFromEWKT('SRID=4674;POINT (-39.023233 -3.365642)'))) / (select extract(epoch from '2026-07-20 16:58:33'::timestamp) - extract(epoch from '2026-07-20 16:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023248 -3.365672)'), GeomFromEWKT('SRID=4674;POINT (-39.023233 -3.365642)'))) / (select extract(epoch from '2026-07-20 16:58:33'::timestamp) - extract(epoch from '2026-07-20 16:58:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.023209 -3.36558)', '2026-07-20 16:58:37', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023233 -3.365642)'), GeomFromEWKT('SRID=4674;POINT (-39.023209 -3.36558)'))) / (select extract(epoch from '2026-07-20 16:58:37'::timestamp) - extract(epoch from '2026-07-20 16:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023233 -3.365642)'), GeomFromEWKT('SRID=4674;POINT (-39.023209 -3.36558)'))) / (select extract(epoch from '2026-07-20 16:58:37'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.0232 -3.365568)', '2026-07-20 16:58:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023209 -3.36558)'), GeomFromEWKT('SRID=4674;POINT (-39.0232 -3.365568)'))) / (select extract(epoch from '2026-07-20 16:58:38'::timestamp) - extract(epoch from '2026-07-20 16:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023209 -3.36558)'), GeomFromEWKT('SRID=4674;POINT (-39.0232 -3.365568)'))) / (select extract(epoch from '2026-07-20 16:58:38'::timestamp) - extract(epoch from '2026-07-20 16:58: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'), 47443, 'SRID=4674;POINT (-39.02315 -3.365481)', '2026-07-20 16:58:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0232 -3.365568)'), GeomFromEWKT('SRID=4674;POINT (-39.02315 -3.365481)'))) / (select extract(epoch from '2026-07-20 16:58:44'::timestamp) - extract(epoch from '2026-07-20 16:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0232 -3.365568)'), GeomFromEWKT('SRID=4674;POINT (-39.02315 -3.365481)'))) / (select extract(epoch from '2026-07-20 16:58:44'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.023143 -3.365464)', '2026-07-20 16:58:45', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02315 -3.365481)'), GeomFromEWKT('SRID=4674;POINT (-39.023143 -3.365464)'))) / (select extract(epoch from '2026-07-20 16:58:45'::timestamp) - extract(epoch from '2026-07-20 16:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02315 -3.365481)'), GeomFromEWKT('SRID=4674;POINT (-39.023143 -3.365464)'))) / (select extract(epoch from '2026-07-20 16:58:45'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.02313 -3.36541)', '2026-07-20 16:58:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023143 -3.365464)'), GeomFromEWKT('SRID=4674;POINT (-39.02313 -3.36541)'))) / (select extract(epoch from '2026-07-20 16:58:48'::timestamp) - extract(epoch from '2026-07-20 16:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023143 -3.365464)'), GeomFromEWKT('SRID=4674;POINT (-39.02313 -3.36541)'))) / (select extract(epoch from '2026-07-20 16:58:48'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.02313 -3.365393)', '2026-07-20 16:58:49', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02313 -3.36541)'), GeomFromEWKT('SRID=4674;POINT (-39.02313 -3.365393)'))) / (select extract(epoch from '2026-07-20 16:58:49'::timestamp) - extract(epoch from '2026-07-20 16:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02313 -3.36541)'), GeomFromEWKT('SRID=4674;POINT (-39.02313 -3.365393)'))) / (select extract(epoch from '2026-07-20 16:58:49'::timestamp) - extract(epoch from '2026-07-20 16:58:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.023127 -3.365377)', '2026-07-20 16:58:50', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02313 -3.365393)'), GeomFromEWKT('SRID=4674;POINT (-39.023127 -3.365377)'))) / (select extract(epoch from '2026-07-20 16:58:50'::timestamp) - extract(epoch from '2026-07-20 16:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02313 -3.365393)'), GeomFromEWKT('SRID=4674;POINT (-39.023127 -3.365377)'))) / (select extract(epoch from '2026-07-20 16:58:50'::timestamp) - extract(epoch from '2026-07-20 16:58:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47443, 'SRID=4674;POINT (-39.023097 -3.365306)', '2026-07-20 16:58:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023127 -3.365377)'), GeomFromEWKT('SRID=4674;POINT (-39.023097 -3.365306)'))) / (select extract(epoch from '2026-07-20 16:58:54'::timestamp) - extract(epoch from '2026-07-20 16:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023127 -3.365377)'), GeomFromEWKT('SRID=4674;POINT (-39.023097 -3.365306)'))) / (select extract(epoch from '2026-07-20 16:58:54'::timestamp) - extract(epoch from '2026-07-20 16: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'), 47443, 'SRID=4674;POINT (-39.023069 -3.36521)', '2026-07-20 16:59:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023097 -3.365306)'), GeomFromEWKT('SRID=4674;POINT (-39.023069 -3.36521)'))) / (select extract(epoch from '2026-07-20 16:59:00'::timestamp) - extract(epoch from '2026-07-20 16:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023097 -3.365306)'), GeomFromEWKT('SRID=4674;POINT (-39.023069 -3.36521)'))) / (select extract(epoch from '2026-07-20 16:59:00'::timestamp) - extract(epoch from '2026-07-20 16:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
