 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538709 -3.028856)', '2026-07-23 16:38:25', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538713 -3.028858)'), GeomFromEWKT('SRID=4674;POINT (-39.538709 -3.028856)'))) / (select extract(epoch from '2026-07-23 16:38:25'::timestamp) - extract(epoch from '2026-07-23 16:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538713 -3.028858)'), GeomFromEWKT('SRID=4674;POINT (-39.538709 -3.028856)'))) / (select extract(epoch from '2026-07-23 16:38:25'::timestamp) - extract(epoch from '2026-07-23 16:38: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'), 47855, 'SRID=4674;POINT (-39.538707 -3.028872)', '2026-07-23 16:39:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538709 -3.028856)'), GeomFromEWKT('SRID=4674;POINT (-39.538707 -3.028872)'))) / (select extract(epoch from '2026-07-23 16:39:10'::timestamp) - extract(epoch from '2026-07-23 16:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538709 -3.028856)'), GeomFromEWKT('SRID=4674;POINT (-39.538707 -3.028872)'))) / (select extract(epoch from '2026-07-23 16:39:10'::timestamp) - extract(epoch from '2026-07-23 16:38: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'), 47855, 'SRID=4674;POINT (-39.538724 -3.028854)', '2026-07-23 16:39:42', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538707 -3.028872)'), GeomFromEWKT('SRID=4674;POINT (-39.538724 -3.028854)'))) / (select extract(epoch from '2026-07-23 16:39:42'::timestamp) - extract(epoch from '2026-07-23 16:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538707 -3.028872)'), GeomFromEWKT('SRID=4674;POINT (-39.538724 -3.028854)'))) / (select extract(epoch from '2026-07-23 16:39:42'::timestamp) - extract(epoch from '2026-07-23 16:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538731 -3.02886)', '2026-07-23 16:39:49', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538724 -3.028854)'), GeomFromEWKT('SRID=4674;POINT (-39.538731 -3.02886)'))) / (select extract(epoch from '2026-07-23 16:39:49'::timestamp) - extract(epoch from '2026-07-23 16:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538724 -3.028854)'), GeomFromEWKT('SRID=4674;POINT (-39.538731 -3.02886)'))) / (select extract(epoch from '2026-07-23 16:39:49'::timestamp) - extract(epoch from '2026-07-23 16:39:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538743 -3.028869)', '2026-07-23 16:40:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538731 -3.02886)'), GeomFromEWKT('SRID=4674;POINT (-39.538743 -3.028869)'))) / (select extract(epoch from '2026-07-23 16:40:11'::timestamp) - extract(epoch from '2026-07-23 16:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538731 -3.02886)'), GeomFromEWKT('SRID=4674;POINT (-39.538743 -3.028869)'))) / (select extract(epoch from '2026-07-23 16:40:11'::timestamp) - extract(epoch from '2026-07-23 16:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538742 -3.028871)', '2026-07-23 16:40:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538743 -3.028869)'), GeomFromEWKT('SRID=4674;POINT (-39.538742 -3.028871)'))) / (select extract(epoch from '2026-07-23 16:40:21'::timestamp) - extract(epoch from '2026-07-23 16:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538743 -3.028869)'), GeomFromEWKT('SRID=4674;POINT (-39.538742 -3.028871)'))) / (select extract(epoch from '2026-07-23 16:40:21'::timestamp) - extract(epoch from '2026-07-23 16:40: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'), 47855, 'SRID=4674;POINT (-39.538739 -3.028895)', '2026-07-23 16:40:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538742 -3.028871)'), GeomFromEWKT('SRID=4674;POINT (-39.538739 -3.028895)'))) / (select extract(epoch from '2026-07-23 16:40:58'::timestamp) - extract(epoch from '2026-07-23 16:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538742 -3.028871)'), GeomFromEWKT('SRID=4674;POINT (-39.538739 -3.028895)'))) / (select extract(epoch from '2026-07-23 16:40:58'::timestamp) - extract(epoch from '2026-07-23 16:40: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'), 47855, 'SRID=4674;POINT (-39.538735 -3.028901)', '2026-07-23 16:41:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538739 -3.028895)'), GeomFromEWKT('SRID=4674;POINT (-39.538735 -3.028901)'))) / (select extract(epoch from '2026-07-23 16:41:04'::timestamp) - extract(epoch from '2026-07-23 16:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538739 -3.028895)'), GeomFromEWKT('SRID=4674;POINT (-39.538735 -3.028901)'))) / (select extract(epoch from '2026-07-23 16:41:04'::timestamp) - extract(epoch from '2026-07-23 16:40: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'), 47855, 'SRID=4674;POINT (-39.538751 -3.028905)', '2026-07-23 16:41:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538735 -3.028901)'), GeomFromEWKT('SRID=4674;POINT (-39.538751 -3.028905)'))) / (select extract(epoch from '2026-07-23 16:41:33'::timestamp) - extract(epoch from '2026-07-23 16:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538735 -3.028901)'), GeomFromEWKT('SRID=4674;POINT (-39.538751 -3.028905)'))) / (select extract(epoch from '2026-07-23 16:41:33'::timestamp) - extract(epoch from '2026-07-23 16:41:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538748 -3.028901)', '2026-07-23 16:41:39', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538751 -3.028905)'), GeomFromEWKT('SRID=4674;POINT (-39.538748 -3.028901)'))) / (select extract(epoch from '2026-07-23 16:41:39'::timestamp) - extract(epoch from '2026-07-23 16:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538751 -3.028905)'), GeomFromEWKT('SRID=4674;POINT (-39.538748 -3.028901)'))) / (select extract(epoch from '2026-07-23 16:41:39'::timestamp) - extract(epoch from '2026-07-23 16:41: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'), 47855, 'SRID=4674;POINT (-39.538742 -3.028901)', '2026-07-23 16:41:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538748 -3.028901)'), GeomFromEWKT('SRID=4674;POINT (-39.538742 -3.028901)'))) / (select extract(epoch from '2026-07-23 16:41:52'::timestamp) - extract(epoch from '2026-07-23 16:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538748 -3.028901)'), GeomFromEWKT('SRID=4674;POINT (-39.538742 -3.028901)'))) / (select extract(epoch from '2026-07-23 16:41:52'::timestamp) - extract(epoch from '2026-07-23 16:41: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'), 47855, 'SRID=4674;POINT (-39.538738 -3.028901)', '2026-07-23 16:42:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538742 -3.028901)'), GeomFromEWKT('SRID=4674;POINT (-39.538738 -3.028901)'))) / (select extract(epoch from '2026-07-23 16:42:03'::timestamp) - extract(epoch from '2026-07-23 16:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538742 -3.028901)'), GeomFromEWKT('SRID=4674;POINT (-39.538738 -3.028901)'))) / (select extract(epoch from '2026-07-23 16:42:03'::timestamp) - extract(epoch from '2026-07-23 16:41: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'), 47855, 'SRID=4674;POINT (-39.538734 -3.028909)', '2026-07-23 16:42:38', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538738 -3.028901)'), GeomFromEWKT('SRID=4674;POINT (-39.538734 -3.028909)'))) / (select extract(epoch from '2026-07-23 16:42:38'::timestamp) - extract(epoch from '2026-07-23 16:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538738 -3.028901)'), GeomFromEWKT('SRID=4674;POINT (-39.538734 -3.028909)'))) / (select extract(epoch from '2026-07-23 16:42:38'::timestamp) - extract(epoch from '2026-07-23 16:42: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'), 47855, 'SRID=4674;POINT (-39.538736 -3.028903)', '2026-07-23 16:42:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538734 -3.028909)'), GeomFromEWKT('SRID=4674;POINT (-39.538736 -3.028903)'))) / (select extract(epoch from '2026-07-23 16:42:47'::timestamp) - extract(epoch from '2026-07-23 16:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538734 -3.028909)'), GeomFromEWKT('SRID=4674;POINT (-39.538736 -3.028903)'))) / (select extract(epoch from '2026-07-23 16:42:47'::timestamp) - extract(epoch from '2026-07-23 16:42: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'), 47855, 'SRID=4674;POINT (-39.538734 -3.028903)', '2026-07-23 16:42:56', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538736 -3.028903)'), GeomFromEWKT('SRID=4674;POINT (-39.538734 -3.028903)'))) / (select extract(epoch from '2026-07-23 16:42:56'::timestamp) - extract(epoch from '2026-07-23 16:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538736 -3.028903)'), GeomFromEWKT('SRID=4674;POINT (-39.538734 -3.028903)'))) / (select extract(epoch from '2026-07-23 16:42:56'::timestamp) - extract(epoch from '2026-07-23 16:42:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538718 -3.028914)', '2026-07-23 16:43:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538734 -3.028903)'), GeomFromEWKT('SRID=4674;POINT (-39.538718 -3.028914)'))) / (select extract(epoch from '2026-07-23 16:43:07'::timestamp) - extract(epoch from '2026-07-23 16:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538734 -3.028903)'), GeomFromEWKT('SRID=4674;POINT (-39.538718 -3.028914)'))) / (select extract(epoch from '2026-07-23 16:43:07'::timestamp) - extract(epoch from '2026-07-23 16:42:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538715 -3.028914)', '2026-07-23 16:43:16', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538718 -3.028914)'), GeomFromEWKT('SRID=4674;POINT (-39.538715 -3.028914)'))) / (select extract(epoch from '2026-07-23 16:43:16'::timestamp) - extract(epoch from '2026-07-23 16:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538718 -3.028914)'), GeomFromEWKT('SRID=4674;POINT (-39.538715 -3.028914)'))) / (select extract(epoch from '2026-07-23 16:43:16'::timestamp) - extract(epoch from '2026-07-23 16: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'), 47855, 'SRID=4674;POINT (-39.538709 -3.028917)', '2026-07-23 16:43:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538715 -3.028914)'), GeomFromEWKT('SRID=4674;POINT (-39.538709 -3.028917)'))) / (select extract(epoch from '2026-07-23 16:43:34'::timestamp) - extract(epoch from '2026-07-23 16:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538715 -3.028914)'), GeomFromEWKT('SRID=4674;POINT (-39.538709 -3.028917)'))) / (select extract(epoch from '2026-07-23 16:43:34'::timestamp) - extract(epoch from '2026-07-23 16:43:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538707 -3.028928)', '2026-07-23 16:43:42', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538709 -3.028917)'), GeomFromEWKT('SRID=4674;POINT (-39.538707 -3.028928)'))) / (select extract(epoch from '2026-07-23 16:43:42'::timestamp) - extract(epoch from '2026-07-23 16:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538709 -3.028917)'), GeomFromEWKT('SRID=4674;POINT (-39.538707 -3.028928)'))) / (select extract(epoch from '2026-07-23 16:43:42'::timestamp) - extract(epoch from '2026-07-23 16:43: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'), 47855, 'SRID=4674;POINT (-39.53877 -3.028909)', '2026-07-23 16:45:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538707 -3.028928)'), GeomFromEWKT('SRID=4674;POINT (-39.53877 -3.028909)'))) / (select extract(epoch from '2026-07-23 16:45:21'::timestamp) - extract(epoch from '2026-07-23 16:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538707 -3.028928)'), GeomFromEWKT('SRID=4674;POINT (-39.53877 -3.028909)'))) / (select extract(epoch from '2026-07-23 16:45:21'::timestamp) - extract(epoch from '2026-07-23 16:43: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'), 47855, 'SRID=4674;POINT (-39.538775 -3.028898)', '2026-07-23 16:45:28', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53877 -3.028909)'), GeomFromEWKT('SRID=4674;POINT (-39.538775 -3.028898)'))) / (select extract(epoch from '2026-07-23 16:45:28'::timestamp) - extract(epoch from '2026-07-23 16:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53877 -3.028909)'), GeomFromEWKT('SRID=4674;POINT (-39.538775 -3.028898)'))) / (select extract(epoch from '2026-07-23 16:45:28'::timestamp) - extract(epoch from '2026-07-23 16:45:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538759 -3.028889)', '2026-07-23 16:45:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538775 -3.028898)'), GeomFromEWKT('SRID=4674;POINT (-39.538759 -3.028889)'))) / (select extract(epoch from '2026-07-23 16:45:51'::timestamp) - extract(epoch from '2026-07-23 16:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538775 -3.028898)'), GeomFromEWKT('SRID=4674;POINT (-39.538759 -3.028889)'))) / (select extract(epoch from '2026-07-23 16:45:51'::timestamp) - extract(epoch from '2026-07-23 16:45: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'), 47855, 'SRID=4674;POINT (-39.538758 -3.028887)', '2026-07-23 16:46:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538759 -3.028889)'), GeomFromEWKT('SRID=4674;POINT (-39.538758 -3.028887)'))) / (select extract(epoch from '2026-07-23 16:46:00'::timestamp) - extract(epoch from '2026-07-23 16:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538759 -3.028889)'), GeomFromEWKT('SRID=4674;POINT (-39.538758 -3.028887)'))) / (select extract(epoch from '2026-07-23 16:46:00'::timestamp) - extract(epoch from '2026-07-23 16:45:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538758 -3.028898)', '2026-07-23 16:46:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538758 -3.028887)'), GeomFromEWKT('SRID=4674;POINT (-39.538758 -3.028898)'))) / (select extract(epoch from '2026-07-23 16:46:09'::timestamp) - extract(epoch from '2026-07-23 16:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538758 -3.028887)'), GeomFromEWKT('SRID=4674;POINT (-39.538758 -3.028898)'))) / (select extract(epoch from '2026-07-23 16:46:09'::timestamp) - extract(epoch from '2026-07-23 16:46: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'), 47855, 'SRID=4674;POINT (-39.538765 -3.028887)', '2026-07-23 16:46:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538758 -3.028898)'), GeomFromEWKT('SRID=4674;POINT (-39.538765 -3.028887)'))) / (select extract(epoch from '2026-07-23 16:46:52'::timestamp) - extract(epoch from '2026-07-23 16:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538758 -3.028898)'), GeomFromEWKT('SRID=4674;POINT (-39.538765 -3.028887)'))) / (select extract(epoch from '2026-07-23 16:46:52'::timestamp) - extract(epoch from '2026-07-23 16:46: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'), 47855, 'SRID=4674;POINT (-39.538767 -3.028892)', '2026-07-23 16:46:55', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538765 -3.028887)'), GeomFromEWKT('SRID=4674;POINT (-39.538767 -3.028892)'))) / (select extract(epoch from '2026-07-23 16:46:55'::timestamp) - extract(epoch from '2026-07-23 16:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538765 -3.028887)'), GeomFromEWKT('SRID=4674;POINT (-39.538767 -3.028892)'))) / (select extract(epoch from '2026-07-23 16:46:55'::timestamp) - extract(epoch from '2026-07-23 16:46: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'), 47855, 'SRID=4674;POINT (-39.538754 -3.028888)', '2026-07-23 16:47:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538767 -3.028892)'), GeomFromEWKT('SRID=4674;POINT (-39.538754 -3.028888)'))) / (select extract(epoch from '2026-07-23 16:47:03'::timestamp) - extract(epoch from '2026-07-23 16:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538767 -3.028892)'), GeomFromEWKT('SRID=4674;POINT (-39.538754 -3.028888)'))) / (select extract(epoch from '2026-07-23 16:47:03'::timestamp) - extract(epoch from '2026-07-23 16:46:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538746 -3.028883)', '2026-07-23 16:47:13', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538754 -3.028888)'), GeomFromEWKT('SRID=4674;POINT (-39.538746 -3.028883)'))) / (select extract(epoch from '2026-07-23 16:47:13'::timestamp) - extract(epoch from '2026-07-23 16:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538754 -3.028888)'), GeomFromEWKT('SRID=4674;POINT (-39.538746 -3.028883)'))) / (select extract(epoch from '2026-07-23 16:47:13'::timestamp) - extract(epoch from '2026-07-23 16:47: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'), 47855, 'SRID=4674;POINT (-39.538754 -3.028893)', '2026-07-23 16:47:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538746 -3.028883)'), GeomFromEWKT('SRID=4674;POINT (-39.538754 -3.028893)'))) / (select extract(epoch from '2026-07-23 16:47:37'::timestamp) - extract(epoch from '2026-07-23 16:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538746 -3.028883)'), GeomFromEWKT('SRID=4674;POINT (-39.538754 -3.028893)'))) / (select extract(epoch from '2026-07-23 16:47:37'::timestamp) - extract(epoch from '2026-07-23 16:47: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'), 47855, 'SRID=4674;POINT (-39.538761 -3.028888)', '2026-07-23 16:47:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538754 -3.028893)'), GeomFromEWKT('SRID=4674;POINT (-39.538761 -3.028888)'))) / (select extract(epoch from '2026-07-23 16:47:43'::timestamp) - extract(epoch from '2026-07-23 16:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538754 -3.028893)'), GeomFromEWKT('SRID=4674;POINT (-39.538761 -3.028888)'))) / (select extract(epoch from '2026-07-23 16:47:43'::timestamp) - extract(epoch from '2026-07-23 16:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538757 -3.028906)', '2026-07-23 16:49:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538761 -3.028888)'), GeomFromEWKT('SRID=4674;POINT (-39.538757 -3.028906)'))) / (select extract(epoch from '2026-07-23 16:49:39'::timestamp) - extract(epoch from '2026-07-23 16:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538761 -3.028888)'), GeomFromEWKT('SRID=4674;POINT (-39.538757 -3.028906)'))) / (select extract(epoch from '2026-07-23 16:49:39'::timestamp) - extract(epoch from '2026-07-23 16:47:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538727 -3.028927)', '2026-07-23 16:49:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538757 -3.028906)'), GeomFromEWKT('SRID=4674;POINT (-39.538727 -3.028927)'))) / (select extract(epoch from '2026-07-23 16:49:50'::timestamp) - extract(epoch from '2026-07-23 16:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538757 -3.028906)'), GeomFromEWKT('SRID=4674;POINT (-39.538727 -3.028927)'))) / (select extract(epoch from '2026-07-23 16:49:50'::timestamp) - extract(epoch from '2026-07-23 16: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'), 47855, 'SRID=4674;POINT (-39.538659 -3.028929)', '2026-07-23 16:49:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538727 -3.028927)'), GeomFromEWKT('SRID=4674;POINT (-39.538659 -3.028929)'))) / (select extract(epoch from '2026-07-23 16:49:59'::timestamp) - extract(epoch from '2026-07-23 16:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538727 -3.028927)'), GeomFromEWKT('SRID=4674;POINT (-39.538659 -3.028929)'))) / (select extract(epoch from '2026-07-23 16:49:59'::timestamp) - extract(epoch from '2026-07-23 16:49: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'), 47855, 'SRID=4674;POINT (-39.5386 -3.028931)', '2026-07-23 16:50:07', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538659 -3.028929)'), GeomFromEWKT('SRID=4674;POINT (-39.5386 -3.028931)'))) / (select extract(epoch from '2026-07-23 16:50:07'::timestamp) - extract(epoch from '2026-07-23 16:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538659 -3.028929)'), GeomFromEWKT('SRID=4674;POINT (-39.5386 -3.028931)'))) / (select extract(epoch from '2026-07-23 16:50:07'::timestamp) - extract(epoch from '2026-07-23 16:49: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'), 47855, 'SRID=4674;POINT (-39.538538 -3.028941)', '2026-07-23 16:50:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5386 -3.028931)'), GeomFromEWKT('SRID=4674;POINT (-39.538538 -3.028941)'))) / (select extract(epoch from '2026-07-23 16:50:13'::timestamp) - extract(epoch from '2026-07-23 16:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5386 -3.028931)'), GeomFromEWKT('SRID=4674;POINT (-39.538538 -3.028941)'))) / (select extract(epoch from '2026-07-23 16:50:13'::timestamp) - extract(epoch from '2026-07-23 16:50: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'), 47855, 'SRID=4674;POINT (-39.538512 -3.028944)', '2026-07-23 16:50:15', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538538 -3.028941)'), GeomFromEWKT('SRID=4674;POINT (-39.538512 -3.028944)'))) / (select extract(epoch from '2026-07-23 16:50:15'::timestamp) - extract(epoch from '2026-07-23 16:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538538 -3.028941)'), GeomFromEWKT('SRID=4674;POINT (-39.538512 -3.028944)'))) / (select extract(epoch from '2026-07-23 16:50:15'::timestamp) - extract(epoch from '2026-07-23 16:50: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'), 47855, 'SRID=4674;POINT (-39.538461 -3.028964)', '2026-07-23 16:50:20', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538512 -3.028944)'), GeomFromEWKT('SRID=4674;POINT (-39.538461 -3.028964)'))) / (select extract(epoch from '2026-07-23 16:50:20'::timestamp) - extract(epoch from '2026-07-23 16:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538512 -3.028944)'), GeomFromEWKT('SRID=4674;POINT (-39.538461 -3.028964)'))) / (select extract(epoch from '2026-07-23 16:50:20'::timestamp) - extract(epoch from '2026-07-23 16:50: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'), 47855, 'SRID=4674;POINT (-39.538408 -3.028981)', '2026-07-23 16:50:26', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538461 -3.028964)'), GeomFromEWKT('SRID=4674;POINT (-39.538408 -3.028981)'))) / (select extract(epoch from '2026-07-23 16:50:26'::timestamp) - extract(epoch from '2026-07-23 16:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538461 -3.028964)'), GeomFromEWKT('SRID=4674;POINT (-39.538408 -3.028981)'))) / (select extract(epoch from '2026-07-23 16:50:26'::timestamp) - extract(epoch from '2026-07-23 16:50:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538383 -3.028982)', '2026-07-23 16:50:29', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538408 -3.028981)'), GeomFromEWKT('SRID=4674;POINT (-39.538383 -3.028982)'))) / (select extract(epoch from '2026-07-23 16:50:29'::timestamp) - extract(epoch from '2026-07-23 16:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538408 -3.028981)'), GeomFromEWKT('SRID=4674;POINT (-39.538383 -3.028982)'))) / (select extract(epoch from '2026-07-23 16:50:29'::timestamp) - extract(epoch from '2026-07-23 16: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'), 47855, 'SRID=4674;POINT (-39.53835 -3.028973)', '2026-07-23 16:50:33', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538383 -3.028982)'), GeomFromEWKT('SRID=4674;POINT (-39.53835 -3.028973)'))) / (select extract(epoch from '2026-07-23 16:50:33'::timestamp) - extract(epoch from '2026-07-23 16:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538383 -3.028982)'), GeomFromEWKT('SRID=4674;POINT (-39.53835 -3.028973)'))) / (select extract(epoch from '2026-07-23 16:50:33'::timestamp) - extract(epoch from '2026-07-23 16:50: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'), 47855, 'SRID=4674;POINT (-39.538274 -3.028982)', '2026-07-23 16:50:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53835 -3.028973)'), GeomFromEWKT('SRID=4674;POINT (-39.538274 -3.028982)'))) / (select extract(epoch from '2026-07-23 16:50:41'::timestamp) - extract(epoch from '2026-07-23 16:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53835 -3.028973)'), GeomFromEWKT('SRID=4674;POINT (-39.538274 -3.028982)'))) / (select extract(epoch from '2026-07-23 16:50:41'::timestamp) - extract(epoch from '2026-07-23 16:50:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538229 -3.028947)', '2026-07-23 16:50:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538274 -3.028982)'), GeomFromEWKT('SRID=4674;POINT (-39.538229 -3.028947)'))) / (select extract(epoch from '2026-07-23 16:50:48'::timestamp) - extract(epoch from '2026-07-23 16:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538274 -3.028982)'), GeomFromEWKT('SRID=4674;POINT (-39.538229 -3.028947)'))) / (select extract(epoch from '2026-07-23 16:50:48'::timestamp) - extract(epoch from '2026-07-23 16:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538225 -3.028919)', '2026-07-23 16:50:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538229 -3.028947)'), GeomFromEWKT('SRID=4674;POINT (-39.538225 -3.028919)'))) / (select extract(epoch from '2026-07-23 16:50:51'::timestamp) - extract(epoch from '2026-07-23 16:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538229 -3.028947)'), GeomFromEWKT('SRID=4674;POINT (-39.538225 -3.028919)'))) / (select extract(epoch from '2026-07-23 16:50:51'::timestamp) - extract(epoch from '2026-07-23 16:50: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'), 47855, 'SRID=4674;POINT (-39.53822 -3.028908)', '2026-07-23 16:50:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538225 -3.028919)'), GeomFromEWKT('SRID=4674;POINT (-39.53822 -3.028908)'))) / (select extract(epoch from '2026-07-23 16:50:52'::timestamp) - extract(epoch from '2026-07-23 16:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538225 -3.028919)'), GeomFromEWKT('SRID=4674;POINT (-39.53822 -3.028908)'))) / (select extract(epoch from '2026-07-23 16:50:52'::timestamp) - extract(epoch from '2026-07-23 16:50: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'), 47855, 'SRID=4674;POINT (-39.53821 -3.028821)', '2026-07-23 16:50:59', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53822 -3.028908)'), GeomFromEWKT('SRID=4674;POINT (-39.53821 -3.028821)'))) / (select extract(epoch from '2026-07-23 16:50:59'::timestamp) - extract(epoch from '2026-07-23 16:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53822 -3.028908)'), GeomFromEWKT('SRID=4674;POINT (-39.53821 -3.028821)'))) / (select extract(epoch from '2026-07-23 16:50:59'::timestamp) - extract(epoch from '2026-07-23 16:50:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.53821 -3.028808)', '2026-07-23 16:51:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53821 -3.028821)'), GeomFromEWKT('SRID=4674;POINT (-39.53821 -3.028808)'))) / (select extract(epoch from '2026-07-23 16:51:00'::timestamp) - extract(epoch from '2026-07-23 16:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53821 -3.028821)'), GeomFromEWKT('SRID=4674;POINT (-39.53821 -3.028808)'))) / (select extract(epoch from '2026-07-23 16:51:00'::timestamp) - extract(epoch from '2026-07-23 16:50: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'), 47855, 'SRID=4674;POINT (-39.5382 -3.028748)', '2026-07-23 16:51:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53821 -3.028808)'), GeomFromEWKT('SRID=4674;POINT (-39.5382 -3.028748)'))) / (select extract(epoch from '2026-07-23 16:51:04'::timestamp) - extract(epoch from '2026-07-23 16:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53821 -3.028808)'), GeomFromEWKT('SRID=4674;POINT (-39.5382 -3.028748)'))) / (select extract(epoch from '2026-07-23 16:51:04'::timestamp) - extract(epoch from '2026-07-23 16:51: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'), 47855, 'SRID=4674;POINT (-39.538178 -3.028705)', '2026-07-23 16:51:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5382 -3.028748)'), GeomFromEWKT('SRID=4674;POINT (-39.538178 -3.028705)'))) / (select extract(epoch from '2026-07-23 16:51:07'::timestamp) - extract(epoch from '2026-07-23 16:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5382 -3.028748)'), GeomFromEWKT('SRID=4674;POINT (-39.538178 -3.028705)'))) / (select extract(epoch from '2026-07-23 16:51:07'::timestamp) - extract(epoch from '2026-07-23 16:51: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'), 47855, 'SRID=4674;POINT (-39.53817 -3.028676)', '2026-07-23 16:51:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538178 -3.028705)'), GeomFromEWKT('SRID=4674;POINT (-39.53817 -3.028676)'))) / (select extract(epoch from '2026-07-23 16:51:09'::timestamp) - extract(epoch from '2026-07-23 16:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538178 -3.028705)'), GeomFromEWKT('SRID=4674;POINT (-39.53817 -3.028676)'))) / (select extract(epoch from '2026-07-23 16:51:09'::timestamp) - extract(epoch from '2026-07-23 16:51: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'), 47855, 'SRID=4674;POINT (-39.538145 -3.028583)', '2026-07-23 16:51:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53817 -3.028676)'), GeomFromEWKT('SRID=4674;POINT (-39.538145 -3.028583)'))) / (select extract(epoch from '2026-07-23 16:51:15'::timestamp) - extract(epoch from '2026-07-23 16:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53817 -3.028676)'), GeomFromEWKT('SRID=4674;POINT (-39.538145 -3.028583)'))) / (select extract(epoch from '2026-07-23 16:51:15'::timestamp) - extract(epoch from '2026-07-23 16:51: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'), 47855, 'SRID=4674;POINT (-39.538136 -3.028551)', '2026-07-23 16:51:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538145 -3.028583)'), GeomFromEWKT('SRID=4674;POINT (-39.538136 -3.028551)'))) / (select extract(epoch from '2026-07-23 16:51:17'::timestamp) - extract(epoch from '2026-07-23 16:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538145 -3.028583)'), GeomFromEWKT('SRID=4674;POINT (-39.538136 -3.028551)'))) / (select extract(epoch from '2026-07-23 16:51:17'::timestamp) - extract(epoch from '2026-07-23 16:51:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538135 -3.028499)', '2026-07-23 16:51:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538136 -3.028551)'), GeomFromEWKT('SRID=4674;POINT (-39.538135 -3.028499)'))) / (select extract(epoch from '2026-07-23 16:51:20'::timestamp) - extract(epoch from '2026-07-23 16:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538136 -3.028551)'), GeomFromEWKT('SRID=4674;POINT (-39.538135 -3.028499)'))) / (select extract(epoch from '2026-07-23 16:51:20'::timestamp) - extract(epoch from '2026-07-23 16:51: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'), 47855, 'SRID=4674;POINT (-39.538132 -3.028464)', '2026-07-23 16:51:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538135 -3.028499)'), GeomFromEWKT('SRID=4674;POINT (-39.538132 -3.028464)'))) / (select extract(epoch from '2026-07-23 16:51:22'::timestamp) - extract(epoch from '2026-07-23 16:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538135 -3.028499)'), GeomFromEWKT('SRID=4674;POINT (-39.538132 -3.028464)'))) / (select extract(epoch from '2026-07-23 16:51:22'::timestamp) - extract(epoch from '2026-07-23 16:51:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538143 -3.028415)', '2026-07-23 16:51:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538132 -3.028464)'), GeomFromEWKT('SRID=4674;POINT (-39.538143 -3.028415)'))) / (select extract(epoch from '2026-07-23 16:51:25'::timestamp) - extract(epoch from '2026-07-23 16:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538132 -3.028464)'), GeomFromEWKT('SRID=4674;POINT (-39.538143 -3.028415)'))) / (select extract(epoch from '2026-07-23 16:51:25'::timestamp) - extract(epoch from '2026-07-23 16:51:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.53815 -3.028397)', '2026-07-23 16:51:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538143 -3.028415)'), GeomFromEWKT('SRID=4674;POINT (-39.53815 -3.028397)'))) / (select extract(epoch from '2026-07-23 16:51:26'::timestamp) - extract(epoch from '2026-07-23 16:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538143 -3.028415)'), GeomFromEWKT('SRID=4674;POINT (-39.53815 -3.028397)'))) / (select extract(epoch from '2026-07-23 16:51:26'::timestamp) - extract(epoch from '2026-07-23 16:51: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'), 47855, 'SRID=4674;POINT (-39.53818 -3.028307)', '2026-07-23 16:51:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53815 -3.028397)'), GeomFromEWKT('SRID=4674;POINT (-39.53818 -3.028307)'))) / (select extract(epoch from '2026-07-23 16:51:31'::timestamp) - extract(epoch from '2026-07-23 16:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53815 -3.028397)'), GeomFromEWKT('SRID=4674;POINT (-39.53818 -3.028307)'))) / (select extract(epoch from '2026-07-23 16:51:31'::timestamp) - extract(epoch from '2026-07-23 16:51:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538185 -3.028289)', '2026-07-23 16:51:32', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53818 -3.028307)'), GeomFromEWKT('SRID=4674;POINT (-39.538185 -3.028289)'))) / (select extract(epoch from '2026-07-23 16:51:32'::timestamp) - extract(epoch from '2026-07-23 16:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53818 -3.028307)'), GeomFromEWKT('SRID=4674;POINT (-39.538185 -3.028289)'))) / (select extract(epoch from '2026-07-23 16:51:32'::timestamp) - extract(epoch from '2026-07-23 16:51:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538192 -3.028241)', '2026-07-23 16:51:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538185 -3.028289)'), GeomFromEWKT('SRID=4674;POINT (-39.538192 -3.028241)'))) / (select extract(epoch from '2026-07-23 16:51:35'::timestamp) - extract(epoch from '2026-07-23 16:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538185 -3.028289)'), GeomFromEWKT('SRID=4674;POINT (-39.538192 -3.028241)'))) / (select extract(epoch from '2026-07-23 16:51:35'::timestamp) - extract(epoch from '2026-07-23 16:51: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'), 47855, 'SRID=4674;POINT (-39.5382 -3.028224)', '2026-07-23 16:51:36', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538192 -3.028241)'), GeomFromEWKT('SRID=4674;POINT (-39.5382 -3.028224)'))) / (select extract(epoch from '2026-07-23 16:51:36'::timestamp) - extract(epoch from '2026-07-23 16:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538192 -3.028241)'), GeomFromEWKT('SRID=4674;POINT (-39.5382 -3.028224)'))) / (select extract(epoch from '2026-07-23 16:51:36'::timestamp) - extract(epoch from '2026-07-23 16:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538231 -3.02817)', '2026-07-23 16:51:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5382 -3.028224)'), GeomFromEWKT('SRID=4674;POINT (-39.538231 -3.02817)'))) / (select extract(epoch from '2026-07-23 16:51:39'::timestamp) - extract(epoch from '2026-07-23 16:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5382 -3.028224)'), GeomFromEWKT('SRID=4674;POINT (-39.538231 -3.02817)'))) / (select extract(epoch from '2026-07-23 16:51:39'::timestamp) - extract(epoch from '2026-07-23 16: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'), 47855, 'SRID=4674;POINT (-39.538229 -3.028123)', '2026-07-23 16:51:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538231 -3.02817)'), GeomFromEWKT('SRID=4674;POINT (-39.538229 -3.028123)'))) / (select extract(epoch from '2026-07-23 16:51:42'::timestamp) - extract(epoch from '2026-07-23 16:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538231 -3.02817)'), GeomFromEWKT('SRID=4674;POINT (-39.538229 -3.028123)'))) / (select extract(epoch from '2026-07-23 16:51:42'::timestamp) - extract(epoch from '2026-07-23 16:51: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'), 47855, 'SRID=4674;POINT (-39.538238 -3.028103)', '2026-07-23 16:51:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538229 -3.028123)'), GeomFromEWKT('SRID=4674;POINT (-39.538238 -3.028103)'))) / (select extract(epoch from '2026-07-23 16:51:43'::timestamp) - extract(epoch from '2026-07-23 16:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538229 -3.028123)'), GeomFromEWKT('SRID=4674;POINT (-39.538238 -3.028103)'))) / (select extract(epoch from '2026-07-23 16:51:43'::timestamp) - extract(epoch from '2026-07-23 16:51:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538252 -3.028016)', '2026-07-23 16:51:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538238 -3.028103)'), GeomFromEWKT('SRID=4674;POINT (-39.538252 -3.028016)'))) / (select extract(epoch from '2026-07-23 16:51:48'::timestamp) - extract(epoch from '2026-07-23 16:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538238 -3.028103)'), GeomFromEWKT('SRID=4674;POINT (-39.538252 -3.028016)'))) / (select extract(epoch from '2026-07-23 16:51:48'::timestamp) - extract(epoch from '2026-07-23 16:51: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'), 47855, 'SRID=4674;POINT (-39.538265 -3.027923)', '2026-07-23 16:51:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538252 -3.028016)'), GeomFromEWKT('SRID=4674;POINT (-39.538265 -3.027923)'))) / (select extract(epoch from '2026-07-23 16:51:53'::timestamp) - extract(epoch from '2026-07-23 16:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538252 -3.028016)'), GeomFromEWKT('SRID=4674;POINT (-39.538265 -3.027923)'))) / (select extract(epoch from '2026-07-23 16:51:53'::timestamp) - extract(epoch from '2026-07-23 16:51:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538283 -3.027828)', '2026-07-23 16:51:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538265 -3.027923)'), GeomFromEWKT('SRID=4674;POINT (-39.538283 -3.027828)'))) / (select extract(epoch from '2026-07-23 16:51:58'::timestamp) - extract(epoch from '2026-07-23 16:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538265 -3.027923)'), GeomFromEWKT('SRID=4674;POINT (-39.538283 -3.027828)'))) / (select extract(epoch from '2026-07-23 16:51:58'::timestamp) - extract(epoch from '2026-07-23 16:51:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538314 -3.027721)', '2026-07-23 16:52:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538283 -3.027828)'), GeomFromEWKT('SRID=4674;POINT (-39.538314 -3.027721)'))) / (select extract(epoch from '2026-07-23 16:52:04'::timestamp) - extract(epoch from '2026-07-23 16:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538283 -3.027828)'), GeomFromEWKT('SRID=4674;POINT (-39.538314 -3.027721)'))) / (select extract(epoch from '2026-07-23 16:52:04'::timestamp) - extract(epoch from '2026-07-23 16:51: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'), 47855, 'SRID=4674;POINT (-39.538324 -3.027684)', '2026-07-23 16:52:06', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538314 -3.027721)'), GeomFromEWKT('SRID=4674;POINT (-39.538324 -3.027684)'))) / (select extract(epoch from '2026-07-23 16:52:06'::timestamp) - extract(epoch from '2026-07-23 16:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538314 -3.027721)'), GeomFromEWKT('SRID=4674;POINT (-39.538324 -3.027684)'))) / (select extract(epoch from '2026-07-23 16:52:06'::timestamp) - extract(epoch from '2026-07-23 16:52: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'), 47855, 'SRID=4674;POINT (-39.538335 -3.02765)', '2026-07-23 16:52:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538324 -3.027684)'), GeomFromEWKT('SRID=4674;POINT (-39.538335 -3.02765)'))) / (select extract(epoch from '2026-07-23 16:52:08'::timestamp) - extract(epoch from '2026-07-23 16:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538324 -3.027684)'), GeomFromEWKT('SRID=4674;POINT (-39.538335 -3.02765)'))) / (select extract(epoch from '2026-07-23 16:52:08'::timestamp) - extract(epoch from '2026-07-23 16:52: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'), 47855, 'SRID=4674;POINT (-39.538358 -3.027562)', '2026-07-23 16:52:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538335 -3.02765)'), GeomFromEWKT('SRID=4674;POINT (-39.538358 -3.027562)'))) / (select extract(epoch from '2026-07-23 16:52:13'::timestamp) - extract(epoch from '2026-07-23 16:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538335 -3.02765)'), GeomFromEWKT('SRID=4674;POINT (-39.538358 -3.027562)'))) / (select extract(epoch from '2026-07-23 16:52:13'::timestamp) - extract(epoch from '2026-07-23 16:52: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'), 47855, 'SRID=4674;POINT (-39.538371 -3.027474)', '2026-07-23 16:52:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538358 -3.027562)'), GeomFromEWKT('SRID=4674;POINT (-39.538371 -3.027474)'))) / (select extract(epoch from '2026-07-23 16:52:18'::timestamp) - extract(epoch from '2026-07-23 16:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538358 -3.027562)'), GeomFromEWKT('SRID=4674;POINT (-39.538371 -3.027474)'))) / (select extract(epoch from '2026-07-23 16:52:18'::timestamp) - extract(epoch from '2026-07-23 16:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.53838 -3.027348)', '2026-07-23 16:52:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538371 -3.027474)'), GeomFromEWKT('SRID=4674;POINT (-39.53838 -3.027348)'))) / (select extract(epoch from '2026-07-23 16:52:25'::timestamp) - extract(epoch from '2026-07-23 16:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538371 -3.027474)'), GeomFromEWKT('SRID=4674;POINT (-39.53838 -3.027348)'))) / (select extract(epoch from '2026-07-23 16:52:25'::timestamp) - extract(epoch from '2026-07-23 16:52: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'), 47855, 'SRID=4674;POINT (-39.53839 -3.027282)', '2026-07-23 16:52:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53838 -3.027348)'), GeomFromEWKT('SRID=4674;POINT (-39.53839 -3.027282)'))) / (select extract(epoch from '2026-07-23 16:52:29'::timestamp) - extract(epoch from '2026-07-23 16:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53838 -3.027348)'), GeomFromEWKT('SRID=4674;POINT (-39.53839 -3.027282)'))) / (select extract(epoch from '2026-07-23 16:52:29'::timestamp) - extract(epoch from '2026-07-23 16:52: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'), 47855, 'SRID=4674;POINT (-39.538392 -3.027264)', '2026-07-23 16:52:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53839 -3.027282)'), GeomFromEWKT('SRID=4674;POINT (-39.538392 -3.027264)'))) / (select extract(epoch from '2026-07-23 16:52:30'::timestamp) - extract(epoch from '2026-07-23 16:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53839 -3.027282)'), GeomFromEWKT('SRID=4674;POINT (-39.538392 -3.027264)'))) / (select extract(epoch from '2026-07-23 16:52:30'::timestamp) - extract(epoch from '2026-07-23 16:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538396 -3.027232)', '2026-07-23 16:52:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538392 -3.027264)'), GeomFromEWKT('SRID=4674;POINT (-39.538396 -3.027232)'))) / (select extract(epoch from '2026-07-23 16:52:32'::timestamp) - extract(epoch from '2026-07-23 16:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538392 -3.027264)'), GeomFromEWKT('SRID=4674;POINT (-39.538396 -3.027232)'))) / (select extract(epoch from '2026-07-23 16:52:32'::timestamp) - extract(epoch from '2026-07-23 16:52: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'), 47855, 'SRID=4674;POINT (-39.538407 -3.027191)', '2026-07-23 16:52:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538396 -3.027232)'), GeomFromEWKT('SRID=4674;POINT (-39.538407 -3.027191)'))) / (select extract(epoch from '2026-07-23 16:52:34'::timestamp) - extract(epoch from '2026-07-23 16:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538396 -3.027232)'), GeomFromEWKT('SRID=4674;POINT (-39.538407 -3.027191)'))) / (select extract(epoch from '2026-07-23 16:52:34'::timestamp) - extract(epoch from '2026-07-23 16:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538409 -3.027102)', '2026-07-23 16:52:39', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538407 -3.027191)'), GeomFromEWKT('SRID=4674;POINT (-39.538409 -3.027102)'))) / (select extract(epoch from '2026-07-23 16:52:39'::timestamp) - extract(epoch from '2026-07-23 16:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538407 -3.027191)'), GeomFromEWKT('SRID=4674;POINT (-39.538409 -3.027102)'))) / (select extract(epoch from '2026-07-23 16:52:39'::timestamp) - extract(epoch from '2026-07-23 16:52:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538413 -3.027018)', '2026-07-23 16:52:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538409 -3.027102)'), GeomFromEWKT('SRID=4674;POINT (-39.538413 -3.027018)'))) / (select extract(epoch from '2026-07-23 16:52:44'::timestamp) - extract(epoch from '2026-07-23 16:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538409 -3.027102)'), GeomFromEWKT('SRID=4674;POINT (-39.538413 -3.027018)'))) / (select extract(epoch from '2026-07-23 16:52:44'::timestamp) - extract(epoch from '2026-07-23 16:52: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'), 47855, 'SRID=4674;POINT (-39.538429 -3.026926)', '2026-07-23 16:52:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538413 -3.027018)'), GeomFromEWKT('SRID=4674;POINT (-39.538429 -3.026926)'))) / (select extract(epoch from '2026-07-23 16:52:50'::timestamp) - extract(epoch from '2026-07-23 16:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538413 -3.027018)'), GeomFromEWKT('SRID=4674;POINT (-39.538429 -3.026926)'))) / (select extract(epoch from '2026-07-23 16:52:50'::timestamp) - extract(epoch from '2026-07-23 16:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538442 -3.026841)', '2026-07-23 16:52:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538429 -3.026926)'), GeomFromEWKT('SRID=4674;POINT (-39.538442 -3.026841)'))) / (select extract(epoch from '2026-07-23 16:52:55'::timestamp) - extract(epoch from '2026-07-23 16:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538429 -3.026926)'), GeomFromEWKT('SRID=4674;POINT (-39.538442 -3.026841)'))) / (select extract(epoch from '2026-07-23 16:52:55'::timestamp) - extract(epoch from '2026-07-23 16:52:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538446 -3.026823)', '2026-07-23 16:52:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538442 -3.026841)'), GeomFromEWKT('SRID=4674;POINT (-39.538446 -3.026823)'))) / (select extract(epoch from '2026-07-23 16:52:56'::timestamp) - extract(epoch from '2026-07-23 16:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538442 -3.026841)'), GeomFromEWKT('SRID=4674;POINT (-39.538446 -3.026823)'))) / (select extract(epoch from '2026-07-23 16:52:56'::timestamp) - extract(epoch from '2026-07-23 16:52: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'), 47855, 'SRID=4674;POINT (-39.538446 -3.026806)', '2026-07-23 16:52:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538446 -3.026823)'), GeomFromEWKT('SRID=4674;POINT (-39.538446 -3.026806)'))) / (select extract(epoch from '2026-07-23 16:52:57'::timestamp) - extract(epoch from '2026-07-23 16:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538446 -3.026823)'), GeomFromEWKT('SRID=4674;POINT (-39.538446 -3.026806)'))) / (select extract(epoch from '2026-07-23 16:52:57'::timestamp) - extract(epoch from '2026-07-23 16:52: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'), 47855, 'SRID=4674;POINT (-39.538439 -3.026756)', '2026-07-23 16:53:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538446 -3.026806)'), GeomFromEWKT('SRID=4674;POINT (-39.538439 -3.026756)'))) / (select extract(epoch from '2026-07-23 16:53:00'::timestamp) - extract(epoch from '2026-07-23 16:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538446 -3.026806)'), GeomFromEWKT('SRID=4674;POINT (-39.538439 -3.026756)'))) / (select extract(epoch from '2026-07-23 16:53:00'::timestamp) - extract(epoch from '2026-07-23 16:52:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538422 -3.026676)', '2026-07-23 16:53:05', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538439 -3.026756)'), GeomFromEWKT('SRID=4674;POINT (-39.538422 -3.026676)'))) / (select extract(epoch from '2026-07-23 16:53:05'::timestamp) - extract(epoch from '2026-07-23 16:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538439 -3.026756)'), GeomFromEWKT('SRID=4674;POINT (-39.538422 -3.026676)'))) / (select extract(epoch from '2026-07-23 16:53:05'::timestamp) - extract(epoch from '2026-07-23 16:53:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538416 -3.026627)', '2026-07-23 16:53:08', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538422 -3.026676)'), GeomFromEWKT('SRID=4674;POINT (-39.538416 -3.026627)'))) / (select extract(epoch from '2026-07-23 16:53:08'::timestamp) - extract(epoch from '2026-07-23 16:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538422 -3.026676)'), GeomFromEWKT('SRID=4674;POINT (-39.538416 -3.026627)'))) / (select extract(epoch from '2026-07-23 16:53:08'::timestamp) - extract(epoch from '2026-07-23 16:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538415 -3.026611)', '2026-07-23 16:53:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538416 -3.026627)'), GeomFromEWKT('SRID=4674;POINT (-39.538415 -3.026611)'))) / (select extract(epoch from '2026-07-23 16:53:09'::timestamp) - extract(epoch from '2026-07-23 16:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538416 -3.026627)'), GeomFromEWKT('SRID=4674;POINT (-39.538415 -3.026611)'))) / (select extract(epoch from '2026-07-23 16:53:09'::timestamp) - extract(epoch from '2026-07-23 16:53:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538408 -3.02656)', '2026-07-23 16:53:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538415 -3.026611)'), GeomFromEWKT('SRID=4674;POINT (-39.538408 -3.02656)'))) / (select extract(epoch from '2026-07-23 16:53:12'::timestamp) - extract(epoch from '2026-07-23 16:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538415 -3.026611)'), GeomFromEWKT('SRID=4674;POINT (-39.538408 -3.02656)'))) / (select extract(epoch from '2026-07-23 16:53:12'::timestamp) - extract(epoch from '2026-07-23 16:53: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'), 47855, 'SRID=4674;POINT (-39.538407 -3.026522)', '2026-07-23 16:53:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538408 -3.02656)'), GeomFromEWKT('SRID=4674;POINT (-39.538407 -3.026522)'))) / (select extract(epoch from '2026-07-23 16:53:14'::timestamp) - extract(epoch from '2026-07-23 16:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538408 -3.02656)'), GeomFromEWKT('SRID=4674;POINT (-39.538407 -3.026522)'))) / (select extract(epoch from '2026-07-23 16:53:14'::timestamp) - extract(epoch from '2026-07-23 16:53:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538406 -3.026435)', '2026-07-23 16:53:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538407 -3.026522)'), GeomFromEWKT('SRID=4674;POINT (-39.538406 -3.026435)'))) / (select extract(epoch from '2026-07-23 16:53:19'::timestamp) - extract(epoch from '2026-07-23 16:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538407 -3.026522)'), GeomFromEWKT('SRID=4674;POINT (-39.538406 -3.026435)'))) / (select extract(epoch from '2026-07-23 16:53:19'::timestamp) - extract(epoch from '2026-07-23 16:53:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538405 -3.026354)', '2026-07-23 16:53:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538406 -3.026435)'), GeomFromEWKT('SRID=4674;POINT (-39.538405 -3.026354)'))) / (select extract(epoch from '2026-07-23 16:53:24'::timestamp) - extract(epoch from '2026-07-23 16:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538406 -3.026435)'), GeomFromEWKT('SRID=4674;POINT (-39.538405 -3.026354)'))) / (select extract(epoch from '2026-07-23 16:53:24'::timestamp) - extract(epoch from '2026-07-23 16:53:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538415 -3.026266)', '2026-07-23 16:53:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538405 -3.026354)'), GeomFromEWKT('SRID=4674;POINT (-39.538415 -3.026266)'))) / (select extract(epoch from '2026-07-23 16:53:29'::timestamp) - extract(epoch from '2026-07-23 16:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538405 -3.026354)'), GeomFromEWKT('SRID=4674;POINT (-39.538415 -3.026266)'))) / (select extract(epoch from '2026-07-23 16:53:29'::timestamp) - extract(epoch from '2026-07-23 16: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'), 47855, 'SRID=4674;POINT (-39.538422 -3.02616)', '2026-07-23 16:53:35', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538415 -3.026266)'), GeomFromEWKT('SRID=4674;POINT (-39.538422 -3.02616)'))) / (select extract(epoch from '2026-07-23 16:53:35'::timestamp) - extract(epoch from '2026-07-23 16:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538415 -3.026266)'), GeomFromEWKT('SRID=4674;POINT (-39.538422 -3.02616)'))) / (select extract(epoch from '2026-07-23 16:53:35'::timestamp) - extract(epoch from '2026-07-23 16:53: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'), 47855, 'SRID=4674;POINT (-39.538429 -3.026129)', '2026-07-23 16:53:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538422 -3.02616)'), GeomFromEWKT('SRID=4674;POINT (-39.538429 -3.026129)'))) / (select extract(epoch from '2026-07-23 16:53:37'::timestamp) - extract(epoch from '2026-07-23 16:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538422 -3.02616)'), GeomFromEWKT('SRID=4674;POINT (-39.538429 -3.026129)'))) / (select extract(epoch from '2026-07-23 16:53:37'::timestamp) - extract(epoch from '2026-07-23 16:53: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'), 47855, 'SRID=4674;POINT (-39.538418 -3.026078)', '2026-07-23 16:53:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538429 -3.026129)'), GeomFromEWKT('SRID=4674;POINT (-39.538418 -3.026078)'))) / (select extract(epoch from '2026-07-23 16:53:40'::timestamp) - extract(epoch from '2026-07-23 16:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538429 -3.026129)'), GeomFromEWKT('SRID=4674;POINT (-39.538418 -3.026078)'))) / (select extract(epoch from '2026-07-23 16:53:40'::timestamp) - extract(epoch from '2026-07-23 16:53:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538403 -3.025987)', '2026-07-23 16:53:46', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538418 -3.026078)'), GeomFromEWKT('SRID=4674;POINT (-39.538403 -3.025987)'))) / (select extract(epoch from '2026-07-23 16:53:46'::timestamp) - extract(epoch from '2026-07-23 16:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538418 -3.026078)'), GeomFromEWKT('SRID=4674;POINT (-39.538403 -3.025987)'))) / (select extract(epoch from '2026-07-23 16:53:46'::timestamp) - extract(epoch from '2026-07-23 16:53: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'), 47855, 'SRID=4674;POINT (-39.538405 -3.02592)', '2026-07-23 16:53:50', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538403 -3.025987)'), GeomFromEWKT('SRID=4674;POINT (-39.538405 -3.02592)'))) / (select extract(epoch from '2026-07-23 16:53:50'::timestamp) - extract(epoch from '2026-07-23 16:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538403 -3.025987)'), GeomFromEWKT('SRID=4674;POINT (-39.538405 -3.02592)'))) / (select extract(epoch from '2026-07-23 16:53:50'::timestamp) - extract(epoch from '2026-07-23 16:53:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538414 -3.025843)', '2026-07-23 16:53:55', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538405 -3.02592)'), GeomFromEWKT('SRID=4674;POINT (-39.538414 -3.025843)'))) / (select extract(epoch from '2026-07-23 16:53:55'::timestamp) - extract(epoch from '2026-07-23 16:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538405 -3.02592)'), GeomFromEWKT('SRID=4674;POINT (-39.538414 -3.025843)'))) / (select extract(epoch from '2026-07-23 16:53:55'::timestamp) - extract(epoch from '2026-07-23 16:53: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'), 47855, 'SRID=4674;POINT (-39.538407 -3.025728)', '2026-07-23 16:54:02', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538414 -3.025843)'), GeomFromEWKT('SRID=4674;POINT (-39.538407 -3.025728)'))) / (select extract(epoch from '2026-07-23 16:54:02'::timestamp) - extract(epoch from '2026-07-23 16:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538414 -3.025843)'), GeomFromEWKT('SRID=4674;POINT (-39.538407 -3.025728)'))) / (select extract(epoch from '2026-07-23 16:54:02'::timestamp) - extract(epoch from '2026-07-23 16:53:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.53841 -3.025712)', '2026-07-23 16:54:03', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538407 -3.025728)'), GeomFromEWKT('SRID=4674;POINT (-39.53841 -3.025712)'))) / (select extract(epoch from '2026-07-23 16:54:03'::timestamp) - extract(epoch from '2026-07-23 16:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538407 -3.025728)'), GeomFromEWKT('SRID=4674;POINT (-39.53841 -3.025712)'))) / (select extract(epoch from '2026-07-23 16:54:03'::timestamp) - extract(epoch from '2026-07-23 16: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'), 47855, 'SRID=4674;POINT (-39.538415 -3.025668)', '2026-07-23 16:54:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53841 -3.025712)'), GeomFromEWKT('SRID=4674;POINT (-39.538415 -3.025668)'))) / (select extract(epoch from '2026-07-23 16:54:06'::timestamp) - extract(epoch from '2026-07-23 16:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53841 -3.025712)'), GeomFromEWKT('SRID=4674;POINT (-39.538415 -3.025668)'))) / (select extract(epoch from '2026-07-23 16:54:06'::timestamp) - extract(epoch from '2026-07-23 16:54:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538413 -3.025653)', '2026-07-23 16:54:07', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538415 -3.025668)'), GeomFromEWKT('SRID=4674;POINT (-39.538413 -3.025653)'))) / (select extract(epoch from '2026-07-23 16:54:07'::timestamp) - extract(epoch from '2026-07-23 16:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538415 -3.025668)'), GeomFromEWKT('SRID=4674;POINT (-39.538413 -3.025653)'))) / (select extract(epoch from '2026-07-23 16:54:07'::timestamp) - extract(epoch from '2026-07-23 16:54: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'), 47855, 'SRID=4674;POINT (-39.53842 -3.025619)', '2026-07-23 16:54:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538413 -3.025653)'), GeomFromEWKT('SRID=4674;POINT (-39.53842 -3.025619)'))) / (select extract(epoch from '2026-07-23 16:54:09'::timestamp) - extract(epoch from '2026-07-23 16:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538413 -3.025653)'), GeomFromEWKT('SRID=4674;POINT (-39.53842 -3.025619)'))) / (select extract(epoch from '2026-07-23 16:54:09'::timestamp) - extract(epoch from '2026-07-23 16:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538425 -3.02557)', '2026-07-23 16:54:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53842 -3.025619)'), GeomFromEWKT('SRID=4674;POINT (-39.538425 -3.02557)'))) / (select extract(epoch from '2026-07-23 16:54:12'::timestamp) - extract(epoch from '2026-07-23 16:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53842 -3.025619)'), GeomFromEWKT('SRID=4674;POINT (-39.538425 -3.02557)'))) / (select extract(epoch from '2026-07-23 16:54:12'::timestamp) - extract(epoch from '2026-07-23 16:54: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'), 47855, 'SRID=4674;POINT (-39.538438 -3.025473)', '2026-07-23 16:54:18', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538425 -3.02557)'), GeomFromEWKT('SRID=4674;POINT (-39.538438 -3.025473)'))) / (select extract(epoch from '2026-07-23 16:54:18'::timestamp) - extract(epoch from '2026-07-23 16:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538425 -3.02557)'), GeomFromEWKT('SRID=4674;POINT (-39.538438 -3.025473)'))) / (select extract(epoch from '2026-07-23 16:54:18'::timestamp) - extract(epoch from '2026-07-23 16:54: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'), 47855, 'SRID=4674;POINT (-39.538437 -3.025456)', '2026-07-23 16:54:19', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538438 -3.025473)'), GeomFromEWKT('SRID=4674;POINT (-39.538437 -3.025456)'))) / (select extract(epoch from '2026-07-23 16:54:19'::timestamp) - extract(epoch from '2026-07-23 16:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538438 -3.025473)'), GeomFromEWKT('SRID=4674;POINT (-39.538437 -3.025456)'))) / (select extract(epoch from '2026-07-23 16:54:19'::timestamp) - extract(epoch from '2026-07-23 16:54: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'), 47855, 'SRID=4674;POINT (-39.538435 -3.02542)', '2026-07-23 16:54:21', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538437 -3.025456)'), GeomFromEWKT('SRID=4674;POINT (-39.538435 -3.02542)'))) / (select extract(epoch from '2026-07-23 16:54:21'::timestamp) - extract(epoch from '2026-07-23 16:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538437 -3.025456)'), GeomFromEWKT('SRID=4674;POINT (-39.538435 -3.02542)'))) / (select extract(epoch from '2026-07-23 16:54:21'::timestamp) - extract(epoch from '2026-07-23 16:54:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538439 -3.025406)', '2026-07-23 16:54:22', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538435 -3.02542)'), GeomFromEWKT('SRID=4674;POINT (-39.538439 -3.025406)'))) / (select extract(epoch from '2026-07-23 16:54:22'::timestamp) - extract(epoch from '2026-07-23 16:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538435 -3.02542)'), GeomFromEWKT('SRID=4674;POINT (-39.538439 -3.025406)'))) / (select extract(epoch from '2026-07-23 16:54:22'::timestamp) - extract(epoch from '2026-07-23 16:54: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'), 47855, 'SRID=4674;POINT (-39.538438 -3.025391)', '2026-07-23 16:54:23', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538439 -3.025406)'), GeomFromEWKT('SRID=4674;POINT (-39.538438 -3.025391)'))) / (select extract(epoch from '2026-07-23 16:54:23'::timestamp) - extract(epoch from '2026-07-23 16:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538439 -3.025406)'), GeomFromEWKT('SRID=4674;POINT (-39.538438 -3.025391)'))) / (select extract(epoch from '2026-07-23 16:54:23'::timestamp) - extract(epoch from '2026-07-23 16:54:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538437 -3.025342)', '2026-07-23 16:54:26', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538438 -3.025391)'), GeomFromEWKT('SRID=4674;POINT (-39.538437 -3.025342)'))) / (select extract(epoch from '2026-07-23 16:54:26'::timestamp) - extract(epoch from '2026-07-23 16:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538438 -3.025391)'), GeomFromEWKT('SRID=4674;POINT (-39.538437 -3.025342)'))) / (select extract(epoch from '2026-07-23 16:54:26'::timestamp) - extract(epoch from '2026-07-23 16:54: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'), 47855, 'SRID=4674;POINT (-39.538433 -3.025263)', '2026-07-23 16:54:31', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538437 -3.025342)'), GeomFromEWKT('SRID=4674;POINT (-39.538433 -3.025263)'))) / (select extract(epoch from '2026-07-23 16:54:31'::timestamp) - extract(epoch from '2026-07-23 16:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538437 -3.025342)'), GeomFromEWKT('SRID=4674;POINT (-39.538433 -3.025263)'))) / (select extract(epoch from '2026-07-23 16:54:31'::timestamp) - extract(epoch from '2026-07-23 16:54: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'), 47855, 'SRID=4674;POINT (-39.538416 -3.025144)', '2026-07-23 16:54:38', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538433 -3.025263)'), GeomFromEWKT('SRID=4674;POINT (-39.538416 -3.025144)'))) / (select extract(epoch from '2026-07-23 16:54:38'::timestamp) - extract(epoch from '2026-07-23 16:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538433 -3.025263)'), GeomFromEWKT('SRID=4674;POINT (-39.538416 -3.025144)'))) / (select extract(epoch from '2026-07-23 16:54:38'::timestamp) - extract(epoch from '2026-07-23 16:54:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538396 -3.025063)', '2026-07-23 16:54:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538416 -3.025144)'), GeomFromEWKT('SRID=4674;POINT (-39.538396 -3.025063)'))) / (select extract(epoch from '2026-07-23 16:54:43'::timestamp) - extract(epoch from '2026-07-23 16:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538416 -3.025144)'), GeomFromEWKT('SRID=4674;POINT (-39.538396 -3.025063)'))) / (select extract(epoch from '2026-07-23 16:54:43'::timestamp) - extract(epoch from '2026-07-23 16:54: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'), 47855, 'SRID=4674;POINT (-39.538384 -3.025001)', '2026-07-23 16:54:47', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538396 -3.025063)'), GeomFromEWKT('SRID=4674;POINT (-39.538384 -3.025001)'))) / (select extract(epoch from '2026-07-23 16:54:47'::timestamp) - extract(epoch from '2026-07-23 16:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538396 -3.025063)'), GeomFromEWKT('SRID=4674;POINT (-39.538384 -3.025001)'))) / (select extract(epoch from '2026-07-23 16:54:47'::timestamp) - extract(epoch from '2026-07-23 16:54: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'), 47855, 'SRID=4674;POINT (-39.538375 -3.024989)', '2026-07-23 16:54:48', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538384 -3.025001)'), GeomFromEWKT('SRID=4674;POINT (-39.538375 -3.024989)'))) / (select extract(epoch from '2026-07-23 16:54:48'::timestamp) - extract(epoch from '2026-07-23 16:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538384 -3.025001)'), GeomFromEWKT('SRID=4674;POINT (-39.538375 -3.024989)'))) / (select extract(epoch from '2026-07-23 16:54:48'::timestamp) - extract(epoch from '2026-07-23 16:54: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'), 47855, 'SRID=4674;POINT (-39.538368 -3.024975)', '2026-07-23 16:54:49', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538375 -3.024989)'), GeomFromEWKT('SRID=4674;POINT (-39.538368 -3.024975)'))) / (select extract(epoch from '2026-07-23 16:54:49'::timestamp) - extract(epoch from '2026-07-23 16:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538375 -3.024989)'), GeomFromEWKT('SRID=4674;POINT (-39.538368 -3.024975)'))) / (select extract(epoch from '2026-07-23 16:54:49'::timestamp) - extract(epoch from '2026-07-23 16:54: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'), 47855, 'SRID=4674;POINT (-39.538349 -3.024929)', '2026-07-23 16:54:53', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538368 -3.024975)'), GeomFromEWKT('SRID=4674;POINT (-39.538349 -3.024929)'))) / (select extract(epoch from '2026-07-23 16:54:53'::timestamp) - extract(epoch from '2026-07-23 16:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538368 -3.024975)'), GeomFromEWKT('SRID=4674;POINT (-39.538349 -3.024929)'))) / (select extract(epoch from '2026-07-23 16:54:53'::timestamp) - extract(epoch from '2026-07-23 16:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.53833 -3.024888)', '2026-07-23 16:54:56', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538349 -3.024929)'), GeomFromEWKT('SRID=4674;POINT (-39.53833 -3.024888)'))) / (select extract(epoch from '2026-07-23 16:54:56'::timestamp) - extract(epoch from '2026-07-23 16:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538349 -3.024929)'), GeomFromEWKT('SRID=4674;POINT (-39.53833 -3.024888)'))) / (select extract(epoch from '2026-07-23 16:54:56'::timestamp) - extract(epoch from '2026-07-23 16:54: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'), 47855, 'SRID=4674;POINT (-39.538317 -3.024844)', '2026-07-23 16:54:59', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53833 -3.024888)'), GeomFromEWKT('SRID=4674;POINT (-39.538317 -3.024844)'))) / (select extract(epoch from '2026-07-23 16:54:59'::timestamp) - extract(epoch from '2026-07-23 16:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53833 -3.024888)'), GeomFromEWKT('SRID=4674;POINT (-39.538317 -3.024844)'))) / (select extract(epoch from '2026-07-23 16:54:59'::timestamp) - extract(epoch from '2026-07-23 16:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.53831 -3.024814)', '2026-07-23 16:55:01', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538317 -3.024844)'), GeomFromEWKT('SRID=4674;POINT (-39.53831 -3.024814)'))) / (select extract(epoch from '2026-07-23 16:55:01'::timestamp) - extract(epoch from '2026-07-23 16:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538317 -3.024844)'), GeomFromEWKT('SRID=4674;POINT (-39.53831 -3.024814)'))) / (select extract(epoch from '2026-07-23 16:55:01'::timestamp) - extract(epoch from '2026-07-23 16:54: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'), 47855, 'SRID=4674;POINT (-39.538311 -3.024785)', '2026-07-23 16:55:03', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53831 -3.024814)'), GeomFromEWKT('SRID=4674;POINT (-39.538311 -3.024785)'))) / (select extract(epoch from '2026-07-23 16:55:03'::timestamp) - extract(epoch from '2026-07-23 16:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53831 -3.024814)'), GeomFromEWKT('SRID=4674;POINT (-39.538311 -3.024785)'))) / (select extract(epoch from '2026-07-23 16:55:03'::timestamp) - extract(epoch from '2026-07-23 16:55: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'), 47855, 'SRID=4674;POINT (-39.538306 -3.024698)', '2026-07-23 16:55:08', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538311 -3.024785)'), GeomFromEWKT('SRID=4674;POINT (-39.538306 -3.024698)'))) / (select extract(epoch from '2026-07-23 16:55:08'::timestamp) - extract(epoch from '2026-07-23 16:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538311 -3.024785)'), GeomFromEWKT('SRID=4674;POINT (-39.538306 -3.024698)'))) / (select extract(epoch from '2026-07-23 16:55:08'::timestamp) - extract(epoch from '2026-07-23 16:55: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'), 47855, 'SRID=4674;POINT (-39.538303 -3.02459)', '2026-07-23 16:55:14', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538306 -3.024698)'), GeomFromEWKT('SRID=4674;POINT (-39.538303 -3.02459)'))) / (select extract(epoch from '2026-07-23 16:55:14'::timestamp) - extract(epoch from '2026-07-23 16:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538306 -3.024698)'), GeomFromEWKT('SRID=4674;POINT (-39.538303 -3.02459)'))) / (select extract(epoch from '2026-07-23 16:55:14'::timestamp) - extract(epoch from '2026-07-23 16:55:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538302 -3.024509)', '2026-07-23 16:55:19', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538303 -3.02459)'), GeomFromEWKT('SRID=4674;POINT (-39.538302 -3.024509)'))) / (select extract(epoch from '2026-07-23 16:55:19'::timestamp) - extract(epoch from '2026-07-23 16:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538303 -3.02459)'), GeomFromEWKT('SRID=4674;POINT (-39.538302 -3.024509)'))) / (select extract(epoch from '2026-07-23 16:55:19'::timestamp) - extract(epoch from '2026-07-23 16:55: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'), 47855, 'SRID=4674;POINT (-39.538296 -3.024426)', '2026-07-23 16:55:24', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538302 -3.024509)'), GeomFromEWKT('SRID=4674;POINT (-39.538296 -3.024426)'))) / (select extract(epoch from '2026-07-23 16:55:24'::timestamp) - extract(epoch from '2026-07-23 16:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538302 -3.024509)'), GeomFromEWKT('SRID=4674;POINT (-39.538296 -3.024426)'))) / (select extract(epoch from '2026-07-23 16:55:24'::timestamp) - extract(epoch from '2026-07-23 16:55: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'), 47855, 'SRID=4674;POINT (-39.538299 -3.024407)', '2026-07-23 16:55:25', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538296 -3.024426)'), GeomFromEWKT('SRID=4674;POINT (-39.538299 -3.024407)'))) / (select extract(epoch from '2026-07-23 16:55:25'::timestamp) - extract(epoch from '2026-07-23 16:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538296 -3.024426)'), GeomFromEWKT('SRID=4674;POINT (-39.538299 -3.024407)'))) / (select extract(epoch from '2026-07-23 16:55:25'::timestamp) - extract(epoch from '2026-07-23 16: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'), 47855, 'SRID=4674;POINT (-39.538291 -3.024304)', '2026-07-23 16:55:31', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538299 -3.024407)'), GeomFromEWKT('SRID=4674;POINT (-39.538291 -3.024304)'))) / (select extract(epoch from '2026-07-23 16:55:31'::timestamp) - extract(epoch from '2026-07-23 16:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538299 -3.024407)'), GeomFromEWKT('SRID=4674;POINT (-39.538291 -3.024304)'))) / (select extract(epoch from '2026-07-23 16:55:31'::timestamp) - extract(epoch from '2026-07-23 16:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538284 -3.024186)', '2026-07-23 16:55:38', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538291 -3.024304)'), GeomFromEWKT('SRID=4674;POINT (-39.538284 -3.024186)'))) / (select extract(epoch from '2026-07-23 16:55:38'::timestamp) - extract(epoch from '2026-07-23 16:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538291 -3.024304)'), GeomFromEWKT('SRID=4674;POINT (-39.538284 -3.024186)'))) / (select extract(epoch from '2026-07-23 16:55:38'::timestamp) - extract(epoch from '2026-07-23 16:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538286 -3.02417)', '2026-07-23 16:55:39', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538284 -3.024186)'), GeomFromEWKT('SRID=4674;POINT (-39.538286 -3.02417)'))) / (select extract(epoch from '2026-07-23 16:55:39'::timestamp) - extract(epoch from '2026-07-23 16:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538284 -3.024186)'), GeomFromEWKT('SRID=4674;POINT (-39.538286 -3.02417)'))) / (select extract(epoch from '2026-07-23 16:55:39'::timestamp) - extract(epoch from '2026-07-23 16:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538276 -3.024122)', '2026-07-23 16:55:42', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538286 -3.02417)'), GeomFromEWKT('SRID=4674;POINT (-39.538276 -3.024122)'))) / (select extract(epoch from '2026-07-23 16:55:42'::timestamp) - extract(epoch from '2026-07-23 16:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538286 -3.02417)'), GeomFromEWKT('SRID=4674;POINT (-39.538276 -3.024122)'))) / (select extract(epoch from '2026-07-23 16:55:42'::timestamp) - extract(epoch from '2026-07-23 16:55: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'), 47855, 'SRID=4674;POINT (-39.538258 -3.024043)', '2026-07-23 16:55:47', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538276 -3.024122)'), GeomFromEWKT('SRID=4674;POINT (-39.538258 -3.024043)'))) / (select extract(epoch from '2026-07-23 16:55:47'::timestamp) - extract(epoch from '2026-07-23 16:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538276 -3.024122)'), GeomFromEWKT('SRID=4674;POINT (-39.538258 -3.024043)'))) / (select extract(epoch from '2026-07-23 16:55:47'::timestamp) - extract(epoch from '2026-07-23 16:55:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538257 -3.024027)', '2026-07-23 16:55:48', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538258 -3.024043)'), GeomFromEWKT('SRID=4674;POINT (-39.538257 -3.024027)'))) / (select extract(epoch from '2026-07-23 16:55:48'::timestamp) - extract(epoch from '2026-07-23 16:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538258 -3.024043)'), GeomFromEWKT('SRID=4674;POINT (-39.538257 -3.024027)'))) / (select extract(epoch from '2026-07-23 16:55:48'::timestamp) - extract(epoch from '2026-07-23 16:55:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538257 -3.023998)', '2026-07-23 16:55:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538257 -3.024027)'), GeomFromEWKT('SRID=4674;POINT (-39.538257 -3.023998)'))) / (select extract(epoch from '2026-07-23 16:55:50'::timestamp) - extract(epoch from '2026-07-23 16:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538257 -3.024027)'), GeomFromEWKT('SRID=4674;POINT (-39.538257 -3.023998)'))) / (select extract(epoch from '2026-07-23 16:55:50'::timestamp) - extract(epoch from '2026-07-23 16:55: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'), 47855, 'SRID=4674;POINT (-39.538252 -3.023982)', '2026-07-23 16:55:51', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538257 -3.023998)'), GeomFromEWKT('SRID=4674;POINT (-39.538252 -3.023982)'))) / (select extract(epoch from '2026-07-23 16:55:51'::timestamp) - extract(epoch from '2026-07-23 16:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538257 -3.023998)'), GeomFromEWKT('SRID=4674;POINT (-39.538252 -3.023982)'))) / (select extract(epoch from '2026-07-23 16:55:51'::timestamp) - extract(epoch from '2026-07-23 16:55: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'), 47855, 'SRID=4674;POINT (-39.538247 -3.023894)', '2026-07-23 16:55:56', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538252 -3.023982)'), GeomFromEWKT('SRID=4674;POINT (-39.538247 -3.023894)'))) / (select extract(epoch from '2026-07-23 16:55:56'::timestamp) - extract(epoch from '2026-07-23 16:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538252 -3.023982)'), GeomFromEWKT('SRID=4674;POINT (-39.538247 -3.023894)'))) / (select extract(epoch from '2026-07-23 16:55:56'::timestamp) - extract(epoch from '2026-07-23 16:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538249 -3.02386)', '2026-07-23 16:55:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538247 -3.023894)'), GeomFromEWKT('SRID=4674;POINT (-39.538249 -3.02386)'))) / (select extract(epoch from '2026-07-23 16:55:58'::timestamp) - extract(epoch from '2026-07-23 16:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538247 -3.023894)'), GeomFromEWKT('SRID=4674;POINT (-39.538249 -3.02386)'))) / (select extract(epoch from '2026-07-23 16:55:58'::timestamp) - extract(epoch from '2026-07-23 16:55: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'), 47855, 'SRID=4674;POINT (-39.538246 -3.023829)', '2026-07-23 16:56:00', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538249 -3.02386)'), GeomFromEWKT('SRID=4674;POINT (-39.538246 -3.023829)'))) / (select extract(epoch from '2026-07-23 16:56:00'::timestamp) - extract(epoch from '2026-07-23 16:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538249 -3.02386)'), GeomFromEWKT('SRID=4674;POINT (-39.538246 -3.023829)'))) / (select extract(epoch from '2026-07-23 16:56:00'::timestamp) - extract(epoch from '2026-07-23 16:55:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538247 -3.023813)', '2026-07-23 16:56:01', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538246 -3.023829)'), GeomFromEWKT('SRID=4674;POINT (-39.538247 -3.023813)'))) / (select extract(epoch from '2026-07-23 16:56:01'::timestamp) - extract(epoch from '2026-07-23 16:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538246 -3.023829)'), GeomFromEWKT('SRID=4674;POINT (-39.538247 -3.023813)'))) / (select extract(epoch from '2026-07-23 16:56:01'::timestamp) - extract(epoch from '2026-07-23 16:56: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'), 47855, 'SRID=4674;POINT (-39.538252 -3.023743)', '2026-07-23 16:56:06', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538247 -3.023813)'), GeomFromEWKT('SRID=4674;POINT (-39.538252 -3.023743)'))) / (select extract(epoch from '2026-07-23 16:56:06'::timestamp) - extract(epoch from '2026-07-23 16:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538247 -3.023813)'), GeomFromEWKT('SRID=4674;POINT (-39.538252 -3.023743)'))) / (select extract(epoch from '2026-07-23 16:56:06'::timestamp) - extract(epoch from '2026-07-23 16:56: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'), 47855, 'SRID=4674;POINT (-39.538249 -3.023726)', '2026-07-23 16:56:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538252 -3.023743)'), GeomFromEWKT('SRID=4674;POINT (-39.538249 -3.023726)'))) / (select extract(epoch from '2026-07-23 16:56:07'::timestamp) - extract(epoch from '2026-07-23 16:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538252 -3.023743)'), GeomFromEWKT('SRID=4674;POINT (-39.538249 -3.023726)'))) / (select extract(epoch from '2026-07-23 16:56:07'::timestamp) - extract(epoch from '2026-07-23 16:56:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538233 -3.023612)', '2026-07-23 16:56:14', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538249 -3.023726)'), GeomFromEWKT('SRID=4674;POINT (-39.538233 -3.023612)'))) / (select extract(epoch from '2026-07-23 16:56:14'::timestamp) - extract(epoch from '2026-07-23 16:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538249 -3.023726)'), GeomFromEWKT('SRID=4674;POINT (-39.538233 -3.023612)'))) / (select extract(epoch from '2026-07-23 16:56:14'::timestamp) - extract(epoch from '2026-07-23 16:56: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'), 47855, 'SRID=4674;POINT (-39.538231 -3.023597)', '2026-07-23 16:56:15', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538233 -3.023612)'), GeomFromEWKT('SRID=4674;POINT (-39.538231 -3.023597)'))) / (select extract(epoch from '2026-07-23 16:56:15'::timestamp) - extract(epoch from '2026-07-23 16:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538233 -3.023612)'), GeomFromEWKT('SRID=4674;POINT (-39.538231 -3.023597)'))) / (select extract(epoch from '2026-07-23 16:56:15'::timestamp) - extract(epoch from '2026-07-23 16:56:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.53823 -3.023517)', '2026-07-23 16:56:20', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538231 -3.023597)'), GeomFromEWKT('SRID=4674;POINT (-39.53823 -3.023517)'))) / (select extract(epoch from '2026-07-23 16:56:20'::timestamp) - extract(epoch from '2026-07-23 16:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538231 -3.023597)'), GeomFromEWKT('SRID=4674;POINT (-39.53823 -3.023517)'))) / (select extract(epoch from '2026-07-23 16:56:20'::timestamp) - extract(epoch from '2026-07-23 16:56: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'), 47855, 'SRID=4674;POINT (-39.538224 -3.023431)', '2026-07-23 16:56:25', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53823 -3.023517)'), GeomFromEWKT('SRID=4674;POINT (-39.538224 -3.023431)'))) / (select extract(epoch from '2026-07-23 16:56:25'::timestamp) - extract(epoch from '2026-07-23 16:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53823 -3.023517)'), GeomFromEWKT('SRID=4674;POINT (-39.538224 -3.023431)'))) / (select extract(epoch from '2026-07-23 16:56:25'::timestamp) - extract(epoch from '2026-07-23 16:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538224 -3.023415)', '2026-07-23 16:56:26', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538224 -3.023431)'), GeomFromEWKT('SRID=4674;POINT (-39.538224 -3.023415)'))) / (select extract(epoch from '2026-07-23 16:56:26'::timestamp) - extract(epoch from '2026-07-23 16:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538224 -3.023431)'), GeomFromEWKT('SRID=4674;POINT (-39.538224 -3.023415)'))) / (select extract(epoch from '2026-07-23 16:56:26'::timestamp) - extract(epoch from '2026-07-23 16:56: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'), 47855, 'SRID=4674;POINT (-39.538235 -3.023364)', '2026-07-23 16:56:29', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538224 -3.023415)'), GeomFromEWKT('SRID=4674;POINT (-39.538235 -3.023364)'))) / (select extract(epoch from '2026-07-23 16:56:29'::timestamp) - extract(epoch from '2026-07-23 16:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538224 -3.023415)'), GeomFromEWKT('SRID=4674;POINT (-39.538235 -3.023364)'))) / (select extract(epoch from '2026-07-23 16:56:29'::timestamp) - extract(epoch from '2026-07-23 16: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'), 47855, 'SRID=4674;POINT (-39.538252 -3.023277)', '2026-07-23 16:56:34', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538235 -3.023364)'), GeomFromEWKT('SRID=4674;POINT (-39.538252 -3.023277)'))) / (select extract(epoch from '2026-07-23 16:56:34'::timestamp) - extract(epoch from '2026-07-23 16:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538235 -3.023364)'), GeomFromEWKT('SRID=4674;POINT (-39.538252 -3.023277)'))) / (select extract(epoch from '2026-07-23 16:56:34'::timestamp) - extract(epoch from '2026-07-23 16:56:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538274 -3.023171)', '2026-07-23 16:56:40', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538252 -3.023277)'), GeomFromEWKT('SRID=4674;POINT (-39.538274 -3.023171)'))) / (select extract(epoch from '2026-07-23 16:56:40'::timestamp) - extract(epoch from '2026-07-23 16:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538252 -3.023277)'), GeomFromEWKT('SRID=4674;POINT (-39.538274 -3.023171)'))) / (select extract(epoch from '2026-07-23 16:56:40'::timestamp) - extract(epoch from '2026-07-23 16:56:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538295 -3.023078)', '2026-07-23 16:56:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538274 -3.023171)'), GeomFromEWKT('SRID=4674;POINT (-39.538295 -3.023078)'))) / (select extract(epoch from '2026-07-23 16:56:45'::timestamp) - extract(epoch from '2026-07-23 16:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538274 -3.023171)'), GeomFromEWKT('SRID=4674;POINT (-39.538295 -3.023078)'))) / (select extract(epoch from '2026-07-23 16:56:45'::timestamp) - extract(epoch from '2026-07-23 16:56:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538324 -3.022968)', '2026-07-23 16:56:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538295 -3.023078)'), GeomFromEWKT('SRID=4674;POINT (-39.538324 -3.022968)'))) / (select extract(epoch from '2026-07-23 16:56:51'::timestamp) - extract(epoch from '2026-07-23 16:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538295 -3.023078)'), GeomFromEWKT('SRID=4674;POINT (-39.538324 -3.022968)'))) / (select extract(epoch from '2026-07-23 16:56:51'::timestamp) - extract(epoch from '2026-07-23 16: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'), 47855, 'SRID=4674;POINT (-39.538368 -3.022857)', '2026-07-23 16:56:57', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538324 -3.022968)'), GeomFromEWKT('SRID=4674;POINT (-39.538368 -3.022857)'))) / (select extract(epoch from '2026-07-23 16:56:57'::timestamp) - extract(epoch from '2026-07-23 16:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538324 -3.022968)'), GeomFromEWKT('SRID=4674;POINT (-39.538368 -3.022857)'))) / (select extract(epoch from '2026-07-23 16:56:57'::timestamp) - extract(epoch from '2026-07-23 16:56: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'), 47855, 'SRID=4674;POINT (-39.538423 -3.022725)', '2026-07-23 16:57:04', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538368 -3.022857)'), GeomFromEWKT('SRID=4674;POINT (-39.538423 -3.022725)'))) / (select extract(epoch from '2026-07-23 16:57:04'::timestamp) - extract(epoch from '2026-07-23 16:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538368 -3.022857)'), GeomFromEWKT('SRID=4674;POINT (-39.538423 -3.022725)'))) / (select extract(epoch from '2026-07-23 16:57:04'::timestamp) - extract(epoch from '2026-07-23 16:56:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538454 -3.022642)', '2026-07-23 16:57:09', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538423 -3.022725)'), GeomFromEWKT('SRID=4674;POINT (-39.538454 -3.022642)'))) / (select extract(epoch from '2026-07-23 16:57:09'::timestamp) - extract(epoch from '2026-07-23 16:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538423 -3.022725)'), GeomFromEWKT('SRID=4674;POINT (-39.538454 -3.022642)'))) / (select extract(epoch from '2026-07-23 16:57:09'::timestamp) - extract(epoch from '2026-07-23 16:57: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'), 47855, 'SRID=4674;POINT (-39.538454 -3.02253)', '2026-07-23 16:57:15', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538454 -3.022642)'), GeomFromEWKT('SRID=4674;POINT (-39.538454 -3.02253)'))) / (select extract(epoch from '2026-07-23 16:57:15'::timestamp) - extract(epoch from '2026-07-23 16:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538454 -3.022642)'), GeomFromEWKT('SRID=4674;POINT (-39.538454 -3.02253)'))) / (select extract(epoch from '2026-07-23 16:57:15'::timestamp) - extract(epoch from '2026-07-23 16:57:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538432 -3.022415)', '2026-07-23 16:57:22', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538454 -3.02253)'), GeomFromEWKT('SRID=4674;POINT (-39.538432 -3.022415)'))) / (select extract(epoch from '2026-07-23 16:57:22'::timestamp) - extract(epoch from '2026-07-23 16:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538454 -3.02253)'), GeomFromEWKT('SRID=4674;POINT (-39.538432 -3.022415)'))) / (select extract(epoch from '2026-07-23 16:57:22'::timestamp) - extract(epoch from '2026-07-23 16: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'), 47855, 'SRID=4674;POINT (-39.538388 -3.022287)', '2026-07-23 16:57:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538432 -3.022415)'), GeomFromEWKT('SRID=4674;POINT (-39.538388 -3.022287)'))) / (select extract(epoch from '2026-07-23 16:57:30'::timestamp) - extract(epoch from '2026-07-23 16:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538432 -3.022415)'), GeomFromEWKT('SRID=4674;POINT (-39.538388 -3.022287)'))) / (select extract(epoch from '2026-07-23 16:57:30'::timestamp) - extract(epoch from '2026-07-23 16: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'), 47855, 'SRID=4674;POINT (-39.538378 -3.022276)', '2026-07-23 16:57:31', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538388 -3.022287)'), GeomFromEWKT('SRID=4674;POINT (-39.538378 -3.022276)'))) / (select extract(epoch from '2026-07-23 16:57:31'::timestamp) - extract(epoch from '2026-07-23 16:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538388 -3.022287)'), GeomFromEWKT('SRID=4674;POINT (-39.538378 -3.022276)'))) / (select extract(epoch from '2026-07-23 16:57:31'::timestamp) - extract(epoch from '2026-07-23 16:57:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538352 -3.022252)', '2026-07-23 16:57:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538378 -3.022276)'), GeomFromEWKT('SRID=4674;POINT (-39.538352 -3.022252)'))) / (select extract(epoch from '2026-07-23 16:57:34'::timestamp) - extract(epoch from '2026-07-23 16:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538378 -3.022276)'), GeomFromEWKT('SRID=4674;POINT (-39.538352 -3.022252)'))) / (select extract(epoch from '2026-07-23 16:57:34'::timestamp) - extract(epoch from '2026-07-23 16: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'), 47855, 'SRID=4674;POINT (-39.538341 -3.02225)', '2026-07-23 16:57:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538352 -3.022252)'), GeomFromEWKT('SRID=4674;POINT (-39.538341 -3.02225)'))) / (select extract(epoch from '2026-07-23 16:57:35'::timestamp) - extract(epoch from '2026-07-23 16:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538352 -3.022252)'), GeomFromEWKT('SRID=4674;POINT (-39.538341 -3.02225)'))) / (select extract(epoch from '2026-07-23 16:57:35'::timestamp) - extract(epoch from '2026-07-23 16:57:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538297 -3.022272)', '2026-07-23 16:57:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538341 -3.02225)'), GeomFromEWKT('SRID=4674;POINT (-39.538297 -3.022272)'))) / (select extract(epoch from '2026-07-23 16:57:41'::timestamp) - extract(epoch from '2026-07-23 16:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538341 -3.02225)'), GeomFromEWKT('SRID=4674;POINT (-39.538297 -3.022272)'))) / (select extract(epoch from '2026-07-23 16:57:41'::timestamp) - extract(epoch from '2026-07-23 16:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538309 -3.022313)', '2026-07-23 16:57:47', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538297 -3.022272)'), GeomFromEWKT('SRID=4674;POINT (-39.538309 -3.022313)'))) / (select extract(epoch from '2026-07-23 16:57:47'::timestamp) - extract(epoch from '2026-07-23 16:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538297 -3.022272)'), GeomFromEWKT('SRID=4674;POINT (-39.538309 -3.022313)'))) / (select extract(epoch from '2026-07-23 16:57:47'::timestamp) - extract(epoch from '2026-07-23 16: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'), 47855, 'SRID=4674;POINT (-39.538331 -3.022324)', '2026-07-23 16:57:49', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538309 -3.022313)'), GeomFromEWKT('SRID=4674;POINT (-39.538331 -3.022324)'))) / (select extract(epoch from '2026-07-23 16:57:49'::timestamp) - extract(epoch from '2026-07-23 16:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538309 -3.022313)'), GeomFromEWKT('SRID=4674;POINT (-39.538331 -3.022324)'))) / (select extract(epoch from '2026-07-23 16:57:49'::timestamp) - extract(epoch from '2026-07-23 16:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538371 -3.022342)', '2026-07-23 16:57:53', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538331 -3.022324)'), GeomFromEWKT('SRID=4674;POINT (-39.538371 -3.022342)'))) / (select extract(epoch from '2026-07-23 16:57:53'::timestamp) - extract(epoch from '2026-07-23 16:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538331 -3.022324)'), GeomFromEWKT('SRID=4674;POINT (-39.538371 -3.022342)'))) / (select extract(epoch from '2026-07-23 16:57:53'::timestamp) - extract(epoch from '2026-07-23 16:57:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538398 -3.02234)', '2026-07-23 16:57:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538371 -3.022342)'), GeomFromEWKT('SRID=4674;POINT (-39.538398 -3.02234)'))) / (select extract(epoch from '2026-07-23 16:57:54'::timestamp) - extract(epoch from '2026-07-23 16:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538371 -3.022342)'), GeomFromEWKT('SRID=4674;POINT (-39.538398 -3.02234)'))) / (select extract(epoch from '2026-07-23 16:57:54'::timestamp) - extract(epoch from '2026-07-23 16:57: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'), 47855, 'SRID=4674;POINT (-39.538434 -3.022338)', '2026-07-23 16:57:57', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538398 -3.02234)'), GeomFromEWKT('SRID=4674;POINT (-39.538434 -3.022338)'))) / (select extract(epoch from '2026-07-23 16:57:57'::timestamp) - extract(epoch from '2026-07-23 16:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538398 -3.02234)'), GeomFromEWKT('SRID=4674;POINT (-39.538434 -3.022338)'))) / (select extract(epoch from '2026-07-23 16:57:57'::timestamp) - extract(epoch from '2026-07-23 16: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'), 47855, 'SRID=4674;POINT (-39.538481 -3.022327)', '2026-07-23 16:58:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538434 -3.022338)'), GeomFromEWKT('SRID=4674;POINT (-39.538481 -3.022327)'))) / (select extract(epoch from '2026-07-23 16:58:03'::timestamp) - extract(epoch from '2026-07-23 16:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538434 -3.022338)'), GeomFromEWKT('SRID=4674;POINT (-39.538481 -3.022327)'))) / (select extract(epoch from '2026-07-23 16:58:03'::timestamp) - extract(epoch from '2026-07-23 16:57: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'), 47855, 'SRID=4674;POINT (-39.538526 -3.022321)', '2026-07-23 16:58:11', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538481 -3.022327)'), GeomFromEWKT('SRID=4674;POINT (-39.538526 -3.022321)'))) / (select extract(epoch from '2026-07-23 16:58:11'::timestamp) - extract(epoch from '2026-07-23 16:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538481 -3.022327)'), GeomFromEWKT('SRID=4674;POINT (-39.538526 -3.022321)'))) / (select extract(epoch from '2026-07-23 16:58:11'::timestamp) - extract(epoch from '2026-07-23 16:58: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'), 47855, 'SRID=4674;POINT (-39.538566 -3.022333)', '2026-07-23 16:58:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538526 -3.022321)'), GeomFromEWKT('SRID=4674;POINT (-39.538566 -3.022333)'))) / (select extract(epoch from '2026-07-23 16:58:19'::timestamp) - extract(epoch from '2026-07-23 16:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538526 -3.022321)'), GeomFromEWKT('SRID=4674;POINT (-39.538566 -3.022333)'))) / (select extract(epoch from '2026-07-23 16:58:19'::timestamp) - extract(epoch from '2026-07-23 16:58:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538624 -3.022338)', '2026-07-23 16:58:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538566 -3.022333)'), GeomFromEWKT('SRID=4674;POINT (-39.538624 -3.022338)'))) / (select extract(epoch from '2026-07-23 16:58:25'::timestamp) - extract(epoch from '2026-07-23 16:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538566 -3.022333)'), GeomFromEWKT('SRID=4674;POINT (-39.538624 -3.022338)'))) / (select extract(epoch from '2026-07-23 16:58:25'::timestamp) - extract(epoch from '2026-07-23 16:58:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538653 -3.022328)', '2026-07-23 16:58:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538624 -3.022338)'), GeomFromEWKT('SRID=4674;POINT (-39.538653 -3.022328)'))) / (select extract(epoch from '2026-07-23 16:58:34'::timestamp) - extract(epoch from '2026-07-23 16:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538624 -3.022338)'), GeomFromEWKT('SRID=4674;POINT (-39.538653 -3.022328)'))) / (select extract(epoch from '2026-07-23 16:58:34'::timestamp) - extract(epoch from '2026-07-23 16:58:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538716 -3.022321)', '2026-07-23 16:58:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538653 -3.022328)'), GeomFromEWKT('SRID=4674;POINT (-39.538716 -3.022321)'))) / (select extract(epoch from '2026-07-23 16:58:45'::timestamp) - extract(epoch from '2026-07-23 16:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538653 -3.022328)'), GeomFromEWKT('SRID=4674;POINT (-39.538716 -3.022321)'))) / (select extract(epoch from '2026-07-23 16:58:45'::timestamp) - extract(epoch from '2026-07-23 16:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538763 -3.022322)', '2026-07-23 16:58:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538716 -3.022321)'), GeomFromEWKT('SRID=4674;POINT (-39.538763 -3.022322)'))) / (select extract(epoch from '2026-07-23 16:58:55'::timestamp) - extract(epoch from '2026-07-23 16:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538716 -3.022321)'), GeomFromEWKT('SRID=4674;POINT (-39.538763 -3.022322)'))) / (select extract(epoch from '2026-07-23 16:58:55'::timestamp) - extract(epoch from '2026-07-23 16:58:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.538799 -3.022321)', '2026-07-23 16:59:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538763 -3.022322)'), GeomFromEWKT('SRID=4674;POINT (-39.538799 -3.022321)'))) / (select extract(epoch from '2026-07-23 16:59:01'::timestamp) - extract(epoch from '2026-07-23 16:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538763 -3.022322)'), GeomFromEWKT('SRID=4674;POINT (-39.538799 -3.022321)'))) / (select extract(epoch from '2026-07-23 16:59:01'::timestamp) - extract(epoch from '2026-07-23 16:58: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'), 47855, 'SRID=4674;POINT (-39.538835 -3.0223)', '2026-07-23 16:59:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538799 -3.022321)'), GeomFromEWKT('SRID=4674;POINT (-39.538835 -3.0223)'))) / (select extract(epoch from '2026-07-23 16:59:08'::timestamp) - extract(epoch from '2026-07-23 16:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538799 -3.022321)'), GeomFromEWKT('SRID=4674;POINT (-39.538835 -3.0223)'))) / (select extract(epoch from '2026-07-23 16:59:08'::timestamp) - extract(epoch from '2026-07-23 16:59: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'), 47855, 'SRID=4674;POINT (-39.538898 -3.022294)', '2026-07-23 16:59:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538835 -3.0223)'), GeomFromEWKT('SRID=4674;POINT (-39.538898 -3.022294)'))) / (select extract(epoch from '2026-07-23 16:59:18'::timestamp) - extract(epoch from '2026-07-23 16:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538835 -3.0223)'), GeomFromEWKT('SRID=4674;POINT (-39.538898 -3.022294)'))) / (select extract(epoch from '2026-07-23 16:59:18'::timestamp) - extract(epoch from '2026-07-23 16:59: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'), 47855, 'SRID=4674;POINT (-39.538926 -3.022294)', '2026-07-23 16:59:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538898 -3.022294)'), GeomFromEWKT('SRID=4674;POINT (-39.538926 -3.022294)'))) / (select extract(epoch from '2026-07-23 16:59:22'::timestamp) - extract(epoch from '2026-07-23 16:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538898 -3.022294)'), GeomFromEWKT('SRID=4674;POINT (-39.538926 -3.022294)'))) / (select extract(epoch from '2026-07-23 16:59:22'::timestamp) - extract(epoch from '2026-07-23 16:59: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'), 47855, 'SRID=4674;POINT (-39.538942 -3.022285)', '2026-07-23 16:59:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538926 -3.022294)'), GeomFromEWKT('SRID=4674;POINT (-39.538942 -3.022285)'))) / (select extract(epoch from '2026-07-23 16:59:24'::timestamp) - extract(epoch from '2026-07-23 16:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538926 -3.022294)'), GeomFromEWKT('SRID=4674;POINT (-39.538942 -3.022285)'))) / (select extract(epoch from '2026-07-23 16:59:24'::timestamp) - extract(epoch from '2026-07-23 16:59: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'), 47855, 'SRID=4674;POINT (-39.538956 -3.022278)', '2026-07-23 16:59:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538942 -3.022285)'), GeomFromEWKT('SRID=4674;POINT (-39.538956 -3.022278)'))) / (select extract(epoch from '2026-07-23 16:59:27'::timestamp) - extract(epoch from '2026-07-23 16:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538942 -3.022285)'), GeomFromEWKT('SRID=4674;POINT (-39.538956 -3.022278)'))) / (select extract(epoch from '2026-07-23 16:59:27'::timestamp) - extract(epoch from '2026-07-23 16:59: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'), 47855, 'SRID=4674;POINT (-39.538964 -3.022271)', '2026-07-23 16:59:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538956 -3.022278)'), GeomFromEWKT('SRID=4674;POINT (-39.538964 -3.022271)'))) / (select extract(epoch from '2026-07-23 16:59:28'::timestamp) - extract(epoch from '2026-07-23 16:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538956 -3.022278)'), GeomFromEWKT('SRID=4674;POINT (-39.538964 -3.022271)'))) / (select extract(epoch from '2026-07-23 16:59:28'::timestamp) - extract(epoch from '2026-07-23 16:59: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'), 47855, 'SRID=4674;POINT (-39.53899 -3.022271)', '2026-07-23 16:59:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538964 -3.022271)'), GeomFromEWKT('SRID=4674;POINT (-39.53899 -3.022271)'))) / (select extract(epoch from '2026-07-23 16:59:33'::timestamp) - extract(epoch from '2026-07-23 16:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.538964 -3.022271)'), GeomFromEWKT('SRID=4674;POINT (-39.53899 -3.022271)'))) / (select extract(epoch from '2026-07-23 16:59:33'::timestamp) - extract(epoch from '2026-07-23 16:59: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'), 47855, 'SRID=4674;POINT (-39.539037 -3.022255)', '2026-07-23 16:59:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53899 -3.022271)'), GeomFromEWKT('SRID=4674;POINT (-39.539037 -3.022255)'))) / (select extract(epoch from '2026-07-23 16:59:45'::timestamp) - extract(epoch from '2026-07-23 16:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53899 -3.022271)'), GeomFromEWKT('SRID=4674;POINT (-39.539037 -3.022255)'))) / (select extract(epoch from '2026-07-23 16:59:45'::timestamp) - extract(epoch from '2026-07-23 16:59: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'), 47855, 'SRID=4674;POINT (-39.539047 -3.022257)', '2026-07-23 16:59:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539037 -3.022255)'), GeomFromEWKT('SRID=4674;POINT (-39.539047 -3.022257)'))) / (select extract(epoch from '2026-07-23 16:59:46'::timestamp) - extract(epoch from '2026-07-23 16:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539037 -3.022255)'), GeomFromEWKT('SRID=4674;POINT (-39.539047 -3.022257)'))) / (select extract(epoch from '2026-07-23 16:59:46'::timestamp) - extract(epoch from '2026-07-23 16:59: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'), 47855, 'SRID=4674;POINT (-39.539058 -3.02225)', '2026-07-23 16:59:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539047 -3.022257)'), GeomFromEWKT('SRID=4674;POINT (-39.539058 -3.02225)'))) / (select extract(epoch from '2026-07-23 16:59:49'::timestamp) - extract(epoch from '2026-07-23 16:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539047 -3.022257)'), GeomFromEWKT('SRID=4674;POINT (-39.539058 -3.02225)'))) / (select extract(epoch from '2026-07-23 16:59:49'::timestamp) - extract(epoch from '2026-07-23 16:59: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'), 47855, 'SRID=4674;POINT (-39.539082 -3.022238)', '2026-07-23 16:59:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539058 -3.02225)'), GeomFromEWKT('SRID=4674;POINT (-39.539082 -3.022238)'))) / (select extract(epoch from '2026-07-23 16:59:52'::timestamp) - extract(epoch from '2026-07-23 16:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539058 -3.02225)'), GeomFromEWKT('SRID=4674;POINT (-39.539082 -3.022238)'))) / (select extract(epoch from '2026-07-23 16:59:52'::timestamp) - extract(epoch from '2026-07-23 16:59:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.539094 -3.022228)', '2026-07-23 16:59:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539082 -3.022238)'), GeomFromEWKT('SRID=4674;POINT (-39.539094 -3.022228)'))) / (select extract(epoch from '2026-07-23 16:59:54'::timestamp) - extract(epoch from '2026-07-23 16:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539082 -3.022238)'), GeomFromEWKT('SRID=4674;POINT (-39.539094 -3.022228)'))) / (select extract(epoch from '2026-07-23 16:59:54'::timestamp) - extract(epoch from '2026-07-23 16: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'), 47855, 'SRID=4674;POINT (-39.539113 -3.022199)', '2026-07-23 17:00:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539094 -3.022228)'), GeomFromEWKT('SRID=4674;POINT (-39.539113 -3.022199)'))) / (select extract(epoch from '2026-07-23 17:00:01'::timestamp) - extract(epoch from '2026-07-23 16:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539094 -3.022228)'), GeomFromEWKT('SRID=4674;POINT (-39.539113 -3.022199)'))) / (select extract(epoch from '2026-07-23 17:00:01'::timestamp) - extract(epoch from '2026-07-23 16:59: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'), 47855, 'SRID=4674;POINT (-39.53914 -3.022181)', '2026-07-23 17:00:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539113 -3.022199)'), GeomFromEWKT('SRID=4674;POINT (-39.53914 -3.022181)'))) / (select extract(epoch from '2026-07-23 17:00:05'::timestamp) - extract(epoch from '2026-07-23 17:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539113 -3.022199)'), GeomFromEWKT('SRID=4674;POINT (-39.53914 -3.022181)'))) / (select extract(epoch from '2026-07-23 17:00:05'::timestamp) - extract(epoch from '2026-07-23 17:00:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.539145 -3.022167)', '2026-07-23 17:00:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53914 -3.022181)'), GeomFromEWKT('SRID=4674;POINT (-39.539145 -3.022167)'))) / (select extract(epoch from '2026-07-23 17:00:07'::timestamp) - extract(epoch from '2026-07-23 17:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53914 -3.022181)'), GeomFromEWKT('SRID=4674;POINT (-39.539145 -3.022167)'))) / (select extract(epoch from '2026-07-23 17:00:07'::timestamp) - extract(epoch from '2026-07-23 17:00: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'), 47855, 'SRID=4674;POINT (-39.539184 -3.022137)', '2026-07-23 17:00:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539145 -3.022167)'), GeomFromEWKT('SRID=4674;POINT (-39.539184 -3.022137)'))) / (select extract(epoch from '2026-07-23 17:00:14'::timestamp) - extract(epoch from '2026-07-23 17:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539145 -3.022167)'), GeomFromEWKT('SRID=4674;POINT (-39.539184 -3.022137)'))) / (select extract(epoch from '2026-07-23 17:00:14'::timestamp) - extract(epoch from '2026-07-23 17:00: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'), 47855, 'SRID=4674;POINT (-39.53922 -3.022118)', '2026-07-23 17:00:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539184 -3.022137)'), GeomFromEWKT('SRID=4674;POINT (-39.53922 -3.022118)'))) / (select extract(epoch from '2026-07-23 17:00:24'::timestamp) - extract(epoch from '2026-07-23 17:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539184 -3.022137)'), GeomFromEWKT('SRID=4674;POINT (-39.53922 -3.022118)'))) / (select extract(epoch from '2026-07-23 17:00:24'::timestamp) - extract(epoch from '2026-07-23 17:00: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'), 47855, 'SRID=4674;POINT (-39.539259 -3.022095)', '2026-07-23 17:00:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53922 -3.022118)'), GeomFromEWKT('SRID=4674;POINT (-39.539259 -3.022095)'))) / (select extract(epoch from '2026-07-23 17:00:31'::timestamp) - extract(epoch from '2026-07-23 17:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.53922 -3.022118)'), GeomFromEWKT('SRID=4674;POINT (-39.539259 -3.022095)'))) / (select extract(epoch from '2026-07-23 17:00:31'::timestamp) - extract(epoch from '2026-07-23 17:00: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'), 47855, 'SRID=4674;POINT (-39.539296 -3.022084)', '2026-07-23 17:00:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539259 -3.022095)'), GeomFromEWKT('SRID=4674;POINT (-39.539296 -3.022084)'))) / (select extract(epoch from '2026-07-23 17:00:39'::timestamp) - extract(epoch from '2026-07-23 17:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539259 -3.022095)'), GeomFromEWKT('SRID=4674;POINT (-39.539296 -3.022084)'))) / (select extract(epoch from '2026-07-23 17:00:39'::timestamp) - extract(epoch from '2026-07-23 17:00:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.539323 -3.022067)', '2026-07-23 17:00:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539296 -3.022084)'), GeomFromEWKT('SRID=4674;POINT (-39.539323 -3.022067)'))) / (select extract(epoch from '2026-07-23 17:00:46'::timestamp) - extract(epoch from '2026-07-23 17:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539296 -3.022084)'), GeomFromEWKT('SRID=4674;POINT (-39.539323 -3.022067)'))) / (select extract(epoch from '2026-07-23 17:00:46'::timestamp) - extract(epoch from '2026-07-23 17:00: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'), 47855, 'SRID=4674;POINT (-39.539352 -3.022061)', '2026-07-23 17:00:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539323 -3.022067)'), GeomFromEWKT('SRID=4674;POINT (-39.539352 -3.022061)'))) / (select extract(epoch from '2026-07-23 17:00:51'::timestamp) - extract(epoch from '2026-07-23 17:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539323 -3.022067)'), GeomFromEWKT('SRID=4674;POINT (-39.539352 -3.022061)'))) / (select extract(epoch from '2026-07-23 17:00:51'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.539386 -3.022033)', '2026-07-23 17:01:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539352 -3.022061)'), GeomFromEWKT('SRID=4674;POINT (-39.539386 -3.022033)'))) / (select extract(epoch from '2026-07-23 17:01:00'::timestamp) - extract(epoch from '2026-07-23 17:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539352 -3.022061)'), GeomFromEWKT('SRID=4674;POINT (-39.539386 -3.022033)'))) / (select extract(epoch from '2026-07-23 17:01:00'::timestamp) - extract(epoch from '2026-07-23 17:00: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'), 47855, 'SRID=4674;POINT (-39.539424 -3.021992)', '2026-07-23 17:01:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539386 -3.022033)'), GeomFromEWKT('SRID=4674;POINT (-39.539424 -3.021992)'))) / (select extract(epoch from '2026-07-23 17:01:11'::timestamp) - extract(epoch from '2026-07-23 17:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539386 -3.022033)'), GeomFromEWKT('SRID=4674;POINT (-39.539424 -3.021992)'))) / (select extract(epoch from '2026-07-23 17:01:11'::timestamp) - extract(epoch from '2026-07-23 17:01: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'), 47855, 'SRID=4674;POINT (-39.539453 -3.021976)', '2026-07-23 17:01:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539424 -3.021992)'), GeomFromEWKT('SRID=4674;POINT (-39.539453 -3.021976)'))) / (select extract(epoch from '2026-07-23 17:01:18'::timestamp) - extract(epoch from '2026-07-23 17:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539424 -3.021992)'), GeomFromEWKT('SRID=4674;POINT (-39.539453 -3.021976)'))) / (select extract(epoch from '2026-07-23 17:01:18'::timestamp) - extract(epoch from '2026-07-23 17:01:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.5395 -3.021955)', '2026-07-23 17:01:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539453 -3.021976)'), GeomFromEWKT('SRID=4674;POINT (-39.5395 -3.021955)'))) / (select extract(epoch from '2026-07-23 17:01:28'::timestamp) - extract(epoch from '2026-07-23 17:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539453 -3.021976)'), GeomFromEWKT('SRID=4674;POINT (-39.5395 -3.021955)'))) / (select extract(epoch from '2026-07-23 17:01:28'::timestamp) - extract(epoch from '2026-07-23 17:01:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.539546 -3.021918)', '2026-07-23 17:01:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5395 -3.021955)'), GeomFromEWKT('SRID=4674;POINT (-39.539546 -3.021918)'))) / (select extract(epoch from '2026-07-23 17:01:37'::timestamp) - extract(epoch from '2026-07-23 17:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5395 -3.021955)'), GeomFromEWKT('SRID=4674;POINT (-39.539546 -3.021918)'))) / (select extract(epoch from '2026-07-23 17:01:37'::timestamp) - extract(epoch from '2026-07-23 17:01: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'), 47855, 'SRID=4674;POINT (-39.539575 -3.021909)', '2026-07-23 17:01:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539546 -3.021918)'), GeomFromEWKT('SRID=4674;POINT (-39.539575 -3.021909)'))) / (select extract(epoch from '2026-07-23 17:01:43'::timestamp) - extract(epoch from '2026-07-23 17:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539546 -3.021918)'), GeomFromEWKT('SRID=4674;POINT (-39.539575 -3.021909)'))) / (select extract(epoch from '2026-07-23 17:01:43'::timestamp) - extract(epoch from '2026-07-23 17:01: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'), 47855, 'SRID=4674;POINT (-39.539628 -3.021875)', '2026-07-23 17:01:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539575 -3.021909)'), GeomFromEWKT('SRID=4674;POINT (-39.539628 -3.021875)'))) / (select extract(epoch from '2026-07-23 17:01:54'::timestamp) - extract(epoch from '2026-07-23 17:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539575 -3.021909)'), GeomFromEWKT('SRID=4674;POINT (-39.539628 -3.021875)'))) / (select extract(epoch from '2026-07-23 17:01:54'::timestamp) - extract(epoch from '2026-07-23 17:01: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'), 47855, 'SRID=4674;POINT (-39.539651 -3.021844)', '2026-07-23 17:02:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539628 -3.021875)'), GeomFromEWKT('SRID=4674;POINT (-39.539651 -3.021844)'))) / (select extract(epoch from '2026-07-23 17:02:02'::timestamp) - extract(epoch from '2026-07-23 17:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539628 -3.021875)'), GeomFromEWKT('SRID=4674;POINT (-39.539651 -3.021844)'))) / (select extract(epoch from '2026-07-23 17:02:02'::timestamp) - extract(epoch from '2026-07-23 17:01: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'), 47855, 'SRID=4674;POINT (-39.539685 -3.021812)', '2026-07-23 17:02:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539651 -3.021844)'), GeomFromEWKT('SRID=4674;POINT (-39.539685 -3.021812)'))) / (select extract(epoch from '2026-07-23 17:02:10'::timestamp) - extract(epoch from '2026-07-23 17:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539651 -3.021844)'), GeomFromEWKT('SRID=4674;POINT (-39.539685 -3.021812)'))) / (select extract(epoch from '2026-07-23 17:02:10'::timestamp) - extract(epoch from '2026-07-23 17:02:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.539714 -3.021793)', '2026-07-23 17:02:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539685 -3.021812)'), GeomFromEWKT('SRID=4674;POINT (-39.539714 -3.021793)'))) / (select extract(epoch from '2026-07-23 17:02:16'::timestamp) - extract(epoch from '2026-07-23 17:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539685 -3.021812)'), GeomFromEWKT('SRID=4674;POINT (-39.539714 -3.021793)'))) / (select extract(epoch from '2026-07-23 17:02:16'::timestamp) - extract(epoch from '2026-07-23 17:02: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'), 47855, 'SRID=4674;POINT (-39.539745 -3.021758)', '2026-07-23 17:02:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539714 -3.021793)'), GeomFromEWKT('SRID=4674;POINT (-39.539745 -3.021758)'))) / (select extract(epoch from '2026-07-23 17:02:25'::timestamp) - extract(epoch from '2026-07-23 17:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539714 -3.021793)'), GeomFromEWKT('SRID=4674;POINT (-39.539745 -3.021758)'))) / (select extract(epoch from '2026-07-23 17:02:25'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.539773 -3.021738)', '2026-07-23 17:02:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539745 -3.021758)'), GeomFromEWKT('SRID=4674;POINT (-39.539773 -3.021738)'))) / (select extract(epoch from '2026-07-23 17:02:31'::timestamp) - extract(epoch from '2026-07-23 17:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539745 -3.021758)'), GeomFromEWKT('SRID=4674;POINT (-39.539773 -3.021738)'))) / (select extract(epoch from '2026-07-23 17:02:31'::timestamp) - extract(epoch from '2026-07-23 17:02: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'), 47855, 'SRID=4674;POINT (-39.5398 -3.021715)', '2026-07-23 17:02:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539773 -3.021738)'), GeomFromEWKT('SRID=4674;POINT (-39.5398 -3.021715)'))) / (select extract(epoch from '2026-07-23 17:02:37'::timestamp) - extract(epoch from '2026-07-23 17:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539773 -3.021738)'), GeomFromEWKT('SRID=4674;POINT (-39.5398 -3.021715)'))) / (select extract(epoch from '2026-07-23 17:02:37'::timestamp) - extract(epoch from '2026-07-23 17:02: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'), 47855, 'SRID=4674;POINT (-39.539812 -3.021708)', '2026-07-23 17:02:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5398 -3.021715)'), GeomFromEWKT('SRID=4674;POINT (-39.539812 -3.021708)'))) / (select extract(epoch from '2026-07-23 17:02:39'::timestamp) - extract(epoch from '2026-07-23 17:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5398 -3.021715)'), GeomFromEWKT('SRID=4674;POINT (-39.539812 -3.021708)'))) / (select extract(epoch from '2026-07-23 17:02:39'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.539833 -3.021697)', '2026-07-23 17:02:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539812 -3.021708)'), GeomFromEWKT('SRID=4674;POINT (-39.539833 -3.021697)'))) / (select extract(epoch from '2026-07-23 17:02:43'::timestamp) - extract(epoch from '2026-07-23 17:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539812 -3.021708)'), GeomFromEWKT('SRID=4674;POINT (-39.539833 -3.021697)'))) / (select extract(epoch from '2026-07-23 17:02:43'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.539863 -3.021662)', '2026-07-23 17:02:50', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539833 -3.021697)'), GeomFromEWKT('SRID=4674;POINT (-39.539863 -3.021662)'))) / (select extract(epoch from '2026-07-23 17:02:50'::timestamp) - extract(epoch from '2026-07-23 17:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539833 -3.021697)'), GeomFromEWKT('SRID=4674;POINT (-39.539863 -3.021662)'))) / (select extract(epoch from '2026-07-23 17:02:50'::timestamp) - extract(epoch from '2026-07-23 17:02: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'), 47855, 'SRID=4674;POINT (-39.539871 -3.021646)', '2026-07-23 17:02:54', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539863 -3.021662)'), GeomFromEWKT('SRID=4674;POINT (-39.539871 -3.021646)'))) / (select extract(epoch from '2026-07-23 17:02:54'::timestamp) - extract(epoch from '2026-07-23 17:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539863 -3.021662)'), GeomFromEWKT('SRID=4674;POINT (-39.539871 -3.021646)'))) / (select extract(epoch from '2026-07-23 17:02:54'::timestamp) - extract(epoch from '2026-07-23 17:02: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'), 47855, 'SRID=4674;POINT (-39.539886 -3.021639)', '2026-07-23 17:02:56', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539871 -3.021646)'), GeomFromEWKT('SRID=4674;POINT (-39.539886 -3.021639)'))) / (select extract(epoch from '2026-07-23 17:02:56'::timestamp) - extract(epoch from '2026-07-23 17:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539871 -3.021646)'), GeomFromEWKT('SRID=4674;POINT (-39.539886 -3.021639)'))) / (select extract(epoch from '2026-07-23 17:02:56'::timestamp) - extract(epoch from '2026-07-23 17:02: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'), 47855, 'SRID=4674;POINT (-39.539912 -3.021614)', '2026-07-23 17:03:05', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539886 -3.021639)'), GeomFromEWKT('SRID=4674;POINT (-39.539912 -3.021614)'))) / (select extract(epoch from '2026-07-23 17:03:05'::timestamp) - extract(epoch from '2026-07-23 17:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539886 -3.021639)'), GeomFromEWKT('SRID=4674;POINT (-39.539912 -3.021614)'))) / (select extract(epoch from '2026-07-23 17:03:05'::timestamp) - extract(epoch from '2026-07-23 17:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.539935 -3.021596)', '2026-07-23 17:03:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539912 -3.021614)'), GeomFromEWKT('SRID=4674;POINT (-39.539935 -3.021596)'))) / (select extract(epoch from '2026-07-23 17:03:10'::timestamp) - extract(epoch from '2026-07-23 17:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539912 -3.021614)'), GeomFromEWKT('SRID=4674;POINT (-39.539935 -3.021596)'))) / (select extract(epoch from '2026-07-23 17:03:10'::timestamp) - extract(epoch from '2026-07-23 17:03: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'), 47855, 'SRID=4674;POINT (-39.539945 -3.02159)', '2026-07-23 17:03:12', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539935 -3.021596)'), GeomFromEWKT('SRID=4674;POINT (-39.539945 -3.02159)'))) / (select extract(epoch from '2026-07-23 17:03:12'::timestamp) - extract(epoch from '2026-07-23 17:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539935 -3.021596)'), GeomFromEWKT('SRID=4674;POINT (-39.539945 -3.02159)'))) / (select extract(epoch from '2026-07-23 17:03:12'::timestamp) - extract(epoch from '2026-07-23 17:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.539961 -3.021571)', '2026-07-23 17:03:18', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539945 -3.02159)'), GeomFromEWKT('SRID=4674;POINT (-39.539961 -3.021571)'))) / (select extract(epoch from '2026-07-23 17:03:18'::timestamp) - extract(epoch from '2026-07-23 17:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539945 -3.02159)'), GeomFromEWKT('SRID=4674;POINT (-39.539961 -3.021571)'))) / (select extract(epoch from '2026-07-23 17:03:18'::timestamp) - extract(epoch from '2026-07-23 17:03: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'), 47855, 'SRID=4674;POINT (-39.539979 -3.021565)', '2026-07-23 17:03:22', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539961 -3.021571)'), GeomFromEWKT('SRID=4674;POINT (-39.539979 -3.021565)'))) / (select extract(epoch from '2026-07-23 17:03:22'::timestamp) - extract(epoch from '2026-07-23 17:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539961 -3.021571)'), GeomFromEWKT('SRID=4674;POINT (-39.539979 -3.021565)'))) / (select extract(epoch from '2026-07-23 17:03:22'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.539981 -3.021555)', '2026-07-23 17:03:24', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539979 -3.021565)'), GeomFromEWKT('SRID=4674;POINT (-39.539981 -3.021555)'))) / (select extract(epoch from '2026-07-23 17:03:24'::timestamp) - extract(epoch from '2026-07-23 17:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539979 -3.021565)'), GeomFromEWKT('SRID=4674;POINT (-39.539981 -3.021555)'))) / (select extract(epoch from '2026-07-23 17:03:24'::timestamp) - extract(epoch from '2026-07-23 17:03:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.54 -3.021545)', '2026-07-23 17:03:27', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539981 -3.021555)'), GeomFromEWKT('SRID=4674;POINT (-39.54 -3.021545)'))) / (select extract(epoch from '2026-07-23 17:03:27'::timestamp) - extract(epoch from '2026-07-23 17:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.539981 -3.021555)'), GeomFromEWKT('SRID=4674;POINT (-39.54 -3.021545)'))) / (select extract(epoch from '2026-07-23 17:03:27'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.540014 -3.021537)', '2026-07-23 17:03:29', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54 -3.021545)'), GeomFromEWKT('SRID=4674;POINT (-39.540014 -3.021537)'))) / (select extract(epoch from '2026-07-23 17:03:29'::timestamp) - extract(epoch from '2026-07-23 17:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54 -3.021545)'), GeomFromEWKT('SRID=4674;POINT (-39.540014 -3.021537)'))) / (select extract(epoch from '2026-07-23 17:03:29'::timestamp) - extract(epoch from '2026-07-23 17:03: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'), 47855, 'SRID=4674;POINT (-39.540046 -3.021516)', '2026-07-23 17:03:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540014 -3.021537)'), GeomFromEWKT('SRID=4674;POINT (-39.540046 -3.021516)'))) / (select extract(epoch from '2026-07-23 17:03:36'::timestamp) - extract(epoch from '2026-07-23 17:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540014 -3.021537)'), GeomFromEWKT('SRID=4674;POINT (-39.540046 -3.021516)'))) / (select extract(epoch from '2026-07-23 17:03:36'::timestamp) - extract(epoch from '2026-07-23 17:03: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'), 47855, 'SRID=4674;POINT (-39.540068 -3.021492)', '2026-07-23 17:03:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540046 -3.021516)'), GeomFromEWKT('SRID=4674;POINT (-39.540068 -3.021492)'))) / (select extract(epoch from '2026-07-23 17:03:43'::timestamp) - extract(epoch from '2026-07-23 17:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540046 -3.021516)'), GeomFromEWKT('SRID=4674;POINT (-39.540068 -3.021492)'))) / (select extract(epoch from '2026-07-23 17:03:43'::timestamp) - extract(epoch from '2026-07-23 17:03:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.540111 -3.02147)', '2026-07-23 17:03:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540068 -3.021492)'), GeomFromEWKT('SRID=4674;POINT (-39.540111 -3.02147)'))) / (select extract(epoch from '2026-07-23 17:03:52'::timestamp) - extract(epoch from '2026-07-23 17:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540068 -3.021492)'), GeomFromEWKT('SRID=4674;POINT (-39.540111 -3.02147)'))) / (select extract(epoch from '2026-07-23 17:03:52'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.540147 -3.021446)', '2026-07-23 17:04:00', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540111 -3.02147)'), GeomFromEWKT('SRID=4674;POINT (-39.540147 -3.021446)'))) / (select extract(epoch from '2026-07-23 17:04:00'::timestamp) - extract(epoch from '2026-07-23 17:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540111 -3.02147)'), GeomFromEWKT('SRID=4674;POINT (-39.540147 -3.021446)'))) / (select extract(epoch from '2026-07-23 17:04:00'::timestamp) - extract(epoch from '2026-07-23 17:03: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'), 47855, 'SRID=4674;POINT (-39.540171 -3.021425)', '2026-07-23 17:04:06', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540147 -3.021446)'), GeomFromEWKT('SRID=4674;POINT (-39.540171 -3.021425)'))) / (select extract(epoch from '2026-07-23 17:04:06'::timestamp) - extract(epoch from '2026-07-23 17:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540147 -3.021446)'), GeomFromEWKT('SRID=4674;POINT (-39.540171 -3.021425)'))) / (select extract(epoch from '2026-07-23 17:04:06'::timestamp) - extract(epoch from '2026-07-23 17:04: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'), 47855, 'SRID=4674;POINT (-39.540208 -3.021386)', '2026-07-23 17:04:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540171 -3.021425)'), GeomFromEWKT('SRID=4674;POINT (-39.540208 -3.021386)'))) / (select extract(epoch from '2026-07-23 17:04:17'::timestamp) - extract(epoch from '2026-07-23 17:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540171 -3.021425)'), GeomFromEWKT('SRID=4674;POINT (-39.540208 -3.021386)'))) / (select extract(epoch from '2026-07-23 17:04:17'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.540229 -3.021378)', '2026-07-23 17:04:25', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540208 -3.021386)'), GeomFromEWKT('SRID=4674;POINT (-39.540229 -3.021378)'))) / (select extract(epoch from '2026-07-23 17:04:25'::timestamp) - extract(epoch from '2026-07-23 17:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540208 -3.021386)'), GeomFromEWKT('SRID=4674;POINT (-39.540229 -3.021378)'))) / (select extract(epoch from '2026-07-23 17:04:25'::timestamp) - extract(epoch from '2026-07-23 17:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.540253 -3.021352)', '2026-07-23 17:04:31', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540229 -3.021378)'), GeomFromEWKT('SRID=4674;POINT (-39.540253 -3.021352)'))) / (select extract(epoch from '2026-07-23 17:04:31'::timestamp) - extract(epoch from '2026-07-23 17:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540229 -3.021378)'), GeomFromEWKT('SRID=4674;POINT (-39.540253 -3.021352)'))) / (select extract(epoch from '2026-07-23 17:04:31'::timestamp) - extract(epoch from '2026-07-23 17:04: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'), 47855, 'SRID=4674;POINT (-39.540276 -3.021331)', '2026-07-23 17:04:37', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540253 -3.021352)'), GeomFromEWKT('SRID=4674;POINT (-39.540276 -3.021331)'))) / (select extract(epoch from '2026-07-23 17:04:37'::timestamp) - extract(epoch from '2026-07-23 17:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540253 -3.021352)'), GeomFromEWKT('SRID=4674;POINT (-39.540276 -3.021331)'))) / (select extract(epoch from '2026-07-23 17:04:37'::timestamp) - extract(epoch from '2026-07-23 17:04:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.540334 -3.021294)', '2026-07-23 17:04:47', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540276 -3.021331)'), GeomFromEWKT('SRID=4674;POINT (-39.540334 -3.021294)'))) / (select extract(epoch from '2026-07-23 17:04:47'::timestamp) - extract(epoch from '2026-07-23 17:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540276 -3.021331)'), GeomFromEWKT('SRID=4674;POINT (-39.540334 -3.021294)'))) / (select extract(epoch from '2026-07-23 17:04:47'::timestamp) - extract(epoch from '2026-07-23 17:04: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'), 47855, 'SRID=4674;POINT (-39.540402 -3.021241)', '2026-07-23 17:05:01', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540334 -3.021294)'), GeomFromEWKT('SRID=4674;POINT (-39.540402 -3.021241)'))) / (select extract(epoch from '2026-07-23 17:05:01'::timestamp) - extract(epoch from '2026-07-23 17:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540334 -3.021294)'), GeomFromEWKT('SRID=4674;POINT (-39.540402 -3.021241)'))) / (select extract(epoch from '2026-07-23 17:05:01'::timestamp) - extract(epoch from '2026-07-23 17:04: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'), 47855, 'SRID=4674;POINT (-39.540431 -3.02123)', '2026-07-23 17:05:07', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540402 -3.021241)'), GeomFromEWKT('SRID=4674;POINT (-39.540431 -3.02123)'))) / (select extract(epoch from '2026-07-23 17:05:07'::timestamp) - extract(epoch from '2026-07-23 17:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540402 -3.021241)'), GeomFromEWKT('SRID=4674;POINT (-39.540431 -3.02123)'))) / (select extract(epoch from '2026-07-23 17:05:07'::timestamp) - extract(epoch from '2026-07-23 17:05: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'), 47855, 'SRID=4674;POINT (-39.540446 -3.021213)', '2026-07-23 17:05:13', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540431 -3.02123)'), GeomFromEWKT('SRID=4674;POINT (-39.540446 -3.021213)'))) / (select extract(epoch from '2026-07-23 17:05:13'::timestamp) - extract(epoch from '2026-07-23 17:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540431 -3.02123)'), GeomFromEWKT('SRID=4674;POINT (-39.540446 -3.021213)'))) / (select extract(epoch from '2026-07-23 17:05:13'::timestamp) - extract(epoch from '2026-07-23 17:05: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'), 47855, 'SRID=4674;POINT (-39.540475 -3.021193)', '2026-07-23 17:05:20', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540446 -3.021213)'), GeomFromEWKT('SRID=4674;POINT (-39.540475 -3.021193)'))) / (select extract(epoch from '2026-07-23 17:05:20'::timestamp) - extract(epoch from '2026-07-23 17:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540446 -3.021213)'), GeomFromEWKT('SRID=4674;POINT (-39.540475 -3.021193)'))) / (select extract(epoch from '2026-07-23 17:05:20'::timestamp) - extract(epoch from '2026-07-23 17:05: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'), 47855, 'SRID=4674;POINT (-39.540517 -3.021174)', '2026-07-23 17:05:28', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540475 -3.021193)'), GeomFromEWKT('SRID=4674;POINT (-39.540517 -3.021174)'))) / (select extract(epoch from '2026-07-23 17:05:28'::timestamp) - extract(epoch from '2026-07-23 17:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540475 -3.021193)'), GeomFromEWKT('SRID=4674;POINT (-39.540517 -3.021174)'))) / (select extract(epoch from '2026-07-23 17:05:28'::timestamp) - extract(epoch from '2026-07-23 17:05: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'), 47855, 'SRID=4674;POINT (-39.540543 -3.021166)', '2026-07-23 17:05:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540517 -3.021174)'), GeomFromEWKT('SRID=4674;POINT (-39.540543 -3.021166)'))) / (select extract(epoch from '2026-07-23 17:05:35'::timestamp) - extract(epoch from '2026-07-23 17:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540517 -3.021174)'), GeomFromEWKT('SRID=4674;POINT (-39.540543 -3.021166)'))) / (select extract(epoch from '2026-07-23 17:05:35'::timestamp) - extract(epoch from '2026-07-23 17:05: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'), 47855, 'SRID=4674;POINT (-39.54058 -3.021143)', '2026-07-23 17:05:43', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540543 -3.021166)'), GeomFromEWKT('SRID=4674;POINT (-39.54058 -3.021143)'))) / (select extract(epoch from '2026-07-23 17:05:43'::timestamp) - extract(epoch from '2026-07-23 17:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540543 -3.021166)'), GeomFromEWKT('SRID=4674;POINT (-39.54058 -3.021143)'))) / (select extract(epoch from '2026-07-23 17:05:43'::timestamp) - extract(epoch from '2026-07-23 17:05:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.540621 -3.02112)', '2026-07-23 17:05:54', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54058 -3.021143)'), GeomFromEWKT('SRID=4674;POINT (-39.540621 -3.02112)'))) / (select extract(epoch from '2026-07-23 17:05:54'::timestamp) - extract(epoch from '2026-07-23 17:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54058 -3.021143)'), GeomFromEWKT('SRID=4674;POINT (-39.540621 -3.02112)'))) / (select extract(epoch from '2026-07-23 17:05:54'::timestamp) - extract(epoch from '2026-07-23 17:05:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.540655 -3.021102)', '2026-07-23 17:06:02', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540621 -3.02112)'), GeomFromEWKT('SRID=4674;POINT (-39.540655 -3.021102)'))) / (select extract(epoch from '2026-07-23 17:06:02'::timestamp) - extract(epoch from '2026-07-23 17:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540621 -3.02112)'), GeomFromEWKT('SRID=4674;POINT (-39.540655 -3.021102)'))) / (select extract(epoch from '2026-07-23 17:06:02'::timestamp) - extract(epoch from '2026-07-23 17:05: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'), 47855, 'SRID=4674;POINT (-39.540694 -3.021071)', '2026-07-23 17:06:12', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540655 -3.021102)'), GeomFromEWKT('SRID=4674;POINT (-39.540694 -3.021071)'))) / (select extract(epoch from '2026-07-23 17:06:12'::timestamp) - extract(epoch from '2026-07-23 17:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540655 -3.021102)'), GeomFromEWKT('SRID=4674;POINT (-39.540694 -3.021071)'))) / (select extract(epoch from '2026-07-23 17:06:12'::timestamp) - extract(epoch from '2026-07-23 17:06: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'), 47855, 'SRID=4674;POINT (-39.540726 -3.021056)', '2026-07-23 17:06:19', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540694 -3.021071)'), GeomFromEWKT('SRID=4674;POINT (-39.540726 -3.021056)'))) / (select extract(epoch from '2026-07-23 17:06:19'::timestamp) - extract(epoch from '2026-07-23 17:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540694 -3.021071)'), GeomFromEWKT('SRID=4674;POINT (-39.540726 -3.021056)'))) / (select extract(epoch from '2026-07-23 17:06:19'::timestamp) - extract(epoch from '2026-07-23 17:06: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'), 47855, 'SRID=4674;POINT (-39.540751 -3.021032)', '2026-07-23 17:06:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540726 -3.021056)'), GeomFromEWKT('SRID=4674;POINT (-39.540751 -3.021032)'))) / (select extract(epoch from '2026-07-23 17:06:27'::timestamp) - extract(epoch from '2026-07-23 17:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540726 -3.021056)'), GeomFromEWKT('SRID=4674;POINT (-39.540751 -3.021032)'))) / (select extract(epoch from '2026-07-23 17:06:27'::timestamp) - extract(epoch from '2026-07-23 17:06: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'), 47855, 'SRID=4674;POINT (-39.540803 -3.021007)', '2026-07-23 17:06:38', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540751 -3.021032)'), GeomFromEWKT('SRID=4674;POINT (-39.540803 -3.021007)'))) / (select extract(epoch from '2026-07-23 17:06:38'::timestamp) - extract(epoch from '2026-07-23 17:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540751 -3.021032)'), GeomFromEWKT('SRID=4674;POINT (-39.540803 -3.021007)'))) / (select extract(epoch from '2026-07-23 17:06:38'::timestamp) - extract(epoch from '2026-07-23 17:06: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'), 47855, 'SRID=4674;POINT (-39.540841 -3.020969)', '2026-07-23 17:06:49', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540803 -3.021007)'), GeomFromEWKT('SRID=4674;POINT (-39.540841 -3.020969)'))) / (select extract(epoch from '2026-07-23 17:06:49'::timestamp) - extract(epoch from '2026-07-23 17:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540803 -3.021007)'), GeomFromEWKT('SRID=4674;POINT (-39.540841 -3.020969)'))) / (select extract(epoch from '2026-07-23 17:06:49'::timestamp) - extract(epoch from '2026-07-23 17:06: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'), 47855, 'SRID=4674;POINT (-39.540876 -3.020947)', '2026-07-23 17:06:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540841 -3.020969)'), GeomFromEWKT('SRID=4674;POINT (-39.540876 -3.020947)'))) / (select extract(epoch from '2026-07-23 17:06:55'::timestamp) - extract(epoch from '2026-07-23 17:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540841 -3.020969)'), GeomFromEWKT('SRID=4674;POINT (-39.540876 -3.020947)'))) / (select extract(epoch from '2026-07-23 17:06:55'::timestamp) - extract(epoch from '2026-07-23 17:06: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'), 47855, 'SRID=4674;POINT (-39.540917 -3.020926)', '2026-07-23 17:07:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540876 -3.020947)'), GeomFromEWKT('SRID=4674;POINT (-39.540917 -3.020926)'))) / (select extract(epoch from '2026-07-23 17:07:03'::timestamp) - extract(epoch from '2026-07-23 17:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540876 -3.020947)'), GeomFromEWKT('SRID=4674;POINT (-39.540917 -3.020926)'))) / (select extract(epoch from '2026-07-23 17:07:03'::timestamp) - extract(epoch from '2026-07-23 17:06: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'), 47855, 'SRID=4674;POINT (-39.540934 -3.02091)', '2026-07-23 17:07:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540917 -3.020926)'), GeomFromEWKT('SRID=4674;POINT (-39.540934 -3.02091)'))) / (select extract(epoch from '2026-07-23 17:07:08'::timestamp) - extract(epoch from '2026-07-23 17:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540917 -3.020926)'), GeomFromEWKT('SRID=4674;POINT (-39.540934 -3.02091)'))) / (select extract(epoch from '2026-07-23 17:07:08'::timestamp) - extract(epoch from '2026-07-23 17:07: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'), 47855, 'SRID=4674;POINT (-39.540956 -3.020893)', '2026-07-23 17:07:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540934 -3.02091)'), GeomFromEWKT('SRID=4674;POINT (-39.540956 -3.020893)'))) / (select extract(epoch from '2026-07-23 17:07:12'::timestamp) - extract(epoch from '2026-07-23 17:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540934 -3.02091)'), GeomFromEWKT('SRID=4674;POINT (-39.540956 -3.020893)'))) / (select extract(epoch from '2026-07-23 17:07:12'::timestamp) - extract(epoch from '2026-07-23 17:07: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'), 47855, 'SRID=4674;POINT (-39.540972 -3.020881)', '2026-07-23 17:07:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540956 -3.020893)'), GeomFromEWKT('SRID=4674;POINT (-39.540972 -3.020881)'))) / (select extract(epoch from '2026-07-23 17:07:18'::timestamp) - extract(epoch from '2026-07-23 17:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540956 -3.020893)'), GeomFromEWKT('SRID=4674;POINT (-39.540972 -3.020881)'))) / (select extract(epoch from '2026-07-23 17:07:18'::timestamp) - extract(epoch from '2026-07-23 17:07:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.541027 -3.020863)', '2026-07-23 17:07:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540972 -3.020881)'), GeomFromEWKT('SRID=4674;POINT (-39.541027 -3.020863)'))) / (select extract(epoch from '2026-07-23 17:07:29'::timestamp) - extract(epoch from '2026-07-23 17:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.540972 -3.020881)'), GeomFromEWKT('SRID=4674;POINT (-39.541027 -3.020863)'))) / (select extract(epoch from '2026-07-23 17:07:29'::timestamp) - extract(epoch from '2026-07-23 17:07:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.541074 -3.020841)', '2026-07-23 17:07:39', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541027 -3.020863)'), GeomFromEWKT('SRID=4674;POINT (-39.541074 -3.020841)'))) / (select extract(epoch from '2026-07-23 17:07:39'::timestamp) - extract(epoch from '2026-07-23 17:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541027 -3.020863)'), GeomFromEWKT('SRID=4674;POINT (-39.541074 -3.020841)'))) / (select extract(epoch from '2026-07-23 17:07:39'::timestamp) - extract(epoch from '2026-07-23 17:07: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'), 47855, 'SRID=4674;POINT (-39.541116 -3.020822)', '2026-07-23 17:07:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541074 -3.020841)'), GeomFromEWKT('SRID=4674;POINT (-39.541116 -3.020822)'))) / (select extract(epoch from '2026-07-23 17:07:49'::timestamp) - extract(epoch from '2026-07-23 17:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541074 -3.020841)'), GeomFromEWKT('SRID=4674;POINT (-39.541116 -3.020822)'))) / (select extract(epoch from '2026-07-23 17:07:49'::timestamp) - extract(epoch from '2026-07-23 17:07: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'), 47855, 'SRID=4674;POINT (-39.541144 -3.020809)', '2026-07-23 17:07:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541116 -3.020822)'), GeomFromEWKT('SRID=4674;POINT (-39.541144 -3.020809)'))) / (select extract(epoch from '2026-07-23 17:07:57'::timestamp) - extract(epoch from '2026-07-23 17:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541116 -3.020822)'), GeomFromEWKT('SRID=4674;POINT (-39.541144 -3.020809)'))) / (select extract(epoch from '2026-07-23 17:07:57'::timestamp) - extract(epoch from '2026-07-23 17:07: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'), 47855, 'SRID=4674;POINT (-39.54116 -3.020793)', '2026-07-23 17:08:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541144 -3.020809)'), GeomFromEWKT('SRID=4674;POINT (-39.54116 -3.020793)'))) / (select extract(epoch from '2026-07-23 17:08:01'::timestamp) - extract(epoch from '2026-07-23 17:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541144 -3.020809)'), GeomFromEWKT('SRID=4674;POINT (-39.54116 -3.020793)'))) / (select extract(epoch from '2026-07-23 17:08:01'::timestamp) - extract(epoch from '2026-07-23 17:07: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'), 47855, 'SRID=4674;POINT (-39.541166 -3.020785)', '2026-07-23 17:08:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54116 -3.020793)'), GeomFromEWKT('SRID=4674;POINT (-39.541166 -3.020785)'))) / (select extract(epoch from '2026-07-23 17:08:02'::timestamp) - extract(epoch from '2026-07-23 17:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54116 -3.020793)'), GeomFromEWKT('SRID=4674;POINT (-39.541166 -3.020785)'))) / (select extract(epoch from '2026-07-23 17:08:02'::timestamp) - extract(epoch from '2026-07-23 17:08: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'), 47855, 'SRID=4674;POINT (-39.54119 -3.020776)', '2026-07-23 17:08:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541166 -3.020785)'), GeomFromEWKT('SRID=4674;POINT (-39.54119 -3.020776)'))) / (select extract(epoch from '2026-07-23 17:08:06'::timestamp) - extract(epoch from '2026-07-23 17:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541166 -3.020785)'), GeomFromEWKT('SRID=4674;POINT (-39.54119 -3.020776)'))) / (select extract(epoch from '2026-07-23 17:08:06'::timestamp) - extract(epoch from '2026-07-23 17:08: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'), 47855, 'SRID=4674;POINT (-39.541196 -3.020775)', '2026-07-23 17:08:07', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54119 -3.020776)'), GeomFromEWKT('SRID=4674;POINT (-39.541196 -3.020775)'))) / (select extract(epoch from '2026-07-23 17:08:07'::timestamp) - extract(epoch from '2026-07-23 17:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54119 -3.020776)'), GeomFromEWKT('SRID=4674;POINT (-39.541196 -3.020775)'))) / (select extract(epoch from '2026-07-23 17:08:07'::timestamp) - extract(epoch from '2026-07-23 17:08: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'), 47855, 'SRID=4674;POINT (-39.54121 -3.020756)', '2026-07-23 17:08:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541196 -3.020775)'), GeomFromEWKT('SRID=4674;POINT (-39.54121 -3.020756)'))) / (select extract(epoch from '2026-07-23 17:08:12'::timestamp) - extract(epoch from '2026-07-23 17:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541196 -3.020775)'), GeomFromEWKT('SRID=4674;POINT (-39.54121 -3.020756)'))) / (select extract(epoch from '2026-07-23 17:08:12'::timestamp) - extract(epoch from '2026-07-23 17:08: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'), 47855, 'SRID=4674;POINT (-39.541235 -3.02074)', '2026-07-23 17:08:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54121 -3.020756)'), GeomFromEWKT('SRID=4674;POINT (-39.541235 -3.02074)'))) / (select extract(epoch from '2026-07-23 17:08:19'::timestamp) - extract(epoch from '2026-07-23 17:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54121 -3.020756)'), GeomFromEWKT('SRID=4674;POINT (-39.541235 -3.02074)'))) / (select extract(epoch from '2026-07-23 17:08:19'::timestamp) - extract(epoch from '2026-07-23 17:08: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'), 47855, 'SRID=4674;POINT (-39.541249 -3.020725)', '2026-07-23 17:08:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541235 -3.02074)'), GeomFromEWKT('SRID=4674;POINT (-39.541249 -3.020725)'))) / (select extract(epoch from '2026-07-23 17:08:22'::timestamp) - extract(epoch from '2026-07-23 17:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541235 -3.02074)'), GeomFromEWKT('SRID=4674;POINT (-39.541249 -3.020725)'))) / (select extract(epoch from '2026-07-23 17:08:22'::timestamp) - extract(epoch from '2026-07-23 17:08: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'), 47855, 'SRID=4674;POINT (-39.54127 -3.020715)', '2026-07-23 17:08:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541249 -3.020725)'), GeomFromEWKT('SRID=4674;POINT (-39.54127 -3.020715)'))) / (select extract(epoch from '2026-07-23 17:08:26'::timestamp) - extract(epoch from '2026-07-23 17:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541249 -3.020725)'), GeomFromEWKT('SRID=4674;POINT (-39.54127 -3.020715)'))) / (select extract(epoch from '2026-07-23 17:08:26'::timestamp) - extract(epoch from '2026-07-23 17:08:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.541305 -3.020693)', '2026-07-23 17:08:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54127 -3.020715)'), GeomFromEWKT('SRID=4674;POINT (-39.541305 -3.020693)'))) / (select extract(epoch from '2026-07-23 17:08:35'::timestamp) - extract(epoch from '2026-07-23 17:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54127 -3.020715)'), GeomFromEWKT('SRID=4674;POINT (-39.541305 -3.020693)'))) / (select extract(epoch from '2026-07-23 17:08:35'::timestamp) - extract(epoch from '2026-07-23 17:08: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'), 47855, 'SRID=4674;POINT (-39.541339 -3.020673)', '2026-07-23 17:08:42', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541305 -3.020693)'), GeomFromEWKT('SRID=4674;POINT (-39.541339 -3.020673)'))) / (select extract(epoch from '2026-07-23 17:08:42'::timestamp) - extract(epoch from '2026-07-23 17:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541305 -3.020693)'), GeomFromEWKT('SRID=4674;POINT (-39.541339 -3.020673)'))) / (select extract(epoch from '2026-07-23 17:08:42'::timestamp) - extract(epoch from '2026-07-23 17:08: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'), 47855, 'SRID=4674;POINT (-39.541383 -3.020648)', '2026-07-23 17:08:52', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541339 -3.020673)'), GeomFromEWKT('SRID=4674;POINT (-39.541383 -3.020648)'))) / (select extract(epoch from '2026-07-23 17:08:52'::timestamp) - extract(epoch from '2026-07-23 17:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541339 -3.020673)'), GeomFromEWKT('SRID=4674;POINT (-39.541383 -3.020648)'))) / (select extract(epoch from '2026-07-23 17:08:52'::timestamp) - extract(epoch from '2026-07-23 17:08: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'), 47855, 'SRID=4674;POINT (-39.541428 -3.020605)', '2026-07-23 17:09:04', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541383 -3.020648)'), GeomFromEWKT('SRID=4674;POINT (-39.541428 -3.020605)'))) / (select extract(epoch from '2026-07-23 17:09:04'::timestamp) - extract(epoch from '2026-07-23 17:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541383 -3.020648)'), GeomFromEWKT('SRID=4674;POINT (-39.541428 -3.020605)'))) / (select extract(epoch from '2026-07-23 17:09:04'::timestamp) - extract(epoch from '2026-07-23 17:08:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.541463 -3.020566)', '2026-07-23 17:09:14', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541428 -3.020605)'), GeomFromEWKT('SRID=4674;POINT (-39.541463 -3.020566)'))) / (select extract(epoch from '2026-07-23 17:09:14'::timestamp) - extract(epoch from '2026-07-23 17:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541428 -3.020605)'), GeomFromEWKT('SRID=4674;POINT (-39.541463 -3.020566)'))) / (select extract(epoch from '2026-07-23 17:09:14'::timestamp) - extract(epoch from '2026-07-23 17:09:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.541504 -3.020518)', '2026-07-23 17:09:24', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541463 -3.020566)'), GeomFromEWKT('SRID=4674;POINT (-39.541504 -3.020518)'))) / (select extract(epoch from '2026-07-23 17:09:24'::timestamp) - extract(epoch from '2026-07-23 17:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541463 -3.020566)'), GeomFromEWKT('SRID=4674;POINT (-39.541504 -3.020518)'))) / (select extract(epoch from '2026-07-23 17:09:24'::timestamp) - extract(epoch from '2026-07-23 17:09: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'), 47855, 'SRID=4674;POINT (-39.541543 -3.0205)', '2026-07-23 17:09:32', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541504 -3.020518)'), GeomFromEWKT('SRID=4674;POINT (-39.541543 -3.0205)'))) / (select extract(epoch from '2026-07-23 17:09:32'::timestamp) - extract(epoch from '2026-07-23 17:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541504 -3.020518)'), GeomFromEWKT('SRID=4674;POINT (-39.541543 -3.0205)'))) / (select extract(epoch from '2026-07-23 17:09:32'::timestamp) - extract(epoch from '2026-07-23 17:09: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'), 47855, 'SRID=4674;POINT (-39.541577 -3.020469)', '2026-07-23 17:09:41', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541543 -3.0205)'), GeomFromEWKT('SRID=4674;POINT (-39.541577 -3.020469)'))) / (select extract(epoch from '2026-07-23 17:09:41'::timestamp) - extract(epoch from '2026-07-23 17:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541543 -3.0205)'), GeomFromEWKT('SRID=4674;POINT (-39.541577 -3.020469)'))) / (select extract(epoch from '2026-07-23 17:09:41'::timestamp) - extract(epoch from '2026-07-23 17:09: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'), 47855, 'SRID=4674;POINT (-39.541622 -3.020449)', '2026-07-23 17:09:50', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541577 -3.020469)'), GeomFromEWKT('SRID=4674;POINT (-39.541622 -3.020449)'))) / (select extract(epoch from '2026-07-23 17:09:50'::timestamp) - extract(epoch from '2026-07-23 17:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541577 -3.020469)'), GeomFromEWKT('SRID=4674;POINT (-39.541622 -3.020449)'))) / (select extract(epoch from '2026-07-23 17:09:50'::timestamp) - extract(epoch from '2026-07-23 17:09: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'), 47855, 'SRID=4674;POINT (-39.541657 -3.020433)', '2026-07-23 17:09:59', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541622 -3.020449)'), GeomFromEWKT('SRID=4674;POINT (-39.541657 -3.020433)'))) / (select extract(epoch from '2026-07-23 17:09:59'::timestamp) - extract(epoch from '2026-07-23 17:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541622 -3.020449)'), GeomFromEWKT('SRID=4674;POINT (-39.541657 -3.020433)'))) / (select extract(epoch from '2026-07-23 17:09:59'::timestamp) - extract(epoch from '2026-07-23 17:09: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'), 47855, 'SRID=4674;POINT (-39.541687 -3.020406)', '2026-07-23 17:10:07', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541657 -3.020433)'), GeomFromEWKT('SRID=4674;POINT (-39.541687 -3.020406)'))) / (select extract(epoch from '2026-07-23 17:10:07'::timestamp) - extract(epoch from '2026-07-23 17:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541657 -3.020433)'), GeomFromEWKT('SRID=4674;POINT (-39.541687 -3.020406)'))) / (select extract(epoch from '2026-07-23 17:10:07'::timestamp) - extract(epoch from '2026-07-23 17:09: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'), 47855, 'SRID=4674;POINT (-39.541731 -3.020376)', '2026-07-23 17:10:16', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541687 -3.020406)'), GeomFromEWKT('SRID=4674;POINT (-39.541731 -3.020376)'))) / (select extract(epoch from '2026-07-23 17:10:16'::timestamp) - extract(epoch from '2026-07-23 17:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541687 -3.020406)'), GeomFromEWKT('SRID=4674;POINT (-39.541731 -3.020376)'))) / (select extract(epoch from '2026-07-23 17:10:16'::timestamp) - extract(epoch from '2026-07-23 17:10: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'), 47855, 'SRID=4674;POINT (-39.541787 -3.020342)', '2026-07-23 17:10:27', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541731 -3.020376)'), GeomFromEWKT('SRID=4674;POINT (-39.541787 -3.020342)'))) / (select extract(epoch from '2026-07-23 17:10:27'::timestamp) - extract(epoch from '2026-07-23 17:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541731 -3.020376)'), GeomFromEWKT('SRID=4674;POINT (-39.541787 -3.020342)'))) / (select extract(epoch from '2026-07-23 17:10:27'::timestamp) - extract(epoch from '2026-07-23 17:10:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.5418 -3.020333)', '2026-07-23 17:10:29', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541787 -3.020342)'), GeomFromEWKT('SRID=4674;POINT (-39.5418 -3.020333)'))) / (select extract(epoch from '2026-07-23 17:10:29'::timestamp) - extract(epoch from '2026-07-23 17:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541787 -3.020342)'), GeomFromEWKT('SRID=4674;POINT (-39.5418 -3.020333)'))) / (select extract(epoch from '2026-07-23 17:10:29'::timestamp) - extract(epoch from '2026-07-23 17:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.54183 -3.020331)', '2026-07-23 17:10:32', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5418 -3.020333)'), GeomFromEWKT('SRID=4674;POINT (-39.54183 -3.020331)'))) / (select extract(epoch from '2026-07-23 17:10:32'::timestamp) - extract(epoch from '2026-07-23 17:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5418 -3.020333)'), GeomFromEWKT('SRID=4674;POINT (-39.54183 -3.020331)'))) / (select extract(epoch from '2026-07-23 17:10:32'::timestamp) - extract(epoch from '2026-07-23 17:10:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.541847 -3.020319)', '2026-07-23 17:10:39', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54183 -3.020331)'), GeomFromEWKT('SRID=4674;POINT (-39.541847 -3.020319)'))) / (select extract(epoch from '2026-07-23 17:10:39'::timestamp) - extract(epoch from '2026-07-23 17:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54183 -3.020331)'), GeomFromEWKT('SRID=4674;POINT (-39.541847 -3.020319)'))) / (select extract(epoch from '2026-07-23 17:10:39'::timestamp) - extract(epoch from '2026-07-23 17:10:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.541884 -3.020284)', '2026-07-23 17:10:47', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541847 -3.020319)'), GeomFromEWKT('SRID=4674;POINT (-39.541884 -3.020284)'))) / (select extract(epoch from '2026-07-23 17:10:47'::timestamp) - extract(epoch from '2026-07-23 17:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541847 -3.020319)'), GeomFromEWKT('SRID=4674;POINT (-39.541884 -3.020284)'))) / (select extract(epoch from '2026-07-23 17:10:47'::timestamp) - extract(epoch from '2026-07-23 17:10: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'), 47855, 'SRID=4674;POINT (-39.541909 -3.020252)', '2026-07-23 17:10:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541884 -3.020284)'), GeomFromEWKT('SRID=4674;POINT (-39.541909 -3.020252)'))) / (select extract(epoch from '2026-07-23 17:10:54'::timestamp) - extract(epoch from '2026-07-23 17:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541884 -3.020284)'), GeomFromEWKT('SRID=4674;POINT (-39.541909 -3.020252)'))) / (select extract(epoch from '2026-07-23 17:10:54'::timestamp) - extract(epoch from '2026-07-23 17:10:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.541945 -3.020197)', '2026-07-23 17:11:07', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541909 -3.020252)'), GeomFromEWKT('SRID=4674;POINT (-39.541945 -3.020197)'))) / (select extract(epoch from '2026-07-23 17:11:07'::timestamp) - extract(epoch from '2026-07-23 17:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541909 -3.020252)'), GeomFromEWKT('SRID=4674;POINT (-39.541945 -3.020197)'))) / (select extract(epoch from '2026-07-23 17:11:07'::timestamp) - extract(epoch from '2026-07-23 17:10:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.541999 -3.020158)', '2026-07-23 17:11:17', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541945 -3.020197)'), GeomFromEWKT('SRID=4674;POINT (-39.541999 -3.020158)'))) / (select extract(epoch from '2026-07-23 17:11:17'::timestamp) - extract(epoch from '2026-07-23 17:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541945 -3.020197)'), GeomFromEWKT('SRID=4674;POINT (-39.541999 -3.020158)'))) / (select extract(epoch from '2026-07-23 17:11:17'::timestamp) - extract(epoch from '2026-07-23 17:11:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.542027 -3.020124)', '2026-07-23 17:11:24', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541999 -3.020158)'), GeomFromEWKT('SRID=4674;POINT (-39.542027 -3.020124)'))) / (select extract(epoch from '2026-07-23 17:11:24'::timestamp) - extract(epoch from '2026-07-23 17:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.541999 -3.020158)'), GeomFromEWKT('SRID=4674;POINT (-39.542027 -3.020124)'))) / (select extract(epoch from '2026-07-23 17:11:24'::timestamp) - extract(epoch from '2026-07-23 17:11:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.542077 -3.020093)', '2026-07-23 17:11:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542027 -3.020124)'), GeomFromEWKT('SRID=4674;POINT (-39.542077 -3.020093)'))) / (select extract(epoch from '2026-07-23 17:11:35'::timestamp) - extract(epoch from '2026-07-23 17:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542027 -3.020124)'), GeomFromEWKT('SRID=4674;POINT (-39.542077 -3.020093)'))) / (select extract(epoch from '2026-07-23 17:11:35'::timestamp) - extract(epoch from '2026-07-23 17:11: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'), 47855, 'SRID=4674;POINT (-39.542124 -3.020062)', '2026-07-23 17:11:44', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542077 -3.020093)'), GeomFromEWKT('SRID=4674;POINT (-39.542124 -3.020062)'))) / (select extract(epoch from '2026-07-23 17:11:44'::timestamp) - extract(epoch from '2026-07-23 17:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542077 -3.020093)'), GeomFromEWKT('SRID=4674;POINT (-39.542124 -3.020062)'))) / (select extract(epoch from '2026-07-23 17:11:44'::timestamp) - extract(epoch from '2026-07-23 17:11:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.542158 -3.020035)', '2026-07-23 17:11:52', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542124 -3.020062)'), GeomFromEWKT('SRID=4674;POINT (-39.542158 -3.020035)'))) / (select extract(epoch from '2026-07-23 17:11:52'::timestamp) - extract(epoch from '2026-07-23 17:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542124 -3.020062)'), GeomFromEWKT('SRID=4674;POINT (-39.542158 -3.020035)'))) / (select extract(epoch from '2026-07-23 17:11:52'::timestamp) - extract(epoch from '2026-07-23 17:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.542182 -3.020012)', '2026-07-23 17:11:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542158 -3.020035)'), GeomFromEWKT('SRID=4674;POINT (-39.542182 -3.020012)'))) / (select extract(epoch from '2026-07-23 17:11:58'::timestamp) - extract(epoch from '2026-07-23 17:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542158 -3.020035)'), GeomFromEWKT('SRID=4674;POINT (-39.542182 -3.020012)'))) / (select extract(epoch from '2026-07-23 17:11:58'::timestamp) - extract(epoch from '2026-07-23 17:11: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'), 47855, 'SRID=4674;POINT (-39.542192 -3.020011)', '2026-07-23 17:11:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542182 -3.020012)'), GeomFromEWKT('SRID=4674;POINT (-39.542192 -3.020011)'))) / (select extract(epoch from '2026-07-23 17:11:59'::timestamp) - extract(epoch from '2026-07-23 17:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542182 -3.020012)'), GeomFromEWKT('SRID=4674;POINT (-39.542192 -3.020011)'))) / (select extract(epoch from '2026-07-23 17:11:59'::timestamp) - extract(epoch from '2026-07-23 17:11:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.542208 -3.020011)', '2026-07-23 17:12:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542192 -3.020011)'), GeomFromEWKT('SRID=4674;POINT (-39.542208 -3.020011)'))) / (select extract(epoch from '2026-07-23 17:12:03'::timestamp) - extract(epoch from '2026-07-23 17:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542192 -3.020011)'), GeomFromEWKT('SRID=4674;POINT (-39.542208 -3.020011)'))) / (select extract(epoch from '2026-07-23 17:12:03'::timestamp) - extract(epoch from '2026-07-23 17:11:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.542243 -3.019997)', '2026-07-23 17:12:10', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542208 -3.020011)'), GeomFromEWKT('SRID=4674;POINT (-39.542243 -3.019997)'))) / (select extract(epoch from '2026-07-23 17:12:10'::timestamp) - extract(epoch from '2026-07-23 17:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542208 -3.020011)'), GeomFromEWKT('SRID=4674;POINT (-39.542243 -3.019997)'))) / (select extract(epoch from '2026-07-23 17:12:10'::timestamp) - extract(epoch from '2026-07-23 17:12:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.542277 -3.019985)', '2026-07-23 17:12:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542243 -3.019997)'), GeomFromEWKT('SRID=4674;POINT (-39.542277 -3.019985)'))) / (select extract(epoch from '2026-07-23 17:12:17'::timestamp) - extract(epoch from '2026-07-23 17:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542243 -3.019997)'), GeomFromEWKT('SRID=4674;POINT (-39.542277 -3.019985)'))) / (select extract(epoch from '2026-07-23 17:12:17'::timestamp) - extract(epoch from '2026-07-23 17:12: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'), 47855, 'SRID=4674;POINT (-39.542301 -3.019968)', '2026-07-23 17:12:25', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542277 -3.019985)'), GeomFromEWKT('SRID=4674;POINT (-39.542301 -3.019968)'))) / (select extract(epoch from '2026-07-23 17:12:25'::timestamp) - extract(epoch from '2026-07-23 17:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542277 -3.019985)'), GeomFromEWKT('SRID=4674;POINT (-39.542301 -3.019968)'))) / (select extract(epoch from '2026-07-23 17:12:25'::timestamp) - extract(epoch from '2026-07-23 17:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.542324 -3.019932)', '2026-07-23 17:12:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542301 -3.019968)'), GeomFromEWKT('SRID=4674;POINT (-39.542324 -3.019932)'))) / (select extract(epoch from '2026-07-23 17:12:33'::timestamp) - extract(epoch from '2026-07-23 17:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542301 -3.019968)'), GeomFromEWKT('SRID=4674;POINT (-39.542324 -3.019932)'))) / (select extract(epoch from '2026-07-23 17:12:33'::timestamp) - extract(epoch from '2026-07-23 17:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.542351 -3.019885)', '2026-07-23 17:12:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542324 -3.019932)'), GeomFromEWKT('SRID=4674;POINT (-39.542351 -3.019885)'))) / (select extract(epoch from '2026-07-23 17:12:41'::timestamp) - extract(epoch from '2026-07-23 17:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542324 -3.019932)'), GeomFromEWKT('SRID=4674;POINT (-39.542351 -3.019885)'))) / (select extract(epoch from '2026-07-23 17:12:41'::timestamp) - extract(epoch from '2026-07-23 17:12: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'), 47855, 'SRID=4674;POINT (-39.542363 -3.019862)', '2026-07-23 17:12:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542351 -3.019885)'), GeomFromEWKT('SRID=4674;POINT (-39.542363 -3.019862)'))) / (select extract(epoch from '2026-07-23 17:12:47'::timestamp) - extract(epoch from '2026-07-23 17:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542351 -3.019885)'), GeomFromEWKT('SRID=4674;POINT (-39.542363 -3.019862)'))) / (select extract(epoch from '2026-07-23 17:12:47'::timestamp) - extract(epoch from '2026-07-23 17:12: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'), 47855, 'SRID=4674;POINT (-39.542397 -3.019829)', '2026-07-23 17:12:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542363 -3.019862)'), GeomFromEWKT('SRID=4674;POINT (-39.542397 -3.019829)'))) / (select extract(epoch from '2026-07-23 17:12:57'::timestamp) - extract(epoch from '2026-07-23 17:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542363 -3.019862)'), GeomFromEWKT('SRID=4674;POINT (-39.542397 -3.019829)'))) / (select extract(epoch from '2026-07-23 17:12:57'::timestamp) - extract(epoch from '2026-07-23 17:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.542409 -3.019831)', '2026-07-23 17:13:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542397 -3.019829)'), GeomFromEWKT('SRID=4674;POINT (-39.542409 -3.019831)'))) / (select extract(epoch from '2026-07-23 17:13:02'::timestamp) - extract(epoch from '2026-07-23 17:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542397 -3.019829)'), GeomFromEWKT('SRID=4674;POINT (-39.542409 -3.019831)'))) / (select extract(epoch from '2026-07-23 17:13:02'::timestamp) - extract(epoch from '2026-07-23 17:12: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'), 47855, 'SRID=4674;POINT (-39.542413 -3.019836)', '2026-07-23 17:13:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542409 -3.019831)'), GeomFromEWKT('SRID=4674;POINT (-39.542413 -3.019836)'))) / (select extract(epoch from '2026-07-23 17:13:05'::timestamp) - extract(epoch from '2026-07-23 17:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542409 -3.019831)'), GeomFromEWKT('SRID=4674;POINT (-39.542413 -3.019836)'))) / (select extract(epoch from '2026-07-23 17:13:05'::timestamp) - extract(epoch from '2026-07-23 17:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.542427 -3.019845)', '2026-07-23 17:13:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542413 -3.019836)'), GeomFromEWKT('SRID=4674;POINT (-39.542427 -3.019845)'))) / (select extract(epoch from '2026-07-23 17:13:08'::timestamp) - extract(epoch from '2026-07-23 17:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542413 -3.019836)'), GeomFromEWKT('SRID=4674;POINT (-39.542427 -3.019845)'))) / (select extract(epoch from '2026-07-23 17:13:08'::timestamp) - extract(epoch from '2026-07-23 17:13: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'), 47855, 'SRID=4674;POINT (-39.542443 -3.01986)', '2026-07-23 17:13:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542427 -3.019845)'), GeomFromEWKT('SRID=4674;POINT (-39.542443 -3.01986)'))) / (select extract(epoch from '2026-07-23 17:13:13'::timestamp) - extract(epoch from '2026-07-23 17:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542427 -3.019845)'), GeomFromEWKT('SRID=4674;POINT (-39.542443 -3.01986)'))) / (select extract(epoch from '2026-07-23 17:13:13'::timestamp) - extract(epoch from '2026-07-23 17:13: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'), 47855, 'SRID=4674;POINT (-39.542477 -3.019863)', '2026-07-23 17:13:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542443 -3.01986)'), GeomFromEWKT('SRID=4674;POINT (-39.542477 -3.019863)'))) / (select extract(epoch from '2026-07-23 17:13:20'::timestamp) - extract(epoch from '2026-07-23 17:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542443 -3.01986)'), GeomFromEWKT('SRID=4674;POINT (-39.542477 -3.019863)'))) / (select extract(epoch from '2026-07-23 17:13:20'::timestamp) - extract(epoch from '2026-07-23 17:13:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.542507 -3.019856)', '2026-07-23 17:13:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542477 -3.019863)'), GeomFromEWKT('SRID=4674;POINT (-39.542507 -3.019856)'))) / (select extract(epoch from '2026-07-23 17:13:27'::timestamp) - extract(epoch from '2026-07-23 17:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542477 -3.019863)'), GeomFromEWKT('SRID=4674;POINT (-39.542507 -3.019856)'))) / (select extract(epoch from '2026-07-23 17:13:27'::timestamp) - extract(epoch from '2026-07-23 17:13: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'), 47855, 'SRID=4674;POINT (-39.542549 -3.019847)', '2026-07-23 17:13:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542507 -3.019856)'), GeomFromEWKT('SRID=4674;POINT (-39.542549 -3.019847)'))) / (select extract(epoch from '2026-07-23 17:13:35'::timestamp) - extract(epoch from '2026-07-23 17:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542507 -3.019856)'), GeomFromEWKT('SRID=4674;POINT (-39.542549 -3.019847)'))) / (select extract(epoch from '2026-07-23 17:13:35'::timestamp) - extract(epoch from '2026-07-23 17:13: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'), 47855, 'SRID=4674;POINT (-39.542602 -3.019815)', '2026-07-23 17:13:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542549 -3.019847)'), GeomFromEWKT('SRID=4674;POINT (-39.542602 -3.019815)'))) / (select extract(epoch from '2026-07-23 17:13:45'::timestamp) - extract(epoch from '2026-07-23 17:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542549 -3.019847)'), GeomFromEWKT('SRID=4674;POINT (-39.542602 -3.019815)'))) / (select extract(epoch from '2026-07-23 17:13:45'::timestamp) - extract(epoch from '2026-07-23 17:13:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.542628 -3.019803)', '2026-07-23 17:13:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542602 -3.019815)'), GeomFromEWKT('SRID=4674;POINT (-39.542628 -3.019803)'))) / (select extract(epoch from '2026-07-23 17:13:50'::timestamp) - extract(epoch from '2026-07-23 17:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542602 -3.019815)'), GeomFromEWKT('SRID=4674;POINT (-39.542628 -3.019803)'))) / (select extract(epoch from '2026-07-23 17:13:50'::timestamp) - extract(epoch from '2026-07-23 17:13: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'), 47855, 'SRID=4674;POINT (-39.542675 -3.019761)', '2026-07-23 17:14:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542628 -3.019803)'), GeomFromEWKT('SRID=4674;POINT (-39.542675 -3.019761)'))) / (select extract(epoch from '2026-07-23 17:14:00'::timestamp) - extract(epoch from '2026-07-23 17:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542628 -3.019803)'), GeomFromEWKT('SRID=4674;POINT (-39.542675 -3.019761)'))) / (select extract(epoch from '2026-07-23 17:14:00'::timestamp) - extract(epoch from '2026-07-23 17:13: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'), 47855, 'SRID=4674;POINT (-39.542696 -3.019741)', '2026-07-23 17:14:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542675 -3.019761)'), GeomFromEWKT('SRID=4674;POINT (-39.542696 -3.019741)'))) / (select extract(epoch from '2026-07-23 17:14:06'::timestamp) - extract(epoch from '2026-07-23 17:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542675 -3.019761)'), GeomFromEWKT('SRID=4674;POINT (-39.542696 -3.019741)'))) / (select extract(epoch from '2026-07-23 17:14:06'::timestamp) - extract(epoch from '2026-07-23 17:14: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'), 47855, 'SRID=4674;POINT (-39.542728 -3.019714)', '2026-07-23 17:14:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542696 -3.019741)'), GeomFromEWKT('SRID=4674;POINT (-39.542728 -3.019714)'))) / (select extract(epoch from '2026-07-23 17:14:12'::timestamp) - extract(epoch from '2026-07-23 17:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542696 -3.019741)'), GeomFromEWKT('SRID=4674;POINT (-39.542728 -3.019714)'))) / (select extract(epoch from '2026-07-23 17:14:12'::timestamp) - extract(epoch from '2026-07-23 17:14: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'), 47855, 'SRID=4674;POINT (-39.542753 -3.019694)', '2026-07-23 17:14:19', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542728 -3.019714)'), GeomFromEWKT('SRID=4674;POINT (-39.542753 -3.019694)'))) / (select extract(epoch from '2026-07-23 17:14:19'::timestamp) - extract(epoch from '2026-07-23 17:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542728 -3.019714)'), GeomFromEWKT('SRID=4674;POINT (-39.542753 -3.019694)'))) / (select extract(epoch from '2026-07-23 17:14:19'::timestamp) - extract(epoch from '2026-07-23 17:14: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'), 47855, 'SRID=4674;POINT (-39.542756 -3.019688)', '2026-07-23 17:14:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542753 -3.019694)'), GeomFromEWKT('SRID=4674;POINT (-39.542756 -3.019688)'))) / (select extract(epoch from '2026-07-23 17:14:20'::timestamp) - extract(epoch from '2026-07-23 17:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542753 -3.019694)'), GeomFromEWKT('SRID=4674;POINT (-39.542756 -3.019688)'))) / (select extract(epoch from '2026-07-23 17:14:20'::timestamp) - extract(epoch from '2026-07-23 17:14: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'), 47855, 'SRID=4674;POINT (-39.542767 -3.019678)', '2026-07-23 17:14:24', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542756 -3.019688)'), GeomFromEWKT('SRID=4674;POINT (-39.542767 -3.019678)'))) / (select extract(epoch from '2026-07-23 17:14:24'::timestamp) - extract(epoch from '2026-07-23 17:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542756 -3.019688)'), GeomFromEWKT('SRID=4674;POINT (-39.542767 -3.019678)'))) / (select extract(epoch from '2026-07-23 17:14:24'::timestamp) - extract(epoch from '2026-07-23 17:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.542796 -3.019657)', '2026-07-23 17:14:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542767 -3.019678)'), GeomFromEWKT('SRID=4674;POINT (-39.542796 -3.019657)'))) / (select extract(epoch from '2026-07-23 17:14:32'::timestamp) - extract(epoch from '2026-07-23 17:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542767 -3.019678)'), GeomFromEWKT('SRID=4674;POINT (-39.542796 -3.019657)'))) / (select extract(epoch from '2026-07-23 17:14:32'::timestamp) - extract(epoch from '2026-07-23 17:14:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.542833 -3.019634)', '2026-07-23 17:14:40', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542796 -3.019657)'), GeomFromEWKT('SRID=4674;POINT (-39.542833 -3.019634)'))) / (select extract(epoch from '2026-07-23 17:14:40'::timestamp) - extract(epoch from '2026-07-23 17:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542796 -3.019657)'), GeomFromEWKT('SRID=4674;POINT (-39.542833 -3.019634)'))) / (select extract(epoch from '2026-07-23 17:14:40'::timestamp) - extract(epoch from '2026-07-23 17:14:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.542861 -3.019613)', '2026-07-23 17:14:49', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542833 -3.019634)'), GeomFromEWKT('SRID=4674;POINT (-39.542861 -3.019613)'))) / (select extract(epoch from '2026-07-23 17:14:49'::timestamp) - extract(epoch from '2026-07-23 17:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542833 -3.019634)'), GeomFromEWKT('SRID=4674;POINT (-39.542861 -3.019613)'))) / (select extract(epoch from '2026-07-23 17:14:49'::timestamp) - extract(epoch from '2026-07-23 17:14: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'), 47855, 'SRID=4674;POINT (-39.542903 -3.019589)', '2026-07-23 17:14:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542861 -3.019613)'), GeomFromEWKT('SRID=4674;POINT (-39.542903 -3.019589)'))) / (select extract(epoch from '2026-07-23 17:14:58'::timestamp) - extract(epoch from '2026-07-23 17:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542861 -3.019613)'), GeomFromEWKT('SRID=4674;POINT (-39.542903 -3.019589)'))) / (select extract(epoch from '2026-07-23 17:14:58'::timestamp) - extract(epoch from '2026-07-23 17:14:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.542959 -3.019561)', '2026-07-23 17:15:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542903 -3.019589)'), GeomFromEWKT('SRID=4674;POINT (-39.542959 -3.019561)'))) / (select extract(epoch from '2026-07-23 17:15:08'::timestamp) - extract(epoch from '2026-07-23 17:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542903 -3.019589)'), GeomFromEWKT('SRID=4674;POINT (-39.542959 -3.019561)'))) / (select extract(epoch from '2026-07-23 17:15:08'::timestamp) - extract(epoch from '2026-07-23 17:14:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543029 -3.019514)', '2026-07-23 17:15:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542959 -3.019561)'), GeomFromEWKT('SRID=4674;POINT (-39.543029 -3.019514)'))) / (select extract(epoch from '2026-07-23 17:15:21'::timestamp) - extract(epoch from '2026-07-23 17:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.542959 -3.019561)'), GeomFromEWKT('SRID=4674;POINT (-39.543029 -3.019514)'))) / (select extract(epoch from '2026-07-23 17:15:21'::timestamp) - extract(epoch from '2026-07-23 17:15: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'), 47855, 'SRID=4674;POINT (-39.543078 -3.019481)', '2026-07-23 17:15:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543029 -3.019514)'), GeomFromEWKT('SRID=4674;POINT (-39.543078 -3.019481)'))) / (select extract(epoch from '2026-07-23 17:15:31'::timestamp) - extract(epoch from '2026-07-23 17:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543029 -3.019514)'), GeomFromEWKT('SRID=4674;POINT (-39.543078 -3.019481)'))) / (select extract(epoch from '2026-07-23 17:15:31'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.543119 -3.019457)', '2026-07-23 17:15:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543078 -3.019481)'), GeomFromEWKT('SRID=4674;POINT (-39.543119 -3.019457)'))) / (select extract(epoch from '2026-07-23 17:15:39'::timestamp) - extract(epoch from '2026-07-23 17:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543078 -3.019481)'), GeomFromEWKT('SRID=4674;POINT (-39.543119 -3.019457)'))) / (select extract(epoch from '2026-07-23 17:15:39'::timestamp) - extract(epoch from '2026-07-23 17:15: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'), 47855, 'SRID=4674;POINT (-39.543161 -3.019426)', '2026-07-23 17:15:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543119 -3.019457)'), GeomFromEWKT('SRID=4674;POINT (-39.543161 -3.019426)'))) / (select extract(epoch from '2026-07-23 17:15:48'::timestamp) - extract(epoch from '2026-07-23 17:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543119 -3.019457)'), GeomFromEWKT('SRID=4674;POINT (-39.543161 -3.019426)'))) / (select extract(epoch from '2026-07-23 17:15:48'::timestamp) - extract(epoch from '2026-07-23 17:15:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543187 -3.019395)', '2026-07-23 17:15:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543161 -3.019426)'), GeomFromEWKT('SRID=4674;POINT (-39.543187 -3.019395)'))) / (select extract(epoch from '2026-07-23 17:15:56'::timestamp) - extract(epoch from '2026-07-23 17:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543161 -3.019426)'), GeomFromEWKT('SRID=4674;POINT (-39.543187 -3.019395)'))) / (select extract(epoch from '2026-07-23 17:15:56'::timestamp) - extract(epoch from '2026-07-23 17:15: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'), 47855, 'SRID=4674;POINT (-39.543224 -3.019366)', '2026-07-23 17:16:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543187 -3.019395)'), GeomFromEWKT('SRID=4674;POINT (-39.543224 -3.019366)'))) / (select extract(epoch from '2026-07-23 17:16:04'::timestamp) - extract(epoch from '2026-07-23 17:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543187 -3.019395)'), GeomFromEWKT('SRID=4674;POINT (-39.543224 -3.019366)'))) / (select extract(epoch from '2026-07-23 17:16:04'::timestamp) - extract(epoch from '2026-07-23 17:15: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'), 47855, 'SRID=4674;POINT (-39.54326 -3.019342)', '2026-07-23 17:16:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543224 -3.019366)'), GeomFromEWKT('SRID=4674;POINT (-39.54326 -3.019342)'))) / (select extract(epoch from '2026-07-23 17:16:11'::timestamp) - extract(epoch from '2026-07-23 17:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543224 -3.019366)'), GeomFromEWKT('SRID=4674;POINT (-39.54326 -3.019342)'))) / (select extract(epoch from '2026-07-23 17:16:11'::timestamp) - extract(epoch from '2026-07-23 17:16: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'), 47855, 'SRID=4674;POINT (-39.543291 -3.019332)', '2026-07-23 17:16:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54326 -3.019342)'), GeomFromEWKT('SRID=4674;POINT (-39.543291 -3.019332)'))) / (select extract(epoch from '2026-07-23 17:16:18'::timestamp) - extract(epoch from '2026-07-23 17:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54326 -3.019342)'), GeomFromEWKT('SRID=4674;POINT (-39.543291 -3.019332)'))) / (select extract(epoch from '2026-07-23 17:16:18'::timestamp) - extract(epoch from '2026-07-23 17:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543323 -3.019303)', '2026-07-23 17:16:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543291 -3.019332)'), GeomFromEWKT('SRID=4674;POINT (-39.543323 -3.019303)'))) / (select extract(epoch from '2026-07-23 17:16:24'::timestamp) - extract(epoch from '2026-07-23 17:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543291 -3.019332)'), GeomFromEWKT('SRID=4674;POINT (-39.543323 -3.019303)'))) / (select extract(epoch from '2026-07-23 17:16:24'::timestamp) - extract(epoch from '2026-07-23 17:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543353 -3.019273)', '2026-07-23 17:16:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543323 -3.019303)'), GeomFromEWKT('SRID=4674;POINT (-39.543353 -3.019273)'))) / (select extract(epoch from '2026-07-23 17:16:30'::timestamp) - extract(epoch from '2026-07-23 17:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543323 -3.019303)'), GeomFromEWKT('SRID=4674;POINT (-39.543353 -3.019273)'))) / (select extract(epoch from '2026-07-23 17:16:30'::timestamp) - extract(epoch from '2026-07-23 17:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.5434 -3.019239)', '2026-07-23 17:16:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543353 -3.019273)'), GeomFromEWKT('SRID=4674;POINT (-39.5434 -3.019239)'))) / (select extract(epoch from '2026-07-23 17:16:41'::timestamp) - extract(epoch from '2026-07-23 17:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543353 -3.019273)'), GeomFromEWKT('SRID=4674;POINT (-39.5434 -3.019239)'))) / (select extract(epoch from '2026-07-23 17:16:41'::timestamp) - extract(epoch from '2026-07-23 17:16: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'), 47855, 'SRID=4674;POINT (-39.543433 -3.019213)', '2026-07-23 17:16:50', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5434 -3.019239)'), GeomFromEWKT('SRID=4674;POINT (-39.543433 -3.019213)'))) / (select extract(epoch from '2026-07-23 17:16:50'::timestamp) - extract(epoch from '2026-07-23 17:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5434 -3.019239)'), GeomFromEWKT('SRID=4674;POINT (-39.543433 -3.019213)'))) / (select extract(epoch from '2026-07-23 17:16:50'::timestamp) - extract(epoch from '2026-07-23 17:16:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543479 -3.019178)', '2026-07-23 17:17:00', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543433 -3.019213)'), GeomFromEWKT('SRID=4674;POINT (-39.543479 -3.019178)'))) / (select extract(epoch from '2026-07-23 17:17:00'::timestamp) - extract(epoch from '2026-07-23 17:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543433 -3.019213)'), GeomFromEWKT('SRID=4674;POINT (-39.543479 -3.019178)'))) / (select extract(epoch from '2026-07-23 17:17:00'::timestamp) - extract(epoch from '2026-07-23 17:16: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'), 47855, 'SRID=4674;POINT (-39.5435 -3.019172)', '2026-07-23 17:17:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543479 -3.019178)'), GeomFromEWKT('SRID=4674;POINT (-39.5435 -3.019172)'))) / (select extract(epoch from '2026-07-23 17:17:04'::timestamp) - extract(epoch from '2026-07-23 17:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543479 -3.019178)'), GeomFromEWKT('SRID=4674;POINT (-39.5435 -3.019172)'))) / (select extract(epoch from '2026-07-23 17:17:04'::timestamp) - extract(epoch from '2026-07-23 17:17:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543508 -3.019166)', '2026-07-23 17:17:07', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5435 -3.019172)'), GeomFromEWKT('SRID=4674;POINT (-39.543508 -3.019166)'))) / (select extract(epoch from '2026-07-23 17:17:07'::timestamp) - extract(epoch from '2026-07-23 17:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5435 -3.019172)'), GeomFromEWKT('SRID=4674;POINT (-39.543508 -3.019166)'))) / (select extract(epoch from '2026-07-23 17:17:07'::timestamp) - extract(epoch from '2026-07-23 17:17: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'), 47855, 'SRID=4674;POINT (-39.543526 -3.019156)', '2026-07-23 17:17:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543508 -3.019166)'), GeomFromEWKT('SRID=4674;POINT (-39.543526 -3.019156)'))) / (select extract(epoch from '2026-07-23 17:17:15'::timestamp) - extract(epoch from '2026-07-23 17:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543508 -3.019166)'), GeomFromEWKT('SRID=4674;POINT (-39.543526 -3.019156)'))) / (select extract(epoch from '2026-07-23 17:17:15'::timestamp) - extract(epoch from '2026-07-23 17:17: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'), 47855, 'SRID=4674;POINT (-39.543527 -3.019164)', '2026-07-23 17:17:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543526 -3.019156)'), GeomFromEWKT('SRID=4674;POINT (-39.543527 -3.019164)'))) / (select extract(epoch from '2026-07-23 17:17:21'::timestamp) - extract(epoch from '2026-07-23 17:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543526 -3.019156)'), GeomFromEWKT('SRID=4674;POINT (-39.543527 -3.019164)'))) / (select extract(epoch from '2026-07-23 17:17:21'::timestamp) - extract(epoch from '2026-07-23 17:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543537 -3.019195)', '2026-07-23 17:17:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543527 -3.019164)'), GeomFromEWKT('SRID=4674;POINT (-39.543537 -3.019195)'))) / (select extract(epoch from '2026-07-23 17:17:26'::timestamp) - extract(epoch from '2026-07-23 17:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543527 -3.019164)'), GeomFromEWKT('SRID=4674;POINT (-39.543537 -3.019195)'))) / (select extract(epoch from '2026-07-23 17:17:26'::timestamp) - extract(epoch from '2026-07-23 17:17:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543547 -3.019206)', '2026-07-23 17:17:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543537 -3.019195)'), GeomFromEWKT('SRID=4674;POINT (-39.543547 -3.019206)'))) / (select extract(epoch from '2026-07-23 17:17:34'::timestamp) - extract(epoch from '2026-07-23 17:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543537 -3.019195)'), GeomFromEWKT('SRID=4674;POINT (-39.543547 -3.019206)'))) / (select extract(epoch from '2026-07-23 17:17:34'::timestamp) - extract(epoch from '2026-07-23 17:17: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'), 47855, 'SRID=4674;POINT (-39.543562 -3.019225)', '2026-07-23 17:17:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543547 -3.019206)'), GeomFromEWKT('SRID=4674;POINT (-39.543562 -3.019225)'))) / (select extract(epoch from '2026-07-23 17:17:39'::timestamp) - extract(epoch from '2026-07-23 17:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543547 -3.019206)'), GeomFromEWKT('SRID=4674;POINT (-39.543562 -3.019225)'))) / (select extract(epoch from '2026-07-23 17:17:39'::timestamp) - extract(epoch from '2026-07-23 17:17: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'), 47855, 'SRID=4674;POINT (-39.543565 -3.019233)', '2026-07-23 17:17:45', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543562 -3.019225)'), GeomFromEWKT('SRID=4674;POINT (-39.543565 -3.019233)'))) / (select extract(epoch from '2026-07-23 17:17:45'::timestamp) - extract(epoch from '2026-07-23 17:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543562 -3.019225)'), GeomFromEWKT('SRID=4674;POINT (-39.543565 -3.019233)'))) / (select extract(epoch from '2026-07-23 17:17:45'::timestamp) - extract(epoch from '2026-07-23 17:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543576 -3.019265)', '2026-07-23 17:17:59', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543565 -3.019233)'), GeomFromEWKT('SRID=4674;POINT (-39.543576 -3.019265)'))) / (select extract(epoch from '2026-07-23 17:17:59'::timestamp) - extract(epoch from '2026-07-23 17:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543565 -3.019233)'), GeomFromEWKT('SRID=4674;POINT (-39.543576 -3.019265)'))) / (select extract(epoch from '2026-07-23 17:17:59'::timestamp) - extract(epoch from '2026-07-23 17:17: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'), 47855, 'SRID=4674;POINT (-39.543592 -3.019295)', '2026-07-23 17:18:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543576 -3.019265)'), GeomFromEWKT('SRID=4674;POINT (-39.543592 -3.019295)'))) / (select extract(epoch from '2026-07-23 17:18:25'::timestamp) - extract(epoch from '2026-07-23 17:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543576 -3.019265)'), GeomFromEWKT('SRID=4674;POINT (-39.543592 -3.019295)'))) / (select extract(epoch from '2026-07-23 17:18:25'::timestamp) - extract(epoch from '2026-07-23 17:17: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'), 47855, 'SRID=4674;POINT (-39.543599 -3.019304)', '2026-07-23 17:18:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543592 -3.019295)'), GeomFromEWKT('SRID=4674;POINT (-39.543599 -3.019304)'))) / (select extract(epoch from '2026-07-23 17:18:35'::timestamp) - extract(epoch from '2026-07-23 17:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543592 -3.019295)'), GeomFromEWKT('SRID=4674;POINT (-39.543599 -3.019304)'))) / (select extract(epoch from '2026-07-23 17:18:35'::timestamp) - extract(epoch from '2026-07-23 17:18: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'), 47855, 'SRID=4674;POINT (-39.543615 -3.019289)', '2026-07-23 17:18:42', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543599 -3.019304)'), GeomFromEWKT('SRID=4674;POINT (-39.543615 -3.019289)'))) / (select extract(epoch from '2026-07-23 17:18:42'::timestamp) - extract(epoch from '2026-07-23 17:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543599 -3.019304)'), GeomFromEWKT('SRID=4674;POINT (-39.543615 -3.019289)'))) / (select extract(epoch from '2026-07-23 17:18:42'::timestamp) - extract(epoch from '2026-07-23 17:18:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543639 -3.019297)', '2026-07-23 17:18:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543615 -3.019289)'), GeomFromEWKT('SRID=4674;POINT (-39.543639 -3.019297)'))) / (select extract(epoch from '2026-07-23 17:18:52'::timestamp) - extract(epoch from '2026-07-23 17:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543615 -3.019289)'), GeomFromEWKT('SRID=4674;POINT (-39.543639 -3.019297)'))) / (select extract(epoch from '2026-07-23 17:18:52'::timestamp) - extract(epoch from '2026-07-23 17:18: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'), 47855, 'SRID=4674;POINT (-39.54369 -3.019275)', '2026-07-23 17:19:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543639 -3.019297)'), GeomFromEWKT('SRID=4674;POINT (-39.54369 -3.019275)'))) / (select extract(epoch from '2026-07-23 17:19:01'::timestamp) - extract(epoch from '2026-07-23 17:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543639 -3.019297)'), GeomFromEWKT('SRID=4674;POINT (-39.54369 -3.019275)'))) / (select extract(epoch from '2026-07-23 17:19:01'::timestamp) - extract(epoch from '2026-07-23 17:18:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543724 -3.019255)', '2026-07-23 17:19:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54369 -3.019275)'), GeomFromEWKT('SRID=4674;POINT (-39.543724 -3.019255)'))) / (select extract(epoch from '2026-07-23 17:19:07'::timestamp) - extract(epoch from '2026-07-23 17:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54369 -3.019275)'), GeomFromEWKT('SRID=4674;POINT (-39.543724 -3.019255)'))) / (select extract(epoch from '2026-07-23 17:19:07'::timestamp) - extract(epoch from '2026-07-23 17:19:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543745 -3.019245)', '2026-07-23 17:19:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543724 -3.019255)'), GeomFromEWKT('SRID=4674;POINT (-39.543745 -3.019245)'))) / (select extract(epoch from '2026-07-23 17:19:11'::timestamp) - extract(epoch from '2026-07-23 17:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543724 -3.019255)'), GeomFromEWKT('SRID=4674;POINT (-39.543745 -3.019245)'))) / (select extract(epoch from '2026-07-23 17:19:11'::timestamp) - extract(epoch from '2026-07-23 17:19: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'), 47855, 'SRID=4674;POINT (-39.543767 -3.019239)', '2026-07-23 17:19:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543745 -3.019245)'), GeomFromEWKT('SRID=4674;POINT (-39.543767 -3.019239)'))) / (select extract(epoch from '2026-07-23 17:19:13'::timestamp) - extract(epoch from '2026-07-23 17:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543745 -3.019245)'), GeomFromEWKT('SRID=4674;POINT (-39.543767 -3.019239)'))) / (select extract(epoch from '2026-07-23 17:19:13'::timestamp) - extract(epoch from '2026-07-23 17:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.54378 -3.019217)', '2026-07-23 17:19:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543767 -3.019239)'), GeomFromEWKT('SRID=4674;POINT (-39.54378 -3.019217)'))) / (select extract(epoch from '2026-07-23 17:19:18'::timestamp) - extract(epoch from '2026-07-23 17:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543767 -3.019239)'), GeomFromEWKT('SRID=4674;POINT (-39.54378 -3.019217)'))) / (select extract(epoch from '2026-07-23 17:19:18'::timestamp) - extract(epoch from '2026-07-23 17:19:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543787 -3.019204)', '2026-07-23 17:19:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54378 -3.019217)'), GeomFromEWKT('SRID=4674;POINT (-39.543787 -3.019204)'))) / (select extract(epoch from '2026-07-23 17:19:20'::timestamp) - extract(epoch from '2026-07-23 17:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54378 -3.019217)'), GeomFromEWKT('SRID=4674;POINT (-39.543787 -3.019204)'))) / (select extract(epoch from '2026-07-23 17:19:20'::timestamp) - extract(epoch from '2026-07-23 17:19: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'), 47855, 'SRID=4674;POINT (-39.543804 -3.019194)', '2026-07-23 17:19:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543787 -3.019204)'), GeomFromEWKT('SRID=4674;POINT (-39.543804 -3.019194)'))) / (select extract(epoch from '2026-07-23 17:19:23'::timestamp) - extract(epoch from '2026-07-23 17:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543787 -3.019204)'), GeomFromEWKT('SRID=4674;POINT (-39.543804 -3.019194)'))) / (select extract(epoch from '2026-07-23 17:19:23'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.543817 -3.019178)', '2026-07-23 17:19:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543804 -3.019194)'), GeomFromEWKT('SRID=4674;POINT (-39.543817 -3.019178)'))) / (select extract(epoch from '2026-07-23 17:19:26'::timestamp) - extract(epoch from '2026-07-23 17:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543804 -3.019194)'), GeomFromEWKT('SRID=4674;POINT (-39.543817 -3.019178)'))) / (select extract(epoch from '2026-07-23 17:19:26'::timestamp) - extract(epoch from '2026-07-23 17:19: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'), 47855, 'SRID=4674;POINT (-39.54383 -3.019167)', '2026-07-23 17:19:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543817 -3.019178)'), GeomFromEWKT('SRID=4674;POINT (-39.54383 -3.019167)'))) / (select extract(epoch from '2026-07-23 17:19:29'::timestamp) - extract(epoch from '2026-07-23 17:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543817 -3.019178)'), GeomFromEWKT('SRID=4674;POINT (-39.54383 -3.019167)'))) / (select extract(epoch from '2026-07-23 17:19:29'::timestamp) - extract(epoch from '2026-07-23 17:19: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'), 47855, 'SRID=4674;POINT (-39.543859 -3.01915)', '2026-07-23 17:19:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54383 -3.019167)'), GeomFromEWKT('SRID=4674;POINT (-39.543859 -3.01915)'))) / (select extract(epoch from '2026-07-23 17:19:36'::timestamp) - extract(epoch from '2026-07-23 17:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54383 -3.019167)'), GeomFromEWKT('SRID=4674;POINT (-39.543859 -3.01915)'))) / (select extract(epoch from '2026-07-23 17:19:36'::timestamp) - extract(epoch from '2026-07-23 17:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543906 -3.019124)', '2026-07-23 17:19:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543859 -3.01915)'), GeomFromEWKT('SRID=4674;POINT (-39.543906 -3.019124)'))) / (select extract(epoch from '2026-07-23 17:19:46'::timestamp) - extract(epoch from '2026-07-23 17:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543859 -3.01915)'), GeomFromEWKT('SRID=4674;POINT (-39.543906 -3.019124)'))) / (select extract(epoch from '2026-07-23 17:19:46'::timestamp) - extract(epoch from '2026-07-23 17:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543927 -3.019106)', '2026-07-23 17:19:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543906 -3.019124)'), GeomFromEWKT('SRID=4674;POINT (-39.543927 -3.019106)'))) / (select extract(epoch from '2026-07-23 17:19:52'::timestamp) - extract(epoch from '2026-07-23 17:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543906 -3.019124)'), GeomFromEWKT('SRID=4674;POINT (-39.543927 -3.019106)'))) / (select extract(epoch from '2026-07-23 17:19:52'::timestamp) - extract(epoch from '2026-07-23 17:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.54394 -3.019107)', '2026-07-23 17:19:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543927 -3.019106)'), GeomFromEWKT('SRID=4674;POINT (-39.54394 -3.019107)'))) / (select extract(epoch from '2026-07-23 17:19:54'::timestamp) - extract(epoch from '2026-07-23 17:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543927 -3.019106)'), GeomFromEWKT('SRID=4674;POINT (-39.54394 -3.019107)'))) / (select extract(epoch from '2026-07-23 17:19:54'::timestamp) - extract(epoch from '2026-07-23 17:19:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.543968 -3.019087)', '2026-07-23 17:20:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54394 -3.019107)'), GeomFromEWKT('SRID=4674;POINT (-39.543968 -3.019087)'))) / (select extract(epoch from '2026-07-23 17:20:00'::timestamp) - extract(epoch from '2026-07-23 17:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54394 -3.019107)'), GeomFromEWKT('SRID=4674;POINT (-39.543968 -3.019087)'))) / (select extract(epoch from '2026-07-23 17:20:00'::timestamp) - extract(epoch from '2026-07-23 17:19:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544014 -3.019061)', '2026-07-23 17:20:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543968 -3.019087)'), GeomFromEWKT('SRID=4674;POINT (-39.544014 -3.019061)'))) / (select extract(epoch from '2026-07-23 17:20:09'::timestamp) - extract(epoch from '2026-07-23 17:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.543968 -3.019087)'), GeomFromEWKT('SRID=4674;POINT (-39.544014 -3.019061)'))) / (select extract(epoch from '2026-07-23 17:20:09'::timestamp) - extract(epoch from '2026-07-23 17:20: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'), 47855, 'SRID=4674;POINT (-39.544056 -3.019033)', '2026-07-23 17:20:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544014 -3.019061)'), GeomFromEWKT('SRID=4674;POINT (-39.544056 -3.019033)'))) / (select extract(epoch from '2026-07-23 17:20:16'::timestamp) - extract(epoch from '2026-07-23 17:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544014 -3.019061)'), GeomFromEWKT('SRID=4674;POINT (-39.544056 -3.019033)'))) / (select extract(epoch from '2026-07-23 17:20:16'::timestamp) - extract(epoch from '2026-07-23 17:20:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544063 -3.019028)', '2026-07-23 17:20:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544056 -3.019033)'), GeomFromEWKT('SRID=4674;POINT (-39.544063 -3.019028)'))) / (select extract(epoch from '2026-07-23 17:20:17'::timestamp) - extract(epoch from '2026-07-23 17:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544056 -3.019033)'), GeomFromEWKT('SRID=4674;POINT (-39.544063 -3.019028)'))) / (select extract(epoch from '2026-07-23 17:20:17'::timestamp) - extract(epoch from '2026-07-23 17:20: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'), 47855, 'SRID=4674;POINT (-39.544092 -3.019017)', '2026-07-23 17:20:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544063 -3.019028)'), GeomFromEWKT('SRID=4674;POINT (-39.544092 -3.019017)'))) / (select extract(epoch from '2026-07-23 17:20:21'::timestamp) - extract(epoch from '2026-07-23 17:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544063 -3.019028)'), GeomFromEWKT('SRID=4674;POINT (-39.544092 -3.019017)'))) / (select extract(epoch from '2026-07-23 17:20:21'::timestamp) - extract(epoch from '2026-07-23 17:20:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544151 -3.018978)', '2026-07-23 17:20:31', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544092 -3.019017)'), GeomFromEWKT('SRID=4674;POINT (-39.544151 -3.018978)'))) / (select extract(epoch from '2026-07-23 17:20:31'::timestamp) - extract(epoch from '2026-07-23 17:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544092 -3.019017)'), GeomFromEWKT('SRID=4674;POINT (-39.544151 -3.018978)'))) / (select extract(epoch from '2026-07-23 17:20:31'::timestamp) - extract(epoch from '2026-07-23 17:20:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544205 -3.018946)', '2026-07-23 17:20:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544151 -3.018978)'), GeomFromEWKT('SRID=4674;POINT (-39.544205 -3.018946)'))) / (select extract(epoch from '2026-07-23 17:20:40'::timestamp) - extract(epoch from '2026-07-23 17:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544151 -3.018978)'), GeomFromEWKT('SRID=4674;POINT (-39.544205 -3.018946)'))) / (select extract(epoch from '2026-07-23 17:20:40'::timestamp) - extract(epoch from '2026-07-23 17:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544226 -3.018922)', '2026-07-23 17:20:47', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544205 -3.018946)'), GeomFromEWKT('SRID=4674;POINT (-39.544226 -3.018922)'))) / (select extract(epoch from '2026-07-23 17:20:47'::timestamp) - extract(epoch from '2026-07-23 17:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544205 -3.018946)'), GeomFromEWKT('SRID=4674;POINT (-39.544226 -3.018922)'))) / (select extract(epoch from '2026-07-23 17:20:47'::timestamp) - extract(epoch from '2026-07-23 17:20: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'), 47855, 'SRID=4674;POINT (-39.544251 -3.018908)', '2026-07-23 17:20:55', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544226 -3.018922)'), GeomFromEWKT('SRID=4674;POINT (-39.544251 -3.018908)'))) / (select extract(epoch from '2026-07-23 17:20:55'::timestamp) - extract(epoch from '2026-07-23 17:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544226 -3.018922)'), GeomFromEWKT('SRID=4674;POINT (-39.544251 -3.018908)'))) / (select extract(epoch from '2026-07-23 17:20:55'::timestamp) - extract(epoch from '2026-07-23 17:20:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544289 -3.018893)', '2026-07-23 17:21:02', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544251 -3.018908)'), GeomFromEWKT('SRID=4674;POINT (-39.544289 -3.018893)'))) / (select extract(epoch from '2026-07-23 17:21:02'::timestamp) - extract(epoch from '2026-07-23 17:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544251 -3.018908)'), GeomFromEWKT('SRID=4674;POINT (-39.544289 -3.018893)'))) / (select extract(epoch from '2026-07-23 17:21:02'::timestamp) - extract(epoch from '2026-07-23 17:20:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544308 -3.018875)', '2026-07-23 17:21:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544289 -3.018893)'), GeomFromEWKT('SRID=4674;POINT (-39.544308 -3.018875)'))) / (select extract(epoch from '2026-07-23 17:21:09'::timestamp) - extract(epoch from '2026-07-23 17:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544289 -3.018893)'), GeomFromEWKT('SRID=4674;POINT (-39.544308 -3.018875)'))) / (select extract(epoch from '2026-07-23 17:21:09'::timestamp) - extract(epoch from '2026-07-23 17:21: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'), 47855, 'SRID=4674;POINT (-39.54434 -3.018858)', '2026-07-23 17:21:15', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544308 -3.018875)'), GeomFromEWKT('SRID=4674;POINT (-39.54434 -3.018858)'))) / (select extract(epoch from '2026-07-23 17:21:15'::timestamp) - extract(epoch from '2026-07-23 17:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544308 -3.018875)'), GeomFromEWKT('SRID=4674;POINT (-39.54434 -3.018858)'))) / (select extract(epoch from '2026-07-23 17:21:15'::timestamp) - extract(epoch from '2026-07-23 17:21: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'), 47855, 'SRID=4674;POINT (-39.54439 -3.018826)', '2026-07-23 17:21:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54434 -3.018858)'), GeomFromEWKT('SRID=4674;POINT (-39.54439 -3.018826)'))) / (select extract(epoch from '2026-07-23 17:21:23'::timestamp) - extract(epoch from '2026-07-23 17:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54434 -3.018858)'), GeomFromEWKT('SRID=4674;POINT (-39.54439 -3.018826)'))) / (select extract(epoch from '2026-07-23 17:21:23'::timestamp) - extract(epoch from '2026-07-23 17:21: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'), 47855, 'SRID=4674;POINT (-39.544419 -3.018795)', '2026-07-23 17:21:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54439 -3.018826)'), GeomFromEWKT('SRID=4674;POINT (-39.544419 -3.018795)'))) / (select extract(epoch from '2026-07-23 17:21:32'::timestamp) - extract(epoch from '2026-07-23 17:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54439 -3.018826)'), GeomFromEWKT('SRID=4674;POINT (-39.544419 -3.018795)'))) / (select extract(epoch from '2026-07-23 17:21:32'::timestamp) - extract(epoch from '2026-07-23 17:21: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'), 47855, 'SRID=4674;POINT (-39.544441 -3.018775)', '2026-07-23 17:21:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544419 -3.018795)'), GeomFromEWKT('SRID=4674;POINT (-39.544441 -3.018775)'))) / (select extract(epoch from '2026-07-23 17:21:39'::timestamp) - extract(epoch from '2026-07-23 17:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544419 -3.018795)'), GeomFromEWKT('SRID=4674;POINT (-39.544441 -3.018775)'))) / (select extract(epoch from '2026-07-23 17:21:39'::timestamp) - extract(epoch from '2026-07-23 17:21: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'), 47855, 'SRID=4674;POINT (-39.544481 -3.018755)', '2026-07-23 17:21:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544441 -3.018775)'), GeomFromEWKT('SRID=4674;POINT (-39.544481 -3.018755)'))) / (select extract(epoch from '2026-07-23 17:21:48'::timestamp) - extract(epoch from '2026-07-23 17:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544441 -3.018775)'), GeomFromEWKT('SRID=4674;POINT (-39.544481 -3.018755)'))) / (select extract(epoch from '2026-07-23 17:21:48'::timestamp) - extract(epoch from '2026-07-23 17:21:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544536 -3.018718)', '2026-07-23 17:21:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544481 -3.018755)'), GeomFromEWKT('SRID=4674;POINT (-39.544536 -3.018718)'))) / (select extract(epoch from '2026-07-23 17:21:56'::timestamp) - extract(epoch from '2026-07-23 17:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544481 -3.018755)'), GeomFromEWKT('SRID=4674;POINT (-39.544536 -3.018718)'))) / (select extract(epoch from '2026-07-23 17:21:56'::timestamp) - extract(epoch from '2026-07-23 17:21: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'), 47855, 'SRID=4674;POINT (-39.544555 -3.018708)', '2026-07-23 17:22:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544536 -3.018718)'), GeomFromEWKT('SRID=4674;POINT (-39.544555 -3.018708)'))) / (select extract(epoch from '2026-07-23 17:22:01'::timestamp) - extract(epoch from '2026-07-23 17:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544536 -3.018718)'), GeomFromEWKT('SRID=4674;POINT (-39.544555 -3.018708)'))) / (select extract(epoch from '2026-07-23 17:22:01'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.544587 -3.018696)', '2026-07-23 17:22:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544555 -3.018708)'), GeomFromEWKT('SRID=4674;POINT (-39.544587 -3.018696)'))) / (select extract(epoch from '2026-07-23 17:22:08'::timestamp) - extract(epoch from '2026-07-23 17:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544555 -3.018708)'), GeomFromEWKT('SRID=4674;POINT (-39.544587 -3.018696)'))) / (select extract(epoch from '2026-07-23 17:22:08'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.544618 -3.018679)', '2026-07-23 17:22:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544587 -3.018696)'), GeomFromEWKT('SRID=4674;POINT (-39.544618 -3.018679)'))) / (select extract(epoch from '2026-07-23 17:22:15'::timestamp) - extract(epoch from '2026-07-23 17:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544587 -3.018696)'), GeomFromEWKT('SRID=4674;POINT (-39.544618 -3.018679)'))) / (select extract(epoch from '2026-07-23 17:22:15'::timestamp) - extract(epoch from '2026-07-23 17:22: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'), 47855, 'SRID=4674;POINT (-39.544663 -3.018653)', '2026-07-23 17:22:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544618 -3.018679)'), GeomFromEWKT('SRID=4674;POINT (-39.544663 -3.018653)'))) / (select extract(epoch from '2026-07-23 17:22:24'::timestamp) - extract(epoch from '2026-07-23 17:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544618 -3.018679)'), GeomFromEWKT('SRID=4674;POINT (-39.544663 -3.018653)'))) / (select extract(epoch from '2026-07-23 17:22:24'::timestamp) - extract(epoch from '2026-07-23 17:22: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'), 47855, 'SRID=4674;POINT (-39.54469 -3.018628)', '2026-07-23 17:22:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544663 -3.018653)'), GeomFromEWKT('SRID=4674;POINT (-39.54469 -3.018628)'))) / (select extract(epoch from '2026-07-23 17:22:32'::timestamp) - extract(epoch from '2026-07-23 17:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544663 -3.018653)'), GeomFromEWKT('SRID=4674;POINT (-39.54469 -3.018628)'))) / (select extract(epoch from '2026-07-23 17:22:32'::timestamp) - extract(epoch from '2026-07-23 17:22: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'), 47855, 'SRID=4674;POINT (-39.54473 -3.018617)', '2026-07-23 17:22:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54469 -3.018628)'), GeomFromEWKT('SRID=4674;POINT (-39.54473 -3.018617)'))) / (select extract(epoch from '2026-07-23 17:22:37'::timestamp) - extract(epoch from '2026-07-23 17:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54469 -3.018628)'), GeomFromEWKT('SRID=4674;POINT (-39.54473 -3.018617)'))) / (select extract(epoch from '2026-07-23 17:22:37'::timestamp) - extract(epoch from '2026-07-23 17:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544771 -3.018608)', '2026-07-23 17:22:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54473 -3.018617)'), GeomFromEWKT('SRID=4674;POINT (-39.544771 -3.018608)'))) / (select extract(epoch from '2026-07-23 17:22:44'::timestamp) - extract(epoch from '2026-07-23 17:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54473 -3.018617)'), GeomFromEWKT('SRID=4674;POINT (-39.544771 -3.018608)'))) / (select extract(epoch from '2026-07-23 17:22:44'::timestamp) - extract(epoch from '2026-07-23 17:22: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'), 47855, 'SRID=4674;POINT (-39.544799 -3.018596)', '2026-07-23 17:22:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544771 -3.018608)'), GeomFromEWKT('SRID=4674;POINT (-39.544799 -3.018596)'))) / (select extract(epoch from '2026-07-23 17:22:49'::timestamp) - extract(epoch from '2026-07-23 17:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544771 -3.018608)'), GeomFromEWKT('SRID=4674;POINT (-39.544799 -3.018596)'))) / (select extract(epoch from '2026-07-23 17:22:49'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.544841 -3.018567)', '2026-07-23 17:22:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544799 -3.018596)'), GeomFromEWKT('SRID=4674;POINT (-39.544841 -3.018567)'))) / (select extract(epoch from '2026-07-23 17:22:58'::timestamp) - extract(epoch from '2026-07-23 17:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544799 -3.018596)'), GeomFromEWKT('SRID=4674;POINT (-39.544841 -3.018567)'))) / (select extract(epoch from '2026-07-23 17:22:58'::timestamp) - extract(epoch from '2026-07-23 17:22:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544851 -3.018564)', '2026-07-23 17:23:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544841 -3.018567)'), GeomFromEWKT('SRID=4674;POINT (-39.544851 -3.018564)'))) / (select extract(epoch from '2026-07-23 17:23:00'::timestamp) - extract(epoch from '2026-07-23 17:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544841 -3.018567)'), GeomFromEWKT('SRID=4674;POINT (-39.544851 -3.018564)'))) / (select extract(epoch from '2026-07-23 17:23:00'::timestamp) - extract(epoch from '2026-07-23 17:22:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544871 -3.018542)', '2026-07-23 17:23:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544851 -3.018564)'), GeomFromEWKT('SRID=4674;POINT (-39.544871 -3.018542)'))) / (select extract(epoch from '2026-07-23 17:23:07'::timestamp) - extract(epoch from '2026-07-23 17:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544851 -3.018564)'), GeomFromEWKT('SRID=4674;POINT (-39.544871 -3.018542)'))) / (select extract(epoch from '2026-07-23 17:23:07'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.544917 -3.018526)', '2026-07-23 17:23:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544871 -3.018542)'), GeomFromEWKT('SRID=4674;POINT (-39.544917 -3.018526)'))) / (select extract(epoch from '2026-07-23 17:23:16'::timestamp) - extract(epoch from '2026-07-23 17:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544871 -3.018542)'), GeomFromEWKT('SRID=4674;POINT (-39.544917 -3.018526)'))) / (select extract(epoch from '2026-07-23 17:23:16'::timestamp) - extract(epoch from '2026-07-23 17:23:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.544972 -3.018485)', '2026-07-23 17:23:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544917 -3.018526)'), GeomFromEWKT('SRID=4674;POINT (-39.544972 -3.018485)'))) / (select extract(epoch from '2026-07-23 17:23:25'::timestamp) - extract(epoch from '2026-07-23 17:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544917 -3.018526)'), GeomFromEWKT('SRID=4674;POINT (-39.544972 -3.018485)'))) / (select extract(epoch from '2026-07-23 17:23:25'::timestamp) - extract(epoch from '2026-07-23 17:23:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545007 -3.018454)', '2026-07-23 17:23:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544972 -3.018485)'), GeomFromEWKT('SRID=4674;POINT (-39.545007 -3.018454)'))) / (select extract(epoch from '2026-07-23 17:23:33'::timestamp) - extract(epoch from '2026-07-23 17:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.544972 -3.018485)'), GeomFromEWKT('SRID=4674;POINT (-39.545007 -3.018454)'))) / (select extract(epoch from '2026-07-23 17:23:33'::timestamp) - extract(epoch from '2026-07-23 17:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545053 -3.018417)', '2026-07-23 17:23:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545007 -3.018454)'), GeomFromEWKT('SRID=4674;POINT (-39.545053 -3.018417)'))) / (select extract(epoch from '2026-07-23 17:23:43'::timestamp) - extract(epoch from '2026-07-23 17:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545007 -3.018454)'), GeomFromEWKT('SRID=4674;POINT (-39.545053 -3.018417)'))) / (select extract(epoch from '2026-07-23 17:23:43'::timestamp) - extract(epoch from '2026-07-23 17:23:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545069 -3.018403)', '2026-07-23 17:23:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545053 -3.018417)'), GeomFromEWKT('SRID=4674;POINT (-39.545069 -3.018403)'))) / (select extract(epoch from '2026-07-23 17:23:49'::timestamp) - extract(epoch from '2026-07-23 17:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545053 -3.018417)'), GeomFromEWKT('SRID=4674;POINT (-39.545069 -3.018403)'))) / (select extract(epoch from '2026-07-23 17:23:49'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.545108 -3.018386)', '2026-07-23 17:23:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545069 -3.018403)'), GeomFromEWKT('SRID=4674;POINT (-39.545108 -3.018386)'))) / (select extract(epoch from '2026-07-23 17:23:55'::timestamp) - extract(epoch from '2026-07-23 17:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545069 -3.018403)'), GeomFromEWKT('SRID=4674;POINT (-39.545108 -3.018386)'))) / (select extract(epoch from '2026-07-23 17:23:55'::timestamp) - extract(epoch from '2026-07-23 17:23:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545115 -3.018381)', '2026-07-23 17:23:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545108 -3.018386)'), GeomFromEWKT('SRID=4674;POINT (-39.545115 -3.018381)'))) / (select extract(epoch from '2026-07-23 17:23:57'::timestamp) - extract(epoch from '2026-07-23 17:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545108 -3.018386)'), GeomFromEWKT('SRID=4674;POINT (-39.545115 -3.018381)'))) / (select extract(epoch from '2026-07-23 17:23:57'::timestamp) - extract(epoch from '2026-07-23 17:23:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545157 -3.018344)', '2026-07-23 17:24:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545115 -3.018381)'), GeomFromEWKT('SRID=4674;POINT (-39.545157 -3.018344)'))) / (select extract(epoch from '2026-07-23 17:24:05'::timestamp) - extract(epoch from '2026-07-23 17:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545115 -3.018381)'), GeomFromEWKT('SRID=4674;POINT (-39.545157 -3.018344)'))) / (select extract(epoch from '2026-07-23 17:24:05'::timestamp) - extract(epoch from '2026-07-23 17:23: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'), 47855, 'SRID=4674;POINT (-39.545189 -3.018323)', '2026-07-23 17:24:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545157 -3.018344)'), GeomFromEWKT('SRID=4674;POINT (-39.545189 -3.018323)'))) / (select extract(epoch from '2026-07-23 17:24:11'::timestamp) - extract(epoch from '2026-07-23 17:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545157 -3.018344)'), GeomFromEWKT('SRID=4674;POINT (-39.545189 -3.018323)'))) / (select extract(epoch from '2026-07-23 17:24:11'::timestamp) - extract(epoch from '2026-07-23 17:24: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'), 47855, 'SRID=4674;POINT (-39.545194 -3.01832)', '2026-07-23 17:24:12', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545189 -3.018323)'), GeomFromEWKT('SRID=4674;POINT (-39.545194 -3.01832)'))) / (select extract(epoch from '2026-07-23 17:24:12'::timestamp) - extract(epoch from '2026-07-23 17:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545189 -3.018323)'), GeomFromEWKT('SRID=4674;POINT (-39.545194 -3.01832)'))) / (select extract(epoch from '2026-07-23 17:24:12'::timestamp) - extract(epoch from '2026-07-23 17:24:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545209 -3.018299)', '2026-07-23 17:24:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545194 -3.01832)'), GeomFromEWKT('SRID=4674;POINT (-39.545209 -3.018299)'))) / (select extract(epoch from '2026-07-23 17:24:18'::timestamp) - extract(epoch from '2026-07-23 17:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545194 -3.01832)'), GeomFromEWKT('SRID=4674;POINT (-39.545209 -3.018299)'))) / (select extract(epoch from '2026-07-23 17:24:18'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.545214 -3.018298)', '2026-07-23 17:24:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545209 -3.018299)'), GeomFromEWKT('SRID=4674;POINT (-39.545214 -3.018298)'))) / (select extract(epoch from '2026-07-23 17:24:19'::timestamp) - extract(epoch from '2026-07-23 17:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545209 -3.018299)'), GeomFromEWKT('SRID=4674;POINT (-39.545214 -3.018298)'))) / (select extract(epoch from '2026-07-23 17:24:19'::timestamp) - extract(epoch from '2026-07-23 17:24:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545244 -3.018277)', '2026-07-23 17:24:27', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545214 -3.018298)'), GeomFromEWKT('SRID=4674;POINT (-39.545244 -3.018277)'))) / (select extract(epoch from '2026-07-23 17:24:27'::timestamp) - extract(epoch from '2026-07-23 17:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545214 -3.018298)'), GeomFromEWKT('SRID=4674;POINT (-39.545244 -3.018277)'))) / (select extract(epoch from '2026-07-23 17:24:27'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.545266 -3.018257)', '2026-07-23 17:24:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545244 -3.018277)'), GeomFromEWKT('SRID=4674;POINT (-39.545266 -3.018257)'))) / (select extract(epoch from '2026-07-23 17:24:32'::timestamp) - extract(epoch from '2026-07-23 17:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545244 -3.018277)'), GeomFromEWKT('SRID=4674;POINT (-39.545266 -3.018257)'))) / (select extract(epoch from '2026-07-23 17:24:32'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.545273 -3.018254)', '2026-07-23 17:24:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545266 -3.018257)'), GeomFromEWKT('SRID=4674;POINT (-39.545273 -3.018254)'))) / (select extract(epoch from '2026-07-23 17:24:33'::timestamp) - extract(epoch from '2026-07-23 17:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545266 -3.018257)'), GeomFromEWKT('SRID=4674;POINT (-39.545273 -3.018254)'))) / (select extract(epoch from '2026-07-23 17:24:33'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.545284 -3.018239)', '2026-07-23 17:24:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545273 -3.018254)'), GeomFromEWKT('SRID=4674;POINT (-39.545284 -3.018239)'))) / (select extract(epoch from '2026-07-23 17:24:38'::timestamp) - extract(epoch from '2026-07-23 17:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545273 -3.018254)'), GeomFromEWKT('SRID=4674;POINT (-39.545284 -3.018239)'))) / (select extract(epoch from '2026-07-23 17:24:38'::timestamp) - extract(epoch from '2026-07-23 17:24:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.54531 -3.018227)', '2026-07-23 17:24:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545284 -3.018239)'), GeomFromEWKT('SRID=4674;POINT (-39.54531 -3.018227)'))) / (select extract(epoch from '2026-07-23 17:24:45'::timestamp) - extract(epoch from '2026-07-23 17:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545284 -3.018239)'), GeomFromEWKT('SRID=4674;POINT (-39.54531 -3.018227)'))) / (select extract(epoch from '2026-07-23 17:24:45'::timestamp) - extract(epoch from '2026-07-23 17:24:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545346 -3.018188)', '2026-07-23 17:24:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54531 -3.018227)'), GeomFromEWKT('SRID=4674;POINT (-39.545346 -3.018188)'))) / (select extract(epoch from '2026-07-23 17:24:54'::timestamp) - extract(epoch from '2026-07-23 17:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54531 -3.018227)'), GeomFromEWKT('SRID=4674;POINT (-39.545346 -3.018188)'))) / (select extract(epoch from '2026-07-23 17:24:54'::timestamp) - extract(epoch from '2026-07-23 17:24:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545365 -3.018168)', '2026-07-23 17:24:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545346 -3.018188)'), GeomFromEWKT('SRID=4674;POINT (-39.545365 -3.018168)'))) / (select extract(epoch from '2026-07-23 17:24:59'::timestamp) - extract(epoch from '2026-07-23 17:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545346 -3.018188)'), GeomFromEWKT('SRID=4674;POINT (-39.545365 -3.018168)'))) / (select extract(epoch from '2026-07-23 17:24:59'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.545382 -3.018159)', '2026-07-23 17:25:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545365 -3.018168)'), GeomFromEWKT('SRID=4674;POINT (-39.545382 -3.018159)'))) / (select extract(epoch from '2026-07-23 17:25:01'::timestamp) - extract(epoch from '2026-07-23 17:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545365 -3.018168)'), GeomFromEWKT('SRID=4674;POINT (-39.545382 -3.018159)'))) / (select extract(epoch from '2026-07-23 17:25:01'::timestamp) - extract(epoch from '2026-07-23 17:24:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545392 -3.018154)', '2026-07-23 17:25:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545382 -3.018159)'), GeomFromEWKT('SRID=4674;POINT (-39.545392 -3.018154)'))) / (select extract(epoch from '2026-07-23 17:25:03'::timestamp) - extract(epoch from '2026-07-23 17:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545382 -3.018159)'), GeomFromEWKT('SRID=4674;POINT (-39.545392 -3.018154)'))) / (select extract(epoch from '2026-07-23 17:25:03'::timestamp) - extract(epoch from '2026-07-23 17:25:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545403 -3.01814)', '2026-07-23 17:25:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545392 -3.018154)'), GeomFromEWKT('SRID=4674;POINT (-39.545403 -3.01814)'))) / (select extract(epoch from '2026-07-23 17:25:06'::timestamp) - extract(epoch from '2026-07-23 17:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545392 -3.018154)'), GeomFromEWKT('SRID=4674;POINT (-39.545403 -3.01814)'))) / (select extract(epoch from '2026-07-23 17:25:06'::timestamp) - extract(epoch from '2026-07-23 17:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.54545 -3.018115)', '2026-07-23 17:25:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545403 -3.01814)'), GeomFromEWKT('SRID=4674;POINT (-39.54545 -3.018115)'))) / (select extract(epoch from '2026-07-23 17:25:14'::timestamp) - extract(epoch from '2026-07-23 17:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545403 -3.01814)'), GeomFromEWKT('SRID=4674;POINT (-39.54545 -3.018115)'))) / (select extract(epoch from '2026-07-23 17:25:14'::timestamp) - extract(epoch from '2026-07-23 17:25: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'), 47855, 'SRID=4674;POINT (-39.545465 -3.018124)', '2026-07-23 17:25:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54545 -3.018115)'), GeomFromEWKT('SRID=4674;POINT (-39.545465 -3.018124)'))) / (select extract(epoch from '2026-07-23 17:25:22'::timestamp) - extract(epoch from '2026-07-23 17:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54545 -3.018115)'), GeomFromEWKT('SRID=4674;POINT (-39.545465 -3.018124)'))) / (select extract(epoch from '2026-07-23 17:25:22'::timestamp) - extract(epoch from '2026-07-23 17:25:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545479 -3.018152)', '2026-07-23 17:25:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545465 -3.018124)'), GeomFromEWKT('SRID=4674;POINT (-39.545479 -3.018152)'))) / (select extract(epoch from '2026-07-23 17:25:30'::timestamp) - extract(epoch from '2026-07-23 17:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545465 -3.018124)'), GeomFromEWKT('SRID=4674;POINT (-39.545479 -3.018152)'))) / (select extract(epoch from '2026-07-23 17:25:30'::timestamp) - extract(epoch from '2026-07-23 17:25:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545484 -3.018153)', '2026-07-23 17:25:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545479 -3.018152)'), GeomFromEWKT('SRID=4674;POINT (-39.545484 -3.018153)'))) / (select extract(epoch from '2026-07-23 17:25:41'::timestamp) - extract(epoch from '2026-07-23 17:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545479 -3.018152)'), GeomFromEWKT('SRID=4674;POINT (-39.545484 -3.018153)'))) / (select extract(epoch from '2026-07-23 17:25:41'::timestamp) - extract(epoch from '2026-07-23 17:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545496 -3.018163)', '2026-07-23 17:25:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545484 -3.018153)'), GeomFromEWKT('SRID=4674;POINT (-39.545496 -3.018163)'))) / (select extract(epoch from '2026-07-23 17:25:50'::timestamp) - extract(epoch from '2026-07-23 17:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545484 -3.018153)'), GeomFromEWKT('SRID=4674;POINT (-39.545496 -3.018163)'))) / (select extract(epoch from '2026-07-23 17:25:50'::timestamp) - extract(epoch from '2026-07-23 17:25:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545551 -3.018196)', '2026-07-23 17:26:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545496 -3.018163)'), GeomFromEWKT('SRID=4674;POINT (-39.545551 -3.018196)'))) / (select extract(epoch from '2026-07-23 17:26:25'::timestamp) - extract(epoch from '2026-07-23 17:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545496 -3.018163)'), GeomFromEWKT('SRID=4674;POINT (-39.545551 -3.018196)'))) / (select extract(epoch from '2026-07-23 17:26:25'::timestamp) - extract(epoch from '2026-07-23 17:25:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545603 -3.018195)', '2026-07-23 17:26:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545551 -3.018196)'), GeomFromEWKT('SRID=4674;POINT (-39.545603 -3.018195)'))) / (select extract(epoch from '2026-07-23 17:26:33'::timestamp) - extract(epoch from '2026-07-23 17:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545551 -3.018196)'), GeomFromEWKT('SRID=4674;POINT (-39.545603 -3.018195)'))) / (select extract(epoch from '2026-07-23 17:26:33'::timestamp) - extract(epoch from '2026-07-23 17:26: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'), 47855, 'SRID=4674;POINT (-39.545651 -3.018192)', '2026-07-23 17:26:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545603 -3.018195)'), GeomFromEWKT('SRID=4674;POINT (-39.545651 -3.018192)'))) / (select extract(epoch from '2026-07-23 17:26:41'::timestamp) - extract(epoch from '2026-07-23 17:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545603 -3.018195)'), GeomFromEWKT('SRID=4674;POINT (-39.545651 -3.018192)'))) / (select extract(epoch from '2026-07-23 17:26:41'::timestamp) - extract(epoch from '2026-07-23 17:26: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'), 47855, 'SRID=4674;POINT (-39.545671 -3.018177)', '2026-07-23 17:26:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545651 -3.018192)'), GeomFromEWKT('SRID=4674;POINT (-39.545671 -3.018177)'))) / (select extract(epoch from '2026-07-23 17:26:47'::timestamp) - extract(epoch from '2026-07-23 17:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545651 -3.018192)'), GeomFromEWKT('SRID=4674;POINT (-39.545671 -3.018177)'))) / (select extract(epoch from '2026-07-23 17:26:47'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.545683 -3.018156)', '2026-07-23 17:27:00', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545671 -3.018177)'), GeomFromEWKT('SRID=4674;POINT (-39.545683 -3.018156)'))) / (select extract(epoch from '2026-07-23 17:27:00'::timestamp) - extract(epoch from '2026-07-23 17:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545671 -3.018177)'), GeomFromEWKT('SRID=4674;POINT (-39.545683 -3.018156)'))) / (select extract(epoch from '2026-07-23 17:27:00'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.545693 -3.018178)', '2026-07-23 17:27:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545683 -3.018156)'), GeomFromEWKT('SRID=4674;POINT (-39.545693 -3.018178)'))) / (select extract(epoch from '2026-07-23 17:27:24'::timestamp) - extract(epoch from '2026-07-23 17:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545683 -3.018156)'), GeomFromEWKT('SRID=4674;POINT (-39.545693 -3.018178)'))) / (select extract(epoch from '2026-07-23 17:27:24'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.545683 -3.0182)', '2026-07-23 17:27:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545693 -3.018178)'), GeomFromEWKT('SRID=4674;POINT (-39.545683 -3.0182)'))) / (select extract(epoch from '2026-07-23 17:27:31'::timestamp) - extract(epoch from '2026-07-23 17:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545693 -3.018178)'), GeomFromEWKT('SRID=4674;POINT (-39.545683 -3.0182)'))) / (select extract(epoch from '2026-07-23 17:27:31'::timestamp) - extract(epoch from '2026-07-23 17:27:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545676 -3.018195)', '2026-07-23 17:27:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545683 -3.0182)'), GeomFromEWKT('SRID=4674;POINT (-39.545676 -3.018195)'))) / (select extract(epoch from '2026-07-23 17:27:41'::timestamp) - extract(epoch from '2026-07-23 17:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545683 -3.0182)'), GeomFromEWKT('SRID=4674;POINT (-39.545676 -3.018195)'))) / (select extract(epoch from '2026-07-23 17:27:41'::timestamp) - extract(epoch from '2026-07-23 17:27:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545687 -3.018199)', '2026-07-23 17:28:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545676 -3.018195)'), GeomFromEWKT('SRID=4674;POINT (-39.545687 -3.018199)'))) / (select extract(epoch from '2026-07-23 17:28:19'::timestamp) - extract(epoch from '2026-07-23 17:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545676 -3.018195)'), GeomFromEWKT('SRID=4674;POINT (-39.545687 -3.018199)'))) / (select extract(epoch from '2026-07-23 17:28:19'::timestamp) - extract(epoch from '2026-07-23 17:27:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545739 -3.018214)', '2026-07-23 17:28:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545687 -3.018199)'), GeomFromEWKT('SRID=4674;POINT (-39.545739 -3.018214)'))) / (select extract(epoch from '2026-07-23 17:28:30'::timestamp) - extract(epoch from '2026-07-23 17:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545687 -3.018199)'), GeomFromEWKT('SRID=4674;POINT (-39.545739 -3.018214)'))) / (select extract(epoch from '2026-07-23 17:28:30'::timestamp) - extract(epoch from '2026-07-23 17:28: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'), 47855, 'SRID=4674;POINT (-39.545786 -3.018217)', '2026-07-23 17:28:38', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545739 -3.018214)'), GeomFromEWKT('SRID=4674;POINT (-39.545786 -3.018217)'))) / (select extract(epoch from '2026-07-23 17:28:38'::timestamp) - extract(epoch from '2026-07-23 17:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545739 -3.018214)'), GeomFromEWKT('SRID=4674;POINT (-39.545786 -3.018217)'))) / (select extract(epoch from '2026-07-23 17:28:38'::timestamp) - extract(epoch from '2026-07-23 17:28:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545832 -3.018188)', '2026-07-23 17:28:47', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545786 -3.018217)'), GeomFromEWKT('SRID=4674;POINT (-39.545832 -3.018188)'))) / (select extract(epoch from '2026-07-23 17:28:47'::timestamp) - extract(epoch from '2026-07-23 17:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545786 -3.018217)'), GeomFromEWKT('SRID=4674;POINT (-39.545832 -3.018188)'))) / (select extract(epoch from '2026-07-23 17:28:47'::timestamp) - extract(epoch from '2026-07-23 17:28:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545845 -3.018173)', '2026-07-23 17:28:50', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545832 -3.018188)'), GeomFromEWKT('SRID=4674;POINT (-39.545845 -3.018173)'))) / (select extract(epoch from '2026-07-23 17:28:50'::timestamp) - extract(epoch from '2026-07-23 17:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545832 -3.018188)'), GeomFromEWKT('SRID=4674;POINT (-39.545845 -3.018173)'))) / (select extract(epoch from '2026-07-23 17:28:50'::timestamp) - extract(epoch from '2026-07-23 17:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.54587 -3.018163)', '2026-07-23 17:28:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545845 -3.018173)'), GeomFromEWKT('SRID=4674;POINT (-39.54587 -3.018163)'))) / (select extract(epoch from '2026-07-23 17:28:54'::timestamp) - extract(epoch from '2026-07-23 17:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545845 -3.018173)'), GeomFromEWKT('SRID=4674;POINT (-39.54587 -3.018163)'))) / (select extract(epoch from '2026-07-23 17:28:54'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.545887 -3.018151)', '2026-07-23 17:28:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54587 -3.018163)'), GeomFromEWKT('SRID=4674;POINT (-39.545887 -3.018151)'))) / (select extract(epoch from '2026-07-23 17:28:57'::timestamp) - extract(epoch from '2026-07-23 17:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54587 -3.018163)'), GeomFromEWKT('SRID=4674;POINT (-39.545887 -3.018151)'))) / (select extract(epoch from '2026-07-23 17:28:57'::timestamp) - extract(epoch from '2026-07-23 17:28: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'), 47855, 'SRID=4674;POINT (-39.545908 -3.018139)', '2026-07-23 17:29:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545887 -3.018151)'), GeomFromEWKT('SRID=4674;POINT (-39.545908 -3.018139)'))) / (select extract(epoch from '2026-07-23 17:29:01'::timestamp) - extract(epoch from '2026-07-23 17:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545887 -3.018151)'), GeomFromEWKT('SRID=4674;POINT (-39.545908 -3.018139)'))) / (select extract(epoch from '2026-07-23 17:29:01'::timestamp) - extract(epoch from '2026-07-23 17:28:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.545932 -3.018122)', '2026-07-23 17:29:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545908 -3.018139)'), GeomFromEWKT('SRID=4674;POINT (-39.545932 -3.018122)'))) / (select extract(epoch from '2026-07-23 17:29:06'::timestamp) - extract(epoch from '2026-07-23 17:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545908 -3.018139)'), GeomFromEWKT('SRID=4674;POINT (-39.545932 -3.018122)'))) / (select extract(epoch from '2026-07-23 17:29:06'::timestamp) - extract(epoch from '2026-07-23 17:29: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'), 47855, 'SRID=4674;POINT (-39.545943 -3.018109)', '2026-07-23 17:29:09', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545932 -3.018122)'), GeomFromEWKT('SRID=4674;POINT (-39.545943 -3.018109)'))) / (select extract(epoch from '2026-07-23 17:29:09'::timestamp) - extract(epoch from '2026-07-23 17:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545932 -3.018122)'), GeomFromEWKT('SRID=4674;POINT (-39.545943 -3.018109)'))) / (select extract(epoch from '2026-07-23 17:29:09'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.545962 -3.018099)', '2026-07-23 17:29:12', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545943 -3.018109)'), GeomFromEWKT('SRID=4674;POINT (-39.545962 -3.018099)'))) / (select extract(epoch from '2026-07-23 17:29:12'::timestamp) - extract(epoch from '2026-07-23 17:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545943 -3.018109)'), GeomFromEWKT('SRID=4674;POINT (-39.545962 -3.018099)'))) / (select extract(epoch from '2026-07-23 17:29:12'::timestamp) - extract(epoch from '2026-07-23 17:29:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546001 -3.018067)', '2026-07-23 17:29:20', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545962 -3.018099)'), GeomFromEWKT('SRID=4674;POINT (-39.546001 -3.018067)'))) / (select extract(epoch from '2026-07-23 17:29:20'::timestamp) - extract(epoch from '2026-07-23 17:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.545962 -3.018099)'), GeomFromEWKT('SRID=4674;POINT (-39.546001 -3.018067)'))) / (select extract(epoch from '2026-07-23 17:29:20'::timestamp) - extract(epoch from '2026-07-23 17:29: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'), 47855, 'SRID=4674;POINT (-39.546035 -3.018036)', '2026-07-23 17:29:29', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546001 -3.018067)'), GeomFromEWKT('SRID=4674;POINT (-39.546035 -3.018036)'))) / (select extract(epoch from '2026-07-23 17:29:29'::timestamp) - extract(epoch from '2026-07-23 17:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546001 -3.018067)'), GeomFromEWKT('SRID=4674;POINT (-39.546035 -3.018036)'))) / (select extract(epoch from '2026-07-23 17:29:29'::timestamp) - extract(epoch from '2026-07-23 17:29:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546076 -3.017996)', '2026-07-23 17:29:38', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546035 -3.018036)'), GeomFromEWKT('SRID=4674;POINT (-39.546076 -3.017996)'))) / (select extract(epoch from '2026-07-23 17:29:38'::timestamp) - extract(epoch from '2026-07-23 17:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546035 -3.018036)'), GeomFromEWKT('SRID=4674;POINT (-39.546076 -3.017996)'))) / (select extract(epoch from '2026-07-23 17:29:38'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.546105 -3.017965)', '2026-07-23 17:29:44', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546076 -3.017996)'), GeomFromEWKT('SRID=4674;POINT (-39.546105 -3.017965)'))) / (select extract(epoch from '2026-07-23 17:29:44'::timestamp) - extract(epoch from '2026-07-23 17:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546076 -3.017996)'), GeomFromEWKT('SRID=4674;POINT (-39.546105 -3.017965)'))) / (select extract(epoch from '2026-07-23 17:29:44'::timestamp) - extract(epoch from '2026-07-23 17:29: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'), 47855, 'SRID=4674;POINT (-39.546135 -3.017936)', '2026-07-23 17:29:53', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546105 -3.017965)'), GeomFromEWKT('SRID=4674;POINT (-39.546135 -3.017936)'))) / (select extract(epoch from '2026-07-23 17:29:53'::timestamp) - extract(epoch from '2026-07-23 17:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546105 -3.017965)'), GeomFromEWKT('SRID=4674;POINT (-39.546135 -3.017936)'))) / (select extract(epoch from '2026-07-23 17:29:53'::timestamp) - extract(epoch from '2026-07-23 17:29: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'), 47855, 'SRID=4674;POINT (-39.546162 -3.017933)', '2026-07-23 17:29:58', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546135 -3.017936)'), GeomFromEWKT('SRID=4674;POINT (-39.546162 -3.017933)'))) / (select extract(epoch from '2026-07-23 17:29:58'::timestamp) - extract(epoch from '2026-07-23 17:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546135 -3.017936)'), GeomFromEWKT('SRID=4674;POINT (-39.546162 -3.017933)'))) / (select extract(epoch from '2026-07-23 17:29:58'::timestamp) - extract(epoch from '2026-07-23 17:29:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546181 -3.017924)', '2026-07-23 17:30:02', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546162 -3.017933)'), GeomFromEWKT('SRID=4674;POINT (-39.546181 -3.017924)'))) / (select extract(epoch from '2026-07-23 17:30:02'::timestamp) - extract(epoch from '2026-07-23 17:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546162 -3.017933)'), GeomFromEWKT('SRID=4674;POINT (-39.546181 -3.017924)'))) / (select extract(epoch from '2026-07-23 17:30:02'::timestamp) - extract(epoch from '2026-07-23 17:29:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546207 -3.017919)', '2026-07-23 17:30:12', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546181 -3.017924)'), GeomFromEWKT('SRID=4674;POINT (-39.546207 -3.017919)'))) / (select extract(epoch from '2026-07-23 17:30:12'::timestamp) - extract(epoch from '2026-07-23 17:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546181 -3.017924)'), GeomFromEWKT('SRID=4674;POINT (-39.546207 -3.017919)'))) / (select extract(epoch from '2026-07-23 17:30:12'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.54621 -3.017935)', '2026-07-23 17:30:16', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546207 -3.017919)'), GeomFromEWKT('SRID=4674;POINT (-39.54621 -3.017935)'))) / (select extract(epoch from '2026-07-23 17:30:16'::timestamp) - extract(epoch from '2026-07-23 17:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546207 -3.017919)'), GeomFromEWKT('SRID=4674;POINT (-39.54621 -3.017935)'))) / (select extract(epoch from '2026-07-23 17:30:16'::timestamp) - extract(epoch from '2026-07-23 17:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546218 -3.01795)', '2026-07-23 17:30:19', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54621 -3.017935)'), GeomFromEWKT('SRID=4674;POINT (-39.546218 -3.01795)'))) / (select extract(epoch from '2026-07-23 17:30:19'::timestamp) - extract(epoch from '2026-07-23 17:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54621 -3.017935)'), GeomFromEWKT('SRID=4674;POINT (-39.546218 -3.01795)'))) / (select extract(epoch from '2026-07-23 17:30:19'::timestamp) - extract(epoch from '2026-07-23 17:30:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.54626 -3.017963)', '2026-07-23 17:30:30', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546218 -3.01795)'), GeomFromEWKT('SRID=4674;POINT (-39.54626 -3.017963)'))) / (select extract(epoch from '2026-07-23 17:30:30'::timestamp) - extract(epoch from '2026-07-23 17:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546218 -3.01795)'), GeomFromEWKT('SRID=4674;POINT (-39.54626 -3.017963)'))) / (select extract(epoch from '2026-07-23 17:30:30'::timestamp) - extract(epoch from '2026-07-23 17:30: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'), 47855, 'SRID=4674;POINT (-39.546295 -3.017962)', '2026-07-23 17:30:37', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54626 -3.017963)'), GeomFromEWKT('SRID=4674;POINT (-39.546295 -3.017962)'))) / (select extract(epoch from '2026-07-23 17:30:37'::timestamp) - extract(epoch from '2026-07-23 17:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54626 -3.017963)'), GeomFromEWKT('SRID=4674;POINT (-39.546295 -3.017962)'))) / (select extract(epoch from '2026-07-23 17:30:37'::timestamp) - extract(epoch from '2026-07-23 17:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546344 -3.017948)', '2026-07-23 17:30:44', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546295 -3.017962)'), GeomFromEWKT('SRID=4674;POINT (-39.546344 -3.017948)'))) / (select extract(epoch from '2026-07-23 17:30:44'::timestamp) - extract(epoch from '2026-07-23 17:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546295 -3.017962)'), GeomFromEWKT('SRID=4674;POINT (-39.546344 -3.017948)'))) / (select extract(epoch from '2026-07-23 17:30:44'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.546391 -3.017906)', '2026-07-23 17:30:54', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546344 -3.017948)'), GeomFromEWKT('SRID=4674;POINT (-39.546391 -3.017906)'))) / (select extract(epoch from '2026-07-23 17:30:54'::timestamp) - extract(epoch from '2026-07-23 17:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546344 -3.017948)'), GeomFromEWKT('SRID=4674;POINT (-39.546391 -3.017906)'))) / (select extract(epoch from '2026-07-23 17:30:54'::timestamp) - extract(epoch from '2026-07-23 17:30:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546439 -3.017877)', '2026-07-23 17:31:06', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546391 -3.017906)'), GeomFromEWKT('SRID=4674;POINT (-39.546439 -3.017877)'))) / (select extract(epoch from '2026-07-23 17:31:06'::timestamp) - extract(epoch from '2026-07-23 17:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546391 -3.017906)'), GeomFromEWKT('SRID=4674;POINT (-39.546439 -3.017877)'))) / (select extract(epoch from '2026-07-23 17:31:06'::timestamp) - extract(epoch from '2026-07-23 17:30: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'), 47855, 'SRID=4674;POINT (-39.546468 -3.017853)', '2026-07-23 17:31:14', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546439 -3.017877)'), GeomFromEWKT('SRID=4674;POINT (-39.546468 -3.017853)'))) / (select extract(epoch from '2026-07-23 17:31:14'::timestamp) - extract(epoch from '2026-07-23 17:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546439 -3.017877)'), GeomFromEWKT('SRID=4674;POINT (-39.546468 -3.017853)'))) / (select extract(epoch from '2026-07-23 17:31:14'::timestamp) - extract(epoch from '2026-07-23 17:31: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'), 47855, 'SRID=4674;POINT (-39.546495 -3.017832)', '2026-07-23 17:31:21', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546468 -3.017853)'), GeomFromEWKT('SRID=4674;POINT (-39.546495 -3.017832)'))) / (select extract(epoch from '2026-07-23 17:31:21'::timestamp) - extract(epoch from '2026-07-23 17:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546468 -3.017853)'), GeomFromEWKT('SRID=4674;POINT (-39.546495 -3.017832)'))) / (select extract(epoch from '2026-07-23 17:31:21'::timestamp) - extract(epoch from '2026-07-23 17:31:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546534 -3.017821)', '2026-07-23 17:31:27', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546495 -3.017832)'), GeomFromEWKT('SRID=4674;POINT (-39.546534 -3.017821)'))) / (select extract(epoch from '2026-07-23 17:31:27'::timestamp) - extract(epoch from '2026-07-23 17:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546495 -3.017832)'), GeomFromEWKT('SRID=4674;POINT (-39.546534 -3.017821)'))) / (select extract(epoch from '2026-07-23 17:31:27'::timestamp) - extract(epoch from '2026-07-23 17:31:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546547 -3.017814)', '2026-07-23 17:31:31', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546534 -3.017821)'), GeomFromEWKT('SRID=4674;POINT (-39.546547 -3.017814)'))) / (select extract(epoch from '2026-07-23 17:31:31'::timestamp) - extract(epoch from '2026-07-23 17:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546534 -3.017821)'), GeomFromEWKT('SRID=4674;POINT (-39.546547 -3.017814)'))) / (select extract(epoch from '2026-07-23 17:31:31'::timestamp) - extract(epoch from '2026-07-23 17:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546569 -3.017825)', '2026-07-23 17:31:42', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546547 -3.017814)'), GeomFromEWKT('SRID=4674;POINT (-39.546569 -3.017825)'))) / (select extract(epoch from '2026-07-23 17:31:42'::timestamp) - extract(epoch from '2026-07-23 17:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546547 -3.017814)'), GeomFromEWKT('SRID=4674;POINT (-39.546569 -3.017825)'))) / (select extract(epoch from '2026-07-23 17:31:42'::timestamp) - extract(epoch from '2026-07-23 17: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'), 47855, 'SRID=4674;POINT (-39.546604 -3.017824)', '2026-07-23 17:31:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546569 -3.017825)'), GeomFromEWKT('SRID=4674;POINT (-39.546604 -3.017824)'))) / (select extract(epoch from '2026-07-23 17:31:51'::timestamp) - extract(epoch from '2026-07-23 17:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546569 -3.017825)'), GeomFromEWKT('SRID=4674;POINT (-39.546604 -3.017824)'))) / (select extract(epoch from '2026-07-23 17:31:51'::timestamp) - extract(epoch from '2026-07-23 17:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546639 -3.017816)', '2026-07-23 17:31:58', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546604 -3.017824)'), GeomFromEWKT('SRID=4674;POINT (-39.546639 -3.017816)'))) / (select extract(epoch from '2026-07-23 17:31:58'::timestamp) - extract(epoch from '2026-07-23 17:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546604 -3.017824)'), GeomFromEWKT('SRID=4674;POINT (-39.546639 -3.017816)'))) / (select extract(epoch from '2026-07-23 17:31:58'::timestamp) - extract(epoch from '2026-07-23 17:31: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'), 47855, 'SRID=4674;POINT (-39.54669 -3.017802)', '2026-07-23 17:32:09', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546639 -3.017816)'), GeomFromEWKT('SRID=4674;POINT (-39.54669 -3.017802)'))) / (select extract(epoch from '2026-07-23 17:32:09'::timestamp) - extract(epoch from '2026-07-23 17:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546639 -3.017816)'), GeomFromEWKT('SRID=4674;POINT (-39.54669 -3.017802)'))) / (select extract(epoch from '2026-07-23 17:32:09'::timestamp) - extract(epoch from '2026-07-23 17:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546719 -3.017796)', '2026-07-23 17:32:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54669 -3.017802)'), GeomFromEWKT('SRID=4674;POINT (-39.546719 -3.017796)'))) / (select extract(epoch from '2026-07-23 17:32:16'::timestamp) - extract(epoch from '2026-07-23 17:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54669 -3.017802)'), GeomFromEWKT('SRID=4674;POINT (-39.546719 -3.017796)'))) / (select extract(epoch from '2026-07-23 17:32:16'::timestamp) - extract(epoch from '2026-07-23 17:32:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546736 -3.017809)', '2026-07-23 17:32:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546719 -3.017796)'), GeomFromEWKT('SRID=4674;POINT (-39.546736 -3.017809)'))) / (select extract(epoch from '2026-07-23 17:32:21'::timestamp) - extract(epoch from '2026-07-23 17:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546719 -3.017796)'), GeomFromEWKT('SRID=4674;POINT (-39.546736 -3.017809)'))) / (select extract(epoch from '2026-07-23 17:32:21'::timestamp) - extract(epoch from '2026-07-23 17:32: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'), 47855, 'SRID=4674;POINT (-39.546738 -3.017812)', '2026-07-23 17:32:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546736 -3.017809)'), GeomFromEWKT('SRID=4674;POINT (-39.546738 -3.017812)'))) / (select extract(epoch from '2026-07-23 17:32:22'::timestamp) - extract(epoch from '2026-07-23 17:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546736 -3.017809)'), GeomFromEWKT('SRID=4674;POINT (-39.546738 -3.017812)'))) / (select extract(epoch from '2026-07-23 17:32:22'::timestamp) - extract(epoch from '2026-07-23 17:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546735 -3.017828)', '2026-07-23 17:32:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546738 -3.017812)'), GeomFromEWKT('SRID=4674;POINT (-39.546735 -3.017828)'))) / (select extract(epoch from '2026-07-23 17:32:28'::timestamp) - extract(epoch from '2026-07-23 17:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546738 -3.017812)'), GeomFromEWKT('SRID=4674;POINT (-39.546735 -3.017828)'))) / (select extract(epoch from '2026-07-23 17:32:28'::timestamp) - extract(epoch from '2026-07-23 17:32: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'), 47855, 'SRID=4674;POINT (-39.546738 -3.01785)', '2026-07-23 17:32:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546735 -3.017828)'), GeomFromEWKT('SRID=4674;POINT (-39.546738 -3.01785)'))) / (select extract(epoch from '2026-07-23 17:32:36'::timestamp) - extract(epoch from '2026-07-23 17:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546735 -3.017828)'), GeomFromEWKT('SRID=4674;POINT (-39.546738 -3.01785)'))) / (select extract(epoch from '2026-07-23 17:32:36'::timestamp) - extract(epoch from '2026-07-23 17:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546735 -3.017854)', '2026-07-23 17:33:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546738 -3.01785)'), GeomFromEWKT('SRID=4674;POINT (-39.546735 -3.017854)'))) / (select extract(epoch from '2026-07-23 17:33:06'::timestamp) - extract(epoch from '2026-07-23 17:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546738 -3.01785)'), GeomFromEWKT('SRID=4674;POINT (-39.546735 -3.017854)'))) / (select extract(epoch from '2026-07-23 17:33:06'::timestamp) - extract(epoch from '2026-07-23 17:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546726 -3.01786)', '2026-07-23 17:33:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546735 -3.017854)'), GeomFromEWKT('SRID=4674;POINT (-39.546726 -3.01786)'))) / (select extract(epoch from '2026-07-23 17:33:37'::timestamp) - extract(epoch from '2026-07-23 17:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546735 -3.017854)'), GeomFromEWKT('SRID=4674;POINT (-39.546726 -3.01786)'))) / (select extract(epoch from '2026-07-23 17:33:37'::timestamp) - extract(epoch from '2026-07-23 17:33:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546721 -3.01786)', '2026-07-23 17:33:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546726 -3.01786)'), GeomFromEWKT('SRID=4674;POINT (-39.546721 -3.01786)'))) / (select extract(epoch from '2026-07-23 17:33:43'::timestamp) - extract(epoch from '2026-07-23 17:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546726 -3.01786)'), GeomFromEWKT('SRID=4674;POINT (-39.546721 -3.01786)'))) / (select extract(epoch from '2026-07-23 17:33:43'::timestamp) - extract(epoch from '2026-07-23 17:33:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546761 -3.017861)', '2026-07-23 17:33:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546721 -3.01786)'), GeomFromEWKT('SRID=4674;POINT (-39.546761 -3.017861)'))) / (select extract(epoch from '2026-07-23 17:33:51'::timestamp) - extract(epoch from '2026-07-23 17:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546721 -3.01786)'), GeomFromEWKT('SRID=4674;POINT (-39.546761 -3.017861)'))) / (select extract(epoch from '2026-07-23 17:33:51'::timestamp) - extract(epoch from '2026-07-23 17:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546806 -3.017834)', '2026-07-23 17:34:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546761 -3.017861)'), GeomFromEWKT('SRID=4674;POINT (-39.546806 -3.017834)'))) / (select extract(epoch from '2026-07-23 17:34:00'::timestamp) - extract(epoch from '2026-07-23 17:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546761 -3.017861)'), GeomFromEWKT('SRID=4674;POINT (-39.546806 -3.017834)'))) / (select extract(epoch from '2026-07-23 17:34:00'::timestamp) - extract(epoch from '2026-07-23 17:33: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'), 47855, 'SRID=4674;POINT (-39.546836 -3.0178)', '2026-07-23 17:34:07', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546806 -3.017834)'), GeomFromEWKT('SRID=4674;POINT (-39.546836 -3.0178)'))) / (select extract(epoch from '2026-07-23 17:34:07'::timestamp) - extract(epoch from '2026-07-23 17:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546806 -3.017834)'), GeomFromEWKT('SRID=4674;POINT (-39.546836 -3.0178)'))) / (select extract(epoch from '2026-07-23 17:34:07'::timestamp) - extract(epoch from '2026-07-23 17:34:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546862 -3.017787)', '2026-07-23 17:34:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546836 -3.0178)'), GeomFromEWKT('SRID=4674;POINT (-39.546862 -3.017787)'))) / (select extract(epoch from '2026-07-23 17:34:13'::timestamp) - extract(epoch from '2026-07-23 17:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546836 -3.0178)'), GeomFromEWKT('SRID=4674;POINT (-39.546862 -3.017787)'))) / (select extract(epoch from '2026-07-23 17:34:13'::timestamp) - extract(epoch from '2026-07-23 17:34: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'), 47855, 'SRID=4674;POINT (-39.546917 -3.017744)', '2026-07-23 17:34:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546862 -3.017787)'), GeomFromEWKT('SRID=4674;POINT (-39.546917 -3.017744)'))) / (select extract(epoch from '2026-07-23 17:34:25'::timestamp) - extract(epoch from '2026-07-23 17:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546862 -3.017787)'), GeomFromEWKT('SRID=4674;POINT (-39.546917 -3.017744)'))) / (select extract(epoch from '2026-07-23 17:34:25'::timestamp) - extract(epoch from '2026-07-23 17:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546956 -3.017706)', '2026-07-23 17:34:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546917 -3.017744)'), GeomFromEWKT('SRID=4674;POINT (-39.546956 -3.017706)'))) / (select extract(epoch from '2026-07-23 17:34:35'::timestamp) - extract(epoch from '2026-07-23 17:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546917 -3.017744)'), GeomFromEWKT('SRID=4674;POINT (-39.546956 -3.017706)'))) / (select extract(epoch from '2026-07-23 17:34:35'::timestamp) - extract(epoch from '2026-07-23 17:34:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.546969 -3.017693)', '2026-07-23 17:34:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546956 -3.017706)'), GeomFromEWKT('SRID=4674;POINT (-39.546969 -3.017693)'))) / (select extract(epoch from '2026-07-23 17:34:38'::timestamp) - extract(epoch from '2026-07-23 17:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546956 -3.017706)'), GeomFromEWKT('SRID=4674;POINT (-39.546969 -3.017693)'))) / (select extract(epoch from '2026-07-23 17:34:38'::timestamp) - extract(epoch from '2026-07-23 17:34: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'), 47855, 'SRID=4674;POINT (-39.546985 -3.017684)', '2026-07-23 17:34:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546969 -3.017693)'), GeomFromEWKT('SRID=4674;POINT (-39.546985 -3.017684)'))) / (select extract(epoch from '2026-07-23 17:34:41'::timestamp) - extract(epoch from '2026-07-23 17:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546969 -3.017693)'), GeomFromEWKT('SRID=4674;POINT (-39.546985 -3.017684)'))) / (select extract(epoch from '2026-07-23 17:34:41'::timestamp) - extract(epoch from '2026-07-23 17:34: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'), 47855, 'SRID=4674;POINT (-39.546999 -3.017677)', '2026-07-23 17:34:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546985 -3.017684)'), GeomFromEWKT('SRID=4674;POINT (-39.546999 -3.017677)'))) / (select extract(epoch from '2026-07-23 17:34:43'::timestamp) - extract(epoch from '2026-07-23 17:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546985 -3.017684)'), GeomFromEWKT('SRID=4674;POINT (-39.546999 -3.017677)'))) / (select extract(epoch from '2026-07-23 17:34:43'::timestamp) - extract(epoch from '2026-07-23 17:34:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.547008 -3.017668)', '2026-07-23 17:34:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546999 -3.017677)'), GeomFromEWKT('SRID=4674;POINT (-39.547008 -3.017668)'))) / (select extract(epoch from '2026-07-23 17:34:45'::timestamp) - extract(epoch from '2026-07-23 17:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.546999 -3.017677)'), GeomFromEWKT('SRID=4674;POINT (-39.547008 -3.017668)'))) / (select extract(epoch from '2026-07-23 17:34:45'::timestamp) - extract(epoch from '2026-07-23 17:34: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'), 47855, 'SRID=4674;POINT (-39.54705 -3.01765)', '2026-07-23 17:34:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547008 -3.017668)'), GeomFromEWKT('SRID=4674;POINT (-39.54705 -3.01765)'))) / (select extract(epoch from '2026-07-23 17:34:52'::timestamp) - extract(epoch from '2026-07-23 17:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547008 -3.017668)'), GeomFromEWKT('SRID=4674;POINT (-39.54705 -3.01765)'))) / (select extract(epoch from '2026-07-23 17:34:52'::timestamp) - extract(epoch from '2026-07-23 17:34:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.547093 -3.017636)', '2026-07-23 17:35:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54705 -3.01765)'), GeomFromEWKT('SRID=4674;POINT (-39.547093 -3.017636)'))) / (select extract(epoch from '2026-07-23 17:35:00'::timestamp) - extract(epoch from '2026-07-23 17:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.54705 -3.01765)'), GeomFromEWKT('SRID=4674;POINT (-39.547093 -3.017636)'))) / (select extract(epoch from '2026-07-23 17:35:00'::timestamp) - extract(epoch from '2026-07-23 17:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.547132 -3.017615)', '2026-07-23 17:35:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547093 -3.017636)'), GeomFromEWKT('SRID=4674;POINT (-39.547132 -3.017615)'))) / (select extract(epoch from '2026-07-23 17:35:08'::timestamp) - extract(epoch from '2026-07-23 17:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547093 -3.017636)'), GeomFromEWKT('SRID=4674;POINT (-39.547132 -3.017615)'))) / (select extract(epoch from '2026-07-23 17:35:08'::timestamp) - extract(epoch from '2026-07-23 17:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.547159 -3.017582)', '2026-07-23 17:35:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547132 -3.017615)'), GeomFromEWKT('SRID=4674;POINT (-39.547159 -3.017582)'))) / (select extract(epoch from '2026-07-23 17:35:17'::timestamp) - extract(epoch from '2026-07-23 17:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547132 -3.017615)'), GeomFromEWKT('SRID=4674;POINT (-39.547159 -3.017582)'))) / (select extract(epoch from '2026-07-23 17:35:17'::timestamp) - extract(epoch from '2026-07-23 17:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47855, 'SRID=4674;POINT (-39.547191 -3.017557)', '2026-07-23 17:35:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547159 -3.017582)'), GeomFromEWKT('SRID=4674;POINT (-39.547191 -3.017557)'))) / (select extract(epoch from '2026-07-23 17:35:24'::timestamp) - extract(epoch from '2026-07-23 17:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.547159 -3.017582)'), GeomFromEWKT('SRID=4674;POINT (-39.547191 -3.017557)'))) / (select extract(epoch from '2026-07-23 17:35:24'::timestamp) - extract(epoch from '2026-07-23 17:35:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
