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'), 47862, 'SRID=4674;POINT (-39.821478 -2.922315)', '2026-07-08 06:18:09', 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'), 47862, 'SRID=4674;POINT (-39.821424 -2.922219)', '2026-07-08 06:18:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821478 -2.922315)'), GeomFromEWKT('SRID=4674;POINT (-39.821424 -2.922219)'))) / (select extract(epoch from '2026-07-08 06:18:16'::timestamp) - extract(epoch from '2026-07-08 06:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821478 -2.922315)'), GeomFromEWKT('SRID=4674;POINT (-39.821424 -2.922219)'))) / (select extract(epoch from '2026-07-08 06:18:16'::timestamp) - extract(epoch from '2026-07-08 06:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82144 -2.922089)', '2026-07-08 06:18:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821424 -2.922219)'), GeomFromEWKT('SRID=4674;POINT (-39.82144 -2.922089)'))) / (select extract(epoch from '2026-07-08 06:18:23'::timestamp) - extract(epoch from '2026-07-08 06:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821424 -2.922219)'), GeomFromEWKT('SRID=4674;POINT (-39.82144 -2.922089)'))) / (select extract(epoch from '2026-07-08 06:18:23'::timestamp) - extract(epoch from '2026-07-08 06:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821496 -2.921947)', '2026-07-08 06:18:31', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82144 -2.922089)'), GeomFromEWKT('SRID=4674;POINT (-39.821496 -2.921947)'))) / (select extract(epoch from '2026-07-08 06:18:31'::timestamp) - extract(epoch from '2026-07-08 06:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82144 -2.922089)'), GeomFromEWKT('SRID=4674;POINT (-39.821496 -2.921947)'))) / (select extract(epoch from '2026-07-08 06:18:31'::timestamp) - extract(epoch from '2026-07-08 06:18:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821496 -2.921757)', '2026-07-08 06:18:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821496 -2.921947)'), GeomFromEWKT('SRID=4674;POINT (-39.821496 -2.921757)'))) / (select extract(epoch from '2026-07-08 06:18:41'::timestamp) - extract(epoch from '2026-07-08 06:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821496 -2.921947)'), GeomFromEWKT('SRID=4674;POINT (-39.821496 -2.921757)'))) / (select extract(epoch from '2026-07-08 06:18:41'::timestamp) - extract(epoch from '2026-07-08 06:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821545 -2.921607)', '2026-07-08 06:18:49', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821496 -2.921757)'), GeomFromEWKT('SRID=4674;POINT (-39.821545 -2.921607)'))) / (select extract(epoch from '2026-07-08 06:18:49'::timestamp) - extract(epoch from '2026-07-08 06:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821496 -2.921757)'), GeomFromEWKT('SRID=4674;POINT (-39.821545 -2.921607)'))) / (select extract(epoch from '2026-07-08 06:18:49'::timestamp) - extract(epoch from '2026-07-08 06:18:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821572 -2.921447)', '2026-07-08 06:18:57', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821545 -2.921607)'), GeomFromEWKT('SRID=4674;POINT (-39.821572 -2.921447)'))) / (select extract(epoch from '2026-07-08 06:18:57'::timestamp) - extract(epoch from '2026-07-08 06:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821545 -2.921607)'), GeomFromEWKT('SRID=4674;POINT (-39.821572 -2.921447)'))) / (select extract(epoch from '2026-07-08 06:18:57'::timestamp) - extract(epoch from '2026-07-08 06:18:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82159 -2.921282)', '2026-07-08 06:19:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821572 -2.921447)'), GeomFromEWKT('SRID=4674;POINT (-39.82159 -2.921282)'))) / (select extract(epoch from '2026-07-08 06:19:05'::timestamp) - extract(epoch from '2026-07-08 06:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821572 -2.921447)'), GeomFromEWKT('SRID=4674;POINT (-39.82159 -2.921282)'))) / (select extract(epoch from '2026-07-08 06:19:05'::timestamp) - extract(epoch from '2026-07-08 06:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821661 -2.921116)', '2026-07-08 06:19:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82159 -2.921282)'), GeomFromEWKT('SRID=4674;POINT (-39.821661 -2.921116)'))) / (select extract(epoch from '2026-07-08 06:19:14'::timestamp) - extract(epoch from '2026-07-08 06:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82159 -2.921282)'), GeomFromEWKT('SRID=4674;POINT (-39.821661 -2.921116)'))) / (select extract(epoch from '2026-07-08 06:19:14'::timestamp) - extract(epoch from '2026-07-08 06:19:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821676 -2.920998)', '2026-07-08 06:19:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821661 -2.921116)'), GeomFromEWKT('SRID=4674;POINT (-39.821676 -2.920998)'))) / (select extract(epoch from '2026-07-08 06:19:20'::timestamp) - extract(epoch from '2026-07-08 06:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821661 -2.921116)'), GeomFromEWKT('SRID=4674;POINT (-39.821676 -2.920998)'))) / (select extract(epoch from '2026-07-08 06:19:20'::timestamp) - extract(epoch from '2026-07-08 06:19:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821639 -2.920879)', '2026-07-08 06:19:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821676 -2.920998)'), GeomFromEWKT('SRID=4674;POINT (-39.821639 -2.920879)'))) / (select extract(epoch from '2026-07-08 06:19:27'::timestamp) - extract(epoch from '2026-07-08 06:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821676 -2.920998)'), GeomFromEWKT('SRID=4674;POINT (-39.821639 -2.920879)'))) / (select extract(epoch from '2026-07-08 06:19:27'::timestamp) - extract(epoch from '2026-07-08 06:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821602 -2.920773)', '2026-07-08 06:19:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821639 -2.920879)'), GeomFromEWKT('SRID=4674;POINT (-39.821602 -2.920773)'))) / (select extract(epoch from '2026-07-08 06:19:34'::timestamp) - extract(epoch from '2026-07-08 06:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821639 -2.920879)'), GeomFromEWKT('SRID=4674;POINT (-39.821602 -2.920773)'))) / (select extract(epoch from '2026-07-08 06:19:34'::timestamp) - extract(epoch from '2026-07-08 06:19:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821644 -2.920613)', '2026-07-08 06:19:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821602 -2.920773)'), GeomFromEWKT('SRID=4674;POINT (-39.821644 -2.920613)'))) / (select extract(epoch from '2026-07-08 06:19:43'::timestamp) - extract(epoch from '2026-07-08 06:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821602 -2.920773)'), GeomFromEWKT('SRID=4674;POINT (-39.821644 -2.920613)'))) / (select extract(epoch from '2026-07-08 06:19:43'::timestamp) - extract(epoch from '2026-07-08 06:19:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821636 -2.920476)', '2026-07-08 06:19:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821644 -2.920613)'), GeomFromEWKT('SRID=4674;POINT (-39.821636 -2.920476)'))) / (select extract(epoch from '2026-07-08 06:19:50'::timestamp) - extract(epoch from '2026-07-08 06:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821644 -2.920613)'), GeomFromEWKT('SRID=4674;POINT (-39.821636 -2.920476)'))) / (select extract(epoch from '2026-07-08 06:19:50'::timestamp) - extract(epoch from '2026-07-08 06:19:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821625 -2.920363)', '2026-07-08 06:19:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821636 -2.920476)'), GeomFromEWKT('SRID=4674;POINT (-39.821625 -2.920363)'))) / (select extract(epoch from '2026-07-08 06:19:56'::timestamp) - extract(epoch from '2026-07-08 06:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821636 -2.920476)'), GeomFromEWKT('SRID=4674;POINT (-39.821625 -2.920363)'))) / (select extract(epoch from '2026-07-08 06:19:56'::timestamp) - extract(epoch from '2026-07-08 06:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821672 -2.920221)', '2026-07-08 06:20:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821625 -2.920363)'), GeomFromEWKT('SRID=4674;POINT (-39.821672 -2.920221)'))) / (select extract(epoch from '2026-07-08 06:20:04'::timestamp) - extract(epoch from '2026-07-08 06:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821625 -2.920363)'), GeomFromEWKT('SRID=4674;POINT (-39.821672 -2.920221)'))) / (select extract(epoch from '2026-07-08 06:20:04'::timestamp) - extract(epoch from '2026-07-08 06:19:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821721 -2.920056)', '2026-07-08 06:20:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821672 -2.920221)'), GeomFromEWKT('SRID=4674;POINT (-39.821721 -2.920056)'))) / (select extract(epoch from '2026-07-08 06:20:13'::timestamp) - extract(epoch from '2026-07-08 06:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821672 -2.920221)'), GeomFromEWKT('SRID=4674;POINT (-39.821721 -2.920056)'))) / (select extract(epoch from '2026-07-08 06:20:13'::timestamp) - extract(epoch from '2026-07-08 06:20:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821748 -2.919923)', '2026-07-08 06:20:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821721 -2.920056)'), GeomFromEWKT('SRID=4674;POINT (-39.821748 -2.919923)'))) / (select extract(epoch from '2026-07-08 06:20:20'::timestamp) - extract(epoch from '2026-07-08 06:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821721 -2.920056)'), GeomFromEWKT('SRID=4674;POINT (-39.821748 -2.919923)'))) / (select extract(epoch from '2026-07-08 06:20:20'::timestamp) - extract(epoch from '2026-07-08 06:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821839 -2.919806)', '2026-07-08 06:20:28', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821748 -2.919923)'), GeomFromEWKT('SRID=4674;POINT (-39.821839 -2.919806)'))) / (select extract(epoch from '2026-07-08 06:20:28'::timestamp) - extract(epoch from '2026-07-08 06:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821748 -2.919923)'), GeomFromEWKT('SRID=4674;POINT (-39.821839 -2.919806)'))) / (select extract(epoch from '2026-07-08 06:20:28'::timestamp) - extract(epoch from '2026-07-08 06:20:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821929 -2.919682)', '2026-07-08 06:20:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821839 -2.919806)'), GeomFromEWKT('SRID=4674;POINT (-39.821929 -2.919682)'))) / (select extract(epoch from '2026-07-08 06:20:36'::timestamp) - extract(epoch from '2026-07-08 06:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821839 -2.919806)'), GeomFromEWKT('SRID=4674;POINT (-39.821929 -2.919682)'))) / (select extract(epoch from '2026-07-08 06:20:36'::timestamp) - extract(epoch from '2026-07-08 06:20:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821936 -2.919553)', '2026-07-08 06:20:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821929 -2.919682)'), GeomFromEWKT('SRID=4674;POINT (-39.821936 -2.919553)'))) / (select extract(epoch from '2026-07-08 06:20:43'::timestamp) - extract(epoch from '2026-07-08 06:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821929 -2.919682)'), GeomFromEWKT('SRID=4674;POINT (-39.821936 -2.919553)'))) / (select extract(epoch from '2026-07-08 06:20:43'::timestamp) - extract(epoch from '2026-07-08 06:20:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821887 -2.919461)', '2026-07-08 06:20:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821936 -2.919553)'), GeomFromEWKT('SRID=4674;POINT (-39.821887 -2.919461)'))) / (select extract(epoch from '2026-07-08 06:20:50'::timestamp) - extract(epoch from '2026-07-08 06:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821936 -2.919553)'), GeomFromEWKT('SRID=4674;POINT (-39.821887 -2.919461)'))) / (select extract(epoch from '2026-07-08 06:20:50'::timestamp) - extract(epoch from '2026-07-08 06:20:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821866 -2.919348)', '2026-07-08 06:20:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821887 -2.919461)'), GeomFromEWKT('SRID=4674;POINT (-39.821866 -2.919348)'))) / (select extract(epoch from '2026-07-08 06:20:57'::timestamp) - extract(epoch from '2026-07-08 06:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821887 -2.919461)'), GeomFromEWKT('SRID=4674;POINT (-39.821866 -2.919348)'))) / (select extract(epoch from '2026-07-08 06:20:57'::timestamp) - extract(epoch from '2026-07-08 06:20:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821929 -2.919242)', '2026-07-08 06:21:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821866 -2.919348)'), GeomFromEWKT('SRID=4674;POINT (-39.821929 -2.919242)'))) / (select extract(epoch from '2026-07-08 06:21:04'::timestamp) - extract(epoch from '2026-07-08 06:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821866 -2.919348)'), GeomFromEWKT('SRID=4674;POINT (-39.821929 -2.919242)'))) / (select extract(epoch from '2026-07-08 06:21:04'::timestamp) - extract(epoch from '2026-07-08 06:20:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.822036 -2.919102)', '2026-07-08 06:21:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821929 -2.919242)'), GeomFromEWKT('SRID=4674;POINT (-39.822036 -2.919102)'))) / (select extract(epoch from '2026-07-08 06:21:13'::timestamp) - extract(epoch from '2026-07-08 06:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821929 -2.919242)'), GeomFromEWKT('SRID=4674;POINT (-39.822036 -2.919102)'))) / (select extract(epoch from '2026-07-08 06:21:13'::timestamp) - extract(epoch from '2026-07-08 06:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.822093 -2.918969)', '2026-07-08 06:21:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822036 -2.919102)'), GeomFromEWKT('SRID=4674;POINT (-39.822093 -2.918969)'))) / (select extract(epoch from '2026-07-08 06:21:20'::timestamp) - extract(epoch from '2026-07-08 06:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822036 -2.919102)'), GeomFromEWKT('SRID=4674;POINT (-39.822093 -2.918969)'))) / (select extract(epoch from '2026-07-08 06:21:20'::timestamp) - extract(epoch from '2026-07-08 06:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.822167 -2.918891)', '2026-07-08 06:21:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822093 -2.918969)'), GeomFromEWKT('SRID=4674;POINT (-39.822167 -2.918891)'))) / (select extract(epoch from '2026-07-08 06:21:26'::timestamp) - extract(epoch from '2026-07-08 06:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822093 -2.918969)'), GeomFromEWKT('SRID=4674;POINT (-39.822167 -2.918891)'))) / (select extract(epoch from '2026-07-08 06:21:26'::timestamp) - extract(epoch from '2026-07-08 06:21:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.822268 -2.918904)', '2026-07-08 06:21:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822167 -2.918891)'), GeomFromEWKT('SRID=4674;POINT (-39.822268 -2.918904)'))) / (select extract(epoch from '2026-07-08 06:21:33'::timestamp) - extract(epoch from '2026-07-08 06:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822167 -2.918891)'), GeomFromEWKT('SRID=4674;POINT (-39.822268 -2.918904)'))) / (select extract(epoch from '2026-07-08 06:21:33'::timestamp) - extract(epoch from '2026-07-08 06:21:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82239 -2.918935)', '2026-07-08 06:21:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822268 -2.918904)'), GeomFromEWKT('SRID=4674;POINT (-39.82239 -2.918935)'))) / (select extract(epoch from '2026-07-08 06:21:40'::timestamp) - extract(epoch from '2026-07-08 06:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822268 -2.918904)'), GeomFromEWKT('SRID=4674;POINT (-39.82239 -2.918935)'))) / (select extract(epoch from '2026-07-08 06:21:40'::timestamp) - extract(epoch from '2026-07-08 06:21:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.822517 -2.918928)', '2026-07-08 06:21:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82239 -2.918935)'), GeomFromEWKT('SRID=4674;POINT (-39.822517 -2.918928)'))) / (select extract(epoch from '2026-07-08 06:21:46'::timestamp) - extract(epoch from '2026-07-08 06:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82239 -2.918935)'), GeomFromEWKT('SRID=4674;POINT (-39.822517 -2.918928)'))) / (select extract(epoch from '2026-07-08 06:21:46'::timestamp) - extract(epoch from '2026-07-08 06:21:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.822637 -2.918893)', '2026-07-08 06:21:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822517 -2.918928)'), GeomFromEWKT('SRID=4674;POINT (-39.822637 -2.918893)'))) / (select extract(epoch from '2026-07-08 06:21:52'::timestamp) - extract(epoch from '2026-07-08 06:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822517 -2.918928)'), GeomFromEWKT('SRID=4674;POINT (-39.822637 -2.918893)'))) / (select extract(epoch from '2026-07-08 06:21:52'::timestamp) - extract(epoch from '2026-07-08 06:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.822795 -2.918856)', '2026-07-08 06:22:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822637 -2.918893)'), GeomFromEWKT('SRID=4674;POINT (-39.822795 -2.918856)'))) / (select extract(epoch from '2026-07-08 06:22:00'::timestamp) - extract(epoch from '2026-07-08 06:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822637 -2.918893)'), GeomFromEWKT('SRID=4674;POINT (-39.822795 -2.918856)'))) / (select extract(epoch from '2026-07-08 06:22:00'::timestamp) - extract(epoch from '2026-07-08 06:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.822938 -2.918821)', '2026-07-08 06:22:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822795 -2.918856)'), GeomFromEWKT('SRID=4674;POINT (-39.822938 -2.918821)'))) / (select extract(epoch from '2026-07-08 06:22:07'::timestamp) - extract(epoch from '2026-07-08 06:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822795 -2.918856)'), GeomFromEWKT('SRID=4674;POINT (-39.822938 -2.918821)'))) / (select extract(epoch from '2026-07-08 06:22:07'::timestamp) - extract(epoch from '2026-07-08 06:22:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823042 -2.918736)', '2026-07-08 06:22:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822938 -2.918821)'), GeomFromEWKT('SRID=4674;POINT (-39.823042 -2.918736)'))) / (select extract(epoch from '2026-07-08 06:22:14'::timestamp) - extract(epoch from '2026-07-08 06:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822938 -2.918821)'), GeomFromEWKT('SRID=4674;POINT (-39.823042 -2.918736)'))) / (select extract(epoch from '2026-07-08 06:22:14'::timestamp) - extract(epoch from '2026-07-08 06:22:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823136 -2.918667)', '2026-07-08 06:22:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823042 -2.918736)'), GeomFromEWKT('SRID=4674;POINT (-39.823136 -2.918667)'))) / (select extract(epoch from '2026-07-08 06:22:20'::timestamp) - extract(epoch from '2026-07-08 06:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823042 -2.918736)'), GeomFromEWKT('SRID=4674;POINT (-39.823136 -2.918667)'))) / (select extract(epoch from '2026-07-08 06:22:20'::timestamp) - extract(epoch from '2026-07-08 06:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823216 -2.918574)', '2026-07-08 06:22:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823136 -2.918667)'), GeomFromEWKT('SRID=4674;POINT (-39.823216 -2.918574)'))) / (select extract(epoch from '2026-07-08 06:22:26'::timestamp) - extract(epoch from '2026-07-08 06:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823136 -2.918667)'), GeomFromEWKT('SRID=4674;POINT (-39.823216 -2.918574)'))) / (select extract(epoch from '2026-07-08 06:22:26'::timestamp) - extract(epoch from '2026-07-08 06:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823251 -2.918438)', '2026-07-08 06:22:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823216 -2.918574)'), GeomFromEWKT('SRID=4674;POINT (-39.823251 -2.918438)'))) / (select extract(epoch from '2026-07-08 06:22:33'::timestamp) - extract(epoch from '2026-07-08 06:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823216 -2.918574)'), GeomFromEWKT('SRID=4674;POINT (-39.823251 -2.918438)'))) / (select extract(epoch from '2026-07-08 06:22:33'::timestamp) - extract(epoch from '2026-07-08 06:22:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823263 -2.918288)', '2026-07-08 06:22:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823251 -2.918438)'), GeomFromEWKT('SRID=4674;POINT (-39.823263 -2.918288)'))) / (select extract(epoch from '2026-07-08 06:22:42'::timestamp) - extract(epoch from '2026-07-08 06:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823251 -2.918438)'), GeomFromEWKT('SRID=4674;POINT (-39.823263 -2.918288)'))) / (select extract(epoch from '2026-07-08 06:22:42'::timestamp) - extract(epoch from '2026-07-08 06:22:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823348 -2.918169)', '2026-07-08 06:22:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823263 -2.918288)'), GeomFromEWKT('SRID=4674;POINT (-39.823348 -2.918169)'))) / (select extract(epoch from '2026-07-08 06:22:51'::timestamp) - extract(epoch from '2026-07-08 06:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823263 -2.918288)'), GeomFromEWKT('SRID=4674;POINT (-39.823348 -2.918169)'))) / (select extract(epoch from '2026-07-08 06:22:51'::timestamp) - extract(epoch from '2026-07-08 06:22:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823421 -2.918032)', '2026-07-08 06:23:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823348 -2.918169)'), GeomFromEWKT('SRID=4674;POINT (-39.823421 -2.918032)'))) / (select extract(epoch from '2026-07-08 06:23:00'::timestamp) - extract(epoch from '2026-07-08 06:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823348 -2.918169)'), GeomFromEWKT('SRID=4674;POINT (-39.823421 -2.918032)'))) / (select extract(epoch from '2026-07-08 06:23:00'::timestamp) - extract(epoch from '2026-07-08 06:22:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823493 -2.91794)', '2026-07-08 06:23:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823421 -2.918032)'), GeomFromEWKT('SRID=4674;POINT (-39.823493 -2.91794)'))) / (select extract(epoch from '2026-07-08 06:23:08'::timestamp) - extract(epoch from '2026-07-08 06:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823421 -2.918032)'), GeomFromEWKT('SRID=4674;POINT (-39.823493 -2.91794)'))) / (select extract(epoch from '2026-07-08 06:23:08'::timestamp) - extract(epoch from '2026-07-08 06:23:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823514 -2.917872)', '2026-07-08 06:23:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823493 -2.91794)'), GeomFromEWKT('SRID=4674;POINT (-39.823514 -2.917872)'))) / (select extract(epoch from '2026-07-08 06:23:15'::timestamp) - extract(epoch from '2026-07-08 06:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823493 -2.91794)'), GeomFromEWKT('SRID=4674;POINT (-39.823514 -2.917872)'))) / (select extract(epoch from '2026-07-08 06:23:15'::timestamp) - extract(epoch from '2026-07-08 06:23:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823497 -2.917831)', '2026-07-08 06:23:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823514 -2.917872)'), GeomFromEWKT('SRID=4674;POINT (-39.823497 -2.917831)'))) / (select extract(epoch from '2026-07-08 06:23:24'::timestamp) - extract(epoch from '2026-07-08 06:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823514 -2.917872)'), GeomFromEWKT('SRID=4674;POINT (-39.823497 -2.917831)'))) / (select extract(epoch from '2026-07-08 06:23:24'::timestamp) - extract(epoch from '2026-07-08 06:23:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823444 -2.917762)', '2026-07-08 06:23:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823497 -2.917831)'), GeomFromEWKT('SRID=4674;POINT (-39.823444 -2.917762)'))) / (select extract(epoch from '2026-07-08 06:23:36'::timestamp) - extract(epoch from '2026-07-08 06:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823497 -2.917831)'), GeomFromEWKT('SRID=4674;POINT (-39.823444 -2.917762)'))) / (select extract(epoch from '2026-07-08 06:23:36'::timestamp) - extract(epoch from '2026-07-08 06:23:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823425 -2.917674)', '2026-07-08 06:23:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823444 -2.917762)'), GeomFromEWKT('SRID=4674;POINT (-39.823425 -2.917674)'))) / (select extract(epoch from '2026-07-08 06:23:43'::timestamp) - extract(epoch from '2026-07-08 06:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823444 -2.917762)'), GeomFromEWKT('SRID=4674;POINT (-39.823425 -2.917674)'))) / (select extract(epoch from '2026-07-08 06:23:43'::timestamp) - extract(epoch from '2026-07-08 06:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823416 -2.917531)', '2026-07-08 06:23:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823425 -2.917674)'), GeomFromEWKT('SRID=4674;POINT (-39.823416 -2.917531)'))) / (select extract(epoch from '2026-07-08 06:23:51'::timestamp) - extract(epoch from '2026-07-08 06:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823425 -2.917674)'), GeomFromEWKT('SRID=4674;POINT (-39.823416 -2.917531)'))) / (select extract(epoch from '2026-07-08 06:23:51'::timestamp) - extract(epoch from '2026-07-08 06:23:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823388 -2.917352)', '2026-07-08 06:24:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823416 -2.917531)'), GeomFromEWKT('SRID=4674;POINT (-39.823388 -2.917352)'))) / (select extract(epoch from '2026-07-08 06:24:00'::timestamp) - extract(epoch from '2026-07-08 06:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823416 -2.917531)'), GeomFromEWKT('SRID=4674;POINT (-39.823388 -2.917352)'))) / (select extract(epoch from '2026-07-08 06:24:00'::timestamp) - extract(epoch from '2026-07-08 06:23:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823361 -2.917241)', '2026-07-08 06:24:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823388 -2.917352)'), GeomFromEWKT('SRID=4674;POINT (-39.823361 -2.917241)'))) / (select extract(epoch from '2026-07-08 06:24:06'::timestamp) - extract(epoch from '2026-07-08 06:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823388 -2.917352)'), GeomFromEWKT('SRID=4674;POINT (-39.823361 -2.917241)'))) / (select extract(epoch from '2026-07-08 06:24:06'::timestamp) - extract(epoch from '2026-07-08 06:24:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823387 -2.917133)', '2026-07-08 06:24:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823361 -2.917241)'), GeomFromEWKT('SRID=4674;POINT (-39.823387 -2.917133)'))) / (select extract(epoch from '2026-07-08 06:24:12'::timestamp) - extract(epoch from '2026-07-08 06:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823361 -2.917241)'), GeomFromEWKT('SRID=4674;POINT (-39.823387 -2.917133)'))) / (select extract(epoch from '2026-07-08 06:24:12'::timestamp) - extract(epoch from '2026-07-08 06:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823449 -2.917008)', '2026-07-08 06:24:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823387 -2.917133)'), GeomFromEWKT('SRID=4674;POINT (-39.823449 -2.917008)'))) / (select extract(epoch from '2026-07-08 06:24:19'::timestamp) - extract(epoch from '2026-07-08 06:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823387 -2.917133)'), GeomFromEWKT('SRID=4674;POINT (-39.823449 -2.917008)'))) / (select extract(epoch from '2026-07-08 06:24:19'::timestamp) - extract(epoch from '2026-07-08 06:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823452 -2.916849)', '2026-07-08 06:24:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823449 -2.917008)'), GeomFromEWKT('SRID=4674;POINT (-39.823452 -2.916849)'))) / (select extract(epoch from '2026-07-08 06:24:27'::timestamp) - extract(epoch from '2026-07-08 06:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823449 -2.917008)'), GeomFromEWKT('SRID=4674;POINT (-39.823452 -2.916849)'))) / (select extract(epoch from '2026-07-08 06:24:27'::timestamp) - extract(epoch from '2026-07-08 06:24:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823385 -2.916739)', '2026-07-08 06:24:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823452 -2.916849)'), GeomFromEWKT('SRID=4674;POINT (-39.823385 -2.916739)'))) / (select extract(epoch from '2026-07-08 06:24:34'::timestamp) - extract(epoch from '2026-07-08 06:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823452 -2.916849)'), GeomFromEWKT('SRID=4674;POINT (-39.823385 -2.916739)'))) / (select extract(epoch from '2026-07-08 06:24:34'::timestamp) - extract(epoch from '2026-07-08 06:24:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823318 -2.916631)', '2026-07-08 06:24:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823385 -2.916739)'), GeomFromEWKT('SRID=4674;POINT (-39.823318 -2.916631)'))) / (select extract(epoch from '2026-07-08 06:24:41'::timestamp) - extract(epoch from '2026-07-08 06:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823385 -2.916739)'), GeomFromEWKT('SRID=4674;POINT (-39.823318 -2.916631)'))) / (select extract(epoch from '2026-07-08 06:24:41'::timestamp) - extract(epoch from '2026-07-08 06:24:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823336 -2.916545)', '2026-07-08 06:24:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823318 -2.916631)'), GeomFromEWKT('SRID=4674;POINT (-39.823336 -2.916545)'))) / (select extract(epoch from '2026-07-08 06:24:46'::timestamp) - extract(epoch from '2026-07-08 06:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823318 -2.916631)'), GeomFromEWKT('SRID=4674;POINT (-39.823336 -2.916545)'))) / (select extract(epoch from '2026-07-08 06:24:46'::timestamp) - extract(epoch from '2026-07-08 06:24:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823348 -2.916532)', '2026-07-08 06:24:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823336 -2.916545)'), GeomFromEWKT('SRID=4674;POINT (-39.823348 -2.916532)'))) / (select extract(epoch from '2026-07-08 06:24:47'::timestamp) - extract(epoch from '2026-07-08 06:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823336 -2.916545)'), GeomFromEWKT('SRID=4674;POINT (-39.823348 -2.916532)'))) / (select extract(epoch from '2026-07-08 06:24:47'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47862, 'SRID=4674;POINT (-39.823451 -2.916465)', '2026-07-08 06:24:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823348 -2.916532)'), GeomFromEWKT('SRID=4674;POINT (-39.823451 -2.916465)'))) / (select extract(epoch from '2026-07-08 06:24:54'::timestamp) - extract(epoch from '2026-07-08 06:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823348 -2.916532)'), GeomFromEWKT('SRID=4674;POINT (-39.823451 -2.916465)'))) / (select extract(epoch from '2026-07-08 06:24:54'::timestamp) - extract(epoch from '2026-07-08 06:24:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823592 -2.916364)', '2026-07-08 06:25:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823451 -2.916465)'), GeomFromEWKT('SRID=4674;POINT (-39.823592 -2.916364)'))) / (select extract(epoch from '2026-07-08 06:25:02'::timestamp) - extract(epoch from '2026-07-08 06:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823451 -2.916465)'), GeomFromEWKT('SRID=4674;POINT (-39.823592 -2.916364)'))) / (select extract(epoch from '2026-07-08 06:25:02'::timestamp) - extract(epoch from '2026-07-08 06:24:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823686 -2.916206)', '2026-07-08 06:25:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823592 -2.916364)'), GeomFromEWKT('SRID=4674;POINT (-39.823686 -2.916206)'))) / (select extract(epoch from '2026-07-08 06:25:11'::timestamp) - extract(epoch from '2026-07-08 06:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823592 -2.916364)'), GeomFromEWKT('SRID=4674;POINT (-39.823686 -2.916206)'))) / (select extract(epoch from '2026-07-08 06:25:11'::timestamp) - extract(epoch from '2026-07-08 06:25:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823776 -2.916138)', '2026-07-08 06:25:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823686 -2.916206)'), GeomFromEWKT('SRID=4674;POINT (-39.823776 -2.916138)'))) / (select extract(epoch from '2026-07-08 06:25:18'::timestamp) - extract(epoch from '2026-07-08 06:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823686 -2.916206)'), GeomFromEWKT('SRID=4674;POINT (-39.823776 -2.916138)'))) / (select extract(epoch from '2026-07-08 06:25:18'::timestamp) - extract(epoch from '2026-07-08 06:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823912 -2.91612)', '2026-07-08 06:25:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823776 -2.916138)'), GeomFromEWKT('SRID=4674;POINT (-39.823912 -2.91612)'))) / (select extract(epoch from '2026-07-08 06:25:26'::timestamp) - extract(epoch from '2026-07-08 06:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823776 -2.916138)'), GeomFromEWKT('SRID=4674;POINT (-39.823912 -2.91612)'))) / (select extract(epoch from '2026-07-08 06:25:26'::timestamp) - extract(epoch from '2026-07-08 06:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824027 -2.916041)', '2026-07-08 06:25:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823912 -2.91612)'), GeomFromEWKT('SRID=4674;POINT (-39.824027 -2.916041)'))) / (select extract(epoch from '2026-07-08 06:25:34'::timestamp) - extract(epoch from '2026-07-08 06:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823912 -2.91612)'), GeomFromEWKT('SRID=4674;POINT (-39.824027 -2.916041)'))) / (select extract(epoch from '2026-07-08 06:25:34'::timestamp) - extract(epoch from '2026-07-08 06:25:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824101 -2.915891)', '2026-07-08 06:25:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824027 -2.916041)'), GeomFromEWKT('SRID=4674;POINT (-39.824101 -2.915891)'))) / (select extract(epoch from '2026-07-08 06:25:44'::timestamp) - extract(epoch from '2026-07-08 06:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824027 -2.916041)'), GeomFromEWKT('SRID=4674;POINT (-39.824101 -2.915891)'))) / (select extract(epoch from '2026-07-08 06:25:44'::timestamp) - extract(epoch from '2026-07-08 06:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824194 -2.915844)', '2026-07-08 06:25:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824101 -2.915891)'), GeomFromEWKT('SRID=4674;POINT (-39.824194 -2.915844)'))) / (select extract(epoch from '2026-07-08 06:25:51'::timestamp) - extract(epoch from '2026-07-08 06:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824101 -2.915891)'), GeomFromEWKT('SRID=4674;POINT (-39.824194 -2.915844)'))) / (select extract(epoch from '2026-07-08 06:25:51'::timestamp) - extract(epoch from '2026-07-08 06:25:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824336 -2.915815)', '2026-07-08 06:26:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824194 -2.915844)'), GeomFromEWKT('SRID=4674;POINT (-39.824336 -2.915815)'))) / (select extract(epoch from '2026-07-08 06:26:00'::timestamp) - extract(epoch from '2026-07-08 06:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824194 -2.915844)'), GeomFromEWKT('SRID=4674;POINT (-39.824336 -2.915815)'))) / (select extract(epoch from '2026-07-08 06:26:00'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47862, 'SRID=4674;POINT (-39.824409 -2.915727)', '2026-07-08 06:26:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824336 -2.915815)'), GeomFromEWKT('SRID=4674;POINT (-39.824409 -2.915727)'))) / (select extract(epoch from '2026-07-08 06:26:07'::timestamp) - extract(epoch from '2026-07-08 06:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824336 -2.915815)'), GeomFromEWKT('SRID=4674;POINT (-39.824409 -2.915727)'))) / (select extract(epoch from '2026-07-08 06:26:07'::timestamp) - extract(epoch from '2026-07-08 06:26:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82441 -2.915668)', '2026-07-08 06:26:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824409 -2.915727)'), GeomFromEWKT('SRID=4674;POINT (-39.82441 -2.915668)'))) / (select extract(epoch from '2026-07-08 06:26:11'::timestamp) - extract(epoch from '2026-07-08 06:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824409 -2.915727)'), GeomFromEWKT('SRID=4674;POINT (-39.82441 -2.915668)'))) / (select extract(epoch from '2026-07-08 06:26:11'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47862, 'SRID=4674;POINT (-39.824396 -2.915647)', '2026-07-08 06:26:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82441 -2.915668)'), GeomFromEWKT('SRID=4674;POINT (-39.824396 -2.915647)'))) / (select extract(epoch from '2026-07-08 06:26:13'::timestamp) - extract(epoch from '2026-07-08 06:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82441 -2.915668)'), GeomFromEWKT('SRID=4674;POINT (-39.824396 -2.915647)'))) / (select extract(epoch from '2026-07-08 06:26:13'::timestamp) - extract(epoch from '2026-07-08 06:26:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824341 -2.915609)', '2026-07-08 06:26:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824396 -2.915647)'), GeomFromEWKT('SRID=4674;POINT (-39.824341 -2.915609)'))) / (select extract(epoch from '2026-07-08 06:26:21'::timestamp) - extract(epoch from '2026-07-08 06:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824396 -2.915647)'), GeomFromEWKT('SRID=4674;POINT (-39.824341 -2.915609)'))) / (select extract(epoch from '2026-07-08 06:26:21'::timestamp) - extract(epoch from '2026-07-08 06:26:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82427 -2.9156)', '2026-07-08 06:26:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824341 -2.915609)'), GeomFromEWKT('SRID=4674;POINT (-39.82427 -2.9156)'))) / (select extract(epoch from '2026-07-08 06:26:35'::timestamp) - extract(epoch from '2026-07-08 06:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824341 -2.915609)'), GeomFromEWKT('SRID=4674;POINT (-39.82427 -2.9156)'))) / (select extract(epoch from '2026-07-08 06:26:35'::timestamp) - extract(epoch from '2026-07-08 06:26:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824211 -2.915604)', '2026-07-08 06:26:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82427 -2.9156)'), GeomFromEWKT('SRID=4674;POINT (-39.824211 -2.915604)'))) / (select extract(epoch from '2026-07-08 06:26:47'::timestamp) - extract(epoch from '2026-07-08 06:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82427 -2.9156)'), GeomFromEWKT('SRID=4674;POINT (-39.824211 -2.915604)'))) / (select extract(epoch from '2026-07-08 06:26:47'::timestamp) - extract(epoch from '2026-07-08 06:26:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824173 -2.915617)', '2026-07-08 06:27:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824211 -2.915604)'), GeomFromEWKT('SRID=4674;POINT (-39.824173 -2.915617)'))) / (select extract(epoch from '2026-07-08 06:27:00'::timestamp) - extract(epoch from '2026-07-08 06:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824211 -2.915604)'), GeomFromEWKT('SRID=4674;POINT (-39.824173 -2.915617)'))) / (select extract(epoch from '2026-07-08 06:27:00'::timestamp) - extract(epoch from '2026-07-08 06:26:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824181 -2.9156)', '2026-07-08 06:27:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824173 -2.915617)'), GeomFromEWKT('SRID=4674;POINT (-39.824181 -2.9156)'))) / (select extract(epoch from '2026-07-08 06:27:08'::timestamp) - extract(epoch from '2026-07-08 06:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824173 -2.915617)'), GeomFromEWKT('SRID=4674;POINT (-39.824181 -2.9156)'))) / (select extract(epoch from '2026-07-08 06:27:08'::timestamp) - extract(epoch from '2026-07-08 06:27:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824196 -2.915547)', '2026-07-08 06:27:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824181 -2.9156)'), GeomFromEWKT('SRID=4674;POINT (-39.824196 -2.915547)'))) / (select extract(epoch from '2026-07-08 06:27:19'::timestamp) - extract(epoch from '2026-07-08 06:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824181 -2.9156)'), GeomFromEWKT('SRID=4674;POINT (-39.824196 -2.915547)'))) / (select extract(epoch from '2026-07-08 06:27:19'::timestamp) - extract(epoch from '2026-07-08 06:27:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824238 -2.915451)', '2026-07-08 06:27:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824196 -2.915547)'), GeomFromEWKT('SRID=4674;POINT (-39.824238 -2.915451)'))) / (select extract(epoch from '2026-07-08 06:27:27'::timestamp) - extract(epoch from '2026-07-08 06:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824196 -2.915547)'), GeomFromEWKT('SRID=4674;POINT (-39.824238 -2.915451)'))) / (select extract(epoch from '2026-07-08 06:27:27'::timestamp) - extract(epoch from '2026-07-08 06:27:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824326 -2.915287)', '2026-07-08 06:27:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824238 -2.915451)'), GeomFromEWKT('SRID=4674;POINT (-39.824326 -2.915287)'))) / (select extract(epoch from '2026-07-08 06:27:37'::timestamp) - extract(epoch from '2026-07-08 06:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824238 -2.915451)'), GeomFromEWKT('SRID=4674;POINT (-39.824326 -2.915287)'))) / (select extract(epoch from '2026-07-08 06:27:37'::timestamp) - extract(epoch from '2026-07-08 06:27:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824351 -2.915132)', '2026-07-08 06:27:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824326 -2.915287)'), GeomFromEWKT('SRID=4674;POINT (-39.824351 -2.915132)'))) / (select extract(epoch from '2026-07-08 06:27:45'::timestamp) - extract(epoch from '2026-07-08 06:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824326 -2.915287)'), GeomFromEWKT('SRID=4674;POINT (-39.824351 -2.915132)'))) / (select extract(epoch from '2026-07-08 06:27:45'::timestamp) - extract(epoch from '2026-07-08 06:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824422 -2.915015)', '2026-07-08 06:27:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824351 -2.915132)'), GeomFromEWKT('SRID=4674;POINT (-39.824422 -2.915015)'))) / (select extract(epoch from '2026-07-08 06:27:53'::timestamp) - extract(epoch from '2026-07-08 06:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824351 -2.915132)'), GeomFromEWKT('SRID=4674;POINT (-39.824422 -2.915015)'))) / (select extract(epoch from '2026-07-08 06:27:53'::timestamp) - extract(epoch from '2026-07-08 06:27:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824532 -2.91495)', '2026-07-08 06:28:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824422 -2.915015)'), GeomFromEWKT('SRID=4674;POINT (-39.824532 -2.91495)'))) / (select extract(epoch from '2026-07-08 06:28:00'::timestamp) - extract(epoch from '2026-07-08 06:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824422 -2.915015)'), GeomFromEWKT('SRID=4674;POINT (-39.824532 -2.91495)'))) / (select extract(epoch from '2026-07-08 06:28:00'::timestamp) - extract(epoch from '2026-07-08 06:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82464 -2.914854)', '2026-07-08 06:28:07', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824532 -2.91495)'), GeomFromEWKT('SRID=4674;POINT (-39.82464 -2.914854)'))) / (select extract(epoch from '2026-07-08 06:28:07'::timestamp) - extract(epoch from '2026-07-08 06:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824532 -2.91495)'), GeomFromEWKT('SRID=4674;POINT (-39.82464 -2.914854)'))) / (select extract(epoch from '2026-07-08 06:28:07'::timestamp) - extract(epoch from '2026-07-08 06:28:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824709 -2.914706)', '2026-07-08 06:28:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82464 -2.914854)'), GeomFromEWKT('SRID=4674;POINT (-39.824709 -2.914706)'))) / (select extract(epoch from '2026-07-08 06:28:15'::timestamp) - extract(epoch from '2026-07-08 06:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82464 -2.914854)'), GeomFromEWKT('SRID=4674;POINT (-39.824709 -2.914706)'))) / (select extract(epoch from '2026-07-08 06:28:15'::timestamp) - extract(epoch from '2026-07-08 06:28:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824795 -2.914579)', '2026-07-08 06:28:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824709 -2.914706)'), GeomFromEWKT('SRID=4674;POINT (-39.824795 -2.914579)'))) / (select extract(epoch from '2026-07-08 06:28:23'::timestamp) - extract(epoch from '2026-07-08 06:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824709 -2.914706)'), GeomFromEWKT('SRID=4674;POINT (-39.824795 -2.914579)'))) / (select extract(epoch from '2026-07-08 06:28:23'::timestamp) - extract(epoch from '2026-07-08 06:28:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82492 -2.914432)', '2026-07-08 06:28:33', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824795 -2.914579)'), GeomFromEWKT('SRID=4674;POINT (-39.82492 -2.914432)'))) / (select extract(epoch from '2026-07-08 06:28:33'::timestamp) - extract(epoch from '2026-07-08 06:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824795 -2.914579)'), GeomFromEWKT('SRID=4674;POINT (-39.82492 -2.914432)'))) / (select extract(epoch from '2026-07-08 06:28:33'::timestamp) - extract(epoch from '2026-07-08 06:28:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824978 -2.914283)', '2026-07-08 06:28:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82492 -2.914432)'), GeomFromEWKT('SRID=4674;POINT (-39.824978 -2.914283)'))) / (select extract(epoch from '2026-07-08 06:28:41'::timestamp) - extract(epoch from '2026-07-08 06:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82492 -2.914432)'), GeomFromEWKT('SRID=4674;POINT (-39.824978 -2.914283)'))) / (select extract(epoch from '2026-07-08 06:28:41'::timestamp) - extract(epoch from '2026-07-08 06:28:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825049 -2.914114)', '2026-07-08 06:28:50', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824978 -2.914283)'), GeomFromEWKT('SRID=4674;POINT (-39.825049 -2.914114)'))) / (select extract(epoch from '2026-07-08 06:28:50'::timestamp) - extract(epoch from '2026-07-08 06:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824978 -2.914283)'), GeomFromEWKT('SRID=4674;POINT (-39.825049 -2.914114)'))) / (select extract(epoch from '2026-07-08 06:28:50'::timestamp) - extract(epoch from '2026-07-08 06:28:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825107 -2.913962)', '2026-07-08 06:28:58', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825049 -2.914114)'), GeomFromEWKT('SRID=4674;POINT (-39.825107 -2.913962)'))) / (select extract(epoch from '2026-07-08 06:28:58'::timestamp) - extract(epoch from '2026-07-08 06:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825049 -2.914114)'), GeomFromEWKT('SRID=4674;POINT (-39.825107 -2.913962)'))) / (select extract(epoch from '2026-07-08 06:28:58'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47862, 'SRID=4674;POINT (-39.825148 -2.913811)', '2026-07-08 06:29:06', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825107 -2.913962)'), GeomFromEWKT('SRID=4674;POINT (-39.825148 -2.913811)'))) / (select extract(epoch from '2026-07-08 06:29:06'::timestamp) - extract(epoch from '2026-07-08 06:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825107 -2.913962)'), GeomFromEWKT('SRID=4674;POINT (-39.825148 -2.913811)'))) / (select extract(epoch from '2026-07-08 06:29:06'::timestamp) - extract(epoch from '2026-07-08 06:28:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82524 -2.913698)', '2026-07-08 06:29:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825148 -2.913811)'), GeomFromEWKT('SRID=4674;POINT (-39.82524 -2.913698)'))) / (select extract(epoch from '2026-07-08 06:29:14'::timestamp) - extract(epoch from '2026-07-08 06:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825148 -2.913811)'), GeomFromEWKT('SRID=4674;POINT (-39.82524 -2.913698)'))) / (select extract(epoch from '2026-07-08 06:29:14'::timestamp) - extract(epoch from '2026-07-08 06:29:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825329 -2.913572)', '2026-07-08 06:29:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82524 -2.913698)'), GeomFromEWKT('SRID=4674;POINT (-39.825329 -2.913572)'))) / (select extract(epoch from '2026-07-08 06:29:22'::timestamp) - extract(epoch from '2026-07-08 06:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82524 -2.913698)'), GeomFromEWKT('SRID=4674;POINT (-39.825329 -2.913572)'))) / (select extract(epoch from '2026-07-08 06:29:22'::timestamp) - extract(epoch from '2026-07-08 06:29:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825368 -2.91345)', '2026-07-08 06:29:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825329 -2.913572)'), GeomFromEWKT('SRID=4674;POINT (-39.825368 -2.91345)'))) / (select extract(epoch from '2026-07-08 06:29:28'::timestamp) - extract(epoch from '2026-07-08 06:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825329 -2.913572)'), GeomFromEWKT('SRID=4674;POINT (-39.825368 -2.91345)'))) / (select extract(epoch from '2026-07-08 06:29:28'::timestamp) - extract(epoch from '2026-07-08 06:29:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825418 -2.913336)', '2026-07-08 06:29:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825368 -2.91345)'), GeomFromEWKT('SRID=4674;POINT (-39.825418 -2.913336)'))) / (select extract(epoch from '2026-07-08 06:29:34'::timestamp) - extract(epoch from '2026-07-08 06:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825368 -2.91345)'), GeomFromEWKT('SRID=4674;POINT (-39.825418 -2.913336)'))) / (select extract(epoch from '2026-07-08 06:29:34'::timestamp) - extract(epoch from '2026-07-08 06:29:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825515 -2.913238)', '2026-07-08 06:29:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825418 -2.913336)'), GeomFromEWKT('SRID=4674;POINT (-39.825515 -2.913238)'))) / (select extract(epoch from '2026-07-08 06:29:41'::timestamp) - extract(epoch from '2026-07-08 06:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825418 -2.913336)'), GeomFromEWKT('SRID=4674;POINT (-39.825515 -2.913238)'))) / (select extract(epoch from '2026-07-08 06:29:41'::timestamp) - extract(epoch from '2026-07-08 06:29:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825591 -2.913088)', '2026-07-08 06:29:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825515 -2.913238)'), GeomFromEWKT('SRID=4674;POINT (-39.825591 -2.913088)'))) / (select extract(epoch from '2026-07-08 06:29:49'::timestamp) - extract(epoch from '2026-07-08 06:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825515 -2.913238)'), GeomFromEWKT('SRID=4674;POINT (-39.825591 -2.913088)'))) / (select extract(epoch from '2026-07-08 06:29:49'::timestamp) - extract(epoch from '2026-07-08 06:29:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825615 -2.912941)', '2026-07-08 06:29:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825591 -2.913088)'), GeomFromEWKT('SRID=4674;POINT (-39.825615 -2.912941)'))) / (select extract(epoch from '2026-07-08 06:29:56'::timestamp) - extract(epoch from '2026-07-08 06:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825591 -2.913088)'), GeomFromEWKT('SRID=4674;POINT (-39.825615 -2.912941)'))) / (select extract(epoch from '2026-07-08 06:29:56'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47862, 'SRID=4674;POINT (-39.825684 -2.912839)', '2026-07-08 06:30:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825615 -2.912941)'), GeomFromEWKT('SRID=4674;POINT (-39.825684 -2.912839)'))) / (select extract(epoch from '2026-07-08 06:30:02'::timestamp) - extract(epoch from '2026-07-08 06:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825615 -2.912941)'), GeomFromEWKT('SRID=4674;POINT (-39.825684 -2.912839)'))) / (select extract(epoch from '2026-07-08 06:30:02'::timestamp) - extract(epoch from '2026-07-08 06:29:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825804 -2.912708)', '2026-07-08 06:30:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825684 -2.912839)'), GeomFromEWKT('SRID=4674;POINT (-39.825804 -2.912708)'))) / (select extract(epoch from '2026-07-08 06:30:10'::timestamp) - extract(epoch from '2026-07-08 06:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825684 -2.912839)'), GeomFromEWKT('SRID=4674;POINT (-39.825804 -2.912708)'))) / (select extract(epoch from '2026-07-08 06:30:10'::timestamp) - extract(epoch from '2026-07-08 06:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825861 -2.912561)', '2026-07-08 06:30:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825804 -2.912708)'), GeomFromEWKT('SRID=4674;POINT (-39.825861 -2.912561)'))) / (select extract(epoch from '2026-07-08 06:30:17'::timestamp) - extract(epoch from '2026-07-08 06:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825804 -2.912708)'), GeomFromEWKT('SRID=4674;POINT (-39.825861 -2.912561)'))) / (select extract(epoch from '2026-07-08 06:30:17'::timestamp) - extract(epoch from '2026-07-08 06:30:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825913 -2.912395)', '2026-07-08 06:30:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825861 -2.912561)'), GeomFromEWKT('SRID=4674;POINT (-39.825913 -2.912395)'))) / (select extract(epoch from '2026-07-08 06:30:25'::timestamp) - extract(epoch from '2026-07-08 06:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825861 -2.912561)'), GeomFromEWKT('SRID=4674;POINT (-39.825913 -2.912395)'))) / (select extract(epoch from '2026-07-08 06:30:25'::timestamp) - extract(epoch from '2026-07-08 06:30:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82601 -2.91224)', '2026-07-08 06:30:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825913 -2.912395)'), GeomFromEWKT('SRID=4674;POINT (-39.82601 -2.91224)'))) / (select extract(epoch from '2026-07-08 06:30:33'::timestamp) - extract(epoch from '2026-07-08 06:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825913 -2.912395)'), GeomFromEWKT('SRID=4674;POINT (-39.82601 -2.91224)'))) / (select extract(epoch from '2026-07-08 06:30:33'::timestamp) - extract(epoch from '2026-07-08 06:30:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826082 -2.912103)', '2026-07-08 06:30:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82601 -2.91224)'), GeomFromEWKT('SRID=4674;POINT (-39.826082 -2.912103)'))) / (select extract(epoch from '2026-07-08 06:30:40'::timestamp) - extract(epoch from '2026-07-08 06:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82601 -2.91224)'), GeomFromEWKT('SRID=4674;POINT (-39.826082 -2.912103)'))) / (select extract(epoch from '2026-07-08 06:30:40'::timestamp) - extract(epoch from '2026-07-08 06:30:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826135 -2.91196)', '2026-07-08 06:30:47', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826082 -2.912103)'), GeomFromEWKT('SRID=4674;POINT (-39.826135 -2.91196)'))) / (select extract(epoch from '2026-07-08 06:30:47'::timestamp) - extract(epoch from '2026-07-08 06:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826082 -2.912103)'), GeomFromEWKT('SRID=4674;POINT (-39.826135 -2.91196)'))) / (select extract(epoch from '2026-07-08 06:30:47'::timestamp) - extract(epoch from '2026-07-08 06: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'), 47862, 'SRID=4674;POINT (-39.82615 -2.911899)', '2026-07-08 06:30:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826135 -2.91196)'), GeomFromEWKT('SRID=4674;POINT (-39.82615 -2.911899)'))) / (select extract(epoch from '2026-07-08 06:30:51'::timestamp) - extract(epoch from '2026-07-08 06:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826135 -2.91196)'), GeomFromEWKT('SRID=4674;POINT (-39.82615 -2.911899)'))) / (select extract(epoch from '2026-07-08 06:30:51'::timestamp) - extract(epoch from '2026-07-08 06:30:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.828544 -2.872725)', '2026-07-08 07:15:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82615 -2.911899)'), GeomFromEWKT('SRID=4674;POINT (-39.828544 -2.872725)'))) / (select extract(epoch from '2026-07-08 07:15:09'::timestamp) - extract(epoch from '2026-07-08 06:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82615 -2.911899)'), GeomFromEWKT('SRID=4674;POINT (-39.828544 -2.872725)'))) / (select extract(epoch from '2026-07-08 07:15:09'::timestamp) - extract(epoch from '2026-07-08 06:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.828518 -2.872715)', '2026-07-08 07:15:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828544 -2.872725)'), GeomFromEWKT('SRID=4674;POINT (-39.828518 -2.872715)'))) / (select extract(epoch from '2026-07-08 07:15:10'::timestamp) - extract(epoch from '2026-07-08 07:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828544 -2.872725)'), GeomFromEWKT('SRID=4674;POINT (-39.828518 -2.872715)'))) / (select extract(epoch from '2026-07-08 07:15:10'::timestamp) - extract(epoch from '2026-07-08 07:15:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.828464 -2.872664)', '2026-07-08 07:15:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828518 -2.872715)'), GeomFromEWKT('SRID=4674;POINT (-39.828464 -2.872664)'))) / (select extract(epoch from '2026-07-08 07:15:15'::timestamp) - extract(epoch from '2026-07-08 07:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828518 -2.872715)'), GeomFromEWKT('SRID=4674;POINT (-39.828464 -2.872664)'))) / (select extract(epoch from '2026-07-08 07:15:15'::timestamp) - extract(epoch from '2026-07-08 07:15:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.828431 -2.872597)', '2026-07-08 07:15:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828464 -2.872664)'), GeomFromEWKT('SRID=4674;POINT (-39.828431 -2.872597)'))) / (select extract(epoch from '2026-07-08 07:15:21'::timestamp) - extract(epoch from '2026-07-08 07:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828464 -2.872664)'), GeomFromEWKT('SRID=4674;POINT (-39.828431 -2.872597)'))) / (select extract(epoch from '2026-07-08 07:15:21'::timestamp) - extract(epoch from '2026-07-08 07:15:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.828408 -2.87256)', '2026-07-08 07:15:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828431 -2.872597)'), GeomFromEWKT('SRID=4674;POINT (-39.828408 -2.87256)'))) / (select extract(epoch from '2026-07-08 07:15:25'::timestamp) - extract(epoch from '2026-07-08 07:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828431 -2.872597)'), GeomFromEWKT('SRID=4674;POINT (-39.828408 -2.87256)'))) / (select extract(epoch from '2026-07-08 07:15:25'::timestamp) - extract(epoch from '2026-07-08 07:15:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826154 -2.867758)', '2026-07-08 07:21:55', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828408 -2.87256)'), GeomFromEWKT('SRID=4674;POINT (-39.826154 -2.867758)'))) / (select extract(epoch from '2026-07-08 07:21:55'::timestamp) - extract(epoch from '2026-07-08 07:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.828408 -2.87256)'), GeomFromEWKT('SRID=4674;POINT (-39.826154 -2.867758)'))) / (select extract(epoch from '2026-07-08 07:21:55'::timestamp) - extract(epoch from '2026-07-08 07:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826138 -2.867782)', '2026-07-08 07:21:56', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826154 -2.867758)'), GeomFromEWKT('SRID=4674;POINT (-39.826138 -2.867782)'))) / (select extract(epoch from '2026-07-08 07:21:56'::timestamp) - extract(epoch from '2026-07-08 07:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826154 -2.867758)'), GeomFromEWKT('SRID=4674;POINT (-39.826138 -2.867782)'))) / (select extract(epoch from '2026-07-08 07:21:56'::timestamp) - extract(epoch from '2026-07-08 07:21:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826157 -2.867834)', '2026-07-08 07:22:00', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826138 -2.867782)'), GeomFromEWKT('SRID=4674;POINT (-39.826157 -2.867834)'))) / (select extract(epoch from '2026-07-08 07:22:00'::timestamp) - extract(epoch from '2026-07-08 07:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826138 -2.867782)'), GeomFromEWKT('SRID=4674;POINT (-39.826157 -2.867834)'))) / (select extract(epoch from '2026-07-08 07:22:00'::timestamp) - extract(epoch from '2026-07-08 07:21:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826155 -2.867847)', '2026-07-08 07:22:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826157 -2.867834)'), GeomFromEWKT('SRID=4674;POINT (-39.826155 -2.867847)'))) / (select extract(epoch from '2026-07-08 07:22:01'::timestamp) - extract(epoch from '2026-07-08 07:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826157 -2.867834)'), GeomFromEWKT('SRID=4674;POINT (-39.826155 -2.867847)'))) / (select extract(epoch from '2026-07-08 07:22:01'::timestamp) - extract(epoch from '2026-07-08 07:22:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826121 -2.867897)', '2026-07-08 07:22:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826155 -2.867847)'), GeomFromEWKT('SRID=4674;POINT (-39.826121 -2.867897)'))) / (select extract(epoch from '2026-07-08 07:22:07'::timestamp) - extract(epoch from '2026-07-08 07:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826155 -2.867847)'), GeomFromEWKT('SRID=4674;POINT (-39.826121 -2.867897)'))) / (select extract(epoch from '2026-07-08 07:22:07'::timestamp) - extract(epoch from '2026-07-08 07:22:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826061 -2.86794)', '2026-07-08 07:22:13', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826121 -2.867897)'), GeomFromEWKT('SRID=4674;POINT (-39.826061 -2.86794)'))) / (select extract(epoch from '2026-07-08 07:22:13'::timestamp) - extract(epoch from '2026-07-08 07:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826121 -2.867897)'), GeomFromEWKT('SRID=4674;POINT (-39.826061 -2.86794)'))) / (select extract(epoch from '2026-07-08 07:22:13'::timestamp) - extract(epoch from '2026-07-08 07:22:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825973 -2.86799)', '2026-07-08 07:22:21', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826061 -2.86794)'), GeomFromEWKT('SRID=4674;POINT (-39.825973 -2.86799)'))) / (select extract(epoch from '2026-07-08 07:22:21'::timestamp) - extract(epoch from '2026-07-08 07:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826061 -2.86794)'), GeomFromEWKT('SRID=4674;POINT (-39.825973 -2.86799)'))) / (select extract(epoch from '2026-07-08 07:22:21'::timestamp) - extract(epoch from '2026-07-08 07:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.8259 -2.868071)', '2026-07-08 07:22:29', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825973 -2.86799)'), GeomFromEWKT('SRID=4674;POINT (-39.8259 -2.868071)'))) / (select extract(epoch from '2026-07-08 07:22:29'::timestamp) - extract(epoch from '2026-07-08 07:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825973 -2.86799)'), GeomFromEWKT('SRID=4674;POINT (-39.8259 -2.868071)'))) / (select extract(epoch from '2026-07-08 07:22:29'::timestamp) - extract(epoch from '2026-07-08 07:22:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825872 -2.868171)', '2026-07-08 07:22:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8259 -2.868071)'), GeomFromEWKT('SRID=4674;POINT (-39.825872 -2.868171)'))) / (select extract(epoch from '2026-07-08 07:22:36'::timestamp) - extract(epoch from '2026-07-08 07:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8259 -2.868071)'), GeomFromEWKT('SRID=4674;POINT (-39.825872 -2.868171)'))) / (select extract(epoch from '2026-07-08 07:22:36'::timestamp) - extract(epoch from '2026-07-08 07:22:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82584 -2.86829)', '2026-07-08 07:22:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825872 -2.868171)'), GeomFromEWKT('SRID=4674;POINT (-39.82584 -2.86829)'))) / (select extract(epoch from '2026-07-08 07:22:44'::timestamp) - extract(epoch from '2026-07-08 07:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825872 -2.868171)'), GeomFromEWKT('SRID=4674;POINT (-39.82584 -2.86829)'))) / (select extract(epoch from '2026-07-08 07:22:44'::timestamp) - extract(epoch from '2026-07-08 07:22:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825805 -2.868426)', '2026-07-08 07:22:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82584 -2.86829)'), GeomFromEWKT('SRID=4674;POINT (-39.825805 -2.868426)'))) / (select extract(epoch from '2026-07-08 07:22:53'::timestamp) - extract(epoch from '2026-07-08 07:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82584 -2.86829)'), GeomFromEWKT('SRID=4674;POINT (-39.825805 -2.868426)'))) / (select extract(epoch from '2026-07-08 07:22:53'::timestamp) - extract(epoch from '2026-07-08 07:22:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825848 -2.868545)', '2026-07-08 07:23:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825805 -2.868426)'), GeomFromEWKT('SRID=4674;POINT (-39.825848 -2.868545)'))) / (select extract(epoch from '2026-07-08 07:23:00'::timestamp) - extract(epoch from '2026-07-08 07:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825805 -2.868426)'), GeomFromEWKT('SRID=4674;POINT (-39.825848 -2.868545)'))) / (select extract(epoch from '2026-07-08 07:23:00'::timestamp) - extract(epoch from '2026-07-08 07:22:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825862 -2.868683)', '2026-07-08 07:23:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825848 -2.868545)'), GeomFromEWKT('SRID=4674;POINT (-39.825862 -2.868683)'))) / (select extract(epoch from '2026-07-08 07:23:08'::timestamp) - extract(epoch from '2026-07-08 07:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825848 -2.868545)'), GeomFromEWKT('SRID=4674;POINT (-39.825862 -2.868683)'))) / (select extract(epoch from '2026-07-08 07:23:08'::timestamp) - extract(epoch from '2026-07-08 07:23:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825877 -2.868801)', '2026-07-08 07:23:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825862 -2.868683)'), GeomFromEWKT('SRID=4674;POINT (-39.825877 -2.868801)'))) / (select extract(epoch from '2026-07-08 07:23:15'::timestamp) - extract(epoch from '2026-07-08 07:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825862 -2.868683)'), GeomFromEWKT('SRID=4674;POINT (-39.825877 -2.868801)'))) / (select extract(epoch from '2026-07-08 07:23:15'::timestamp) - extract(epoch from '2026-07-08 07:23:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825947 -2.868903)', '2026-07-08 07:23:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825877 -2.868801)'), GeomFromEWKT('SRID=4674;POINT (-39.825947 -2.868903)'))) / (select extract(epoch from '2026-07-08 07:23:22'::timestamp) - extract(epoch from '2026-07-08 07:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825877 -2.868801)'), GeomFromEWKT('SRID=4674;POINT (-39.825947 -2.868903)'))) / (select extract(epoch from '2026-07-08 07:23:22'::timestamp) - extract(epoch from '2026-07-08 07:23:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826048 -2.869019)', '2026-07-08 07:23:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825947 -2.868903)'), GeomFromEWKT('SRID=4674;POINT (-39.826048 -2.869019)'))) / (select extract(epoch from '2026-07-08 07:23:30'::timestamp) - extract(epoch from '2026-07-08 07:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825947 -2.868903)'), GeomFromEWKT('SRID=4674;POINT (-39.826048 -2.869019)'))) / (select extract(epoch from '2026-07-08 07:23:30'::timestamp) - extract(epoch from '2026-07-08 07:23:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826052 -2.869108)', '2026-07-08 07:23:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826048 -2.869019)'), GeomFromEWKT('SRID=4674;POINT (-39.826052 -2.869108)'))) / (select extract(epoch from '2026-07-08 07:23:36'::timestamp) - extract(epoch from '2026-07-08 07:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826048 -2.869019)'), GeomFromEWKT('SRID=4674;POINT (-39.826052 -2.869108)'))) / (select extract(epoch from '2026-07-08 07:23:36'::timestamp) - extract(epoch from '2026-07-08 07:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826058 -2.869201)', '2026-07-08 07:23:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826052 -2.869108)'), GeomFromEWKT('SRID=4674;POINT (-39.826058 -2.869201)'))) / (select extract(epoch from '2026-07-08 07:23:42'::timestamp) - extract(epoch from '2026-07-08 07:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826052 -2.869108)'), GeomFromEWKT('SRID=4674;POINT (-39.826058 -2.869201)'))) / (select extract(epoch from '2026-07-08 07:23:42'::timestamp) - extract(epoch from '2026-07-08 07:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826103 -2.869337)', '2026-07-08 07:23:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826058 -2.869201)'), GeomFromEWKT('SRID=4674;POINT (-39.826103 -2.869337)'))) / (select extract(epoch from '2026-07-08 07:23:50'::timestamp) - extract(epoch from '2026-07-08 07:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826058 -2.869201)'), GeomFromEWKT('SRID=4674;POINT (-39.826103 -2.869337)'))) / (select extract(epoch from '2026-07-08 07:23:50'::timestamp) - extract(epoch from '2026-07-08 07:23:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826122 -2.869471)', '2026-07-08 07:23:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826103 -2.869337)'), GeomFromEWKT('SRID=4674;POINT (-39.826122 -2.869471)'))) / (select extract(epoch from '2026-07-08 07:23:58'::timestamp) - extract(epoch from '2026-07-08 07:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826103 -2.869337)'), GeomFromEWKT('SRID=4674;POINT (-39.826122 -2.869471)'))) / (select extract(epoch from '2026-07-08 07:23:58'::timestamp) - extract(epoch from '2026-07-08 07:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826107 -2.869621)', '2026-07-08 07:24:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826122 -2.869471)'), GeomFromEWKT('SRID=4674;POINT (-39.826107 -2.869621)'))) / (select extract(epoch from '2026-07-08 07:24:07'::timestamp) - extract(epoch from '2026-07-08 07:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826122 -2.869471)'), GeomFromEWKT('SRID=4674;POINT (-39.826107 -2.869621)'))) / (select extract(epoch from '2026-07-08 07:24:07'::timestamp) - extract(epoch from '2026-07-08 07:23:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826069 -2.869749)', '2026-07-08 07:24:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826107 -2.869621)'), GeomFromEWKT('SRID=4674;POINT (-39.826069 -2.869749)'))) / (select extract(epoch from '2026-07-08 07:24:15'::timestamp) - extract(epoch from '2026-07-08 07:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826107 -2.869621)'), GeomFromEWKT('SRID=4674;POINT (-39.826069 -2.869749)'))) / (select extract(epoch from '2026-07-08 07:24:15'::timestamp) - extract(epoch from '2026-07-08 07:24:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826063 -2.869762)', '2026-07-08 07:24:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826069 -2.869749)'), GeomFromEWKT('SRID=4674;POINT (-39.826063 -2.869762)'))) / (select extract(epoch from '2026-07-08 07:24:16'::timestamp) - extract(epoch from '2026-07-08 07:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826069 -2.869749)'), GeomFromEWKT('SRID=4674;POINT (-39.826063 -2.869762)'))) / (select extract(epoch from '2026-07-08 07:24:16'::timestamp) - extract(epoch from '2026-07-08 07:24:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826029 -2.869827)', '2026-07-08 07:24:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826063 -2.869762)'), GeomFromEWKT('SRID=4674;POINT (-39.826029 -2.869827)'))) / (select extract(epoch from '2026-07-08 07:24:21'::timestamp) - extract(epoch from '2026-07-08 07:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826063 -2.869762)'), GeomFromEWKT('SRID=4674;POINT (-39.826029 -2.869827)'))) / (select extract(epoch from '2026-07-08 07:24:21'::timestamp) - extract(epoch from '2026-07-08 07:24:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825986 -2.869879)', '2026-07-08 07:24:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826029 -2.869827)'), GeomFromEWKT('SRID=4674;POINT (-39.825986 -2.869879)'))) / (select extract(epoch from '2026-07-08 07:24:26'::timestamp) - extract(epoch from '2026-07-08 07:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826029 -2.869827)'), GeomFromEWKT('SRID=4674;POINT (-39.825986 -2.869879)'))) / (select extract(epoch from '2026-07-08 07:24:26'::timestamp) - extract(epoch from '2026-07-08 07:24:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825933 -2.869939)', '2026-07-08 07:24:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825986 -2.869879)'), GeomFromEWKT('SRID=4674;POINT (-39.825933 -2.869939)'))) / (select extract(epoch from '2026-07-08 07:24:32'::timestamp) - extract(epoch from '2026-07-08 07:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825986 -2.869879)'), GeomFromEWKT('SRID=4674;POINT (-39.825933 -2.869939)'))) / (select extract(epoch from '2026-07-08 07:24:32'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.825874 -2.870047)', '2026-07-08 07:24:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825933 -2.869939)'), GeomFromEWKT('SRID=4674;POINT (-39.825874 -2.870047)'))) / (select extract(epoch from '2026-07-08 07:24:40'::timestamp) - extract(epoch from '2026-07-08 07:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825933 -2.869939)'), GeomFromEWKT('SRID=4674;POINT (-39.825874 -2.870047)'))) / (select extract(epoch from '2026-07-08 07:24:40'::timestamp) - extract(epoch from '2026-07-08 07:24:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825829 -2.870144)', '2026-07-08 07:24:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825874 -2.870047)'), GeomFromEWKT('SRID=4674;POINT (-39.825829 -2.870144)'))) / (select extract(epoch from '2026-07-08 07:24:47'::timestamp) - extract(epoch from '2026-07-08 07:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825874 -2.870047)'), GeomFromEWKT('SRID=4674;POINT (-39.825829 -2.870144)'))) / (select extract(epoch from '2026-07-08 07:24:47'::timestamp) - extract(epoch from '2026-07-08 07:24:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825758 -2.870246)', '2026-07-08 07:24:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825829 -2.870144)'), GeomFromEWKT('SRID=4674;POINT (-39.825758 -2.870246)'))) / (select extract(epoch from '2026-07-08 07:24:55'::timestamp) - extract(epoch from '2026-07-08 07:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825829 -2.870144)'), GeomFromEWKT('SRID=4674;POINT (-39.825758 -2.870246)'))) / (select extract(epoch from '2026-07-08 07:24:55'::timestamp) - extract(epoch from '2026-07-08 07:24:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825707 -2.87035)', '2026-07-08 07:25:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825758 -2.870246)'), GeomFromEWKT('SRID=4674;POINT (-39.825707 -2.87035)'))) / (select extract(epoch from '2026-07-08 07:25:02'::timestamp) - extract(epoch from '2026-07-08 07:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825758 -2.870246)'), GeomFromEWKT('SRID=4674;POINT (-39.825707 -2.87035)'))) / (select extract(epoch from '2026-07-08 07:25:02'::timestamp) - extract(epoch from '2026-07-08 07:24:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825739 -2.870465)', '2026-07-08 07:25:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825707 -2.87035)'), GeomFromEWKT('SRID=4674;POINT (-39.825739 -2.870465)'))) / (select extract(epoch from '2026-07-08 07:25:09'::timestamp) - extract(epoch from '2026-07-08 07:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825707 -2.87035)'), GeomFromEWKT('SRID=4674;POINT (-39.825739 -2.870465)'))) / (select extract(epoch from '2026-07-08 07:25:09'::timestamp) - extract(epoch from '2026-07-08 07:25:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825736 -2.870564)', '2026-07-08 07:25:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825739 -2.870465)'), GeomFromEWKT('SRID=4674;POINT (-39.825736 -2.870564)'))) / (select extract(epoch from '2026-07-08 07:25:16'::timestamp) - extract(epoch from '2026-07-08 07:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825739 -2.870465)'), GeomFromEWKT('SRID=4674;POINT (-39.825736 -2.870564)'))) / (select extract(epoch from '2026-07-08 07:25:16'::timestamp) - extract(epoch from '2026-07-08 07:25:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825679 -2.870619)', '2026-07-08 07:25:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825736 -2.870564)'), GeomFromEWKT('SRID=4674;POINT (-39.825679 -2.870619)'))) / (select extract(epoch from '2026-07-08 07:25:23'::timestamp) - extract(epoch from '2026-07-08 07:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825736 -2.870564)'), GeomFromEWKT('SRID=4674;POINT (-39.825679 -2.870619)'))) / (select extract(epoch from '2026-07-08 07:25:23'::timestamp) - extract(epoch from '2026-07-08 07:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825651 -2.870656)', '2026-07-08 07:25:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825679 -2.870619)'), GeomFromEWKT('SRID=4674;POINT (-39.825651 -2.870656)'))) / (select extract(epoch from '2026-07-08 07:25:26'::timestamp) - extract(epoch from '2026-07-08 07:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825679 -2.870619)'), GeomFromEWKT('SRID=4674;POINT (-39.825651 -2.870656)'))) / (select extract(epoch from '2026-07-08 07:25:26'::timestamp) - extract(epoch from '2026-07-08 07:25:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825628 -2.870698)', '2026-07-08 07:25:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825651 -2.870656)'), GeomFromEWKT('SRID=4674;POINT (-39.825628 -2.870698)'))) / (select extract(epoch from '2026-07-08 07:25:29'::timestamp) - extract(epoch from '2026-07-08 07:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825651 -2.870656)'), GeomFromEWKT('SRID=4674;POINT (-39.825628 -2.870698)'))) / (select extract(epoch from '2026-07-08 07:25:29'::timestamp) - extract(epoch from '2026-07-08 07:25:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825615 -2.870819)', '2026-07-08 07:25:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825628 -2.870698)'), GeomFromEWKT('SRID=4674;POINT (-39.825615 -2.870819)'))) / (select extract(epoch from '2026-07-08 07:25:36'::timestamp) - extract(epoch from '2026-07-08 07:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825628 -2.870698)'), GeomFromEWKT('SRID=4674;POINT (-39.825615 -2.870819)'))) / (select extract(epoch from '2026-07-08 07:25:36'::timestamp) - extract(epoch from '2026-07-08 07:25:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82563 -2.87096)', '2026-07-08 07:25:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825615 -2.870819)'), GeomFromEWKT('SRID=4674;POINT (-39.82563 -2.87096)'))) / (select extract(epoch from '2026-07-08 07:25:45'::timestamp) - extract(epoch from '2026-07-08 07:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825615 -2.870819)'), GeomFromEWKT('SRID=4674;POINT (-39.82563 -2.87096)'))) / (select extract(epoch from '2026-07-08 07:25:45'::timestamp) - extract(epoch from '2026-07-08 07:25:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825636 -2.871059)', '2026-07-08 07:25:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82563 -2.87096)'), GeomFromEWKT('SRID=4674;POINT (-39.825636 -2.871059)'))) / (select extract(epoch from '2026-07-08 07:25:53'::timestamp) - extract(epoch from '2026-07-08 07:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82563 -2.87096)'), GeomFromEWKT('SRID=4674;POINT (-39.825636 -2.871059)'))) / (select extract(epoch from '2026-07-08 07:25:53'::timestamp) - extract(epoch from '2026-07-08 07:25:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825639 -2.871091)', '2026-07-08 07:25:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825636 -2.871059)'), GeomFromEWKT('SRID=4674;POINT (-39.825639 -2.871091)'))) / (select extract(epoch from '2026-07-08 07:25:56'::timestamp) - extract(epoch from '2026-07-08 07:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825636 -2.871059)'), GeomFromEWKT('SRID=4674;POINT (-39.825639 -2.871091)'))) / (select extract(epoch from '2026-07-08 07:25:56'::timestamp) - extract(epoch from '2026-07-08 07:25:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82565 -2.871131)', '2026-07-08 07:26:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825639 -2.871091)'), GeomFromEWKT('SRID=4674;POINT (-39.82565 -2.871131)'))) / (select extract(epoch from '2026-07-08 07:26:00'::timestamp) - extract(epoch from '2026-07-08 07:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825639 -2.871091)'), GeomFromEWKT('SRID=4674;POINT (-39.82565 -2.871131)'))) / (select extract(epoch from '2026-07-08 07:26:00'::timestamp) - extract(epoch from '2026-07-08 07:25:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825682 -2.871182)', '2026-07-08 07:26:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82565 -2.871131)'), GeomFromEWKT('SRID=4674;POINT (-39.825682 -2.871182)'))) / (select extract(epoch from '2026-07-08 07:26:06'::timestamp) - extract(epoch from '2026-07-08 07:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82565 -2.871131)'), GeomFromEWKT('SRID=4674;POINT (-39.825682 -2.871182)'))) / (select extract(epoch from '2026-07-08 07:26:06'::timestamp) - extract(epoch from '2026-07-08 07:26:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825739 -2.871221)', '2026-07-08 07:26:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825682 -2.871182)'), GeomFromEWKT('SRID=4674;POINT (-39.825739 -2.871221)'))) / (select extract(epoch from '2026-07-08 07:26:12'::timestamp) - extract(epoch from '2026-07-08 07:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825682 -2.871182)'), GeomFromEWKT('SRID=4674;POINT (-39.825739 -2.871221)'))) / (select extract(epoch from '2026-07-08 07:26:12'::timestamp) - extract(epoch from '2026-07-08 07:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825793 -2.871242)', '2026-07-08 07:26:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825739 -2.871221)'), GeomFromEWKT('SRID=4674;POINT (-39.825793 -2.871242)'))) / (select extract(epoch from '2026-07-08 07:26:18'::timestamp) - extract(epoch from '2026-07-08 07:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825739 -2.871221)'), GeomFromEWKT('SRID=4674;POINT (-39.825793 -2.871242)'))) / (select extract(epoch from '2026-07-08 07:26:18'::timestamp) - extract(epoch from '2026-07-08 07:26:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825882 -2.871239)', '2026-07-08 07:26:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825793 -2.871242)'), GeomFromEWKT('SRID=4674;POINT (-39.825882 -2.871239)'))) / (select extract(epoch from '2026-07-08 07:26:27'::timestamp) - extract(epoch from '2026-07-08 07:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825793 -2.871242)'), GeomFromEWKT('SRID=4674;POINT (-39.825882 -2.871239)'))) / (select extract(epoch from '2026-07-08 07:26:27'::timestamp) - extract(epoch from '2026-07-08 07:26:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825945 -2.871221)', '2026-07-08 07:26:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825882 -2.871239)'), GeomFromEWKT('SRID=4674;POINT (-39.825945 -2.871221)'))) / (select extract(epoch from '2026-07-08 07:26:34'::timestamp) - extract(epoch from '2026-07-08 07:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825882 -2.871239)'), GeomFromEWKT('SRID=4674;POINT (-39.825945 -2.871221)'))) / (select extract(epoch from '2026-07-08 07:26:34'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.825996 -2.871182)', '2026-07-08 07:26:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825945 -2.871221)'), GeomFromEWKT('SRID=4674;POINT (-39.825996 -2.871182)'))) / (select extract(epoch from '2026-07-08 07:26:41'::timestamp) - extract(epoch from '2026-07-08 07:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825945 -2.871221)'), GeomFromEWKT('SRID=4674;POINT (-39.825996 -2.871182)'))) / (select extract(epoch from '2026-07-08 07:26:41'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.826036 -2.871112)', '2026-07-08 07:26:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825996 -2.871182)'), GeomFromEWKT('SRID=4674;POINT (-39.826036 -2.871112)'))) / (select extract(epoch from '2026-07-08 07:26:51'::timestamp) - extract(epoch from '2026-07-08 07:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825996 -2.871182)'), GeomFromEWKT('SRID=4674;POINT (-39.826036 -2.871112)'))) / (select extract(epoch from '2026-07-08 07:26:51'::timestamp) - extract(epoch from '2026-07-08 07:26:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826037 -2.871071)', '2026-07-08 07:27:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826036 -2.871112)'), GeomFromEWKT('SRID=4674;POINT (-39.826037 -2.871071)'))) / (select extract(epoch from '2026-07-08 07:27:01'::timestamp) - extract(epoch from '2026-07-08 07:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826036 -2.871112)'), GeomFromEWKT('SRID=4674;POINT (-39.826037 -2.871071)'))) / (select extract(epoch from '2026-07-08 07:27:01'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.826032 -2.871028)', '2026-07-08 07:27:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826037 -2.871071)'), GeomFromEWKT('SRID=4674;POINT (-39.826032 -2.871028)'))) / (select extract(epoch from '2026-07-08 07:27:14'::timestamp) - extract(epoch from '2026-07-08 07:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826037 -2.871071)'), GeomFromEWKT('SRID=4674;POINT (-39.826032 -2.871028)'))) / (select extract(epoch from '2026-07-08 07:27:14'::timestamp) - extract(epoch from '2026-07-08 07:27:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826018 -2.871026)', '2026-07-08 07:27:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826032 -2.871028)'), GeomFromEWKT('SRID=4674;POINT (-39.826018 -2.871026)'))) / (select extract(epoch from '2026-07-08 07:27:33'::timestamp) - extract(epoch from '2026-07-08 07:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826032 -2.871028)'), GeomFromEWKT('SRID=4674;POINT (-39.826018 -2.871026)'))) / (select extract(epoch from '2026-07-08 07:27:33'::timestamp) - extract(epoch from '2026-07-08 07:27:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.826012 -2.871056)', '2026-07-08 07:27:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826018 -2.871026)'), GeomFromEWKT('SRID=4674;POINT (-39.826012 -2.871056)'))) / (select extract(epoch from '2026-07-08 07:27:47'::timestamp) - extract(epoch from '2026-07-08 07:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826018 -2.871026)'), GeomFromEWKT('SRID=4674;POINT (-39.826012 -2.871056)'))) / (select extract(epoch from '2026-07-08 07:27:47'::timestamp) - extract(epoch from '2026-07-08 07:27:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825972 -2.87108)', '2026-07-08 07:27:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826012 -2.871056)'), GeomFromEWKT('SRID=4674;POINT (-39.825972 -2.87108)'))) / (select extract(epoch from '2026-07-08 07:27:56'::timestamp) - extract(epoch from '2026-07-08 07:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.826012 -2.871056)'), GeomFromEWKT('SRID=4674;POINT (-39.825972 -2.87108)'))) / (select extract(epoch from '2026-07-08 07:27:56'::timestamp) - extract(epoch from '2026-07-08 07:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825918 -2.871032)', '2026-07-08 07:28:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825972 -2.87108)'), GeomFromEWKT('SRID=4674;POINT (-39.825918 -2.871032)'))) / (select extract(epoch from '2026-07-08 07:28:05'::timestamp) - extract(epoch from '2026-07-08 07:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825972 -2.87108)'), GeomFromEWKT('SRID=4674;POINT (-39.825918 -2.871032)'))) / (select extract(epoch from '2026-07-08 07:28:05'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.825836 -2.870948)', '2026-07-08 07:28:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825918 -2.871032)'), GeomFromEWKT('SRID=4674;POINT (-39.825836 -2.870948)'))) / (select extract(epoch from '2026-07-08 07:28:17'::timestamp) - extract(epoch from '2026-07-08 07:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825918 -2.871032)'), GeomFromEWKT('SRID=4674;POINT (-39.825836 -2.870948)'))) / (select extract(epoch from '2026-07-08 07:28:17'::timestamp) - extract(epoch from '2026-07-08 07:28:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825785 -2.87089)', '2026-07-08 07:28:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825836 -2.870948)'), GeomFromEWKT('SRID=4674;POINT (-39.825785 -2.87089)'))) / (select extract(epoch from '2026-07-08 07:28:29'::timestamp) - extract(epoch from '2026-07-08 07:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825836 -2.870948)'), GeomFromEWKT('SRID=4674;POINT (-39.825785 -2.87089)'))) / (select extract(epoch from '2026-07-08 07:28:29'::timestamp) - extract(epoch from '2026-07-08 07:28:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825784 -2.87085)', '2026-07-08 07:28:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825785 -2.87089)'), GeomFromEWKT('SRID=4674;POINT (-39.825784 -2.87085)'))) / (select extract(epoch from '2026-07-08 07:28:42'::timestamp) - extract(epoch from '2026-07-08 07:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825785 -2.87089)'), GeomFromEWKT('SRID=4674;POINT (-39.825784 -2.87085)'))) / (select extract(epoch from '2026-07-08 07:28:42'::timestamp) - extract(epoch from '2026-07-08 07:28:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82576 -2.870806)', '2026-07-08 07:28:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825784 -2.87085)'), GeomFromEWKT('SRID=4674;POINT (-39.82576 -2.870806)'))) / (select extract(epoch from '2026-07-08 07:28:56'::timestamp) - extract(epoch from '2026-07-08 07:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825784 -2.87085)'), GeomFromEWKT('SRID=4674;POINT (-39.82576 -2.870806)'))) / (select extract(epoch from '2026-07-08 07:28:56'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.825714 -2.870788)', '2026-07-08 07:29:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82576 -2.870806)'), GeomFromEWKT('SRID=4674;POINT (-39.825714 -2.870788)'))) / (select extract(epoch from '2026-07-08 07:29:08'::timestamp) - extract(epoch from '2026-07-08 07:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82576 -2.870806)'), GeomFromEWKT('SRID=4674;POINT (-39.825714 -2.870788)'))) / (select extract(epoch from '2026-07-08 07:29:08'::timestamp) - extract(epoch from '2026-07-08 07:28:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825657 -2.870791)', '2026-07-08 07:29:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825714 -2.870788)'), GeomFromEWKT('SRID=4674;POINT (-39.825657 -2.870791)'))) / (select extract(epoch from '2026-07-08 07:29:21'::timestamp) - extract(epoch from '2026-07-08 07:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825714 -2.870788)'), GeomFromEWKT('SRID=4674;POINT (-39.825657 -2.870791)'))) / (select extract(epoch from '2026-07-08 07:29:21'::timestamp) - extract(epoch from '2026-07-08 07:29:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825597 -2.870756)', '2026-07-08 07:29:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825657 -2.870791)'), GeomFromEWKT('SRID=4674;POINT (-39.825597 -2.870756)'))) / (select extract(epoch from '2026-07-08 07:29:29'::timestamp) - extract(epoch from '2026-07-08 07:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825657 -2.870791)'), GeomFromEWKT('SRID=4674;POINT (-39.825597 -2.870756)'))) / (select extract(epoch from '2026-07-08 07:29:29'::timestamp) - extract(epoch from '2026-07-08 07:29:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825573 -2.8707)', '2026-07-08 07:29:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825597 -2.870756)'), GeomFromEWKT('SRID=4674;POINT (-39.825573 -2.8707)'))) / (select extract(epoch from '2026-07-08 07:29:35'::timestamp) - extract(epoch from '2026-07-08 07:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825597 -2.870756)'), GeomFromEWKT('SRID=4674;POINT (-39.825573 -2.8707)'))) / (select extract(epoch from '2026-07-08 07:29:35'::timestamp) - extract(epoch from '2026-07-08 07:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825568 -2.870618)', '2026-07-08 07:29:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825573 -2.8707)'), GeomFromEWKT('SRID=4674;POINT (-39.825568 -2.870618)'))) / (select extract(epoch from '2026-07-08 07:29:42'::timestamp) - extract(epoch from '2026-07-08 07:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825573 -2.8707)'), GeomFromEWKT('SRID=4674;POINT (-39.825568 -2.870618)'))) / (select extract(epoch from '2026-07-08 07:29:42'::timestamp) - extract(epoch from '2026-07-08 07:29:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825558 -2.870517)', '2026-07-08 07:29:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825568 -2.870618)'), GeomFromEWKT('SRID=4674;POINT (-39.825558 -2.870517)'))) / (select extract(epoch from '2026-07-08 07:29:49'::timestamp) - extract(epoch from '2026-07-08 07:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825568 -2.870618)'), GeomFromEWKT('SRID=4674;POINT (-39.825558 -2.870517)'))) / (select extract(epoch from '2026-07-08 07:29:49'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.825525 -2.870453)', '2026-07-08 07:29:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825558 -2.870517)'), GeomFromEWKT('SRID=4674;POINT (-39.825525 -2.870453)'))) / (select extract(epoch from '2026-07-08 07:29:54'::timestamp) - extract(epoch from '2026-07-08 07:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825558 -2.870517)'), GeomFromEWKT('SRID=4674;POINT (-39.825525 -2.870453)'))) / (select extract(epoch from '2026-07-08 07:29:54'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.825515 -2.870443)', '2026-07-08 07:29:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825525 -2.870453)'), GeomFromEWKT('SRID=4674;POINT (-39.825515 -2.870443)'))) / (select extract(epoch from '2026-07-08 07:29:55'::timestamp) - extract(epoch from '2026-07-08 07:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825525 -2.870453)'), GeomFromEWKT('SRID=4674;POINT (-39.825515 -2.870443)'))) / (select extract(epoch from '2026-07-08 07:29:55'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.825424 -2.870403)', '2026-07-08 07:30:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825515 -2.870443)'), GeomFromEWKT('SRID=4674;POINT (-39.825424 -2.870403)'))) / (select extract(epoch from '2026-07-08 07:30:03'::timestamp) - extract(epoch from '2026-07-08 07:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825515 -2.870443)'), GeomFromEWKT('SRID=4674;POINT (-39.825424 -2.870403)'))) / (select extract(epoch from '2026-07-08 07:30:03'::timestamp) - extract(epoch from '2026-07-08 07:29:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825399 -2.870417)', '2026-07-08 07:30:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825424 -2.870403)'), GeomFromEWKT('SRID=4674;POINT (-39.825399 -2.870417)'))) / (select extract(epoch from '2026-07-08 07:30:06'::timestamp) - extract(epoch from '2026-07-08 07:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825424 -2.870403)'), GeomFromEWKT('SRID=4674;POINT (-39.825399 -2.870417)'))) / (select extract(epoch from '2026-07-08 07:30:06'::timestamp) - extract(epoch from '2026-07-08 07:30:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825372 -2.870454)', '2026-07-08 07:30:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825399 -2.870417)'), GeomFromEWKT('SRID=4674;POINT (-39.825372 -2.870454)'))) / (select extract(epoch from '2026-07-08 07:30:10'::timestamp) - extract(epoch from '2026-07-08 07:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825399 -2.870417)'), GeomFromEWKT('SRID=4674;POINT (-39.825372 -2.870454)'))) / (select extract(epoch from '2026-07-08 07:30:10'::timestamp) - extract(epoch from '2026-07-08 07:30:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825356 -2.870559)', '2026-07-08 07:30:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825372 -2.870454)'), GeomFromEWKT('SRID=4674;POINT (-39.825356 -2.870559)'))) / (select extract(epoch from '2026-07-08 07:30:18'::timestamp) - extract(epoch from '2026-07-08 07:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825372 -2.870454)'), GeomFromEWKT('SRID=4674;POINT (-39.825356 -2.870559)'))) / (select extract(epoch from '2026-07-08 07:30:18'::timestamp) - extract(epoch from '2026-07-08 07:30:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825349 -2.870648)', '2026-07-08 07:30:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825356 -2.870559)'), GeomFromEWKT('SRID=4674;POINT (-39.825349 -2.870648)'))) / (select extract(epoch from '2026-07-08 07:30:25'::timestamp) - extract(epoch from '2026-07-08 07:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825356 -2.870559)'), GeomFromEWKT('SRID=4674;POINT (-39.825349 -2.870648)'))) / (select extract(epoch from '2026-07-08 07:30:25'::timestamp) - extract(epoch from '2026-07-08 07:30:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825318 -2.870732)', '2026-07-08 07:30:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825349 -2.870648)'), GeomFromEWKT('SRID=4674;POINT (-39.825318 -2.870732)'))) / (select extract(epoch from '2026-07-08 07:30:32'::timestamp) - extract(epoch from '2026-07-08 07:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825349 -2.870648)'), GeomFromEWKT('SRID=4674;POINT (-39.825318 -2.870732)'))) / (select extract(epoch from '2026-07-08 07:30:32'::timestamp) - extract(epoch from '2026-07-08 07:30:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825314 -2.870744)', '2026-07-08 07:30:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825318 -2.870732)'), GeomFromEWKT('SRID=4674;POINT (-39.825314 -2.870744)'))) / (select extract(epoch from '2026-07-08 07:30:33'::timestamp) - extract(epoch from '2026-07-08 07:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825318 -2.870732)'), GeomFromEWKT('SRID=4674;POINT (-39.825314 -2.870744)'))) / (select extract(epoch from '2026-07-08 07:30:33'::timestamp) - extract(epoch from '2026-07-08 07:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825297 -2.870803)', '2026-07-08 07:30:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825314 -2.870744)'), GeomFromEWKT('SRID=4674;POINT (-39.825297 -2.870803)'))) / (select extract(epoch from '2026-07-08 07:30:37'::timestamp) - extract(epoch from '2026-07-08 07:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825314 -2.870744)'), GeomFromEWKT('SRID=4674;POINT (-39.825297 -2.870803)'))) / (select extract(epoch from '2026-07-08 07:30:37'::timestamp) - extract(epoch from '2026-07-08 07:30:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825278 -2.870879)', '2026-07-08 07:30:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825297 -2.870803)'), GeomFromEWKT('SRID=4674;POINT (-39.825278 -2.870879)'))) / (select extract(epoch from '2026-07-08 07:30:42'::timestamp) - extract(epoch from '2026-07-08 07:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825297 -2.870803)'), GeomFromEWKT('SRID=4674;POINT (-39.825278 -2.870879)'))) / (select extract(epoch from '2026-07-08 07:30:42'::timestamp) - extract(epoch from '2026-07-08 07:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825254 -2.870916)', '2026-07-08 07:30:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825278 -2.870879)'), GeomFromEWKT('SRID=4674;POINT (-39.825254 -2.870916)'))) / (select extract(epoch from '2026-07-08 07:30:46'::timestamp) - extract(epoch from '2026-07-08 07:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825278 -2.870879)'), GeomFromEWKT('SRID=4674;POINT (-39.825254 -2.870916)'))) / (select extract(epoch from '2026-07-08 07:30:46'::timestamp) - extract(epoch from '2026-07-08 07:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825234 -2.870918)', '2026-07-08 07:30:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825254 -2.870916)'), GeomFromEWKT('SRID=4674;POINT (-39.825234 -2.870918)'))) / (select extract(epoch from '2026-07-08 07:30:48'::timestamp) - extract(epoch from '2026-07-08 07:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825254 -2.870916)'), GeomFromEWKT('SRID=4674;POINT (-39.825234 -2.870918)'))) / (select extract(epoch from '2026-07-08 07:30:48'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.825182 -2.870872)', '2026-07-08 07:30:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825234 -2.870918)'), GeomFromEWKT('SRID=4674;POINT (-39.825182 -2.870872)'))) / (select extract(epoch from '2026-07-08 07:30:55'::timestamp) - extract(epoch from '2026-07-08 07:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825234 -2.870918)'), GeomFromEWKT('SRID=4674;POINT (-39.825182 -2.870872)'))) / (select extract(epoch from '2026-07-08 07:30:55'::timestamp) - extract(epoch from '2026-07-08 07:30:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825167 -2.870786)', '2026-07-08 07:31:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825182 -2.870872)'), GeomFromEWKT('SRID=4674;POINT (-39.825167 -2.870786)'))) / (select extract(epoch from '2026-07-08 07:31:01'::timestamp) - extract(epoch from '2026-07-08 07:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825182 -2.870872)'), GeomFromEWKT('SRID=4674;POINT (-39.825167 -2.870786)'))) / (select extract(epoch from '2026-07-08 07:31:01'::timestamp) - extract(epoch from '2026-07-08 07:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825154 -2.870669)', '2026-07-08 07:31:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825167 -2.870786)'), GeomFromEWKT('SRID=4674;POINT (-39.825154 -2.870669)'))) / (select extract(epoch from '2026-07-08 07:31:08'::timestamp) - extract(epoch from '2026-07-08 07:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825167 -2.870786)'), GeomFromEWKT('SRID=4674;POINT (-39.825154 -2.870669)'))) / (select extract(epoch from '2026-07-08 07:31:08'::timestamp) - extract(epoch from '2026-07-08 07:31:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825101 -2.870558)', '2026-07-08 07:31:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825154 -2.870669)'), GeomFromEWKT('SRID=4674;POINT (-39.825101 -2.870558)'))) / (select extract(epoch from '2026-07-08 07:31:15'::timestamp) - extract(epoch from '2026-07-08 07:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825154 -2.870669)'), GeomFromEWKT('SRID=4674;POINT (-39.825101 -2.870558)'))) / (select extract(epoch from '2026-07-08 07:31:15'::timestamp) - extract(epoch from '2026-07-08 07:31:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.825052 -2.87043)', '2026-07-08 07:31:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825101 -2.870558)'), GeomFromEWKT('SRID=4674;POINT (-39.825052 -2.87043)'))) / (select extract(epoch from '2026-07-08 07:31:23'::timestamp) - extract(epoch from '2026-07-08 07:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825101 -2.870558)'), GeomFromEWKT('SRID=4674;POINT (-39.825052 -2.87043)'))) / (select extract(epoch from '2026-07-08 07:31:23'::timestamp) - extract(epoch from '2026-07-08 07:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82498 -2.870338)', '2026-07-08 07:31:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825052 -2.87043)'), GeomFromEWKT('SRID=4674;POINT (-39.82498 -2.870338)'))) / (select extract(epoch from '2026-07-08 07:31:31'::timestamp) - extract(epoch from '2026-07-08 07:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.825052 -2.87043)'), GeomFromEWKT('SRID=4674;POINT (-39.82498 -2.870338)'))) / (select extract(epoch from '2026-07-08 07:31:31'::timestamp) - extract(epoch from '2026-07-08 07:31:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824958 -2.870233)', '2026-07-08 07:31:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82498 -2.870338)'), GeomFromEWKT('SRID=4674;POINT (-39.824958 -2.870233)'))) / (select extract(epoch from '2026-07-08 07:31:38'::timestamp) - extract(epoch from '2026-07-08 07:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82498 -2.870338)'), GeomFromEWKT('SRID=4674;POINT (-39.824958 -2.870233)'))) / (select extract(epoch from '2026-07-08 07:31:38'::timestamp) - extract(epoch from '2026-07-08 07:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824922 -2.870129)', '2026-07-08 07:31:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824958 -2.870233)'), GeomFromEWKT('SRID=4674;POINT (-39.824922 -2.870129)'))) / (select extract(epoch from '2026-07-08 07:31:45'::timestamp) - extract(epoch from '2026-07-08 07:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824958 -2.870233)'), GeomFromEWKT('SRID=4674;POINT (-39.824922 -2.870129)'))) / (select extract(epoch from '2026-07-08 07:31:45'::timestamp) - extract(epoch from '2026-07-08 07:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824882 -2.870081)', '2026-07-08 07:31:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824922 -2.870129)'), GeomFromEWKT('SRID=4674;POINT (-39.824882 -2.870081)'))) / (select extract(epoch from '2026-07-08 07:31:50'::timestamp) - extract(epoch from '2026-07-08 07:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824922 -2.870129)'), GeomFromEWKT('SRID=4674;POINT (-39.824882 -2.870081)'))) / (select extract(epoch from '2026-07-08 07:31:50'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.82484 -2.869994)', '2026-07-08 07:31:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824882 -2.870081)'), GeomFromEWKT('SRID=4674;POINT (-39.82484 -2.869994)'))) / (select extract(epoch from '2026-07-08 07:31:57'::timestamp) - extract(epoch from '2026-07-08 07:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824882 -2.870081)'), GeomFromEWKT('SRID=4674;POINT (-39.82484 -2.869994)'))) / (select extract(epoch from '2026-07-08 07:31:57'::timestamp) - extract(epoch from '2026-07-08 07:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824876 -2.869864)', '2026-07-08 07:32:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82484 -2.869994)'), GeomFromEWKT('SRID=4674;POINT (-39.824876 -2.869864)'))) / (select extract(epoch from '2026-07-08 07:32:05'::timestamp) - extract(epoch from '2026-07-08 07:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82484 -2.869994)'), GeomFromEWKT('SRID=4674;POINT (-39.824876 -2.869864)'))) / (select extract(epoch from '2026-07-08 07:32:05'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.82488 -2.869723)', '2026-07-08 07:32:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824876 -2.869864)'), GeomFromEWKT('SRID=4674;POINT (-39.82488 -2.869723)'))) / (select extract(epoch from '2026-07-08 07:32:13'::timestamp) - extract(epoch from '2026-07-08 07:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824876 -2.869864)'), GeomFromEWKT('SRID=4674;POINT (-39.82488 -2.869723)'))) / (select extract(epoch from '2026-07-08 07:32:13'::timestamp) - extract(epoch from '2026-07-08 07:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824864 -2.869599)', '2026-07-08 07:32:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82488 -2.869723)'), GeomFromEWKT('SRID=4674;POINT (-39.824864 -2.869599)'))) / (select extract(epoch from '2026-07-08 07:32:20'::timestamp) - extract(epoch from '2026-07-08 07:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82488 -2.869723)'), GeomFromEWKT('SRID=4674;POINT (-39.824864 -2.869599)'))) / (select extract(epoch from '2026-07-08 07:32:20'::timestamp) - extract(epoch from '2026-07-08 07:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82486 -2.86947)', '2026-07-08 07:32:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824864 -2.869599)'), GeomFromEWKT('SRID=4674;POINT (-39.82486 -2.86947)'))) / (select extract(epoch from '2026-07-08 07:32:27'::timestamp) - extract(epoch from '2026-07-08 07:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824864 -2.869599)'), GeomFromEWKT('SRID=4674;POINT (-39.82486 -2.86947)'))) / (select extract(epoch from '2026-07-08 07:32:27'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.82487 -2.86932)', '2026-07-08 07:32:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82486 -2.86947)'), GeomFromEWKT('SRID=4674;POINT (-39.82487 -2.86932)'))) / (select extract(epoch from '2026-07-08 07:32:35'::timestamp) - extract(epoch from '2026-07-08 07:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82486 -2.86947)'), GeomFromEWKT('SRID=4674;POINT (-39.82487 -2.86932)'))) / (select extract(epoch from '2026-07-08 07:32:35'::timestamp) - extract(epoch from '2026-07-08 07:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824835 -2.869236)', '2026-07-08 07:32:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82487 -2.86932)'), GeomFromEWKT('SRID=4674;POINT (-39.824835 -2.869236)'))) / (select extract(epoch from '2026-07-08 07:32:41'::timestamp) - extract(epoch from '2026-07-08 07:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82487 -2.86932)'), GeomFromEWKT('SRID=4674;POINT (-39.824835 -2.869236)'))) / (select extract(epoch from '2026-07-08 07:32:41'::timestamp) - extract(epoch from '2026-07-08 07:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824801 -2.869158)', '2026-07-08 07:32:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824835 -2.869236)'), GeomFromEWKT('SRID=4674;POINT (-39.824801 -2.869158)'))) / (select extract(epoch from '2026-07-08 07:32:47'::timestamp) - extract(epoch from '2026-07-08 07:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824835 -2.869236)'), GeomFromEWKT('SRID=4674;POINT (-39.824801 -2.869158)'))) / (select extract(epoch from '2026-07-08 07:32:47'::timestamp) - extract(epoch from '2026-07-08 07:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824737 -2.869053)', '2026-07-08 07:32:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824801 -2.869158)'), GeomFromEWKT('SRID=4674;POINT (-39.824737 -2.869053)'))) / (select extract(epoch from '2026-07-08 07:32:55'::timestamp) - extract(epoch from '2026-07-08 07:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824801 -2.869158)'), GeomFromEWKT('SRID=4674;POINT (-39.824737 -2.869053)'))) / (select extract(epoch from '2026-07-08 07:32:55'::timestamp) - extract(epoch from '2026-07-08 07:32:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824694 -2.868987)', '2026-07-08 07:33:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824737 -2.869053)'), GeomFromEWKT('SRID=4674;POINT (-39.824694 -2.868987)'))) / (select extract(epoch from '2026-07-08 07:33:00'::timestamp) - extract(epoch from '2026-07-08 07:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824737 -2.869053)'), GeomFromEWKT('SRID=4674;POINT (-39.824694 -2.868987)'))) / (select extract(epoch from '2026-07-08 07:33:00'::timestamp) - extract(epoch from '2026-07-08 07:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824681 -2.868959)', '2026-07-08 07:33:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824694 -2.868987)'), GeomFromEWKT('SRID=4674;POINT (-39.824681 -2.868959)'))) / (select extract(epoch from '2026-07-08 07:33:02'::timestamp) - extract(epoch from '2026-07-08 07:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824694 -2.868987)'), GeomFromEWKT('SRID=4674;POINT (-39.824681 -2.868959)'))) / (select extract(epoch from '2026-07-08 07:33:02'::timestamp) - extract(epoch from '2026-07-08 07:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824638 -2.868878)', '2026-07-08 07:33:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824681 -2.868959)'), GeomFromEWKT('SRID=4674;POINT (-39.824638 -2.868878)'))) / (select extract(epoch from '2026-07-08 07:33:08'::timestamp) - extract(epoch from '2026-07-08 07:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824681 -2.868959)'), GeomFromEWKT('SRID=4674;POINT (-39.824638 -2.868878)'))) / (select extract(epoch from '2026-07-08 07:33:08'::timestamp) - extract(epoch from '2026-07-08 07:33:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82461 -2.868773)', '2026-07-08 07:33:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824638 -2.868878)'), GeomFromEWKT('SRID=4674;POINT (-39.82461 -2.868773)'))) / (select extract(epoch from '2026-07-08 07:33:15'::timestamp) - extract(epoch from '2026-07-08 07:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824638 -2.868878)'), GeomFromEWKT('SRID=4674;POINT (-39.82461 -2.868773)'))) / (select extract(epoch from '2026-07-08 07:33:15'::timestamp) - extract(epoch from '2026-07-08 07:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824569 -2.868655)', '2026-07-08 07:33:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82461 -2.868773)'), GeomFromEWKT('SRID=4674;POINT (-39.824569 -2.868655)'))) / (select extract(epoch from '2026-07-08 07:33:22'::timestamp) - extract(epoch from '2026-07-08 07:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82461 -2.868773)'), GeomFromEWKT('SRID=4674;POINT (-39.824569 -2.868655)'))) / (select extract(epoch from '2026-07-08 07:33:22'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.824511 -2.868593)', '2026-07-08 07:33:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824569 -2.868655)'), GeomFromEWKT('SRID=4674;POINT (-39.824511 -2.868593)'))) / (select extract(epoch from '2026-07-08 07:33:28'::timestamp) - extract(epoch from '2026-07-08 07:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824569 -2.868655)'), GeomFromEWKT('SRID=4674;POINT (-39.824511 -2.868593)'))) / (select extract(epoch from '2026-07-08 07:33:28'::timestamp) - extract(epoch from '2026-07-08 07:33:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824439 -2.868528)', '2026-07-08 07:33:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824511 -2.868593)'), GeomFromEWKT('SRID=4674;POINT (-39.824439 -2.868528)'))) / (select extract(epoch from '2026-07-08 07:33:35'::timestamp) - extract(epoch from '2026-07-08 07:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824511 -2.868593)'), GeomFromEWKT('SRID=4674;POINT (-39.824439 -2.868528)'))) / (select extract(epoch from '2026-07-08 07:33:35'::timestamp) - extract(epoch from '2026-07-08 07:33:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824389 -2.868441)', '2026-07-08 07:33:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824439 -2.868528)'), GeomFromEWKT('SRID=4674;POINT (-39.824389 -2.868441)'))) / (select extract(epoch from '2026-07-08 07:33:42'::timestamp) - extract(epoch from '2026-07-08 07:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824439 -2.868528)'), GeomFromEWKT('SRID=4674;POINT (-39.824389 -2.868441)'))) / (select extract(epoch from '2026-07-08 07:33:42'::timestamp) - extract(epoch from '2026-07-08 07:33:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824356 -2.868355)', '2026-07-08 07:33:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824389 -2.868441)'), GeomFromEWKT('SRID=4674;POINT (-39.824356 -2.868355)'))) / (select extract(epoch from '2026-07-08 07:33:48'::timestamp) - extract(epoch from '2026-07-08 07:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824389 -2.868441)'), GeomFromEWKT('SRID=4674;POINT (-39.824356 -2.868355)'))) / (select extract(epoch from '2026-07-08 07:33:48'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.82435 -2.868341)', '2026-07-08 07:33:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824356 -2.868355)'), GeomFromEWKT('SRID=4674;POINT (-39.82435 -2.868341)'))) / (select extract(epoch from '2026-07-08 07:33:49'::timestamp) - extract(epoch from '2026-07-08 07:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824356 -2.868355)'), GeomFromEWKT('SRID=4674;POINT (-39.82435 -2.868341)'))) / (select extract(epoch from '2026-07-08 07:33:49'::timestamp) - extract(epoch from '2026-07-08 07:33:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824324 -2.868297)', '2026-07-08 07:33:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82435 -2.868341)'), GeomFromEWKT('SRID=4674;POINT (-39.824324 -2.868297)'))) / (select extract(epoch from '2026-07-08 07:33:52'::timestamp) - extract(epoch from '2026-07-08 07:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82435 -2.868341)'), GeomFromEWKT('SRID=4674;POINT (-39.824324 -2.868297)'))) / (select extract(epoch from '2026-07-08 07:33:52'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.824253 -2.868239)', '2026-07-08 07:33:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824324 -2.868297)'), GeomFromEWKT('SRID=4674;POINT (-39.824253 -2.868239)'))) / (select extract(epoch from '2026-07-08 07:33:58'::timestamp) - extract(epoch from '2026-07-08 07:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824324 -2.868297)'), GeomFromEWKT('SRID=4674;POINT (-39.824253 -2.868239)'))) / (select extract(epoch from '2026-07-08 07:33:58'::timestamp) - extract(epoch from '2026-07-08 07:33:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824177 -2.868198)', '2026-07-08 07:34:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824253 -2.868239)'), GeomFromEWKT('SRID=4674;POINT (-39.824177 -2.868198)'))) / (select extract(epoch from '2026-07-08 07:34:04'::timestamp) - extract(epoch from '2026-07-08 07:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824253 -2.868239)'), GeomFromEWKT('SRID=4674;POINT (-39.824177 -2.868198)'))) / (select extract(epoch from '2026-07-08 07:34:04'::timestamp) - extract(epoch from '2026-07-08 07:33:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824076 -2.868155)', '2026-07-08 07:34:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824177 -2.868198)'), GeomFromEWKT('SRID=4674;POINT (-39.824076 -2.868155)'))) / (select extract(epoch from '2026-07-08 07:34:11'::timestamp) - extract(epoch from '2026-07-08 07:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824177 -2.868198)'), GeomFromEWKT('SRID=4674;POINT (-39.824076 -2.868155)'))) / (select extract(epoch from '2026-07-08 07:34:11'::timestamp) - extract(epoch from '2026-07-08 07:34:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.824015 -2.868078)', '2026-07-08 07:34:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824076 -2.868155)'), GeomFromEWKT('SRID=4674;POINT (-39.824015 -2.868078)'))) / (select extract(epoch from '2026-07-08 07:34:17'::timestamp) - extract(epoch from '2026-07-08 07:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824076 -2.868155)'), GeomFromEWKT('SRID=4674;POINT (-39.824015 -2.868078)'))) / (select extract(epoch from '2026-07-08 07:34:17'::timestamp) - extract(epoch from '2026-07-08 07:34:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823932 -2.868019)', '2026-07-08 07:34:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824015 -2.868078)'), GeomFromEWKT('SRID=4674;POINT (-39.823932 -2.868019)'))) / (select extract(epoch from '2026-07-08 07:34:23'::timestamp) - extract(epoch from '2026-07-08 07:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.824015 -2.868078)'), GeomFromEWKT('SRID=4674;POINT (-39.823932 -2.868019)'))) / (select extract(epoch from '2026-07-08 07:34:23'::timestamp) - extract(epoch from '2026-07-08 07:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82386 -2.867937)', '2026-07-08 07:34:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823932 -2.868019)'), GeomFromEWKT('SRID=4674;POINT (-39.82386 -2.867937)'))) / (select extract(epoch from '2026-07-08 07:34:30'::timestamp) - extract(epoch from '2026-07-08 07:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823932 -2.868019)'), GeomFromEWKT('SRID=4674;POINT (-39.82386 -2.867937)'))) / (select extract(epoch from '2026-07-08 07:34:30'::timestamp) - extract(epoch from '2026-07-08 07:34:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823795 -2.867852)', '2026-07-08 07:34:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82386 -2.867937)'), GeomFromEWKT('SRID=4674;POINT (-39.823795 -2.867852)'))) / (select extract(epoch from '2026-07-08 07:34:37'::timestamp) - extract(epoch from '2026-07-08 07:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82386 -2.867937)'), GeomFromEWKT('SRID=4674;POINT (-39.823795 -2.867852)'))) / (select extract(epoch from '2026-07-08 07:34:37'::timestamp) - extract(epoch from '2026-07-08 07:34:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823713 -2.867783)', '2026-07-08 07:34:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823795 -2.867852)'), GeomFromEWKT('SRID=4674;POINT (-39.823713 -2.867783)'))) / (select extract(epoch from '2026-07-08 07:34:44'::timestamp) - extract(epoch from '2026-07-08 07:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823795 -2.867852)'), GeomFromEWKT('SRID=4674;POINT (-39.823713 -2.867783)'))) / (select extract(epoch from '2026-07-08 07:34:44'::timestamp) - extract(epoch from '2026-07-08 07:34:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823631 -2.867685)', '2026-07-08 07:34:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823713 -2.867783)'), GeomFromEWKT('SRID=4674;POINT (-39.823631 -2.867685)'))) / (select extract(epoch from '2026-07-08 07:34:51'::timestamp) - extract(epoch from '2026-07-08 07:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823713 -2.867783)'), GeomFromEWKT('SRID=4674;POINT (-39.823631 -2.867685)'))) / (select extract(epoch from '2026-07-08 07:34:51'::timestamp) - extract(epoch from '2026-07-08 07:34:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823554 -2.867605)', '2026-07-08 07:34:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823631 -2.867685)'), GeomFromEWKT('SRID=4674;POINT (-39.823554 -2.867605)'))) / (select extract(epoch from '2026-07-08 07:34:58'::timestamp) - extract(epoch from '2026-07-08 07:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823631 -2.867685)'), GeomFromEWKT('SRID=4674;POINT (-39.823554 -2.867605)'))) / (select extract(epoch from '2026-07-08 07:34:58'::timestamp) - extract(epoch from '2026-07-08 07:34:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82345 -2.8675)', '2026-07-08 07:35:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823554 -2.867605)'), GeomFromEWKT('SRID=4674;POINT (-39.82345 -2.8675)'))) / (select extract(epoch from '2026-07-08 07:35:06'::timestamp) - extract(epoch from '2026-07-08 07:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823554 -2.867605)'), GeomFromEWKT('SRID=4674;POINT (-39.82345 -2.8675)'))) / (select extract(epoch from '2026-07-08 07:35:06'::timestamp) - extract(epoch from '2026-07-08 07:34:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823379 -2.86742)', '2026-07-08 07:35:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82345 -2.8675)'), GeomFromEWKT('SRID=4674;POINT (-39.823379 -2.86742)'))) / (select extract(epoch from '2026-07-08 07:35:12'::timestamp) - extract(epoch from '2026-07-08 07:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82345 -2.8675)'), GeomFromEWKT('SRID=4674;POINT (-39.823379 -2.86742)'))) / (select extract(epoch from '2026-07-08 07:35:12'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.823297 -2.867353)', '2026-07-08 07:35:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823379 -2.86742)'), GeomFromEWKT('SRID=4674;POINT (-39.823297 -2.867353)'))) / (select extract(epoch from '2026-07-08 07:35:18'::timestamp) - extract(epoch from '2026-07-08 07:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823379 -2.86742)'), GeomFromEWKT('SRID=4674;POINT (-39.823297 -2.867353)'))) / (select extract(epoch from '2026-07-08 07:35:18'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.823187 -2.867281)', '2026-07-08 07:35:26', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823297 -2.867353)'), GeomFromEWKT('SRID=4674;POINT (-39.823187 -2.867281)'))) / (select extract(epoch from '2026-07-08 07:35:26'::timestamp) - extract(epoch from '2026-07-08 07:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823297 -2.867353)'), GeomFromEWKT('SRID=4674;POINT (-39.823187 -2.867281)'))) / (select extract(epoch from '2026-07-08 07:35:26'::timestamp) - extract(epoch from '2026-07-08 07:35:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823104 -2.867226)', '2026-07-08 07:35:32', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823187 -2.867281)'), GeomFromEWKT('SRID=4674;POINT (-39.823104 -2.867226)'))) / (select extract(epoch from '2026-07-08 07:35:32'::timestamp) - extract(epoch from '2026-07-08 07:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823187 -2.867281)'), GeomFromEWKT('SRID=4674;POINT (-39.823104 -2.867226)'))) / (select extract(epoch from '2026-07-08 07:35:32'::timestamp) - extract(epoch from '2026-07-08 07:35:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.823004 -2.867153)', '2026-07-08 07:35:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823104 -2.867226)'), GeomFromEWKT('SRID=4674;POINT (-39.823004 -2.867153)'))) / (select extract(epoch from '2026-07-08 07:35:40'::timestamp) - extract(epoch from '2026-07-08 07:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823104 -2.867226)'), GeomFromEWKT('SRID=4674;POINT (-39.823004 -2.867153)'))) / (select extract(epoch from '2026-07-08 07:35:40'::timestamp) - extract(epoch from '2026-07-08 07:35:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.822912 -2.86709)', '2026-07-08 07:35:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823004 -2.867153)'), GeomFromEWKT('SRID=4674;POINT (-39.822912 -2.86709)'))) / (select extract(epoch from '2026-07-08 07:35:47'::timestamp) - extract(epoch from '2026-07-08 07:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.823004 -2.867153)'), GeomFromEWKT('SRID=4674;POINT (-39.822912 -2.86709)'))) / (select extract(epoch from '2026-07-08 07:35:47'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.822855 -2.867013)', '2026-07-08 07:35:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822912 -2.86709)'), GeomFromEWKT('SRID=4674;POINT (-39.822855 -2.867013)'))) / (select extract(epoch from '2026-07-08 07:35:53'::timestamp) - extract(epoch from '2026-07-08 07:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822912 -2.86709)'), GeomFromEWKT('SRID=4674;POINT (-39.822855 -2.867013)'))) / (select extract(epoch from '2026-07-08 07:35:53'::timestamp) - extract(epoch from '2026-07-08 07:35:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.822784 -2.866922)', '2026-07-08 07:36:00', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822855 -2.867013)'), GeomFromEWKT('SRID=4674;POINT (-39.822784 -2.866922)'))) / (select extract(epoch from '2026-07-08 07:36:00'::timestamp) - extract(epoch from '2026-07-08 07:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822855 -2.867013)'), GeomFromEWKT('SRID=4674;POINT (-39.822784 -2.866922)'))) / (select extract(epoch from '2026-07-08 07:36:00'::timestamp) - extract(epoch from '2026-07-08 07:35:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.822712 -2.866816)', '2026-07-08 07:36:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822784 -2.866922)'), GeomFromEWKT('SRID=4674;POINT (-39.822712 -2.866816)'))) / (select extract(epoch from '2026-07-08 07:36:08'::timestamp) - extract(epoch from '2026-07-08 07:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822784 -2.866922)'), GeomFromEWKT('SRID=4674;POINT (-39.822712 -2.866816)'))) / (select extract(epoch from '2026-07-08 07:36:08'::timestamp) - extract(epoch from '2026-07-08 07:36:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.822635 -2.866723)', '2026-07-08 07:36:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822712 -2.866816)'), GeomFromEWKT('SRID=4674;POINT (-39.822635 -2.866723)'))) / (select extract(epoch from '2026-07-08 07:36:15'::timestamp) - extract(epoch from '2026-07-08 07:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822712 -2.866816)'), GeomFromEWKT('SRID=4674;POINT (-39.822635 -2.866723)'))) / (select extract(epoch from '2026-07-08 07:36:15'::timestamp) - extract(epoch from '2026-07-08 07:36:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.822573 -2.866659)', '2026-07-08 07:36:20', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822635 -2.866723)'), GeomFromEWKT('SRID=4674;POINT (-39.822573 -2.866659)'))) / (select extract(epoch from '2026-07-08 07:36:20'::timestamp) - extract(epoch from '2026-07-08 07:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822635 -2.866723)'), GeomFromEWKT('SRID=4674;POINT (-39.822573 -2.866659)'))) / (select extract(epoch from '2026-07-08 07:36:20'::timestamp) - extract(epoch from '2026-07-08 07:36:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.822499 -2.866613)', '2026-07-08 07:36:25', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822573 -2.866659)'), GeomFromEWKT('SRID=4674;POINT (-39.822499 -2.866613)'))) / (select extract(epoch from '2026-07-08 07:36:25'::timestamp) - extract(epoch from '2026-07-08 07:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822573 -2.866659)'), GeomFromEWKT('SRID=4674;POINT (-39.822499 -2.866613)'))) / (select extract(epoch from '2026-07-08 07:36:25'::timestamp) - extract(epoch from '2026-07-08 07:36:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.822391 -2.866569)', '2026-07-08 07:36:32', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822499 -2.866613)'), GeomFromEWKT('SRID=4674;POINT (-39.822391 -2.866569)'))) / (select extract(epoch from '2026-07-08 07:36:32'::timestamp) - extract(epoch from '2026-07-08 07:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822499 -2.866613)'), GeomFromEWKT('SRID=4674;POINT (-39.822391 -2.866569)'))) / (select extract(epoch from '2026-07-08 07:36:32'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.822291 -2.866527)', '2026-07-08 07:36:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822391 -2.866569)'), GeomFromEWKT('SRID=4674;POINT (-39.822291 -2.866527)'))) / (select extract(epoch from '2026-07-08 07:36:39'::timestamp) - extract(epoch from '2026-07-08 07:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822391 -2.866569)'), GeomFromEWKT('SRID=4674;POINT (-39.822291 -2.866527)'))) / (select extract(epoch from '2026-07-08 07:36:39'::timestamp) - extract(epoch from '2026-07-08 07:36:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.822199 -2.866492)', '2026-07-08 07:36:45', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822291 -2.866527)'), GeomFromEWKT('SRID=4674;POINT (-39.822199 -2.866492)'))) / (select extract(epoch from '2026-07-08 07:36:45'::timestamp) - extract(epoch from '2026-07-08 07:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822291 -2.866527)'), GeomFromEWKT('SRID=4674;POINT (-39.822199 -2.866492)'))) / (select extract(epoch from '2026-07-08 07:36:45'::timestamp) - extract(epoch from '2026-07-08 07:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.822068 -2.866439)', '2026-07-08 07:36:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822199 -2.866492)'), GeomFromEWKT('SRID=4674;POINT (-39.822068 -2.866439)'))) / (select extract(epoch from '2026-07-08 07:36:54'::timestamp) - extract(epoch from '2026-07-08 07:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822199 -2.866492)'), GeomFromEWKT('SRID=4674;POINT (-39.822068 -2.866439)'))) / (select extract(epoch from '2026-07-08 07:36:54'::timestamp) - extract(epoch from '2026-07-08 07:36:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821948 -2.866386)', '2026-07-08 07:37:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822068 -2.866439)'), GeomFromEWKT('SRID=4674;POINT (-39.821948 -2.866386)'))) / (select extract(epoch from '2026-07-08 07:37:02'::timestamp) - extract(epoch from '2026-07-08 07:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.822068 -2.866439)'), GeomFromEWKT('SRID=4674;POINT (-39.821948 -2.866386)'))) / (select extract(epoch from '2026-07-08 07:37:02'::timestamp) - extract(epoch from '2026-07-08 07:36:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821839 -2.86635)', '2026-07-08 07:37:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821948 -2.866386)'), GeomFromEWKT('SRID=4674;POINT (-39.821839 -2.86635)'))) / (select extract(epoch from '2026-07-08 07:37:10'::timestamp) - extract(epoch from '2026-07-08 07:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821948 -2.866386)'), GeomFromEWKT('SRID=4674;POINT (-39.821839 -2.86635)'))) / (select extract(epoch from '2026-07-08 07:37:10'::timestamp) - extract(epoch from '2026-07-08 07:37:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821724 -2.8663)', '2026-07-08 07:37:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821839 -2.86635)'), GeomFromEWKT('SRID=4674;POINT (-39.821724 -2.8663)'))) / (select extract(epoch from '2026-07-08 07:37:18'::timestamp) - extract(epoch from '2026-07-08 07:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821839 -2.86635)'), GeomFromEWKT('SRID=4674;POINT (-39.821724 -2.8663)'))) / (select extract(epoch from '2026-07-08 07:37:18'::timestamp) - extract(epoch from '2026-07-08 07:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821623 -2.86627)', '2026-07-08 07:37:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821724 -2.8663)'), GeomFromEWKT('SRID=4674;POINT (-39.821623 -2.86627)'))) / (select extract(epoch from '2026-07-08 07:37:26'::timestamp) - extract(epoch from '2026-07-08 07:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821724 -2.8663)'), GeomFromEWKT('SRID=4674;POINT (-39.821623 -2.86627)'))) / (select extract(epoch from '2026-07-08 07:37:26'::timestamp) - extract(epoch from '2026-07-08 07:37:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821613 -2.86626)', '2026-07-08 07:37:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821623 -2.86627)'), GeomFromEWKT('SRID=4674;POINT (-39.821613 -2.86626)'))) / (select extract(epoch from '2026-07-08 07:37:27'::timestamp) - extract(epoch from '2026-07-08 07:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821623 -2.86627)'), GeomFromEWKT('SRID=4674;POINT (-39.821613 -2.86626)'))) / (select extract(epoch from '2026-07-08 07:37:27'::timestamp) - extract(epoch from '2026-07-08 07:37:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82157 -2.866216)', '2026-07-08 07:37:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821613 -2.86626)'), GeomFromEWKT('SRID=4674;POINT (-39.82157 -2.866216)'))) / (select extract(epoch from '2026-07-08 07:37:31'::timestamp) - extract(epoch from '2026-07-08 07:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821613 -2.86626)'), GeomFromEWKT('SRID=4674;POINT (-39.82157 -2.866216)'))) / (select extract(epoch from '2026-07-08 07:37:31'::timestamp) - extract(epoch from '2026-07-08 07:37:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821505 -2.86613)', '2026-07-08 07:37:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82157 -2.866216)'), GeomFromEWKT('SRID=4674;POINT (-39.821505 -2.86613)'))) / (select extract(epoch from '2026-07-08 07:37:38'::timestamp) - extract(epoch from '2026-07-08 07:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82157 -2.866216)'), GeomFromEWKT('SRID=4674;POINT (-39.821505 -2.86613)'))) / (select extract(epoch from '2026-07-08 07:37:38'::timestamp) - extract(epoch from '2026-07-08 07:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82145 -2.866056)', '2026-07-08 07:37:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821505 -2.86613)'), GeomFromEWKT('SRID=4674;POINT (-39.82145 -2.866056)'))) / (select extract(epoch from '2026-07-08 07:37:44'::timestamp) - extract(epoch from '2026-07-08 07:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821505 -2.86613)'), GeomFromEWKT('SRID=4674;POINT (-39.82145 -2.866056)'))) / (select extract(epoch from '2026-07-08 07:37:44'::timestamp) - extract(epoch from '2026-07-08 07:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821388 -2.865972)', '2026-07-08 07:37:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82145 -2.866056)'), GeomFromEWKT('SRID=4674;POINT (-39.821388 -2.865972)'))) / (select extract(epoch from '2026-07-08 07:37:50'::timestamp) - extract(epoch from '2026-07-08 07:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82145 -2.866056)'), GeomFromEWKT('SRID=4674;POINT (-39.821388 -2.865972)'))) / (select extract(epoch from '2026-07-08 07:37:50'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.821317 -2.865901)', '2026-07-08 07:37:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821388 -2.865972)'), GeomFromEWKT('SRID=4674;POINT (-39.821317 -2.865901)'))) / (select extract(epoch from '2026-07-08 07:37:56'::timestamp) - extract(epoch from '2026-07-08 07:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821388 -2.865972)'), GeomFromEWKT('SRID=4674;POINT (-39.821317 -2.865901)'))) / (select extract(epoch from '2026-07-08 07:37:56'::timestamp) - extract(epoch from '2026-07-08 07:37:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82121 -2.865845)', '2026-07-08 07:38:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821317 -2.865901)'), GeomFromEWKT('SRID=4674;POINT (-39.82121 -2.865845)'))) / (select extract(epoch from '2026-07-08 07:38:03'::timestamp) - extract(epoch from '2026-07-08 07:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821317 -2.865901)'), GeomFromEWKT('SRID=4674;POINT (-39.82121 -2.865845)'))) / (select extract(epoch from '2026-07-08 07:38:03'::timestamp) - extract(epoch from '2026-07-08 07:37:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821073 -2.865794)', '2026-07-08 07:38:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82121 -2.865845)'), GeomFromEWKT('SRID=4674;POINT (-39.821073 -2.865794)'))) / (select extract(epoch from '2026-07-08 07:38:12'::timestamp) - extract(epoch from '2026-07-08 07:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82121 -2.865845)'), GeomFromEWKT('SRID=4674;POINT (-39.821073 -2.865794)'))) / (select extract(epoch from '2026-07-08 07:38:12'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.821034 -2.865772)', '2026-07-08 07:38:16', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821073 -2.865794)'), GeomFromEWKT('SRID=4674;POINT (-39.821034 -2.865772)'))) / (select extract(epoch from '2026-07-08 07:38:16'::timestamp) - extract(epoch from '2026-07-08 07:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821073 -2.865794)'), GeomFromEWKT('SRID=4674;POINT (-39.821034 -2.865772)'))) / (select extract(epoch from '2026-07-08 07:38:16'::timestamp) - extract(epoch from '2026-07-08 07:38:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821017 -2.865759)', '2026-07-08 07:38:18', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821034 -2.865772)'), GeomFromEWKT('SRID=4674;POINT (-39.821017 -2.865759)'))) / (select extract(epoch from '2026-07-08 07:38:18'::timestamp) - extract(epoch from '2026-07-08 07:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821034 -2.865772)'), GeomFromEWKT('SRID=4674;POINT (-39.821017 -2.865759)'))) / (select extract(epoch from '2026-07-08 07:38:18'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.820952 -2.865724)', '2026-07-08 07:38:27', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821017 -2.865759)'), GeomFromEWKT('SRID=4674;POINT (-39.820952 -2.865724)'))) / (select extract(epoch from '2026-07-08 07:38:27'::timestamp) - extract(epoch from '2026-07-08 07:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821017 -2.865759)'), GeomFromEWKT('SRID=4674;POINT (-39.820952 -2.865724)'))) / (select extract(epoch from '2026-07-08 07:38:27'::timestamp) - extract(epoch from '2026-07-08 07:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820897 -2.865699)', '2026-07-08 07:38:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820952 -2.865724)'), GeomFromEWKT('SRID=4674;POINT (-39.820897 -2.865699)'))) / (select extract(epoch from '2026-07-08 07:38:36'::timestamp) - extract(epoch from '2026-07-08 07:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820952 -2.865724)'), GeomFromEWKT('SRID=4674;POINT (-39.820897 -2.865699)'))) / (select extract(epoch from '2026-07-08 07:38:36'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.820879 -2.865673)', '2026-07-08 07:38:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820897 -2.865699)'), GeomFromEWKT('SRID=4674;POINT (-39.820879 -2.865673)'))) / (select extract(epoch from '2026-07-08 07:38:44'::timestamp) - extract(epoch from '2026-07-08 07:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820897 -2.865699)'), GeomFromEWKT('SRID=4674;POINT (-39.820879 -2.865673)'))) / (select extract(epoch from '2026-07-08 07:38:44'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.820902 -2.865628)', '2026-07-08 07:38:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820879 -2.865673)'), GeomFromEWKT('SRID=4674;POINT (-39.820902 -2.865628)'))) / (select extract(epoch from '2026-07-08 07:38:53'::timestamp) - extract(epoch from '2026-07-08 07:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820879 -2.865673)'), GeomFromEWKT('SRID=4674;POINT (-39.820902 -2.865628)'))) / (select extract(epoch from '2026-07-08 07:38:53'::timestamp) - extract(epoch from '2026-07-08 07:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820905 -2.86556)', '2026-07-08 07:39:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820902 -2.865628)'), GeomFromEWKT('SRID=4674;POINT (-39.820905 -2.86556)'))) / (select extract(epoch from '2026-07-08 07:39:05'::timestamp) - extract(epoch from '2026-07-08 07:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820902 -2.865628)'), GeomFromEWKT('SRID=4674;POINT (-39.820905 -2.86556)'))) / (select extract(epoch from '2026-07-08 07:39:05'::timestamp) - extract(epoch from '2026-07-08 07:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820896 -2.865521)', '2026-07-08 07:39:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820905 -2.86556)'), GeomFromEWKT('SRID=4674;POINT (-39.820896 -2.865521)'))) / (select extract(epoch from '2026-07-08 07:39:16'::timestamp) - extract(epoch from '2026-07-08 07:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820905 -2.86556)'), GeomFromEWKT('SRID=4674;POINT (-39.820896 -2.865521)'))) / (select extract(epoch from '2026-07-08 07:39:16'::timestamp) - extract(epoch from '2026-07-08 07:39:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820885 -2.865513)', '2026-07-08 07:39:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820896 -2.865521)'), GeomFromEWKT('SRID=4674;POINT (-39.820885 -2.865513)'))) / (select extract(epoch from '2026-07-08 07:39:28'::timestamp) - extract(epoch from '2026-07-08 07:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820896 -2.865521)'), GeomFromEWKT('SRID=4674;POINT (-39.820885 -2.865513)'))) / (select extract(epoch from '2026-07-08 07:39:28'::timestamp) - extract(epoch from '2026-07-08 07:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82088 -2.865533)', '2026-07-08 07:39:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820885 -2.865513)'), GeomFromEWKT('SRID=4674;POINT (-39.82088 -2.865533)'))) / (select extract(epoch from '2026-07-08 07:39:37'::timestamp) - extract(epoch from '2026-07-08 07:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820885 -2.865513)'), GeomFromEWKT('SRID=4674;POINT (-39.82088 -2.865533)'))) / (select extract(epoch from '2026-07-08 07:39:37'::timestamp) - extract(epoch from '2026-07-08 07:39:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820887 -2.865565)', '2026-07-08 07:39:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82088 -2.865533)'), GeomFromEWKT('SRID=4674;POINT (-39.820887 -2.865565)'))) / (select extract(epoch from '2026-07-08 07:39:45'::timestamp) - extract(epoch from '2026-07-08 07:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82088 -2.865533)'), GeomFromEWKT('SRID=4674;POINT (-39.820887 -2.865565)'))) / (select extract(epoch from '2026-07-08 07:39:45'::timestamp) - extract(epoch from '2026-07-08 07:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820918 -2.865611)', '2026-07-08 07:39:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820887 -2.865565)'), GeomFromEWKT('SRID=4674;POINT (-39.820918 -2.865611)'))) / (select extract(epoch from '2026-07-08 07:39:54'::timestamp) - extract(epoch from '2026-07-08 07:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820887 -2.865565)'), GeomFromEWKT('SRID=4674;POINT (-39.820918 -2.865611)'))) / (select extract(epoch from '2026-07-08 07:39:54'::timestamp) - extract(epoch from '2026-07-08 07:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820943 -2.865657)', '2026-07-08 07:40:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820918 -2.865611)'), GeomFromEWKT('SRID=4674;POINT (-39.820943 -2.865657)'))) / (select extract(epoch from '2026-07-08 07:40:02'::timestamp) - extract(epoch from '2026-07-08 07:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820918 -2.865611)'), GeomFromEWKT('SRID=4674;POINT (-39.820943 -2.865657)'))) / (select extract(epoch from '2026-07-08 07:40:02'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.820952 -2.865667)', '2026-07-08 07:40:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820943 -2.865657)'), GeomFromEWKT('SRID=4674;POINT (-39.820952 -2.865667)'))) / (select extract(epoch from '2026-07-08 07:40:04'::timestamp) - extract(epoch from '2026-07-08 07:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820943 -2.865657)'), GeomFromEWKT('SRID=4674;POINT (-39.820952 -2.865667)'))) / (select extract(epoch from '2026-07-08 07:40:04'::timestamp) - extract(epoch from '2026-07-08 07:40:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820977 -2.865697)', '2026-07-08 07:40:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820952 -2.865667)'), GeomFromEWKT('SRID=4674;POINT (-39.820977 -2.865697)'))) / (select extract(epoch from '2026-07-08 07:40:09'::timestamp) - extract(epoch from '2026-07-08 07:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820952 -2.865667)'), GeomFromEWKT('SRID=4674;POINT (-39.820977 -2.865697)'))) / (select extract(epoch from '2026-07-08 07:40:09'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.821034 -2.865738)', '2026-07-08 07:40:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820977 -2.865697)'), GeomFromEWKT('SRID=4674;POINT (-39.821034 -2.865738)'))) / (select extract(epoch from '2026-07-08 07:40:16'::timestamp) - extract(epoch from '2026-07-08 07:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820977 -2.865697)'), GeomFromEWKT('SRID=4674;POINT (-39.821034 -2.865738)'))) / (select extract(epoch from '2026-07-08 07:40:16'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.821096 -2.865791)', '2026-07-08 07:40:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821034 -2.865738)'), GeomFromEWKT('SRID=4674;POINT (-39.821096 -2.865791)'))) / (select extract(epoch from '2026-07-08 07:40:23'::timestamp) - extract(epoch from '2026-07-08 07:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821034 -2.865738)'), GeomFromEWKT('SRID=4674;POINT (-39.821096 -2.865791)'))) / (select extract(epoch from '2026-07-08 07:40:23'::timestamp) - extract(epoch from '2026-07-08 07:40:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821157 -2.865845)', '2026-07-08 07:40:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821096 -2.865791)'), GeomFromEWKT('SRID=4674;POINT (-39.821157 -2.865845)'))) / (select extract(epoch from '2026-07-08 07:40:30'::timestamp) - extract(epoch from '2026-07-08 07:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821096 -2.865791)'), GeomFromEWKT('SRID=4674;POINT (-39.821157 -2.865845)'))) / (select extract(epoch from '2026-07-08 07:40:30'::timestamp) - extract(epoch from '2026-07-08 07:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821237 -2.865902)', '2026-07-08 07:40:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821157 -2.865845)'), GeomFromEWKT('SRID=4674;POINT (-39.821237 -2.865902)'))) / (select extract(epoch from '2026-07-08 07:40:38'::timestamp) - extract(epoch from '2026-07-08 07:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821157 -2.865845)'), GeomFromEWKT('SRID=4674;POINT (-39.821237 -2.865902)'))) / (select extract(epoch from '2026-07-08 07:40:38'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.8213 -2.865967)', '2026-07-08 07:40:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821237 -2.865902)'), GeomFromEWKT('SRID=4674;POINT (-39.8213 -2.865967)'))) / (select extract(epoch from '2026-07-08 07:40:44'::timestamp) - extract(epoch from '2026-07-08 07:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821237 -2.865902)'), GeomFromEWKT('SRID=4674;POINT (-39.8213 -2.865967)'))) / (select extract(epoch from '2026-07-08 07:40:44'::timestamp) - extract(epoch from '2026-07-08 07:40:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821308 -2.866058)', '2026-07-08 07:40:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8213 -2.865967)'), GeomFromEWKT('SRID=4674;POINT (-39.821308 -2.866058)'))) / (select extract(epoch from '2026-07-08 07:40:52'::timestamp) - extract(epoch from '2026-07-08 07:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8213 -2.865967)'), GeomFromEWKT('SRID=4674;POINT (-39.821308 -2.866058)'))) / (select extract(epoch from '2026-07-08 07:40:52'::timestamp) - extract(epoch from '2026-07-08 07:40:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.82127 -2.866079)', '2026-07-08 07:40:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821308 -2.866058)'), GeomFromEWKT('SRID=4674;POINT (-39.82127 -2.866079)'))) / (select extract(epoch from '2026-07-08 07:40:59'::timestamp) - extract(epoch from '2026-07-08 07:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821308 -2.866058)'), GeomFromEWKT('SRID=4674;POINT (-39.82127 -2.866079)'))) / (select extract(epoch from '2026-07-08 07:40:59'::timestamp) - extract(epoch from '2026-07-08 07:40:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821179 -2.866068)', '2026-07-08 07:41:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82127 -2.866079)'), GeomFromEWKT('SRID=4674;POINT (-39.821179 -2.866068)'))) / (select extract(epoch from '2026-07-08 07:41:09'::timestamp) - extract(epoch from '2026-07-08 07:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82127 -2.866079)'), GeomFromEWKT('SRID=4674;POINT (-39.821179 -2.866068)'))) / (select extract(epoch from '2026-07-08 07:41:09'::timestamp) - extract(epoch from '2026-07-08 07:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.821096 -2.866062)', '2026-07-08 07:41:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821179 -2.866068)'), GeomFromEWKT('SRID=4674;POINT (-39.821096 -2.866062)'))) / (select extract(epoch from '2026-07-08 07:41:16'::timestamp) - extract(epoch from '2026-07-08 07:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821179 -2.866068)'), GeomFromEWKT('SRID=4674;POINT (-39.821096 -2.866062)'))) / (select extract(epoch from '2026-07-08 07:41:16'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.821013 -2.866037)', '2026-07-08 07:41:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821096 -2.866062)'), GeomFromEWKT('SRID=4674;POINT (-39.821013 -2.866037)'))) / (select extract(epoch from '2026-07-08 07:41:24'::timestamp) - extract(epoch from '2026-07-08 07:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821096 -2.866062)'), GeomFromEWKT('SRID=4674;POINT (-39.821013 -2.866037)'))) / (select extract(epoch from '2026-07-08 07:41:24'::timestamp) - extract(epoch from '2026-07-08 07:41:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820949 -2.866018)', '2026-07-08 07:41:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821013 -2.866037)'), GeomFromEWKT('SRID=4674;POINT (-39.820949 -2.866018)'))) / (select extract(epoch from '2026-07-08 07:41:29'::timestamp) - extract(epoch from '2026-07-08 07:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.821013 -2.866037)'), GeomFromEWKT('SRID=4674;POINT (-39.820949 -2.866018)'))) / (select extract(epoch from '2026-07-08 07:41:29'::timestamp) - extract(epoch from '2026-07-08 07:41:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820875 -2.865984)', '2026-07-08 07:41:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820949 -2.866018)'), GeomFromEWKT('SRID=4674;POINT (-39.820875 -2.865984)'))) / (select extract(epoch from '2026-07-08 07:41:35'::timestamp) - extract(epoch from '2026-07-08 07:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820949 -2.866018)'), GeomFromEWKT('SRID=4674;POINT (-39.820875 -2.865984)'))) / (select extract(epoch from '2026-07-08 07:41:35'::timestamp) - extract(epoch from '2026-07-08 07:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820771 -2.865928)', '2026-07-08 07:41:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820875 -2.865984)'), GeomFromEWKT('SRID=4674;POINT (-39.820771 -2.865928)'))) / (select extract(epoch from '2026-07-08 07:41:43'::timestamp) - extract(epoch from '2026-07-08 07:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820875 -2.865984)'), GeomFromEWKT('SRID=4674;POINT (-39.820771 -2.865928)'))) / (select extract(epoch from '2026-07-08 07:41:43'::timestamp) - extract(epoch from '2026-07-08 07:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820675 -2.865887)', '2026-07-08 07:41:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820771 -2.865928)'), GeomFromEWKT('SRID=4674;POINT (-39.820675 -2.865887)'))) / (select extract(epoch from '2026-07-08 07:41:50'::timestamp) - extract(epoch from '2026-07-08 07:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820771 -2.865928)'), GeomFromEWKT('SRID=4674;POINT (-39.820675 -2.865887)'))) / (select extract(epoch from '2026-07-08 07:41:50'::timestamp) - extract(epoch from '2026-07-08 07:41:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820639 -2.86586)', '2026-07-08 07:41:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820675 -2.865887)'), GeomFromEWKT('SRID=4674;POINT (-39.820639 -2.86586)'))) / (select extract(epoch from '2026-07-08 07:41:53'::timestamp) - extract(epoch from '2026-07-08 07:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820675 -2.865887)'), GeomFromEWKT('SRID=4674;POINT (-39.820639 -2.86586)'))) / (select extract(epoch from '2026-07-08 07:41:53'::timestamp) - extract(epoch from '2026-07-08 07:41:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820601 -2.865837)', '2026-07-08 07:41:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820639 -2.86586)'), GeomFromEWKT('SRID=4674;POINT (-39.820601 -2.865837)'))) / (select extract(epoch from '2026-07-08 07:41:56'::timestamp) - extract(epoch from '2026-07-08 07:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820639 -2.86586)'), GeomFromEWKT('SRID=4674;POINT (-39.820601 -2.865837)'))) / (select extract(epoch from '2026-07-08 07:41:56'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.820542 -2.865793)', '2026-07-08 07:42:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820601 -2.865837)'), GeomFromEWKT('SRID=4674;POINT (-39.820542 -2.865793)'))) / (select extract(epoch from '2026-07-08 07:42:02'::timestamp) - extract(epoch from '2026-07-08 07:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820601 -2.865837)'), GeomFromEWKT('SRID=4674;POINT (-39.820542 -2.865793)'))) / (select extract(epoch from '2026-07-08 07:42:02'::timestamp) - extract(epoch from '2026-07-08 07:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820444 -2.865753)', '2026-07-08 07:42:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820542 -2.865793)'), GeomFromEWKT('SRID=4674;POINT (-39.820444 -2.865753)'))) / (select extract(epoch from '2026-07-08 07:42:10'::timestamp) - extract(epoch from '2026-07-08 07:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820542 -2.865793)'), GeomFromEWKT('SRID=4674;POINT (-39.820444 -2.865753)'))) / (select extract(epoch from '2026-07-08 07:42:10'::timestamp) - extract(epoch from '2026-07-08 07:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820361 -2.865724)', '2026-07-08 07:42:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820444 -2.865753)'), GeomFromEWKT('SRID=4674;POINT (-39.820361 -2.865724)'))) / (select extract(epoch from '2026-07-08 07:42:18'::timestamp) - extract(epoch from '2026-07-08 07:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820444 -2.865753)'), GeomFromEWKT('SRID=4674;POINT (-39.820361 -2.865724)'))) / (select extract(epoch from '2026-07-08 07:42:18'::timestamp) - extract(epoch from '2026-07-08 07:42:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820299 -2.865687)', '2026-07-08 07:42:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820361 -2.865724)'), GeomFromEWKT('SRID=4674;POINT (-39.820299 -2.865687)'))) / (select extract(epoch from '2026-07-08 07:42:25'::timestamp) - extract(epoch from '2026-07-08 07:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820361 -2.865724)'), GeomFromEWKT('SRID=4674;POINT (-39.820299 -2.865687)'))) / (select extract(epoch from '2026-07-08 07:42:25'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.82029 -2.865683)', '2026-07-08 07:42:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820299 -2.865687)'), GeomFromEWKT('SRID=4674;POINT (-39.82029 -2.865683)'))) / (select extract(epoch from '2026-07-08 07:42:26'::timestamp) - extract(epoch from '2026-07-08 07:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820299 -2.865687)'), GeomFromEWKT('SRID=4674;POINT (-39.82029 -2.865683)'))) / (select extract(epoch from '2026-07-08 07:42:26'::timestamp) - extract(epoch from '2026-07-08 07:42:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820237 -2.865674)', '2026-07-08 07:42:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82029 -2.865683)'), GeomFromEWKT('SRID=4674;POINT (-39.820237 -2.865674)'))) / (select extract(epoch from '2026-07-08 07:42:30'::timestamp) - extract(epoch from '2026-07-08 07:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.82029 -2.865683)'), GeomFromEWKT('SRID=4674;POINT (-39.820237 -2.865674)'))) / (select extract(epoch from '2026-07-08 07:42:30'::timestamp) - extract(epoch from '2026-07-08 07:42:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820144 -2.86565)', '2026-07-08 07:42:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820237 -2.865674)'), GeomFromEWKT('SRID=4674;POINT (-39.820144 -2.86565)'))) / (select extract(epoch from '2026-07-08 07:42:37'::timestamp) - extract(epoch from '2026-07-08 07:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820237 -2.865674)'), GeomFromEWKT('SRID=4674;POINT (-39.820144 -2.86565)'))) / (select extract(epoch from '2026-07-08 07:42:37'::timestamp) - extract(epoch from '2026-07-08 07:42:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.820051 -2.865607)', '2026-07-08 07:42:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820144 -2.86565)'), GeomFromEWKT('SRID=4674;POINT (-39.820051 -2.865607)'))) / (select extract(epoch from '2026-07-08 07:42:44'::timestamp) - extract(epoch from '2026-07-08 07:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820144 -2.86565)'), GeomFromEWKT('SRID=4674;POINT (-39.820051 -2.865607)'))) / (select extract(epoch from '2026-07-08 07:42:44'::timestamp) - extract(epoch from '2026-07-08 07:42:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819961 -2.865585)', '2026-07-08 07:42:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820051 -2.865607)'), GeomFromEWKT('SRID=4674;POINT (-39.819961 -2.865585)'))) / (select extract(epoch from '2026-07-08 07:42:51'::timestamp) - extract(epoch from '2026-07-08 07:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.820051 -2.865607)'), GeomFromEWKT('SRID=4674;POINT (-39.819961 -2.865585)'))) / (select extract(epoch from '2026-07-08 07:42:51'::timestamp) - extract(epoch from '2026-07-08 07:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819857 -2.865565)', '2026-07-08 07:42:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819961 -2.865585)'), GeomFromEWKT('SRID=4674;POINT (-39.819857 -2.865565)'))) / (select extract(epoch from '2026-07-08 07:42:59'::timestamp) - extract(epoch from '2026-07-08 07:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819961 -2.865585)'), GeomFromEWKT('SRID=4674;POINT (-39.819857 -2.865565)'))) / (select extract(epoch from '2026-07-08 07:42:59'::timestamp) - extract(epoch from '2026-07-08 07:42:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819751 -2.865521)', '2026-07-08 07:43:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819857 -2.865565)'), GeomFromEWKT('SRID=4674;POINT (-39.819751 -2.865521)'))) / (select extract(epoch from '2026-07-08 07:43:07'::timestamp) - extract(epoch from '2026-07-08 07:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819857 -2.865565)'), GeomFromEWKT('SRID=4674;POINT (-39.819751 -2.865521)'))) / (select extract(epoch from '2026-07-08 07:43:07'::timestamp) - extract(epoch from '2026-07-08 07:42:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819667 -2.865501)', '2026-07-08 07:43:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819751 -2.865521)'), GeomFromEWKT('SRID=4674;POINT (-39.819667 -2.865501)'))) / (select extract(epoch from '2026-07-08 07:43:13'::timestamp) - extract(epoch from '2026-07-08 07:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819751 -2.865521)'), GeomFromEWKT('SRID=4674;POINT (-39.819667 -2.865501)'))) / (select extract(epoch from '2026-07-08 07:43:13'::timestamp) - extract(epoch from '2026-07-08 07:43:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819597 -2.865476)', '2026-07-08 07:43:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819667 -2.865501)'), GeomFromEWKT('SRID=4674;POINT (-39.819597 -2.865476)'))) / (select extract(epoch from '2026-07-08 07:43:19'::timestamp) - extract(epoch from '2026-07-08 07:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819667 -2.865501)'), GeomFromEWKT('SRID=4674;POINT (-39.819597 -2.865476)'))) / (select extract(epoch from '2026-07-08 07:43:19'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.819516 -2.865455)', '2026-07-08 07:43:25', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819597 -2.865476)'), GeomFromEWKT('SRID=4674;POINT (-39.819516 -2.865455)'))) / (select extract(epoch from '2026-07-08 07:43:25'::timestamp) - extract(epoch from '2026-07-08 07:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819597 -2.865476)'), GeomFromEWKT('SRID=4674;POINT (-39.819516 -2.865455)'))) / (select extract(epoch from '2026-07-08 07:43:25'::timestamp) - extract(epoch from '2026-07-08 07:43:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819443 -2.865484)', '2026-07-08 07:43:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819516 -2.865455)'), GeomFromEWKT('SRID=4674;POINT (-39.819443 -2.865484)'))) / (select extract(epoch from '2026-07-08 07:43:31'::timestamp) - extract(epoch from '2026-07-08 07:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819516 -2.865455)'), GeomFromEWKT('SRID=4674;POINT (-39.819443 -2.865484)'))) / (select extract(epoch from '2026-07-08 07:43:31'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.819365 -2.865498)', '2026-07-08 07:43:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819443 -2.865484)'), GeomFromEWKT('SRID=4674;POINT (-39.819365 -2.865498)'))) / (select extract(epoch from '2026-07-08 07:43:38'::timestamp) - extract(epoch from '2026-07-08 07:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819443 -2.865484)'), GeomFromEWKT('SRID=4674;POINT (-39.819365 -2.865498)'))) / (select extract(epoch from '2026-07-08 07:43:38'::timestamp) - extract(epoch from '2026-07-08 07:43:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819284 -2.865499)', '2026-07-08 07:43:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819365 -2.865498)'), GeomFromEWKT('SRID=4674;POINT (-39.819284 -2.865499)'))) / (select extract(epoch from '2026-07-08 07:43:46'::timestamp) - extract(epoch from '2026-07-08 07:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819365 -2.865498)'), GeomFromEWKT('SRID=4674;POINT (-39.819284 -2.865499)'))) / (select extract(epoch from '2026-07-08 07:43:46'::timestamp) - extract(epoch from '2026-07-08 07:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819249 -2.865466)', '2026-07-08 07:43:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819284 -2.865499)'), GeomFromEWKT('SRID=4674;POINT (-39.819249 -2.865466)'))) / (select extract(epoch from '2026-07-08 07:43:56'::timestamp) - extract(epoch from '2026-07-08 07:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819284 -2.865499)'), GeomFromEWKT('SRID=4674;POINT (-39.819249 -2.865466)'))) / (select extract(epoch from '2026-07-08 07:43:56'::timestamp) - extract(epoch from '2026-07-08 07:43:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819249 -2.865444)', '2026-07-08 07:44:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819249 -2.865466)'), GeomFromEWKT('SRID=4674;POINT (-39.819249 -2.865444)'))) / (select extract(epoch from '2026-07-08 07:44:05'::timestamp) - extract(epoch from '2026-07-08 07:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819249 -2.865466)'), GeomFromEWKT('SRID=4674;POINT (-39.819249 -2.865444)'))) / (select extract(epoch from '2026-07-08 07:44:05'::timestamp) - extract(epoch from '2026-07-08 07:43:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819262 -2.865431)', '2026-07-08 07:44:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819249 -2.865444)'), GeomFromEWKT('SRID=4674;POINT (-39.819262 -2.865431)'))) / (select extract(epoch from '2026-07-08 07:44:24'::timestamp) - extract(epoch from '2026-07-08 07:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819249 -2.865444)'), GeomFromEWKT('SRID=4674;POINT (-39.819262 -2.865431)'))) / (select extract(epoch from '2026-07-08 07:44:24'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.819286 -2.865445)', '2026-07-08 07:44:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819262 -2.865431)'), GeomFromEWKT('SRID=4674;POINT (-39.819286 -2.865445)'))) / (select extract(epoch from '2026-07-08 07:44:34'::timestamp) - extract(epoch from '2026-07-08 07:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819262 -2.865431)'), GeomFromEWKT('SRID=4674;POINT (-39.819286 -2.865445)'))) / (select extract(epoch from '2026-07-08 07:44:34'::timestamp) - extract(epoch from '2026-07-08 07:44:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819311 -2.865469)', '2026-07-08 07:44:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819286 -2.865445)'), GeomFromEWKT('SRID=4674;POINT (-39.819311 -2.865469)'))) / (select extract(epoch from '2026-07-08 07:44:42'::timestamp) - extract(epoch from '2026-07-08 07:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819286 -2.865445)'), GeomFromEWKT('SRID=4674;POINT (-39.819311 -2.865469)'))) / (select extract(epoch from '2026-07-08 07:44:42'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.819342 -2.86549)', '2026-07-08 07:44:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819311 -2.865469)'), GeomFromEWKT('SRID=4674;POINT (-39.819342 -2.86549)'))) / (select extract(epoch from '2026-07-08 07:44:50'::timestamp) - extract(epoch from '2026-07-08 07:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819311 -2.865469)'), GeomFromEWKT('SRID=4674;POINT (-39.819342 -2.86549)'))) / (select extract(epoch from '2026-07-08 07:44:50'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.819343 -2.86551)', '2026-07-08 07:45:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819342 -2.86549)'), GeomFromEWKT('SRID=4674;POINT (-39.819343 -2.86551)'))) / (select extract(epoch from '2026-07-08 07:45:01'::timestamp) - extract(epoch from '2026-07-08 07:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819342 -2.86549)'), GeomFromEWKT('SRID=4674;POINT (-39.819343 -2.86551)'))) / (select extract(epoch from '2026-07-08 07:45:01'::timestamp) - extract(epoch from '2026-07-08 07:44:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819303 -2.865517)', '2026-07-08 07:45:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819343 -2.86551)'), GeomFromEWKT('SRID=4674;POINT (-39.819303 -2.865517)'))) / (select extract(epoch from '2026-07-08 07:45:08'::timestamp) - extract(epoch from '2026-07-08 07:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819343 -2.86551)'), GeomFromEWKT('SRID=4674;POINT (-39.819303 -2.865517)'))) / (select extract(epoch from '2026-07-08 07:45:08'::timestamp) - extract(epoch from '2026-07-08 07:45:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.81926 -2.865513)', '2026-07-08 07:45:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819303 -2.865517)'), GeomFromEWKT('SRID=4674;POINT (-39.81926 -2.865513)'))) / (select extract(epoch from '2026-07-08 07:45:18'::timestamp) - extract(epoch from '2026-07-08 07:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819303 -2.865517)'), GeomFromEWKT('SRID=4674;POINT (-39.81926 -2.865513)'))) / (select extract(epoch from '2026-07-08 07:45:18'::timestamp) - extract(epoch from '2026-07-08 07:45:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819227 -2.865527)', '2026-07-08 07:45:27', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81926 -2.865513)'), GeomFromEWKT('SRID=4674;POINT (-39.819227 -2.865527)'))) / (select extract(epoch from '2026-07-08 07:45:27'::timestamp) - extract(epoch from '2026-07-08 07:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81926 -2.865513)'), GeomFromEWKT('SRID=4674;POINT (-39.819227 -2.865527)'))) / (select extract(epoch from '2026-07-08 07:45:27'::timestamp) - extract(epoch from '2026-07-08 07:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819196 -2.865573)', '2026-07-08 07:45:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819227 -2.865527)'), GeomFromEWKT('SRID=4674;POINT (-39.819196 -2.865573)'))) / (select extract(epoch from '2026-07-08 07:45:38'::timestamp) - extract(epoch from '2026-07-08 07:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819227 -2.865527)'), GeomFromEWKT('SRID=4674;POINT (-39.819196 -2.865573)'))) / (select extract(epoch from '2026-07-08 07:45:38'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.819235 -2.865647)', '2026-07-08 07:45:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819196 -2.865573)'), GeomFromEWKT('SRID=4674;POINT (-39.819235 -2.865647)'))) / (select extract(epoch from '2026-07-08 07:45:50'::timestamp) - extract(epoch from '2026-07-08 07:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819196 -2.865573)'), GeomFromEWKT('SRID=4674;POINT (-39.819235 -2.865647)'))) / (select extract(epoch from '2026-07-08 07:45:50'::timestamp) - extract(epoch from '2026-07-08 07:45:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819312 -2.865659)', '2026-07-08 07:45:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819235 -2.865647)'), GeomFromEWKT('SRID=4674;POINT (-39.819312 -2.865659)'))) / (select extract(epoch from '2026-07-08 07:45:59'::timestamp) - extract(epoch from '2026-07-08 07:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819235 -2.865647)'), GeomFromEWKT('SRID=4674;POINT (-39.819312 -2.865659)'))) / (select extract(epoch from '2026-07-08 07:45:59'::timestamp) - extract(epoch from '2026-07-08 07:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819355 -2.865621)', '2026-07-08 07:46:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819312 -2.865659)'), GeomFromEWKT('SRID=4674;POINT (-39.819355 -2.865621)'))) / (select extract(epoch from '2026-07-08 07:46:07'::timestamp) - extract(epoch from '2026-07-08 07:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819312 -2.865659)'), GeomFromEWKT('SRID=4674;POINT (-39.819355 -2.865621)'))) / (select extract(epoch from '2026-07-08 07:46:07'::timestamp) - extract(epoch from '2026-07-08 07:45:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819373 -2.86556)', '2026-07-08 07:46:20', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819355 -2.865621)'), GeomFromEWKT('SRID=4674;POINT (-39.819373 -2.86556)'))) / (select extract(epoch from '2026-07-08 07:46:20'::timestamp) - extract(epoch from '2026-07-08 07:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819355 -2.865621)'), GeomFromEWKT('SRID=4674;POINT (-39.819373 -2.86556)'))) / (select extract(epoch from '2026-07-08 07:46:20'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.819377 -2.865551)', '2026-07-08 07:46:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819373 -2.86556)'), GeomFromEWKT('SRID=4674;POINT (-39.819377 -2.865551)'))) / (select extract(epoch from '2026-07-08 07:46:33'::timestamp) - extract(epoch from '2026-07-08 07:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819373 -2.86556)'), GeomFromEWKT('SRID=4674;POINT (-39.819377 -2.865551)'))) / (select extract(epoch from '2026-07-08 07:46:33'::timestamp) - extract(epoch from '2026-07-08 07:46:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819394 -2.865572)', '2026-07-08 07:46:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819377 -2.865551)'), GeomFromEWKT('SRID=4674;POINT (-39.819394 -2.865572)'))) / (select extract(epoch from '2026-07-08 07:46:42'::timestamp) - extract(epoch from '2026-07-08 07:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819377 -2.865551)'), GeomFromEWKT('SRID=4674;POINT (-39.819394 -2.865572)'))) / (select extract(epoch from '2026-07-08 07:46:42'::timestamp) - extract(epoch from '2026-07-08 07:46:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819369 -2.865601)', '2026-07-08 07:46:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819394 -2.865572)'), GeomFromEWKT('SRID=4674;POINT (-39.819369 -2.865601)'))) / (select extract(epoch from '2026-07-08 07:46:53'::timestamp) - extract(epoch from '2026-07-08 07:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819394 -2.865572)'), GeomFromEWKT('SRID=4674;POINT (-39.819369 -2.865601)'))) / (select extract(epoch from '2026-07-08 07:46:53'::timestamp) - extract(epoch from '2026-07-08 07:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819326 -2.865547)', '2026-07-08 07:47:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819369 -2.865601)'), GeomFromEWKT('SRID=4674;POINT (-39.819326 -2.865547)'))) / (select extract(epoch from '2026-07-08 07:47:02'::timestamp) - extract(epoch from '2026-07-08 07:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819369 -2.865601)'), GeomFromEWKT('SRID=4674;POINT (-39.819326 -2.865547)'))) / (select extract(epoch from '2026-07-08 07:47:02'::timestamp) - extract(epoch from '2026-07-08 07:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.81933 -2.865475)', '2026-07-08 07:47:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819326 -2.865547)'), GeomFromEWKT('SRID=4674;POINT (-39.81933 -2.865475)'))) / (select extract(epoch from '2026-07-08 07:47:08'::timestamp) - extract(epoch from '2026-07-08 07:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819326 -2.865547)'), GeomFromEWKT('SRID=4674;POINT (-39.81933 -2.865475)'))) / (select extract(epoch from '2026-07-08 07:47:08'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.819378 -2.865368)', '2026-07-08 07:47:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81933 -2.865475)'), GeomFromEWKT('SRID=4674;POINT (-39.819378 -2.865368)'))) / (select extract(epoch from '2026-07-08 07:47:16'::timestamp) - extract(epoch from '2026-07-08 07:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81933 -2.865475)'), GeomFromEWKT('SRID=4674;POINT (-39.819378 -2.865368)'))) / (select extract(epoch from '2026-07-08 07:47:16'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.81942 -2.865262)', '2026-07-08 07:47:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819378 -2.865368)'), GeomFromEWKT('SRID=4674;POINT (-39.81942 -2.865262)'))) / (select extract(epoch from '2026-07-08 07:47:23'::timestamp) - extract(epoch from '2026-07-08 07:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819378 -2.865368)'), GeomFromEWKT('SRID=4674;POINT (-39.81942 -2.865262)'))) / (select extract(epoch from '2026-07-08 07:47:23'::timestamp) - extract(epoch from '2026-07-08 07:47:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819456 -2.865161)', '2026-07-08 07:47:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81942 -2.865262)'), GeomFromEWKT('SRID=4674;POINT (-39.819456 -2.865161)'))) / (select extract(epoch from '2026-07-08 07:47:29'::timestamp) - extract(epoch from '2026-07-08 07:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81942 -2.865262)'), GeomFromEWKT('SRID=4674;POINT (-39.819456 -2.865161)'))) / (select extract(epoch from '2026-07-08 07:47:29'::timestamp) - extract(epoch from '2026-07-08 07:47:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819452 -2.865145)', '2026-07-08 07:47:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819456 -2.865161)'), GeomFromEWKT('SRID=4674;POINT (-39.819452 -2.865145)'))) / (select extract(epoch from '2026-07-08 07:47:30'::timestamp) - extract(epoch from '2026-07-08 07:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819456 -2.865161)'), GeomFromEWKT('SRID=4674;POINT (-39.819452 -2.865145)'))) / (select extract(epoch from '2026-07-08 07:47:30'::timestamp) - extract(epoch from '2026-07-08 07:47:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819424 -2.865075)', '2026-07-08 07:47:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819452 -2.865145)'), GeomFromEWKT('SRID=4674;POINT (-39.819424 -2.865075)'))) / (select extract(epoch from '2026-07-08 07:47:35'::timestamp) - extract(epoch from '2026-07-08 07:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819452 -2.865145)'), GeomFromEWKT('SRID=4674;POINT (-39.819424 -2.865075)'))) / (select extract(epoch from '2026-07-08 07:47:35'::timestamp) - extract(epoch from '2026-07-08 07:47:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819413 -2.865069)', '2026-07-08 07:47:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819424 -2.865075)'), GeomFromEWKT('SRID=4674;POINT (-39.819413 -2.865069)'))) / (select extract(epoch from '2026-07-08 07:47:36'::timestamp) - extract(epoch from '2026-07-08 07:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819424 -2.865075)'), GeomFromEWKT('SRID=4674;POINT (-39.819413 -2.865069)'))) / (select extract(epoch from '2026-07-08 07:47:36'::timestamp) - extract(epoch from '2026-07-08 07:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819331 -2.865037)', '2026-07-08 07:47:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819413 -2.865069)'), GeomFromEWKT('SRID=4674;POINT (-39.819331 -2.865037)'))) / (select extract(epoch from '2026-07-08 07:47:44'::timestamp) - extract(epoch from '2026-07-08 07:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819413 -2.865069)'), GeomFromEWKT('SRID=4674;POINT (-39.819331 -2.865037)'))) / (select extract(epoch from '2026-07-08 07:47:44'::timestamp) - extract(epoch from '2026-07-08 07:47:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819231 -2.865019)', '2026-07-08 07:47:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819331 -2.865037)'), GeomFromEWKT('SRID=4674;POINT (-39.819231 -2.865019)'))) / (select extract(epoch from '2026-07-08 07:47:52'::timestamp) - extract(epoch from '2026-07-08 07:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819331 -2.865037)'), GeomFromEWKT('SRID=4674;POINT (-39.819231 -2.865019)'))) / (select extract(epoch from '2026-07-08 07:47:52'::timestamp) - extract(epoch from '2026-07-08 07:47:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819133 -2.865009)', '2026-07-08 07:47:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819231 -2.865019)'), GeomFromEWKT('SRID=4674;POINT (-39.819133 -2.865009)'))) / (select extract(epoch from '2026-07-08 07:47:59'::timestamp) - extract(epoch from '2026-07-08 07:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819231 -2.865019)'), GeomFromEWKT('SRID=4674;POINT (-39.819133 -2.865009)'))) / (select extract(epoch from '2026-07-08 07:47:59'::timestamp) - extract(epoch from '2026-07-08 07:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.819029 -2.864984)', '2026-07-08 07:48:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819133 -2.865009)'), GeomFromEWKT('SRID=4674;POINT (-39.819029 -2.864984)'))) / (select extract(epoch from '2026-07-08 07:48:06'::timestamp) - extract(epoch from '2026-07-08 07:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819133 -2.865009)'), GeomFromEWKT('SRID=4674;POINT (-39.819029 -2.864984)'))) / (select extract(epoch from '2026-07-08 07:48:06'::timestamp) - extract(epoch from '2026-07-08 07:47:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818936 -2.864978)', '2026-07-08 07:48:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819029 -2.864984)'), GeomFromEWKT('SRID=4674;POINT (-39.818936 -2.864978)'))) / (select extract(epoch from '2026-07-08 07:48:12'::timestamp) - extract(epoch from '2026-07-08 07:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.819029 -2.864984)'), GeomFromEWKT('SRID=4674;POINT (-39.818936 -2.864978)'))) / (select extract(epoch from '2026-07-08 07:48:12'::timestamp) - extract(epoch from '2026-07-08 07:48:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818848 -2.864965)', '2026-07-08 07:48:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818936 -2.864978)'), GeomFromEWKT('SRID=4674;POINT (-39.818848 -2.864965)'))) / (select extract(epoch from '2026-07-08 07:48:19'::timestamp) - extract(epoch from '2026-07-08 07:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818936 -2.864978)'), GeomFromEWKT('SRID=4674;POINT (-39.818848 -2.864965)'))) / (select extract(epoch from '2026-07-08 07:48:19'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.818779 -2.864957)', '2026-07-08 07:48:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818848 -2.864965)'), GeomFromEWKT('SRID=4674;POINT (-39.818779 -2.864957)'))) / (select extract(epoch from '2026-07-08 07:48:26'::timestamp) - extract(epoch from '2026-07-08 07:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818848 -2.864965)'), GeomFromEWKT('SRID=4674;POINT (-39.818779 -2.864957)'))) / (select extract(epoch from '2026-07-08 07:48:26'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.818698 -2.864944)', '2026-07-08 07:48:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818779 -2.864957)'), GeomFromEWKT('SRID=4674;POINT (-39.818698 -2.864944)'))) / (select extract(epoch from '2026-07-08 07:48:34'::timestamp) - extract(epoch from '2026-07-08 07:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818779 -2.864957)'), GeomFromEWKT('SRID=4674;POINT (-39.818698 -2.864944)'))) / (select extract(epoch from '2026-07-08 07:48:34'::timestamp) - extract(epoch from '2026-07-08 07:48:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818641 -2.864928)', '2026-07-08 07:48:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818698 -2.864944)'), GeomFromEWKT('SRID=4674;POINT (-39.818641 -2.864928)'))) / (select extract(epoch from '2026-07-08 07:48:40'::timestamp) - extract(epoch from '2026-07-08 07:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818698 -2.864944)'), GeomFromEWKT('SRID=4674;POINT (-39.818641 -2.864928)'))) / (select extract(epoch from '2026-07-08 07:48:40'::timestamp) - extract(epoch from '2026-07-08 07:48:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818577 -2.864897)', '2026-07-08 07:48:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818641 -2.864928)'), GeomFromEWKT('SRID=4674;POINT (-39.818577 -2.864897)'))) / (select extract(epoch from '2026-07-08 07:48:46'::timestamp) - extract(epoch from '2026-07-08 07:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818641 -2.864928)'), GeomFromEWKT('SRID=4674;POINT (-39.818577 -2.864897)'))) / (select extract(epoch from '2026-07-08 07:48:46'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.818472 -2.864869)', '2026-07-08 07:48:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818577 -2.864897)'), GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.864869)'))) / (select extract(epoch from '2026-07-08 07:48:54'::timestamp) - extract(epoch from '2026-07-08 07:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818577 -2.864897)'), GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.864869)'))) / (select extract(epoch from '2026-07-08 07:48:54'::timestamp) - extract(epoch from '2026-07-08 07:48:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818363 -2.86487)', '2026-07-08 07:49:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.864869)'), GeomFromEWKT('SRID=4674;POINT (-39.818363 -2.86487)'))) / (select extract(epoch from '2026-07-08 07:49:02'::timestamp) - extract(epoch from '2026-07-08 07:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818472 -2.864869)'), GeomFromEWKT('SRID=4674;POINT (-39.818363 -2.86487)'))) / (select extract(epoch from '2026-07-08 07:49:02'::timestamp) - extract(epoch from '2026-07-08 07:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.81833 -2.864879)', '2026-07-08 07:49:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818363 -2.86487)'), GeomFromEWKT('SRID=4674;POINT (-39.81833 -2.864879)'))) / (select extract(epoch from '2026-07-08 07:49:05'::timestamp) - extract(epoch from '2026-07-08 07:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818363 -2.86487)'), GeomFromEWKT('SRID=4674;POINT (-39.81833 -2.864879)'))) / (select extract(epoch from '2026-07-08 07:49:05'::timestamp) - extract(epoch from '2026-07-08 07:49:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818309 -2.864892)', '2026-07-08 07:49:07', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81833 -2.864879)'), GeomFromEWKT('SRID=4674;POINT (-39.818309 -2.864892)'))) / (select extract(epoch from '2026-07-08 07:49:07'::timestamp) - extract(epoch from '2026-07-08 07:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81833 -2.864879)'), GeomFromEWKT('SRID=4674;POINT (-39.818309 -2.864892)'))) / (select extract(epoch from '2026-07-08 07:49:07'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.818174 -2.864915)', '2026-07-08 07:49:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818309 -2.864892)'), GeomFromEWKT('SRID=4674;POINT (-39.818174 -2.864915)'))) / (select extract(epoch from '2026-07-08 07:49:17'::timestamp) - extract(epoch from '2026-07-08 07:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818309 -2.864892)'), GeomFromEWKT('SRID=4674;POINT (-39.818174 -2.864915)'))) / (select extract(epoch from '2026-07-08 07:49:17'::timestamp) - extract(epoch from '2026-07-08 07:49:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818095 -2.864945)', '2026-07-08 07:49:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818174 -2.864915)'), GeomFromEWKT('SRID=4674;POINT (-39.818095 -2.864945)'))) / (select extract(epoch from '2026-07-08 07:49:23'::timestamp) - extract(epoch from '2026-07-08 07:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818174 -2.864915)'), GeomFromEWKT('SRID=4674;POINT (-39.818095 -2.864945)'))) / (select extract(epoch from '2026-07-08 07:49:23'::timestamp) - extract(epoch from '2026-07-08 07:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818066 -2.864957)', '2026-07-08 07:49:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818095 -2.864945)'), GeomFromEWKT('SRID=4674;POINT (-39.818066 -2.864957)'))) / (select extract(epoch from '2026-07-08 07:49:25'::timestamp) - extract(epoch from '2026-07-08 07:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818095 -2.864945)'), GeomFromEWKT('SRID=4674;POINT (-39.818066 -2.864957)'))) / (select extract(epoch from '2026-07-08 07:49:25'::timestamp) - extract(epoch from '2026-07-08 07:49:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818028 -2.864984)', '2026-07-08 07:49:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818066 -2.864957)'), GeomFromEWKT('SRID=4674;POINT (-39.818028 -2.864984)'))) / (select extract(epoch from '2026-07-08 07:49:28'::timestamp) - extract(epoch from '2026-07-08 07:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818066 -2.864957)'), GeomFromEWKT('SRID=4674;POINT (-39.818028 -2.864984)'))) / (select extract(epoch from '2026-07-08 07:49:28'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.818011 -2.865005)', '2026-07-08 07:49:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818028 -2.864984)'), GeomFromEWKT('SRID=4674;POINT (-39.818011 -2.865005)'))) / (select extract(epoch from '2026-07-08 07:49:30'::timestamp) - extract(epoch from '2026-07-08 07:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818028 -2.864984)'), GeomFromEWKT('SRID=4674;POINT (-39.818011 -2.865005)'))) / (select extract(epoch from '2026-07-08 07:49:30'::timestamp) - extract(epoch from '2026-07-08 07:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817998 -2.865037)', '2026-07-08 07:49:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818011 -2.865005)'), GeomFromEWKT('SRID=4674;POINT (-39.817998 -2.865037)'))) / (select extract(epoch from '2026-07-08 07:49:33'::timestamp) - extract(epoch from '2026-07-08 07:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818011 -2.865005)'), GeomFromEWKT('SRID=4674;POINT (-39.817998 -2.865037)'))) / (select extract(epoch from '2026-07-08 07:49:33'::timestamp) - extract(epoch from '2026-07-08 07:49:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817997 -2.865117)', '2026-07-08 07:49:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817998 -2.865037)'), GeomFromEWKT('SRID=4674;POINT (-39.817997 -2.865117)'))) / (select extract(epoch from '2026-07-08 07:49:39'::timestamp) - extract(epoch from '2026-07-08 07:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817998 -2.865037)'), GeomFromEWKT('SRID=4674;POINT (-39.817997 -2.865117)'))) / (select extract(epoch from '2026-07-08 07:49:39'::timestamp) - extract(epoch from '2026-07-08 07:49:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818002 -2.865203)', '2026-07-08 07:49:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817997 -2.865117)'), GeomFromEWKT('SRID=4674;POINT (-39.818002 -2.865203)'))) / (select extract(epoch from '2026-07-08 07:49:46'::timestamp) - extract(epoch from '2026-07-08 07:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817997 -2.865117)'), GeomFromEWKT('SRID=4674;POINT (-39.818002 -2.865203)'))) / (select extract(epoch from '2026-07-08 07:49:46'::timestamp) - extract(epoch from '2026-07-08 07:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817984 -2.865261)', '2026-07-08 07:49:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818002 -2.865203)'), GeomFromEWKT('SRID=4674;POINT (-39.817984 -2.865261)'))) / (select extract(epoch from '2026-07-08 07:49:54'::timestamp) - extract(epoch from '2026-07-08 07:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818002 -2.865203)'), GeomFromEWKT('SRID=4674;POINT (-39.817984 -2.865261)'))) / (select extract(epoch from '2026-07-08 07:49:54'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.817928 -2.865282)', '2026-07-08 07:50:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817984 -2.865261)'), GeomFromEWKT('SRID=4674;POINT (-39.817928 -2.865282)'))) / (select extract(epoch from '2026-07-08 07:50:01'::timestamp) - extract(epoch from '2026-07-08 07:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817984 -2.865261)'), GeomFromEWKT('SRID=4674;POINT (-39.817928 -2.865282)'))) / (select extract(epoch from '2026-07-08 07:50:01'::timestamp) - extract(epoch from '2026-07-08 07:49:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817888 -2.865323)', '2026-07-08 07:50:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817928 -2.865282)'), GeomFromEWKT('SRID=4674;POINT (-39.817888 -2.865323)'))) / (select extract(epoch from '2026-07-08 07:50:08'::timestamp) - extract(epoch from '2026-07-08 07:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817928 -2.865282)'), GeomFromEWKT('SRID=4674;POINT (-39.817888 -2.865323)'))) / (select extract(epoch from '2026-07-08 07:50:08'::timestamp) - extract(epoch from '2026-07-08 07:50:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817878 -2.865362)', '2026-07-08 07:50:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817888 -2.865323)'), GeomFromEWKT('SRID=4674;POINT (-39.817878 -2.865362)'))) / (select extract(epoch from '2026-07-08 07:50:18'::timestamp) - extract(epoch from '2026-07-08 07:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817888 -2.865323)'), GeomFromEWKT('SRID=4674;POINT (-39.817878 -2.865362)'))) / (select extract(epoch from '2026-07-08 07:50:18'::timestamp) - extract(epoch from '2026-07-08 07:50:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817891 -2.865388)', '2026-07-08 07:50:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817878 -2.865362)'), GeomFromEWKT('SRID=4674;POINT (-39.817891 -2.865388)'))) / (select extract(epoch from '2026-07-08 07:50:26'::timestamp) - extract(epoch from '2026-07-08 07:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817878 -2.865362)'), GeomFromEWKT('SRID=4674;POINT (-39.817891 -2.865388)'))) / (select extract(epoch from '2026-07-08 07:50:26'::timestamp) - extract(epoch from '2026-07-08 07:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817888 -2.865419)', '2026-07-08 07:50:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817891 -2.865388)'), GeomFromEWKT('SRID=4674;POINT (-39.817888 -2.865419)'))) / (select extract(epoch from '2026-07-08 07:50:35'::timestamp) - extract(epoch from '2026-07-08 07:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817891 -2.865388)'), GeomFromEWKT('SRID=4674;POINT (-39.817888 -2.865419)'))) / (select extract(epoch from '2026-07-08 07:50:35'::timestamp) - extract(epoch from '2026-07-08 07:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817889 -2.865439)', '2026-07-08 07:50:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817888 -2.865419)'), GeomFromEWKT('SRID=4674;POINT (-39.817889 -2.865439)'))) / (select extract(epoch from '2026-07-08 07:50:44'::timestamp) - extract(epoch from '2026-07-08 07:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817888 -2.865419)'), GeomFromEWKT('SRID=4674;POINT (-39.817889 -2.865439)'))) / (select extract(epoch from '2026-07-08 07:50:44'::timestamp) - extract(epoch from '2026-07-08 07:50:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817888 -2.86547)', '2026-07-08 07:50:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817889 -2.865439)'), GeomFromEWKT('SRID=4674;POINT (-39.817888 -2.86547)'))) / (select extract(epoch from '2026-07-08 07:50:53'::timestamp) - extract(epoch from '2026-07-08 07:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817889 -2.865439)'), GeomFromEWKT('SRID=4674;POINT (-39.817888 -2.86547)'))) / (select extract(epoch from '2026-07-08 07:50:53'::timestamp) - extract(epoch from '2026-07-08 07:50:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.81792 -2.865513)', '2026-07-08 07:51:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817888 -2.86547)'), GeomFromEWKT('SRID=4674;POINT (-39.81792 -2.865513)'))) / (select extract(epoch from '2026-07-08 07:51:03'::timestamp) - extract(epoch from '2026-07-08 07:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817888 -2.86547)'), GeomFromEWKT('SRID=4674;POINT (-39.81792 -2.865513)'))) / (select extract(epoch from '2026-07-08 07:51:03'::timestamp) - extract(epoch from '2026-07-08 07:50:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817981 -2.865545)', '2026-07-08 07:51:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81792 -2.865513)'), GeomFromEWKT('SRID=4674;POINT (-39.817981 -2.865545)'))) / (select extract(epoch from '2026-07-08 07:51:13'::timestamp) - extract(epoch from '2026-07-08 07:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81792 -2.865513)'), GeomFromEWKT('SRID=4674;POINT (-39.817981 -2.865545)'))) / (select extract(epoch from '2026-07-08 07:51:13'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.818025 -2.865547)', '2026-07-08 07:51:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817981 -2.865545)'), GeomFromEWKT('SRID=4674;POINT (-39.818025 -2.865547)'))) / (select extract(epoch from '2026-07-08 07:51:19'::timestamp) - extract(epoch from '2026-07-08 07:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817981 -2.865545)'), GeomFromEWKT('SRID=4674;POINT (-39.818025 -2.865547)'))) / (select extract(epoch from '2026-07-08 07:51:19'::timestamp) - extract(epoch from '2026-07-08 07:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818099 -2.865535)', '2026-07-08 07:51:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818025 -2.865547)'), GeomFromEWKT('SRID=4674;POINT (-39.818099 -2.865535)'))) / (select extract(epoch from '2026-07-08 07:51:28'::timestamp) - extract(epoch from '2026-07-08 07:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818025 -2.865547)'), GeomFromEWKT('SRID=4674;POINT (-39.818099 -2.865535)'))) / (select extract(epoch from '2026-07-08 07:51:28'::timestamp) - extract(epoch from '2026-07-08 07:51:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818117 -2.865492)', '2026-07-08 07:51:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818099 -2.865535)'), GeomFromEWKT('SRID=4674;POINT (-39.818117 -2.865492)'))) / (select extract(epoch from '2026-07-08 07:51:36'::timestamp) - extract(epoch from '2026-07-08 07:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818099 -2.865535)'), GeomFromEWKT('SRID=4674;POINT (-39.818117 -2.865492)'))) / (select extract(epoch from '2026-07-08 07:51:36'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.818074 -2.865437)', '2026-07-08 07:51:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818117 -2.865492)'), GeomFromEWKT('SRID=4674;POINT (-39.818074 -2.865437)'))) / (select extract(epoch from '2026-07-08 07:51:46'::timestamp) - extract(epoch from '2026-07-08 07:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818117 -2.865492)'), GeomFromEWKT('SRID=4674;POINT (-39.818074 -2.865437)'))) / (select extract(epoch from '2026-07-08 07:51:46'::timestamp) - extract(epoch from '2026-07-08 07:51:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818026 -2.865409)', '2026-07-08 07:51:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818074 -2.865437)'), GeomFromEWKT('SRID=4674;POINT (-39.818026 -2.865409)'))) / (select extract(epoch from '2026-07-08 07:51:52'::timestamp) - extract(epoch from '2026-07-08 07:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818074 -2.865437)'), GeomFromEWKT('SRID=4674;POINT (-39.818026 -2.865409)'))) / (select extract(epoch from '2026-07-08 07:51:52'::timestamp) - extract(epoch from '2026-07-08 07:51:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818005 -2.865407)', '2026-07-08 07:51:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818026 -2.865409)'), GeomFromEWKT('SRID=4674;POINT (-39.818005 -2.865407)'))) / (select extract(epoch from '2026-07-08 07:51:54'::timestamp) - extract(epoch from '2026-07-08 07:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818026 -2.865409)'), GeomFromEWKT('SRID=4674;POINT (-39.818005 -2.865407)'))) / (select extract(epoch from '2026-07-08 07:51:54'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.81793 -2.865434)', '2026-07-08 07:52:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818005 -2.865407)'), GeomFromEWKT('SRID=4674;POINT (-39.81793 -2.865434)'))) / (select extract(epoch from '2026-07-08 07:52:02'::timestamp) - extract(epoch from '2026-07-08 07:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818005 -2.865407)'), GeomFromEWKT('SRID=4674;POINT (-39.81793 -2.865434)'))) / (select extract(epoch from '2026-07-08 07:52:02'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.817899 -2.86543)', '2026-07-08 07:52:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81793 -2.865434)'), GeomFromEWKT('SRID=4674;POINT (-39.817899 -2.86543)'))) / (select extract(epoch from '2026-07-08 07:52:10'::timestamp) - extract(epoch from '2026-07-08 07:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81793 -2.865434)'), GeomFromEWKT('SRID=4674;POINT (-39.817899 -2.86543)'))) / (select extract(epoch from '2026-07-08 07:52:10'::timestamp) - extract(epoch from '2026-07-08 07:52:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817877 -2.865405)', '2026-07-08 07:52:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817899 -2.86543)'), GeomFromEWKT('SRID=4674;POINT (-39.817877 -2.865405)'))) / (select extract(epoch from '2026-07-08 07:52:19'::timestamp) - extract(epoch from '2026-07-08 07:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817899 -2.86543)'), GeomFromEWKT('SRID=4674;POINT (-39.817877 -2.865405)'))) / (select extract(epoch from '2026-07-08 07:52:19'::timestamp) - extract(epoch from '2026-07-08 07:52:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817878 -2.865388)', '2026-07-08 07:52:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817877 -2.865405)'), GeomFromEWKT('SRID=4674;POINT (-39.817878 -2.865388)'))) / (select extract(epoch from '2026-07-08 07:52:31'::timestamp) - extract(epoch from '2026-07-08 07:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817877 -2.865405)'), GeomFromEWKT('SRID=4674;POINT (-39.817878 -2.865388)'))) / (select extract(epoch from '2026-07-08 07:52:31'::timestamp) - extract(epoch from '2026-07-08 07:52:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817919 -2.865409)', '2026-07-08 07:52:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817878 -2.865388)'), GeomFromEWKT('SRID=4674;POINT (-39.817919 -2.865409)'))) / (select extract(epoch from '2026-07-08 07:52:42'::timestamp) - extract(epoch from '2026-07-08 07:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817878 -2.865388)'), GeomFromEWKT('SRID=4674;POINT (-39.817919 -2.865409)'))) / (select extract(epoch from '2026-07-08 07:52:42'::timestamp) - extract(epoch from '2026-07-08 07:52:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817954 -2.865443)', '2026-07-08 07:52:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817919 -2.865409)'), GeomFromEWKT('SRID=4674;POINT (-39.817954 -2.865443)'))) / (select extract(epoch from '2026-07-08 07:52:51'::timestamp) - extract(epoch from '2026-07-08 07:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817919 -2.865409)'), GeomFromEWKT('SRID=4674;POINT (-39.817954 -2.865443)'))) / (select extract(epoch from '2026-07-08 07:52:51'::timestamp) - extract(epoch from '2026-07-08 07:52:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818012 -2.865489)', '2026-07-08 07:53:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817954 -2.865443)'), GeomFromEWKT('SRID=4674;POINT (-39.818012 -2.865489)'))) / (select extract(epoch from '2026-07-08 07:53:00'::timestamp) - extract(epoch from '2026-07-08 07:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817954 -2.865443)'), GeomFromEWKT('SRID=4674;POINT (-39.818012 -2.865489)'))) / (select extract(epoch from '2026-07-08 07:53:00'::timestamp) - extract(epoch from '2026-07-08 07:52:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818081 -2.865518)', '2026-07-08 07:53:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818012 -2.865489)'), GeomFromEWKT('SRID=4674;POINT (-39.818081 -2.865518)'))) / (select extract(epoch from '2026-07-08 07:53:08'::timestamp) - extract(epoch from '2026-07-08 07:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818012 -2.865489)'), GeomFromEWKT('SRID=4674;POINT (-39.818081 -2.865518)'))) / (select extract(epoch from '2026-07-08 07:53:08'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.818159 -2.865528)', '2026-07-08 07:53:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818081 -2.865518)'), GeomFromEWKT('SRID=4674;POINT (-39.818159 -2.865528)'))) / (select extract(epoch from '2026-07-08 07:53:15'::timestamp) - extract(epoch from '2026-07-08 07:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818081 -2.865518)'), GeomFromEWKT('SRID=4674;POINT (-39.818159 -2.865528)'))) / (select extract(epoch from '2026-07-08 07:53:15'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.818238 -2.865503)', '2026-07-08 07:53:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818159 -2.865528)'), GeomFromEWKT('SRID=4674;POINT (-39.818238 -2.865503)'))) / (select extract(epoch from '2026-07-08 07:53:22'::timestamp) - extract(epoch from '2026-07-08 07:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818159 -2.865528)'), GeomFromEWKT('SRID=4674;POINT (-39.818238 -2.865503)'))) / (select extract(epoch from '2026-07-08 07:53:22'::timestamp) - extract(epoch from '2026-07-08 07:53:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818256 -2.865491)', '2026-07-08 07:53:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818238 -2.865503)'), GeomFromEWKT('SRID=4674;POINT (-39.818256 -2.865491)'))) / (select extract(epoch from '2026-07-08 07:53:24'::timestamp) - extract(epoch from '2026-07-08 07:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818238 -2.865503)'), GeomFromEWKT('SRID=4674;POINT (-39.818256 -2.865491)'))) / (select extract(epoch from '2026-07-08 07:53:24'::timestamp) - extract(epoch from '2026-07-08 07:53:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818267 -2.865463)', '2026-07-08 07:53:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818256 -2.865491)'), GeomFromEWKT('SRID=4674;POINT (-39.818267 -2.865463)'))) / (select extract(epoch from '2026-07-08 07:53:27'::timestamp) - extract(epoch from '2026-07-08 07:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818256 -2.865491)'), GeomFromEWKT('SRID=4674;POINT (-39.818267 -2.865463)'))) / (select extract(epoch from '2026-07-08 07:53:27'::timestamp) - extract(epoch from '2026-07-08 07:53:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.81828 -2.865428)', '2026-07-08 07:53:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818267 -2.865463)'), GeomFromEWKT('SRID=4674;POINT (-39.81828 -2.865428)'))) / (select extract(epoch from '2026-07-08 07:53:34'::timestamp) - extract(epoch from '2026-07-08 07:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818267 -2.865463)'), GeomFromEWKT('SRID=4674;POINT (-39.81828 -2.865428)'))) / (select extract(epoch from '2026-07-08 07:53:34'::timestamp) - extract(epoch from '2026-07-08 07:53:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818313 -2.865393)', '2026-07-08 07:53:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81828 -2.865428)'), GeomFromEWKT('SRID=4674;POINT (-39.818313 -2.865393)'))) / (select extract(epoch from '2026-07-08 07:53:46'::timestamp) - extract(epoch from '2026-07-08 07:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81828 -2.865428)'), GeomFromEWKT('SRID=4674;POINT (-39.818313 -2.865393)'))) / (select extract(epoch from '2026-07-08 07:53:46'::timestamp) - extract(epoch from '2026-07-08 07:53:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818331 -2.865344)', '2026-07-08 07:54:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818313 -2.865393)'), GeomFromEWKT('SRID=4674;POINT (-39.818331 -2.865344)'))) / (select extract(epoch from '2026-07-08 07:54:02'::timestamp) - extract(epoch from '2026-07-08 07:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818313 -2.865393)'), GeomFromEWKT('SRID=4674;POINT (-39.818331 -2.865344)'))) / (select extract(epoch from '2026-07-08 07:54:02'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.818318 -2.865293)', '2026-07-08 07:54:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818331 -2.865344)'), GeomFromEWKT('SRID=4674;POINT (-39.818318 -2.865293)'))) / (select extract(epoch from '2026-07-08 07:54:14'::timestamp) - extract(epoch from '2026-07-08 07:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818331 -2.865344)'), GeomFromEWKT('SRID=4674;POINT (-39.818318 -2.865293)'))) / (select extract(epoch from '2026-07-08 07:54:14'::timestamp) - extract(epoch from '2026-07-08 07:54:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818307 -2.865249)', '2026-07-08 07:54:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818318 -2.865293)'), GeomFromEWKT('SRID=4674;POINT (-39.818307 -2.865249)'))) / (select extract(epoch from '2026-07-08 07:54:24'::timestamp) - extract(epoch from '2026-07-08 07:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818318 -2.865293)'), GeomFromEWKT('SRID=4674;POINT (-39.818307 -2.865249)'))) / (select extract(epoch from '2026-07-08 07:54:24'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.818299 -2.865233)', '2026-07-08 07:54:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818307 -2.865249)'), GeomFromEWKT('SRID=4674;POINT (-39.818299 -2.865233)'))) / (select extract(epoch from '2026-07-08 07:54:40'::timestamp) - extract(epoch from '2026-07-08 07:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818307 -2.865249)'), GeomFromEWKT('SRID=4674;POINT (-39.818299 -2.865233)'))) / (select extract(epoch from '2026-07-08 07:54:40'::timestamp) - extract(epoch from '2026-07-08 07:54:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818284 -2.865232)', '2026-07-08 07:54:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818299 -2.865233)'), GeomFromEWKT('SRID=4674;POINT (-39.818284 -2.865232)'))) / (select extract(epoch from '2026-07-08 07:54:49'::timestamp) - extract(epoch from '2026-07-08 07:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818299 -2.865233)'), GeomFromEWKT('SRID=4674;POINT (-39.818284 -2.865232)'))) / (select extract(epoch from '2026-07-08 07:54:49'::timestamp) - extract(epoch from '2026-07-08 07:54:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818262 -2.865249)', '2026-07-08 07:55:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818284 -2.865232)'), GeomFromEWKT('SRID=4674;POINT (-39.818262 -2.865249)'))) / (select extract(epoch from '2026-07-08 07:55:00'::timestamp) - extract(epoch from '2026-07-08 07:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818284 -2.865232)'), GeomFromEWKT('SRID=4674;POINT (-39.818262 -2.865249)'))) / (select extract(epoch from '2026-07-08 07:55:00'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.818225 -2.86524)', '2026-07-08 07:55:13', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818262 -2.865249)'), GeomFromEWKT('SRID=4674;POINT (-39.818225 -2.86524)'))) / (select extract(epoch from '2026-07-08 07:55:13'::timestamp) - extract(epoch from '2026-07-08 07:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818262 -2.865249)'), GeomFromEWKT('SRID=4674;POINT (-39.818225 -2.86524)'))) / (select extract(epoch from '2026-07-08 07:55:13'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.818206 -2.865225)', '2026-07-08 07:55:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818225 -2.86524)'), GeomFromEWKT('SRID=4674;POINT (-39.818206 -2.865225)'))) / (select extract(epoch from '2026-07-08 07:55:24'::timestamp) - extract(epoch from '2026-07-08 07:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818225 -2.86524)'), GeomFromEWKT('SRID=4674;POINT (-39.818206 -2.865225)'))) / (select extract(epoch from '2026-07-08 07:55:24'::timestamp) - extract(epoch from '2026-07-08 07:55:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818206 -2.865202)', '2026-07-08 07:55:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818206 -2.865225)'), GeomFromEWKT('SRID=4674;POINT (-39.818206 -2.865202)'))) / (select extract(epoch from '2026-07-08 07:55:34'::timestamp) - extract(epoch from '2026-07-08 07:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818206 -2.865225)'), GeomFromEWKT('SRID=4674;POINT (-39.818206 -2.865202)'))) / (select extract(epoch from '2026-07-08 07:55:34'::timestamp) - extract(epoch from '2026-07-08 07:55:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818211 -2.865162)', '2026-07-08 07:55:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818206 -2.865202)'), GeomFromEWKT('SRID=4674;POINT (-39.818211 -2.865162)'))) / (select extract(epoch from '2026-07-08 07:55:47'::timestamp) - extract(epoch from '2026-07-08 07:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818206 -2.865202)'), GeomFromEWKT('SRID=4674;POINT (-39.818211 -2.865162)'))) / (select extract(epoch from '2026-07-08 07:55:47'::timestamp) - extract(epoch from '2026-07-08 07:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.818167 -2.865134)', '2026-07-08 07:56:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818211 -2.865162)'), GeomFromEWKT('SRID=4674;POINT (-39.818167 -2.865134)'))) / (select extract(epoch from '2026-07-08 07:56:04'::timestamp) - extract(epoch from '2026-07-08 07:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818211 -2.865162)'), GeomFromEWKT('SRID=4674;POINT (-39.818167 -2.865134)'))) / (select extract(epoch from '2026-07-08 07:56:04'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.818088 -2.865171)', '2026-07-08 07:56:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818167 -2.865134)'), GeomFromEWKT('SRID=4674;POINT (-39.818088 -2.865171)'))) / (select extract(epoch from '2026-07-08 07:56:16'::timestamp) - extract(epoch from '2026-07-08 07:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818167 -2.865134)'), GeomFromEWKT('SRID=4674;POINT (-39.818088 -2.865171)'))) / (select extract(epoch from '2026-07-08 07:56:16'::timestamp) - extract(epoch from '2026-07-08 07:56:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817973 -2.86523)', '2026-07-08 07:56:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818088 -2.865171)'), GeomFromEWKT('SRID=4674;POINT (-39.817973 -2.86523)'))) / (select extract(epoch from '2026-07-08 07:56:26'::timestamp) - extract(epoch from '2026-07-08 07:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.818088 -2.865171)'), GeomFromEWKT('SRID=4674;POINT (-39.817973 -2.86523)'))) / (select extract(epoch from '2026-07-08 07:56:26'::timestamp) - extract(epoch from '2026-07-08 07:56:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817901 -2.865259)', '2026-07-08 07:56:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817973 -2.86523)'), GeomFromEWKT('SRID=4674;POINT (-39.817901 -2.865259)'))) / (select extract(epoch from '2026-07-08 07:56:32'::timestamp) - extract(epoch from '2026-07-08 07:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817973 -2.86523)'), GeomFromEWKT('SRID=4674;POINT (-39.817901 -2.865259)'))) / (select extract(epoch from '2026-07-08 07:56:32'::timestamp) - extract(epoch from '2026-07-08 07:56:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.81781 -2.865297)', '2026-07-08 07:56:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817901 -2.865259)'), GeomFromEWKT('SRID=4674;POINT (-39.81781 -2.865297)'))) / (select extract(epoch from '2026-07-08 07:56:39'::timestamp) - extract(epoch from '2026-07-08 07:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817901 -2.865259)'), GeomFromEWKT('SRID=4674;POINT (-39.81781 -2.865297)'))) / (select extract(epoch from '2026-07-08 07:56:39'::timestamp) - extract(epoch from '2026-07-08 07:56:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817769 -2.865366)', '2026-07-08 07:56:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81781 -2.865297)'), GeomFromEWKT('SRID=4674;POINT (-39.817769 -2.865366)'))) / (select extract(epoch from '2026-07-08 07:56:45'::timestamp) - extract(epoch from '2026-07-08 07:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81781 -2.865297)'), GeomFromEWKT('SRID=4674;POINT (-39.817769 -2.865366)'))) / (select extract(epoch from '2026-07-08 07:56:45'::timestamp) - extract(epoch from '2026-07-08 07:56:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817771 -2.865382)', '2026-07-08 07:56:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817769 -2.865366)'), GeomFromEWKT('SRID=4674;POINT (-39.817771 -2.865382)'))) / (select extract(epoch from '2026-07-08 07:56:46'::timestamp) - extract(epoch from '2026-07-08 07:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817769 -2.865366)'), GeomFromEWKT('SRID=4674;POINT (-39.817771 -2.865382)'))) / (select extract(epoch from '2026-07-08 07:56:46'::timestamp) - extract(epoch from '2026-07-08 07:56:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817774 -2.865437)', '2026-07-08 07:56:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817771 -2.865382)'), GeomFromEWKT('SRID=4674;POINT (-39.817774 -2.865437)'))) / (select extract(epoch from '2026-07-08 07:56:50'::timestamp) - extract(epoch from '2026-07-08 07:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817771 -2.865382)'), GeomFromEWKT('SRID=4674;POINT (-39.817774 -2.865437)'))) / (select extract(epoch from '2026-07-08 07:56:50'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.817745 -2.865525)', '2026-07-08 07:56:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817774 -2.865437)'), GeomFromEWKT('SRID=4674;POINT (-39.817745 -2.865525)'))) / (select extract(epoch from '2026-07-08 07:56:57'::timestamp) - extract(epoch from '2026-07-08 07:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817774 -2.865437)'), GeomFromEWKT('SRID=4674;POINT (-39.817745 -2.865525)'))) / (select extract(epoch from '2026-07-08 07:56:57'::timestamp) - extract(epoch from '2026-07-08 07:56:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817722 -2.865602)', '2026-07-08 07:57:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817745 -2.865525)'), GeomFromEWKT('SRID=4674;POINT (-39.817722 -2.865602)'))) / (select extract(epoch from '2026-07-08 07:57:03'::timestamp) - extract(epoch from '2026-07-08 07:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817745 -2.865525)'), GeomFromEWKT('SRID=4674;POINT (-39.817722 -2.865602)'))) / (select extract(epoch from '2026-07-08 07:57:03'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.817702 -2.865635)', '2026-07-08 07:57:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817722 -2.865602)'), GeomFromEWKT('SRID=4674;POINT (-39.817702 -2.865635)'))) / (select extract(epoch from '2026-07-08 07:57:06'::timestamp) - extract(epoch from '2026-07-08 07:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817722 -2.865602)'), GeomFromEWKT('SRID=4674;POINT (-39.817702 -2.865635)'))) / (select extract(epoch from '2026-07-08 07:57:06'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.817687 -2.865656)', '2026-07-08 07:57:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817702 -2.865635)'), GeomFromEWKT('SRID=4674;POINT (-39.817687 -2.865656)'))) / (select extract(epoch from '2026-07-08 07:57:08'::timestamp) - extract(epoch from '2026-07-08 07:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817702 -2.865635)'), GeomFromEWKT('SRID=4674;POINT (-39.817687 -2.865656)'))) / (select extract(epoch from '2026-07-08 07:57:08'::timestamp) - extract(epoch from '2026-07-08 07:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817645 -2.865756)', '2026-07-08 07:57:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817687 -2.865656)'), GeomFromEWKT('SRID=4674;POINT (-39.817645 -2.865756)'))) / (select extract(epoch from '2026-07-08 07:57:15'::timestamp) - extract(epoch from '2026-07-08 07:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817687 -2.865656)'), GeomFromEWKT('SRID=4674;POINT (-39.817645 -2.865756)'))) / (select extract(epoch from '2026-07-08 07:57:15'::timestamp) - extract(epoch from '2026-07-08 07:57:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817648 -2.865774)', '2026-07-08 07:57:16', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817645 -2.865756)'), GeomFromEWKT('SRID=4674;POINT (-39.817648 -2.865774)'))) / (select extract(epoch from '2026-07-08 07:57:16'::timestamp) - extract(epoch from '2026-07-08 07:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817645 -2.865756)'), GeomFromEWKT('SRID=4674;POINT (-39.817648 -2.865774)'))) / (select extract(epoch from '2026-07-08 07:57:16'::timestamp) - extract(epoch from '2026-07-08 07:57:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817687 -2.865876)', '2026-07-08 07:57:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817648 -2.865774)'), GeomFromEWKT('SRID=4674;POINT (-39.817687 -2.865876)'))) / (select extract(epoch from '2026-07-08 07:57:22'::timestamp) - extract(epoch from '2026-07-08 07:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817648 -2.865774)'), GeomFromEWKT('SRID=4674;POINT (-39.817687 -2.865876)'))) / (select extract(epoch from '2026-07-08 07:57:22'::timestamp) - extract(epoch from '2026-07-08 07:57:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817731 -2.86601)', '2026-07-08 07:57:31', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817687 -2.865876)'), GeomFromEWKT('SRID=4674;POINT (-39.817731 -2.86601)'))) / (select extract(epoch from '2026-07-08 07:57:31'::timestamp) - extract(epoch from '2026-07-08 07:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817687 -2.865876)'), GeomFromEWKT('SRID=4674;POINT (-39.817731 -2.86601)'))) / (select extract(epoch from '2026-07-08 07:57:31'::timestamp) - extract(epoch from '2026-07-08 07:57:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817731 -2.866072)', '2026-07-08 07:57:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817731 -2.86601)'), GeomFromEWKT('SRID=4674;POINT (-39.817731 -2.866072)'))) / (select extract(epoch from '2026-07-08 07:57:35'::timestamp) - extract(epoch from '2026-07-08 07:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817731 -2.86601)'), GeomFromEWKT('SRID=4674;POINT (-39.817731 -2.866072)'))) / (select extract(epoch from '2026-07-08 07:57:35'::timestamp) - extract(epoch from '2026-07-08 07:57:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817737 -2.866088)', '2026-07-08 07:57:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817731 -2.866072)'), GeomFromEWKT('SRID=4674;POINT (-39.817737 -2.866088)'))) / (select extract(epoch from '2026-07-08 07:57:36'::timestamp) - extract(epoch from '2026-07-08 07:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817731 -2.866072)'), GeomFromEWKT('SRID=4674;POINT (-39.817737 -2.866088)'))) / (select extract(epoch from '2026-07-08 07:57:36'::timestamp) - extract(epoch from '2026-07-08 07:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817748 -2.86617)', '2026-07-08 07:57:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817737 -2.866088)'), GeomFromEWKT('SRID=4674;POINT (-39.817748 -2.86617)'))) / (select extract(epoch from '2026-07-08 07:57:41'::timestamp) - extract(epoch from '2026-07-08 07:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817737 -2.866088)'), GeomFromEWKT('SRID=4674;POINT (-39.817748 -2.86617)'))) / (select extract(epoch from '2026-07-08 07:57:41'::timestamp) - extract(epoch from '2026-07-08 07:57:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817731 -2.866276)', '2026-07-08 07:57:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817748 -2.86617)'), GeomFromEWKT('SRID=4674;POINT (-39.817731 -2.866276)'))) / (select extract(epoch from '2026-07-08 07:57:48'::timestamp) - extract(epoch from '2026-07-08 07:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817748 -2.86617)'), GeomFromEWKT('SRID=4674;POINT (-39.817731 -2.866276)'))) / (select extract(epoch from '2026-07-08 07:57:48'::timestamp) - extract(epoch from '2026-07-08 07:57:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817691 -2.866343)', '2026-07-08 07:57:54', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817731 -2.866276)'), GeomFromEWKT('SRID=4674;POINT (-39.817691 -2.866343)'))) / (select extract(epoch from '2026-07-08 07:57:54'::timestamp) - extract(epoch from '2026-07-08 07:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817731 -2.866276)'), GeomFromEWKT('SRID=4674;POINT (-39.817691 -2.866343)'))) / (select extract(epoch from '2026-07-08 07:57:54'::timestamp) - extract(epoch from '2026-07-08 07:57:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817652 -2.866416)', '2026-07-08 07:58:00', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817691 -2.866343)'), GeomFromEWKT('SRID=4674;POINT (-39.817652 -2.866416)'))) / (select extract(epoch from '2026-07-08 07:58:00'::timestamp) - extract(epoch from '2026-07-08 07:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817691 -2.866343)'), GeomFromEWKT('SRID=4674;POINT (-39.817652 -2.866416)'))) / (select extract(epoch from '2026-07-08 07:58:00'::timestamp) - extract(epoch from '2026-07-08 07:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817597 -2.866455)', '2026-07-08 07:58:07', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817652 -2.866416)'), GeomFromEWKT('SRID=4674;POINT (-39.817597 -2.866455)'))) / (select extract(epoch from '2026-07-08 07:58:07'::timestamp) - extract(epoch from '2026-07-08 07:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817652 -2.866416)'), GeomFromEWKT('SRID=4674;POINT (-39.817597 -2.866455)'))) / (select extract(epoch from '2026-07-08 07:58:07'::timestamp) - extract(epoch from '2026-07-08 07:58:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.81759 -2.866447)', '2026-07-08 07:58:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817597 -2.866455)'), GeomFromEWKT('SRID=4674;POINT (-39.81759 -2.866447)'))) / (select extract(epoch from '2026-07-08 07:58:15'::timestamp) - extract(epoch from '2026-07-08 07:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817597 -2.866455)'), GeomFromEWKT('SRID=4674;POINT (-39.81759 -2.866447)'))) / (select extract(epoch from '2026-07-08 07:58:15'::timestamp) - extract(epoch from '2026-07-08 07: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'), 47862, 'SRID=4674;POINT (-39.817618 -2.866422)', '2026-07-08 07:58:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81759 -2.866447)'), GeomFromEWKT('SRID=4674;POINT (-39.817618 -2.866422)'))) / (select extract(epoch from '2026-07-08 07:58:23'::timestamp) - extract(epoch from '2026-07-08 07:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81759 -2.866447)'), GeomFromEWKT('SRID=4674;POINT (-39.817618 -2.866422)'))) / (select extract(epoch from '2026-07-08 07:58:23'::timestamp) - extract(epoch from '2026-07-08 07:58:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817651 -2.866389)', '2026-07-08 07:58:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817618 -2.866422)'), GeomFromEWKT('SRID=4674;POINT (-39.817651 -2.866389)'))) / (select extract(epoch from '2026-07-08 07:58:35'::timestamp) - extract(epoch from '2026-07-08 07:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817618 -2.866422)'), GeomFromEWKT('SRID=4674;POINT (-39.817651 -2.866389)'))) / (select extract(epoch from '2026-07-08 07:58:35'::timestamp) - extract(epoch from '2026-07-08 07:58:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817698 -2.866362)', '2026-07-08 07:58:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817651 -2.866389)'), GeomFromEWKT('SRID=4674;POINT (-39.817698 -2.866362)'))) / (select extract(epoch from '2026-07-08 07:58:45'::timestamp) - extract(epoch from '2026-07-08 07:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817651 -2.866389)'), GeomFromEWKT('SRID=4674;POINT (-39.817698 -2.866362)'))) / (select extract(epoch from '2026-07-08 07:58:45'::timestamp) - extract(epoch from '2026-07-08 07:58:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817755 -2.866329)', '2026-07-08 07:58:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817698 -2.866362)'), GeomFromEWKT('SRID=4674;POINT (-39.817755 -2.866329)'))) / (select extract(epoch from '2026-07-08 07:58:56'::timestamp) - extract(epoch from '2026-07-08 07:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817698 -2.866362)'), GeomFromEWKT('SRID=4674;POINT (-39.817755 -2.866329)'))) / (select extract(epoch from '2026-07-08 07:58:56'::timestamp) - extract(epoch from '2026-07-08 07:58:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817803 -2.866305)', '2026-07-08 07:59:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817755 -2.866329)'), GeomFromEWKT('SRID=4674;POINT (-39.817803 -2.866305)'))) / (select extract(epoch from '2026-07-08 07:59:07'::timestamp) - extract(epoch from '2026-07-08 07:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817755 -2.866329)'), GeomFromEWKT('SRID=4674;POINT (-39.817803 -2.866305)'))) / (select extract(epoch from '2026-07-08 07:59:07'::timestamp) - extract(epoch from '2026-07-08 07:58:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817872 -2.866287)', '2026-07-08 07:59:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817803 -2.866305)'), GeomFromEWKT('SRID=4674;POINT (-39.817872 -2.866287)'))) / (select extract(epoch from '2026-07-08 07:59:21'::timestamp) - extract(epoch from '2026-07-08 07:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817803 -2.866305)'), GeomFromEWKT('SRID=4674;POINT (-39.817872 -2.866287)'))) / (select extract(epoch from '2026-07-08 07:59:21'::timestamp) - extract(epoch from '2026-07-08 07:59:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817917 -2.866269)', '2026-07-08 07:59:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817872 -2.866287)'), GeomFromEWKT('SRID=4674;POINT (-39.817917 -2.866269)'))) / (select extract(epoch from '2026-07-08 07:59:31'::timestamp) - extract(epoch from '2026-07-08 07:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817872 -2.866287)'), GeomFromEWKT('SRID=4674;POINT (-39.817917 -2.866269)'))) / (select extract(epoch from '2026-07-08 07:59:31'::timestamp) - extract(epoch from '2026-07-08 07:59:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817907 -2.86627)', '2026-07-08 07:59:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817917 -2.866269)'), GeomFromEWKT('SRID=4674;POINT (-39.817907 -2.86627)'))) / (select extract(epoch from '2026-07-08 07:59:41'::timestamp) - extract(epoch from '2026-07-08 07:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817917 -2.866269)'), GeomFromEWKT('SRID=4674;POINT (-39.817907 -2.86627)'))) / (select extract(epoch from '2026-07-08 07:59:41'::timestamp) - extract(epoch from '2026-07-08 07:59:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817825 -2.866299)', '2026-07-08 07:59:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817907 -2.86627)'), GeomFromEWKT('SRID=4674;POINT (-39.817825 -2.866299)'))) / (select extract(epoch from '2026-07-08 07:59:52'::timestamp) - extract(epoch from '2026-07-08 07:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817907 -2.86627)'), GeomFromEWKT('SRID=4674;POINT (-39.817825 -2.866299)'))) / (select extract(epoch from '2026-07-08 07:59:52'::timestamp) - extract(epoch from '2026-07-08 07:59:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817798 -2.866364)', '2026-07-08 08:00:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817825 -2.866299)'), GeomFromEWKT('SRID=4674;POINT (-39.817798 -2.866364)'))) / (select extract(epoch from '2026-07-08 08:00:04'::timestamp) - extract(epoch from '2026-07-08 07:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817825 -2.866299)'), GeomFromEWKT('SRID=4674;POINT (-39.817798 -2.866364)'))) / (select extract(epoch from '2026-07-08 08:00:04'::timestamp) - extract(epoch from '2026-07-08 07:59:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817807 -2.866404)', '2026-07-08 08:00:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817798 -2.866364)'), GeomFromEWKT('SRID=4674;POINT (-39.817807 -2.866404)'))) / (select extract(epoch from '2026-07-08 08:00:15'::timestamp) - extract(epoch from '2026-07-08 08:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817798 -2.866364)'), GeomFromEWKT('SRID=4674;POINT (-39.817807 -2.866404)'))) / (select extract(epoch from '2026-07-08 08:00:15'::timestamp) - extract(epoch from '2026-07-08 08:00:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817811 -2.866388)', '2026-07-08 08:00:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817807 -2.866404)'), GeomFromEWKT('SRID=4674;POINT (-39.817811 -2.866388)'))) / (select extract(epoch from '2026-07-08 08:00:26'::timestamp) - extract(epoch from '2026-07-08 08:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817807 -2.866404)'), GeomFromEWKT('SRID=4674;POINT (-39.817811 -2.866388)'))) / (select extract(epoch from '2026-07-08 08:00:26'::timestamp) - extract(epoch from '2026-07-08 08:00:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817829 -2.866326)', '2026-07-08 08:00:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817811 -2.866388)'), GeomFromEWKT('SRID=4674;POINT (-39.817829 -2.866326)'))) / (select extract(epoch from '2026-07-08 08:00:36'::timestamp) - extract(epoch from '2026-07-08 08:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817811 -2.866388)'), GeomFromEWKT('SRID=4674;POINT (-39.817829 -2.866326)'))) / (select extract(epoch from '2026-07-08 08:00:36'::timestamp) - extract(epoch from '2026-07-08 08:00:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.81778 -2.866251)', '2026-07-08 08:00:46', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817829 -2.866326)'), GeomFromEWKT('SRID=4674;POINT (-39.81778 -2.866251)'))) / (select extract(epoch from '2026-07-08 08:00:46'::timestamp) - extract(epoch from '2026-07-08 08:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817829 -2.866326)'), GeomFromEWKT('SRID=4674;POINT (-39.81778 -2.866251)'))) / (select extract(epoch from '2026-07-08 08:00:46'::timestamp) - extract(epoch from '2026-07-08 08:00:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817696 -2.86622)', '2026-07-08 08:00:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81778 -2.866251)'), GeomFromEWKT('SRID=4674;POINT (-39.817696 -2.86622)'))) / (select extract(epoch from '2026-07-08 08:00:58'::timestamp) - extract(epoch from '2026-07-08 08:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81778 -2.866251)'), GeomFromEWKT('SRID=4674;POINT (-39.817696 -2.86622)'))) / (select extract(epoch from '2026-07-08 08:00:58'::timestamp) - extract(epoch from '2026-07-08 08:00:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817674 -2.866201)', '2026-07-08 08:01:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817696 -2.86622)'), GeomFromEWKT('SRID=4674;POINT (-39.817674 -2.866201)'))) / (select extract(epoch from '2026-07-08 08:01:08'::timestamp) - extract(epoch from '2026-07-08 08:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817696 -2.86622)'), GeomFromEWKT('SRID=4674;POINT (-39.817674 -2.866201)'))) / (select extract(epoch from '2026-07-08 08:01:08'::timestamp) - extract(epoch from '2026-07-08 08:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817596 -2.866178)', '2026-07-08 08:01:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817674 -2.866201)'), GeomFromEWKT('SRID=4674;POINT (-39.817596 -2.866178)'))) / (select extract(epoch from '2026-07-08 08:01:17'::timestamp) - extract(epoch from '2026-07-08 08:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817674 -2.866201)'), GeomFromEWKT('SRID=4674;POINT (-39.817596 -2.866178)'))) / (select extract(epoch from '2026-07-08 08:01:17'::timestamp) - extract(epoch from '2026-07-08 08:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817521 -2.866184)', '2026-07-08 08:01:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817596 -2.866178)'), GeomFromEWKT('SRID=4674;POINT (-39.817521 -2.866184)'))) / (select extract(epoch from '2026-07-08 08:01:24'::timestamp) - extract(epoch from '2026-07-08 08:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817596 -2.866178)'), GeomFromEWKT('SRID=4674;POINT (-39.817521 -2.866184)'))) / (select extract(epoch from '2026-07-08 08:01:24'::timestamp) - extract(epoch from '2026-07-08 08:01:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817448 -2.866227)', '2026-07-08 08:01:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817521 -2.866184)'), GeomFromEWKT('SRID=4674;POINT (-39.817448 -2.866227)'))) / (select extract(epoch from '2026-07-08 08:01:31'::timestamp) - extract(epoch from '2026-07-08 08:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817521 -2.866184)'), GeomFromEWKT('SRID=4674;POINT (-39.817448 -2.866227)'))) / (select extract(epoch from '2026-07-08 08:01:31'::timestamp) - extract(epoch from '2026-07-08 08:01:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817372 -2.86629)', '2026-07-08 08:01:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817448 -2.866227)'), GeomFromEWKT('SRID=4674;POINT (-39.817372 -2.86629)'))) / (select extract(epoch from '2026-07-08 08:01:38'::timestamp) - extract(epoch from '2026-07-08 08:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817448 -2.866227)'), GeomFromEWKT('SRID=4674;POINT (-39.817372 -2.86629)'))) / (select extract(epoch from '2026-07-08 08:01:38'::timestamp) - extract(epoch from '2026-07-08 08:01:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817306 -2.866377)', '2026-07-08 08:01:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817372 -2.86629)'), GeomFromEWKT('SRID=4674;POINT (-39.817306 -2.866377)'))) / (select extract(epoch from '2026-07-08 08:01:46'::timestamp) - extract(epoch from '2026-07-08 08:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817372 -2.86629)'), GeomFromEWKT('SRID=4674;POINT (-39.817306 -2.866377)'))) / (select extract(epoch from '2026-07-08 08:01:46'::timestamp) - extract(epoch from '2026-07-08 08:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817252 -2.866466)', '2026-07-08 08:01:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817306 -2.866377)'), GeomFromEWKT('SRID=4674;POINT (-39.817252 -2.866466)'))) / (select extract(epoch from '2026-07-08 08:01:53'::timestamp) - extract(epoch from '2026-07-08 08:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817306 -2.866377)'), GeomFromEWKT('SRID=4674;POINT (-39.817252 -2.866466)'))) / (select extract(epoch from '2026-07-08 08:01:53'::timestamp) - extract(epoch from '2026-07-08 08:01:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817199 -2.866579)', '2026-07-08 08:02:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817252 -2.866466)'), GeomFromEWKT('SRID=4674;POINT (-39.817199 -2.866579)'))) / (select extract(epoch from '2026-07-08 08:02:01'::timestamp) - extract(epoch from '2026-07-08 08:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817252 -2.866466)'), GeomFromEWKT('SRID=4674;POINT (-39.817199 -2.866579)'))) / (select extract(epoch from '2026-07-08 08:02:01'::timestamp) - extract(epoch from '2026-07-08 08:01:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.81719 -2.866707)', '2026-07-08 08:02:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817199 -2.866579)'), GeomFromEWKT('SRID=4674;POINT (-39.81719 -2.866707)'))) / (select extract(epoch from '2026-07-08 08:02:09'::timestamp) - extract(epoch from '2026-07-08 08:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817199 -2.866579)'), GeomFromEWKT('SRID=4674;POINT (-39.81719 -2.866707)'))) / (select extract(epoch from '2026-07-08 08:02:09'::timestamp) - extract(epoch from '2026-07-08 08:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817149 -2.866794)', '2026-07-08 08:02:16', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81719 -2.866707)'), GeomFromEWKT('SRID=4674;POINT (-39.817149 -2.866794)'))) / (select extract(epoch from '2026-07-08 08:02:16'::timestamp) - extract(epoch from '2026-07-08 08:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81719 -2.866707)'), GeomFromEWKT('SRID=4674;POINT (-39.817149 -2.866794)'))) / (select extract(epoch from '2026-07-08 08:02:16'::timestamp) - extract(epoch from '2026-07-08 08:02:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817128 -2.866885)', '2026-07-08 08:02:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817149 -2.866794)'), GeomFromEWKT('SRID=4674;POINT (-39.817128 -2.866885)'))) / (select extract(epoch from '2026-07-08 08:02:22'::timestamp) - extract(epoch from '2026-07-08 08:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817149 -2.866794)'), GeomFromEWKT('SRID=4674;POINT (-39.817128 -2.866885)'))) / (select extract(epoch from '2026-07-08 08:02:22'::timestamp) - extract(epoch from '2026-07-08 08:02:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817104 -2.866976)', '2026-07-08 08:02:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817128 -2.866885)'), GeomFromEWKT('SRID=4674;POINT (-39.817104 -2.866976)'))) / (select extract(epoch from '2026-07-08 08:02:28'::timestamp) - extract(epoch from '2026-07-08 08:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817128 -2.866885)'), GeomFromEWKT('SRID=4674;POINT (-39.817104 -2.866976)'))) / (select extract(epoch from '2026-07-08 08:02:28'::timestamp) - extract(epoch from '2026-07-08 08:02:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817101 -2.866988)', '2026-07-08 08:02:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817104 -2.866976)'), GeomFromEWKT('SRID=4674;POINT (-39.817101 -2.866988)'))) / (select extract(epoch from '2026-07-08 08:02:29'::timestamp) - extract(epoch from '2026-07-08 08:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817104 -2.866976)'), GeomFromEWKT('SRID=4674;POINT (-39.817101 -2.866988)'))) / (select extract(epoch from '2026-07-08 08:02:29'::timestamp) - extract(epoch from '2026-07-08 08:02:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817085 -2.867043)', '2026-07-08 08:02:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817101 -2.866988)'), GeomFromEWKT('SRID=4674;POINT (-39.817085 -2.867043)'))) / (select extract(epoch from '2026-07-08 08:02:33'::timestamp) - extract(epoch from '2026-07-08 08:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817101 -2.866988)'), GeomFromEWKT('SRID=4674;POINT (-39.817085 -2.867043)'))) / (select extract(epoch from '2026-07-08 08:02:33'::timestamp) - extract(epoch from '2026-07-08 08:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817073 -2.867102)', '2026-07-08 08:02:37', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817085 -2.867043)'), GeomFromEWKT('SRID=4674;POINT (-39.817073 -2.867102)'))) / (select extract(epoch from '2026-07-08 08:02:37'::timestamp) - extract(epoch from '2026-07-08 08:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817085 -2.867043)'), GeomFromEWKT('SRID=4674;POINT (-39.817073 -2.867102)'))) / (select extract(epoch from '2026-07-08 08:02:37'::timestamp) - extract(epoch from '2026-07-08 08:02:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817071 -2.867135)', '2026-07-08 08:02:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817073 -2.867102)'), GeomFromEWKT('SRID=4674;POINT (-39.817071 -2.867135)'))) / (select extract(epoch from '2026-07-08 08:02:39'::timestamp) - extract(epoch from '2026-07-08 08:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817073 -2.867102)'), GeomFromEWKT('SRID=4674;POINT (-39.817071 -2.867135)'))) / (select extract(epoch from '2026-07-08 08:02:39'::timestamp) - extract(epoch from '2026-07-08 08:02:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817044 -2.867222)', '2026-07-08 08:02:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817071 -2.867135)'), GeomFromEWKT('SRID=4674;POINT (-39.817044 -2.867222)'))) / (select extract(epoch from '2026-07-08 08:02:45'::timestamp) - extract(epoch from '2026-07-08 08:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817071 -2.867135)'), GeomFromEWKT('SRID=4674;POINT (-39.817044 -2.867222)'))) / (select extract(epoch from '2026-07-08 08:02:45'::timestamp) - extract(epoch from '2026-07-08 08:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817058 -2.867332)', '2026-07-08 08:02:52', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817044 -2.867222)'), GeomFromEWKT('SRID=4674;POINT (-39.817058 -2.867332)'))) / (select extract(epoch from '2026-07-08 08:02:52'::timestamp) - extract(epoch from '2026-07-08 08:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817044 -2.867222)'), GeomFromEWKT('SRID=4674;POINT (-39.817058 -2.867332)'))) / (select extract(epoch from '2026-07-08 08:02:52'::timestamp) - extract(epoch from '2026-07-08 08:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817082 -2.867455)', '2026-07-08 08:03:00', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817058 -2.867332)'), GeomFromEWKT('SRID=4674;POINT (-39.817082 -2.867455)'))) / (select extract(epoch from '2026-07-08 08:03:00'::timestamp) - extract(epoch from '2026-07-08 08:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817058 -2.867332)'), GeomFromEWKT('SRID=4674;POINT (-39.817082 -2.867455)'))) / (select extract(epoch from '2026-07-08 08:03:00'::timestamp) - extract(epoch from '2026-07-08 08:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817081 -2.867553)', '2026-07-08 08:03:06', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817082 -2.867455)'), GeomFromEWKT('SRID=4674;POINT (-39.817081 -2.867553)'))) / (select extract(epoch from '2026-07-08 08:03:06'::timestamp) - extract(epoch from '2026-07-08 08:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817082 -2.867455)'), GeomFromEWKT('SRID=4674;POINT (-39.817081 -2.867553)'))) / (select extract(epoch from '2026-07-08 08:03:06'::timestamp) - extract(epoch from '2026-07-08 08:03:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817077 -2.867664)', '2026-07-08 08:03:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817081 -2.867553)'), GeomFromEWKT('SRID=4674;POINT (-39.817077 -2.867664)'))) / (select extract(epoch from '2026-07-08 08:03:13'::timestamp) - extract(epoch from '2026-07-08 08:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817081 -2.867553)'), GeomFromEWKT('SRID=4674;POINT (-39.817077 -2.867664)'))) / (select extract(epoch from '2026-07-08 08:03:13'::timestamp) - extract(epoch from '2026-07-08 08:03:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.81707 -2.867697)', '2026-07-08 08:03:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817077 -2.867664)'), GeomFromEWKT('SRID=4674;POINT (-39.81707 -2.867697)'))) / (select extract(epoch from '2026-07-08 08:03:15'::timestamp) - extract(epoch from '2026-07-08 08:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817077 -2.867664)'), GeomFromEWKT('SRID=4674;POINT (-39.81707 -2.867697)'))) / (select extract(epoch from '2026-07-08 08:03:15'::timestamp) - extract(epoch from '2026-07-08 08:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817071 -2.867745)', '2026-07-08 08:03:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81707 -2.867697)'), GeomFromEWKT('SRID=4674;POINT (-39.817071 -2.867745)'))) / (select extract(epoch from '2026-07-08 08:03:18'::timestamp) - extract(epoch from '2026-07-08 08:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81707 -2.867697)'), GeomFromEWKT('SRID=4674;POINT (-39.817071 -2.867745)'))) / (select extract(epoch from '2026-07-08 08:03:18'::timestamp) - extract(epoch from '2026-07-08 08:03:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817078 -2.867821)', '2026-07-08 08:03:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817071 -2.867745)'), GeomFromEWKT('SRID=4674;POINT (-39.817078 -2.867821)'))) / (select extract(epoch from '2026-07-08 08:03:24'::timestamp) - extract(epoch from '2026-07-08 08:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817071 -2.867745)'), GeomFromEWKT('SRID=4674;POINT (-39.817078 -2.867821)'))) / (select extract(epoch from '2026-07-08 08:03:24'::timestamp) - extract(epoch from '2026-07-08 08:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817107 -2.867868)', '2026-07-08 08:03:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817078 -2.867821)'), GeomFromEWKT('SRID=4674;POINT (-39.817107 -2.867868)'))) / (select extract(epoch from '2026-07-08 08:03:28'::timestamp) - extract(epoch from '2026-07-08 08:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817078 -2.867821)'), GeomFromEWKT('SRID=4674;POINT (-39.817107 -2.867868)'))) / (select extract(epoch from '2026-07-08 08:03:28'::timestamp) - extract(epoch from '2026-07-08 08:03:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.81713 -2.867891)', '2026-07-08 08:03:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817107 -2.867868)'), GeomFromEWKT('SRID=4674;POINT (-39.81713 -2.867891)'))) / (select extract(epoch from '2026-07-08 08:03:30'::timestamp) - extract(epoch from '2026-07-08 08:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817107 -2.867868)'), GeomFromEWKT('SRID=4674;POINT (-39.81713 -2.867891)'))) / (select extract(epoch from '2026-07-08 08:03:30'::timestamp) - extract(epoch from '2026-07-08 08:03:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817142 -2.867901)', '2026-07-08 08:03:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81713 -2.867891)'), GeomFromEWKT('SRID=4674;POINT (-39.817142 -2.867901)'))) / (select extract(epoch from '2026-07-08 08:03:31'::timestamp) - extract(epoch from '2026-07-08 08:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81713 -2.867891)'), GeomFromEWKT('SRID=4674;POINT (-39.817142 -2.867901)'))) / (select extract(epoch from '2026-07-08 08:03:31'::timestamp) - extract(epoch from '2026-07-08 08:03:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.81719 -2.867931)', '2026-07-08 08:03:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817142 -2.867901)'), GeomFromEWKT('SRID=4674;POINT (-39.81719 -2.867931)'))) / (select extract(epoch from '2026-07-08 08:03:35'::timestamp) - extract(epoch from '2026-07-08 08:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817142 -2.867901)'), GeomFromEWKT('SRID=4674;POINT (-39.81719 -2.867931)'))) / (select extract(epoch from '2026-07-08 08:03:35'::timestamp) - extract(epoch from '2026-07-08 08:03:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817275 -2.86799)', '2026-07-08 08:03:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81719 -2.867931)'), GeomFromEWKT('SRID=4674;POINT (-39.817275 -2.86799)'))) / (select extract(epoch from '2026-07-08 08:03:43'::timestamp) - extract(epoch from '2026-07-08 08:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81719 -2.867931)'), GeomFromEWKT('SRID=4674;POINT (-39.817275 -2.86799)'))) / (select extract(epoch from '2026-07-08 08:03:43'::timestamp) - extract(epoch from '2026-07-08 08:03:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817308 -2.868012)', '2026-07-08 08:03:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817275 -2.86799)'), GeomFromEWKT('SRID=4674;POINT (-39.817308 -2.868012)'))) / (select extract(epoch from '2026-07-08 08:03:49'::timestamp) - extract(epoch from '2026-07-08 08:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817275 -2.86799)'), GeomFromEWKT('SRID=4674;POINT (-39.817308 -2.868012)'))) / (select extract(epoch from '2026-07-08 08:03:49'::timestamp) - extract(epoch from '2026-07-08 08:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817338 -2.868028)', '2026-07-08 08:03:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817308 -2.868012)'), GeomFromEWKT('SRID=4674;POINT (-39.817338 -2.868028)'))) / (select extract(epoch from '2026-07-08 08:03:57'::timestamp) - extract(epoch from '2026-07-08 08:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817308 -2.868012)'), GeomFromEWKT('SRID=4674;POINT (-39.817338 -2.868028)'))) / (select extract(epoch from '2026-07-08 08:03:57'::timestamp) - extract(epoch from '2026-07-08 08:03:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.81739 -2.86804)', '2026-07-08 08:04:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817338 -2.868028)'), GeomFromEWKT('SRID=4674;POINT (-39.81739 -2.86804)'))) / (select extract(epoch from '2026-07-08 08:04:06'::timestamp) - extract(epoch from '2026-07-08 08:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817338 -2.868028)'), GeomFromEWKT('SRID=4674;POINT (-39.81739 -2.86804)'))) / (select extract(epoch from '2026-07-08 08:04:06'::timestamp) - extract(epoch from '2026-07-08 08:03:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817443 -2.868047)', '2026-07-08 08:04:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81739 -2.86804)'), GeomFromEWKT('SRID=4674;POINT (-39.817443 -2.868047)'))) / (select extract(epoch from '2026-07-08 08:04:14'::timestamp) - extract(epoch from '2026-07-08 08:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81739 -2.86804)'), GeomFromEWKT('SRID=4674;POINT (-39.817443 -2.868047)'))) / (select extract(epoch from '2026-07-08 08:04:14'::timestamp) - extract(epoch from '2026-07-08 08:04:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817495 -2.86806)', '2026-07-08 08:04:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817443 -2.868047)'), GeomFromEWKT('SRID=4674;POINT (-39.817495 -2.86806)'))) / (select extract(epoch from '2026-07-08 08:04:23'::timestamp) - extract(epoch from '2026-07-08 08:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817443 -2.868047)'), GeomFromEWKT('SRID=4674;POINT (-39.817495 -2.86806)'))) / (select extract(epoch from '2026-07-08 08:04:23'::timestamp) - extract(epoch from '2026-07-08 08:04:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817534 -2.868064)', '2026-07-08 08:04:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817495 -2.86806)'), GeomFromEWKT('SRID=4674;POINT (-39.817534 -2.868064)'))) / (select extract(epoch from '2026-07-08 08:04:36'::timestamp) - extract(epoch from '2026-07-08 08:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817495 -2.86806)'), GeomFromEWKT('SRID=4674;POINT (-39.817534 -2.868064)'))) / (select extract(epoch from '2026-07-08 08:04:36'::timestamp) - extract(epoch from '2026-07-08 08:04:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.81758 -2.868052)', '2026-07-08 08:04:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817534 -2.868064)'), GeomFromEWKT('SRID=4674;POINT (-39.81758 -2.868052)'))) / (select extract(epoch from '2026-07-08 08:04:48'::timestamp) - extract(epoch from '2026-07-08 08:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817534 -2.868064)'), GeomFromEWKT('SRID=4674;POINT (-39.81758 -2.868052)'))) / (select extract(epoch from '2026-07-08 08:04:48'::timestamp) - extract(epoch from '2026-07-08 08:04:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817616 -2.868025)', '2026-07-08 08:04:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81758 -2.868052)'), GeomFromEWKT('SRID=4674;POINT (-39.817616 -2.868025)'))) / (select extract(epoch from '2026-07-08 08:04:58'::timestamp) - extract(epoch from '2026-07-08 08:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81758 -2.868052)'), GeomFromEWKT('SRID=4674;POINT (-39.817616 -2.868025)'))) / (select extract(epoch from '2026-07-08 08:04:58'::timestamp) - extract(epoch from '2026-07-08 08:04:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817627 -2.867984)', '2026-07-08 08:05:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817616 -2.868025)'), GeomFromEWKT('SRID=4674;POINT (-39.817627 -2.867984)'))) / (select extract(epoch from '2026-07-08 08:05:12'::timestamp) - extract(epoch from '2026-07-08 08:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817616 -2.868025)'), GeomFromEWKT('SRID=4674;POINT (-39.817627 -2.867984)'))) / (select extract(epoch from '2026-07-08 08:05:12'::timestamp) - extract(epoch from '2026-07-08 08:04:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817643 -2.867982)', '2026-07-08 08:05:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817627 -2.867984)'), GeomFromEWKT('SRID=4674;POINT (-39.817643 -2.867982)'))) / (select extract(epoch from '2026-07-08 08:05:25'::timestamp) - extract(epoch from '2026-07-08 08:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817627 -2.867984)'), GeomFromEWKT('SRID=4674;POINT (-39.817643 -2.867982)'))) / (select extract(epoch from '2026-07-08 08:05:25'::timestamp) - extract(epoch from '2026-07-08 08:05:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817716 -2.868015)', '2026-07-08 08:05:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817643 -2.867982)'), GeomFromEWKT('SRID=4674;POINT (-39.817716 -2.868015)'))) / (select extract(epoch from '2026-07-08 08:05:36'::timestamp) - extract(epoch from '2026-07-08 08:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817643 -2.867982)'), GeomFromEWKT('SRID=4674;POINT (-39.817716 -2.868015)'))) / (select extract(epoch from '2026-07-08 08:05:36'::timestamp) - extract(epoch from '2026-07-08 08:05:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817844 -2.868029)', '2026-07-08 08:05:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817716 -2.868015)'), GeomFromEWKT('SRID=4674;POINT (-39.817844 -2.868029)'))) / (select extract(epoch from '2026-07-08 08:05:47'::timestamp) - extract(epoch from '2026-07-08 08:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817716 -2.868015)'), GeomFromEWKT('SRID=4674;POINT (-39.817844 -2.868029)'))) / (select extract(epoch from '2026-07-08 08:05:47'::timestamp) - extract(epoch from '2026-07-08 08:05:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817914 -2.867968)', '2026-07-08 08:05:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817844 -2.868029)'), GeomFromEWKT('SRID=4674;POINT (-39.817914 -2.867968)'))) / (select extract(epoch from '2026-07-08 08:05:56'::timestamp) - extract(epoch from '2026-07-08 08:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817844 -2.868029)'), GeomFromEWKT('SRID=4674;POINT (-39.817914 -2.867968)'))) / (select extract(epoch from '2026-07-08 08:05:56'::timestamp) - extract(epoch from '2026-07-08 08:05:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817904 -2.867945)', '2026-07-08 08:06:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817914 -2.867968)'), GeomFromEWKT('SRID=4674;POINT (-39.817904 -2.867945)'))) / (select extract(epoch from '2026-07-08 08:06:03'::timestamp) - extract(epoch from '2026-07-08 08:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817914 -2.867968)'), GeomFromEWKT('SRID=4674;POINT (-39.817904 -2.867945)'))) / (select extract(epoch from '2026-07-08 08:06:03'::timestamp) - extract(epoch from '2026-07-08 08:05:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817912 -2.86792)', '2026-07-08 08:06:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817904 -2.867945)'), GeomFromEWKT('SRID=4674;POINT (-39.817912 -2.86792)'))) / (select extract(epoch from '2026-07-08 08:06:13'::timestamp) - extract(epoch from '2026-07-08 08:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817904 -2.867945)'), GeomFromEWKT('SRID=4674;POINT (-39.817912 -2.86792)'))) / (select extract(epoch from '2026-07-08 08:06:13'::timestamp) - extract(epoch from '2026-07-08 08:06:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817919 -2.867908)', '2026-07-08 08:06:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817912 -2.86792)'), GeomFromEWKT('SRID=4674;POINT (-39.817919 -2.867908)'))) / (select extract(epoch from '2026-07-08 08:06:22'::timestamp) - extract(epoch from '2026-07-08 08:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817912 -2.86792)'), GeomFromEWKT('SRID=4674;POINT (-39.817919 -2.867908)'))) / (select extract(epoch from '2026-07-08 08:06:22'::timestamp) - extract(epoch from '2026-07-08 08:06:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817922 -2.867917)', '2026-07-08 08:06:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817919 -2.867908)'), GeomFromEWKT('SRID=4674;POINT (-39.817922 -2.867917)'))) / (select extract(epoch from '2026-07-08 08:06:30'::timestamp) - extract(epoch from '2026-07-08 08:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817919 -2.867908)'), GeomFromEWKT('SRID=4674;POINT (-39.817922 -2.867917)'))) / (select extract(epoch from '2026-07-08 08:06:30'::timestamp) - extract(epoch from '2026-07-08 08:06:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.817913 -2.867972)', '2026-07-08 08:06:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817922 -2.867917)'), GeomFromEWKT('SRID=4674;POINT (-39.817913 -2.867972)'))) / (select extract(epoch from '2026-07-08 08:06:40'::timestamp) - extract(epoch from '2026-07-08 08:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817922 -2.867917)'), GeomFromEWKT('SRID=4674;POINT (-39.817913 -2.867972)'))) / (select extract(epoch from '2026-07-08 08:06:40'::timestamp) - extract(epoch from '2026-07-08 08:06:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47862, 'SRID=4674;POINT (-39.81789 -2.868)', '2026-07-08 08:06:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817913 -2.867972)'), GeomFromEWKT('SRID=4674;POINT (-39.81789 -2.868)'))) / (select extract(epoch from '2026-07-08 08:06:49'::timestamp) - extract(epoch from '2026-07-08 08:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.817913 -2.867972)'), GeomFromEWKT('SRID=4674;POINT (-39.81789 -2.868)'))) / (select extract(epoch from '2026-07-08 08:06:49'::timestamp) - extract(epoch from '2026-07-08 08:06:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
